From baaf76314e9586f9dfe581970fddc51c607a2648 Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 7 Oct 2025 15:24:16 +0000 Subject: [PATCH] Releasing version 2.119.0 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 28 + index.ts | 1 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aidataplatform/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/package.json | 2 +- lib/aivision/package.json | 2 +- lib/analytics/package.json | 2 +- lib/announcementsservice/package.json | 2 +- lib/apiaccesscontrol/package.json | 2 +- lib/apigateway/package.json | 2 +- lib/apiplatform/package.json | 2 +- lib/apmconfig/package.json | 2 +- lib/apmcontrolplane/package.json | 2 +- lib/apmsynthetics/package.json | 2 +- lib/apmtraces/package.json | 2 +- lib/appmgmtcontrol/package.json | 2 +- lib/artifacts/package.json | 2 +- lib/audit/package.json | 2 +- lib/autoscaling/package.json | 2 +- lib/bastion/package.json | 2 +- lib/bds/package.json | 2 +- lib/blockchain/package.json | 2 +- lib/budget/package.json | 2 +- lib/capacitymanagement/package.json | 2 +- lib/certificates/package.json | 2 +- lib/certificatesmanagement/package.json | 2 +- lib/cims/package.json | 2 +- lib/cloudbridge/package.json | 2 +- lib/cloudguard/package.json | 2 +- lib/cloudmigrations/package.json | 2 +- lib/clusterplacementgroups/package.json | 2 +- lib/common/package.json | 2 +- lib/computecloudatcustomer/package.json | 2 +- lib/computeinstanceagent/package.json | 2 +- lib/containerengine/lib/client.ts | 3 +- .../model/create-virtual-node-pool-details.ts | 2 +- .../lib/model/virtual-node-pool-summary.ts | 2 +- .../lib/model/virtual-node-pool.ts | 2 +- .../lib/request/list-addon-options-request.ts | 4 + lib/containerengine/package.json | 2 +- lib/containerinstances/package.json | 2 +- ...on-launch-instance-shape-config-details.ts | 15 + lib/core/lib/model/instance-shape-config.ts | 15 + .../launch-instance-shape-config-details.ts | 10 + .../update-instance-shape-config-details.ts | 10 + lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- lib/database/lib/client.ts | 93 + lib/database/lib/database-waiter.ts | 31 + .../convert-standby-database-type-details.ts | 65 + .../model/data-guard-association-summary.ts | 2 + .../lib/model/data-guard-association.ts | 2 + .../lib/model/data-guard-group-member.ts | 1 + lib/database/lib/model/index.ts | 2 + .../convert-standby-database-type-request.ts | 50 + lib/database/lib/request/index.ts | 2 + .../convert-standby-database-type-response.ts | 37 + lib/database/lib/response/index.ts | 2 + lib/database/package.json | 2 +- lib/databasemanagement/package.json | 2 +- lib/databasemigration/package.json | 2 +- ...se-tools-connection-compartment-details.ts | 4 +- ...e-tools-connection-generic-jdbc-details.ts | 2 +- ...atabase-tools-connection-my-sql-details.ts | 2 +- ...ase-tools-connection-postgresql-details.ts | 2 +- ...database-tools-private-endpoint-details.ts | 7 + .../database-tools-connection-collection.ts | 4 +- ...e-tools-connection-generic-jdbc-summary.ts | 4 +- .../database-tools-connection-generic-jdbc.ts | 2 +- ...atabase-tools-connection-my-sql-summary.ts | 6 +- .../model/database-tools-connection-my-sql.ts | 2 +- ...ools-connection-oracle-database-summary.ts | 4 +- ...ase-tools-connection-postgresql-summary.ts | 6 +- .../database-tools-connection-postgresql.ts | 2 +- .../database-tools-connection-summary.ts | 2 +- .../lib/model/database-tools-connection.ts | 4 +- ...abase-tools-private-endpoint-collection.ts | 4 +- ...database-tools-private-endpoint-summary.ts | 7 + .../model/database-tools-private-endpoint.ts | 9 +- .../database-tools-user-password-details.ts | 2 +- ...e-tools-user-password-secret-id-details.ts | 2 +- ...e-tools-user-password-secret-id-summary.ts | 2 +- .../database-tools-user-password-secret-id.ts | 2 +- .../database-tools-user-password-summary.ts | 2 +- .../lib/model/database-tools-user-password.ts | 2 +- .../lib/model/dbms-cloud-status.ts | 38 + lib/databasetools/lib/model/identity-type.ts | 31 + lib/databasetools/lib/model/index.ts | 4 + .../lib/model/operation-status.ts | 1 + .../lib/model/runtime-support.ts | 2 +- ...e-tools-connection-generic-jdbc-details.ts | 2 +- ...atabase-tools-connection-my-sql-details.ts | 4 +- ...ools-connection-oracle-database-details.ts | 2 +- ...ase-tools-connection-postgresql-details.ts | 4 +- ...database-tools-private-endpoint-details.ts | 7 + ...tools-connection-oracle-database-result.ts | 4 + .../lib/model/work-request-resource.ts | 2 +- .../lib/model/work-request-summary.ts | 6 + lib/databasetools/lib/model/work-request.ts | 6 + ...se-tools-connection-compartment-request.ts | 2 +- ...ls-private-endpoint-compartment-request.ts | 2 +- ...reate-database-tools-connection-request.ts | 2 +- ...database-tools-private-endpoint-request.ts | 2 +- .../lib/request/get-work-request-request.ts | 2 +- ...list-database-tools-connections-request.ts | 6 +- ...atabase-tools-endpoint-services-request.ts | 2 +- ...atabase-tools-private-endpoints-request.ts | 2 +- .../list-work-request-errors-request.ts | 2 +- .../request/list-work-request-logs-request.ts | 2 +- .../lib/request/list-work-requests-request.ts | 5 +- ...idate-database-tools-connection-request.ts | 2 +- lib/databasetools/package.json | 2 +- lib/datacatalog/package.json | 2 +- lib/dataflow/package.json | 2 +- lib/dataintegration/package.json | 2 +- lib/datalabelingservice/package.json | 2 +- lib/datalabelingservicedataplane/package.json | 2 +- lib/datasafe/package.json | 2 +- lib/datascience/package.json | 2 +- lib/dblm/package.json | 2 +- lib/dbmulticloud/package.json | 2 +- lib/delegateaccesscontrol/package.json | 2 +- lib/demandsignal/package.json | 2 +- lib/desktops/package.json | 2 +- lib/devops/package.json | 2 +- lib/disasterrecovery/package.json | 2 +- lib/distributeddatabase/package.json | 2 +- lib/dns/package.json | 2 +- lib/email/package.json | 2 +- lib/emaildataplane/package.json | 2 +- lib/emwarehouse/package.json | 2 +- lib/events/package.json | 2 +- lib/filestorage/package.json | 2 +- lib/fleetappsmanagement/package.json | 2 +- lib/fleetsoftwareupdate/package.json | 2 +- .../lib/model/application-summary.ts | 8 + lib/functions/lib/model/application.ts | 8 + .../lib/model/create-application-details.ts | 8 + .../lib/model/update-application-details.ts | 8 + lib/functions/package.json | 2 +- lib/fusionapps/package.json | 2 +- lib/generativeai/package.json | 2 +- lib/generativeaiagent/package.json | 2 +- lib/generativeaiagentruntime/package.json | 2 +- lib/generativeaiinference/package.json | 2 +- lib/genericartifactscontent/package.json | 2 +- lib/globallydistributeddatabase/package.json | 2 +- lib/goldengate/lib/client.ts | 162 + .../change-connection-subscription-details.ts | 45 + .../change-deployment-subscription-details.ts | 45 + .../lib/model/change-subscription-details.ts | 45 + .../lib/model/connection-summary.ts | 29 + lib/goldengate/lib/model/connection-type.ts | 1 + lib/goldengate/lib/model/connection.ts | 29 + .../lib/model/create-connection-details.ts | 29 + .../lib/model/create-deployment-details.ts | 19 + .../model/create-kafka-connection-details.ts | 15 + ...cle-ai-data-platform-connection-details.ts | 112 + .../lib/model/deployment-peer-summary.ts | 11 + .../lib/model/deployment-summary.ts | 19 + .../lib/model/deployment-type-summary.ts | 1 + lib/goldengate/lib/model/deployment.ts | 19 + lib/goldengate/lib/model/index.ts | 14 + .../lib/model/kafka-connection-summary.ts | 15 + lib/goldengate/lib/model/kafka-connection.ts | 16 + ...cle-ai-data-platform-connection-summary.ts | 110 + .../oracle-ai-data-platform-connection.ts | 117 + lib/goldengate/lib/model/technology-type.ts | 2 + .../lib/model/update-connection-details.ts | 18 + .../lib/model/update-deployment-details.ts | 10 + .../model/update-kafka-connection-details.ts | 15 + ...cle-ai-data-platform-connection-details.ts | 108 + .../change-connection-subscription-request.ts | 52 + .../change-deployment-subscription-request.ts | 52 + .../lib/request/create-connection-request.ts | 1 + lib/goldengate/lib/request/index.ts | 4 + .../lib/request/update-connection-request.ts | 1 + ...change-connection-subscription-response.ts | 30 + ...change-deployment-subscription-response.ts | 30 + lib/goldengate/lib/response/index.ts | 4 + lib/goldengate/package.json | 2 +- lib/governancerulescontrolplane/package.json | 2 +- lib/healthchecks/package.json | 2 +- lib/identity/package.json | 2 +- lib/identitydataplane/package.json | 2 +- lib/identitydomains/package.json | 2 +- .../create-integration-instance-details.ts | 8 + .../lib/model/integration-instance-summary.ts | 8 + .../lib/model/integration-instance.ts | 10 +- .../update-integration-instance-details.ts | 8 + lib/integration/package.json | 2 +- lib/iot/README.md | 22 + lib/iot/index.ts | 26 + lib/iot/lib/client.ts | 3603 +++++++++++++++++ lib/iot/lib/iot-waiter.ts | 154 + lib/iot/lib/model/action-type.ts | 44 + lib/iot/lib/model/apex-data-access-details.ts | 58 + .../change-iot-domain-compartment-details.ts | 40 + ...ot-domain-data-retention-period-details.ts | 52 + ...ge-iot-domain-group-compartment-details.ts | 40 + ...onfigure-iot-domain-data-access-details.ts | 79 + ...re-iot-domain-group-data-access-details.ts | 40 + .../create-digital-twin-adapter-details.ts | 103 + .../create-digital-twin-instance-details.ts | 88 + .../create-digital-twin-model-details.ts | 70 + ...reate-digital-twin-relationship-details.ts | 83 + .../lib/model/create-iot-domain-details.ts | 69 + .../model/create-iot-domain-group-details.ts | 65 + .../model/data-retention-periods-in-days.ts | 52 + .../model/digital-twin-adapter-collection.ts | 59 + .../digital-twin-adapter-envelope-mapping.ts | 47 + .../digital-twin-adapter-inbound-envelope.ts | 67 + .../digital-twin-adapter-inbound-route.ts | 96 + .../digital-twin-adapter-json-payload.ts | 66 + .../lib/model/digital-twin-adapter-payload.ts | 61 + .../lib/model/digital-twin-adapter-summary.ts | 100 + lib/iot/lib/model/digital-twin-adapter.ts | 135 + .../model/digital-twin-instance-collection.ts | 58 + .../model/digital-twin-instance-summary.ts | 115 + lib/iot/lib/model/digital-twin-instance.ts | 120 + .../model/digital-twin-model-collection.ts | 58 + .../lib/model/digital-twin-model-summary.ts | 97 + lib/iot/lib/model/digital-twin-model.ts | 103 + .../digital-twin-relationship-collection.ts | 58 + .../digital-twin-relationship-summary.ts | 106 + .../lib/model/digital-twin-relationship.ts | 116 + .../lib/model/direct-data-access-details.ts | 58 + lib/iot/lib/model/error-details.ts | 44 + lib/iot/lib/model/index.ts | 140 + .../invoke-raw-binary-command-details.ts | 65 + .../lib/model/invoke-raw-command-details.ts | 98 + .../model/invoke-raw-json-command-details.ts | 62 + .../model/invoke-raw-text-command-details.ts | 62 + lib/iot/lib/model/iot-domain-collection.ts | 58 + .../lib/model/iot-domain-group-collection.ts | 58 + lib/iot/lib/model/iot-domain-group-summary.ts | 92 + lib/iot/lib/model/iot-domain-group.ts | 128 + lib/iot/lib/model/iot-domain-summary.ts | 96 + lib/iot/lib/model/iot-domain.ts | 143 + lib/iot/lib/model/lifecycle-state.ts | 40 + lib/iot/lib/model/operation-status.ts | 44 + lib/iot/lib/model/operation-type.ts | 49 + lib/iot/lib/model/ords-data-access-details.ts | 58 + .../update-digital-twin-adapter-details.ts | 90 + .../update-digital-twin-instance-details.ts | 77 + .../update-digital-twin-model-details.ts | 62 + ...pdate-digital-twin-relationship-details.ts | 65 + .../lib/model/update-iot-domain-details.ts | 61 + .../model/update-iot-domain-group-details.ts | 61 + .../model/work-request-error-collection.ts | 58 + lib/iot/lib/model/work-request-error.ts | 52 + .../work-request-log-entry-collection.ts | 58 + lib/iot/lib/model/work-request-log-entry.ts | 46 + .../work-request-resource-metadata-key.ts | 41 + lib/iot/lib/model/work-request-resource.ts | 59 + .../model/work-request-summary-collection.ts | 58 + lib/iot/lib/model/work-request-summary.ts | 105 + lib/iot/lib/model/work-request.ts | 107 + .../change-iot-domain-compartment-request.ts | 53 + ...ot-domain-data-retention-period-request.ts | 53 + ...ge-iot-domain-group-compartment-request.ts | 53 + ...onfigure-iot-domain-data-access-request.ts | 56 + ...re-iot-domain-group-data-access-request.ts | 53 + .../create-digital-twin-adapter-request.ts | 40 + .../create-digital-twin-instance-request.ts | 40 + .../create-digital-twin-model-request.ts | 40 + ...reate-digital-twin-relationship-request.ts | 40 + .../create-iot-domain-group-request.ts | 40 + .../lib/request/create-iot-domain-request.ts | 40 + .../delete-digital-twin-adapter-request.ts | 41 + .../delete-digital-twin-instance-request.ts | 41 + .../delete-digital-twin-model-request.ts | 40 + ...elete-digital-twin-relationship-request.ts | 40 + .../delete-iot-domain-group-request.ts | 40 + .../lib/request/delete-iot-domain-request.ts | 40 + .../get-digital-twin-adapter-request.ts | 32 + ...t-digital-twin-instance-content-request.ts | 36 + .../get-digital-twin-instance-request.ts | 32 + .../request/get-digital-twin-model-request.ts | 31 + .../get-digital-twin-model-spec-request.ts | 31 + .../get-digital-twin-relationship-request.ts | 31 + .../request/get-iot-domain-group-request.ts | 31 + lib/iot/lib/request/get-iot-domain-request.ts | 31 + .../lib/request/get-work-request-request.ts | 31 + lib/iot/lib/request/index.ts | 99 + .../lib/request/invoke-raw-command-request.ts | 48 + .../list-digital-twin-adapters-request.ts | 90 + .../list-digital-twin-instances-request.ts | 90 + .../list-digital-twin-models-request.ts | 85 + ...list-digital-twin-relationships-request.ts | 95 + .../request/list-iot-domain-groups-request.ts | 81 + .../lib/request/list-iot-domains-request.ts | 86 + .../list-work-request-errors-request.ts | 65 + .../request/list-work-request-logs-request.ts | 65 + .../lib/request/list-work-requests-request.ts | 77 + .../update-digital-twin-adapter-request.ts | 45 + .../update-digital-twin-instance-request.ts | 45 + .../update-digital-twin-model-request.ts | 44 + ...pdate-digital-twin-relationship-request.ts | 44 + .../update-iot-domain-group-request.ts | 44 + .../lib/request/update-iot-domain-request.ts | 44 + .../change-iot-domain-compartment-response.ts | 30 + ...t-domain-data-retention-period-response.ts | 30 + ...e-iot-domain-group-compartment-response.ts | 30 + ...nfigure-iot-domain-data-access-response.ts | 30 + ...e-iot-domain-group-data-access-response.ts | 30 + .../create-digital-twin-adapter-response.ts | 33 + .../create-digital-twin-instance-response.ts | 33 + .../create-digital-twin-model-response.ts | 33 + ...eate-digital-twin-relationship-response.ts | 33 + .../create-iot-domain-group-response.ts | 47 + .../response/create-iot-domain-response.ts | 47 + .../delete-digital-twin-adapter-response.ts | 24 + .../delete-digital-twin-instance-response.ts | 24 + .../delete-digital-twin-model-response.ts | 24 + ...lete-digital-twin-relationship-response.ts | 24 + .../delete-iot-domain-group-response.ts | 30 + .../response/delete-iot-domain-response.ts | 30 + .../get-digital-twin-adapter-response.ts | 33 + ...-digital-twin-instance-content-response.ts | 33 + .../get-digital-twin-instance-response.ts | 33 + .../get-digital-twin-model-response.ts | 33 + .../get-digital-twin-model-spec-response.ts | 33 + .../get-digital-twin-relationship-response.ts | 33 + .../response/get-iot-domain-group-response.ts | 33 + .../lib/response/get-iot-domain-response.ts | 33 + .../lib/response/get-work-request-response.ts | 37 + lib/iot/lib/response/index.ts | 99 + .../response/invoke-raw-command-response.ts | 28 + .../list-digital-twin-adapters-response.ts | 40 + .../list-digital-twin-instances-response.ts | 40 + .../list-digital-twin-models-response.ts | 40 + ...ist-digital-twin-relationships-response.ts | 40 + .../list-iot-domain-groups-response.ts | 40 + .../lib/response/list-iot-domains-response.ts | 40 + .../list-work-request-errors-response.ts | 40 + .../list-work-request-logs-response.ts | 40 + .../response/list-work-requests-response.ts | 40 + .../update-digital-twin-adapter-response.ts | 33 + .../update-digital-twin-instance-response.ts | 33 + .../update-digital-twin-model-response.ts | 33 + ...date-digital-twin-relationship-response.ts | 33 + .../update-iot-domain-group-response.ts | 30 + .../response/update-iot-domain-response.ts | 30 + lib/iot/package.json | 28 + lib/iot/tsconfig.json | 12 + lib/jms/package.json | 2 +- lib/jmsjavadownloads/package.json | 2 +- lib/jmsutils/package.json | 2 +- lib/keymanagement/package.json | 2 +- lib/licensemanager/package.json | 2 +- lib/limits/package.json | 2 +- lib/loadbalancer/package.json | 2 +- lib/lockbox/package.json | 2 +- lib/loganalytics/package.json | 2 +- lib/logging/package.json | 2 +- lib/loggingingestion/package.json | 2 +- lib/loggingsearch/package.json | 2 +- lib/lustrefilestorage/package.json | 2 +- lib/managedkafka/package.json | 2 +- lib/managementagent/package.json | 2 +- lib/managementdashboard/package.json | 2 +- lib/marketplace/package.json | 2 +- lib/marketplaceprivateoffer/package.json | 2 +- lib/marketplacepublisher/package.json | 2 +- lib/mediaservices/package.json | 2 +- lib/mngdmac/package.json | 2 +- lib/modeldeployment/package.json | 2 +- lib/monitoring/package.json | 2 +- lib/multicloud/package.json | 2 +- .../lib/model/create-db-system-details.ts | 7 + lib/mysql/lib/model/db-system-snapshot.ts | 7 + lib/mysql/lib/model/db-system.ts | 7 + lib/mysql/lib/model/replica-overrides.ts | 7 + lib/mysql/lib/model/replica-summary.ts | 7 + lib/mysql/lib/model/replica.ts | 7 + .../lib/model/update-db-system-details.ts | 7 + lib/mysql/package.json | 2 +- lib/networkfirewall/package.json | 2 +- lib/networkloadbalancer/package.json | 2 +- lib/nosql/package.json | 2 +- lib/objectstorage/package.json | 2 +- lib/oce/package.json | 2 +- lib/ocicontrolcenter/package.json | 2 +- lib/ocvp/package.json | 2 +- lib/oda/package.json | 2 +- lib/onesubscription/package.json | 2 +- lib/ons/package.json | 2 +- lib/opa/package.json | 2 +- lib/opensearch/lib/client.ts | 4 +- .../lib/model/certificate-config.ts | 50 + lib/opensearch/lib/model/certificate-mode.ts | 38 + .../create-opensearch-cluster-details.ts | 19 + lib/opensearch/lib/model/index.ts | 4 + .../lib/model/opensearch-cluster-summary.ts | 8 + .../lib/model/opensearch-cluster.ts | 19 + .../update-opensearch-cluster-details.ts | 15 + .../upgrade-open-search-cluster-details.ts | 8 + .../list-opensearch-cluster-shapes-request.ts | 7 +- lib/opensearch/package.json | 2 +- lib/operatoraccesscontrol/package.json | 2 +- lib/opsi/package.json | 2 +- lib/optimizer/package.json | 2 +- lib/osmanagementhub/package.json | 2 +- lib/ospgateway/package.json | 2 +- lib/osubbillingschedule/package.json | 2 +- lib/osuborganizationsubscription/package.json | 2 +- lib/osubsubscription/package.json | 2 +- lib/osubusage/package.json | 2 +- lib/psql/package.json | 2 +- lib/queue/package.json | 2 +- lib/recovery/package.json | 2 +- .../lib/model/create-redis-cluster-details.ts | 8 + lib/redis/lib/model/redis-cluster-summary.ts | 8 + lib/redis/lib/model/redis-cluster.ts | 8 + .../lib/model/update-redis-cluster-details.ts | 8 + lib/redis/package.json | 2 +- lib/resourceanalytics/package.json | 2 +- lib/resourcemanager/lib/client.ts | 151 +- .../configuration-source-provider-summary.ts | 25 +- .../model/configuration-source-provider.ts | 12 +- ...e-configuration-source-provider-details.ts | 3 +- .../lib/model/create-job-details.ts | 3 +- .../model/create-private-endpoint-details.ts | 10 +- .../lib/model/create-stack-details.ts | 5 +- .../lib/model/create-template-details.ts | 3 +- .../lib/model/custom-terraform-provider.ts | 4 +- lib/resourcemanager/lib/model/job-summary.ts | 30 +- lib/resourcemanager/lib/model/job.ts | 12 +- .../lib/model/private-endpoint-summary.ts | 21 +- .../lib/model/private-endpoint.ts | 17 +- .../model/private-server-config-details.ts | 2 +- .../lib/model/stack-summary.ts | 31 +- lib/resourcemanager/lib/model/stack.ts | 12 +- .../lib/model/template-category-summary.ts | 2 +- .../lib/model/template-summary.ts | 26 +- lib/resourcemanager/lib/model/template.ts | 10 +- .../lib/model/terraform-version-summary.ts | 2 +- ...e-configuration-source-provider-details.ts | 3 +- .../lib/model/update-job-details.ts | 3 +- .../model/update-private-endpoint-details.ts | 10 +- .../lib/model/update-stack-details.ts | 5 +- .../lib/model/update-template-details.ts | 3 +- .../lib/request/list-jobs-request.ts | 16 +- ...st-stack-resource-drift-details-request.ts | 5 - .../lib/request/list-stacks-request.ts | 19 +- .../create-private-endpoint-response.ts | 4 + .../delete-private-endpoint-response.ts | 4 + .../update-private-endpoint-response.ts | 4 + lib/resourcemanager/package.json | 2 +- lib/resourcescheduler/package.json | 2 +- lib/resourcesearch/package.json | 2 +- lib/rover/package.json | 2 +- lib/sch/package.json | 2 +- lib/secrets/package.json | 2 +- lib/securityattribute/package.json | 2 +- lib/servicecatalog/package.json | 2 +- lib/servicemanagerproxy/package.json | 2 +- lib/stackmonitoring/package.json | 2 +- lib/streaming/package.json | 2 +- lib/tenantmanagercontrolplane/package.json | 2 +- lib/threatintelligence/package.json | 2 +- lib/usage/package.json | 2 +- lib/usageapi/package.json | 2 +- lib/vault/package.json | 2 +- lib/vbsinst/package.json | 2 +- lib/visualbuilder/package.json | 2 +- lib/vnmonitoring/package.json | 2 +- lib/vulnerabilityscanning/package.json | 2 +- lib/waa/package.json | 2 +- lib/waas/package.json | 2 +- lib/waf/package.json | 2 +- lib/wlms/package.json | 2 +- lib/workrequests/package.json | 2 +- lib/zpr/package.json | 2 +- package.json | 5 +- 479 files changed, 14724 insertions(+), 341 deletions(-) create mode 100644 lib/database/lib/model/convert-standby-database-type-details.ts create mode 100644 lib/database/lib/request/convert-standby-database-type-request.ts create mode 100644 lib/database/lib/response/convert-standby-database-type-response.ts create mode 100644 lib/databasetools/lib/model/dbms-cloud-status.ts create mode 100644 lib/databasetools/lib/model/identity-type.ts create mode 100644 lib/goldengate/lib/model/change-connection-subscription-details.ts create mode 100644 lib/goldengate/lib/model/change-deployment-subscription-details.ts create mode 100644 lib/goldengate/lib/model/change-subscription-details.ts create mode 100644 lib/goldengate/lib/model/create-oracle-ai-data-platform-connection-details.ts create mode 100644 lib/goldengate/lib/model/oracle-ai-data-platform-connection-summary.ts create mode 100644 lib/goldengate/lib/model/oracle-ai-data-platform-connection.ts create mode 100644 lib/goldengate/lib/model/update-oracle-ai-data-platform-connection-details.ts create mode 100644 lib/goldengate/lib/request/change-connection-subscription-request.ts create mode 100644 lib/goldengate/lib/request/change-deployment-subscription-request.ts create mode 100644 lib/goldengate/lib/response/change-connection-subscription-response.ts create mode 100644 lib/goldengate/lib/response/change-deployment-subscription-response.ts create mode 100644 lib/iot/README.md create mode 100644 lib/iot/index.ts create mode 100644 lib/iot/lib/client.ts create mode 100644 lib/iot/lib/iot-waiter.ts create mode 100644 lib/iot/lib/model/action-type.ts create mode 100644 lib/iot/lib/model/apex-data-access-details.ts create mode 100644 lib/iot/lib/model/change-iot-domain-compartment-details.ts create mode 100644 lib/iot/lib/model/change-iot-domain-data-retention-period-details.ts create mode 100644 lib/iot/lib/model/change-iot-domain-group-compartment-details.ts create mode 100644 lib/iot/lib/model/configure-iot-domain-data-access-details.ts create mode 100644 lib/iot/lib/model/configure-iot-domain-group-data-access-details.ts create mode 100644 lib/iot/lib/model/create-digital-twin-adapter-details.ts create mode 100644 lib/iot/lib/model/create-digital-twin-instance-details.ts create mode 100644 lib/iot/lib/model/create-digital-twin-model-details.ts create mode 100644 lib/iot/lib/model/create-digital-twin-relationship-details.ts create mode 100644 lib/iot/lib/model/create-iot-domain-details.ts create mode 100644 lib/iot/lib/model/create-iot-domain-group-details.ts create mode 100644 lib/iot/lib/model/data-retention-periods-in-days.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-collection.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-envelope-mapping.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-inbound-envelope.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-inbound-route.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-json-payload.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-payload.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter-summary.ts create mode 100644 lib/iot/lib/model/digital-twin-adapter.ts create mode 100644 lib/iot/lib/model/digital-twin-instance-collection.ts create mode 100644 lib/iot/lib/model/digital-twin-instance-summary.ts create mode 100644 lib/iot/lib/model/digital-twin-instance.ts create mode 100644 lib/iot/lib/model/digital-twin-model-collection.ts create mode 100644 lib/iot/lib/model/digital-twin-model-summary.ts create mode 100644 lib/iot/lib/model/digital-twin-model.ts create mode 100644 lib/iot/lib/model/digital-twin-relationship-collection.ts create mode 100644 lib/iot/lib/model/digital-twin-relationship-summary.ts create mode 100644 lib/iot/lib/model/digital-twin-relationship.ts create mode 100644 lib/iot/lib/model/direct-data-access-details.ts create mode 100644 lib/iot/lib/model/error-details.ts create mode 100644 lib/iot/lib/model/index.ts create mode 100644 lib/iot/lib/model/invoke-raw-binary-command-details.ts create mode 100644 lib/iot/lib/model/invoke-raw-command-details.ts create mode 100644 lib/iot/lib/model/invoke-raw-json-command-details.ts create mode 100644 lib/iot/lib/model/invoke-raw-text-command-details.ts create mode 100644 lib/iot/lib/model/iot-domain-collection.ts create mode 100644 lib/iot/lib/model/iot-domain-group-collection.ts create mode 100644 lib/iot/lib/model/iot-domain-group-summary.ts create mode 100644 lib/iot/lib/model/iot-domain-group.ts create mode 100644 lib/iot/lib/model/iot-domain-summary.ts create mode 100644 lib/iot/lib/model/iot-domain.ts create mode 100644 lib/iot/lib/model/lifecycle-state.ts create mode 100644 lib/iot/lib/model/operation-status.ts create mode 100644 lib/iot/lib/model/operation-type.ts create mode 100644 lib/iot/lib/model/ords-data-access-details.ts create mode 100644 lib/iot/lib/model/update-digital-twin-adapter-details.ts create mode 100644 lib/iot/lib/model/update-digital-twin-instance-details.ts create mode 100644 lib/iot/lib/model/update-digital-twin-model-details.ts create mode 100644 lib/iot/lib/model/update-digital-twin-relationship-details.ts create mode 100644 lib/iot/lib/model/update-iot-domain-details.ts create mode 100644 lib/iot/lib/model/update-iot-domain-group-details.ts create mode 100644 lib/iot/lib/model/work-request-error-collection.ts create mode 100644 lib/iot/lib/model/work-request-error.ts create mode 100644 lib/iot/lib/model/work-request-log-entry-collection.ts create mode 100644 lib/iot/lib/model/work-request-log-entry.ts create mode 100644 lib/iot/lib/model/work-request-resource-metadata-key.ts create mode 100644 lib/iot/lib/model/work-request-resource.ts create mode 100644 lib/iot/lib/model/work-request-summary-collection.ts create mode 100644 lib/iot/lib/model/work-request-summary.ts create mode 100644 lib/iot/lib/model/work-request.ts create mode 100644 lib/iot/lib/request/change-iot-domain-compartment-request.ts create mode 100644 lib/iot/lib/request/change-iot-domain-data-retention-period-request.ts create mode 100644 lib/iot/lib/request/change-iot-domain-group-compartment-request.ts create mode 100644 lib/iot/lib/request/configure-iot-domain-data-access-request.ts create mode 100644 lib/iot/lib/request/configure-iot-domain-group-data-access-request.ts create mode 100644 lib/iot/lib/request/create-digital-twin-adapter-request.ts create mode 100644 lib/iot/lib/request/create-digital-twin-instance-request.ts create mode 100644 lib/iot/lib/request/create-digital-twin-model-request.ts create mode 100644 lib/iot/lib/request/create-digital-twin-relationship-request.ts create mode 100644 lib/iot/lib/request/create-iot-domain-group-request.ts create mode 100644 lib/iot/lib/request/create-iot-domain-request.ts create mode 100644 lib/iot/lib/request/delete-digital-twin-adapter-request.ts create mode 100644 lib/iot/lib/request/delete-digital-twin-instance-request.ts create mode 100644 lib/iot/lib/request/delete-digital-twin-model-request.ts create mode 100644 lib/iot/lib/request/delete-digital-twin-relationship-request.ts create mode 100644 lib/iot/lib/request/delete-iot-domain-group-request.ts create mode 100644 lib/iot/lib/request/delete-iot-domain-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-adapter-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-instance-content-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-instance-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-model-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-model-spec-request.ts create mode 100644 lib/iot/lib/request/get-digital-twin-relationship-request.ts create mode 100644 lib/iot/lib/request/get-iot-domain-group-request.ts create mode 100644 lib/iot/lib/request/get-iot-domain-request.ts create mode 100644 lib/iot/lib/request/get-work-request-request.ts create mode 100644 lib/iot/lib/request/index.ts create mode 100644 lib/iot/lib/request/invoke-raw-command-request.ts create mode 100644 lib/iot/lib/request/list-digital-twin-adapters-request.ts create mode 100644 lib/iot/lib/request/list-digital-twin-instances-request.ts create mode 100644 lib/iot/lib/request/list-digital-twin-models-request.ts create mode 100644 lib/iot/lib/request/list-digital-twin-relationships-request.ts create mode 100644 lib/iot/lib/request/list-iot-domain-groups-request.ts create mode 100644 lib/iot/lib/request/list-iot-domains-request.ts create mode 100644 lib/iot/lib/request/list-work-request-errors-request.ts create mode 100644 lib/iot/lib/request/list-work-request-logs-request.ts create mode 100644 lib/iot/lib/request/list-work-requests-request.ts create mode 100644 lib/iot/lib/request/update-digital-twin-adapter-request.ts create mode 100644 lib/iot/lib/request/update-digital-twin-instance-request.ts create mode 100644 lib/iot/lib/request/update-digital-twin-model-request.ts create mode 100644 lib/iot/lib/request/update-digital-twin-relationship-request.ts create mode 100644 lib/iot/lib/request/update-iot-domain-group-request.ts create mode 100644 lib/iot/lib/request/update-iot-domain-request.ts create mode 100644 lib/iot/lib/response/change-iot-domain-compartment-response.ts create mode 100644 lib/iot/lib/response/change-iot-domain-data-retention-period-response.ts create mode 100644 lib/iot/lib/response/change-iot-domain-group-compartment-response.ts create mode 100644 lib/iot/lib/response/configure-iot-domain-data-access-response.ts create mode 100644 lib/iot/lib/response/configure-iot-domain-group-data-access-response.ts create mode 100644 lib/iot/lib/response/create-digital-twin-adapter-response.ts create mode 100644 lib/iot/lib/response/create-digital-twin-instance-response.ts create mode 100644 lib/iot/lib/response/create-digital-twin-model-response.ts create mode 100644 lib/iot/lib/response/create-digital-twin-relationship-response.ts create mode 100644 lib/iot/lib/response/create-iot-domain-group-response.ts create mode 100644 lib/iot/lib/response/create-iot-domain-response.ts create mode 100644 lib/iot/lib/response/delete-digital-twin-adapter-response.ts create mode 100644 lib/iot/lib/response/delete-digital-twin-instance-response.ts create mode 100644 lib/iot/lib/response/delete-digital-twin-model-response.ts create mode 100644 lib/iot/lib/response/delete-digital-twin-relationship-response.ts create mode 100644 lib/iot/lib/response/delete-iot-domain-group-response.ts create mode 100644 lib/iot/lib/response/delete-iot-domain-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-adapter-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-instance-content-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-instance-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-model-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-model-spec-response.ts create mode 100644 lib/iot/lib/response/get-digital-twin-relationship-response.ts create mode 100644 lib/iot/lib/response/get-iot-domain-group-response.ts create mode 100644 lib/iot/lib/response/get-iot-domain-response.ts create mode 100644 lib/iot/lib/response/get-work-request-response.ts create mode 100644 lib/iot/lib/response/index.ts create mode 100644 lib/iot/lib/response/invoke-raw-command-response.ts create mode 100644 lib/iot/lib/response/list-digital-twin-adapters-response.ts create mode 100644 lib/iot/lib/response/list-digital-twin-instances-response.ts create mode 100644 lib/iot/lib/response/list-digital-twin-models-response.ts create mode 100644 lib/iot/lib/response/list-digital-twin-relationships-response.ts create mode 100644 lib/iot/lib/response/list-iot-domain-groups-response.ts create mode 100644 lib/iot/lib/response/list-iot-domains-response.ts create mode 100644 lib/iot/lib/response/list-work-request-errors-response.ts create mode 100644 lib/iot/lib/response/list-work-request-logs-response.ts create mode 100644 lib/iot/lib/response/list-work-requests-response.ts create mode 100644 lib/iot/lib/response/update-digital-twin-adapter-response.ts create mode 100644 lib/iot/lib/response/update-digital-twin-instance-response.ts create mode 100644 lib/iot/lib/response/update-digital-twin-model-response.ts create mode 100644 lib/iot/lib/response/update-digital-twin-relationship-response.ts create mode 100644 lib/iot/lib/response/update-iot-domain-group-response.ts create mode 100644 lib/iot/lib/response/update-iot-domain-response.ts create mode 100644 lib/iot/package.json create mode 100644 lib/iot/tsconfig.json create mode 100644 lib/opensearch/lib/model/certificate-config.ts create mode 100644 lib/opensearch/lib/model/certificate-mode.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index f9ef3ff665..663ef57ce7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,34 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.119.0 - 2025-10-07 +### Added +- Support for OCI Internet of Things (OCI IoT) service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Resource Manager service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Streaming service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the MySQL HeatWave service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the GoldenGate service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the OCI Cache service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Database Tools service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the OpenSearch service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Functions service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Integration Cloud service +- Support for data guards to convert standby database types in the Database service +- Support for Network Security Groups (NSGs) when creating clusters in the OpenSearch service +- Support for specifying compartment id when listing cluster shapes in the OpenSearch service +- Support for additional parameters when listing add-on options in the Kubernetes Engine service +- Support for dynamic resource VMs in the Compute service +- Support for adding and removing subscriptions for resources in the GoldenGate service +- Support for additional parameters when creating and updating deployments in the GoldenGate service +- Support for additional parameters when creating and updating connections in the GoldenGate service +- Support for new connection type for database resources in the AI Data Platform service +- Support for resource principal authentication for OCI streaming connections in the GoldenGate service +- Support for new technology type for Kafka connections in the GoldenGate service + +### Breaking Changes +- The mandatory field `compartmentId` was added to the model `ListOpensearchClusterShapesRequest` in the OpenSearch service +- The field `size` was made mandatory in the model `CreateVirtualNodePoolDetails` in the Kubernetes Engine service + ## 2.118.1 - 2025-09-30 ### Added - Support for private endpoints for dedicated AI clusters in the Generative AI service diff --git a/index.ts b/index.ts index c3cd76abd5..981e221c42 100755 --- a/index.ts +++ b/index.ts @@ -237,3 +237,4 @@ export import aidataplatform = require("oci-aidataplatform"); export import jmsutils = require("oci-jmsutils"); export import multicloud = require("oci-multicloud"); export import resourceanalytics = require("oci-resourceanalytics"); +export import iot = require("oci-iot"); diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 754f700352..39d6029525 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Access Governance Cp Service", "repository": { "type": "git", diff --git a/lib/adm/package.json b/lib/adm/package.json index 4b70010acf..2f0eaa54c1 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 451dd36e80..6b916b7143 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ai Data Platform Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 9d00e79faa..cec6b1e627 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index 8f61058294..9c2024f6eb 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index 7244e84a4a..48f38d154a 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index 6da53b1b44..4119e0841b 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index 1ed8d41591..a45f423f98 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 7f0375d76a..e2ad9a7fd5 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index aabf2f7fdc..62ea16dcde 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 3dbf9bbcec..8252fbcc12 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apiplatform/package.json b/lib/apiplatform/package.json index 7050884c23..9dc41fb533 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Api Platform Service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 99efc0853f..3acef6e826 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 4e400f31c6..bddfaf5e63 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Apm Control Plane Service", "repository": { "type": "git", diff --git a/lib/apmsynthetics/package.json b/lib/apmsynthetics/package.json index ec8d29ba31..949fb05447 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index e7eb3b1aac..93a24b6dd1 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index 43bd3cf042..c44ac9a301 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index a670244cb7..1fada67164 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 27187fd3fb..e934f0d503 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 2dd34e6307..7b332304f7 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 456a91aee9..25e04befe5 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 75d7926596..1d72ea525a 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 966ebe144a..0a31278774 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index a496972393..8daca7ebf6 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 9f3c3d191b..3bf8278e30 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index e373531a03..2d8d46b14e 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index aacba22bf4..e661751c24 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index 9dd325fa82..171dd85e4a 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 0eee39153b..174c0733e5 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 27604619d6..c904a34213 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index d0a394179a..bf781b73b3 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index af44574787..7e68ba368e 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/package.json b/lib/common/package.json index 2e0539b4c1..c3bd63f492 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index 3a32f7e75c..2621c4ec18 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Compute Cloud At Customer Service", "repository": { "type": "git", diff --git a/lib/computeinstanceagent/package.json b/lib/computeinstanceagent/package.json index a6be24c19d..dabea571c8 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/lib/client.ts b/lib/containerengine/lib/client.ts index a944f04a44..5e1b97779d 100644 --- a/lib/containerengine/lib/client.ts +++ b/lib/containerengine/lib/client.ts @@ -2229,7 +2229,8 @@ export class ContainerEngineClient { "limit": listAddonOptionsRequest.limit, "page": listAddonOptionsRequest.page, "sortOrder": listAddonOptionsRequest.sortOrder, - "sortBy": listAddonOptionsRequest.sortBy + "sortBy": listAddonOptionsRequest.sortBy, + "shouldShowAllVersions": listAddonOptionsRequest.shouldShowAllVersions }; let headerParams = { diff --git a/lib/containerengine/lib/model/create-virtual-node-pool-details.ts b/lib/containerengine/lib/model/create-virtual-node-pool-details.ts index 4afe77dbe2..e7a377d80e 100644 --- a/lib/containerengine/lib/model/create-virtual-node-pool-details.ts +++ b/lib/containerengine/lib/model/create-virtual-node-pool-details.ts @@ -44,7 +44,7 @@ export interface CreateVirtualNodePoolDetails { /** * The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "size"?: number; + "size": number; /** * The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations */ diff --git a/lib/containerengine/lib/model/virtual-node-pool-summary.ts b/lib/containerengine/lib/model/virtual-node-pool-summary.ts index 14ee5d6b47..5788299bc8 100644 --- a/lib/containerengine/lib/model/virtual-node-pool-summary.ts +++ b/lib/containerengine/lib/model/virtual-node-pool-summary.ts @@ -52,7 +52,7 @@ export interface VirtualNodePoolSummary { /** * The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "size"?: number; + "size": number; /** * The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations */ diff --git a/lib/containerengine/lib/model/virtual-node-pool.ts b/lib/containerengine/lib/model/virtual-node-pool.ts index 1fe6e1b8b3..6ca65c2d83 100644 --- a/lib/containerengine/lib/model/virtual-node-pool.ts +++ b/lib/containerengine/lib/model/virtual-node-pool.ts @@ -52,7 +52,7 @@ export interface VirtualNodePool { /** * The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "size"?: number; + "size": number; /** * The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations */ diff --git a/lib/containerengine/lib/request/list-addon-options-request.ts b/lib/containerengine/lib/request/list-addon-options-request.ts index d97e35a423..254d06f168 100644 --- a/lib/containerengine/lib/request/list-addon-options-request.ts +++ b/lib/containerengine/lib/request/list-addon-options-request.ts @@ -53,6 +53,10 @@ export interface ListAddonOptionsRequest extends common.BaseRequest { * The optional field to sort the results by. */ "sortBy"?: ListAddonOptionsRequest.SortBy; + /** + * Whether to show all add-on versions + */ + "shouldShowAllVersions"?: boolean; } export namespace ListAddonOptionsRequest { diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index b666eff4f8..49bd9686a7 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 1025352b69..808ea42d94 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/lib/model/instance-configuration-launch-instance-shape-config-details.ts b/lib/core/lib/model/instance-configuration-launch-instance-shape-config-details.ts index 21e1345d23..8042b5b3df 100644 --- a/lib/core/lib/model/instance-configuration-launch-instance-shape-config-details.ts +++ b/lib/core/lib/model/instance-configuration-launch-instance-shape-config-details.ts @@ -67,6 +67,11 @@ The following values are supported: * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "nvmes"?: number; + /** + * This field is reserved for internal use. + * + */ + "resourceManagement"?: InstanceConfigurationLaunchInstanceShapeConfigDetails.ResourceManagement; } export namespace InstanceConfigurationLaunchInstanceShapeConfigDetails { @@ -81,6 +86,16 @@ export namespace InstanceConfigurationLaunchInstanceShapeConfigDetails { UnknownValue = "UNKNOWN_VALUE" } + export enum ResourceManagement { + Dynamic = "DYNAMIC", + Static = "STATIC", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: InstanceConfigurationLaunchInstanceShapeConfigDetails): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/core/lib/model/instance-shape-config.ts b/lib/core/lib/model/instance-shape-config.ts index f51d9331f5..8b084d02c6 100644 --- a/lib/core/lib/model/instance-shape-config.ts +++ b/lib/core/lib/model/instance-shape-config.ts @@ -101,6 +101,11 @@ If the instance does not have any local disks, this field is {@code null}. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "vcpus"?: number; + /** + * This field is reserved for internal use. + * + */ + "resourceManagement"?: InstanceShapeConfig.ResourceManagement; } export namespace InstanceShapeConfig { @@ -115,6 +120,16 @@ export namespace InstanceShapeConfig { UnknownValue = "UNKNOWN_VALUE" } + export enum ResourceManagement { + Dynamic = "DYNAMIC", + Static = "STATIC", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: InstanceShapeConfig): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/core/lib/model/launch-instance-shape-config-details.ts b/lib/core/lib/model/launch-instance-shape-config-details.ts index d2b8788742..65d2f48b1f 100644 --- a/lib/core/lib/model/launch-instance-shape-config-details.ts +++ b/lib/core/lib/model/launch-instance-shape-config-details.ts @@ -66,6 +66,11 @@ The following values are supported: * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "nvmes"?: number; + /** + * This field is reserved for internal use. + * + */ + "resourceManagement"?: LaunchInstanceShapeConfigDetails.ResourceManagement; } export namespace LaunchInstanceShapeConfigDetails { @@ -75,6 +80,11 @@ export namespace LaunchInstanceShapeConfigDetails { Baseline11 = "BASELINE_1_1" } + export enum ResourceManagement { + Dynamic = "DYNAMIC", + Static = "STATIC" + } + export function getJsonObj(obj: LaunchInstanceShapeConfigDetails): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/core/lib/model/update-instance-shape-config-details.ts b/lib/core/lib/model/update-instance-shape-config-details.ts index 610609dd87..86b5459131 100644 --- a/lib/core/lib/model/update-instance-shape-config-details.ts +++ b/lib/core/lib/model/update-instance-shape-config-details.ts @@ -66,6 +66,11 @@ The following values are supported: * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "nvmes"?: number; + /** + * This field is reserved for internal use. + * + */ + "resourceManagement"?: UpdateInstanceShapeConfigDetails.ResourceManagement; } export namespace UpdateInstanceShapeConfigDetails { @@ -75,6 +80,11 @@ export namespace UpdateInstanceShapeConfigDetails { Baseline11 = "BASELINE_1_1" } + export enum ResourceManagement { + Dynamic = "DYNAMIC", + Static = "STATIC" + } + export function getJsonObj(obj: UpdateInstanceShapeConfigDetails): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/core/package.json b/lib/core/package.json index 6232399279..2f07e88a51 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 823ab0210d..cc1f898ba7 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index 114fcdeb0c..68d22687bb 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -4623,6 +4623,99 @@ export class DatabaseClient { } } + /** + * Performs transition from standby database into a snapshot standby and vice versa. +* The transition performed based on the current role of the database, if the current role is standby then this operation will convert it to snapshot standby and if the current role is snapshot standby then this operation will convert it to standby. +*

+This operation should be performed on respective standby/snapshot standby database. +* + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ConvertStandbyDatabaseTypeRequest + * @return ConvertStandbyDatabaseTypeResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConvertStandbyDatabaseType.ts.html |here} to see how to use ConvertStandbyDatabaseType API. + */ + public async convertStandbyDatabaseType( + convertStandbyDatabaseTypeRequest: requests.ConvertStandbyDatabaseTypeRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#convertStandbyDatabaseType."); + const operationName = "convertStandbyDatabaseType"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/ConvertStandbyDatabaseType"; + const pathParams = { + "{databaseId}": convertStandbyDatabaseTypeRequest.databaseId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": convertStandbyDatabaseTypeRequest.opcRetryToken, + "opc-request-id": convertStandbyDatabaseTypeRequest.opcRequestId, + "if-match": convertStandbyDatabaseTypeRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + convertStandbyDatabaseTypeRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/databases/{databaseId}/dataGuard/actions/convertStandbyDatabaseType", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + convertStandbyDatabaseTypeRequest.convertStandbyDatabaseTypeDetails, + "ConvertStandbyDatabaseTypeDetails", + model.ConvertStandbyDatabaseTypeDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "database", + bodyModel: model.Database, + type: "model.Database", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Converts a non-container database to a pluggable database. * diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index a4ff618e57..48a633eefb 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -1555,6 +1555,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forConvertStandbyDatabaseType + * + * @param request the request to send + * @return response returns ConvertStandbyDatabaseTypeResponse, GetWorkRequestResponse tuple + */ + public async forConvertStandbyDatabaseType( + request: serviceRequests.ConvertStandbyDatabaseTypeRequest + ): Promise<{ + response: serviceResponses.ConvertStandbyDatabaseTypeResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const convertStandbyDatabaseTypeResponse = await this.client.convertStandbyDatabaseType( + request + ); + if (convertStandbyDatabaseTypeResponse.opcWorkRequestId === undefined) + return { + response: convertStandbyDatabaseTypeResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + convertStandbyDatabaseTypeResponse.opcWorkRequestId + ); + return { + response: convertStandbyDatabaseTypeResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forConvertToPdb * diff --git a/lib/database/lib/model/convert-standby-database-type-details.ts b/lib/database/lib/model/convert-standby-database-type-details.ts new file mode 100644 index 0000000000..961c0d400b --- /dev/null +++ b/lib/database/lib/model/convert-standby-database-type-details.ts @@ -0,0 +1,65 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The convertStandbyDatabaseType request parameters. + * + */ +export interface ConvertStandbyDatabaseTypeDetails { + /** + * The administrator password of the primary database in this Data Guard association. + *

+ **The password MUST be the same as the primary admin password.** + * + */ + "databaseAdminPassword": string; + /** + * Defines the conversion type of the standby database. Specify this to convert a physical standby to a snapshot standby and vice versa. +*

+Valid standbyConversionType: +* - SNAPSHOT +* - PHYSICAL +* + */ + "standbyConversionType": ConvertStandbyDatabaseTypeDetails.StandbyConversionType; + /** + * SnapshotDurationInDays is the duration in day(s) after which the Snapshot Standby Database will get converted back to Physical Standby. +* The minimum value of snapshotDurationInDays is 3 days and maximum value is 14 days. Default value will be 7 days if not provided in the Request. +*

+This field is only applicable if the requested database role is snapshot standby. +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "snapshotDurationInDays"?: number; +} + +export namespace ConvertStandbyDatabaseTypeDetails { + export enum StandbyConversionType { + Snapshot = "SNAPSHOT", + Physical = "PHYSICAL" + } + + export function getJsonObj(obj: ConvertStandbyDatabaseTypeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ConvertStandbyDatabaseTypeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/data-guard-association-summary.ts b/lib/database/lib/model/data-guard-association-summary.ts index 30a0bc665f..3b005fadb0 100644 --- a/lib/database/lib/model/data-guard-association-summary.ts +++ b/lib/database/lib/model/data-guard-association-summary.ts @@ -116,6 +116,7 @@ export namespace DataGuardAssociationSummary { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", + SnapshotStandby = "SNAPSHOT_STANDBY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. @@ -142,6 +143,7 @@ export namespace DataGuardAssociationSummary { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", + SnapshotStandby = "SNAPSHOT_STANDBY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/data-guard-association.ts b/lib/database/lib/model/data-guard-association.ts index 2905bcdeee..53f39baeaf 100644 --- a/lib/database/lib/model/data-guard-association.ts +++ b/lib/database/lib/model/data-guard-association.ts @@ -104,6 +104,7 @@ export namespace DataGuardAssociation { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", + SnapshotStandby = "SNAPSHOT_STANDBY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. @@ -130,6 +131,7 @@ export namespace DataGuardAssociation { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", + SnapshotStandby = "SNAPSHOT_STANDBY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/data-guard-group-member.ts b/lib/database/lib/model/data-guard-group-member.ts index 1b5bc94a6a..402d0084b1 100644 --- a/lib/database/lib/model/data-guard-group-member.ts +++ b/lib/database/lib/model/data-guard-group-member.ts @@ -83,6 +83,7 @@ export namespace DataGuardGroupMember { Primary = "PRIMARY", Standby = "STANDBY", DisabledStandby = "DISABLED_STANDBY", + SnapshotStandby = "SNAPSHOT_STANDBY", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index eff10ce449..56a390d546 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -262,6 +262,8 @@ import * as ConsoleHistorySummary from "./console-history-summary"; export import ConsoleHistorySummary = ConsoleHistorySummary.ConsoleHistorySummary; import * as ConvertStandbyAutonomousContainerDatabaseDetails from "./convert-standby-autonomous-container-database-details"; export import ConvertStandbyAutonomousContainerDatabaseDetails = ConvertStandbyAutonomousContainerDatabaseDetails.ConvertStandbyAutonomousContainerDatabaseDetails; +import * as ConvertStandbyDatabaseTypeDetails from "./convert-standby-database-type-details"; +export import ConvertStandbyDatabaseTypeDetails = ConvertStandbyDatabaseTypeDetails.ConvertStandbyDatabaseTypeDetails; import * as ConvertToPdbDetails from "./convert-to-pdb-details"; export import ConvertToPdbDetails = ConvertToPdbDetails.ConvertToPdbDetails; import * as ConvertToPdbTargetBase from "./convert-to-pdb-target-base"; diff --git a/lib/database/lib/request/convert-standby-database-type-request.ts b/lib/database/lib/request/convert-standby-database-type-request.ts new file mode 100644 index 0000000000..b819e3d512 --- /dev/null +++ b/lib/database/lib/request/convert-standby-database-type-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConvertStandbyDatabaseType.ts.html |here} to see how to use ConvertStandbyDatabaseTypeRequest. + */ +export interface ConvertStandbyDatabaseTypeRequest extends common.BaseRequest { + /** + * The database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "databaseId": string; + /** + * Request parameters needed to convert Standby to snapshot standby and vice-versa. + */ + "convertStandbyDatabaseTypeDetails": model.ConvertStandbyDatabaseTypeDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index 6684742604..813b240a69 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -114,6 +114,8 @@ import * as ConfirmKeyStoreDetailsAreCorrectRequest from "./confirm-key-store-de export import ConfirmKeyStoreDetailsAreCorrectRequest = ConfirmKeyStoreDetailsAreCorrectRequest.ConfirmKeyStoreDetailsAreCorrectRequest; import * as ConvertStandbyAutonomousContainerDatabaseRequest from "./convert-standby-autonomous-container-database-request"; export import ConvertStandbyAutonomousContainerDatabaseRequest = ConvertStandbyAutonomousContainerDatabaseRequest.ConvertStandbyAutonomousContainerDatabaseRequest; +import * as ConvertStandbyDatabaseTypeRequest from "./convert-standby-database-type-request"; +export import ConvertStandbyDatabaseTypeRequest = ConvertStandbyDatabaseTypeRequest.ConvertStandbyDatabaseTypeRequest; import * as ConvertToPdbRequest from "./convert-to-pdb-request"; export import ConvertToPdbRequest = ConvertToPdbRequest.ConvertToPdbRequest; import * as ConvertToRegularPluggableDatabaseRequest from "./convert-to-regular-pluggable-database-request"; diff --git a/lib/database/lib/response/convert-standby-database-type-response.ts b/lib/database/lib/response/convert-standby-database-type-response.ts new file mode 100644 index 0000000000..c68055be56 --- /dev/null +++ b/lib/database/lib/response/convert-standby-database-type-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ConvertStandbyDatabaseTypeResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Database instance. + */ + "database": model.Database; +} diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index fe0b8fcce1..8969dc9f84 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -114,6 +114,8 @@ import * as ConfirmKeyStoreDetailsAreCorrectResponse from "./confirm-key-store-d export import ConfirmKeyStoreDetailsAreCorrectResponse = ConfirmKeyStoreDetailsAreCorrectResponse.ConfirmKeyStoreDetailsAreCorrectResponse; import * as ConvertStandbyAutonomousContainerDatabaseResponse from "./convert-standby-autonomous-container-database-response"; export import ConvertStandbyAutonomousContainerDatabaseResponse = ConvertStandbyAutonomousContainerDatabaseResponse.ConvertStandbyAutonomousContainerDatabaseResponse; +import * as ConvertStandbyDatabaseTypeResponse from "./convert-standby-database-type-response"; +export import ConvertStandbyDatabaseTypeResponse = ConvertStandbyDatabaseTypeResponse.ConvertStandbyDatabaseTypeResponse; import * as ConvertToPdbResponse from "./convert-to-pdb-response"; export import ConvertToPdbResponse = ConvertToPdbResponse.ConvertToPdbResponse; import * as ConvertToRegularPluggableDatabaseResponse from "./convert-to-regular-pluggable-database-response"; diff --git a/lib/database/package.json b/lib/database/package.json index d657762c31..4b60e8de22 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 5298b19861..dabbc022ba 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Database Management Service", "repository": { "type": "git", diff --git a/lib/databasemigration/package.json b/lib/databasemigration/package.json index 326e65ef8f..f5b26f8800 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Database Migration Service", "repository": { "type": "git", diff --git a/lib/databasetools/lib/model/change-database-tools-connection-compartment-details.ts b/lib/databasetools/lib/model/change-database-tools-connection-compartment-details.ts index fbfe4c0cd7..67f119b3d5 100644 --- a/lib/databasetools/lib/model/change-database-tools-connection-compartment-details.ts +++ b/lib/databasetools/lib/model/change-database-tools-connection-compartment-details.ts @@ -15,11 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Contains the details for the compartment to move the {@code DatabaseToolsConnection} to. + * Contains the details for the compartment to move the Database Tools connection to. */ export interface ChangeDatabaseToolsConnectionCompartmentDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the {@code DatabaseToolsConnection} to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Database Tools connection to. */ "compartmentId": string; } diff --git a/lib/databasetools/lib/model/create-database-tools-connection-generic-jdbc-details.ts b/lib/databasetools/lib/model/create-database-tools-connection-generic-jdbc-details.ts index 5d40ea6c5f..e2c635bade 100644 --- a/lib/databasetools/lib/model/create-database-tools-connection-generic-jdbc-details.ts +++ b/lib/databasetools/lib/model/create-database-tools-connection-generic-jdbc-details.ts @@ -24,7 +24,7 @@ export interface CreateDatabaseToolsConnectionGenericJdbcDetails */ "url": string; /** - * The user name. + * The database user name. */ "userName": string; "userPassword": model.DatabaseToolsUserPasswordSecretIdDetails; diff --git a/lib/databasetools/lib/model/create-database-tools-connection-my-sql-details.ts b/lib/databasetools/lib/model/create-database-tools-connection-my-sql-details.ts index 6db1544288..d1d866d337 100644 --- a/lib/databasetools/lib/model/create-database-tools-connection-my-sql-details.ts +++ b/lib/databasetools/lib/model/create-database-tools-connection-my-sql-details.ts @@ -25,7 +25,7 @@ export interface CreateDatabaseToolsConnectionMySqlDetails */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName": string; "userPassword": model.DatabaseToolsUserPasswordSecretIdDetails; diff --git a/lib/databasetools/lib/model/create-database-tools-connection-postgresql-details.ts b/lib/databasetools/lib/model/create-database-tools-connection-postgresql-details.ts index 52f728a415..8c83e7f048 100644 --- a/lib/databasetools/lib/model/create-database-tools-connection-postgresql-details.ts +++ b/lib/databasetools/lib/model/create-database-tools-connection-postgresql-details.ts @@ -25,7 +25,7 @@ export interface CreateDatabaseToolsConnectionPostgresqlDetails */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName": string; "userPassword": model.DatabaseToolsUserPasswordSecretIdDetails; diff --git a/lib/databasetools/lib/model/create-database-tools-private-endpoint-details.ts b/lib/databasetools/lib/model/create-database-tools-private-endpoint-details.ts index ffa86966b3..12fe44c307 100644 --- a/lib/databasetools/lib/model/create-database-tools-private-endpoint-details.ts +++ b/lib/databasetools/lib/model/create-database-tools-private-endpoint-details.ts @@ -34,6 +34,13 @@ export interface CreateDatabaseToolsPrivateEndpointDetails { * */ "freeformTags"?: { [key: string]: string }; + /** + * Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Locks associated with this resource. */ diff --git a/lib/databasetools/lib/model/database-tools-connection-collection.ts b/lib/databasetools/lib/model/database-tools-connection-collection.ts index 85b0a13c87..38c6a52d83 100644 --- a/lib/databasetools/lib/model/database-tools-connection-collection.ts +++ b/lib/databasetools/lib/model/database-tools-connection-collection.ts @@ -15,11 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * List of {@code DatabaseToolsConnectionSummary} items. + * List of Database Tools connection summary items. */ export interface DatabaseToolsConnectionCollection { /** - * Array of {@code DatabaseToolsConnectionSummary} items. + * Array of Database Tools connection summary items. */ "items": Array; } diff --git a/lib/databasetools/lib/model/database-tools-connection-generic-jdbc-summary.ts b/lib/databasetools/lib/model/database-tools-connection-generic-jdbc-summary.ts index 4f701633c4..372dff5a94 100644 --- a/lib/databasetools/lib/model/database-tools-connection-generic-jdbc-summary.ts +++ b/lib/databasetools/lib/model/database-tools-connection-generic-jdbc-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * DatabaseToolsConnectionSummary of a Generic JDBC database system. + * Database Tools connection summary of a Generic JDBC database system. */ export interface DatabaseToolsConnectionGenericJdbcSummary extends model.DatabaseToolsConnectionSummary { @@ -24,7 +24,7 @@ export interface DatabaseToolsConnectionGenericJdbcSummary */ "url": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdSummary; diff --git a/lib/databasetools/lib/model/database-tools-connection-generic-jdbc.ts b/lib/databasetools/lib/model/database-tools-connection-generic-jdbc.ts index c079fccd49..6b4a49c500 100644 --- a/lib/databasetools/lib/model/database-tools-connection-generic-jdbc.ts +++ b/lib/databasetools/lib/model/database-tools-connection-generic-jdbc.ts @@ -23,7 +23,7 @@ export interface DatabaseToolsConnectionGenericJdbc extends model.DatabaseToolsC */ "url": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretId; diff --git a/lib/databasetools/lib/model/database-tools-connection-my-sql-summary.ts b/lib/databasetools/lib/model/database-tools-connection-my-sql-summary.ts index 96f692b7aa..45317b915a 100644 --- a/lib/databasetools/lib/model/database-tools-connection-my-sql-summary.ts +++ b/lib/databasetools/lib/model/database-tools-connection-my-sql-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * DatabaseToolsConnectionSummary of a MySQL Server. + * Database Tools connection summary of a MySQL Server. */ export interface DatabaseToolsConnectionMySqlSummary extends model.DatabaseToolsConnectionSummary { "relatedResource"?: model.DatabaseToolsRelatedResourceMySql; @@ -24,7 +24,7 @@ export interface DatabaseToolsConnectionMySqlSummary extends model.DatabaseTools */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdSummary; @@ -39,7 +39,7 @@ export interface DatabaseToolsConnectionMySqlSummary extends model.DatabaseTools */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code DatabaseToolsPrivateEndpoint} used to access the database in the customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN. */ "privateEndpointId"?: string; diff --git a/lib/databasetools/lib/model/database-tools-connection-my-sql.ts b/lib/databasetools/lib/model/database-tools-connection-my-sql.ts index edf1ed34b7..1ab5cbfe4e 100644 --- a/lib/databasetools/lib/model/database-tools-connection-my-sql.ts +++ b/lib/databasetools/lib/model/database-tools-connection-my-sql.ts @@ -24,7 +24,7 @@ export interface DatabaseToolsConnectionMySql extends model.DatabaseToolsConnect */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretId; diff --git a/lib/databasetools/lib/model/database-tools-connection-oracle-database-summary.ts b/lib/databasetools/lib/model/database-tools-connection-oracle-database-summary.ts index 0478076ce0..00e9cecee7 100644 --- a/lib/databasetools/lib/model/database-tools-connection-oracle-database-summary.ts +++ b/lib/databasetools/lib/model/database-tools-connection-oracle-database-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * DatabaseToolsConnectionSummary of an Oracle Database. + * Database Tools connection summary of an Oracle Database. */ export interface DatabaseToolsConnectionOracleDatabaseSummary extends model.DatabaseToolsConnectionSummary { @@ -40,7 +40,7 @@ export interface DatabaseToolsConnectionOracleDatabaseSummary */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code DatabaseToolsPrivateEndpoint} used to access the database in the customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN. */ "privateEndpointId"?: string; "proxyClient"?: diff --git a/lib/databasetools/lib/model/database-tools-connection-postgresql-summary.ts b/lib/databasetools/lib/model/database-tools-connection-postgresql-summary.ts index 7ef3ab92bf..51d4fcf921 100644 --- a/lib/databasetools/lib/model/database-tools-connection-postgresql-summary.ts +++ b/lib/databasetools/lib/model/database-tools-connection-postgresql-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * DatabaseToolsConnectionSummary of a PostgreSQL Server. + * Database Tools connection summary of a PostgreSQL Server. */ export interface DatabaseToolsConnectionPostgresqlSummary extends model.DatabaseToolsConnectionSummary { @@ -25,7 +25,7 @@ export interface DatabaseToolsConnectionPostgresqlSummary */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdSummary; @@ -40,7 +40,7 @@ export interface DatabaseToolsConnectionPostgresqlSummary */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code DatabaseToolsPrivateEndpoint} used to access the database in the customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the customer VCN. */ "privateEndpointId"?: string; diff --git a/lib/databasetools/lib/model/database-tools-connection-postgresql.ts b/lib/databasetools/lib/model/database-tools-connection-postgresql.ts index 8f8613ebee..523f642009 100644 --- a/lib/databasetools/lib/model/database-tools-connection-postgresql.ts +++ b/lib/databasetools/lib/model/database-tools-connection-postgresql.ts @@ -24,7 +24,7 @@ export interface DatabaseToolsConnectionPostgresql extends model.DatabaseToolsCo */ "connectionString": string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretId; diff --git a/lib/databasetools/lib/model/database-tools-connection-summary.ts b/lib/databasetools/lib/model/database-tools-connection-summary.ts index 8dfefd0050..a079e56213 100644 --- a/lib/databasetools/lib/model/database-tools-connection-summary.ts +++ b/lib/databasetools/lib/model/database-tools-connection-summary.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DatabaseToolsConnectionSummary { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code DatabaseToolsConnection}. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools connection. */ "id": string; /** diff --git a/lib/databasetools/lib/model/database-tools-connection.ts b/lib/databasetools/lib/model/database-tools-connection.ts index fc69e11dd5..b25cb93e6a 100644 --- a/lib/databasetools/lib/model/database-tools-connection.ts +++ b/lib/databasetools/lib/model/database-tools-connection.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Description of the Database Tools connection. + * Provides connectivity details required to establish a connection to a database. */ export interface DatabaseToolsConnection { /** @@ -43,7 +43,7 @@ export interface DatabaseToolsConnection { */ "timeCreated": Date; /** - * The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string. + * The time the Database Tools connection was updated. An RFC3339 formatted datetime string. */ "timeUpdated": Date; /** diff --git a/lib/databasetools/lib/model/database-tools-private-endpoint-collection.ts b/lib/databasetools/lib/model/database-tools-private-endpoint-collection.ts index 904284c427..db828d89ca 100644 --- a/lib/databasetools/lib/model/database-tools-private-endpoint-collection.ts +++ b/lib/databasetools/lib/model/database-tools-private-endpoint-collection.ts @@ -15,11 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * List of {@code DatabaseToolsPrivateEndpointSummary} items. + * List of Database Tools private endpoint summary items. */ export interface DatabaseToolsPrivateEndpointCollection { /** - * Array of {@code DatabaseToolsPrivateEndpointSummary} items. + * Array of Database Tools private endpoint summary items. */ "items": Array; } diff --git a/lib/databasetools/lib/model/database-tools-private-endpoint-summary.ts b/lib/databasetools/lib/model/database-tools-private-endpoint-summary.ts index c64f57407f..6ef0eabb68 100644 --- a/lib/databasetools/lib/model/database-tools-private-endpoint-summary.ts +++ b/lib/databasetools/lib/model/database-tools-private-endpoint-summary.ts @@ -40,6 +40,13 @@ export interface DatabaseToolsPrivateEndpointSummary { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Locks associated with this resource. */ diff --git a/lib/databasetools/lib/model/database-tools-private-endpoint.ts b/lib/databasetools/lib/model/database-tools-private-endpoint.ts index ced8f67190..c6c275fe1d 100644 --- a/lib/databasetools/lib/model/database-tools-private-endpoint.ts +++ b/lib/databasetools/lib/model/database-tools-private-endpoint.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Description of Database Tools private endpoint. + * Allows the Database Tools service to connect to databases in a customer's virtual cloud network (VCN). */ export interface DatabaseToolsPrivateEndpoint { /** @@ -40,6 +40,13 @@ export interface DatabaseToolsPrivateEndpoint { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Locks associated with this resource. */ diff --git a/lib/databasetools/lib/model/database-tools-user-password-details.ts b/lib/databasetools/lib/model/database-tools-user-password-details.ts index 850a0ec930..565a35caf5 100644 --- a/lib/databasetools/lib/model/database-tools-user-password-details.ts +++ b/lib/databasetools/lib/model/database-tools-user-password-details.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPasswordDetails { "valueType": string; diff --git a/lib/databasetools/lib/model/database-tools-user-password-secret-id-details.ts b/lib/databasetools/lib/model/database-tools-user-password-secret-id-details.ts index 7435a0329d..6e9e731a53 100644 --- a/lib/databasetools/lib/model/database-tools-user-password-secret-id-details.ts +++ b/lib/databasetools/lib/model/database-tools-user-password-secret-id-details.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPasswordSecretIdDetails extends model.DatabaseToolsUserPasswordDetails { diff --git a/lib/databasetools/lib/model/database-tools-user-password-secret-id-summary.ts b/lib/databasetools/lib/model/database-tools-user-password-secret-id-summary.ts index 0fa074cc71..9430ad55c0 100644 --- a/lib/databasetools/lib/model/database-tools-user-password-secret-id-summary.ts +++ b/lib/databasetools/lib/model/database-tools-user-password-secret-id-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPasswordSecretIdSummary extends model.DatabaseToolsUserPasswordSummary { diff --git a/lib/databasetools/lib/model/database-tools-user-password-secret-id.ts b/lib/databasetools/lib/model/database-tools-user-password-secret-id.ts index 031d13755a..3ff104e79d 100644 --- a/lib/databasetools/lib/model/database-tools-user-password-secret-id.ts +++ b/lib/databasetools/lib/model/database-tools-user-password-secret-id.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPasswordSecretId extends model.DatabaseToolsUserPassword { /** diff --git a/lib/databasetools/lib/model/database-tools-user-password-summary.ts b/lib/databasetools/lib/model/database-tools-user-password-summary.ts index 1929297ec9..b57673360b 100644 --- a/lib/databasetools/lib/model/database-tools-user-password-summary.ts +++ b/lib/databasetools/lib/model/database-tools-user-password-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPasswordSummary { "valueType": string; diff --git a/lib/databasetools/lib/model/database-tools-user-password.ts b/lib/databasetools/lib/model/database-tools-user-password.ts index b7f7d4ce8c..66b0d49491 100644 --- a/lib/databasetools/lib/model/database-tools-user-password.ts +++ b/lib/databasetools/lib/model/database-tools-user-password.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The user password. + * The database user password. */ export interface DatabaseToolsUserPassword { "valueType": string; diff --git a/lib/databasetools/lib/model/dbms-cloud-status.ts b/lib/databasetools/lib/model/dbms-cloud-status.ts new file mode 100644 index 0000000000..2d61386bf5 --- /dev/null +++ b/lib/databasetools/lib/model/dbms-cloud-status.ts @@ -0,0 +1,38 @@ +/** + * Database Tools + * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service. + * OpenAPI spec version: 20201005 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The DBMS_CLOUD package installation status. + **/ +export enum DbmsCloudStatus { + Available = "AVAILABLE", + Unavailable = "UNAVAILABLE", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace DbmsCloudStatus { + export function getJsonObj(obj: DbmsCloudStatus): DbmsCloudStatus { + return obj; + } + export function getDeserializedJsonObj(obj: DbmsCloudStatus): DbmsCloudStatus { + return obj; + } +} diff --git a/lib/databasetools/lib/model/identity-type.ts b/lib/databasetools/lib/model/identity-type.ts new file mode 100644 index 0000000000..0cf6ff8bce --- /dev/null +++ b/lib/databasetools/lib/model/identity-type.ts @@ -0,0 +1,31 @@ +/** + * Database Tools + * Use the Database Tools API to manage connections, private endpoints, and work requests in the Database Tools service. + * OpenAPI spec version: 20201005 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The Database Tools Identity type. + **/ +export enum IdentityType { + OracleDatabaseResourcePrincipal = "ORACLE_DATABASE_RESOURCE_PRINCIPAL" +} + +export namespace IdentityType { + export function getJsonObj(obj: IdentityType): IdentityType { + return obj; + } + export function getDeserializedJsonObj(obj: IdentityType): IdentityType { + return obj; + } +} diff --git a/lib/databasetools/lib/model/index.ts b/lib/databasetools/lib/model/index.ts index 3516ce0262..c77750bfa8 100644 --- a/lib/databasetools/lib/model/index.ts +++ b/lib/databasetools/lib/model/index.ts @@ -143,6 +143,10 @@ import * as DatabaseToolsUserPasswordDetails from "./database-tools-user-passwor export import DatabaseToolsUserPasswordDetails = DatabaseToolsUserPasswordDetails.DatabaseToolsUserPasswordDetails; import * as DatabaseToolsUserPasswordSummary from "./database-tools-user-password-summary"; export import DatabaseToolsUserPasswordSummary = DatabaseToolsUserPasswordSummary.DatabaseToolsUserPasswordSummary; +import * as DbmsCloudStatus from "./dbms-cloud-status"; +export import DbmsCloudStatus = DbmsCloudStatus.DbmsCloudStatus; +import * as IdentityType from "./identity-type"; +export import IdentityType = IdentityType.IdentityType; import * as KeyStoreType from "./key-store-type"; export import KeyStoreType = KeyStoreType.KeyStoreType; import * as KeyStoreTypeGenericJdbc from "./key-store-type-generic-jdbc"; diff --git a/lib/databasetools/lib/model/operation-status.ts b/lib/databasetools/lib/model/operation-status.ts index bcafb311b4..2f3a1dde2c 100644 --- a/lib/databasetools/lib/model/operation-status.ts +++ b/lib/databasetools/lib/model/operation-status.ts @@ -25,6 +25,7 @@ export enum OperationStatus { Canceling = "CANCELING", Canceled = "CANCELED", Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/databasetools/lib/model/runtime-support.ts b/lib/databasetools/lib/model/runtime-support.ts index b6b836351e..1f3281f93b 100644 --- a/lib/databasetools/lib/model/runtime-support.ts +++ b/lib/databasetools/lib/model/runtime-support.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Specifies whether a connection is supported by the Database Tools Runtime. + * The runtime support status. Must be set to UNSUPPORTED for Generic JDBC and PostgreSQL connections. **/ export enum RuntimeSupport { Supported = "SUPPORTED", diff --git a/lib/databasetools/lib/model/update-database-tools-connection-generic-jdbc-details.ts b/lib/databasetools/lib/model/update-database-tools-connection-generic-jdbc-details.ts index 5628fd2921..b2029d5a52 100644 --- a/lib/databasetools/lib/model/update-database-tools-connection-generic-jdbc-details.ts +++ b/lib/databasetools/lib/model/update-database-tools-connection-generic-jdbc-details.ts @@ -24,7 +24,7 @@ export interface UpdateDatabaseToolsConnectionGenericJdbcDetails */ "url"?: string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdDetails; diff --git a/lib/databasetools/lib/model/update-database-tools-connection-my-sql-details.ts b/lib/databasetools/lib/model/update-database-tools-connection-my-sql-details.ts index a8a1448650..120d84badb 100644 --- a/lib/databasetools/lib/model/update-database-tools-connection-my-sql-details.ts +++ b/lib/databasetools/lib/model/update-database-tools-connection-my-sql-details.ts @@ -25,7 +25,7 @@ export interface UpdateDatabaseToolsConnectionMySqlDetails */ "connectionString"?: string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdDetails; @@ -40,7 +40,7 @@ export interface UpdateDatabaseToolsConnectionMySqlDetails */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN. */ "privateEndpointId"?: string; diff --git a/lib/databasetools/lib/model/update-database-tools-connection-oracle-database-details.ts b/lib/databasetools/lib/model/update-database-tools-connection-oracle-database-details.ts index b3df04c1e7..b3ddc8a110 100644 --- a/lib/databasetools/lib/model/update-database-tools-connection-oracle-database-details.ts +++ b/lib/databasetools/lib/model/update-database-tools-connection-oracle-database-details.ts @@ -40,7 +40,7 @@ export interface UpdateDatabaseToolsConnectionOracleDatabaseDetails */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN. */ "privateEndpointId"?: string; "proxyClient"?: diff --git a/lib/databasetools/lib/model/update-database-tools-connection-postgresql-details.ts b/lib/databasetools/lib/model/update-database-tools-connection-postgresql-details.ts index 83e2c32192..bad012ca70 100644 --- a/lib/databasetools/lib/model/update-database-tools-connection-postgresql-details.ts +++ b/lib/databasetools/lib/model/update-database-tools-connection-postgresql-details.ts @@ -25,7 +25,7 @@ export interface UpdateDatabaseToolsConnectionPostgresqlDetails */ "connectionString"?: string; /** - * The user name. + * The database user name. */ "userName"?: string; "userPassword"?: model.DatabaseToolsUserPasswordSecretIdDetails; @@ -40,7 +40,7 @@ export interface UpdateDatabaseToolsConnectionPostgresqlDetails */ "keyStores"?: Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Tools private endpoint used to access the database in the Customer VCN. */ "privateEndpointId"?: string; diff --git a/lib/databasetools/lib/model/update-database-tools-private-endpoint-details.ts b/lib/databasetools/lib/model/update-database-tools-private-endpoint-details.ts index 050941e4e9..81e1ce40a9 100644 --- a/lib/databasetools/lib/model/update-database-tools-private-endpoint-details.ts +++ b/lib/databasetools/lib/model/update-database-tools-private-endpoint-details.ts @@ -30,6 +30,13 @@ export interface UpdateDatabaseToolsPrivateEndpointDetails { * */ "freeformTags"?: { [key: string]: string }; + /** + * Zero trust Packet Routing (ZPR) Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ diff --git a/lib/databasetools/lib/model/validate-database-tools-connection-oracle-database-result.ts b/lib/databasetools/lib/model/validate-database-tools-connection-oracle-database-result.ts index c8b54b5656..ea258f9356 100644 --- a/lib/databasetools/lib/model/validate-database-tools-connection-oracle-database-result.ts +++ b/lib/databasetools/lib/model/validate-database-tools-connection-oracle-database-result.ts @@ -27,6 +27,10 @@ export interface ValidateDatabaseToolsConnectionOracleDatabaseResult * The database version. */ "databaseVersion": string; + /** + * The DBMS_CLOUD package installation status. + */ + "dbmsCloudStatus": model.DbmsCloudStatus; "type": string; } diff --git a/lib/databasetools/lib/model/work-request-resource.ts b/lib/databasetools/lib/model/work-request-resource.ts index 25ae11d142..1c0bb3883f 100644 --- a/lib/databasetools/lib/model/work-request-resource.ts +++ b/lib/databasetools/lib/model/work-request-resource.ts @@ -31,7 +31,7 @@ export interface WorkRequestResource { */ "actionType": model.ActionType; /** - * The identifier of the resource the work request affects. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource the work request affects. */ "identifier": string; /** diff --git a/lib/databasetools/lib/model/work-request-summary.ts b/lib/databasetools/lib/model/work-request-summary.ts index 13edcbe43c..c278048914 100644 --- a/lib/databasetools/lib/model/work-request-summary.ts +++ b/lib/databasetools/lib/model/work-request-summary.ts @@ -58,6 +58,12 @@ export interface WorkRequestSummary { * */ "timeFinished"?: Date; + /** + * The date and time the work request was last updated, + * in the format defined by RFC3339. + * + */ + "timeUpdated"?: Date; } export namespace WorkRequestSummary { diff --git a/lib/databasetools/lib/model/work-request.ts b/lib/databasetools/lib/model/work-request.ts index 8f69e20fc4..290ba2f1d1 100644 --- a/lib/databasetools/lib/model/work-request.ts +++ b/lib/databasetools/lib/model/work-request.ts @@ -58,6 +58,12 @@ export interface WorkRequest { * */ "timeFinished"?: Date; + /** + * The date and time the work request was last updated, + * in the format defined by RFC3339. + * + */ + "timeUpdated"?: Date; } export namespace WorkRequest { diff --git a/lib/databasetools/lib/request/change-database-tools-connection-compartment-request.ts b/lib/databasetools/lib/request/change-database-tools-connection-compartment-request.ts index 48066314f8..65cd994a0a 100644 --- a/lib/databasetools/lib/request/change-database-tools-connection-compartment-request.ts +++ b/lib/databasetools/lib/request/change-database-tools-connection-compartment-request.ts @@ -23,7 +23,7 @@ export interface ChangeDatabaseToolsConnectionCompartmentRequest extends common. */ "databaseToolsConnectionId": string; /** - * Request to change the compartment of the DatabaseToolsConnection. + * Request to change the compartment of the Database Tools connection. */ "changeDatabaseToolsConnectionCompartmentDetails": model.ChangeDatabaseToolsConnectionCompartmentDetails; /** diff --git a/lib/databasetools/lib/request/change-database-tools-private-endpoint-compartment-request.ts b/lib/databasetools/lib/request/change-database-tools-private-endpoint-compartment-request.ts index 85cf7ae7f5..4da74ab33b 100644 --- a/lib/databasetools/lib/request/change-database-tools-private-endpoint-compartment-request.ts +++ b/lib/databasetools/lib/request/change-database-tools-private-endpoint-compartment-request.ts @@ -23,7 +23,7 @@ export interface ChangeDatabaseToolsPrivateEndpointCompartmentRequest extends co */ "databaseToolsPrivateEndpointId": string; /** - * Request to change the compartment of the DatabaseToolsPrivateEndpoint. + * Request to change the compartment of the Database Tools private endpoint. */ "changeDatabaseToolsPrivateEndpointCompartmentDetails": model.ChangeDatabaseToolsPrivateEndpointCompartmentDetails; /** diff --git a/lib/databasetools/lib/request/create-database-tools-connection-request.ts b/lib/databasetools/lib/request/create-database-tools-connection-request.ts index eb16594e62..ec44ae86b3 100644 --- a/lib/databasetools/lib/request/create-database-tools-connection-request.ts +++ b/lib/databasetools/lib/request/create-database-tools-connection-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateDatabaseToolsConnectionRequest extends common.BaseRequest { /** - * Details for the new {@code DatabaseToolsConnection}. + * Details for the new Database Tools connection. */ "createDatabaseToolsConnectionDetails": | model.CreateDatabaseToolsConnectionGenericJdbcDetails diff --git a/lib/databasetools/lib/request/create-database-tools-private-endpoint-request.ts b/lib/databasetools/lib/request/create-database-tools-private-endpoint-request.ts index 99e310ec46..a5cf54a50f 100644 --- a/lib/databasetools/lib/request/create-database-tools-private-endpoint-request.ts +++ b/lib/databasetools/lib/request/create-database-tools-private-endpoint-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateDatabaseToolsPrivateEndpointRequest extends common.BaseRequest { /** - * Details for the new DatabaseToolsPrivateEndpoint. + * Details for the new Database Tools private endpoint. */ "createDatabaseToolsPrivateEndpointDetails": model.CreateDatabaseToolsPrivateEndpointDetails; /** diff --git a/lib/databasetools/lib/request/get-work-request-request.ts b/lib/databasetools/lib/request/get-work-request-request.ts index da01c33548..d4db353ff6 100644 --- a/lib/databasetools/lib/request/get-work-request-request.ts +++ b/lib/databasetools/lib/request/get-work-request-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GetWorkRequestRequest extends common.BaseRequest { /** - * The ID of the asynchronous request. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request. */ "workRequestId": string; /** diff --git a/lib/databasetools/lib/request/list-database-tools-connections-request.ts b/lib/databasetools/lib/request/list-database-tools-connections-request.ts index c257b9d738..9600939d6b 100644 --- a/lib/databasetools/lib/request/list-database-tools-connections-request.ts +++ b/lib/databasetools/lib/request/list-database-tools-connections-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListDatabaseToolsConnectionsRequest extends common.BaseRequest { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ "compartmentId": string; /** @@ -35,11 +35,11 @@ export interface ListDatabaseToolsConnectionsRequest extends common.BaseRequest */ "type"?: Array; /** - * A filter to return only resources with one of the specified runtimeSupport values. + * A filter to return only resources with one of the specified type values. */ "runtimeSupport"?: Array; /** - * A filter to return only resources associated to the related resource identifier OCID passed in the query string. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource. */ "relatedResourceIdentifier"?: string; /** diff --git a/lib/databasetools/lib/request/list-database-tools-endpoint-services-request.ts b/lib/databasetools/lib/request/list-database-tools-endpoint-services-request.ts index 979a1c10e1..9f403c6bb8 100644 --- a/lib/databasetools/lib/request/list-database-tools-endpoint-services-request.ts +++ b/lib/databasetools/lib/request/list-database-tools-endpoint-services-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListDatabaseToolsEndpointServicesRequest extends common.BaseRequest { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ "compartmentId": string; /** diff --git a/lib/databasetools/lib/request/list-database-tools-private-endpoints-request.ts b/lib/databasetools/lib/request/list-database-tools-private-endpoints-request.ts index 46d7754272..250d18728f 100644 --- a/lib/databasetools/lib/request/list-database-tools-private-endpoints-request.ts +++ b/lib/databasetools/lib/request/list-database-tools-private-endpoints-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListDatabaseToolsPrivateEndpointsRequest extends common.BaseRequest { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ "compartmentId": string; /** diff --git a/lib/databasetools/lib/request/list-work-request-errors-request.ts b/lib/databasetools/lib/request/list-work-request-errors-request.ts index 326566f34f..59cf8247d2 100644 --- a/lib/databasetools/lib/request/list-work-request-errors-request.ts +++ b/lib/databasetools/lib/request/list-work-request-errors-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListWorkRequestErrorsRequest extends common.BaseRequest { /** - * The ID of the asynchronous request. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request. */ "workRequestId": string; /** diff --git a/lib/databasetools/lib/request/list-work-request-logs-request.ts b/lib/databasetools/lib/request/list-work-request-logs-request.ts index d85d612da5..4682d18533 100644 --- a/lib/databasetools/lib/request/list-work-request-logs-request.ts +++ b/lib/databasetools/lib/request/list-work-request-logs-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListWorkRequestLogsRequest extends common.BaseRequest { /** - * The ID of the asynchronous request. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous request. */ "workRequestId": string; /** diff --git a/lib/databasetools/lib/request/list-work-requests-request.ts b/lib/databasetools/lib/request/list-work-requests-request.ts index 7c54668870..be91980d9e 100644 --- a/lib/databasetools/lib/request/list-work-requests-request.ts +++ b/lib/databasetools/lib/request/list-work-requests-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface ListWorkRequestsRequest extends common.BaseRequest { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ "compartmentId": string; /** @@ -51,6 +51,7 @@ export interface ListWorkRequestsRequest extends common.BaseRequest { export namespace ListWorkRequestsRequest { export enum SortBy { - TimeAccepted = "timeAccepted" + TimeAccepted = "timeAccepted", + TimeUpdated = "timeUpdated" } } diff --git a/lib/databasetools/lib/request/validate-database-tools-connection-request.ts b/lib/databasetools/lib/request/validate-database-tools-connection-request.ts index f40a1d6de2..215a800433 100644 --- a/lib/databasetools/lib/request/validate-database-tools-connection-request.ts +++ b/lib/databasetools/lib/request/validate-database-tools-connection-request.ts @@ -23,7 +23,7 @@ export interface ValidateDatabaseToolsConnectionRequest extends common.BaseReque */ "databaseToolsConnectionId": string; /** - * Request to validate a DatabaseToolsConnection. + * Request to validate a Database Tools connection. */ "validateDatabaseToolsConnectionDetails": | model.ValidateDatabaseToolsConnectionPostgresqlDetails diff --git a/lib/databasetools/package.json b/lib/databasetools/package.json index 81a92efcdb..65d1a0a090 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 29dbe8c2b7..a7d4e75c68 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data catalogue Service", "repository": { "type": "git", diff --git a/lib/dataflow/package.json b/lib/dataflow/package.json index 3aaa2fc08e..a5cc215764 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 2b79bfe31a..c9fa54fcd6 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data Integration Service", "repository": { "type": "git", diff --git a/lib/datalabelingservice/package.json b/lib/datalabelingservice/package.json index b463f06af2..496d321c88 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data Labeling Service Service", "repository": { "type": "git", diff --git a/lib/datalabelingservicedataplane/package.json b/lib/datalabelingservicedataplane/package.json index 8bb0b65262..29668e654f 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data Labeling Service Dataplane Service", "repository": { "type": "git", diff --git a/lib/datasafe/package.json b/lib/datasafe/package.json index a2b7dc0ef6..297c68f139 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 4a5655a1fd..eb37a3a6b6 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index 70607c2425..49884c0476 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index 05ced1505f..57c3012bb0 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 2edd46ecbe..40380430ab 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Delegate Access Control Service", "repository": { "type": "git", diff --git a/lib/demandsignal/package.json b/lib/demandsignal/package.json index 40817d6e37..963e04a1f2 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index 18c28a2143..9a54e91f86 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 3f6ae2c10e..abaf34c589 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index ede1be5141..15721ed2f1 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index 29bb387353..10698d8375 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Distributed Database Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index 1210cc1e04..0f1e7f9aa9 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 54b932a910..b92d55c559 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index fbf6bc6ad4..d1ee40e0c8 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Email Data Plane Service", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index 9c629f820b..cebfe62f58 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Em Warehouse Service", "repository": { "type": "git", diff --git a/lib/events/package.json b/lib/events/package.json index 7ad4a8d5b3..88b4a09c2f 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 2d8e442213..bf02b2e4c4 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 5f02b8d4f5..d0e44eb659 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index 960b12bbf3..77a0e325bb 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/lib/model/application-summary.ts b/lib/functions/lib/model/application-summary.ts index 2b31534935..4bade39550 100644 --- a/lib/functions/lib/model/application-summary.ts +++ b/lib/functions/lib/model/application-summary.ts @@ -91,6 +91,14 @@ Example: {@code 2018-09-12T22:47:12.613Z} */ "timeUpdated"?: Date; "imagePolicyConfig"?: model.ImagePolicyConfig; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace ApplicationSummary { diff --git a/lib/functions/lib/model/application.ts b/lib/functions/lib/model/application.ts index 775ffb7e6c..4199211532 100644 --- a/lib/functions/lib/model/application.ts +++ b/lib/functions/lib/model/application.ts @@ -110,6 +110,14 @@ Example: {@code 2018-09-12T22:47:12.613Z} */ "timeUpdated"?: Date; "imagePolicyConfig"?: model.ImagePolicyConfig; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace Application { diff --git a/lib/functions/lib/model/create-application-details.ts b/lib/functions/lib/model/create-application-details.ts index 84c389c44e..c96635a8d1 100644 --- a/lib/functions/lib/model/create-application-details.ts +++ b/lib/functions/lib/model/create-application-details.ts @@ -85,6 +85,14 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; "imagePolicyConfig"?: model.ImagePolicyConfig; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreateApplicationDetails { diff --git a/lib/functions/lib/model/update-application-details.ts b/lib/functions/lib/model/update-application-details.ts index f992cbadbe..62dc48e1b4 100644 --- a/lib/functions/lib/model/update-application-details.ts +++ b/lib/functions/lib/model/update-application-details.ts @@ -61,6 +61,14 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; "imagePolicyConfig"?: model.ImagePolicyConfig; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateApplicationDetails { diff --git a/lib/functions/package.json b/lib/functions/package.json index 344afc6274..33cd0275de 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 2502eb3c5f..d98e0f3bf5 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index 6345dfb720..f7ef60b880 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index ea466cb905..d3939ac9bf 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Generative Ai Agent Service", "repository": { "type": "git", diff --git a/lib/generativeaiagentruntime/package.json b/lib/generativeaiagentruntime/package.json index a5f43fd16c..7eaf5b2063 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index 603d4208f3..6768b00a9d 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Generative Ai Inference Service", "repository": { "type": "git", diff --git a/lib/genericartifactscontent/package.json b/lib/genericartifactscontent/package.json index 7c2575a29e..0d108eb397 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Generic Artifacts Content Service", "repository": { "type": "git", diff --git a/lib/globallydistributeddatabase/package.json b/lib/globallydistributeddatabase/package.json index 949e07324b..2a5da6195b 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/lib/client.ts b/lib/goldengate/lib/client.ts index d5a3c6953b..33e385559a 100644 --- a/lib/goldengate/lib/client.ts +++ b/lib/goldengate/lib/client.ts @@ -894,6 +894,87 @@ export class GoldenGateClient { } } + /** + * Associate a GoldanGate connection with a different subscription. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeConnectionSubscriptionRequest + * @return ChangeConnectionSubscriptionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeConnectionSubscription.ts.html |here} to see how to use ChangeConnectionSubscription API. + */ + public async changeConnectionSubscription( + changeConnectionSubscriptionRequest: requests.ChangeConnectionSubscriptionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GoldenGateClient#changeConnectionSubscription."); + const operationName = "changeConnectionSubscription"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Connection/ChangeConnectionSubscription"; + const pathParams = { + "{connectionId}": changeConnectionSubscriptionRequest.connectionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeConnectionSubscriptionRequest.opcRetryToken, + "opc-request-id": changeConnectionSubscriptionRequest.opcRequestId, + "if-match": changeConnectionSubscriptionRequest.ifMatch + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeConnectionSubscriptionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/connections/{connectionId}/actions/changeSubscription", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeConnectionSubscriptionRequest.changeConnectionSubscriptionDetails, + "ChangeConnectionSubscriptionDetails", + model.ChangeConnectionSubscriptionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Note: Deprecated. Use the /connections API instead. * Moves the DatabaseRegistration into a different compartment within the same tenancy. When @@ -1154,6 +1235,87 @@ export class GoldenGateClient { } } + /** + * Associate a GoldanGate deployment with a different subscription. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeDeploymentSubscriptionRequest + * @return ChangeDeploymentSubscriptionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeDeploymentSubscription.ts.html |here} to see how to use ChangeDeploymentSubscription API. + */ + public async changeDeploymentSubscription( + changeDeploymentSubscriptionRequest: requests.ChangeDeploymentSubscriptionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GoldenGateClient#changeDeploymentSubscription."); + const operationName = "changeDeploymentSubscription"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/ChangeDeploymentSubscription"; + const pathParams = { + "{deploymentId}": changeDeploymentSubscriptionRequest.deploymentId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeDeploymentSubscriptionRequest.opcRetryToken, + "opc-request-id": changeDeploymentSubscriptionRequest.opcRequestId, + "if-match": changeDeploymentSubscriptionRequest.ifMatch + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeDeploymentSubscriptionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/deployments/{deploymentId}/actions/changeSubscription", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeDeploymentSubscriptionRequest.changeDeploymentSubscriptionDetails, + "ChangeDeploymentSubscriptionDetails", + model.ChangeDeploymentSubscriptionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves the Pipeline into a different compartment within the same tenancy. When * provided, If-Match is checked against ETag values of the resource. For information about diff --git a/lib/goldengate/lib/model/change-connection-subscription-details.ts b/lib/goldengate/lib/model/change-connection-subscription-details.ts new file mode 100644 index 0000000000..c614f46541 --- /dev/null +++ b/lib/goldengate/lib/model/change-connection-subscription-details.ts @@ -0,0 +1,45 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for associating the GoldenGate connection resource with a different subscription. + * + */ +export interface ChangeConnectionSubscriptionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * Indicates if the subscription is UCM or not. + * + */ + "isDefault"?: boolean; +} + +export namespace ChangeConnectionSubscriptionDetails { + export function getJsonObj(obj: ChangeConnectionSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeConnectionSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/change-deployment-subscription-details.ts b/lib/goldengate/lib/model/change-deployment-subscription-details.ts new file mode 100644 index 0000000000..749d6be615 --- /dev/null +++ b/lib/goldengate/lib/model/change-deployment-subscription-details.ts @@ -0,0 +1,45 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for associating the GoldenGate deployment resource with a different subscription. + * + */ +export interface ChangeDeploymentSubscriptionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * Indicates if the subscription is UCM or not. + * + */ + "isDefault"?: boolean; +} + +export namespace ChangeDeploymentSubscriptionDetails { + export function getJsonObj(obj: ChangeDeploymentSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeDeploymentSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/change-subscription-details.ts b/lib/goldengate/lib/model/change-subscription-details.ts new file mode 100644 index 0000000000..d912cd9fe1 --- /dev/null +++ b/lib/goldengate/lib/model/change-subscription-details.ts @@ -0,0 +1,45 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for associating the resource with a different subscription. + * + */ +export interface ChangeSubscriptionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * Indicates if the subscription is UCM or not. + * + */ + "isDefault"?: boolean; +} + +export namespace ChangeSubscriptionDetails { + export function getJsonObj(obj: ChangeSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeSubscriptionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/connection-summary.ts b/lib/goldengate/lib/model/connection-summary.ts index 2daa7bbea5..1beb1690cc 100644 --- a/lib/goldengate/lib/model/connection-summary.ts +++ b/lib/goldengate/lib/model/connection-summary.ts @@ -134,6 +134,25 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "doesUseSecretIds"?: boolean; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "connectionType": string; } @@ -194,6 +213,11 @@ export namespace ConnectionSummary { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.OracleAiDataPlatformConnectionSummary.getJsonObj( + (jsonObj), + true + ); case "MONGODB": return model.MongoDbConnectionSummary.getJsonObj( (jsonObj), @@ -360,6 +384,11 @@ export namespace ConnectionSummary { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.OracleAiDataPlatformConnectionSummary.getDeserializedJsonObj( + (jsonObj), + true + ); case "MONGODB": return model.MongoDbConnectionSummary.getDeserializedJsonObj( (jsonObj), diff --git a/lib/goldengate/lib/model/connection-type.ts b/lib/goldengate/lib/model/connection-type.ts index 9ce9dbb2c2..e60de10a63 100644 --- a/lib/goldengate/lib/model/connection-type.ts +++ b/lib/goldengate/lib/model/connection-type.ts @@ -34,6 +34,7 @@ export enum ConnectionType { Snowflake = "SNOWFLAKE", AmazonS3 = "AMAZON_S3", Hdfs = "HDFS", + OracleAiDataPlatform = "ORACLE_AI_DATA_PLATFORM", OracleNosql = "ORACLE_NOSQL", Mongodb = "MONGODB", AmazonKinesis = "AMAZON_KINESIS", diff --git a/lib/goldengate/lib/model/connection.ts b/lib/goldengate/lib/model/connection.ts index 651fa0c600..5bcd4802a5 100644 --- a/lib/goldengate/lib/model/connection.ts +++ b/lib/goldengate/lib/model/connection.ts @@ -134,6 +134,25 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "doesUseSecretIds"?: boolean; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "connectionType": string; } @@ -273,6 +292,11 @@ export namespace Connection { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.OracleAiDataPlatformConnection.getJsonObj( + (jsonObj), + true + ); case "KAFKA_SCHEMA_REGISTRY": return model.KafkaSchemaRegistryConnection.getJsonObj( (jsonObj), @@ -436,6 +460,11 @@ export namespace Connection { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.OracleAiDataPlatformConnection.getDeserializedJsonObj( + (jsonObj), + true + ); case "KAFKA_SCHEMA_REGISTRY": return model.KafkaSchemaRegistryConnection.getDeserializedJsonObj( (jsonObj), diff --git a/lib/goldengate/lib/model/create-connection-details.ts b/lib/goldengate/lib/model/create-connection-details.ts index 27d1399b78..dd812f5c7e 100644 --- a/lib/goldengate/lib/model/create-connection-details.ts +++ b/lib/goldengate/lib/model/create-connection-details.ts @@ -90,6 +90,25 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "doesUseSecretIds"?: boolean; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "connectionType": string; } @@ -194,6 +213,11 @@ export namespace CreateConnectionDetails { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.CreateOracleAiDataPlatformConnectionDetails.getJsonObj( + (jsonObj), + true + ); case "AMAZON_S3": return model.CreateAmazonS3ConnectionDetails.getJsonObj( (jsonObj), @@ -354,6 +378,11 @@ export namespace CreateConnectionDetails { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.CreateOracleAiDataPlatformConnectionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "AMAZON_S3": return model.CreateAmazonS3ConnectionDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/goldengate/lib/model/create-deployment-details.ts b/lib/goldengate/lib/model/create-deployment-details.ts index 824ea5abc5..43181a9db7 100644 --- a/lib/goldengate/lib/model/create-deployment-details.ts +++ b/lib/goldengate/lib/model/create-deployment-details.ts @@ -145,6 +145,25 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "deploymentType"?: model.DeploymentType; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "oggData"?: model.CreateOggDeploymentDetails; "maintenanceWindow"?: model.CreateMaintenanceWindowDetails; "maintenanceConfiguration"?: model.CreateMaintenanceConfigurationDetails; diff --git a/lib/goldengate/lib/model/create-kafka-connection-details.ts b/lib/goldengate/lib/model/create-kafka-connection-details.ts index 97fe16d969..ef526664e7 100644 --- a/lib/goldengate/lib/model/create-kafka-connection-details.ts +++ b/lib/goldengate/lib/model/create-kafka-connection-details.ts @@ -30,6 +30,12 @@ export interface CreateKafkaConnectionDetails extends model.CreateConnectionDeta * */ "streamPoolId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Kafka cluster + * being referenced from OCI Streaming with Apache Kafka. + * + */ + "clusterId"?: string; /** * Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: * list of KafkaBootstrapServer objects specified by host/port. @@ -137,6 +143,15 @@ export interface CreateKafkaConnectionDetails extends model.CreateConnectionDeta * */ "producerProperties"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Applicable only for OCI Streaming connections. + * Only available from 23.9.0.0.0 GoldenGate versions. + * Note: When specified, 'username'/'password'/'passwordSecretId' fields must not be provided. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; "connectionType": string; } diff --git a/lib/goldengate/lib/model/create-oracle-ai-data-platform-connection-details.ts b/lib/goldengate/lib/model/create-oracle-ai-data-platform-connection-details.ts new file mode 100644 index 0000000000..d534b3a64b --- /dev/null +++ b/lib/goldengate/lib/model/create-oracle-ai-data-platform-connection-details.ts @@ -0,0 +1,112 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about a new Oracle AI Data Platform Connection. + * + */ +export interface CreateOracleAiDataPlatformConnectionDetails extends model.CreateConnectionDetails { + /** + * The Oracle AI Data Platform technology type. + */ + "technologyType": string; + /** + * Connection URL. + * It must start with 'jdbc:spark://' + * + */ + "connectionUrl": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related OCI tenancy. + * + */ + "tenancyId"?: string; + /** + * The name of the region. e.g.: us-ashburn-1 + * If the region is not provided, backend will default to the default region. + * + */ + "region"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OCI user who will access the Object Storage. + * The user must have write access to the bucket they want to connect to. + * If the user is not provided, backend will default to the user who is calling the API endpoint. + * + */ + "userId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * Note: When provided, 'privateKeyFile' field must not be provided. + * + */ + "privateKeyFileSecretId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the passphrase of the private key. + * Note: When provided, 'privateKeyPassphrase' field must not be provided. + * + */ + "privateKeyPassphraseSecretId"?: string; + /** + * The fingerprint of the API Key of the user specified by the userId. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + */ + "publicKeyFingerprint"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; + + "connectionType": string; +} + +export namespace CreateOracleAiDataPlatformConnectionDetails { + export function getJsonObj( + obj: CreateOracleAiDataPlatformConnectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateConnectionDetails.getJsonObj( + obj + ) as CreateOracleAiDataPlatformConnectionDetails)), + ...{} + }; + + return jsonObj; + } + export const connectionType = "ORACLE_AI_DATA_PLATFORM"; + export function getDeserializedJsonObj( + obj: CreateOracleAiDataPlatformConnectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateConnectionDetails.getDeserializedJsonObj( + obj + ) as CreateOracleAiDataPlatformConnectionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/deployment-peer-summary.ts b/lib/goldengate/lib/model/deployment-peer-summary.ts index fd3561e8b7..bbd48adf2b 100644 --- a/lib/goldengate/lib/model/deployment-peer-summary.ts +++ b/lib/goldengate/lib/model/deployment-peer-summary.ts @@ -78,6 +78,17 @@ export interface DeploymentPeerSummary { * */ "timeLastSynced"?: Date; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; /** * Possible lifecycle states for deployment peer. */ diff --git a/lib/goldengate/lib/model/deployment-summary.ts b/lib/goldengate/lib/model/deployment-summary.ts index 384342a3a1..88d512f9ee 100644 --- a/lib/goldengate/lib/model/deployment-summary.ts +++ b/lib/goldengate/lib/model/deployment-summary.ts @@ -210,6 +210,25 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "isStorageUtilizationLimitExceeded"?: boolean; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Locks associated with this resource. */ diff --git a/lib/goldengate/lib/model/deployment-type-summary.ts b/lib/goldengate/lib/model/deployment-type-summary.ts index 34987aff8b..a1624fb1bf 100644 --- a/lib/goldengate/lib/model/deployment-type-summary.ts +++ b/lib/goldengate/lib/model/deployment-type-summary.ts @@ -98,6 +98,7 @@ export namespace DeploymentTypeSummary { Snowflake = "SNOWFLAKE", AmazonS3 = "AMAZON_S3", Hdfs = "HDFS", + OracleAiDataPlatform = "ORACLE_AI_DATA_PLATFORM", OracleNosql = "ORACLE_NOSQL", Mongodb = "MONGODB", AmazonKinesis = "AMAZON_KINESIS", diff --git a/lib/goldengate/lib/model/deployment.ts b/lib/goldengate/lib/model/deployment.ts index 89da750d59..ee77e09fcb 100644 --- a/lib/goldengate/lib/model/deployment.ts +++ b/lib/goldengate/lib/model/deployment.ts @@ -303,6 +303,25 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "ingressIps"?: Array; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + */ + "subscriptionId"?: string; + /** + * The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. + * Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud + * subscription id is provided. Otherwise the cluster placement group must not be provided. + * + */ + "clusterPlacementGroupId"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace Deployment { diff --git a/lib/goldengate/lib/model/index.ts b/lib/goldengate/lib/model/index.ts index 1059478c3a..f72dedd075 100644 --- a/lib/goldengate/lib/model/index.ts +++ b/lib/goldengate/lib/model/index.ts @@ -42,14 +42,20 @@ import * as CertificateSummary from "./certificate-summary"; export import CertificateSummary = CertificateSummary.CertificateSummary; import * as ChangeConnectionCompartmentDetails from "./change-connection-compartment-details"; export import ChangeConnectionCompartmentDetails = ChangeConnectionCompartmentDetails.ChangeConnectionCompartmentDetails; +import * as ChangeConnectionSubscriptionDetails from "./change-connection-subscription-details"; +export import ChangeConnectionSubscriptionDetails = ChangeConnectionSubscriptionDetails.ChangeConnectionSubscriptionDetails; import * as ChangeDatabaseRegistrationCompartmentDetails from "./change-database-registration-compartment-details"; export import ChangeDatabaseRegistrationCompartmentDetails = ChangeDatabaseRegistrationCompartmentDetails.ChangeDatabaseRegistrationCompartmentDetails; import * as ChangeDeploymentBackupCompartmentDetails from "./change-deployment-backup-compartment-details"; export import ChangeDeploymentBackupCompartmentDetails = ChangeDeploymentBackupCompartmentDetails.ChangeDeploymentBackupCompartmentDetails; import * as ChangeDeploymentCompartmentDetails from "./change-deployment-compartment-details"; export import ChangeDeploymentCompartmentDetails = ChangeDeploymentCompartmentDetails.ChangeDeploymentCompartmentDetails; +import * as ChangeDeploymentSubscriptionDetails from "./change-deployment-subscription-details"; +export import ChangeDeploymentSubscriptionDetails = ChangeDeploymentSubscriptionDetails.ChangeDeploymentSubscriptionDetails; import * as ChangePipelineCompartmentDetails from "./change-pipeline-compartment-details"; export import ChangePipelineCompartmentDetails = ChangePipelineCompartmentDetails.ChangePipelineCompartmentDetails; +import * as ChangeSubscriptionDetails from "./change-subscription-details"; +export import ChangeSubscriptionDetails = ChangeSubscriptionDetails.ChangeSubscriptionDetails; import * as CollectDeploymentDiagnosticDetails from "./collect-deployment-diagnostic-details"; export import CollectDeploymentDiagnosticDetails = CollectDeploymentDiagnosticDetails.CollectDeploymentDiagnosticDetails; import * as CollectPipelineDiagnosticDetails from "./collect-pipeline-diagnostic-details"; @@ -499,6 +505,8 @@ import * as CreateNessieIcebergCatalogDetails from "./create-nessie-iceberg-cata export import CreateNessieIcebergCatalogDetails = CreateNessieIcebergCatalogDetails.CreateNessieIcebergCatalogDetails; import * as CreateOciObjectStorageConnectionDetails from "./create-oci-object-storage-connection-details"; export import CreateOciObjectStorageConnectionDetails = CreateOciObjectStorageConnectionDetails.CreateOciObjectStorageConnectionDetails; +import * as CreateOracleAiDataPlatformConnectionDetails from "./create-oracle-ai-data-platform-connection-details"; +export import CreateOracleAiDataPlatformConnectionDetails = CreateOracleAiDataPlatformConnectionDetails.CreateOracleAiDataPlatformConnectionDetails; import * as CreateOracleConnectionDetails from "./create-oracle-connection-details"; export import CreateOracleConnectionDetails = CreateOracleConnectionDetails.CreateOracleConnectionDetails; import * as CreateOracleNosqlConnectionDetails from "./create-oracle-nosql-connection-details"; @@ -635,6 +643,10 @@ import * as OciObjectStorageConnection from "./oci-object-storage-connection"; export import OciObjectStorageConnection = OciObjectStorageConnection.OciObjectStorageConnection; import * as OciObjectStorageConnectionSummary from "./oci-object-storage-connection-summary"; export import OciObjectStorageConnectionSummary = OciObjectStorageConnectionSummary.OciObjectStorageConnectionSummary; +import * as OracleAiDataPlatformConnection from "./oracle-ai-data-platform-connection"; +export import OracleAiDataPlatformConnection = OracleAiDataPlatformConnection.OracleAiDataPlatformConnection; +import * as OracleAiDataPlatformConnectionSummary from "./oracle-ai-data-platform-connection-summary"; +export import OracleAiDataPlatformConnectionSummary = OracleAiDataPlatformConnectionSummary.OracleAiDataPlatformConnectionSummary; import * as OracleConnection from "./oracle-connection"; export import OracleConnection = OracleConnection.OracleConnection; import * as OracleConnectionSummary from "./oracle-connection-summary"; @@ -723,6 +735,8 @@ import * as UpdateNessieIcebergCatalogDetails from "./update-nessie-iceberg-cata export import UpdateNessieIcebergCatalogDetails = UpdateNessieIcebergCatalogDetails.UpdateNessieIcebergCatalogDetails; import * as UpdateOciObjectStorageConnectionDetails from "./update-oci-object-storage-connection-details"; export import UpdateOciObjectStorageConnectionDetails = UpdateOciObjectStorageConnectionDetails.UpdateOciObjectStorageConnectionDetails; +import * as UpdateOracleAiDataPlatformConnectionDetails from "./update-oracle-ai-data-platform-connection-details"; +export import UpdateOracleAiDataPlatformConnectionDetails = UpdateOracleAiDataPlatformConnectionDetails.UpdateOracleAiDataPlatformConnectionDetails; import * as UpdateOracleConnectionDetails from "./update-oracle-connection-details"; export import UpdateOracleConnectionDetails = UpdateOracleConnectionDetails.UpdateOracleConnectionDetails; import * as UpdateOracleNosqlConnectionDetails from "./update-oracle-nosql-connection-details"; diff --git a/lib/goldengate/lib/model/kafka-connection-summary.ts b/lib/goldengate/lib/model/kafka-connection-summary.ts index 1217924a3b..970f84a402 100644 --- a/lib/goldengate/lib/model/kafka-connection-summary.ts +++ b/lib/goldengate/lib/model/kafka-connection-summary.ts @@ -30,6 +30,12 @@ export interface KafkaConnectionSummary extends model.ConnectionSummary { * */ "streamPoolId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Kafka cluster + * being referenced from OCI Streaming with Apache Kafka. + * + */ + "clusterId"?: string; /** * Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: * list of KafkaBootstrapServer objects specified by host/port. @@ -89,6 +95,15 @@ export interface KafkaConnectionSummary extends model.ConnectionSummary { * */ "sslKeyPasswordSecretId"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Applicable only for OCI Streaming connections. + * Only available from 23.9.0.0.0 GoldenGate versions. + * Note: When specified, 'username'/'password'/'passwordSecretId' fields must not be provided. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; "connectionType": string; } diff --git a/lib/goldengate/lib/model/kafka-connection.ts b/lib/goldengate/lib/model/kafka-connection.ts index abfd578b2a..7adab99f9b 100644 --- a/lib/goldengate/lib/model/kafka-connection.ts +++ b/lib/goldengate/lib/model/kafka-connection.ts @@ -30,6 +30,12 @@ export interface KafkaConnection extends model.Connection { * */ "streamPoolId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Kafka cluster + * being referenced from OCI Streaming with Apache Kafka. + * + */ + "clusterId"?: string; /** * Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: * list of KafkaBootstrapServer objects specified by host/port. @@ -99,6 +105,15 @@ export interface KafkaConnection extends model.Connection { * */ "producerProperties"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Applicable only for OCI Streaming connections. + * Only available from 23.9.0.0.0 GoldenGate versions. + * Note: When specified, 'username'/'password'/'passwordSecretId' fields must not be provided. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; "connectionType": string; } @@ -109,6 +124,7 @@ export namespace KafkaConnection { AzureEventHubs = "AZURE_EVENT_HUBS", ConfluentKafka = "CONFLUENT_KAFKA", OciStreaming = "OCI_STREAMING", + OciStreamingWithApacheKafka = "OCI_STREAMING_WITH_APACHE_KAFKA", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/goldengate/lib/model/oracle-ai-data-platform-connection-summary.ts b/lib/goldengate/lib/model/oracle-ai-data-platform-connection-summary.ts new file mode 100644 index 0000000000..5799f5d848 --- /dev/null +++ b/lib/goldengate/lib/model/oracle-ai-data-platform-connection-summary.ts @@ -0,0 +1,110 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Oracle AI Data Platform Connection. + * + */ +export interface OracleAiDataPlatformConnectionSummary extends model.ConnectionSummary { + /** + * The Oracle AI Data Platform technology type. + */ + "technologyType": string; + /** + * Connection URL. + * It must start with 'jdbc:spark://' + * + */ + "connectionUrl": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related OCI tenancy. + * + */ + "tenancyId"?: string; + /** + * The name of the region. e.g.: us-ashburn-1 + * If the region is not provided, backend will default to the default region. + * + */ + "region"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OCI user who will access the Object Storage. + * The user must have write access to the bucket they want to connect to. + * If the user is not provided, backend will default to the user who is calling the API endpoint. + * + */ + "userId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * Note: When provided, 'privateKeyFile' field must not be provided. + * + */ + "privateKeyFileSecretId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the passphrase of the private key. + * Note: When provided, 'privateKeyPassphrase' field must not be provided. + * + */ + "privateKeyPassphraseSecretId"?: string; + /** + * The fingerprint of the API Key of the user specified by the userId. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + */ + "publicKeyFingerprint"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; + + "connectionType": string; +} + +export namespace OracleAiDataPlatformConnectionSummary { + export function getJsonObj( + obj: OracleAiDataPlatformConnectionSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConnectionSummary.getJsonObj(obj) as OracleAiDataPlatformConnectionSummary)), + ...{} + }; + + return jsonObj; + } + export const connectionType = "ORACLE_AI_DATA_PLATFORM"; + export function getDeserializedJsonObj( + obj: OracleAiDataPlatformConnectionSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConnectionSummary.getDeserializedJsonObj( + obj + ) as OracleAiDataPlatformConnectionSummary)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/oracle-ai-data-platform-connection.ts b/lib/goldengate/lib/model/oracle-ai-data-platform-connection.ts new file mode 100644 index 0000000000..2292718587 --- /dev/null +++ b/lib/goldengate/lib/model/oracle-ai-data-platform-connection.ts @@ -0,0 +1,117 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Represents the metadata of an Oracle AI Data Platform Connection. + * + */ +export interface OracleAiDataPlatformConnection extends model.Connection { + /** + * The Oracle AI Data Platform technology type. + */ + "technologyType": OracleAiDataPlatformConnection.TechnologyType; + /** + * Connection URL. + * It must start with 'jdbc:spark://' + * + */ + "connectionUrl": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related OCI tenancy. + * + */ + "tenancyId"?: string; + /** + * The name of the region. e.g.: us-ashburn-1 + * If the region is not provided, backend will default to the default region. + * + */ + "region"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OCI user who will access the Object Storage. + * The user must have write access to the bucket they want to connect to. + * If the user is not provided, backend will default to the user who is calling the API endpoint. + * + */ + "userId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * Note: When provided, 'privateKeyFile' field must not be provided. + * + */ + "privateKeyFileSecretId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the passphrase of the private key. + * Note: When provided, 'privateKeyPassphrase' field must not be provided. + * + */ + "privateKeyPassphraseSecretId"?: string; + /** + * The fingerprint of the API Key of the user specified by the userId. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + */ + "publicKeyFingerprint"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; + + "connectionType": string; +} + +export namespace OracleAiDataPlatformConnection { + export enum TechnologyType { + OracleAiDataPlatform = "ORACLE_AI_DATA_PLATFORM", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj( + obj: OracleAiDataPlatformConnection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.Connection.getJsonObj(obj) as OracleAiDataPlatformConnection)), + ...{} + }; + + return jsonObj; + } + export const connectionType = "ORACLE_AI_DATA_PLATFORM"; + export function getDeserializedJsonObj( + obj: OracleAiDataPlatformConnection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.Connection.getDeserializedJsonObj(obj) as OracleAiDataPlatformConnection)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/technology-type.ts b/lib/goldengate/lib/model/technology-type.ts index 01bae57030..c60d570196 100644 --- a/lib/goldengate/lib/model/technology-type.ts +++ b/lib/goldengate/lib/model/technology-type.ts @@ -29,6 +29,7 @@ export enum TechnologyType { OciObjectStorage = "OCI_OBJECT_STORAGE", OciPostgresql = "OCI_POSTGRESQL", OciStreaming = "OCI_STREAMING", + OciStreamingWithApacheKafka = "OCI_STREAMING_WITH_APACHE_KAFKA", OracleDatabase = "ORACLE_DATABASE", OracleExadata = "ORACLE_EXADATA", OracleExadataDatabaseAtAzure = "ORACLE_EXADATA_DATABASE_AT_AZURE", @@ -38,6 +39,7 @@ export enum TechnologyType { OracleAutonomousDatabaseAtGoogleCloud = "ORACLE_AUTONOMOUS_DATABASE_AT_GOOGLE_CLOUD", OracleExadataDatabaseAtAws = "ORACLE_EXADATA_DATABASE_AT_AWS", OracleAutonomousDatabaseAtAws = "ORACLE_AUTONOMOUS_DATABASE_AT_AWS", + OracleAiDataPlatform = "ORACLE_AI_DATA_PLATFORM", OracleNosql = "ORACLE_NOSQL", OracleRestDataServices = "ORACLE_REST_DATA_SERVICES", OracleWeblogicJms = "ORACLE_WEBLOGIC_JMS", diff --git a/lib/goldengate/lib/model/update-connection-details.ts b/lib/goldengate/lib/model/update-connection-details.ts index 3092750298..32b5bea079 100644 --- a/lib/goldengate/lib/model/update-connection-details.ts +++ b/lib/goldengate/lib/model/update-connection-details.ts @@ -81,6 +81,14 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "doesUseSecretIds"?: boolean; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "connectionType": string; } @@ -131,6 +139,11 @@ export namespace UpdateConnectionDetails { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.UpdateOracleAiDataPlatformConnectionDetails.getJsonObj( + (jsonObj), + true + ); case "MICROSOFT_FABRIC": return model.UpdateMicrosoftFabricConnectionDetails.getJsonObj( (jsonObj), @@ -282,6 +295,11 @@ export namespace UpdateConnectionDetails { (jsonObj), true ); + case "ORACLE_AI_DATA_PLATFORM": + return model.UpdateOracleAiDataPlatformConnectionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "MICROSOFT_FABRIC": return model.UpdateMicrosoftFabricConnectionDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/goldengate/lib/model/update-deployment-details.ts b/lib/goldengate/lib/model/update-deployment-details.ts index eb7a1e3abe..3abb50f3c2 100644 --- a/lib/goldengate/lib/model/update-deployment-details.ts +++ b/lib/goldengate/lib/model/update-deployment-details.ts @@ -111,6 +111,14 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "placements"?: Array; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "oggData"?: model.UpdateOggDeploymentDetails; "maintenanceWindow"?: model.UpdateMaintenanceWindowDetails; "maintenanceConfiguration"?: model.UpdateMaintenanceConfigurationDetails; @@ -127,6 +135,7 @@ export namespace UpdateDeploymentDetails { return model.DeploymentPlacementDetails.getJsonObj(item); }) : undefined, + "oggData": obj.oggData ? model.UpdateOggDeploymentDetails.getJsonObj(obj.oggData) : undefined, @@ -153,6 +162,7 @@ export namespace UpdateDeploymentDetails { return model.DeploymentPlacementDetails.getDeserializedJsonObj(item); }) : undefined, + "oggData": obj.oggData ? model.UpdateOggDeploymentDetails.getDeserializedJsonObj(obj.oggData) : undefined, diff --git a/lib/goldengate/lib/model/update-kafka-connection-details.ts b/lib/goldengate/lib/model/update-kafka-connection-details.ts index 61bdbba551..788f840aad 100644 --- a/lib/goldengate/lib/model/update-kafka-connection-details.ts +++ b/lib/goldengate/lib/model/update-kafka-connection-details.ts @@ -25,6 +25,12 @@ export interface UpdateKafkaConnectionDetails extends model.UpdateConnectionDeta * */ "streamPoolId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Kafka cluster + * being referenced from OCI Streaming with Apache Kafka. + * + */ + "clusterId"?: string; /** * Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: * list of KafkaBootstrapServer objects specified by host/port. @@ -132,6 +138,15 @@ export interface UpdateKafkaConnectionDetails extends model.UpdateConnectionDeta * */ "producerProperties"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Applicable only for OCI Streaming connections. + * Only available from 23.9.0.0.0 GoldenGate versions. + * Note: When specified, 'username'/'password'/'passwordSecretId' fields must not be provided. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; "connectionType": string; } diff --git a/lib/goldengate/lib/model/update-oracle-ai-data-platform-connection-details.ts b/lib/goldengate/lib/model/update-oracle-ai-data-platform-connection-details.ts new file mode 100644 index 0000000000..54e21e0520 --- /dev/null +++ b/lib/goldengate/lib/model/update-oracle-ai-data-platform-connection-details.ts @@ -0,0 +1,108 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to update a Oracle AI Data Platform Connection. + * + */ +export interface UpdateOracleAiDataPlatformConnectionDetails extends model.UpdateConnectionDetails { + /** + * Connection URL. + * It must start with 'jdbc:spark://' + * + */ + "connectionUrl"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related OCI tenancy. + * + */ + "tenancyId"?: string; + /** + * The name of the region. e.g.: us-ashburn-1 + * If the region is not provided, backend will default to the default region. + * + */ + "region"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OCI user who will access the Object Storage. + * The user must have write access to the bucket they want to connect to. + * If the user is not provided, backend will default to the user who is calling the API endpoint. + * + */ + "userId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * Note: When provided, 'privateKeyFile' field must not be provided. + * + */ + "privateKeyFileSecretId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the passphrase of the private key. + * Note: When provided, 'privateKeyPassphrase' field must not be provided. + * + */ + "privateKeyPassphraseSecretId"?: string; + /** + * The fingerprint of the API Key of the user specified by the userId. + * See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm + * + */ + "publicKeyFingerprint"?: string; + /** + * Specifies that the user intends to authenticate to the instance using a resource principal. + * Default: false + * + */ + "shouldUseResourcePrincipal"?: boolean; + + "connectionType": string; +} + +export namespace UpdateOracleAiDataPlatformConnectionDetails { + export function getJsonObj( + obj: UpdateOracleAiDataPlatformConnectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateConnectionDetails.getJsonObj( + obj + ) as UpdateOracleAiDataPlatformConnectionDetails)), + ...{} + }; + + return jsonObj; + } + export const connectionType = "ORACLE_AI_DATA_PLATFORM"; + export function getDeserializedJsonObj( + obj: UpdateOracleAiDataPlatformConnectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateConnectionDetails.getDeserializedJsonObj( + obj + ) as UpdateOracleAiDataPlatformConnectionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/request/change-connection-subscription-request.ts b/lib/goldengate/lib/request/change-connection-subscription-request.ts new file mode 100644 index 0000000000..8f45f1d845 --- /dev/null +++ b/lib/goldengate/lib/request/change-connection-subscription-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeConnectionSubscription.ts.html |here} to see how to use ChangeConnectionSubscriptionRequest. + */ +export interface ChangeConnectionSubscriptionRequest extends common.BaseRequest { + /** + * Associate a GoldenGate connection with a different subscription. + * + */ + "changeConnectionSubscriptionDetails": model.ChangeConnectionSubscriptionDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Connection. + * + */ + "connectionId": string; + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, + * without the risk of executing that same action again. Retry tokens expire after 24 hours but can be + * invalidated before then due to conflicting operations. For example, if a resource was deleted and purged + * from the system, then a retry of the original creation request is rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/goldengate/lib/request/change-deployment-subscription-request.ts b/lib/goldengate/lib/request/change-deployment-subscription-request.ts new file mode 100644 index 0000000000..752dbe32ee --- /dev/null +++ b/lib/goldengate/lib/request/change-deployment-subscription-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/ChangeDeploymentSubscription.ts.html |here} to see how to use ChangeDeploymentSubscriptionRequest. + */ +export interface ChangeDeploymentSubscriptionRequest extends common.BaseRequest { + /** + * Associate a GoldenGate deployment with a different subscription. + * + */ + "changeDeploymentSubscriptionDetails": model.ChangeDeploymentSubscriptionDetails; + /** + * A unique Deployment identifier. + * + */ + "deploymentId": string; + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, + * without the risk of executing that same action again. Retry tokens expire after 24 hours but can be + * invalidated before then due to conflicting operations. For example, if a resource was deleted and purged + * from the system, then a retry of the original creation request is rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/goldengate/lib/request/create-connection-request.ts b/lib/goldengate/lib/request/create-connection-request.ts index a5e06ce1d7..3e4dc0d9e4 100644 --- a/lib/goldengate/lib/request/create-connection-request.ts +++ b/lib/goldengate/lib/request/create-connection-request.ts @@ -40,6 +40,7 @@ export interface CreateConnectionRequest extends common.BaseRequest { | model.CreateGoogleBigQueryConnectionDetails | model.CreateSnowflakeConnectionDetails | model.CreateMongoDbConnectionDetails + | model.CreateOracleAiDataPlatformConnectionDetails | model.CreateAmazonS3ConnectionDetails | model.CreateDatabricksConnectionDetails | model.CreateDb2ConnectionDetails diff --git a/lib/goldengate/lib/request/index.ts b/lib/goldengate/lib/request/index.ts index 439351f12c..5185ae3961 100644 --- a/lib/goldengate/lib/request/index.ts +++ b/lib/goldengate/lib/request/index.ts @@ -28,12 +28,16 @@ import * as CancelSnoozeDeploymentUpgradeRequest from "./cancel-snooze-deploymen export import CancelSnoozeDeploymentUpgradeRequest = CancelSnoozeDeploymentUpgradeRequest.CancelSnoozeDeploymentUpgradeRequest; import * as ChangeConnectionCompartmentRequest from "./change-connection-compartment-request"; export import ChangeConnectionCompartmentRequest = ChangeConnectionCompartmentRequest.ChangeConnectionCompartmentRequest; +import * as ChangeConnectionSubscriptionRequest from "./change-connection-subscription-request"; +export import ChangeConnectionSubscriptionRequest = ChangeConnectionSubscriptionRequest.ChangeConnectionSubscriptionRequest; import * as ChangeDatabaseRegistrationCompartmentRequest from "./change-database-registration-compartment-request"; export import ChangeDatabaseRegistrationCompartmentRequest = ChangeDatabaseRegistrationCompartmentRequest.ChangeDatabaseRegistrationCompartmentRequest; import * as ChangeDeploymentBackupCompartmentRequest from "./change-deployment-backup-compartment-request"; export import ChangeDeploymentBackupCompartmentRequest = ChangeDeploymentBackupCompartmentRequest.ChangeDeploymentBackupCompartmentRequest; import * as ChangeDeploymentCompartmentRequest from "./change-deployment-compartment-request"; export import ChangeDeploymentCompartmentRequest = ChangeDeploymentCompartmentRequest.ChangeDeploymentCompartmentRequest; +import * as ChangeDeploymentSubscriptionRequest from "./change-deployment-subscription-request"; +export import ChangeDeploymentSubscriptionRequest = ChangeDeploymentSubscriptionRequest.ChangeDeploymentSubscriptionRequest; import * as ChangePipelineCompartmentRequest from "./change-pipeline-compartment-request"; export import ChangePipelineCompartmentRequest = ChangePipelineCompartmentRequest.ChangePipelineCompartmentRequest; import * as CollectDeploymentDiagnosticRequest from "./collect-deployment-diagnostic-request"; diff --git a/lib/goldengate/lib/request/update-connection-request.ts b/lib/goldengate/lib/request/update-connection-request.ts index 4b2d2474be..207ef343d7 100644 --- a/lib/goldengate/lib/request/update-connection-request.ts +++ b/lib/goldengate/lib/request/update-connection-request.ts @@ -36,6 +36,7 @@ export interface UpdateConnectionRequest extends common.BaseRequest { | model.UpdateRedisConnectionDetails | model.UpdateMongoDbConnectionDetails | model.UpdateGoogleCloudStorageConnectionDetails + | model.UpdateOracleAiDataPlatformConnectionDetails | model.UpdateMicrosoftFabricConnectionDetails | model.UpdatePostgresqlConnectionDetails | model.UpdateMicrosoftSqlserverConnectionDetails diff --git a/lib/goldengate/lib/response/change-connection-subscription-response.ts b/lib/goldengate/lib/response/change-connection-subscription-response.ts new file mode 100644 index 0000000000..4428d926db --- /dev/null +++ b/lib/goldengate/lib/response/change-connection-subscription-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeConnectionSubscriptionResponse { + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/goldengate/lib/response/change-deployment-subscription-response.ts b/lib/goldengate/lib/response/change-deployment-subscription-response.ts new file mode 100644 index 0000000000..1e7b9cd998 --- /dev/null +++ b/lib/goldengate/lib/response/change-deployment-subscription-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeDeploymentSubscriptionResponse { + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/goldengate/lib/response/index.ts b/lib/goldengate/lib/response/index.ts index a4bf04e120..caf77cd09c 100644 --- a/lib/goldengate/lib/response/index.ts +++ b/lib/goldengate/lib/response/index.ts @@ -28,12 +28,16 @@ import * as CancelSnoozeDeploymentUpgradeResponse from "./cancel-snooze-deployme export import CancelSnoozeDeploymentUpgradeResponse = CancelSnoozeDeploymentUpgradeResponse.CancelSnoozeDeploymentUpgradeResponse; import * as ChangeConnectionCompartmentResponse from "./change-connection-compartment-response"; export import ChangeConnectionCompartmentResponse = ChangeConnectionCompartmentResponse.ChangeConnectionCompartmentResponse; +import * as ChangeConnectionSubscriptionResponse from "./change-connection-subscription-response"; +export import ChangeConnectionSubscriptionResponse = ChangeConnectionSubscriptionResponse.ChangeConnectionSubscriptionResponse; import * as ChangeDatabaseRegistrationCompartmentResponse from "./change-database-registration-compartment-response"; export import ChangeDatabaseRegistrationCompartmentResponse = ChangeDatabaseRegistrationCompartmentResponse.ChangeDatabaseRegistrationCompartmentResponse; import * as ChangeDeploymentBackupCompartmentResponse from "./change-deployment-backup-compartment-response"; export import ChangeDeploymentBackupCompartmentResponse = ChangeDeploymentBackupCompartmentResponse.ChangeDeploymentBackupCompartmentResponse; import * as ChangeDeploymentCompartmentResponse from "./change-deployment-compartment-response"; export import ChangeDeploymentCompartmentResponse = ChangeDeploymentCompartmentResponse.ChangeDeploymentCompartmentResponse; +import * as ChangeDeploymentSubscriptionResponse from "./change-deployment-subscription-response"; +export import ChangeDeploymentSubscriptionResponse = ChangeDeploymentSubscriptionResponse.ChangeDeploymentSubscriptionResponse; import * as ChangePipelineCompartmentResponse from "./change-pipeline-compartment-response"; export import ChangePipelineCompartmentResponse = ChangePipelineCompartmentResponse.ChangePipelineCompartmentResponse; import * as CollectDeploymentDiagnosticResponse from "./collect-deployment-diagnostic-response"; diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index 7ff418686a..8ab0ff1481 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Golden Gate Service", "repository": { "type": "git", diff --git a/lib/governancerulescontrolplane/package.json b/lib/governancerulescontrolplane/package.json index 8ba94471a9..6ef066256b 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Governance Rules Control Plane Service", "repository": { "type": "git", diff --git a/lib/healthchecks/package.json b/lib/healthchecks/package.json index d9047db623..3c4f1610e5 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index a5d7e12ef3..ed5e842ae3 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 9e86c0e710..1f0a86cae5 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Identity Data Plane Service", "repository": { "type": "git", diff --git a/lib/identitydomains/package.json b/lib/identitydomains/package.json index 2306a17066..af027755a3 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Identity Domains Service", "repository": { "type": "git", diff --git a/lib/integration/lib/model/create-integration-instance-details.ts b/lib/integration/lib/model/create-integration-instance-details.ts index 67169fdea8..0ad9f6038b 100644 --- a/lib/integration/lib/model/create-integration-instance-details.ts +++ b/lib/integration/lib/model/create-integration-instance-details.ts @@ -51,6 +51,14 @@ export interface CreateIntegrationInstanceDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Bring your own license. */ diff --git a/lib/integration/lib/model/integration-instance-summary.ts b/lib/integration/lib/model/integration-instance-summary.ts index 10c2571ea6..ba50222bd5 100644 --- a/lib/integration/lib/model/integration-instance-summary.ts +++ b/lib/integration/lib/model/integration-instance-summary.ts @@ -106,6 +106,14 @@ export interface IntegrationInstanceSummary { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} diff --git a/lib/integration/lib/model/integration-instance.ts b/lib/integration/lib/model/integration-instance.ts index 9d7db241b4..a6a3b2f239 100644 --- a/lib/integration/lib/model/integration-instance.ts +++ b/lib/integration/lib/model/integration-instance.ts @@ -33,7 +33,7 @@ export interface IntegrationInstance { /** * Standard or Enterprise type, * Oracle Integration Generation 2 uses ENTERPRISE and STANDARD, - * Oracle Integration 3 uses ENTERPRISEX and STANDARDX + * Oracle Integration 3 uses ENTERPRISEX, STANDARDX and HEALTHCARE * */ "integrationInstanceType": IntegrationInstance.IntegrationInstanceType; @@ -77,6 +77,14 @@ export interface IntegrationInstance { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Bring your own license. */ diff --git a/lib/integration/lib/model/update-integration-instance-details.ts b/lib/integration/lib/model/update-integration-instance-details.ts index 3a653ba455..6b997f3925 100644 --- a/lib/integration/lib/model/update-integration-instance-details.ts +++ b/lib/integration/lib/model/update-integration-instance-details.ts @@ -48,6 +48,14 @@ export interface UpdateIntegrationInstanceDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Bring your own license. */ diff --git a/lib/integration/package.json b/lib/integration/package.json index 43c665ece6..ed72d5de32 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/iot/README.md b/lib/iot/README.md new file mode 100644 index 0000000000..2a6e29f114 --- /dev/null +++ b/lib/iot/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Iot Service + +This module enables you to write code to manage resources for Iot Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-iot +``` + +Alternatively you can git clone this repo. diff --git a/lib/iot/index.ts b/lib/iot/index.ts new file mode 100644 index 0000000000..67efdae68c --- /dev/null +++ b/lib/iot/index.ts @@ -0,0 +1,26 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as iot_waiter from "./lib/iot-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import IotClient = client.IotClient; +export import IotWaiter = iot_waiter.IotWaiter; diff --git a/lib/iot/lib/client.ts b/lib/iot/lib/client.ts new file mode 100644 index 0000000000..ccbd815bc8 --- /dev/null +++ b/lib/iot/lib/client.ts @@ -0,0 +1,3603 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { IotWaiter } from "./iot-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum IotApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class IotClient { + protected static serviceEndpointTemplate = "https://iot.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": IotWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "Iot"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("iot")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("iot"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250531"; + if (this.logger) this.logger.info(`IotClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + IotClient.serviceEndpointTemplate, + this._region, + IotClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + IotClient.serviceEndpointTemplate, + this._regionId, + IotClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + IotClient.serviceEndpointTemplate, + region, + IotClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + IotClient.serviceEndpointTemplate, + regionId, + IotClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new IotWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): IotWaiter { + this._waiters = new IotWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): IotWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves an IoT domain to a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeIotDomainCompartmentRequest + * @return ChangeIotDomainCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainCompartment.ts.html |here} to see how to use ChangeIotDomainCompartment API. + */ + public async changeIotDomainCompartment( + changeIotDomainCompartmentRequest: requests.ChangeIotDomainCompartmentRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#changeIotDomainCompartment."); + const operationName = "changeIotDomainCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": changeIotDomainCompartmentRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeIotDomainCompartmentRequest.ifMatch, + "opc-request-id": changeIotDomainCompartmentRequest.opcRequestId, + "opc-retry-token": changeIotDomainCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeIotDomainCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeIotDomainCompartmentRequest.changeIotDomainCompartmentDetails, + "ChangeIotDomainCompartmentDetails", + model.ChangeIotDomainCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates Data Retention Period of the IoT Domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeIotDomainDataRetentionPeriodRequest + * @return ChangeIotDomainDataRetentionPeriodResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainDataRetentionPeriod.ts.html |here} to see how to use ChangeIotDomainDataRetentionPeriod API. + */ + public async changeIotDomainDataRetentionPeriod( + changeIotDomainDataRetentionPeriodRequest: requests.ChangeIotDomainDataRetentionPeriodRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#changeIotDomainDataRetentionPeriod."); + const operationName = "changeIotDomainDataRetentionPeriod"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": changeIotDomainDataRetentionPeriodRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeIotDomainDataRetentionPeriodRequest.ifMatch, + "opc-request-id": changeIotDomainDataRetentionPeriodRequest.opcRequestId, + "opc-retry-token": changeIotDomainDataRetentionPeriodRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeIotDomainDataRetentionPeriodRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}/actions/changeDataRetentionPeriod", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeIotDomainDataRetentionPeriodRequest.changeIotDomainDataRetentionPeriodDetails, + "ChangeIotDomainDataRetentionPeriodDetails", + model.ChangeIotDomainDataRetentionPeriodDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves an IoT domain group to a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeIotDomainGroupCompartmentRequest + * @return ChangeIotDomainGroupCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainGroupCompartment.ts.html |here} to see how to use ChangeIotDomainGroupCompartment API. + */ + public async changeIotDomainGroupCompartment( + changeIotDomainGroupCompartmentRequest: requests.ChangeIotDomainGroupCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#changeIotDomainGroupCompartment."); + const operationName = "changeIotDomainGroupCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainGroupId}": changeIotDomainGroupCompartmentRequest.iotDomainGroupId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeIotDomainGroupCompartmentRequest.ifMatch, + "opc-request-id": changeIotDomainGroupCompartmentRequest.opcRequestId, + "opc-retry-token": changeIotDomainGroupCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeIotDomainGroupCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups/{iotDomainGroupId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeIotDomainGroupCompartmentRequest.changeIotDomainGroupCompartmentDetails, + "ChangeIotDomainGroupCompartmentDetails", + model.ChangeIotDomainGroupCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates an IoT domain Data Access. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ConfigureIotDomainDataAccessRequest + * @return ConfigureIotDomainDataAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ConfigureIotDomainDataAccess.ts.html |here} to see how to use ConfigureIotDomainDataAccess API. + */ + public async configureIotDomainDataAccess( + configureIotDomainDataAccessRequest: requests.ConfigureIotDomainDataAccessRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#configureIotDomainDataAccess."); + const operationName = "configureIotDomainDataAccess"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": configureIotDomainDataAccessRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": configureIotDomainDataAccessRequest.ifMatch, + "opc-request-id": configureIotDomainDataAccessRequest.opcRequestId, + "opc-retry-token": configureIotDomainDataAccessRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + configureIotDomainDataAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}/actions/configureDataAccess", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + configureIotDomainDataAccessRequest.configureIotDomainDataAccessDetails, + "ConfigureIotDomainDataAccessDetails", + model.ConfigureIotDomainDataAccessDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates an IoT domain Group Data Access. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ConfigureIotDomainGroupDataAccessRequest + * @return ConfigureIotDomainGroupDataAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ConfigureIotDomainGroupDataAccess.ts.html |here} to see how to use ConfigureIotDomainGroupDataAccess API. + */ + public async configureIotDomainGroupDataAccess( + configureIotDomainGroupDataAccessRequest: requests.ConfigureIotDomainGroupDataAccessRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#configureIotDomainGroupDataAccess."); + const operationName = "configureIotDomainGroupDataAccess"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainGroupId}": configureIotDomainGroupDataAccessRequest.iotDomainGroupId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": configureIotDomainGroupDataAccessRequest.ifMatch, + "opc-request-id": configureIotDomainGroupDataAccessRequest.opcRequestId, + "opc-retry-token": configureIotDomainGroupDataAccessRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + configureIotDomainGroupDataAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups/{iotDomainGroupId}/actions/configureDataAccess", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + configureIotDomainGroupDataAccessRequest.configureIotDomainGroupDataAccessDetails, + "ConfigureIotDomainGroupDataAccessDetails", + model.ConfigureIotDomainGroupDataAccessDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new digital twin adapter. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateDigitalTwinAdapterRequest + * @return CreateDigitalTwinAdapterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinAdapter.ts.html |here} to see how to use CreateDigitalTwinAdapter API. + */ + public async createDigitalTwinAdapter( + createDigitalTwinAdapterRequest: requests.CreateDigitalTwinAdapterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#createDigitalTwinAdapter."); + const operationName = "createDigitalTwinAdapter"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createDigitalTwinAdapterRequest.opcRetryToken, + "opc-request-id": createDigitalTwinAdapterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createDigitalTwinAdapterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinAdapters", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createDigitalTwinAdapterRequest.createDigitalTwinAdapterDetails, + "CreateDigitalTwinAdapterDetails", + model.CreateDigitalTwinAdapterDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinAdapter", + bodyModel: model.DigitalTwinAdapter, + type: "model.DigitalTwinAdapter", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new digital twin instance. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateDigitalTwinInstanceRequest + * @return CreateDigitalTwinInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinInstance.ts.html |here} to see how to use CreateDigitalTwinInstance API. + */ + public async createDigitalTwinInstance( + createDigitalTwinInstanceRequest: requests.CreateDigitalTwinInstanceRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#createDigitalTwinInstance."); + const operationName = "createDigitalTwinInstance"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createDigitalTwinInstanceRequest.opcRetryToken, + "opc-request-id": createDigitalTwinInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createDigitalTwinInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createDigitalTwinInstanceRequest.createDigitalTwinInstanceDetails, + "CreateDigitalTwinInstanceDetails", + model.CreateDigitalTwinInstanceDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinInstance", + bodyModel: model.DigitalTwinInstance, + type: "model.DigitalTwinInstance", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new digital twin model. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateDigitalTwinModelRequest + * @return CreateDigitalTwinModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinModel.ts.html |here} to see how to use CreateDigitalTwinModel API. + */ + public async createDigitalTwinModel( + createDigitalTwinModelRequest: requests.CreateDigitalTwinModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#createDigitalTwinModel."); + const operationName = "createDigitalTwinModel"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createDigitalTwinModelRequest.opcRetryToken, + "opc-request-id": createDigitalTwinModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createDigitalTwinModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createDigitalTwinModelRequest.createDigitalTwinModelDetails, + "CreateDigitalTwinModelDetails", + model.CreateDigitalTwinModelDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinModel", + bodyModel: model.DigitalTwinModel, + type: "model.DigitalTwinModel", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new digital twin relationship. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateDigitalTwinRelationshipRequest + * @return CreateDigitalTwinRelationshipResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinRelationship.ts.html |here} to see how to use CreateDigitalTwinRelationship API. + */ + public async createDigitalTwinRelationship( + createDigitalTwinRelationshipRequest: requests.CreateDigitalTwinRelationshipRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#createDigitalTwinRelationship."); + const operationName = "createDigitalTwinRelationship"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createDigitalTwinRelationshipRequest.opcRetryToken, + "opc-request-id": createDigitalTwinRelationshipRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createDigitalTwinRelationshipRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinRelationships", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createDigitalTwinRelationshipRequest.createDigitalTwinRelationshipDetails, + "CreateDigitalTwinRelationshipDetails", + model.CreateDigitalTwinRelationshipDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinRelationship", + bodyModel: model.DigitalTwinRelationship, + type: "model.DigitalTwinRelationship", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new IoT domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateIotDomainRequest + * @return CreateIotDomainResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateIotDomain.ts.html |here} to see how to use CreateIotDomain API. + */ + public async createIotDomain( + createIotDomainRequest: requests.CreateIotDomainRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#createIotDomain."); + const operationName = "createIotDomain"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createIotDomainRequest.opcRetryToken, + "opc-request-id": createIotDomainRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createIotDomainRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createIotDomainRequest.createIotDomainDetails, + "CreateIotDomainDetails", + model.CreateIotDomainDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomain", + bodyModel: model.IotDomain, + type: "model.IotDomain", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a new IoT domain group. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateIotDomainGroupRequest + * @return CreateIotDomainGroupResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateIotDomainGroup.ts.html |here} to see how to use CreateIotDomainGroup API. + */ + public async createIotDomainGroup( + createIotDomainGroupRequest: requests.CreateIotDomainGroupRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#createIotDomainGroup."); + const operationName = "createIotDomainGroup"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createIotDomainGroupRequest.opcRetryToken, + "opc-request-id": createIotDomainGroupRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createIotDomainGroupRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createIotDomainGroupRequest.createIotDomainGroupDetails, + "CreateIotDomainGroupDetails", + model.CreateIotDomainGroupDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomainGroup", + bodyModel: model.IotDomainGroup, + type: "model.IotDomainGroup", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the digital twin adapter identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteDigitalTwinAdapterRequest + * @return DeleteDigitalTwinAdapterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinAdapter.ts.html |here} to see how to use DeleteDigitalTwinAdapter API. + */ + public async deleteDigitalTwinAdapter( + deleteDigitalTwinAdapterRequest: requests.DeleteDigitalTwinAdapterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#deleteDigitalTwinAdapter."); + const operationName = "deleteDigitalTwinAdapter"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinAdapterId}": deleteDigitalTwinAdapterRequest.digitalTwinAdapterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteDigitalTwinAdapterRequest.ifMatch, + "opc-request-id": deleteDigitalTwinAdapterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteDigitalTwinAdapterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinAdapters/{digitalTwinAdapterId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the digital twin instance identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteDigitalTwinInstanceRequest + * @return DeleteDigitalTwinInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinInstance.ts.html |here} to see how to use DeleteDigitalTwinInstance API. + */ + public async deleteDigitalTwinInstance( + deleteDigitalTwinInstanceRequest: requests.DeleteDigitalTwinInstanceRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#deleteDigitalTwinInstance."); + const operationName = "deleteDigitalTwinInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinInstanceId}": deleteDigitalTwinInstanceRequest.digitalTwinInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteDigitalTwinInstanceRequest.ifMatch, + "opc-request-id": deleteDigitalTwinInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteDigitalTwinInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances/{digitalTwinInstanceId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the digital twin model identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteDigitalTwinModelRequest + * @return DeleteDigitalTwinModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinModel.ts.html |here} to see how to use DeleteDigitalTwinModel API. + */ + public async deleteDigitalTwinModel( + deleteDigitalTwinModelRequest: requests.DeleteDigitalTwinModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#deleteDigitalTwinModel."); + const operationName = "deleteDigitalTwinModel"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinModelId}": deleteDigitalTwinModelRequest.digitalTwinModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteDigitalTwinModelRequest.ifMatch, + "opc-request-id": deleteDigitalTwinModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteDigitalTwinModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels/{digitalTwinModelId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the digital twin relationship identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteDigitalTwinRelationshipRequest + * @return DeleteDigitalTwinRelationshipResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinRelationship.ts.html |here} to see how to use DeleteDigitalTwinRelationship API. + */ + public async deleteDigitalTwinRelationship( + deleteDigitalTwinRelationshipRequest: requests.DeleteDigitalTwinRelationshipRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#deleteDigitalTwinRelationship."); + const operationName = "deleteDigitalTwinRelationship"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinRelationshipId}": deleteDigitalTwinRelationshipRequest.digitalTwinRelationshipId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteDigitalTwinRelationshipRequest.ifMatch, + "opc-request-id": deleteDigitalTwinRelationshipRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteDigitalTwinRelationshipRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinRelationships/{digitalTwinRelationshipId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the IoT domain identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteIotDomainRequest + * @return DeleteIotDomainResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteIotDomain.ts.html |here} to see how to use DeleteIotDomain API. + */ + public async deleteIotDomain( + deleteIotDomainRequest: requests.DeleteIotDomainRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#deleteIotDomain."); + const operationName = "deleteIotDomain"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": deleteIotDomainRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteIotDomainRequest.ifMatch, + "opc-request-id": deleteIotDomainRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteIotDomainRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes the IoT domain group identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteIotDomainGroupRequest + * @return DeleteIotDomainGroupResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteIotDomainGroup.ts.html |here} to see how to use DeleteIotDomainGroup API. + */ + public async deleteIotDomainGroup( + deleteIotDomainGroupRequest: requests.DeleteIotDomainGroupRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#deleteIotDomainGroup."); + const operationName = "deleteIotDomainGroup"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainGroupId}": deleteIotDomainGroupRequest.iotDomainGroupId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteIotDomainGroupRequest.ifMatch, + "opc-request-id": deleteIotDomainGroupRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteIotDomainGroupRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups/{iotDomainGroupId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the digital twin adapter identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinAdapterRequest + * @return GetDigitalTwinAdapterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinAdapter.ts.html |here} to see how to use GetDigitalTwinAdapter API. + */ + public async getDigitalTwinAdapter( + getDigitalTwinAdapterRequest: requests.GetDigitalTwinAdapterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getDigitalTwinAdapter."); + const operationName = "getDigitalTwinAdapter"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinAdapterId}": getDigitalTwinAdapterRequest.digitalTwinAdapterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinAdapterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinAdapterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinAdapters/{digitalTwinAdapterId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinAdapter", + bodyModel: model.DigitalTwinAdapter, + type: "model.DigitalTwinAdapter", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the digital twin instance identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinInstanceRequest + * @return GetDigitalTwinInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinInstance.ts.html |here} to see how to use GetDigitalTwinInstance API. + */ + public async getDigitalTwinInstance( + getDigitalTwinInstanceRequest: requests.GetDigitalTwinInstanceRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getDigitalTwinInstance."); + const operationName = "getDigitalTwinInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinInstanceId}": getDigitalTwinInstanceRequest.digitalTwinInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances/{digitalTwinInstanceId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinInstance", + bodyModel: model.DigitalTwinInstance, + type: "model.DigitalTwinInstance", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the latest snapshot data of digital twin instance identified by the specified OCID. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinInstanceContentRequest + * @return GetDigitalTwinInstanceContentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinInstanceContent.ts.html |here} to see how to use GetDigitalTwinInstanceContent API. + */ + public async getDigitalTwinInstanceContent( + getDigitalTwinInstanceContentRequest: requests.GetDigitalTwinInstanceContentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#getDigitalTwinInstanceContent."); + const operationName = "getDigitalTwinInstanceContent"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinInstanceId}": getDigitalTwinInstanceContentRequest.digitalTwinInstanceId + }; + + const queryParams = { + "shouldIncludeMetadata": getDigitalTwinInstanceContentRequest.shouldIncludeMetadata + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinInstanceContentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinInstanceContentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances/{digitalTwinInstanceId}/content", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "value", + bodyModel: "{ [key: string]: any; }", + type: "{ [key: string]: any; }", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the digital twin model identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinModelRequest + * @return GetDigitalTwinModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinModel.ts.html |here} to see how to use GetDigitalTwinModel API. + */ + public async getDigitalTwinModel( + getDigitalTwinModelRequest: requests.GetDigitalTwinModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getDigitalTwinModel."); + const operationName = "getDigitalTwinModel"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinModelId}": getDigitalTwinModelRequest.digitalTwinModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels/{digitalTwinModelId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinModel", + bodyModel: model.DigitalTwinModel, + type: "model.DigitalTwinModel", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the spec of digital twin model identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinModelSpecRequest + * @return GetDigitalTwinModelSpecResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinModelSpec.ts.html |here} to see how to use GetDigitalTwinModelSpec API. + */ + public async getDigitalTwinModelSpec( + getDigitalTwinModelSpecRequest: requests.GetDigitalTwinModelSpecRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getDigitalTwinModelSpec."); + const operationName = "getDigitalTwinModelSpec"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinModelId}": getDigitalTwinModelSpecRequest.digitalTwinModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinModelSpecRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinModelSpecRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels/{digitalTwinModelId}/spec", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "value", + bodyModel: "{ [key: string]: any; }", + type: "{ [key: string]: any; }", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the digital twin relationship identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetDigitalTwinRelationshipRequest + * @return GetDigitalTwinRelationshipResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinRelationship.ts.html |here} to see how to use GetDigitalTwinRelationship API. + */ + public async getDigitalTwinRelationship( + getDigitalTwinRelationshipRequest: requests.GetDigitalTwinRelationshipRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getDigitalTwinRelationship."); + const operationName = "getDigitalTwinRelationship"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinRelationshipId}": getDigitalTwinRelationshipRequest.digitalTwinRelationshipId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDigitalTwinRelationshipRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDigitalTwinRelationshipRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinRelationships/{digitalTwinRelationshipId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinRelationship", + bodyModel: model.DigitalTwinRelationship, + type: "model.DigitalTwinRelationship", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the IoT domain identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetIotDomainRequest + * @return GetIotDomainResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetIotDomain.ts.html |here} to see how to use GetIotDomain API. + */ + public async getIotDomain( + getIotDomainRequest: requests.GetIotDomainRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getIotDomain."); + const operationName = "getIotDomain"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": getIotDomainRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getIotDomainRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getIotDomainRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomain", + bodyModel: model.IotDomain, + type: "model.IotDomain", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the IoT domain group identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetIotDomainGroupRequest + * @return GetIotDomainGroupResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetIotDomainGroup.ts.html |here} to see how to use GetIotDomainGroup API. + */ + public async getIotDomainGroup( + getIotDomainGroupRequest: requests.GetIotDomainGroupRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getIotDomainGroup."); + const operationName = "getIotDomainGroup"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainGroupId}": getIotDomainGroupRequest.iotDomainGroupId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getIotDomainGroupRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getIotDomainGroupRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups/{iotDomainGroupId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomainGroup", + bodyModel: model.IotDomainGroup, + type: "model.IotDomainGroup", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves the status of the work request with the given ID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Invokes the raw command on the specified digital twin instance. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param InvokeRawCommandRequest + * @return InvokeRawCommandResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/InvokeRawCommand.ts.html |here} to see how to use InvokeRawCommand API. + */ + public async invokeRawCommand( + invokeRawCommandRequest: requests.InvokeRawCommandRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#invokeRawCommand."); + const operationName = "invokeRawCommand"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinInstanceId}": invokeRawCommandRequest.digitalTwinInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": invokeRawCommandRequest.opcRetryToken, + "opc-request-id": invokeRawCommandRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + invokeRawCommandRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances/{digitalTwinInstanceId}/actions/invokeRawCommand", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + invokeRawCommandRequest.invokeRawCommandDetails, + "InvokeRawCommandDetails", + model.InvokeRawCommandDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("Content-Location"), + key: "contentLocation", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of digital twin adapters within the specified IoT domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListDigitalTwinAdaptersRequest + * @return ListDigitalTwinAdaptersResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinAdapters.ts.html |here} to see how to use ListDigitalTwinAdapters API. + */ + public async listDigitalTwinAdapters( + listDigitalTwinAdaptersRequest: requests.ListDigitalTwinAdaptersRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listDigitalTwinAdapters."); + const operationName = "listDigitalTwinAdapters"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "iotDomainId": listDigitalTwinAdaptersRequest.iotDomainId, + "id": listDigitalTwinAdaptersRequest.id, + "digitalTwinModelSpecUri": listDigitalTwinAdaptersRequest.digitalTwinModelSpecUri, + "digitalTwinModelId": listDigitalTwinAdaptersRequest.digitalTwinModelId, + "displayName": listDigitalTwinAdaptersRequest.displayName, + "lifecycleState": listDigitalTwinAdaptersRequest.lifecycleState, + "limit": listDigitalTwinAdaptersRequest.limit, + "page": listDigitalTwinAdaptersRequest.page, + "sortOrder": listDigitalTwinAdaptersRequest.sortOrder, + "sortBy": listDigitalTwinAdaptersRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDigitalTwinAdaptersRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDigitalTwinAdaptersRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinAdapters", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinAdapterCollection", + bodyModel: model.DigitalTwinAdapterCollection, + type: "model.DigitalTwinAdapterCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of digital twin instances within the specified IoT domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListDigitalTwinInstancesRequest + * @return ListDigitalTwinInstancesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinInstances.ts.html |here} to see how to use ListDigitalTwinInstances API. + */ + public async listDigitalTwinInstances( + listDigitalTwinInstancesRequest: requests.ListDigitalTwinInstancesRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listDigitalTwinInstances."); + const operationName = "listDigitalTwinInstances"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "displayName": listDigitalTwinInstancesRequest.displayName, + "limit": listDigitalTwinInstancesRequest.limit, + "page": listDigitalTwinInstancesRequest.page, + "lifecycleState": listDigitalTwinInstancesRequest.lifecycleState, + "sortOrder": listDigitalTwinInstancesRequest.sortOrder, + "sortBy": listDigitalTwinInstancesRequest.sortBy, + "digitalTwinModelId": listDigitalTwinInstancesRequest.digitalTwinModelId, + "digitalTwinModelSpecUri": listDigitalTwinInstancesRequest.digitalTwinModelSpecUri, + "iotDomainId": listDigitalTwinInstancesRequest.iotDomainId, + "id": listDigitalTwinInstancesRequest.id + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDigitalTwinInstancesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDigitalTwinInstancesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinInstanceCollection", + bodyModel: model.DigitalTwinInstanceCollection, + type: "model.DigitalTwinInstanceCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of digital twin models within the specified IoT domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListDigitalTwinModelsRequest + * @return ListDigitalTwinModelsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinModels.ts.html |here} to see how to use ListDigitalTwinModels API. + */ + public async listDigitalTwinModels( + listDigitalTwinModelsRequest: requests.ListDigitalTwinModelsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listDigitalTwinModels."); + const operationName = "listDigitalTwinModels"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "id": listDigitalTwinModelsRequest.id, + "iotDomainId": listDigitalTwinModelsRequest.iotDomainId, + "displayName": listDigitalTwinModelsRequest.displayName, + "specUriStartsWith": listDigitalTwinModelsRequest.specUriStartsWith, + "limit": listDigitalTwinModelsRequest.limit, + "page": listDigitalTwinModelsRequest.page, + "lifecycleState": listDigitalTwinModelsRequest.lifecycleState, + "sortOrder": listDigitalTwinModelsRequest.sortOrder, + "sortBy": listDigitalTwinModelsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDigitalTwinModelsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDigitalTwinModelsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinModelCollection", + bodyModel: model.DigitalTwinModelCollection, + type: "model.DigitalTwinModelCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of digital twin relationships within the specified IoT domain. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListDigitalTwinRelationshipsRequest + * @return ListDigitalTwinRelationshipsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinRelationships.ts.html |here} to see how to use ListDigitalTwinRelationships API. + */ + public async listDigitalTwinRelationships( + listDigitalTwinRelationshipsRequest: requests.ListDigitalTwinRelationshipsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listDigitalTwinRelationships."); + const operationName = "listDigitalTwinRelationships"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "displayName": listDigitalTwinRelationshipsRequest.displayName, + "contentPath": listDigitalTwinRelationshipsRequest.contentPath, + "sourceDigitalTwinInstanceId": + listDigitalTwinRelationshipsRequest.sourceDigitalTwinInstanceId, + "targetDigitalTwinInstanceId": + listDigitalTwinRelationshipsRequest.targetDigitalTwinInstanceId, + "lifecycleState": listDigitalTwinRelationshipsRequest.lifecycleState, + "limit": listDigitalTwinRelationshipsRequest.limit, + "page": listDigitalTwinRelationshipsRequest.page, + "sortOrder": listDigitalTwinRelationshipsRequest.sortOrder, + "sortBy": listDigitalTwinRelationshipsRequest.sortBy, + "iotDomainId": listDigitalTwinRelationshipsRequest.iotDomainId, + "id": listDigitalTwinRelationshipsRequest.id + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDigitalTwinRelationshipsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDigitalTwinRelationshipsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinRelationships", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinRelationshipCollection", + bodyModel: model.DigitalTwinRelationshipCollection, + type: "model.DigitalTwinRelationshipCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of IoT domain groups within the specified compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListIotDomainGroupsRequest + * @return ListIotDomainGroupsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListIotDomainGroups.ts.html |here} to see how to use ListIotDomainGroups API. + */ + public async listIotDomainGroups( + listIotDomainGroupsRequest: requests.ListIotDomainGroupsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listIotDomainGroups."); + const operationName = "listIotDomainGroups"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listIotDomainGroupsRequest.compartmentId, + "id": listIotDomainGroupsRequest.id, + "displayName": listIotDomainGroupsRequest.displayName, + "lifecycleState": listIotDomainGroupsRequest.lifecycleState, + "limit": listIotDomainGroupsRequest.limit, + "page": listIotDomainGroupsRequest.page, + "sortOrder": listIotDomainGroupsRequest.sortOrder, + "sortBy": listIotDomainGroupsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listIotDomainGroupsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listIotDomainGroupsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomainGroupCollection", + bodyModel: model.IotDomainGroupCollection, + type: "model.IotDomainGroupCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves a list of IoT domains within the specified compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListIotDomainsRequest + * @return ListIotDomainsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListIotDomains.ts.html |here} to see how to use ListIotDomains API. + */ + public async listIotDomains( + listIotDomainsRequest: requests.ListIotDomainsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listIotDomains."); + const operationName = "listIotDomains"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listIotDomainsRequest.compartmentId, + "id": listIotDomainsRequest.id, + "iotDomainGroupId": listIotDomainsRequest.iotDomainGroupId, + "displayName": listIotDomainsRequest.displayName, + "lifecycleState": listIotDomainsRequest.lifecycleState, + "limit": listIotDomainsRequest.limit, + "page": listIotDomainsRequest.page, + "sortOrder": listIotDomainsRequest.sortOrder, + "sortBy": listIotDomainsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listIotDomainsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listIotDomainsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "iotDomainCollection", + bodyModel: model.IotDomainCollection, + type: "model.IotDomainCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists errors associated with the specified work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs associated with the specified work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists work requests in the specified compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "id": listWorkRequestsRequest.id, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of digital twin adapter identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateDigitalTwinAdapterRequest + * @return UpdateDigitalTwinAdapterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinAdapter.ts.html |here} to see how to use UpdateDigitalTwinAdapter API. + */ + public async updateDigitalTwinAdapter( + updateDigitalTwinAdapterRequest: requests.UpdateDigitalTwinAdapterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#updateDigitalTwinAdapter."); + const operationName = "updateDigitalTwinAdapter"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinAdapterId}": updateDigitalTwinAdapterRequest.digitalTwinAdapterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateDigitalTwinAdapterRequest.ifMatch, + "opc-request-id": updateDigitalTwinAdapterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateDigitalTwinAdapterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinAdapters/{digitalTwinAdapterId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateDigitalTwinAdapterRequest.updateDigitalTwinAdapterDetails, + "UpdateDigitalTwinAdapterDetails", + model.UpdateDigitalTwinAdapterDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinAdapter", + bodyModel: model.DigitalTwinAdapter, + type: "model.DigitalTwinAdapter", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of digital twin instance identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateDigitalTwinInstanceRequest + * @return UpdateDigitalTwinInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinInstance.ts.html |here} to see how to use UpdateDigitalTwinInstance API. + */ + public async updateDigitalTwinInstance( + updateDigitalTwinInstanceRequest: requests.UpdateDigitalTwinInstanceRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#updateDigitalTwinInstance."); + const operationName = "updateDigitalTwinInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinInstanceId}": updateDigitalTwinInstanceRequest.digitalTwinInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateDigitalTwinInstanceRequest.ifMatch, + "opc-request-id": updateDigitalTwinInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateDigitalTwinInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinInstances/{digitalTwinInstanceId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateDigitalTwinInstanceRequest.updateDigitalTwinInstanceDetails, + "UpdateDigitalTwinInstanceDetails", + model.UpdateDigitalTwinInstanceDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinInstance", + bodyModel: model.DigitalTwinInstance, + type: "model.DigitalTwinInstance", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of the digital twin model identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateDigitalTwinModelRequest + * @return UpdateDigitalTwinModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinModel.ts.html |here} to see how to use UpdateDigitalTwinModel API. + */ + public async updateDigitalTwinModel( + updateDigitalTwinModelRequest: requests.UpdateDigitalTwinModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#updateDigitalTwinModel."); + const operationName = "updateDigitalTwinModel"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinModelId}": updateDigitalTwinModelRequest.digitalTwinModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateDigitalTwinModelRequest.ifMatch, + "opc-request-id": updateDigitalTwinModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateDigitalTwinModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinModels/{digitalTwinModelId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateDigitalTwinModelRequest.updateDigitalTwinModelDetails, + "UpdateDigitalTwinModelDetails", + model.UpdateDigitalTwinModelDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinModel", + bodyModel: model.DigitalTwinModel, + type: "model.DigitalTwinModel", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of digital twin relationship identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateDigitalTwinRelationshipRequest + * @return UpdateDigitalTwinRelationshipResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinRelationship.ts.html |here} to see how to use UpdateDigitalTwinRelationship API. + */ + public async updateDigitalTwinRelationship( + updateDigitalTwinRelationshipRequest: requests.UpdateDigitalTwinRelationshipRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation IotClient#updateDigitalTwinRelationship."); + const operationName = "updateDigitalTwinRelationship"; + const apiReferenceLink = ""; + const pathParams = { + "{digitalTwinRelationshipId}": updateDigitalTwinRelationshipRequest.digitalTwinRelationshipId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateDigitalTwinRelationshipRequest.ifMatch, + "opc-request-id": updateDigitalTwinRelationshipRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateDigitalTwinRelationshipRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/digitalTwinRelationships/{digitalTwinRelationshipId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateDigitalTwinRelationshipRequest.updateDigitalTwinRelationshipDetails, + "UpdateDigitalTwinRelationshipDetails", + model.UpdateDigitalTwinRelationshipDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "digitalTwinRelationship", + bodyModel: model.DigitalTwinRelationship, + type: "model.DigitalTwinRelationship", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of IoT domain identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateIotDomainRequest + * @return UpdateIotDomainResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateIotDomain.ts.html |here} to see how to use UpdateIotDomain API. + */ + public async updateIotDomain( + updateIotDomainRequest: requests.UpdateIotDomainRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#updateIotDomain."); + const operationName = "updateIotDomain"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainId}": updateIotDomainRequest.iotDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateIotDomainRequest.ifMatch, + "opc-request-id": updateIotDomainRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateIotDomainRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomains/{iotDomainId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateIotDomainRequest.updateIotDomainDetails, + "UpdateIotDomainDetails", + model.UpdateIotDomainDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the details of IoT domain group identified by the specified OCID. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateIotDomainGroupRequest + * @return UpdateIotDomainGroupResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateIotDomainGroup.ts.html |here} to see how to use UpdateIotDomainGroup API. + */ + public async updateIotDomainGroup( + updateIotDomainGroupRequest: requests.UpdateIotDomainGroupRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation IotClient#updateIotDomainGroup."); + const operationName = "updateIotDomainGroup"; + const apiReferenceLink = ""; + const pathParams = { + "{iotDomainGroupId}": updateIotDomainGroupRequest.iotDomainGroupId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateIotDomainGroupRequest.ifMatch, + "opc-request-id": updateIotDomainGroupRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateIotDomainGroupRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/iotDomainGroups/{iotDomainGroupId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateIotDomainGroupRequest.updateIotDomainGroupDetails, + "UpdateIotDomainGroupDetails", + model.UpdateIotDomainGroupDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/iot/lib/iot-waiter.ts b/lib/iot/lib/iot-waiter.ts new file mode 100644 index 0000000000..e8d64677d8 --- /dev/null +++ b/lib/iot/lib/iot-waiter.ts @@ -0,0 +1,154 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { IotClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class IotWaiter { + public constructor(private client: IotClient, private readonly config?: WaiterConfiguration) {} + + /** + * Waits forDigitalTwinAdapter till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetDigitalTwinAdapterResponse | null (null in case of 404 response) + */ + public async forDigitalTwinAdapter( + request: serviceRequests.GetDigitalTwinAdapterRequest, + ...targetStates: models.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getDigitalTwinAdapter(request), + response => targetStates.includes(response.digitalTwinAdapter.lifecycleState!), + targetStates.includes(models.LifecycleState.Deleted) + ); + } + + /** + * Waits forDigitalTwinInstance till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetDigitalTwinInstanceResponse | null (null in case of 404 response) + */ + public async forDigitalTwinInstance( + request: serviceRequests.GetDigitalTwinInstanceRequest, + ...targetStates: models.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getDigitalTwinInstance(request), + response => targetStates.includes(response.digitalTwinInstance.lifecycleState!), + targetStates.includes(models.LifecycleState.Deleted) + ); + } + + /** + * Waits forDigitalTwinModel till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetDigitalTwinModelResponse | null (null in case of 404 response) + */ + public async forDigitalTwinModel( + request: serviceRequests.GetDigitalTwinModelRequest, + ...targetStates: models.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getDigitalTwinModel(request), + response => targetStates.includes(response.digitalTwinModel.lifecycleState!), + targetStates.includes(models.LifecycleState.Deleted) + ); + } + + /** + * Waits forDigitalTwinRelationship till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetDigitalTwinRelationshipResponse | null (null in case of 404 response) + */ + public async forDigitalTwinRelationship( + request: serviceRequests.GetDigitalTwinRelationshipRequest, + ...targetStates: models.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getDigitalTwinRelationship(request), + response => targetStates.includes(response.digitalTwinRelationship.lifecycleState!), + targetStates.includes(models.LifecycleState.Deleted) + ); + } + + /** + * Waits forIotDomain till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetIotDomainResponse | null (null in case of 404 response) + */ + public async forIotDomain( + request: serviceRequests.GetIotDomainRequest, + ...targetStates: models.IotDomain.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getIotDomain(request), + response => targetStates.includes(response.iotDomain.lifecycleState!), + targetStates.includes(models.IotDomain.LifecycleState.Deleted) + ); + } + + /** + * Waits forIotDomainGroup till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetIotDomainGroupResponse | null (null in case of 404 response) + */ + public async forIotDomainGroup( + request: serviceRequests.GetIotDomainGroupRequest, + ...targetStates: models.IotDomainGroup.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getIotDomainGroup(request), + response => targetStates.includes(response.iotDomainGroup.lifecycleState!), + targetStates.includes(models.IotDomainGroup.LifecycleState.Deleted) + ); + } + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/iot/lib/model/action-type.ts b/lib/iot/lib/model/action-type.ts new file mode 100644 index 0000000000..6c9e652867 --- /dev/null +++ b/lib/iot/lib/model/action-type.ts @@ -0,0 +1,44 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/iot/lib/model/apex-data-access-details.ts b/lib/iot/lib/model/apex-data-access-details.ts new file mode 100644 index 0000000000..07a541e5ee --- /dev/null +++ b/lib/iot/lib/model/apex-data-access-details.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This contains configuration for apex data access. + */ +export interface ApexDataAccessDetails extends model.ConfigureIotDomainDataAccessDetails { + /** + * Initial admin password for APEX workspace associated with the IoT domain. + */ + "dbWorkspaceAdminInitialPassword": string; + + "type": string; +} + +export namespace ApexDataAccessDetails { + export function getJsonObj(obj: ApexDataAccessDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getJsonObj(obj) as ApexDataAccessDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "APEX"; + export function getDeserializedJsonObj( + obj: ApexDataAccessDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getDeserializedJsonObj( + obj + ) as ApexDataAccessDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/change-iot-domain-compartment-details.ts b/lib/iot/lib/model/change-iot-domain-compartment-details.ts new file mode 100644 index 0000000000..0930ce6835 --- /dev/null +++ b/lib/iot/lib/model/change-iot-domain-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeIotDomainCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; +} + +export namespace ChangeIotDomainCompartmentDetails { + export function getJsonObj(obj: ChangeIotDomainCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeIotDomainCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/change-iot-domain-data-retention-period-details.ts b/lib/iot/lib/model/change-iot-domain-data-retention-period-details.ts new file mode 100644 index 0000000000..6c8d647a18 --- /dev/null +++ b/lib/iot/lib/model/change-iot-domain-data-retention-period-details.ts @@ -0,0 +1,52 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for data retention periods. + */ +export interface ChangeIotDomainDataRetentionPeriodDetails { + /** + * The type of data retention period to apply. Allowed values are RAW_DATA, REJECTED_DATA, HISTORIZED_DATA, and RAW_COMMAND_DATA. + * + */ + "type": ChangeIotDomainDataRetentionPeriodDetails.Type; + /** + * The duration (in days) for which data will be retained in the IoT domain. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dataRetentionPeriodInDays": number; +} + +export namespace ChangeIotDomainDataRetentionPeriodDetails { + export enum Type { + RawData = "RAW_DATA", + RejectedData = "REJECTED_DATA", + HistorizedData = "HISTORIZED_DATA", + RawCommandData = "RAW_COMMAND_DATA" + } + + export function getJsonObj(obj: ChangeIotDomainDataRetentionPeriodDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeIotDomainDataRetentionPeriodDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/change-iot-domain-group-compartment-details.ts b/lib/iot/lib/model/change-iot-domain-group-compartment-details.ts new file mode 100644 index 0000000000..bc82c3bd43 --- /dev/null +++ b/lib/iot/lib/model/change-iot-domain-group-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeIotDomainGroupCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; +} + +export namespace ChangeIotDomainGroupCompartmentDetails { + export function getJsonObj(obj: ChangeIotDomainGroupCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeIotDomainGroupCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/configure-iot-domain-data-access-details.ts b/lib/iot/lib/model/configure-iot-domain-data-access-details.ts new file mode 100644 index 0000000000..3f0bc2091e --- /dev/null +++ b/lib/iot/lib/model/configure-iot-domain-data-access-details.ts @@ -0,0 +1,79 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for IoT Domain Data Access. + */ +export interface ConfigureIotDomainDataAccessDetails { + "type": string; +} + +export namespace ConfigureIotDomainDataAccessDetails { + export function getJsonObj(obj: ConfigureIotDomainDataAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "APEX": + return model.ApexDataAccessDetails.getJsonObj( + (jsonObj), + true + ); + case "DIRECT": + return model.DirectDataAccessDetails.getJsonObj( + (jsonObj), + true + ); + case "ORDS": + return model.OrdsDataAccessDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: ConfigureIotDomainDataAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "APEX": + return model.ApexDataAccessDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "DIRECT": + return model.DirectDataAccessDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ORDS": + return model.OrdsDataAccessDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } +} diff --git a/lib/iot/lib/model/configure-iot-domain-group-data-access-details.ts b/lib/iot/lib/model/configure-iot-domain-group-data-access-details.ts new file mode 100644 index 0000000000..0d4a4b2cd9 --- /dev/null +++ b/lib/iot/lib/model/configure-iot-domain-group-data-access-details.ts @@ -0,0 +1,40 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for an IoT Domain Group Data Access through allowlisted vcn ids. + */ +export interface ConfigureIotDomainGroupDataAccessDetails { + /** + * This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host. + */ + "dbAllowListedVcnIds": Array; +} + +export namespace ConfigureIotDomainGroupDataAccessDetails { + export function getJsonObj(obj: ConfigureIotDomainGroupDataAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ConfigureIotDomainGroupDataAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-digital-twin-adapter-details.ts b/lib/iot/lib/model/create-digital-twin-adapter-details.ts new file mode 100644 index 0000000000..7e9c9f0aae --- /dev/null +++ b/lib/iot/lib/model/create-digital-twin-adapter-details.ts @@ -0,0 +1,103 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new digital twin adapter to be created. + * + */ +export interface CreateDigitalTwinAdapterDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId"?: string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri"?: string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + "inboundEnvelope"?: model.DigitalTwinAdapterInboundEnvelope; + /** + * list of inbound routes + */ + "inboundRoutes"?: Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateDigitalTwinAdapterDetails { + export function getJsonObj(obj: CreateDigitalTwinAdapterDetails): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateDigitalTwinAdapterDetails): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getDeserializedJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-digital-twin-instance-details.ts b/lib/iot/lib/model/create-digital-twin-instance-details.ts new file mode 100644 index 0000000000..6521cdf961 --- /dev/null +++ b/lib/iot/lib/model/create-digital-twin-instance-details.ts @@ -0,0 +1,88 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new digital twin instance to be created. + */ +export interface CreateDigitalTwinInstanceDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance. + */ + "authId"?: string; + /** + * A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance. + * This could be a Bluetooth address, Ethernet MAC address, or serial number, depending on the use case. + * If not provided, the system will automatically generate one. + * + */ + "externalKey"?: string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + */ + "digitalTwinAdapterId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId"?: string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateDigitalTwinInstanceDetails { + export function getJsonObj(obj: CreateDigitalTwinInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateDigitalTwinInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-digital-twin-model-details.ts b/lib/iot/lib/model/create-digital-twin-model-details.ts new file mode 100644 index 0000000000..84ca4958c5 --- /dev/null +++ b/lib/iot/lib/model/create-digital-twin-model-details.ts @@ -0,0 +1,70 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new digital twin model to be created. + */ +export interface CreateDigitalTwinModelDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * If left blank, the display name will be derived from the spec. + * + */ + "displayName"?: string; + /** + * A short description of the resource. If left blank, the description will be derived from the spec. + */ + "description"?: string; + /** + * The specification of the digital twin model (DTDL). + */ + "spec": { [key: string]: any }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateDigitalTwinModelDetails { + export function getJsonObj(obj: CreateDigitalTwinModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateDigitalTwinModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-digital-twin-relationship-details.ts b/lib/iot/lib/model/create-digital-twin-relationship-details.ts new file mode 100644 index 0000000000..e747966991 --- /dev/null +++ b/lib/iot/lib/model/create-digital-twin-relationship-details.ts @@ -0,0 +1,83 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new digital twin relationship to be created. + */ +export interface CreateDigitalTwinRelationshipDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model. + * + */ + "contentPath": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. + * + */ + "sourceDigitalTwinInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. + */ + "targetDigitalTwinInstanceId": string; + /** + * The value(s) of the relationship properties defined in the source digital twin model. + */ + "content"?: { [key: string]: any }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateDigitalTwinRelationshipDetails { + export function getJsonObj(obj: CreateDigitalTwinRelationshipDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateDigitalTwinRelationshipDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-iot-domain-details.ts b/lib/iot/lib/model/create-iot-domain-details.ts new file mode 100644 index 0000000000..e16751b050 --- /dev/null +++ b/lib/iot/lib/model/create-iot-domain-details.ts @@ -0,0 +1,69 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new IoT domain to be created. + */ +export interface CreateIotDomainDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain group. + */ + "iotDomainGroupId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateIotDomainDetails { + export function getJsonObj(obj: CreateIotDomainDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateIotDomainDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/create-iot-domain-group-details.ts b/lib/iot/lib/model/create-iot-domain-group-details.ts new file mode 100644 index 0000000000..df7970981e --- /dev/null +++ b/lib/iot/lib/model/create-iot-domain-group-details.ts @@ -0,0 +1,65 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new IoT domain group to be created. + */ +export interface CreateIotDomainGroupDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateIotDomainGroupDetails { + export function getJsonObj(obj: CreateIotDomainGroupDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateIotDomainGroupDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/data-retention-periods-in-days.ts b/lib/iot/lib/model/data-retention-periods-in-days.ts new file mode 100644 index 0000000000..17e43fc5ac --- /dev/null +++ b/lib/iot/lib/model/data-retention-periods-in-days.ts @@ -0,0 +1,52 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Data Retention periods + */ +export interface DataRetentionPeriodsInDays { + /** + * Number of days for which any raw data sent to IoT devices would be retained for. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "rawData": number; + /** + * Number of days for which any data sent to IoT devices would be retained for. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "rejectedData": number; + /** + * Number of days for which any normalized data sent to IoT devices would be retained for. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "historizedData": number; + /** + * Number of days for which any raw command data sent to IoT devices would be retained for. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "rawCommandData": number; +} + +export namespace DataRetentionPeriodsInDays { + export function getJsonObj(obj: DataRetentionPeriodsInDays): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataRetentionPeriodsInDays): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-collection.ts b/lib/iot/lib/model/digital-twin-adapter-collection.ts new file mode 100644 index 0000000000..3eea402c2f --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-collection.ts @@ -0,0 +1,59 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a digital twin adapter search. Contains both summary and additional metadata information. + * + */ +export interface DigitalTwinAdapterCollection { + /** + * List of the digital twin adapters. + */ + "items": Array; +} + +export namespace DigitalTwinAdapterCollection { + export function getJsonObj(obj: DigitalTwinAdapterCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinAdapterSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinAdapterSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-envelope-mapping.ts b/lib/iot/lib/model/digital-twin-adapter-envelope-mapping.ts new file mode 100644 index 0000000000..5a5b100092 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-envelope-mapping.ts @@ -0,0 +1,47 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Maps the metadata fields from the inbound payload using JQ. + * These mappings allow you to extract specific metadata such as timestamps using JQ expressions. + * + */ +export interface DigitalTwinAdapterEnvelopeMapping { + /** + * JQ expression to extract the observation timestamp from the payload. If not specified, +* the system will default to using {@code timeReceived} as the timestamp. +*

+Example: For payload {@code {\"time\": \"\",\"temp\": 65,\"hum\": 55}} +* 'timeObserved' can be mapped as [JQ Expression](https://jqplay.org/) {@code $.time}. +* + */ + "timeObserved"?: string; +} + +export namespace DigitalTwinAdapterEnvelopeMapping { + export function getJsonObj(obj: DigitalTwinAdapterEnvelopeMapping): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterEnvelopeMapping): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-inbound-envelope.ts b/lib/iot/lib/model/digital-twin-adapter-inbound-envelope.ts new file mode 100644 index 0000000000..f7ced1a3e0 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-inbound-envelope.ts @@ -0,0 +1,67 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Payload containing device-specific metadata and optional value mappings used to interpret + * or transform that metadata. This structure includes the device endpoint, the actual payload, + * and an optional envelope mapping that applies [JQ](https://stedolan.github.io/jq/) expressions + * to extract or reshape the data as needed. + * + */ +export interface DigitalTwinAdapterInboundEnvelope { + /** + * The device endpoint. + * + */ + "referenceEndpoint": string; + "referencePayload"?: model.DigitalTwinAdapterJsonPayload; + "envelopeMapping"?: model.DigitalTwinAdapterEnvelopeMapping; +} + +export namespace DigitalTwinAdapterInboundEnvelope { + export function getJsonObj(obj: DigitalTwinAdapterInboundEnvelope): object { + const jsonObj = { + ...obj, + ...{ + "referencePayload": obj.referencePayload + ? model.DigitalTwinAdapterPayload.getJsonObj(obj.referencePayload) + : undefined, + "envelopeMapping": obj.envelopeMapping + ? model.DigitalTwinAdapterEnvelopeMapping.getJsonObj(obj.envelopeMapping) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterInboundEnvelope): object { + const jsonObj = { + ...obj, + ...{ + "referencePayload": obj.referencePayload + ? model.DigitalTwinAdapterPayload.getDeserializedJsonObj(obj.referencePayload) + : undefined, + "envelopeMapping": obj.envelopeMapping + ? model.DigitalTwinAdapterEnvelopeMapping.getDeserializedJsonObj(obj.envelopeMapping) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-inbound-route.ts b/lib/iot/lib/model/digital-twin-adapter-inbound-route.ts new file mode 100644 index 0000000000..ee0a4557f7 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-inbound-route.ts @@ -0,0 +1,96 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Defines how inbound device payloads should be routed and mapped within a digital twin context. + * Routes are evaluated in the order they are defined, and only the first matching + * condition is processed. A final default route (with + * a condition that always evaluates to true) is recommended for fallback handling. + * + */ +export interface DigitalTwinAdapterInboundRoute { + /** + * A boolean expression used to determine whether the following transformation + * should be processed for the incoming payload. This expression is typically based + * on fields defined at the inbound Envelope and is evaluated before applying the {@code payloadMapping}. + * + */ + "condition": string; + "referencePayload"?: model.DigitalTwinAdapterJsonPayload; + /** + * A set of key-value JQ expressions used to transform the incoming payload into a shape +* compatible with the digital twin model's context or schema. +*

+The keys are target fields (in the digital twin model), and values are JQ expressions +* pointing to data in the reference payload. +*

+Example: +* Given payload: +* { +* \"time\": \"\", +* \"temp\": 65, +* \"hum\": 55 +* } +* And mapping: +* { +* \"temperature\": \"$.temp\", +* \"humidity\": \"$.hum\", +* \"timeObserved\": \"$.time\" +* } +* The output will be: +* { +* \"temperature\": 65, +* \"humidity\": 55, +* \"timeObserved\": \"\" +* } +* + */ + "payloadMapping"?: { [key: string]: string }; + /** + * Meaningful write up about the inbound route. + * + */ + "description"?: string; +} + +export namespace DigitalTwinAdapterInboundRoute { + export function getJsonObj(obj: DigitalTwinAdapterInboundRoute): object { + const jsonObj = { + ...obj, + ...{ + "referencePayload": obj.referencePayload + ? model.DigitalTwinAdapterPayload.getJsonObj(obj.referencePayload) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterInboundRoute): object { + const jsonObj = { + ...obj, + ...{ + "referencePayload": obj.referencePayload + ? model.DigitalTwinAdapterPayload.getDeserializedJsonObj(obj.referencePayload) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-json-payload.ts b/lib/iot/lib/model/digital-twin-adapter-json-payload.ts new file mode 100644 index 0000000000..95c6510549 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-json-payload.ts @@ -0,0 +1,66 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A payload structure containing JSON-formatted data from the digital twin device. +* This schema should be used when the parent payload 'dataFormat' is set to {@code JSON}. +* The {@code data} property contains the reference JSON content being passed from the device. +*

+Example: {@code {\"temperature\": 0,\"location\": {\"type\": \"point\"},\"serialNumber\": \"\"}} +* +*/ +export interface DigitalTwinAdapterJsonPayload extends model.DigitalTwinAdapterPayload { + /** + * JSON raw data. + */ + "data": { [key: string]: any }; + + "dataFormat": string; +} + +export namespace DigitalTwinAdapterJsonPayload { + export function getJsonObj( + obj: DigitalTwinAdapterJsonPayload, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DigitalTwinAdapterPayload.getJsonObj(obj) as DigitalTwinAdapterJsonPayload)), + ...{} + }; + + return jsonObj; + } + export const dataFormat = "JSON"; + export function getDeserializedJsonObj( + obj: DigitalTwinAdapterJsonPayload, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DigitalTwinAdapterPayload.getDeserializedJsonObj( + obj + ) as DigitalTwinAdapterJsonPayload)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-payload.ts b/lib/iot/lib/model/digital-twin-adapter-payload.ts new file mode 100644 index 0000000000..afec9dc391 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-payload.ts @@ -0,0 +1,61 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Reference payload structure template received from IoT device. This payload + * must specify its content type using the {@code dataFormat} property. + * + */ +export interface DigitalTwinAdapterPayload { + "dataFormat": string; +} + +export namespace DigitalTwinAdapterPayload { + export function getJsonObj(obj: DigitalTwinAdapterPayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "dataFormat" in obj && obj.dataFormat) { + switch (obj.dataFormat) { + case "JSON": + return model.DigitalTwinAdapterJsonPayload.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.dataFormat}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterPayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "dataFormat" in obj && obj.dataFormat) { + switch (obj.dataFormat) { + case "JSON": + return model.DigitalTwinAdapterJsonPayload.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.dataFormat}`); + } + } + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter-summary.ts b/lib/iot/lib/model/digital-twin-adapter-summary.ts new file mode 100644 index 0000000000..b3c1fce427 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter-summary.ts @@ -0,0 +1,100 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a digital twin adapter. + */ +export interface DigitalTwinAdapterSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId": string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The current state of the the digital twin adapter. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinAdapterSummary { + export function getJsonObj(obj: DigitalTwinAdapterSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapterSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-adapter.ts b/lib/iot/lib/model/digital-twin-adapter.ts new file mode 100644 index 0000000000..0eae5ebcc8 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-adapter.ts @@ -0,0 +1,135 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The digital twin adapter maps incoming data from IoT device into the corresponding digital twin instance. +* It defines the envelope structure, reference payload, routing and transformation rules using JSON Path and JQ to normalize the raw device data within the IoT domain. +*

+To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. +* If you are an administrator who needs to create policies to grant users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface DigitalTwinAdapter { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId": string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + "inboundEnvelope"?: model.DigitalTwinAdapterInboundEnvelope; + /** + * list of routes + */ + "inboundRoutes"?: Array; + /** + * The current state of the digital twin adapter. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinAdapter { + export function getJsonObj(obj: DigitalTwinAdapter): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinAdapter): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getDeserializedJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-instance-collection.ts b/lib/iot/lib/model/digital-twin-instance-collection.ts new file mode 100644 index 0000000000..777625a470 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-instance-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of digital twin instance search. Contains both summary and additional metadata information + */ +export interface DigitalTwinInstanceCollection { + /** + * List of digital twin instances. + */ + "items": Array; +} + +export namespace DigitalTwinInstanceCollection { + export function getJsonObj(obj: DigitalTwinInstanceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinInstanceSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinInstanceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinInstanceSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-instance-summary.ts b/lib/iot/lib/model/digital-twin-instance-summary.ts new file mode 100644 index 0000000000..f74d66026f --- /dev/null +++ b/lib/iot/lib/model/digital-twin-instance-summary.ts @@ -0,0 +1,115 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the digital twin instance + */ +export interface DigitalTwinInstanceSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance. + */ + "authId"?: string; + /** + * A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance. + * This could be a Bluetooth address, Ethernet MAC address, or serial number, depending on the use case. + * If not provided, the system will automatically generate one. + * + */ + "externalKey"?: string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId"?: string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + */ + "digitalTwinAdapterId"?: string; + /** + * The current state of the digital twin instance. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinInstanceSummary { + export function getJsonObj(obj: DigitalTwinInstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinInstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-instance.ts b/lib/iot/lib/model/digital-twin-instance.ts new file mode 100644 index 0000000000..45f152e6b4 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-instance.ts @@ -0,0 +1,120 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A digital twin instance is a virtual representation of a physical IoT device within the IoT domain. +*

+To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. +* If you are an administrator who needs to create policies to grant users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface DigitalTwinInstance { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance. + */ + "authId"?: string; + /** + * A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance. + * This could be a Bluetooth address, Ethernet MAC address, or serial number, depending on the use case. + * If not provided, the system will automatically generate one. + * + */ + "externalKey"?: string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId"?: string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + */ + "digitalTwinAdapterId"?: string; + /** + * The current state of the digital twin instance. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinInstance { + export function getJsonObj(obj: DigitalTwinInstance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinInstance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-model-collection.ts b/lib/iot/lib/model/digital-twin-model-collection.ts new file mode 100644 index 0000000000..ae8d156a3c --- /dev/null +++ b/lib/iot/lib/model/digital-twin-model-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a digital twin model search. Contains both summary and additional metadata information. + */ +export interface DigitalTwinModelCollection { + /** + * List of digital twin models. + */ + "items": Array; +} + +export namespace DigitalTwinModelCollection { + export function getJsonObj(obj: DigitalTwinModelCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinModelSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinModelCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinModelSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-model-summary.ts b/lib/iot/lib/model/digital-twin-model-summary.ts new file mode 100644 index 0000000000..2b93021880 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-model-summary.ts @@ -0,0 +1,97 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the digital twin model. + */ +export interface DigitalTwinModelSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification. + */ + "specUri": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * If left blank, the display name will be derived from the spec. + * + */ + "displayName": string; + /** + * A short description of the resource. If left blank, the description will be derived from the spec. + */ + "description"?: string; + /** + * The current state of the digital twin model. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinModelSummary { + export function getJsonObj(obj: DigitalTwinModelSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinModelSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-model.ts b/lib/iot/lib/model/digital-twin-model.ts new file mode 100644 index 0000000000..860056849d --- /dev/null +++ b/lib/iot/lib/model/digital-twin-model.ts @@ -0,0 +1,103 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A digital twin model, defined using [Digital Twins Definition Language](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v3/DTDL.v3.md), +* specifies the schema for digital twin instance, including its components, properties, telemetry, commands, and relationships within the IoT domain. +*

+To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. +* If you are an administrator who needs to create policies to grant users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface DigitalTwinModel { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification. + */ + "specUri": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * If left blank, the display name will be derived from the spec. + * + */ + "displayName": string; + /** + * A short description of the resource. If left blank, the description will be derived from the spec. + */ + "description"?: string; + /** + * The current state of the digital twin model. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinModel { + export function getJsonObj(obj: DigitalTwinModel): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinModel): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-relationship-collection.ts b/lib/iot/lib/model/digital-twin-relationship-collection.ts new file mode 100644 index 0000000000..4fe68db0e6 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-relationship-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of digital twin relationships search. Contains both summary and additional metadata information + */ +export interface DigitalTwinRelationshipCollection { + /** + * List of digital twin relationships + */ + "items": Array; +} + +export namespace DigitalTwinRelationshipCollection { + export function getJsonObj(obj: DigitalTwinRelationshipCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinRelationshipSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinRelationshipCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.DigitalTwinRelationshipSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-relationship-summary.ts b/lib/iot/lib/model/digital-twin-relationship-summary.ts new file mode 100644 index 0000000000..1b549ee598 --- /dev/null +++ b/lib/iot/lib/model/digital-twin-relationship-summary.ts @@ -0,0 +1,106 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Describes digital twin relationship summary + */ +export interface DigitalTwinRelationshipSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model. + * + */ + "contentPath": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. + * + */ + "sourceDigitalTwinInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. + */ + "targetDigitalTwinInstanceId": string; + /** + * The current state of the digital twin relationship. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinRelationshipSummary { + export function getJsonObj(obj: DigitalTwinRelationshipSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinRelationshipSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/digital-twin-relationship.ts b/lib/iot/lib/model/digital-twin-relationship.ts new file mode 100644 index 0000000000..d556a2494c --- /dev/null +++ b/lib/iot/lib/model/digital-twin-relationship.ts @@ -0,0 +1,116 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A digital twin relationship represents an association between two digital twin instances. +* It can include properties to describe the nature and context of the association within the IoT domain. +*

+To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. +* If you are an administrator who needs to create policies to grant users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface DigitalTwinRelationship { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model. + * + */ + "contentPath": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. + * + */ + "sourceDigitalTwinInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. + */ + "targetDigitalTwinInstanceId": string; + /** + * The value(s) of the relationship properties defined in the source digital twin model. + */ + "content"?: { [key: string]: any }; + /** + * The current state of the digital twin relationship. + */ + "lifecycleState": model.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace DigitalTwinRelationship { + export function getJsonObj(obj: DigitalTwinRelationship): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DigitalTwinRelationship): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/direct-data-access-details.ts b/lib/iot/lib/model/direct-data-access-details.ts new file mode 100644 index 0000000000..96ae1a049c --- /dev/null +++ b/lib/iot/lib/model/direct-data-access-details.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This contains configuration for direct data access. + */ +export interface DirectDataAccessDetails extends model.ConfigureIotDomainDataAccessDetails { + /** + * List of IAM groups of form described in [here](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/mnqmn/#GUID-3634D6C9-A7F1-4875-9925-BAEA2D3C5197) that are allowed to directly connect to the data host. + */ + "dbAllowListedIdentityGroupNames": Array; + + "type": string; +} + +export namespace DirectDataAccessDetails { + export function getJsonObj(obj: DirectDataAccessDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getJsonObj(obj) as DirectDataAccessDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "DIRECT"; + export function getDeserializedJsonObj( + obj: DirectDataAccessDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getDeserializedJsonObj( + obj + ) as DirectDataAccessDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/error-details.ts b/lib/iot/lib/model/error-details.ts new file mode 100644 index 0000000000..ee45bbdea6 --- /dev/null +++ b/lib/iot/lib/model/error-details.ts @@ -0,0 +1,44 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Error Information. + */ +export interface ErrorDetails { + /** + * A short error code that defines the error, meant for programmatic parsing. + */ + "code": string; + /** + * A human-readable error string. + */ + "message": string; +} + +export namespace ErrorDetails { + export function getJsonObj(obj: ErrorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ErrorDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/index.ts b/lib/iot/lib/model/index.ts new file mode 100644 index 0000000000..47296c84a1 --- /dev/null +++ b/lib/iot/lib/model/index.ts @@ -0,0 +1,140 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as ChangeIotDomainCompartmentDetails from "./change-iot-domain-compartment-details"; +export import ChangeIotDomainCompartmentDetails = ChangeIotDomainCompartmentDetails.ChangeIotDomainCompartmentDetails; +import * as ChangeIotDomainDataRetentionPeriodDetails from "./change-iot-domain-data-retention-period-details"; +export import ChangeIotDomainDataRetentionPeriodDetails = ChangeIotDomainDataRetentionPeriodDetails.ChangeIotDomainDataRetentionPeriodDetails; +import * as ChangeIotDomainGroupCompartmentDetails from "./change-iot-domain-group-compartment-details"; +export import ChangeIotDomainGroupCompartmentDetails = ChangeIotDomainGroupCompartmentDetails.ChangeIotDomainGroupCompartmentDetails; +import * as ConfigureIotDomainDataAccessDetails from "./configure-iot-domain-data-access-details"; +export import ConfigureIotDomainDataAccessDetails = ConfigureIotDomainDataAccessDetails.ConfigureIotDomainDataAccessDetails; +import * as ConfigureIotDomainGroupDataAccessDetails from "./configure-iot-domain-group-data-access-details"; +export import ConfigureIotDomainGroupDataAccessDetails = ConfigureIotDomainGroupDataAccessDetails.ConfigureIotDomainGroupDataAccessDetails; +import * as CreateDigitalTwinAdapterDetails from "./create-digital-twin-adapter-details"; +export import CreateDigitalTwinAdapterDetails = CreateDigitalTwinAdapterDetails.CreateDigitalTwinAdapterDetails; +import * as CreateDigitalTwinInstanceDetails from "./create-digital-twin-instance-details"; +export import CreateDigitalTwinInstanceDetails = CreateDigitalTwinInstanceDetails.CreateDigitalTwinInstanceDetails; +import * as CreateDigitalTwinModelDetails from "./create-digital-twin-model-details"; +export import CreateDigitalTwinModelDetails = CreateDigitalTwinModelDetails.CreateDigitalTwinModelDetails; +import * as CreateDigitalTwinRelationshipDetails from "./create-digital-twin-relationship-details"; +export import CreateDigitalTwinRelationshipDetails = CreateDigitalTwinRelationshipDetails.CreateDigitalTwinRelationshipDetails; +import * as CreateIotDomainDetails from "./create-iot-domain-details"; +export import CreateIotDomainDetails = CreateIotDomainDetails.CreateIotDomainDetails; +import * as CreateIotDomainGroupDetails from "./create-iot-domain-group-details"; +export import CreateIotDomainGroupDetails = CreateIotDomainGroupDetails.CreateIotDomainGroupDetails; +import * as DataRetentionPeriodsInDays from "./data-retention-periods-in-days"; +export import DataRetentionPeriodsInDays = DataRetentionPeriodsInDays.DataRetentionPeriodsInDays; +import * as DigitalTwinAdapter from "./digital-twin-adapter"; +export import DigitalTwinAdapter = DigitalTwinAdapter.DigitalTwinAdapter; +import * as DigitalTwinAdapterCollection from "./digital-twin-adapter-collection"; +export import DigitalTwinAdapterCollection = DigitalTwinAdapterCollection.DigitalTwinAdapterCollection; +import * as DigitalTwinAdapterEnvelopeMapping from "./digital-twin-adapter-envelope-mapping"; +export import DigitalTwinAdapterEnvelopeMapping = DigitalTwinAdapterEnvelopeMapping.DigitalTwinAdapterEnvelopeMapping; +import * as DigitalTwinAdapterInboundEnvelope from "./digital-twin-adapter-inbound-envelope"; +export import DigitalTwinAdapterInboundEnvelope = DigitalTwinAdapterInboundEnvelope.DigitalTwinAdapterInboundEnvelope; +import * as DigitalTwinAdapterInboundRoute from "./digital-twin-adapter-inbound-route"; +export import DigitalTwinAdapterInboundRoute = DigitalTwinAdapterInboundRoute.DigitalTwinAdapterInboundRoute; +import * as DigitalTwinAdapterPayload from "./digital-twin-adapter-payload"; +export import DigitalTwinAdapterPayload = DigitalTwinAdapterPayload.DigitalTwinAdapterPayload; +import * as DigitalTwinAdapterSummary from "./digital-twin-adapter-summary"; +export import DigitalTwinAdapterSummary = DigitalTwinAdapterSummary.DigitalTwinAdapterSummary; +import * as DigitalTwinInstance from "./digital-twin-instance"; +export import DigitalTwinInstance = DigitalTwinInstance.DigitalTwinInstance; +import * as DigitalTwinInstanceCollection from "./digital-twin-instance-collection"; +export import DigitalTwinInstanceCollection = DigitalTwinInstanceCollection.DigitalTwinInstanceCollection; +import * as DigitalTwinInstanceSummary from "./digital-twin-instance-summary"; +export import DigitalTwinInstanceSummary = DigitalTwinInstanceSummary.DigitalTwinInstanceSummary; +import * as DigitalTwinModel from "./digital-twin-model"; +export import DigitalTwinModel = DigitalTwinModel.DigitalTwinModel; +import * as DigitalTwinModelCollection from "./digital-twin-model-collection"; +export import DigitalTwinModelCollection = DigitalTwinModelCollection.DigitalTwinModelCollection; +import * as DigitalTwinModelSummary from "./digital-twin-model-summary"; +export import DigitalTwinModelSummary = DigitalTwinModelSummary.DigitalTwinModelSummary; +import * as DigitalTwinRelationship from "./digital-twin-relationship"; +export import DigitalTwinRelationship = DigitalTwinRelationship.DigitalTwinRelationship; +import * as DigitalTwinRelationshipCollection from "./digital-twin-relationship-collection"; +export import DigitalTwinRelationshipCollection = DigitalTwinRelationshipCollection.DigitalTwinRelationshipCollection; +import * as DigitalTwinRelationshipSummary from "./digital-twin-relationship-summary"; +export import DigitalTwinRelationshipSummary = DigitalTwinRelationshipSummary.DigitalTwinRelationshipSummary; +import * as ErrorDetails from "./error-details"; +export import ErrorDetails = ErrorDetails.ErrorDetails; +import * as InvokeRawCommandDetails from "./invoke-raw-command-details"; +export import InvokeRawCommandDetails = InvokeRawCommandDetails.InvokeRawCommandDetails; +import * as IotDomain from "./iot-domain"; +export import IotDomain = IotDomain.IotDomain; +import * as IotDomainCollection from "./iot-domain-collection"; +export import IotDomainCollection = IotDomainCollection.IotDomainCollection; +import * as IotDomainGroup from "./iot-domain-group"; +export import IotDomainGroup = IotDomainGroup.IotDomainGroup; +import * as IotDomainGroupCollection from "./iot-domain-group-collection"; +export import IotDomainGroupCollection = IotDomainGroupCollection.IotDomainGroupCollection; +import * as IotDomainGroupSummary from "./iot-domain-group-summary"; +export import IotDomainGroupSummary = IotDomainGroupSummary.IotDomainGroupSummary; +import * as IotDomainSummary from "./iot-domain-summary"; +export import IotDomainSummary = IotDomainSummary.IotDomainSummary; +import * as LifecycleState from "./lifecycle-state"; +export import LifecycleState = LifecycleState.LifecycleState; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as UpdateDigitalTwinAdapterDetails from "./update-digital-twin-adapter-details"; +export import UpdateDigitalTwinAdapterDetails = UpdateDigitalTwinAdapterDetails.UpdateDigitalTwinAdapterDetails; +import * as UpdateDigitalTwinInstanceDetails from "./update-digital-twin-instance-details"; +export import UpdateDigitalTwinInstanceDetails = UpdateDigitalTwinInstanceDetails.UpdateDigitalTwinInstanceDetails; +import * as UpdateDigitalTwinModelDetails from "./update-digital-twin-model-details"; +export import UpdateDigitalTwinModelDetails = UpdateDigitalTwinModelDetails.UpdateDigitalTwinModelDetails; +import * as UpdateDigitalTwinRelationshipDetails from "./update-digital-twin-relationship-details"; +export import UpdateDigitalTwinRelationshipDetails = UpdateDigitalTwinRelationshipDetails.UpdateDigitalTwinRelationshipDetails; +import * as UpdateIotDomainDetails from "./update-iot-domain-details"; +export import UpdateIotDomainDetails = UpdateIotDomainDetails.UpdateIotDomainDetails; +import * as UpdateIotDomainGroupDetails from "./update-iot-domain-group-details"; +export import UpdateIotDomainGroupDetails = UpdateIotDomainGroupDetails.UpdateIotDomainGroupDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; + +import * as ApexDataAccessDetails from "./apex-data-access-details"; +export import ApexDataAccessDetails = ApexDataAccessDetails.ApexDataAccessDetails; +import * as DigitalTwinAdapterJsonPayload from "./digital-twin-adapter-json-payload"; +export import DigitalTwinAdapterJsonPayload = DigitalTwinAdapterJsonPayload.DigitalTwinAdapterJsonPayload; +import * as DirectDataAccessDetails from "./direct-data-access-details"; +export import DirectDataAccessDetails = DirectDataAccessDetails.DirectDataAccessDetails; +import * as InvokeRawBinaryCommandDetails from "./invoke-raw-binary-command-details"; +export import InvokeRawBinaryCommandDetails = InvokeRawBinaryCommandDetails.InvokeRawBinaryCommandDetails; +import * as InvokeRawJsonCommandDetails from "./invoke-raw-json-command-details"; +export import InvokeRawJsonCommandDetails = InvokeRawJsonCommandDetails.InvokeRawJsonCommandDetails; +import * as InvokeRawTextCommandDetails from "./invoke-raw-text-command-details"; +export import InvokeRawTextCommandDetails = InvokeRawTextCommandDetails.InvokeRawTextCommandDetails; +import * as OrdsDataAccessDetails from "./ords-data-access-details"; +export import OrdsDataAccessDetails = OrdsDataAccessDetails.OrdsDataAccessDetails; diff --git a/lib/iot/lib/model/invoke-raw-binary-command-details.ts b/lib/iot/lib/model/invoke-raw-binary-command-details.ts new file mode 100644 index 0000000000..4c42bf5a88 --- /dev/null +++ b/lib/iot/lib/model/invoke-raw-binary-command-details.ts @@ -0,0 +1,65 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Binary data payload definition + */ +export interface InvokeRawBinaryCommandDetails extends model.InvokeRawCommandDetails { + /** + * Mime content type of data encoded using base64, default is application/octet-stream + */ + "requestDataContentType"?: string; + /** + * base 64 encoded request data + */ + "requestData"?: string; + + "requestDataFormat": string; +} + +export namespace InvokeRawBinaryCommandDetails { + export function getJsonObj( + obj: InvokeRawBinaryCommandDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getJsonObj(obj) as InvokeRawBinaryCommandDetails)), + ...{} + }; + + return jsonObj; + } + export const requestDataFormat = "BINARY"; + export function getDeserializedJsonObj( + obj: InvokeRawBinaryCommandDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getDeserializedJsonObj( + obj + ) as InvokeRawBinaryCommandDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/invoke-raw-command-details.ts b/lib/iot/lib/model/invoke-raw-command-details.ts new file mode 100644 index 0000000000..166aaea71a --- /dev/null +++ b/lib/iot/lib/model/invoke-raw-command-details.ts @@ -0,0 +1,98 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Definition of unstructured command invocation payload + */ +export interface InvokeRawCommandDetails { + /** + * Specified duration by which to send the request by. + */ + "requestDuration"?: string; + /** + * Specified duration by which to receive the response by. + */ + "responseDuration"?: string; + /** + * Device endpoint where request should be forwarded to. + */ + "requestEndpoint": string; + /** + * Device endpoint from which response is expected to come. + */ + "responseEndpoint"?: string; + + "requestDataFormat": string; +} + +export namespace InvokeRawCommandDetails { + export function getJsonObj(obj: InvokeRawCommandDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "requestDataFormat" in obj && obj.requestDataFormat) { + switch (obj.requestDataFormat) { + case "BINARY": + return model.InvokeRawBinaryCommandDetails.getJsonObj( + (jsonObj), + true + ); + case "TEXT": + return model.InvokeRawTextCommandDetails.getJsonObj( + (jsonObj), + true + ); + case "JSON": + return model.InvokeRawJsonCommandDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.requestDataFormat}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: InvokeRawCommandDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "requestDataFormat" in obj && obj.requestDataFormat) { + switch (obj.requestDataFormat) { + case "BINARY": + return model.InvokeRawBinaryCommandDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "TEXT": + return model.InvokeRawTextCommandDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "JSON": + return model.InvokeRawJsonCommandDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.requestDataFormat}`); + } + } + return jsonObj; + } +} diff --git a/lib/iot/lib/model/invoke-raw-json-command-details.ts b/lib/iot/lib/model/invoke-raw-json-command-details.ts new file mode 100644 index 0000000000..a923250060 --- /dev/null +++ b/lib/iot/lib/model/invoke-raw-json-command-details.ts @@ -0,0 +1,62 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Json data payload definition + */ +export interface InvokeRawJsonCommandDetails extends model.InvokeRawCommandDetails { + /** + * Mime content type of json data, default is application/json + */ + "requestDataContentType"?: string; + /** + * request data + */ + "requestData"?: { [key: string]: any }; + + "requestDataFormat": string; +} + +export namespace InvokeRawJsonCommandDetails { + export function getJsonObj(obj: InvokeRawJsonCommandDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getJsonObj(obj) as InvokeRawJsonCommandDetails)), + ...{} + }; + + return jsonObj; + } + export const requestDataFormat = "JSON"; + export function getDeserializedJsonObj( + obj: InvokeRawJsonCommandDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getDeserializedJsonObj( + obj + ) as InvokeRawJsonCommandDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/invoke-raw-text-command-details.ts b/lib/iot/lib/model/invoke-raw-text-command-details.ts new file mode 100644 index 0000000000..a60ff39e9c --- /dev/null +++ b/lib/iot/lib/model/invoke-raw-text-command-details.ts @@ -0,0 +1,62 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Text data payload definition + */ +export interface InvokeRawTextCommandDetails extends model.InvokeRawCommandDetails { + /** + * Mime content type of text data, default is text/plain + */ + "requestDataContentType"?: string; + /** + * Plain text request data + */ + "requestData"?: string; + + "requestDataFormat": string; +} + +export namespace InvokeRawTextCommandDetails { + export function getJsonObj(obj: InvokeRawTextCommandDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getJsonObj(obj) as InvokeRawTextCommandDetails)), + ...{} + }; + + return jsonObj; + } + export const requestDataFormat = "TEXT"; + export function getDeserializedJsonObj( + obj: InvokeRawTextCommandDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InvokeRawCommandDetails.getDeserializedJsonObj( + obj + ) as InvokeRawTextCommandDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain-collection.ts b/lib/iot/lib/model/iot-domain-collection.ts new file mode 100644 index 0000000000..eae6633392 --- /dev/null +++ b/lib/iot/lib/model/iot-domain-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an IoT domain search. Contains both summary items and other information, such as metadata. + */ +export interface IotDomainCollection { + /** + * List of IoT domains. + */ + "items": Array; +} + +export namespace IotDomainCollection { + export function getJsonObj(obj: IotDomainCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.IotDomainSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomainCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.IotDomainSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain-group-collection.ts b/lib/iot/lib/model/iot-domain-group-collection.ts new file mode 100644 index 0000000000..92df2ae119 --- /dev/null +++ b/lib/iot/lib/model/iot-domain-group-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an IoT Domain Group search. Contains both summary and additional metadata information. + */ +export interface IotDomainGroupCollection { + /** + * List of IoT Domain Group. + */ + "items": Array; +} + +export namespace IotDomainGroupCollection { + export function getJsonObj(obj: IotDomainGroupCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.IotDomainGroupSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomainGroupCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.IotDomainGroupSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain-group-summary.ts b/lib/iot/lib/model/iot-domain-group-summary.ts new file mode 100644 index 0000000000..a98f39a183 --- /dev/null +++ b/lib/iot/lib/model/iot-domain-group-summary.ts @@ -0,0 +1,92 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an IoT Domain Group. + */ +export interface IotDomainGroupSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The current state of an IoT Domain Group. + */ + "lifecycleState": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace IotDomainGroupSummary { + export function getJsonObj(obj: IotDomainGroupSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomainGroupSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain-group.ts b/lib/iot/lib/model/iot-domain-group.ts new file mode 100644 index 0000000000..7ed8473c71 --- /dev/null +++ b/lib/iot/lib/model/iot-domain-group.ts @@ -0,0 +1,128 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* An IoT domain group is an Oracle Cloud Infrastructure resource that provides a managed environment for organizing +* and managing IoT domains, within a compartment. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface IotDomainGroup { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The host name of the database corresponding to the IoT Domain group. + */ + "dataHost"?: string; + /** + * This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host. + */ + "dbAllowListedVcnIds"?: Array; + /** + * The connection string used to connect to the data host associated with the IoT domain group. + */ + "dbConnectionString"?: string; + /** + * The token scope used to connect to the data host associated with the IoT domain group. + */ + "dbTokenScope"?: string; + /** + * The current state of an IoT Domain Group. + */ + "lifecycleState": IotDomainGroup.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace IotDomainGroup { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: IotDomainGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomainGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain-summary.ts b/lib/iot/lib/model/iot-domain-summary.ts new file mode 100644 index 0000000000..c698619eef --- /dev/null +++ b/lib/iot/lib/model/iot-domain-summary.ts @@ -0,0 +1,96 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a IoT domain. + */ +export interface IotDomainSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain group. + */ + "iotDomainGroupId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The current state of the IoT domain. + */ + "lifecycleState": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace IotDomainSummary { + export function getJsonObj(obj: IotDomainSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomainSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/iot-domain.ts b/lib/iot/lib/model/iot-domain.ts new file mode 100644 index 0000000000..1ecb2569f5 --- /dev/null +++ b/lib/iot/lib/model/iot-domain.ts @@ -0,0 +1,143 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* An IoT domain is an Oracle Cloud Infrastructure resource that provides a managed environment for organizing and managing +* digital twin resources, such as models, adapters, instances and relationships, within a compartment and IoT domain group. +*

+To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator. +* If you are an administrator who needs to create policies to grant users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface IotDomain { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain group. + */ + "iotDomainGroupId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment corresponding to the resource. + */ + "compartmentId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Host name of an IoT domain, where IoT devices can connect to. + */ + "deviceHost"?: string; + /** + * List of IAM groups of form described in [here](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/mnqmn/#GUID-3634D6C9-A7F1-4875-9925-BAEA2D3C5197) that are allowed to directly connect to the data host. + */ + "dbAllowListedIdentityGroupNames"?: Array; + /** + * Host name of identity domain that is used for authenticating connect to data host via ORDS. + */ + "dbAllowedIdentityDomainHost"?: string; + "dataRetentionPeriodsInDays"?: model.DataRetentionPeriodsInDays; + /** + * The current state of the IoT domain. + */ + "lifecycleState": IotDomain.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The date and time when the resource was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time when the resource was last updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated"?: Date; +} + +export namespace IotDomain { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: IotDomain): object { + const jsonObj = { + ...obj, + ...{ + "dataRetentionPeriodsInDays": obj.dataRetentionPeriodsInDays + ? model.DataRetentionPeriodsInDays.getJsonObj(obj.dataRetentionPeriodsInDays) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IotDomain): object { + const jsonObj = { + ...obj, + ...{ + "dataRetentionPeriodsInDays": obj.dataRetentionPeriodsInDays + ? model.DataRetentionPeriodsInDays.getDeserializedJsonObj(obj.dataRetentionPeriodsInDays) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/lifecycle-state.ts b/lib/iot/lib/model/lifecycle-state.ts new file mode 100644 index 0000000000..c3361bc6c9 --- /dev/null +++ b/lib/iot/lib/model/lifecycle-state.ts @@ -0,0 +1,40 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible lifecycle states. + **/ +export enum LifecycleState { + Active = "ACTIVE", + Deleted = "DELETED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace LifecycleState { + export function getJsonObj(obj: LifecycleState): LifecycleState { + return obj; + } + export function getDeserializedJsonObj(obj: LifecycleState): LifecycleState { + return obj; + } +} diff --git a/lib/iot/lib/model/operation-status.ts b/lib/iot/lib/model/operation-status.ts new file mode 100644 index 0000000000..2f0f701aa2 --- /dev/null +++ b/lib/iot/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/iot/lib/model/operation-type.ts b/lib/iot/lib/model/operation-type.ts new file mode 100644 index 0000000000..d81da62d34 --- /dev/null +++ b/lib/iot/lib/model/operation-type.ts @@ -0,0 +1,49 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + CreateIotDomain = "CREATE_IOT_DOMAIN", + UpdateIotDomain = "UPDATE_IOT_DOMAIN", + DeleteIotDomain = "DELETE_IOT_DOMAIN", + MoveIotDomain = "MOVE_IOT_DOMAIN", + MoveIotDomainGroup = "MOVE_IOT_DOMAIN_GROUP", + CreateIotDomainGroup = "CREATE_IOT_DOMAIN_GROUP", + UpdateIotDomainGroup = "UPDATE_IOT_DOMAIN_GROUP", + DeleteIotDomainGroup = "DELETE_IOT_DOMAIN_GROUP", + ConfigureDomainDataAccess = "CONFIGURE_DOMAIN_DATA_ACCESS", + ConfigureDomainGroupDataAccess = "CONFIGURE_DOMAIN_GROUP_DATA_ACCESS", + ChangeIotDomainDataRetention = "CHANGE_IOT_DOMAIN_DATA_RETENTION", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/iot/lib/model/ords-data-access-details.ts b/lib/iot/lib/model/ords-data-access-details.ts new file mode 100644 index 0000000000..fed565e600 --- /dev/null +++ b/lib/iot/lib/model/ords-data-access-details.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This contains configuration for ORDS data access. + */ +export interface OrdsDataAccessDetails extends model.ConfigureIotDomainDataAccessDetails { + /** + * Host name of identity domain that is used for authenticating connect to data host via ORDS. + */ + "dbAllowedIdentityDomainHost": string; + + "type": string; +} + +export namespace OrdsDataAccessDetails { + export function getJsonObj(obj: OrdsDataAccessDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getJsonObj(obj) as OrdsDataAccessDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "ORDS"; + export function getDeserializedJsonObj( + obj: OrdsDataAccessDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigureIotDomainDataAccessDetails.getDeserializedJsonObj( + obj + ) as OrdsDataAccessDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-digital-twin-adapter-details.ts b/lib/iot/lib/model/update-digital-twin-adapter-details.ts new file mode 100644 index 0000000000..820bfc4430 --- /dev/null +++ b/lib/iot/lib/model/update-digital-twin-adapter-details.ts @@ -0,0 +1,90 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given digital twin adapter. + */ +export interface UpdateDigitalTwinAdapterDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + "inboundEnvelope"?: model.DigitalTwinAdapterInboundEnvelope; + /** + * list of routes + */ + "inboundRoutes"?: Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateDigitalTwinAdapterDetails { + export function getJsonObj(obj: UpdateDigitalTwinAdapterDetails): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateDigitalTwinAdapterDetails): object { + const jsonObj = { + ...obj, + ...{ + "inboundEnvelope": obj.inboundEnvelope + ? model.DigitalTwinAdapterInboundEnvelope.getDeserializedJsonObj(obj.inboundEnvelope) + : undefined, + "inboundRoutes": obj.inboundRoutes + ? obj.inboundRoutes.map(item => { + return model.DigitalTwinAdapterInboundRoute.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-digital-twin-instance-details.ts b/lib/iot/lib/model/update-digital-twin-instance-details.ts new file mode 100644 index 0000000000..bbe4e52455 --- /dev/null +++ b/lib/iot/lib/model/update-digital-twin-instance-details.ts @@ -0,0 +1,77 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given digital twin instance. + * + */ +export interface UpdateDigitalTwinInstanceDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (like VaultSecret, ClientCertificate etc.,) used to authenticate the digital twin instance. + */ + "authId"?: string; + /** + * A unique identifier for the physical entity (typically an IoT device) represented by the digital twin instance. + * This could be a Bluetooth address, Ethernet MAC address, or serial number, depending on the use case. + * If not provided, the system will automatically generate one. + * + */ + "externalKey"?: string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + */ + "digitalTwinAdapterId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateDigitalTwinInstanceDetails { + export function getJsonObj(obj: UpdateDigitalTwinInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateDigitalTwinInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-digital-twin-model-details.ts b/lib/iot/lib/model/update-digital-twin-model-details.ts new file mode 100644 index 0000000000..f59aa6a00b --- /dev/null +++ b/lib/iot/lib/model/update-digital-twin-model-details.ts @@ -0,0 +1,62 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given digital twin model. + */ +export interface UpdateDigitalTwinModelDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * If left blank, the display name will be derived from the spec. + * + */ + "displayName"?: string; + /** + * A short description of the resource. If left blank, the description will be derived from the spec. + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateDigitalTwinModelDetails { + export function getJsonObj(obj: UpdateDigitalTwinModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateDigitalTwinModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-digital-twin-relationship-details.ts b/lib/iot/lib/model/update-digital-twin-relationship-details.ts new file mode 100644 index 0000000000..3ad0d3e242 --- /dev/null +++ b/lib/iot/lib/model/update-digital-twin-relationship-details.ts @@ -0,0 +1,65 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given digital twin relationship. + */ +export interface UpdateDigitalTwinRelationshipDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * The value(s) of the relationship properties defined in the source digital twin model. + */ + "content"?: { [key: string]: any }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateDigitalTwinRelationshipDetails { + export function getJsonObj(obj: UpdateDigitalTwinRelationshipDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateDigitalTwinRelationshipDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-iot-domain-details.ts b/lib/iot/lib/model/update-iot-domain-details.ts new file mode 100644 index 0000000000..b3a7847ec8 --- /dev/null +++ b/lib/iot/lib/model/update-iot-domain-details.ts @@ -0,0 +1,61 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given IoT domain. + */ +export interface UpdateIotDomainDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateIotDomainDetails { + export function getJsonObj(obj: UpdateIotDomainDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateIotDomainDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/update-iot-domain-group-details.ts b/lib/iot/lib/model/update-iot-domain-group-details.ts new file mode 100644 index 0000000000..35efd53731 --- /dev/null +++ b/lib/iot/lib/model/update-iot-domain-group-details.ts @@ -0,0 +1,61 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated for the given IoT domain group. + */ +export interface UpdateIotDomainGroupDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A short description of the resource. + * + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateIotDomainGroupDetails { + export function getJsonObj(obj: UpdateIotDomainGroupDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateIotDomainGroupDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-error-collection.ts b/lib/iot/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..9521906050 --- /dev/null +++ b/lib/iot/lib/model/work-request-error-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-error.ts b/lib/iot/lib/model/work-request-error.ts new file mode 100644 index 0000000000..5cefaa65e2 --- /dev/null +++ b/lib/iot/lib/model/work-request-error.ts @@ -0,0 +1,52 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-log-entry-collection.ts b/lib/iot/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..8703a4251d --- /dev/null +++ b/lib/iot/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-log-entry.ts b/lib/iot/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..771a56ffc0 --- /dev/null +++ b/lib/iot/lib/model/work-request-log-entry.ts @@ -0,0 +1,46 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-resource-metadata-key.ts b/lib/iot/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..38705db07a --- /dev/null +++ b/lib/iot/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,41 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/iot/lib/model/work-request-resource.ts b/lib/iot/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..760d2d6962 --- /dev/null +++ b/lib/iot/lib/model/work-request-resource.ts @@ -0,0 +1,59 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * Describes how this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until the work is complete, + * at which point it transitions to CREATED, UPDATED, or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-summary-collection.ts b/lib/iot/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..f42cf63a16 --- /dev/null +++ b/lib/iot/lib/model/work-request-summary-collection.ts @@ -0,0 +1,58 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request-summary.ts b/lib/iot/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..c5fb17294b --- /dev/null +++ b/lib/iot/lib/model/work-request-summary.ts @@ -0,0 +1,105 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/model/work-request.ts b/lib/iot/lib/model/work-request.ts new file mode 100644 index 0000000000..009c5e0090 --- /dev/null +++ b/lib/iot/lib/model/work-request.ts @@ -0,0 +1,107 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request helps monitor long-running operations. When you initiate a long-running operation, + * the service creates a work request. This work request acts as an activity log, allowing you to track each + * step of the operation\u2019s progress. Each work request has an OCID, enabling programmatic interaction and automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request as a percentage of the total work to be completed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/request/change-iot-domain-compartment-request.ts b/lib/iot/lib/request/change-iot-domain-compartment-request.ts new file mode 100644 index 0000000000..1ce376ff2a --- /dev/null +++ b/lib/iot/lib/request/change-iot-domain-compartment-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainCompartment.ts.html |here} to see how to use ChangeIotDomainCompartmentRequest. + */ +export interface ChangeIotDomainCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * Details for changing the IoT domain compartment. + */ + "changeIotDomainCompartmentDetails": model.ChangeIotDomainCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/iot/lib/request/change-iot-domain-data-retention-period-request.ts b/lib/iot/lib/request/change-iot-domain-data-retention-period-request.ts new file mode 100644 index 0000000000..7bea703752 --- /dev/null +++ b/lib/iot/lib/request/change-iot-domain-data-retention-period-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainDataRetentionPeriod.ts.html |here} to see how to use ChangeIotDomainDataRetentionPeriodRequest. + */ +export interface ChangeIotDomainDataRetentionPeriodRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * Details for changing data retention period of IoT domain data. + */ + "changeIotDomainDataRetentionPeriodDetails": model.ChangeIotDomainDataRetentionPeriodDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/iot/lib/request/change-iot-domain-group-compartment-request.ts b/lib/iot/lib/request/change-iot-domain-group-compartment-request.ts new file mode 100644 index 0000000000..56c3a9706f --- /dev/null +++ b/lib/iot/lib/request/change-iot-domain-group-compartment-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ChangeIotDomainGroupCompartment.ts.html |here} to see how to use ChangeIotDomainGroupCompartmentRequest. + */ +export interface ChangeIotDomainGroupCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an IoT Domain Group. + */ + "iotDomainGroupId": string; + /** + * Details for changing the IoT domain group compartment. + */ + "changeIotDomainGroupCompartmentDetails": model.ChangeIotDomainGroupCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/iot/lib/request/configure-iot-domain-data-access-request.ts b/lib/iot/lib/request/configure-iot-domain-data-access-request.ts new file mode 100644 index 0000000000..e98154d5b6 --- /dev/null +++ b/lib/iot/lib/request/configure-iot-domain-data-access-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ConfigureIotDomainDataAccess.ts.html |here} to see how to use ConfigureIotDomainDataAccessRequest. + */ +export interface ConfigureIotDomainDataAccessRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * Details for configuring data access. + */ + "configureIotDomainDataAccessDetails": + | model.ApexDataAccessDetails + | model.DirectDataAccessDetails + | model.OrdsDataAccessDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/iot/lib/request/configure-iot-domain-group-data-access-request.ts b/lib/iot/lib/request/configure-iot-domain-group-data-access-request.ts new file mode 100644 index 0000000000..e23f74c46d --- /dev/null +++ b/lib/iot/lib/request/configure-iot-domain-group-data-access-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ConfigureIotDomainGroupDataAccess.ts.html |here} to see how to use ConfigureIotDomainGroupDataAccessRequest. + */ +export interface ConfigureIotDomainGroupDataAccessRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an IoT Domain Group. + */ + "iotDomainGroupId": string; + /** + * Details for configuring data access. + */ + "configureIotDomainGroupDataAccessDetails": model.ConfigureIotDomainGroupDataAccessDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/iot/lib/request/create-digital-twin-adapter-request.ts b/lib/iot/lib/request/create-digital-twin-adapter-request.ts new file mode 100644 index 0000000000..aaf0473acd --- /dev/null +++ b/lib/iot/lib/request/create-digital-twin-adapter-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinAdapter.ts.html |here} to see how to use CreateDigitalTwinAdapterRequest. + */ +export interface CreateDigitalTwinAdapterRequest extends common.BaseRequest { + /** + * Details for the new digital twin adapter. + */ + "createDigitalTwinAdapterDetails": model.CreateDigitalTwinAdapterDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/create-digital-twin-instance-request.ts b/lib/iot/lib/request/create-digital-twin-instance-request.ts new file mode 100644 index 0000000000..62b85b5500 --- /dev/null +++ b/lib/iot/lib/request/create-digital-twin-instance-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinInstance.ts.html |here} to see how to use CreateDigitalTwinInstanceRequest. + */ +export interface CreateDigitalTwinInstanceRequest extends common.BaseRequest { + /** + * Details for the new digital twin instance. + */ + "createDigitalTwinInstanceDetails": model.CreateDigitalTwinInstanceDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/create-digital-twin-model-request.ts b/lib/iot/lib/request/create-digital-twin-model-request.ts new file mode 100644 index 0000000000..280efb6e74 --- /dev/null +++ b/lib/iot/lib/request/create-digital-twin-model-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinModel.ts.html |here} to see how to use CreateDigitalTwinModelRequest. + */ +export interface CreateDigitalTwinModelRequest extends common.BaseRequest { + /** + * Details for the new digital twin model. + */ + "createDigitalTwinModelDetails": model.CreateDigitalTwinModelDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/create-digital-twin-relationship-request.ts b/lib/iot/lib/request/create-digital-twin-relationship-request.ts new file mode 100644 index 0000000000..28d15608e6 --- /dev/null +++ b/lib/iot/lib/request/create-digital-twin-relationship-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateDigitalTwinRelationship.ts.html |here} to see how to use CreateDigitalTwinRelationshipRequest. + */ +export interface CreateDigitalTwinRelationshipRequest extends common.BaseRequest { + /** + * Details for the new digital twin relationship. + */ + "createDigitalTwinRelationshipDetails": model.CreateDigitalTwinRelationshipDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/create-iot-domain-group-request.ts b/lib/iot/lib/request/create-iot-domain-group-request.ts new file mode 100644 index 0000000000..846e3e4515 --- /dev/null +++ b/lib/iot/lib/request/create-iot-domain-group-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateIotDomainGroup.ts.html |here} to see how to use CreateIotDomainGroupRequest. + */ +export interface CreateIotDomainGroupRequest extends common.BaseRequest { + /** + * Details for the new IoT domain group. + */ + "createIotDomainGroupDetails": model.CreateIotDomainGroupDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/create-iot-domain-request.ts b/lib/iot/lib/request/create-iot-domain-request.ts new file mode 100644 index 0000000000..c1c0aa5f0f --- /dev/null +++ b/lib/iot/lib/request/create-iot-domain-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/CreateIotDomain.ts.html |here} to see how to use CreateIotDomainRequest. + */ +export interface CreateIotDomainRequest extends common.BaseRequest { + /** + * Details for the new IoT domain. + */ + "createIotDomainDetails": model.CreateIotDomainDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-digital-twin-adapter-request.ts b/lib/iot/lib/request/delete-digital-twin-adapter-request.ts new file mode 100644 index 0000000000..53c91dc8c7 --- /dev/null +++ b/lib/iot/lib/request/delete-digital-twin-adapter-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinAdapter.ts.html |here} to see how to use DeleteDigitalTwinAdapterRequest. + */ +export interface DeleteDigitalTwinAdapterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + * + */ + "digitalTwinAdapterId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-digital-twin-instance-request.ts b/lib/iot/lib/request/delete-digital-twin-instance-request.ts new file mode 100644 index 0000000000..28ac5290ca --- /dev/null +++ b/lib/iot/lib/request/delete-digital-twin-instance-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinInstance.ts.html |here} to see how to use DeleteDigitalTwinInstanceRequest. + */ +export interface DeleteDigitalTwinInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin instance. + * + */ + "digitalTwinInstanceId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-digital-twin-model-request.ts b/lib/iot/lib/request/delete-digital-twin-model-request.ts new file mode 100644 index 0000000000..93e64fc744 --- /dev/null +++ b/lib/iot/lib/request/delete-digital-twin-model-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinModel.ts.html |here} to see how to use DeleteDigitalTwinModelRequest. + */ +export interface DeleteDigitalTwinModelRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin model. + */ + "digitalTwinModelId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-digital-twin-relationship-request.ts b/lib/iot/lib/request/delete-digital-twin-relationship-request.ts new file mode 100644 index 0000000000..f7be0fc62c --- /dev/null +++ b/lib/iot/lib/request/delete-digital-twin-relationship-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteDigitalTwinRelationship.ts.html |here} to see how to use DeleteDigitalTwinRelationshipRequest. + */ +export interface DeleteDigitalTwinRelationshipRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin relationship. + */ + "digitalTwinRelationshipId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-iot-domain-group-request.ts b/lib/iot/lib/request/delete-iot-domain-group-request.ts new file mode 100644 index 0000000000..b06b2c4ef0 --- /dev/null +++ b/lib/iot/lib/request/delete-iot-domain-group-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteIotDomainGroup.ts.html |here} to see how to use DeleteIotDomainGroupRequest. + */ +export interface DeleteIotDomainGroupRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an IoT Domain Group. + */ + "iotDomainGroupId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/delete-iot-domain-request.ts b/lib/iot/lib/request/delete-iot-domain-request.ts new file mode 100644 index 0000000000..86f0477692 --- /dev/null +++ b/lib/iot/lib/request/delete-iot-domain-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/DeleteIotDomain.ts.html |here} to see how to use DeleteIotDomainRequest. + */ +export interface DeleteIotDomainRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-digital-twin-adapter-request.ts b/lib/iot/lib/request/get-digital-twin-adapter-request.ts new file mode 100644 index 0000000000..d65727f762 --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-adapter-request.ts @@ -0,0 +1,32 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinAdapter.ts.html |here} to see how to use GetDigitalTwinAdapterRequest. + */ +export interface GetDigitalTwinAdapterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + * + */ + "digitalTwinAdapterId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-digital-twin-instance-content-request.ts b/lib/iot/lib/request/get-digital-twin-instance-content-request.ts new file mode 100644 index 0000000000..98c515b808 --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-instance-content-request.ts @@ -0,0 +1,36 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinInstanceContent.ts.html |here} to see how to use GetDigitalTwinInstanceContentRequest. + */ +export interface GetDigitalTwinInstanceContentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin instance. + * + */ + "digitalTwinInstanceId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * If set to true , digital twin instance metadata is included in the response. + */ + "shouldIncludeMetadata"?: boolean; +} diff --git a/lib/iot/lib/request/get-digital-twin-instance-request.ts b/lib/iot/lib/request/get-digital-twin-instance-request.ts new file mode 100644 index 0000000000..8c6e64ce62 --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-instance-request.ts @@ -0,0 +1,32 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinInstance.ts.html |here} to see how to use GetDigitalTwinInstanceRequest. + */ +export interface GetDigitalTwinInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin instance. + * + */ + "digitalTwinInstanceId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-digital-twin-model-request.ts b/lib/iot/lib/request/get-digital-twin-model-request.ts new file mode 100644 index 0000000000..081ac25bfa --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-model-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinModel.ts.html |here} to see how to use GetDigitalTwinModelRequest. + */ +export interface GetDigitalTwinModelRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin model. + */ + "digitalTwinModelId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-digital-twin-model-spec-request.ts b/lib/iot/lib/request/get-digital-twin-model-spec-request.ts new file mode 100644 index 0000000000..5f9dce04a4 --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-model-spec-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinModelSpec.ts.html |here} to see how to use GetDigitalTwinModelSpecRequest. + */ +export interface GetDigitalTwinModelSpecRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin model. + */ + "digitalTwinModelId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-digital-twin-relationship-request.ts b/lib/iot/lib/request/get-digital-twin-relationship-request.ts new file mode 100644 index 0000000000..87edcbb0c7 --- /dev/null +++ b/lib/iot/lib/request/get-digital-twin-relationship-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetDigitalTwinRelationship.ts.html |here} to see how to use GetDigitalTwinRelationshipRequest. + */ +export interface GetDigitalTwinRelationshipRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin relationship. + */ + "digitalTwinRelationshipId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-iot-domain-group-request.ts b/lib/iot/lib/request/get-iot-domain-group-request.ts new file mode 100644 index 0000000000..804a6a5db1 --- /dev/null +++ b/lib/iot/lib/request/get-iot-domain-group-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetIotDomainGroup.ts.html |here} to see how to use GetIotDomainGroupRequest. + */ +export interface GetIotDomainGroupRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an IoT Domain Group. + */ + "iotDomainGroupId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-iot-domain-request.ts b/lib/iot/lib/request/get-iot-domain-request.ts new file mode 100644 index 0000000000..a55b741d11 --- /dev/null +++ b/lib/iot/lib/request/get-iot-domain-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetIotDomain.ts.html |here} to see how to use GetIotDomainRequest. + */ +export interface GetIotDomainRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/get-work-request-request.ts b/lib/iot/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..f5f8148327 --- /dev/null +++ b/lib/iot/lib/request/get-work-request-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/index.ts b/lib/iot/lib/request/index.ts new file mode 100644 index 0000000000..888cd32d0a --- /dev/null +++ b/lib/iot/lib/request/index.ts @@ -0,0 +1,99 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as ChangeIotDomainCompartmentRequest from "./change-iot-domain-compartment-request"; +export import ChangeIotDomainCompartmentRequest = ChangeIotDomainCompartmentRequest.ChangeIotDomainCompartmentRequest; +import * as ChangeIotDomainDataRetentionPeriodRequest from "./change-iot-domain-data-retention-period-request"; +export import ChangeIotDomainDataRetentionPeriodRequest = ChangeIotDomainDataRetentionPeriodRequest.ChangeIotDomainDataRetentionPeriodRequest; +import * as ChangeIotDomainGroupCompartmentRequest from "./change-iot-domain-group-compartment-request"; +export import ChangeIotDomainGroupCompartmentRequest = ChangeIotDomainGroupCompartmentRequest.ChangeIotDomainGroupCompartmentRequest; +import * as ConfigureIotDomainDataAccessRequest from "./configure-iot-domain-data-access-request"; +export import ConfigureIotDomainDataAccessRequest = ConfigureIotDomainDataAccessRequest.ConfigureIotDomainDataAccessRequest; +import * as ConfigureIotDomainGroupDataAccessRequest from "./configure-iot-domain-group-data-access-request"; +export import ConfigureIotDomainGroupDataAccessRequest = ConfigureIotDomainGroupDataAccessRequest.ConfigureIotDomainGroupDataAccessRequest; +import * as CreateDigitalTwinAdapterRequest from "./create-digital-twin-adapter-request"; +export import CreateDigitalTwinAdapterRequest = CreateDigitalTwinAdapterRequest.CreateDigitalTwinAdapterRequest; +import * as CreateDigitalTwinInstanceRequest from "./create-digital-twin-instance-request"; +export import CreateDigitalTwinInstanceRequest = CreateDigitalTwinInstanceRequest.CreateDigitalTwinInstanceRequest; +import * as CreateDigitalTwinModelRequest from "./create-digital-twin-model-request"; +export import CreateDigitalTwinModelRequest = CreateDigitalTwinModelRequest.CreateDigitalTwinModelRequest; +import * as CreateDigitalTwinRelationshipRequest from "./create-digital-twin-relationship-request"; +export import CreateDigitalTwinRelationshipRequest = CreateDigitalTwinRelationshipRequest.CreateDigitalTwinRelationshipRequest; +import * as CreateIotDomainRequest from "./create-iot-domain-request"; +export import CreateIotDomainRequest = CreateIotDomainRequest.CreateIotDomainRequest; +import * as CreateIotDomainGroupRequest from "./create-iot-domain-group-request"; +export import CreateIotDomainGroupRequest = CreateIotDomainGroupRequest.CreateIotDomainGroupRequest; +import * as DeleteDigitalTwinAdapterRequest from "./delete-digital-twin-adapter-request"; +export import DeleteDigitalTwinAdapterRequest = DeleteDigitalTwinAdapterRequest.DeleteDigitalTwinAdapterRequest; +import * as DeleteDigitalTwinInstanceRequest from "./delete-digital-twin-instance-request"; +export import DeleteDigitalTwinInstanceRequest = DeleteDigitalTwinInstanceRequest.DeleteDigitalTwinInstanceRequest; +import * as DeleteDigitalTwinModelRequest from "./delete-digital-twin-model-request"; +export import DeleteDigitalTwinModelRequest = DeleteDigitalTwinModelRequest.DeleteDigitalTwinModelRequest; +import * as DeleteDigitalTwinRelationshipRequest from "./delete-digital-twin-relationship-request"; +export import DeleteDigitalTwinRelationshipRequest = DeleteDigitalTwinRelationshipRequest.DeleteDigitalTwinRelationshipRequest; +import * as DeleteIotDomainRequest from "./delete-iot-domain-request"; +export import DeleteIotDomainRequest = DeleteIotDomainRequest.DeleteIotDomainRequest; +import * as DeleteIotDomainGroupRequest from "./delete-iot-domain-group-request"; +export import DeleteIotDomainGroupRequest = DeleteIotDomainGroupRequest.DeleteIotDomainGroupRequest; +import * as GetDigitalTwinAdapterRequest from "./get-digital-twin-adapter-request"; +export import GetDigitalTwinAdapterRequest = GetDigitalTwinAdapterRequest.GetDigitalTwinAdapterRequest; +import * as GetDigitalTwinInstanceRequest from "./get-digital-twin-instance-request"; +export import GetDigitalTwinInstanceRequest = GetDigitalTwinInstanceRequest.GetDigitalTwinInstanceRequest; +import * as GetDigitalTwinInstanceContentRequest from "./get-digital-twin-instance-content-request"; +export import GetDigitalTwinInstanceContentRequest = GetDigitalTwinInstanceContentRequest.GetDigitalTwinInstanceContentRequest; +import * as GetDigitalTwinModelRequest from "./get-digital-twin-model-request"; +export import GetDigitalTwinModelRequest = GetDigitalTwinModelRequest.GetDigitalTwinModelRequest; +import * as GetDigitalTwinModelSpecRequest from "./get-digital-twin-model-spec-request"; +export import GetDigitalTwinModelSpecRequest = GetDigitalTwinModelSpecRequest.GetDigitalTwinModelSpecRequest; +import * as GetDigitalTwinRelationshipRequest from "./get-digital-twin-relationship-request"; +export import GetDigitalTwinRelationshipRequest = GetDigitalTwinRelationshipRequest.GetDigitalTwinRelationshipRequest; +import * as GetIotDomainRequest from "./get-iot-domain-request"; +export import GetIotDomainRequest = GetIotDomainRequest.GetIotDomainRequest; +import * as GetIotDomainGroupRequest from "./get-iot-domain-group-request"; +export import GetIotDomainGroupRequest = GetIotDomainGroupRequest.GetIotDomainGroupRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as InvokeRawCommandRequest from "./invoke-raw-command-request"; +export import InvokeRawCommandRequest = InvokeRawCommandRequest.InvokeRawCommandRequest; +import * as ListDigitalTwinAdaptersRequest from "./list-digital-twin-adapters-request"; +export import ListDigitalTwinAdaptersRequest = ListDigitalTwinAdaptersRequest.ListDigitalTwinAdaptersRequest; +import * as ListDigitalTwinInstancesRequest from "./list-digital-twin-instances-request"; +export import ListDigitalTwinInstancesRequest = ListDigitalTwinInstancesRequest.ListDigitalTwinInstancesRequest; +import * as ListDigitalTwinModelsRequest from "./list-digital-twin-models-request"; +export import ListDigitalTwinModelsRequest = ListDigitalTwinModelsRequest.ListDigitalTwinModelsRequest; +import * as ListDigitalTwinRelationshipsRequest from "./list-digital-twin-relationships-request"; +export import ListDigitalTwinRelationshipsRequest = ListDigitalTwinRelationshipsRequest.ListDigitalTwinRelationshipsRequest; +import * as ListIotDomainGroupsRequest from "./list-iot-domain-groups-request"; +export import ListIotDomainGroupsRequest = ListIotDomainGroupsRequest.ListIotDomainGroupsRequest; +import * as ListIotDomainsRequest from "./list-iot-domains-request"; +export import ListIotDomainsRequest = ListIotDomainsRequest.ListIotDomainsRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as UpdateDigitalTwinAdapterRequest from "./update-digital-twin-adapter-request"; +export import UpdateDigitalTwinAdapterRequest = UpdateDigitalTwinAdapterRequest.UpdateDigitalTwinAdapterRequest; +import * as UpdateDigitalTwinInstanceRequest from "./update-digital-twin-instance-request"; +export import UpdateDigitalTwinInstanceRequest = UpdateDigitalTwinInstanceRequest.UpdateDigitalTwinInstanceRequest; +import * as UpdateDigitalTwinModelRequest from "./update-digital-twin-model-request"; +export import UpdateDigitalTwinModelRequest = UpdateDigitalTwinModelRequest.UpdateDigitalTwinModelRequest; +import * as UpdateDigitalTwinRelationshipRequest from "./update-digital-twin-relationship-request"; +export import UpdateDigitalTwinRelationshipRequest = UpdateDigitalTwinRelationshipRequest.UpdateDigitalTwinRelationshipRequest; +import * as UpdateIotDomainRequest from "./update-iot-domain-request"; +export import UpdateIotDomainRequest = UpdateIotDomainRequest.UpdateIotDomainRequest; +import * as UpdateIotDomainGroupRequest from "./update-iot-domain-group-request"; +export import UpdateIotDomainGroupRequest = UpdateIotDomainGroupRequest.UpdateIotDomainGroupRequest; diff --git a/lib/iot/lib/request/invoke-raw-command-request.ts b/lib/iot/lib/request/invoke-raw-command-request.ts new file mode 100644 index 0000000000..1fc0e7c762 --- /dev/null +++ b/lib/iot/lib/request/invoke-raw-command-request.ts @@ -0,0 +1,48 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/InvokeRawCommand.ts.html |here} to see how to use InvokeRawCommandRequest. + */ +export interface InvokeRawCommandRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin instance. + * + */ + "digitalTwinInstanceId": string; + /** + * Details for the raw command invocation. + */ + "invokeRawCommandDetails": + | model.InvokeRawBinaryCommandDetails + | model.InvokeRawTextCommandDetails + | model.InvokeRawJsonCommandDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/list-digital-twin-adapters-request.ts b/lib/iot/lib/request/list-digital-twin-adapters-request.ts new file mode 100644 index 0000000000..93725ed015 --- /dev/null +++ b/lib/iot/lib/request/list-digital-twin-adapters-request.ts @@ -0,0 +1,90 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinAdapters.ts.html |here} to see how to use ListDigitalTwinAdaptersRequest. + */ +export interface ListDigitalTwinAdaptersRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. + * + */ + "iotDomainId": string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; + /** + * Filter resources that match the specified URI (DTMI) of the digital twin model. + * + */ + "digitalTwinModelSpecUri"?: string; + /** + * Filter resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + * + */ + "digitalTwinModelId"?: string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + * + */ + "lifecycleState"?: model.LifecycleState; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * Page representing the requested page of items. + */ + "page"?: string; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListDigitalTwinAdaptersRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListDigitalTwinAdaptersRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} + +export namespace ListDigitalTwinAdaptersRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-digital-twin-instances-request.ts b/lib/iot/lib/request/list-digital-twin-instances-request.ts new file mode 100644 index 0000000000..82db9b5eed --- /dev/null +++ b/lib/iot/lib/request/list-digital-twin-instances-request.ts @@ -0,0 +1,90 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinInstances.ts.html |here} to see how to use ListDigitalTwinInstancesRequest. + */ +export interface ListDigitalTwinInstancesRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. + * + */ + "iotDomainId": string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * Page representing the requested page of items. + */ + "page"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + * + */ + "lifecycleState"?: model.LifecycleState; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListDigitalTwinInstancesRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListDigitalTwinInstancesRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * Filter resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + * + */ + "digitalTwinModelId"?: string; + /** + * Filter resources that match the specified URI (DTMI) of the digital twin model. + * + */ + "digitalTwinModelSpecUri"?: string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; +} + +export namespace ListDigitalTwinInstancesRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-digital-twin-models-request.ts b/lib/iot/lib/request/list-digital-twin-models-request.ts new file mode 100644 index 0000000000..3aa5211e0c --- /dev/null +++ b/lib/iot/lib/request/list-digital-twin-models-request.ts @@ -0,0 +1,85 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinModels.ts.html |here} to see how to use ListDigitalTwinModelsRequest. + */ +export interface ListDigitalTwinModelsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. + * + */ + "iotDomainId": string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * Filters resources by spec URI prefix. For example, to search all versions of the {@code dtmi:example:device;1} model, pass the prefix without the version: {@code dtmi:example:device}. + * + */ + "specUriStartsWith"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * Page representing the requested page of items. + */ + "page"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + * + */ + "lifecycleState"?: model.LifecycleState; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListDigitalTwinModelsRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListDigitalTwinModelsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} + +export namespace ListDigitalTwinModelsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-digital-twin-relationships-request.ts b/lib/iot/lib/request/list-digital-twin-relationships-request.ts new file mode 100644 index 0000000000..de8507224e --- /dev/null +++ b/lib/iot/lib/request/list-digital-twin-relationships-request.ts @@ -0,0 +1,95 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListDigitalTwinRelationships.ts.html |here} to see how to use ListDigitalTwinRelationshipsRequest. + */ +export interface ListDigitalTwinRelationshipsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain in which to list digital twin resources. + * + */ + "iotDomainId": string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * Filters resources that match the content path of the digital twin relationship. + * + */ + "contentPath"?: string; + /** + * Filter resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source digital twin instance. + * + */ + "sourceDigitalTwinInstanceId"?: string; + /** + * Filter resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target digital twin instance. + * + */ + "targetDigitalTwinInstanceId"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + * + */ + "lifecycleState"?: model.LifecycleState; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * Page representing the requested page of items. + */ + "page"?: string; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListDigitalTwinRelationshipsRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListDigitalTwinRelationshipsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; +} + +export namespace ListDigitalTwinRelationshipsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-iot-domain-groups-request.ts b/lib/iot/lib/request/list-iot-domain-groups-request.ts new file mode 100644 index 0000000000..ddeabeb9d7 --- /dev/null +++ b/lib/iot/lib/request/list-iot-domain-groups-request.ts @@ -0,0 +1,81 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListIotDomainGroups.ts.html |here} to see how to use ListIotDomainGroupsRequest. + */ +export interface ListIotDomainGroupsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + */ + "lifecycleState"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination: The value of the opc-next-page response header from the previous \"List\" call. + * For important details on how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListIotDomainGroupsRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListIotDomainGroupsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} + +export namespace ListIotDomainGroupsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-iot-domains-request.ts b/lib/iot/lib/request/list-iot-domains-request.ts new file mode 100644 index 0000000000..536e9dc11a --- /dev/null +++ b/lib/iot/lib/request/list-iot-domains-request.ts @@ -0,0 +1,86 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListIotDomains.ts.html |here} to see how to use ListIotDomainsRequest. + */ +export interface ListIotDomainsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Filter resources by [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be a valid OCID of the resource type. + * + */ + "id"?: string; + /** + * Filter resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain group. + */ + "iotDomainGroupId"?: string; + /** + * Filter resources whose display name matches the specified value. + * + */ + "displayName"?: string; + /** + * Filter resources whose lifecycleState matches the specified value. + * + */ + "lifecycleState"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination: The value of the opc-next-page response header from the previous \"List\" call. + * For important details on how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListIotDomainsRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. + * Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: ListIotDomainsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} + +export namespace ListIotDomainsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/iot/lib/request/list-work-request-errors-request.ts b/lib/iot/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..4ea3893e5c --- /dev/null +++ b/lib/iot/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,65 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * For list pagination: The value of the opc-next-page response header from the previous \"List\" call. + * For important details on how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order can be specified. The default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListWorkRequestErrorsRequest.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } + + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/iot/lib/request/list-work-request-logs-request.ts b/lib/iot/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..d79daec68f --- /dev/null +++ b/lib/iot/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,65 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * For list pagination: The value of the opc-next-page response header from the previous \"List\" call. + * For important details on how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order can be specified. The default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListWorkRequestLogsRequest.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } + + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/iot/lib/request/list-work-requests-request.ts b/lib/iot/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..09a784ad13 --- /dev/null +++ b/lib/iot/lib/request/list-work-requests-request.ts @@ -0,0 +1,77 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "id"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * For list pagination: The value of the opc-next-page response header from the previous \"List\" call. + * For important details on how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * Specifies sort order to use, either ASC (ascending) or DESC (descending). + */ + "sortOrder"?: ListWorkRequestsRequest.SortOrder; + /** + * The field to sort by. Only one sort order can be specified. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/iot/lib/request/update-digital-twin-adapter-request.ts b/lib/iot/lib/request/update-digital-twin-adapter-request.ts new file mode 100644 index 0000000000..7a7847041a --- /dev/null +++ b/lib/iot/lib/request/update-digital-twin-adapter-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinAdapter.ts.html |here} to see how to use UpdateDigitalTwinAdapterRequest. + */ +export interface UpdateDigitalTwinAdapterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. + * + */ + "digitalTwinAdapterId": string; + /** + * The digital twin adapter details to be updated. + */ + "updateDigitalTwinAdapterDetails": model.UpdateDigitalTwinAdapterDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/update-digital-twin-instance-request.ts b/lib/iot/lib/request/update-digital-twin-instance-request.ts new file mode 100644 index 0000000000..b2ce0290d1 --- /dev/null +++ b/lib/iot/lib/request/update-digital-twin-instance-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinInstance.ts.html |here} to see how to use UpdateDigitalTwinInstanceRequest. + */ +export interface UpdateDigitalTwinInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin instance. + * + */ + "digitalTwinInstanceId": string; + /** + * The digital twin instance details to be updated. + */ + "updateDigitalTwinInstanceDetails": model.UpdateDigitalTwinInstanceDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/update-digital-twin-model-request.ts b/lib/iot/lib/request/update-digital-twin-model-request.ts new file mode 100644 index 0000000000..7c85949026 --- /dev/null +++ b/lib/iot/lib/request/update-digital-twin-model-request.ts @@ -0,0 +1,44 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinModel.ts.html |here} to see how to use UpdateDigitalTwinModelRequest. + */ +export interface UpdateDigitalTwinModelRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin model. + */ + "digitalTwinModelId": string; + /** + * The digital twin model details to be updated. + */ + "updateDigitalTwinModelDetails": model.UpdateDigitalTwinModelDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/update-digital-twin-relationship-request.ts b/lib/iot/lib/request/update-digital-twin-relationship-request.ts new file mode 100644 index 0000000000..1dad20ae4c --- /dev/null +++ b/lib/iot/lib/request/update-digital-twin-relationship-request.ts @@ -0,0 +1,44 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateDigitalTwinRelationship.ts.html |here} to see how to use UpdateDigitalTwinRelationshipRequest. + */ +export interface UpdateDigitalTwinRelationshipRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of digital twin relationship. + */ + "digitalTwinRelationshipId": string; + /** + * The digital twin relationship details to be updated. + */ + "updateDigitalTwinRelationshipDetails": model.UpdateDigitalTwinRelationshipDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/update-iot-domain-group-request.ts b/lib/iot/lib/request/update-iot-domain-group-request.ts new file mode 100644 index 0000000000..8632a8bec0 --- /dev/null +++ b/lib/iot/lib/request/update-iot-domain-group-request.ts @@ -0,0 +1,44 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateIotDomainGroup.ts.html |here} to see how to use UpdateIotDomainGroupRequest. + */ +export interface UpdateIotDomainGroupRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an IoT Domain Group. + */ + "iotDomainGroupId": string; + /** + * The IoT domain group details to be updated. + */ + "updateIotDomainGroupDetails": model.UpdateIotDomainGroupDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/request/update-iot-domain-request.ts b/lib/iot/lib/request/update-iot-domain-request.ts new file mode 100644 index 0000000000..e23695465a --- /dev/null +++ b/lib/iot/lib/request/update-iot-domain-request.ts @@ -0,0 +1,44 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/iot/UpdateIotDomain.ts.html |here} to see how to use UpdateIotDomainRequest. + */ +export interface UpdateIotDomainRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IoT domain. + */ + "iotDomainId": string; + /** + * The IoT domain details to be updated. + */ + "updateIotDomainDetails": model.UpdateIotDomainDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. + * If you need to contact Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/iot/lib/response/change-iot-domain-compartment-response.ts b/lib/iot/lib/response/change-iot-domain-compartment-response.ts new file mode 100644 index 0000000000..a406275b33 --- /dev/null +++ b/lib/iot/lib/response/change-iot-domain-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeIotDomainCompartmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/change-iot-domain-data-retention-period-response.ts b/lib/iot/lib/response/change-iot-domain-data-retention-period-response.ts new file mode 100644 index 0000000000..20fbd1928c --- /dev/null +++ b/lib/iot/lib/response/change-iot-domain-data-retention-period-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeIotDomainDataRetentionPeriodResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/change-iot-domain-group-compartment-response.ts b/lib/iot/lib/response/change-iot-domain-group-compartment-response.ts new file mode 100644 index 0000000000..4cecf21ecf --- /dev/null +++ b/lib/iot/lib/response/change-iot-domain-group-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeIotDomainGroupCompartmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/configure-iot-domain-data-access-response.ts b/lib/iot/lib/response/configure-iot-domain-data-access-response.ts new file mode 100644 index 0000000000..43d4d064b7 --- /dev/null +++ b/lib/iot/lib/response/configure-iot-domain-data-access-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ConfigureIotDomainDataAccessResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/configure-iot-domain-group-data-access-response.ts b/lib/iot/lib/response/configure-iot-domain-group-data-access-response.ts new file mode 100644 index 0000000000..3faa057553 --- /dev/null +++ b/lib/iot/lib/response/configure-iot-domain-group-data-access-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ConfigureIotDomainGroupDataAccessResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/create-digital-twin-adapter-response.ts b/lib/iot/lib/response/create-digital-twin-adapter-response.ts new file mode 100644 index 0000000000..5a755cc6ff --- /dev/null +++ b/lib/iot/lib/response/create-digital-twin-adapter-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateDigitalTwinAdapterResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinAdapter instance. + */ + "digitalTwinAdapter": model.DigitalTwinAdapter; +} diff --git a/lib/iot/lib/response/create-digital-twin-instance-response.ts b/lib/iot/lib/response/create-digital-twin-instance-response.ts new file mode 100644 index 0000000000..f2f177011a --- /dev/null +++ b/lib/iot/lib/response/create-digital-twin-instance-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateDigitalTwinInstanceResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinInstance instance. + */ + "digitalTwinInstance": model.DigitalTwinInstance; +} diff --git a/lib/iot/lib/response/create-digital-twin-model-response.ts b/lib/iot/lib/response/create-digital-twin-model-response.ts new file mode 100644 index 0000000000..9864fd8c7c --- /dev/null +++ b/lib/iot/lib/response/create-digital-twin-model-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateDigitalTwinModelResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinModel instance. + */ + "digitalTwinModel": model.DigitalTwinModel; +} diff --git a/lib/iot/lib/response/create-digital-twin-relationship-response.ts b/lib/iot/lib/response/create-digital-twin-relationship-response.ts new file mode 100644 index 0000000000..4e277182d9 --- /dev/null +++ b/lib/iot/lib/response/create-digital-twin-relationship-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateDigitalTwinRelationshipResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinRelationship instance. + */ + "digitalTwinRelationship": model.DigitalTwinRelationship; +} diff --git a/lib/iot/lib/response/create-iot-domain-group-response.ts b/lib/iot/lib/response/create-iot-domain-group-response.ts new file mode 100644 index 0000000000..b073a27645 --- /dev/null +++ b/lib/iot/lib/response/create-iot-domain-group-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateIotDomainGroupResponse { + /** + * URL for the created IoT Domain Group. The IoT Domain Group OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.IotDomainGroup instance. + */ + "iotDomainGroup": model.IotDomainGroup; +} diff --git a/lib/iot/lib/response/create-iot-domain-response.ts b/lib/iot/lib/response/create-iot-domain-response.ts new file mode 100644 index 0000000000..5c4e0faeb2 --- /dev/null +++ b/lib/iot/lib/response/create-iot-domain-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateIotDomainResponse { + /** + * URL for the created IoT domain. The IoT domain OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.IotDomain instance. + */ + "iotDomain": model.IotDomain; +} diff --git a/lib/iot/lib/response/delete-digital-twin-adapter-response.ts b/lib/iot/lib/response/delete-digital-twin-adapter-response.ts new file mode 100644 index 0000000000..30242533c6 --- /dev/null +++ b/lib/iot/lib/response/delete-digital-twin-adapter-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteDigitalTwinAdapterResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/delete-digital-twin-instance-response.ts b/lib/iot/lib/response/delete-digital-twin-instance-response.ts new file mode 100644 index 0000000000..dff4dd28c8 --- /dev/null +++ b/lib/iot/lib/response/delete-digital-twin-instance-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteDigitalTwinInstanceResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/delete-digital-twin-model-response.ts b/lib/iot/lib/response/delete-digital-twin-model-response.ts new file mode 100644 index 0000000000..b2c2bb32b9 --- /dev/null +++ b/lib/iot/lib/response/delete-digital-twin-model-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteDigitalTwinModelResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/delete-digital-twin-relationship-response.ts b/lib/iot/lib/response/delete-digital-twin-relationship-response.ts new file mode 100644 index 0000000000..35c671e54f --- /dev/null +++ b/lib/iot/lib/response/delete-digital-twin-relationship-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteDigitalTwinRelationshipResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/delete-iot-domain-group-response.ts b/lib/iot/lib/response/delete-iot-domain-group-response.ts new file mode 100644 index 0000000000..b3d4f878cc --- /dev/null +++ b/lib/iot/lib/response/delete-iot-domain-group-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteIotDomainGroupResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/delete-iot-domain-response.ts b/lib/iot/lib/response/delete-iot-domain-response.ts new file mode 100644 index 0000000000..3cea7ba25f --- /dev/null +++ b/lib/iot/lib/response/delete-iot-domain-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteIotDomainResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/get-digital-twin-adapter-response.ts b/lib/iot/lib/response/get-digital-twin-adapter-response.ts new file mode 100644 index 0000000000..f1de022b76 --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-adapter-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinAdapterResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinAdapter instance. + */ + "digitalTwinAdapter": model.DigitalTwinAdapter; +} diff --git a/lib/iot/lib/response/get-digital-twin-instance-content-response.ts b/lib/iot/lib/response/get-digital-twin-instance-content-response.ts new file mode 100644 index 0000000000..7f80d31aff --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-instance-content-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinInstanceContentResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned { [key: string]: any; } instance. + */ + "value": { [key: string]: any }; +} diff --git a/lib/iot/lib/response/get-digital-twin-instance-response.ts b/lib/iot/lib/response/get-digital-twin-instance-response.ts new file mode 100644 index 0000000000..8807601969 --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-instance-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinInstanceResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinInstance instance. + */ + "digitalTwinInstance": model.DigitalTwinInstance; +} diff --git a/lib/iot/lib/response/get-digital-twin-model-response.ts b/lib/iot/lib/response/get-digital-twin-model-response.ts new file mode 100644 index 0000000000..a19a33ed37 --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-model-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinModelResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinModel instance. + */ + "digitalTwinModel": model.DigitalTwinModel; +} diff --git a/lib/iot/lib/response/get-digital-twin-model-spec-response.ts b/lib/iot/lib/response/get-digital-twin-model-spec-response.ts new file mode 100644 index 0000000000..61555b9711 --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-model-spec-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinModelSpecResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned { [key: string]: any; } instance. + */ + "value": { [key: string]: any }; +} diff --git a/lib/iot/lib/response/get-digital-twin-relationship-response.ts b/lib/iot/lib/response/get-digital-twin-relationship-response.ts new file mode 100644 index 0000000000..7f461c9612 --- /dev/null +++ b/lib/iot/lib/response/get-digital-twin-relationship-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetDigitalTwinRelationshipResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinRelationship instance. + */ + "digitalTwinRelationship": model.DigitalTwinRelationship; +} diff --git a/lib/iot/lib/response/get-iot-domain-group-response.ts b/lib/iot/lib/response/get-iot-domain-group-response.ts new file mode 100644 index 0000000000..e999eda9a2 --- /dev/null +++ b/lib/iot/lib/response/get-iot-domain-group-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetIotDomainGroupResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.IotDomainGroup instance. + */ + "iotDomainGroup": model.IotDomainGroup; +} diff --git a/lib/iot/lib/response/get-iot-domain-response.ts b/lib/iot/lib/response/get-iot-domain-response.ts new file mode 100644 index 0000000000..6cdcff2368 --- /dev/null +++ b/lib/iot/lib/response/get-iot-domain-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetIotDomainResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.IotDomain instance. + */ + "iotDomain": model.IotDomain; +} diff --git a/lib/iot/lib/response/get-work-request-response.ts b/lib/iot/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..16bbb05454 --- /dev/null +++ b/lib/iot/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/iot/lib/response/index.ts b/lib/iot/lib/response/index.ts new file mode 100644 index 0000000000..445df0936f --- /dev/null +++ b/lib/iot/lib/response/index.ts @@ -0,0 +1,99 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as ChangeIotDomainCompartmentResponse from "./change-iot-domain-compartment-response"; +export import ChangeIotDomainCompartmentResponse = ChangeIotDomainCompartmentResponse.ChangeIotDomainCompartmentResponse; +import * as ChangeIotDomainDataRetentionPeriodResponse from "./change-iot-domain-data-retention-period-response"; +export import ChangeIotDomainDataRetentionPeriodResponse = ChangeIotDomainDataRetentionPeriodResponse.ChangeIotDomainDataRetentionPeriodResponse; +import * as ChangeIotDomainGroupCompartmentResponse from "./change-iot-domain-group-compartment-response"; +export import ChangeIotDomainGroupCompartmentResponse = ChangeIotDomainGroupCompartmentResponse.ChangeIotDomainGroupCompartmentResponse; +import * as ConfigureIotDomainDataAccessResponse from "./configure-iot-domain-data-access-response"; +export import ConfigureIotDomainDataAccessResponse = ConfigureIotDomainDataAccessResponse.ConfigureIotDomainDataAccessResponse; +import * as ConfigureIotDomainGroupDataAccessResponse from "./configure-iot-domain-group-data-access-response"; +export import ConfigureIotDomainGroupDataAccessResponse = ConfigureIotDomainGroupDataAccessResponse.ConfigureIotDomainGroupDataAccessResponse; +import * as CreateDigitalTwinAdapterResponse from "./create-digital-twin-adapter-response"; +export import CreateDigitalTwinAdapterResponse = CreateDigitalTwinAdapterResponse.CreateDigitalTwinAdapterResponse; +import * as CreateDigitalTwinInstanceResponse from "./create-digital-twin-instance-response"; +export import CreateDigitalTwinInstanceResponse = CreateDigitalTwinInstanceResponse.CreateDigitalTwinInstanceResponse; +import * as CreateDigitalTwinModelResponse from "./create-digital-twin-model-response"; +export import CreateDigitalTwinModelResponse = CreateDigitalTwinModelResponse.CreateDigitalTwinModelResponse; +import * as CreateDigitalTwinRelationshipResponse from "./create-digital-twin-relationship-response"; +export import CreateDigitalTwinRelationshipResponse = CreateDigitalTwinRelationshipResponse.CreateDigitalTwinRelationshipResponse; +import * as CreateIotDomainResponse from "./create-iot-domain-response"; +export import CreateIotDomainResponse = CreateIotDomainResponse.CreateIotDomainResponse; +import * as CreateIotDomainGroupResponse from "./create-iot-domain-group-response"; +export import CreateIotDomainGroupResponse = CreateIotDomainGroupResponse.CreateIotDomainGroupResponse; +import * as DeleteDigitalTwinAdapterResponse from "./delete-digital-twin-adapter-response"; +export import DeleteDigitalTwinAdapterResponse = DeleteDigitalTwinAdapterResponse.DeleteDigitalTwinAdapterResponse; +import * as DeleteDigitalTwinInstanceResponse from "./delete-digital-twin-instance-response"; +export import DeleteDigitalTwinInstanceResponse = DeleteDigitalTwinInstanceResponse.DeleteDigitalTwinInstanceResponse; +import * as DeleteDigitalTwinModelResponse from "./delete-digital-twin-model-response"; +export import DeleteDigitalTwinModelResponse = DeleteDigitalTwinModelResponse.DeleteDigitalTwinModelResponse; +import * as DeleteDigitalTwinRelationshipResponse from "./delete-digital-twin-relationship-response"; +export import DeleteDigitalTwinRelationshipResponse = DeleteDigitalTwinRelationshipResponse.DeleteDigitalTwinRelationshipResponse; +import * as DeleteIotDomainResponse from "./delete-iot-domain-response"; +export import DeleteIotDomainResponse = DeleteIotDomainResponse.DeleteIotDomainResponse; +import * as DeleteIotDomainGroupResponse from "./delete-iot-domain-group-response"; +export import DeleteIotDomainGroupResponse = DeleteIotDomainGroupResponse.DeleteIotDomainGroupResponse; +import * as GetDigitalTwinAdapterResponse from "./get-digital-twin-adapter-response"; +export import GetDigitalTwinAdapterResponse = GetDigitalTwinAdapterResponse.GetDigitalTwinAdapterResponse; +import * as GetDigitalTwinInstanceResponse from "./get-digital-twin-instance-response"; +export import GetDigitalTwinInstanceResponse = GetDigitalTwinInstanceResponse.GetDigitalTwinInstanceResponse; +import * as GetDigitalTwinInstanceContentResponse from "./get-digital-twin-instance-content-response"; +export import GetDigitalTwinInstanceContentResponse = GetDigitalTwinInstanceContentResponse.GetDigitalTwinInstanceContentResponse; +import * as GetDigitalTwinModelResponse from "./get-digital-twin-model-response"; +export import GetDigitalTwinModelResponse = GetDigitalTwinModelResponse.GetDigitalTwinModelResponse; +import * as GetDigitalTwinModelSpecResponse from "./get-digital-twin-model-spec-response"; +export import GetDigitalTwinModelSpecResponse = GetDigitalTwinModelSpecResponse.GetDigitalTwinModelSpecResponse; +import * as GetDigitalTwinRelationshipResponse from "./get-digital-twin-relationship-response"; +export import GetDigitalTwinRelationshipResponse = GetDigitalTwinRelationshipResponse.GetDigitalTwinRelationshipResponse; +import * as GetIotDomainResponse from "./get-iot-domain-response"; +export import GetIotDomainResponse = GetIotDomainResponse.GetIotDomainResponse; +import * as GetIotDomainGroupResponse from "./get-iot-domain-group-response"; +export import GetIotDomainGroupResponse = GetIotDomainGroupResponse.GetIotDomainGroupResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as InvokeRawCommandResponse from "./invoke-raw-command-response"; +export import InvokeRawCommandResponse = InvokeRawCommandResponse.InvokeRawCommandResponse; +import * as ListDigitalTwinAdaptersResponse from "./list-digital-twin-adapters-response"; +export import ListDigitalTwinAdaptersResponse = ListDigitalTwinAdaptersResponse.ListDigitalTwinAdaptersResponse; +import * as ListDigitalTwinInstancesResponse from "./list-digital-twin-instances-response"; +export import ListDigitalTwinInstancesResponse = ListDigitalTwinInstancesResponse.ListDigitalTwinInstancesResponse; +import * as ListDigitalTwinModelsResponse from "./list-digital-twin-models-response"; +export import ListDigitalTwinModelsResponse = ListDigitalTwinModelsResponse.ListDigitalTwinModelsResponse; +import * as ListDigitalTwinRelationshipsResponse from "./list-digital-twin-relationships-response"; +export import ListDigitalTwinRelationshipsResponse = ListDigitalTwinRelationshipsResponse.ListDigitalTwinRelationshipsResponse; +import * as ListIotDomainGroupsResponse from "./list-iot-domain-groups-response"; +export import ListIotDomainGroupsResponse = ListIotDomainGroupsResponse.ListIotDomainGroupsResponse; +import * as ListIotDomainsResponse from "./list-iot-domains-response"; +export import ListIotDomainsResponse = ListIotDomainsResponse.ListIotDomainsResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as UpdateDigitalTwinAdapterResponse from "./update-digital-twin-adapter-response"; +export import UpdateDigitalTwinAdapterResponse = UpdateDigitalTwinAdapterResponse.UpdateDigitalTwinAdapterResponse; +import * as UpdateDigitalTwinInstanceResponse from "./update-digital-twin-instance-response"; +export import UpdateDigitalTwinInstanceResponse = UpdateDigitalTwinInstanceResponse.UpdateDigitalTwinInstanceResponse; +import * as UpdateDigitalTwinModelResponse from "./update-digital-twin-model-response"; +export import UpdateDigitalTwinModelResponse = UpdateDigitalTwinModelResponse.UpdateDigitalTwinModelResponse; +import * as UpdateDigitalTwinRelationshipResponse from "./update-digital-twin-relationship-response"; +export import UpdateDigitalTwinRelationshipResponse = UpdateDigitalTwinRelationshipResponse.UpdateDigitalTwinRelationshipResponse; +import * as UpdateIotDomainResponse from "./update-iot-domain-response"; +export import UpdateIotDomainResponse = UpdateIotDomainResponse.UpdateIotDomainResponse; +import * as UpdateIotDomainGroupResponse from "./update-iot-domain-group-response"; +export import UpdateIotDomainGroupResponse = UpdateIotDomainGroupResponse.UpdateIotDomainGroupResponse; diff --git a/lib/iot/lib/response/invoke-raw-command-response.ts b/lib/iot/lib/response/invoke-raw-command-response.ts new file mode 100644 index 0000000000..147c891ee0 --- /dev/null +++ b/lib/iot/lib/response/invoke-raw-command-response.ts @@ -0,0 +1,28 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface InvokeRawCommandResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URL where the status of command invocation could be retrieved + */ + "contentLocation": string; +} diff --git a/lib/iot/lib/response/list-digital-twin-adapters-response.ts b/lib/iot/lib/response/list-digital-twin-adapters-response.ts new file mode 100644 index 0000000000..09564c4fe2 --- /dev/null +++ b/lib/iot/lib/response/list-digital-twin-adapters-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListDigitalTwinAdaptersResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.DigitalTwinAdapterCollection instance. + */ + "digitalTwinAdapterCollection": model.DigitalTwinAdapterCollection; +} diff --git a/lib/iot/lib/response/list-digital-twin-instances-response.ts b/lib/iot/lib/response/list-digital-twin-instances-response.ts new file mode 100644 index 0000000000..f7737b6853 --- /dev/null +++ b/lib/iot/lib/response/list-digital-twin-instances-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListDigitalTwinInstancesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.DigitalTwinInstanceCollection instance. + */ + "digitalTwinInstanceCollection": model.DigitalTwinInstanceCollection; +} diff --git a/lib/iot/lib/response/list-digital-twin-models-response.ts b/lib/iot/lib/response/list-digital-twin-models-response.ts new file mode 100644 index 0000000000..9630216992 --- /dev/null +++ b/lib/iot/lib/response/list-digital-twin-models-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListDigitalTwinModelsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.DigitalTwinModelCollection instance. + */ + "digitalTwinModelCollection": model.DigitalTwinModelCollection; +} diff --git a/lib/iot/lib/response/list-digital-twin-relationships-response.ts b/lib/iot/lib/response/list-digital-twin-relationships-response.ts new file mode 100644 index 0000000000..c4a0bad2ff --- /dev/null +++ b/lib/iot/lib/response/list-digital-twin-relationships-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListDigitalTwinRelationshipsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.DigitalTwinRelationshipCollection instance. + */ + "digitalTwinRelationshipCollection": model.DigitalTwinRelationshipCollection; +} diff --git a/lib/iot/lib/response/list-iot-domain-groups-response.ts b/lib/iot/lib/response/list-iot-domain-groups-response.ts new file mode 100644 index 0000000000..cd00d83bcc --- /dev/null +++ b/lib/iot/lib/response/list-iot-domain-groups-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListIotDomainGroupsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.IotDomainGroupCollection instance. + */ + "iotDomainGroupCollection": model.IotDomainGroupCollection; +} diff --git a/lib/iot/lib/response/list-iot-domains-response.ts b/lib/iot/lib/response/list-iot-domains-response.ts new file mode 100644 index 0000000000..c6f6cbaa2c --- /dev/null +++ b/lib/iot/lib/response/list-iot-domains-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListIotDomainsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.IotDomainCollection instance. + */ + "iotDomainCollection": model.IotDomainCollection; +} diff --git a/lib/iot/lib/response/list-work-request-errors-response.ts b/lib/iot/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..3cfcaa26b4 --- /dev/null +++ b/lib/iot/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/iot/lib/response/list-work-request-logs-response.ts b/lib/iot/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..bd66d4baa7 --- /dev/null +++ b/lib/iot/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/iot/lib/response/list-work-requests-response.ts b/lib/iot/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..068ae1e10b --- /dev/null +++ b/lib/iot/lib/response/list-work-requests-response.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcPrevPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/iot/lib/response/update-digital-twin-adapter-response.ts b/lib/iot/lib/response/update-digital-twin-adapter-response.ts new file mode 100644 index 0000000000..39475b5f93 --- /dev/null +++ b/lib/iot/lib/response/update-digital-twin-adapter-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateDigitalTwinAdapterResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinAdapter instance. + */ + "digitalTwinAdapter": model.DigitalTwinAdapter; +} diff --git a/lib/iot/lib/response/update-digital-twin-instance-response.ts b/lib/iot/lib/response/update-digital-twin-instance-response.ts new file mode 100644 index 0000000000..5213854737 --- /dev/null +++ b/lib/iot/lib/response/update-digital-twin-instance-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateDigitalTwinInstanceResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinInstance instance. + */ + "digitalTwinInstance": model.DigitalTwinInstance; +} diff --git a/lib/iot/lib/response/update-digital-twin-model-response.ts b/lib/iot/lib/response/update-digital-twin-model-response.ts new file mode 100644 index 0000000000..6b765d77f5 --- /dev/null +++ b/lib/iot/lib/response/update-digital-twin-model-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateDigitalTwinModelResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinModel instance. + */ + "digitalTwinModel": model.DigitalTwinModel; +} diff --git a/lib/iot/lib/response/update-digital-twin-relationship-response.ts b/lib/iot/lib/response/update-digital-twin-relationship-response.ts new file mode 100644 index 0000000000..19888ad355 --- /dev/null +++ b/lib/iot/lib/response/update-digital-twin-relationship-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateDigitalTwinRelationshipResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.DigitalTwinRelationship instance. + */ + "digitalTwinRelationship": model.DigitalTwinRelationship; +} diff --git a/lib/iot/lib/response/update-iot-domain-group-response.ts b/lib/iot/lib/response/update-iot-domain-group-response.ts new file mode 100644 index 0000000000..28b3c3294f --- /dev/null +++ b/lib/iot/lib/response/update-iot-domain-group-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateIotDomainGroupResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/lib/response/update-iot-domain-response.ts b/lib/iot/lib/response/update-iot-domain-response.ts new file mode 100644 index 0000000000..573e08eebc --- /dev/null +++ b/lib/iot/lib/response/update-iot-domain-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateIotDomainResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/iot/package.json b/lib/iot/package.json new file mode 100644 index 0000000000..61b390f0b1 --- /dev/null +++ b/lib/iot/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-iot", + "version": "2.119.0", + "description": "OCI NodeJS client for Iot Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/iot/index.js", + "typings": "../../target/lib/iot/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/iot/tsconfig.json b/lib/iot/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/iot/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/jms/package.json b/lib/jms/package.json index af285ca490..59a461f46a 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index c4876262fa..8753fc6dea 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/jmsutils/package.json b/lib/jmsutils/package.json index a74ad15ab2..e0a91cd856 100644 --- a/lib/jmsutils/package.json +++ b/lib/jmsutils/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsutils", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Jms Utils Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 1d082cf8a9..1a1ba039ee 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 5c3ff4fce5..66a0e27d63 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/package.json b/lib/limits/package.json index d15629f947..db3fdb38bd 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 505164e2c6..ec976f7414 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 29c767d8a3..946d8688c7 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 042c315a9a..ce87a11734 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index ea08d28cd6..4499237465 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index b251576e93..49ea13e276 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 432065971d..dc392d78dc 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index b763416a8b..24ee1fddf2 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managedkafka/package.json b/lib/managedkafka/package.json index 372b60963a..1326c440e0 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Managed Kafka Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index 85c3dbabea..89c828a246 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Management Agent Service", "repository": { "type": "git", diff --git a/lib/managementdashboard/package.json b/lib/managementdashboard/package.json index 7488c5661b..6d8a667a8e 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index ef01459251..c6940e7848 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index c607a884ee..11525943be 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 989f31fb0d..64ea56f920 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Marketplace Publisher Service", "repository": { "type": "git", diff --git a/lib/mediaservices/package.json b/lib/mediaservices/package.json index 2cd17aec64..f33951076f 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index 8576f90b06..4482ae80dd 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index a89607cef6..85a005ed09 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Model Deployment Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index a00bc4c288..78eb08e0d3 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index e9556ef1e1..1c1bba30e7 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/lib/model/create-db-system-details.ts b/lib/mysql/lib/model/create-db-system-details.ts index fc3f30c97f..f5eeced2fe 100644 --- a/lib/mysql/lib/model/create-db-system-details.ts +++ b/lib/mysql/lib/model/create-db-system-details.ts @@ -90,6 +90,13 @@ For a standalone DB System, this defines the fault domain in which the DB System * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The username for the administrative user. */ diff --git a/lib/mysql/lib/model/db-system-snapshot.ts b/lib/mysql/lib/model/db-system-snapshot.ts index 54cd0c86f4..6a38497019 100644 --- a/lib/mysql/lib/model/db-system-snapshot.ts +++ b/lib/mysql/lib/model/db-system-snapshot.ts @@ -44,6 +44,13 @@ export interface DbSystemSnapshot { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The Availability Domain where the primary DB System should be located. * diff --git a/lib/mysql/lib/model/db-system.ts b/lib/mysql/lib/model/db-system.ts index 20e38812e0..6e83c65273 100644 --- a/lib/mysql/lib/model/db-system.ts +++ b/lib/mysql/lib/model/db-system.ts @@ -44,6 +44,13 @@ export interface DbSystem { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; "rest"?: model.RestDetails; /** * Specifies if the DB System is highly available. diff --git a/lib/mysql/lib/model/replica-overrides.ts b/lib/mysql/lib/model/replica-overrides.ts index 68bd959570..c57dc57da6 100644 --- a/lib/mysql/lib/model/replica-overrides.ts +++ b/lib/mysql/lib/model/replica-overrides.ts @@ -41,6 +41,13 @@ export interface ReplicaOverrides { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace ReplicaOverrides { diff --git a/lib/mysql/lib/model/replica-summary.ts b/lib/mysql/lib/model/replica-summary.ts index 95c67565ca..b98cd7bd13 100644 --- a/lib/mysql/lib/model/replica-summary.ts +++ b/lib/mysql/lib/model/replica-summary.ts @@ -72,6 +72,13 @@ export interface ReplicaSummary { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The IP address the read replica is configured to listen on. * diff --git a/lib/mysql/lib/model/replica.ts b/lib/mysql/lib/model/replica.ts index fb7fad8a46..1892999db5 100644 --- a/lib/mysql/lib/model/replica.ts +++ b/lib/mysql/lib/model/replica.ts @@ -74,6 +74,13 @@ export interface Replica { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The IP address the read replica is configured to listen on. * diff --git a/lib/mysql/lib/model/update-db-system-details.ts b/lib/mysql/lib/model/update-db-system-details.ts index 4be1923897..ee308bef3f 100644 --- a/lib/mysql/lib/model/update-db-system-details.ts +++ b/lib/mysql/lib/model/update-db-system-details.ts @@ -36,6 +36,13 @@ export interface UpdateDbSystemDetails { * Network Security Group OCIDs used for the VNIC attachment. */ "nsgIds"?: Array; + /** + * Security Attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"audit\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The database mode indicating the types of statements that will be allowed to run in the DB system. * This mode will apply only to statements run by user connections. Replicated write statements will continue diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 9f50159c4c..f7b866e098 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index 80415b8abd..c42fbeadd2 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index 7ec69888bc..1dc8207b7b 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Network Load Balancer Service", "repository": { "type": "git", diff --git a/lib/nosql/package.json b/lib/nosql/package.json index e191b0db9e..142639d680 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index d1b2f763a1..26c1eea3e9 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 18644f72b1..e3159895fc 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 277be796ad..1d93a483cc 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Oci Control Center Service", "repository": { "type": "git", diff --git a/lib/ocvp/package.json b/lib/ocvp/package.json index eda6efca14..b463103be2 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 8662ba7716..7ce3b96689 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 5c19d90b23..80a1d53b0d 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 6a11d2c945..99eb689f08 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 62e9cd84aa..c01479311c 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/lib/client.ts b/lib/opensearch/lib/client.ts index a3657dcd78..c73656b091 100644 --- a/lib/opensearch/lib/client.ts +++ b/lib/opensearch/lib/client.ts @@ -715,7 +715,9 @@ export class OpensearchClusterClient { const apiReferenceLink = ""; const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listOpensearchClusterShapesRequest.compartmentId + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON diff --git a/lib/opensearch/lib/model/certificate-config.ts b/lib/opensearch/lib/model/certificate-config.ts new file mode 100644 index 0000000000..3e8888f17f --- /dev/null +++ b/lib/opensearch/lib/model/certificate-config.ts @@ -0,0 +1,50 @@ +/** + * OpenSearch Service API + * The OpenSearch service API provides access to OCI Search Service with OpenSearch. + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Custom certificate config for customer provided certs. + */ +export interface CertificateConfig { + /** + * Specifies whether the certificate to be used in cluster is managed by OpenSearch or OCI Certificates service. + */ + "clusterCertificateMode"?: model.CertificateMode; + /** + * Specifies whether the certificate to be used in dashboard is managed by OpenSearch or OCI Certificates service. + */ + "dashboardCertificateMode"?: model.CertificateMode; + /** + * certificate to be used for OpenSearch cluster api communication + */ + "openSearchApiCertificateId"?: string; + /** + * certificate to be used for OpenSearch dashboard api communication + */ + "openSearchDashboardCertificateId"?: string; +} + +export namespace CertificateConfig { + export function getJsonObj(obj: CertificateConfig): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CertificateConfig): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/opensearch/lib/model/certificate-mode.ts b/lib/opensearch/lib/model/certificate-mode.ts new file mode 100644 index 0000000000..3e0fe9b70c --- /dev/null +++ b/lib/opensearch/lib/model/certificate-mode.ts @@ -0,0 +1,38 @@ +/** + * OpenSearch Service API + * The OpenSearch service API provides access to OCI Search Service with OpenSearch. + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Specifies whether the cluster's certificate is managed by OpenSearch or OCI Certificates service. + **/ +export enum CertificateMode { + OciCertificatesService = "OCI_CERTIFICATES_SERVICE", + OpensearchService = "OPENSEARCH_SERVICE", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace CertificateMode { + export function getJsonObj(obj: CertificateMode): CertificateMode { + return obj; + } + export function getDeserializedJsonObj(obj: CertificateMode): CertificateMode { + return obj; + } +} diff --git a/lib/opensearch/lib/model/create-opensearch-cluster-details.ts b/lib/opensearch/lib/model/create-opensearch-cluster-details.ts index 31b31c5eec..e8a963c5ed 100644 --- a/lib/opensearch/lib/model/create-opensearch-cluster-details.ts +++ b/lib/opensearch/lib/model/create-opensearch-cluster-details.ts @@ -152,6 +152,10 @@ export interface CreateOpensearchClusterDetails { "securityMasterUserPasswordHash"?: string; "securitySamlConfig"?: model.SecuritySamlConfig; "backupPolicy"?: model.BackupPolicy; + /** + * The OCID of the NSG where the private endpoint vnic will be attached. + */ + "nsgId"?: string; /** * The customer IP addresses of the endpoint in customer VCN */ @@ -162,6 +166,7 @@ export interface CreateOpensearchClusterDetails { "inboundClusterIds"?: Array; "outboundClusterConfig"?: model.OutboundClusterConfig; "maintenanceDetails"?: model.CreateMaintenanceDetails; + "certificateConfig"?: model.CertificateConfig; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -180,6 +185,14 @@ export interface CreateOpensearchClusterDetails { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreateOpensearchClusterDetails { @@ -199,6 +212,9 @@ export namespace CreateOpensearchClusterDetails { : undefined, "maintenanceDetails": obj.maintenanceDetails ? model.CreateMaintenanceDetails.getJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getJsonObj(obj.certificateConfig) : undefined } }; @@ -221,6 +237,9 @@ export namespace CreateOpensearchClusterDetails { : undefined, "maintenanceDetails": obj.maintenanceDetails ? model.CreateMaintenanceDetails.getDeserializedJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getDeserializedJsonObj(obj.certificateConfig) : undefined } }; diff --git a/lib/opensearch/lib/model/index.ts b/lib/opensearch/lib/model/index.ts index 1b1bced616..9fb15102ea 100644 --- a/lib/opensearch/lib/model/index.ts +++ b/lib/opensearch/lib/model/index.ts @@ -25,6 +25,10 @@ import * as BenchmarkDetails from "./benchmark-details"; export import BenchmarkDetails = BenchmarkDetails.BenchmarkDetails; import * as CccMode from "./ccc-mode"; export import CccMode = CccMode.CccMode; +import * as CertificateConfig from "./certificate-config"; +export import CertificateConfig = CertificateConfig.CertificateConfig; +import * as CertificateMode from "./certificate-mode"; +export import CertificateMode = CertificateMode.CertificateMode; import * as ChangeOpensearchClusterBackupCompartmentDetails from "./change-opensearch-cluster-backup-compartment-details"; export import ChangeOpensearchClusterBackupCompartmentDetails = ChangeOpensearchClusterBackupCompartmentDetails.ChangeOpensearchClusterBackupCompartmentDetails; import * as ChangeOpensearchClusterCompartmentDetails from "./change-opensearch-cluster-compartment-details"; diff --git a/lib/opensearch/lib/model/opensearch-cluster-summary.ts b/lib/opensearch/lib/model/opensearch-cluster-summary.ts index e5767978e5..c5f94c6100 100644 --- a/lib/opensearch/lib/model/opensearch-cluster-summary.ts +++ b/lib/opensearch/lib/model/opensearch-cluster-summary.ts @@ -64,6 +64,14 @@ export interface OpensearchClusterSummary { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The software version the cluster is running. */ diff --git a/lib/opensearch/lib/model/opensearch-cluster.ts b/lib/opensearch/lib/model/opensearch-cluster.ts index befb99c307..ef1a6a4a83 100644 --- a/lib/opensearch/lib/model/opensearch-cluster.ts +++ b/lib/opensearch/lib/model/opensearch-cluster.ts @@ -70,6 +70,14 @@ export interface OpensearchCluster { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The software version the cluster is running. */ @@ -224,6 +232,10 @@ export interface OpensearchCluster { "securityMasterUserPasswordHash"?: string; "securitySamlConfig"?: model.SecuritySamlConfig; "backupPolicy"?: model.BackupPolicy; + /** + * The OCID of the NSG where the private endpoint vnic will be attached. + */ + "nsgId"?: string; /** * The customer IP addresses of the endpoint in customer VCN */ @@ -238,6 +250,7 @@ export interface OpensearchCluster { */ "inboundClusterIds"?: Array; "maintenanceDetails"?: model.MaintenanceDetails; + "certificateConfig"?: model.CertificateConfig; } export namespace OpensearchCluster { @@ -277,6 +290,9 @@ export namespace OpensearchCluster { "maintenanceDetails": obj.maintenanceDetails ? model.MaintenanceDetails.getJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getJsonObj(obj.certificateConfig) : undefined } }; @@ -305,6 +321,9 @@ export namespace OpensearchCluster { "maintenanceDetails": obj.maintenanceDetails ? model.MaintenanceDetails.getDeserializedJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getDeserializedJsonObj(obj.certificateConfig) : undefined } }; diff --git a/lib/opensearch/lib/model/update-opensearch-cluster-details.ts b/lib/opensearch/lib/model/update-opensearch-cluster-details.ts index 31636d3300..422cd00de3 100644 --- a/lib/opensearch/lib/model/update-opensearch-cluster-details.ts +++ b/lib/opensearch/lib/model/update-opensearch-cluster-details.ts @@ -45,6 +45,7 @@ export interface UpdateOpensearchClusterDetails { "reverseConnectionEndpointCustomerIps"?: Array; "outboundClusterConfig"?: model.OutboundClusterConfig; "maintenanceDetails"?: model.UpdateMaintenanceDetails; + "certificateConfig"?: model.CertificateConfig; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -57,6 +58,14 @@ export interface UpdateOpensearchClusterDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateOpensearchClusterDetails { @@ -76,6 +85,9 @@ export namespace UpdateOpensearchClusterDetails { : undefined, "maintenanceDetails": obj.maintenanceDetails ? model.UpdateMaintenanceDetails.getJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getJsonObj(obj.certificateConfig) : undefined } }; @@ -98,6 +110,9 @@ export namespace UpdateOpensearchClusterDetails { : undefined, "maintenanceDetails": obj.maintenanceDetails ? model.UpdateMaintenanceDetails.getDeserializedJsonObj(obj.maintenanceDetails) + : undefined, + "certificateConfig": obj.certificateConfig + ? model.CertificateConfig.getDeserializedJsonObj(obj.certificateConfig) : undefined } }; diff --git a/lib/opensearch/lib/model/upgrade-open-search-cluster-details.ts b/lib/opensearch/lib/model/upgrade-open-search-cluster-details.ts index a5011384fc..33db1af3dd 100644 --- a/lib/opensearch/lib/model/upgrade-open-search-cluster-details.ts +++ b/lib/opensearch/lib/model/upgrade-open-search-cluster-details.ts @@ -54,6 +54,14 @@ export interface UpgradeOpenSearchClusterDetails { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpgradeOpenSearchClusterDetails { diff --git a/lib/opensearch/lib/request/list-opensearch-cluster-shapes-request.ts b/lib/opensearch/lib/request/list-opensearch-cluster-shapes-request.ts index a70540b39b..e7cf6871cf 100644 --- a/lib/opensearch/lib/request/list-opensearch-cluster-shapes-request.ts +++ b/lib/opensearch/lib/request/list-opensearch-cluster-shapes-request.ts @@ -17,4 +17,9 @@ import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/opensearch/ListOpensearchClusterShapes.ts.html |here} to see how to use ListOpensearchClusterShapesRequest. */ -export interface ListOpensearchClusterShapesRequest extends common.BaseRequest {} +export interface ListOpensearchClusterShapesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; +} diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index 27469a7c61..b8ac69dab6 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 3d91f85969..ead47920a7 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Operator Access Control Service", "repository": { "type": "git", diff --git a/lib/opsi/package.json b/lib/opsi/package.json index 44b0674ad0..be7f277d87 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index f43bb223c0..3d2ce7abf0 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index fb1fe2fcc1..94bdf21b3f 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Os Management Hub Service", "repository": { "type": "git", diff --git a/lib/ospgateway/package.json b/lib/ospgateway/package.json index 3bf7ff21a4..6052b64eb7 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Osp Gateway Service", "repository": { "type": "git", diff --git a/lib/osubbillingschedule/package.json b/lib/osubbillingschedule/package.json index cd52d1f419..041b11a662 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Osub Billing Schedule Service", "repository": { "type": "git", diff --git a/lib/osuborganizationsubscription/package.json b/lib/osuborganizationsubscription/package.json index a37c6b4e9a..e6eac3ba91 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Osub Organization Subscription Service", "repository": { "type": "git", diff --git a/lib/osubsubscription/package.json b/lib/osubsubscription/package.json index f2e88428af..a06cac4d91 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Osub Subscription Service", "repository": { "type": "git", diff --git a/lib/osubusage/package.json b/lib/osubusage/package.json index 064289d4b2..b1fb047267 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index a7d085011f..0081c56700 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index ffac9b390f..148ee0a59a 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index d23da90639..2bcb34e99b 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/lib/model/create-redis-cluster-details.ts b/lib/redis/lib/model/create-redis-cluster-details.ts index cb754ad466..127ed0a634 100644 --- a/lib/redis/lib/model/create-redis-cluster-details.ts +++ b/lib/redis/lib/model/create-redis-cluster-details.ts @@ -61,6 +61,14 @@ export interface CreateRedisClusterDetails { * */ "nsgIds"?: Array; + /** + * Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/redis/lib/model/redis-cluster-summary.ts b/lib/redis/lib/model/redis-cluster-summary.ts index c9748cf4bc..30a5dbfeb0 100644 --- a/lib/redis/lib/model/redis-cluster-summary.ts +++ b/lib/redis/lib/model/redis-cluster-summary.ts @@ -106,6 +106,14 @@ export interface RedisClusterSummary { * */ "nsgIds"?: Array; + /** + * Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/redis/lib/model/redis-cluster.ts b/lib/redis/lib/model/redis-cluster.ts index 407d8e1858..f30da9128b 100644 --- a/lib/redis/lib/model/redis-cluster.ts +++ b/lib/redis/lib/model/redis-cluster.ts @@ -106,6 +106,14 @@ export interface RedisCluster { * */ "nsgIds"?: Array; + /** + * Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/redis/lib/model/update-redis-cluster-details.ts b/lib/redis/lib/model/update-redis-cluster-details.ts index d0dd5ded55..7bfa66fd27 100644 --- a/lib/redis/lib/model/update-redis-cluster-details.ts +++ b/lib/redis/lib/model/update-redis-cluster-details.ts @@ -49,6 +49,14 @@ export interface UpdateRedisClusterDetails { * */ "nsgIds"?: Array; + /** + * Security attributes for redis cluster resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/redis/package.json b/lib/redis/package.json index e278f6d890..3fe5f3893f 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourceanalytics/package.json b/lib/resourceanalytics/package.json index 4b94fc0163..aae095ea3b 100644 --- a/lib/resourceanalytics/package.json +++ b/lib/resourceanalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourceanalytics", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Resource Analytics Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/lib/client.ts b/lib/resourcemanager/lib/client.ts index e61b170281..fa5c48d133 100644 --- a/lib/resourcemanager/lib/client.ts +++ b/lib/resourcemanager/lib/client.ts @@ -248,6 +248,8 @@ export class ResourceManagerClient { * You can optionally choose forced cancellation by setting `isForced` to true. * A forced cancellation can result in an incorrect state file. * For example, the state file might not reflect the exact state of the provisioned resources. + * For more information, see + * [Canceling a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/cancel-job.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CancelJobRequest @@ -319,8 +321,8 @@ export class ResourceManagerClient { /** * Moves a configuration source provider into a different compartment within the same tenancy. - * For information about moving resources between compartments, see - * [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * For more information, see + * [Moving a Configuration Source Provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/change-compartment-csp.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeConfigurationSourceProviderCompartmentRequest @@ -401,8 +403,8 @@ export class ResourceManagerClient { /** * Moves a private endpoint to a different compartment within the same tenancy. - * For information about moving resources between compartments, see - * [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * For more information, see + * [Moving a Private Endpoint](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/move-private-endpoints.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangePrivateEndpointCompartmentRequest @@ -481,8 +483,8 @@ export class ResourceManagerClient { /** * Moves a stack (and its associated jobs) into a different compartment within the same tenancy. - * For information about moving resources between compartments, see - * [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * For more information, see + * [Moving a Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/change-compartment-stack.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeStackCompartmentRequest @@ -564,8 +566,8 @@ export class ResourceManagerClient { /** * Moves a template into a different compartment within the same tenancy. - * For information about moving resources between compartments, see - * [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * For more information, see + * [Moving a Private Template](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/change-compartment-template.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeTemplateCompartmentRequest @@ -643,7 +645,7 @@ export class ResourceManagerClient { /** * Creates a configuration source provider in the specified compartment. * For more information, see - * [To create a configuration source provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/managingconfigurationsourceproviders.htm#CreateConfigurationSourceProvider). + * [Creating a Configuration Source Provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-csp.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateConfigurationSourceProviderRequest @@ -728,6 +730,9 @@ export class ResourceManagerClient { /** * Creates a job. + * For more information, see + * [Creating a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-job.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateJobRequest * @return CreateJobResponse @@ -808,6 +813,8 @@ export class ResourceManagerClient { /** * Creates a private endpoint in the specified compartment. + * For more information, see + * [Creating a Private Endpoint](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-private-endpoints.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreatePrivateEndpointRequest @@ -874,6 +881,11 @@ export class ResourceManagerClient { key: "opcRequestId", dataType: "string" }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, { value: response.headers.get("etag"), key: "etag", @@ -895,7 +907,7 @@ export class ResourceManagerClient { * You can also create a stack from an existing compartment, which generates a Terraform configuration. * You can also upload the Terraform configuration from an Object Storage bucket. * For more information, see - * [Creating Stacks](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-stack.htm). + * [Creating a Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-stack.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateStackRequest @@ -982,6 +994,8 @@ export class ResourceManagerClient { /** * Creates a private template in the specified compartment. + * For more information, see + * [Creating a Private Template](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-template.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateTemplateRequest @@ -1063,6 +1077,9 @@ export class ResourceManagerClient { /** * Deletes the specified configuration source provider. + * For more information, see + * [Deleting a Configuration Source Provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/delete-csp.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteConfigurationSourceProviderRequest * @return DeleteConfigurationSourceProviderResponse @@ -1135,6 +1152,9 @@ export class ResourceManagerClient { /** * Deletes the specified private endpoint. + * For more information, see + * [Deleting a Private Endpoint](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/delete-private-endpoints.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeletePrivateEndpointRequest * @return DeletePrivateEndpointResponse @@ -1192,6 +1212,11 @@ export class ResourceManagerClient { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" } ] }); @@ -1204,6 +1229,9 @@ export class ResourceManagerClient { /** * Deletes the specified stack. + * For more information, see + * [Deleting a Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/delete-stack.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteStackRequest * @return DeleteStackResponse @@ -1272,6 +1300,9 @@ export class ResourceManagerClient { /** * Deletes the specified template. + * For more information, see + * [Deleting a Private Template](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/delete-template.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteTemplateRequest * @return DeleteTemplateResponse @@ -1340,6 +1371,9 @@ export class ResourceManagerClient { /** * Checks drift status for the specified stack. + * For more information, see + * [Detecting Drift](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/detect-drift.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DetectStackDriftRequest * @return DetectStackDriftResponse @@ -1419,6 +1453,9 @@ export class ResourceManagerClient { /** * Gets the properties of the specified configuration source provider. + * For more information, see + * [Getting a Configuration Source Provider's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-csp.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetConfigurationSourceProviderRequest * @return GetConfigurationSourceProviderResponse @@ -1497,6 +1534,9 @@ export class ResourceManagerClient { /** * Gets the properties of the specified job. + * For more information, see + * [Getting a Job's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobRequest * @return GetJobResponse @@ -1570,7 +1610,10 @@ export class ResourceManagerClient { } /** - * Returns the Terraform detailed log content for the specified job in plain text. [Learn about Terraform detailed log.](https://www.terraform.io/docs/internals/debugging.html) + * Returns the Terraform detailed log content for the specified job in plain text. + * [Learn about Terraform detailed log.](https://www.terraform.io/docs/internals/debugging.html) + * For more information, see + * [Getting Detailed Log Content for a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-detailed-log-content.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobDetailedLogContentRequest @@ -1644,6 +1687,8 @@ export class ResourceManagerClient { /** * Returns console log entries for the specified job in JSON format. + * For more information, see + * [Getting Logs for a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-logs.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobLogsRequest @@ -1780,6 +1825,8 @@ export class ResourceManagerClient { /** * Returns the raw log file for the specified job in text format. * The file includes a maximum of 100,000 log entries. + * For more information, see + * [Getting Logs Content for a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-logs-content.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobLogsContentRequest @@ -1854,6 +1901,8 @@ export class ResourceManagerClient { /** * Returns the Terraform configuration for the specified job in zip format. * If no zip file is found, returns an error. + * For more information, see + * [Getting a Job Terraform Configuration](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-tf-config.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobTfConfigRequest @@ -1926,8 +1975,8 @@ export class ResourceManagerClient { /** * Returns the output of the specified Terraform plan job in binary or JSON format. - * For information about running Terraform plan jobs, see - * [Creating Plan Jobs](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/create-job.htm). + * For more information, see + * [Getting the Terraform Output for a Plan Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-tf-plan.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobTfPlanRequest @@ -2002,6 +2051,9 @@ export class ResourceManagerClient { /** * Returns the Terraform state for the specified job. + * For more information, see + * [Getting a Job Terraform Configuration](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-job-tf-config.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetJobTfStateRequest * @return GetJobTfStateResponse @@ -2073,6 +2125,9 @@ export class ResourceManagerClient { /** * Gets the specified private endpoint. + * For more information, see + * [Getting a Private Endpoint's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-private-endpoints.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetPrivateEndpointRequest * @return GetPrivateEndpointResponse @@ -2151,6 +2206,8 @@ export class ResourceManagerClient { /** * Gets the reachable, or alternative, IP address for a nonpublic IP address that is associated with the private endpoint. * Resource Manager uses this IP address to connect to nonpublic resources through the associated private endpoint. + * For more information, see + * [Getting the Reachable IP Address for a Private Endpoint](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-private-endpoint-reachable-ip.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetReachableIpRequest @@ -2226,6 +2283,9 @@ export class ResourceManagerClient { /** * Gets the specified stack. + * For more information, see + * [Getting a Stack's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-stack.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStackRequest * @return GetStackResponse @@ -2303,6 +2363,8 @@ export class ResourceManagerClient { /** * Returns the Terraform configuration file for the specified stack in zip format. * Returns an error if no zip file is found. + * For more information, see + * [Getting a Stack Terraform Configuration](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-stack-tf-config.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStackTfConfigRequest @@ -2375,6 +2437,9 @@ export class ResourceManagerClient { /** * Returns the Terraform state for the specified stack. + * For more information, see + * [Getting a Stack State File](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-stack-tf-state.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetStackTfStateRequest * @return GetStackTfStateResponse @@ -2446,6 +2511,9 @@ export class ResourceManagerClient { /** * Gets the specified template. + * For more information, see + * [Getting a Private Template's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-template.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetTemplateRequest * @return GetTemplateResponse @@ -2523,6 +2591,8 @@ export class ResourceManagerClient { /** * Returns the Terraform logo file in .logo format for the specified template. * Returns an error if no logo file is found. + * For more information, see + * [Getting a Private Template's Logo](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-template-logo.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetTemplateLogoRequest @@ -2596,6 +2666,8 @@ export class ResourceManagerClient { /** * Returns the Terraform configuration file in zip format for the specified template. * Returns an error if no zip file is found. + * For more information, see + * [Getting a Private Template's Terraform Configuration](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-template-tf-config.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetTemplateTfConfigRequest @@ -2669,6 +2741,9 @@ export class ResourceManagerClient { /** * Returns the specified work request. + * For more information, see + * [Getting a Work Request's Details](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/get-work-request.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetWorkRequestRequest * @return GetWorkRequestResponse @@ -2740,6 +2815,8 @@ export class ResourceManagerClient { /** * Lists configuration source providers according to the specified filter. + * For more information, see + * [Listing Configuration Source Providers](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-csp.htm). * - For `compartmentId`, lists all configuration source providers in the matching compartment. * - For `configurationSourceProviderId`, lists the matching configuration source provider. * @@ -2830,6 +2907,9 @@ export class ResourceManagerClient { /** * Gets the list of resources associated with the specified job. + * For more information, see + * [Listing Job Resources](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-job-resources.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListJobAssociatedResourcesRequest * @return ListJobAssociatedResourcesResponse @@ -2912,6 +2992,9 @@ export class ResourceManagerClient { /** * Gets the list of outputs associated with the specified job. + * For more information, see + * [Listing Job Outputs](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-job-outputs.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListJobOutputsRequest * @return ListJobOutputsResponse @@ -2992,6 +3075,8 @@ export class ResourceManagerClient { /** * Lists jobs according to the specified filter. By default, the list is ordered by time created. +* For more information, see +* [Listing Jobs](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-jobs.htm). *

- To list all jobs in a stack, provide the stack [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * - To list all jobs in a compartment, provide the compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). @@ -3131,6 +3216,8 @@ export class ResourceManagerClient { /** * Lists private endpoints according to the specified filter. + * For more information, see + * [Listing Private Endpoints](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-private-endpoints.htm). * - For `compartmentId`, lists all private endpoints in the matching compartment. * - For `privateEndpointId`, lists the matching private endpoint. * @@ -3219,6 +3306,8 @@ export class ResourceManagerClient { /** * Returns a list of supported services for [Resource Discovery](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resource-discovery.htm). * For reference on service names, see the [Terraform provider documentation](https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services). + * For more information, see + * [Listing Resource Discovery Services](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-discovery-services.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListResourceDiscoveryServicesRequest @@ -3292,6 +3381,9 @@ export class ResourceManagerClient { /** * Gets the list of resources associated with the specified stack. + * For more information, see + * [Listing Stack Resources](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-stack-resources.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListStackAssociatedResourcesRequest * @return ListStackAssociatedResourcesResponse @@ -3378,6 +3470,8 @@ export class ResourceManagerClient { * and the expected (defined) state for that resource. * The drift status details correspond to the specified work request (`workRequestId`). * If no work request is specified, then the drift status details correspond to the latest completed work request for the stack. + * For more information, see + * [Listing Drift Status](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-drift.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListStackResourceDriftDetailsRequest @@ -3461,6 +3555,8 @@ export class ResourceManagerClient { /** * Lists stacks according to the specified filter. + * For more information, see + * [Listing Stacks](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-stacks.htm). * - If called using the compartment ID, returns all stacks in the specified compartment. * - If called using the stack ID, returns the specified stack. (See also {@link #getStack(GetStackRequest) getStack}.) * @@ -3599,6 +3695,8 @@ export class ResourceManagerClient { /** * Lists template categories. + * For more information, see + * [Listing Template Categories](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-template-categories.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListTemplateCategoriesRequest @@ -3671,6 +3769,8 @@ export class ResourceManagerClient { /** * Lists templates according to the specified filter. * The attributes `compartmentId` and `templateCategoryId` are required unless `templateId` is specified. + * For more information, see + * [Listing Templates](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-template.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListTemplatesRequest @@ -3755,6 +3855,8 @@ export class ResourceManagerClient { /** * Returns a list of supported Terraform versions for use with stacks. + * For more information, see + * [Listing Terraform Versions](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-tf-versions.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListTerraformVersionsRequest @@ -3828,6 +3930,8 @@ export class ResourceManagerClient { /** * Returns a paginated list of errors for the specified work request. + * For more information, see + * [Listing Errors for a Work Request](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-work-request-errors.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestErrorsRequest @@ -3963,6 +4067,8 @@ export class ResourceManagerClient { /** * Returns a paginated list of logs for the specified work request. + * For more information, see + * [Listing Logs for a Work Request](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-work-request-logs.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestLogsRequest @@ -4098,6 +4204,8 @@ export class ResourceManagerClient { /** * Lists the work requests in the specified compartment or for the specified resource. + * For more information, see + * [Listing Work Requests](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/list-work-request.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestsRequest @@ -4231,7 +4339,7 @@ export class ResourceManagerClient { /** * Updates the properties of the specified configuration source provider. * For more information, see - * [To edit a configuration source provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/managingconfigurationsourceproviders.htm#EditConfigurationSourceProvider). + * [Updating a Configuration Source Provider](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-csp.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateConfigurationSourceProviderRequest @@ -4319,6 +4427,9 @@ export class ResourceManagerClient { /** * Updates the specified job. + * For more information, see + * [Updating a Job](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-job.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateJobRequest * @return UpdateJobResponse @@ -4401,6 +4512,9 @@ export class ResourceManagerClient { /** * Updates the specified private endpoint. + * For more information, see + * [Updating a Private Endpoint](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-private-endpoints.htm). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdatePrivateEndpointRequest * @return UpdatePrivateEndpointResponse @@ -4468,6 +4582,11 @@ export class ResourceManagerClient { key: "opcRequestId", dataType: "string" }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, { value: response.headers.get("etag"), key: "etag", @@ -4487,7 +4606,7 @@ export class ResourceManagerClient { * Use `UpdateStack` when you update your Terraform configuration * and want your changes to be reflected in the execution plan. * For more information, see - * [Updating Stacks](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack.htm). + * [Updating a Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateStackRequest @@ -4571,6 +4690,8 @@ export class ResourceManagerClient { /** * Updates the specified template. + * For more information, see + * [Updating a Private Template](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-template.htm). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateTemplateRequest diff --git a/lib/resourcemanager/lib/model/configuration-source-provider-summary.ts b/lib/resourcemanager/lib/model/configuration-source-provider-summary.ts index 57e0d32032..d3f0e046b1 100644 --- a/lib/resourcemanager/lib/model/configuration-source-provider-summary.ts +++ b/lib/resourcemanager/lib/model/configuration-source-provider-summary.ts @@ -32,7 +32,8 @@ export interface ConfigurationSourceProviderSummary { */ "compartmentId"?: string; /** - * Human-readable display name for the configuration source provider. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -47,18 +48,15 @@ export interface ConfigurationSourceProviderSummary { */ "timeCreated"?: Date; /** - * Current state of the specified configuration source provider. -* For more information about configuration source provider lifecycle states in Resource Manager, see -* [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__CSPStates). -*

-Allowable values: -* - ACTIVE -* - */ + * Current state of the specified configuration source provider. + * For more information about configuration source provider lifecycle states in Resource Manager, see + * [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__CSPStates). + * + */ "lifecycleState"?: string; "privateServerConfigDetails"?: model.PrivateServerConfigDetails; /** - * Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * Example: {@code {\"Department\": \"Finance\"}} * @@ -71,6 +69,13 @@ Allowable values: * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "configSourceProviderType": string; } diff --git a/lib/resourcemanager/lib/model/configuration-source-provider.ts b/lib/resourcemanager/lib/model/configuration-source-provider.ts index ac861a3607..35f5ded11c 100644 --- a/lib/resourcemanager/lib/model/configuration-source-provider.ts +++ b/lib/resourcemanager/lib/model/configuration-source-provider.ts @@ -34,7 +34,8 @@ export interface ConfigurationSourceProvider { */ "compartmentId"?: string; /** - * Human-readable display name for the configuration source provider. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -65,7 +66,7 @@ export interface ConfigurationSourceProvider { */ "secretId"?: string; /** - * Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * Example: {@code {\"Department\": \"Finance\"}} * @@ -78,6 +79,13 @@ export interface ConfigurationSourceProvider { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "configSourceProviderType": string; } diff --git a/lib/resourcemanager/lib/model/create-configuration-source-provider-details.ts b/lib/resourcemanager/lib/model/create-configuration-source-provider-details.ts index 7fc11e51da..549192fd5d 100644 --- a/lib/resourcemanager/lib/model/create-configuration-source-provider-details.ts +++ b/lib/resourcemanager/lib/model/create-configuration-source-provider-details.ts @@ -30,7 +30,8 @@ export interface CreateConfigurationSourceProviderDetails { */ "compartmentId"?: string; /** - * Human-readable name of the configuration source provider. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** diff --git a/lib/resourcemanager/lib/model/create-job-details.ts b/lib/resourcemanager/lib/model/create-job-details.ts index e8930f1cac..079a3772c0 100644 --- a/lib/resourcemanager/lib/model/create-job-details.ts +++ b/lib/resourcemanager/lib/model/create-job-details.ts @@ -28,7 +28,8 @@ export interface CreateJobDetails { */ "stackId": string; /** - * Description of the job. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** diff --git a/lib/resourcemanager/lib/model/create-private-endpoint-details.ts b/lib/resourcemanager/lib/model/create-private-endpoint-details.ts index 1a4bb61061..82ec8b850c 100644 --- a/lib/resourcemanager/lib/model/create-private-endpoint-details.ts +++ b/lib/resourcemanager/lib/model/create-private-endpoint-details.ts @@ -28,7 +28,8 @@ export interface CreatePrivateEndpointDetails { */ "compartmentId": string; /** - * The private endpoint display name. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName": string; /** @@ -74,6 +75,13 @@ export interface CreatePrivateEndpointDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreatePrivateEndpointDetails { diff --git a/lib/resourcemanager/lib/model/create-stack-details.ts b/lib/resourcemanager/lib/model/create-stack-details.ts index 4927d22a13..9f012e7f53 100644 --- a/lib/resourcemanager/lib/model/create-stack-details.ts +++ b/lib/resourcemanager/lib/model/create-stack-details.ts @@ -28,7 +28,8 @@ export interface CreateStackDetails { */ "compartmentId": string; /** - * The stack's display name. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -54,7 +55,7 @@ export interface CreateStackDetails { */ "variables"?: { [key: string]: string }; /** - * The version of Terraform to use with the stack. Example: {@code 0.12.x} + * The version of Terraform to use with the stack. Example: {@code 1.5.x} * */ "terraformVersion"?: string; diff --git a/lib/resourcemanager/lib/model/create-template-details.ts b/lib/resourcemanager/lib/model/create-template-details.ts index dd47911b22..326d89b254 100644 --- a/lib/resourcemanager/lib/model/create-template-details.ts +++ b/lib/resourcemanager/lib/model/create-template-details.ts @@ -28,7 +28,8 @@ export interface CreateTemplateDetails { */ "compartmentId": string; /** - * The template's display name. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName": string; /** diff --git a/lib/resourcemanager/lib/model/custom-terraform-provider.ts b/lib/resourcemanager/lib/model/custom-terraform-provider.ts index 231fb71766..cff9c53ce1 100644 --- a/lib/resourcemanager/lib/model/custom-terraform-provider.ts +++ b/lib/resourcemanager/lib/model/custom-terraform-provider.ts @@ -20,10 +20,10 @@ import common = require("oci-common"); /** * Location information about custom Terraform providers for a stack. - * For more information, see [Custom Providers](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#features__custom-providers). + * For more information, see [Using Custom Providers with a Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack-custom-providers.htm). * Note: Older stacks must be explicitly updated to use Terraform Registry ({@code isThirdPartyProviderExperienceEnabled=true}). * See {@link #updateStack(UpdateStackRequest) updateStack}. For more information, see - * [Using Terraform Registry with Older Stacks](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack-tf-reg.htm). + * [Using Terraform Registry with an Older Stack](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/update-stack-tf-reg.htm). * */ export interface CustomTerraformProvider { diff --git a/lib/resourcemanager/lib/model/job-summary.ts b/lib/resourcemanager/lib/model/job-summary.ts index d8c2404daf..d6f4ae2066 100644 --- a/lib/resourcemanager/lib/model/job-summary.ts +++ b/lib/resourcemanager/lib/model/job-summary.ts @@ -35,7 +35,8 @@ export interface JobSummary { */ "compartmentId"?: string; /** - * The job's display name. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -71,22 +72,14 @@ export interface JobSummary { */ "timeFinished"?: Date; /** - * Current state of the specified job. -* For more information about job lifecycle states in Resource Manager, see -* [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__JobStates). -*

-Allowable values: -* - ACCEPTED -* - IN_PROGRESS -* - FAILED -* - SUCCEEDED -* - CANCELING -* - CANCELED -* - */ + * Current state of the specified job. + * For more information about job lifecycle states in Resource Manager, see + * [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__JobStates). + * + */ "lifecycleState"?: string; /** - * Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * Example: {@code {\"Department\": \"Finance\"}} * @@ -99,6 +92,13 @@ Allowable values: * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace JobSummary { diff --git a/lib/resourcemanager/lib/model/job.ts b/lib/resourcemanager/lib/model/job.ts index dda5a57a4b..a459730194 100644 --- a/lib/resourcemanager/lib/model/job.ts +++ b/lib/resourcemanager/lib/model/job.ts @@ -41,7 +41,8 @@ export interface Job { */ "compartmentId"?: string; /** - * The job's display name. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -127,7 +128,7 @@ export interface Job { | model.BitbucketServerConfigSourceRecord | model.ObjectStorageConfigSourceRecord; /** - * Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * Example: {@code {\"Department\": \"Finance\"}} * @@ -140,6 +141,13 @@ export interface Job { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace Job { diff --git a/lib/resourcemanager/lib/model/private-endpoint-summary.ts b/lib/resourcemanager/lib/model/private-endpoint-summary.ts index 1fcde09285..0a9431981b 100644 --- a/lib/resourcemanager/lib/model/private-endpoint-summary.ts +++ b/lib/resourcemanager/lib/model/private-endpoint-summary.ts @@ -33,6 +33,7 @@ export interface PrivateEndpointSummary { "compartmentId": string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName": string; /** @@ -64,12 +65,6 @@ export interface PrivateEndpointSummary { "timeCreated"?: Date; /** * The current lifecycle state of the private endpoint. - * Allowable values: - * - ACTIVE - * - CREATING - * - DELETING - * - DELETED - * - FAILED * */ "lifecycleState"?: string; @@ -87,6 +82,20 @@ export interface PrivateEndpointSummary { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace PrivateEndpointSummary { diff --git a/lib/resourcemanager/lib/model/private-endpoint.ts b/lib/resourcemanager/lib/model/private-endpoint.ts index 3b351eee0d..821e9ffe54 100644 --- a/lib/resourcemanager/lib/model/private-endpoint.ts +++ b/lib/resourcemanager/lib/model/private-endpoint.ts @@ -19,7 +19,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A private endpoint allowing Resource Manager to access nonpublic cloud resources. For more information about private endpoints, see [Private Endpoint Management](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/private-endpoints.htm). + * A private endpoint allowing Resource Manager to access nonpublic cloud resources. For more information about private endpoints, see [Managing Private Endpoints](https://docs.oracle.com/iaas/Content/ResourceManager/Tasks/private-endpoints.htm). * */ export interface PrivateEndpoint { @@ -33,6 +33,7 @@ export interface PrivateEndpoint { "compartmentId": string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -99,6 +100,20 @@ export interface PrivateEndpoint { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace PrivateEndpoint { diff --git a/lib/resourcemanager/lib/model/private-server-config-details.ts b/lib/resourcemanager/lib/model/private-server-config-details.ts index 563194e539..7592cdf428 100644 --- a/lib/resourcemanager/lib/model/private-server-config-details.ts +++ b/lib/resourcemanager/lib/model/private-server-config-details.ts @@ -32,7 +32,7 @@ export interface PrivateServerConfigDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a certificate associated with the configuration source provider. * */ - "certificateId": string; + "certificateId"?: string; } export namespace PrivateServerConfigDetails { diff --git a/lib/resourcemanager/lib/model/stack-summary.ts b/lib/resourcemanager/lib/model/stack-summary.ts index aeb978329f..e9a119d2bd 100644 --- a/lib/resourcemanager/lib/model/stack-summary.ts +++ b/lib/resourcemanager/lib/model/stack-summary.ts @@ -32,7 +32,8 @@ export interface StackSummary { */ "compartmentId"?: string; /** - * Human-readable display name for the stack. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -47,26 +48,19 @@ export interface StackSummary { */ "timeCreated"?: Date; /** - * The current lifecycle state of the stack. -* For more information about stack lifecycle states in Resource Manager, see -* [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates). -*

-Allowable values: -* - CREATING -* - ACTIVE -* - DELETING -* - DELETED -* - FAILED -* - */ + * The current lifecycle state of the stack. + * For more information about stack lifecycle states in Resource Manager, see + * [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates). + * + */ "lifecycleState"?: string; /** - * The version of Terraform specified for the stack. Example: {@code 0.12.x} + * The version of Terraform specified for the stack. Example: {@code 1.5.x} * */ "terraformVersion"?: string; /** - * Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * Example: {@code {\"Department\": \"Finance\"}} * @@ -79,6 +73,13 @@ Allowable values: * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace StackSummary { diff --git a/lib/resourcemanager/lib/model/stack.ts b/lib/resourcemanager/lib/model/stack.ts index 27102e4b15..bb4e9cad17 100644 --- a/lib/resourcemanager/lib/model/stack.ts +++ b/lib/resourcemanager/lib/model/stack.ts @@ -37,7 +37,8 @@ export interface Stack { */ "compartmentId"?: string; /** - * Human-readable name of the stack. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -85,7 +86,7 @@ export interface Stack { */ "variables"?: { [key: string]: string }; /** - * The version of Terraform specified for the stack. Example: {@code 0.12.x} + * The version of Terraform specified for the stack. Example: {@code 1.5.x} * */ "terraformVersion"?: string; @@ -116,6 +117,13 @@ export interface Stack { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace Stack { diff --git a/lib/resourcemanager/lib/model/template-category-summary.ts b/lib/resourcemanager/lib/model/template-category-summary.ts index bae547166e..967850e1e3 100644 --- a/lib/resourcemanager/lib/model/template-category-summary.ts +++ b/lib/resourcemanager/lib/model/template-category-summary.ts @@ -33,7 +33,7 @@ export interface TemplateCategorySummary { */ "id"?: string; /** - * The name of the template category. + * The name of the template category. Not changeable. */ "displayName"?: string; } diff --git a/lib/resourcemanager/lib/model/template-summary.ts b/lib/resourcemanager/lib/model/template-summary.ts index 902578901c..8154e7d8a7 100644 --- a/lib/resourcemanager/lib/model/template-summary.ts +++ b/lib/resourcemanager/lib/model/template-summary.ts @@ -32,7 +32,8 @@ export interface TemplateSummary { */ "compartmentId"?: string; /** - * Human-readable display name for the template. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -52,11 +53,30 @@ export interface TemplateSummary { "timeCreated"?: Date; /** * The current lifecycle state of the template. - * Allowable values: - * - ACTIVE * */ "lifecycleState"?: string; + /** + * Free-form tags associated with the resource. Each tag is a key-value pair with no predefined name, type, or namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Department\": \"Finance\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace TemplateSummary { diff --git a/lib/resourcemanager/lib/model/template.ts b/lib/resourcemanager/lib/model/template.ts index e95ff3dffc..7962ec1509 100644 --- a/lib/resourcemanager/lib/model/template.ts +++ b/lib/resourcemanager/lib/model/template.ts @@ -38,7 +38,8 @@ export interface Template { */ "categoryId"?: string; /** - * Human-readable name of the template. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -80,6 +81,13 @@ export interface Template { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {orcl-cloud: {free-tier-retain: true}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace Template { diff --git a/lib/resourcemanager/lib/model/terraform-version-summary.ts b/lib/resourcemanager/lib/model/terraform-version-summary.ts index 8a286ec418..0c1c35c5c0 100644 --- a/lib/resourcemanager/lib/model/terraform-version-summary.ts +++ b/lib/resourcemanager/lib/model/terraform-version-summary.ts @@ -24,7 +24,7 @@ import common = require("oci-common"); */ export interface TerraformVersionSummary { /** - * A supported Terraform version. Example: {@code 0.12.x} + * A supported Terraform version. Example: {@code 1.5.x} * */ "name"?: string; diff --git a/lib/resourcemanager/lib/model/update-configuration-source-provider-details.ts b/lib/resourcemanager/lib/model/update-configuration-source-provider-details.ts index 9f22d7f2d6..f40164dcfa 100644 --- a/lib/resourcemanager/lib/model/update-configuration-source-provider-details.ts +++ b/lib/resourcemanager/lib/model/update-configuration-source-provider-details.ts @@ -24,7 +24,8 @@ import common = require("oci-common"); */ export interface UpdateConfigurationSourceProviderDetails { /** - * Human-readable name of the configuration source provider. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** diff --git a/lib/resourcemanager/lib/model/update-job-details.ts b/lib/resourcemanager/lib/model/update-job-details.ts index 8be290650b..31af7e60d6 100644 --- a/lib/resourcemanager/lib/model/update-job-details.ts +++ b/lib/resourcemanager/lib/model/update-job-details.ts @@ -24,7 +24,8 @@ import common = require("oci-common"); */ export interface UpdateJobDetails { /** - * The new display name to set. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** diff --git a/lib/resourcemanager/lib/model/update-private-endpoint-details.ts b/lib/resourcemanager/lib/model/update-private-endpoint-details.ts index 065b832b0d..ebad8720e1 100644 --- a/lib/resourcemanager/lib/model/update-private-endpoint-details.ts +++ b/lib/resourcemanager/lib/model/update-private-endpoint-details.ts @@ -24,7 +24,8 @@ import common = require("oci-common"); */ export interface UpdatePrivateEndpointDetails { /** - * The private endpoint display name. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -70,6 +71,13 @@ export interface UpdatePrivateEndpointDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdatePrivateEndpointDetails { diff --git a/lib/resourcemanager/lib/model/update-stack-details.ts b/lib/resourcemanager/lib/model/update-stack-details.ts index 2fef8e1828..cd91d35223 100644 --- a/lib/resourcemanager/lib/model/update-stack-details.ts +++ b/lib/resourcemanager/lib/model/update-stack-details.ts @@ -24,7 +24,8 @@ import common = require("oci-common"); */ export interface UpdateStackDetails { /** - * The name of the stack. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** @@ -59,7 +60,7 @@ export interface UpdateStackDetails { */ "variables"?: { [key: string]: string }; /** - * The version of Terraform to use with the stack. Example: {@code 0.12.x} + * The version of Terraform to use with the stack. Example: {@code 1.5.x} * */ "terraformVersion"?: string; diff --git a/lib/resourcemanager/lib/model/update-template-details.ts b/lib/resourcemanager/lib/model/update-template-details.ts index 3eeab9747c..62f94fcaeb 100644 --- a/lib/resourcemanager/lib/model/update-template-details.ts +++ b/lib/resourcemanager/lib/model/update-template-details.ts @@ -24,7 +24,8 @@ import common = require("oci-common"); */ export interface UpdateTemplateDetails { /** - * The template's display name. Avoid entering confidential information. + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + * */ "displayName"?: string; /** diff --git a/lib/resourcemanager/lib/request/list-jobs-request.ts b/lib/resourcemanager/lib/request/list-jobs-request.ts index b3a4bdc12f..c3a9c1fa15 100644 --- a/lib/resourcemanager/lib/request/list-jobs-request.ts +++ b/lib/resourcemanager/lib/request/list-jobs-request.ts @@ -40,18 +40,10 @@ export interface ListJobsRequest extends common.BaseRequest { */ "id"?: string; /** - * A filter that returns all resources that match the specified lifecycle state. -* The state value is case-insensitive. -*

-Allowable values: -* - ACCEPTED -* - IN_PROGRESS -* - FAILED -* - SUCCEEDED -* - CANCELING -* - CANCELED -* - */ + * A filter that returns all resources that match the specified lifecycle state. + * The state value is case-insensitive. + * + */ "lifecycleState"?: string; /** * A filter to return only resources that match the given display name exactly. diff --git a/lib/resourcemanager/lib/request/list-stack-resource-drift-details-request.ts b/lib/resourcemanager/lib/request/list-stack-resource-drift-details-request.ts index 5b5f2f9f4f..d02306cd9f 100644 --- a/lib/resourcemanager/lib/request/list-stack-resource-drift-details-request.ts +++ b/lib/resourcemanager/lib/request/list-stack-resource-drift-details-request.ts @@ -34,11 +34,6 @@ export interface ListStackResourceDriftDetailsRequest extends common.BaseRequest "workRequestId"?: string; /** * A filter that returns only resources that match the given drift status. The value is case-insensitive. - * Allowable values - - * - NOT_CHECKED - * - MODIFIED - * - IN_SYNC - * - DELETED * */ "resourceDriftStatus"?: Array; diff --git a/lib/resourcemanager/lib/request/list-stacks-request.ts b/lib/resourcemanager/lib/request/list-stacks-request.ts index 8c3fb48477..40b719a037 100644 --- a/lib/resourcemanager/lib/request/list-stacks-request.ts +++ b/lib/resourcemanager/lib/request/list-stacks-request.ts @@ -35,19 +35,12 @@ export interface ListStacksRequest extends common.BaseRequest { */ "id"?: string; /** - * A filter that returns only those resources that match the specified -* lifecycle state. The state value is case-insensitive. -* For more information about stack lifecycle states, see -* [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates). -*

-Allowable values: -* - CREATING -* - ACTIVE -* - DELETING -* - DELETED -* - FAILED -* - */ + * A filter that returns only those resources that match the specified + * lifecycle state. The state value is case-insensitive. + * For more information about stack lifecycle states, see + * [Key Concepts](https://docs.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm#concepts__StackStates). + * + */ "lifecycleState"?: string; /** * A filter to return only resources that match the given display name exactly. diff --git a/lib/resourcemanager/lib/response/create-private-endpoint-response.ts b/lib/resourcemanager/lib/response/create-private-endpoint-response.ts index 04d51d069e..d362528e95 100644 --- a/lib/resourcemanager/lib/response/create-private-endpoint-response.ts +++ b/lib/resourcemanager/lib/response/create-private-endpoint-response.ts @@ -19,6 +19,10 @@ export interface CreatePrivateEndpointResponse { * Unique identifier for the request. */ "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "opcWorkRequestId": string; /** * For optimistic concurrency control. See {@code if-match}. */ diff --git a/lib/resourcemanager/lib/response/delete-private-endpoint-response.ts b/lib/resourcemanager/lib/response/delete-private-endpoint-response.ts index ba88c1aaf6..e5ce4ded94 100644 --- a/lib/resourcemanager/lib/response/delete-private-endpoint-response.ts +++ b/lib/resourcemanager/lib/response/delete-private-endpoint-response.ts @@ -19,4 +19,8 @@ export interface DeletePrivateEndpointResponse { * Unique identifier for the request. */ "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "opcWorkRequestId": string; } diff --git a/lib/resourcemanager/lib/response/update-private-endpoint-response.ts b/lib/resourcemanager/lib/response/update-private-endpoint-response.ts index 7f01c0470b..1c2f324ee7 100644 --- a/lib/resourcemanager/lib/response/update-private-endpoint-response.ts +++ b/lib/resourcemanager/lib/response/update-private-endpoint-response.ts @@ -19,6 +19,10 @@ export interface UpdatePrivateEndpointResponse { * Unique identifier for the request. */ "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "opcWorkRequestId": string; /** * For optimistic concurrency control. See {@code if-match}. */ diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 6df59ae001..e708e72741 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index f4b2dfa4b5..637fa79cda 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index 1d8ca09589..e6824cf7d0 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for resource research Service", "repository": { "type": "git", diff --git a/lib/rover/package.json b/lib/rover/package.json index 713da40a6e..3a47243b15 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index d8efc3a690..ed47ae9616 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index c214beb386..c7dfdb497b 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index e7408a28f1..88327caf71 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 79c94b0601..85d35ab4c0 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Service Catalog Service", "repository": { "type": "git", diff --git a/lib/servicemanagerproxy/package.json b/lib/servicemanagerproxy/package.json index f78aaf9245..594f035946 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index f3d79cba3e..2bf3222f5d 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Stack Monitoring Service", "repository": { "type": "git", diff --git a/lib/streaming/package.json b/lib/streaming/package.json index d8a4fdf49d..d09cd23641 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 8288ddea49..0a1c8a8aa2 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Tenant Manager Control Plane Service", "repository": { "type": "git", diff --git a/lib/threatintelligence/package.json b/lib/threatintelligence/package.json index 81ce9eeb4d..4d64e14c78 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Threat Intelligence Service", "repository": { "type": "git", diff --git a/lib/usage/package.json b/lib/usage/package.json index 58f7baf326..17c6c25930 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index ae6662a480..0fb5bed609 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Usage Api Service", "repository": { "type": "git", diff --git a/lib/vault/package.json b/lib/vault/package.json index 1b39450fbb..70484b70f5 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index be0ae5ce7e..dcc541f1b4 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Vbs Inst Service", "repository": { "type": "git", diff --git a/lib/visualbuilder/package.json b/lib/visualbuilder/package.json index f0a7c163ac..1edb949551 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index b369b1d539..c7d259f209 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Vn Monitoring Service", "repository": { "type": "git", diff --git a/lib/vulnerabilityscanning/package.json b/lib/vulnerabilityscanning/package.json index 2518a76a16..47c9cadff5 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Vulnerability Scanning Service", "repository": { "type": "git", diff --git a/lib/waa/package.json b/lib/waa/package.json index 0ed8c9e256..e55146240f 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index dd3f5e2387..96f7b8ac9c 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index a88fd1e4e0..2e5383b8c8 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index a39d1591fe..0f9085602b 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index c5399e8d76..d6b1406136 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index 1314baa66c..2faa63c36a 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.118.1", + "version": "2.119.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index a3bec970c6..1a400af8ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.118.1", + "version": "2.119.0", "author": { "name": "Oracle Cloud Infrastructure", "email": "" @@ -179,7 +179,8 @@ "oci-aidataplatform": "file:lib/aidataplatform", "oci-jmsutils": "file:lib/jmsutils", "oci-multicloud": "file:lib/multicloud", - "oci-resourceanalytics": "file:lib/resourceanalytics" + "oci-resourceanalytics": "file:lib/resourceanalytics", + "oci-iot": "file:lib/iot" }, "publishConfig": { "registry": "https://registry.npmjs.org"