diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 641fad0..019b659 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -15,39 +15,38 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{matrix.nodeversion}} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{matrix.dotnetverson}} + dotnet-version: ${{matrix.dotnetversion}} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{matrix.pythonversion}} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -59,13 +58,18 @@ jobs: -exec chmod +x {} \; - name: Build SDK run: make build_${{ matrix.language }} + - name: Checkout Scripts Repo + uses: actions/checkout@v3 + with: + path: ci-scripts + repository: pulumi/scripts - name: Check worktree clean - run: ./ci-scripts/ci/check-worktree-is-clean + run: ${{ github.workspace }}/ci-scripts/ci/check-worktree-is-clean - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -73,41 +77,40 @@ jobs: fail-fast: true matrix: dotnetversion: - - 3.1.301 + - 6 goversion: - - 1.16.x + - 1.20.5 language: - nodejs - python - dotnet - go nodeversion: - - 13.x + - 18.x pythonversion: - - "3.7" + - "3.11.4" prerequisites: name: prerequisites runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Build tfgen & provider binaries run: make provider - name: Tar provider binaries @@ -115,7 +118,7 @@ jobs: }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -127,24 +130,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Run golangci run: make lint_provider strategy: @@ -154,16 +156,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -175,35 +174,34 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: always-auth: true registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 - name: Download Python SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: python-sdk.tar.gz path: ${{ github.workspace}}/sdk @@ -212,14 +210,14 @@ jobs: - name: Install Twine run: python -m pip install pip twine - name: Download NodeJS SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nodejs-sdk.tar.gz path: ${{ github.workspace}}/sdk - name: Unzip NodeJS SDK run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs - name: Download DotNet SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: dotnet-sdk.tar.gz path: ${{ github.workspace}}/sdk diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index cc43c67..51d2c33 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,39 +9,38 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{matrix.nodeversion}} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{matrix.dotnetverson}} + dotnet-version: ${{matrix.dotnetversion}} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{matrix.pythonversion}} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -53,13 +52,18 @@ jobs: -exec chmod +x {} \; - name: Build SDK run: make build_${{ matrix.language }} + - name: Checkout Scripts Repo + uses: actions/checkout@v3 + with: + path: ci-scripts + repository: pulumi/scripts - name: Check worktree clean - run: ./ci-scripts/ci/check-worktree-is-clean + run: ${{ github.workspace }}/ci-scripts/ci/check-worktree-is-clean - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -67,41 +71,40 @@ jobs: fail-fast: true matrix: dotnetversion: - - 3.1.301 + - 6 goversion: - - 1.16.x + - 1.20.5 language: - nodejs - python - dotnet - go nodeversion: - - 13.x + - 18.x pythonversion: - - "3.7" + - "3.11.4" prerequisites: name: prerequisites runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Build tfgen & provider binaries run: make provider - name: Tar provider binaries @@ -109,7 +112,7 @@ jobs: }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -121,24 +124,23 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 - - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: - path: ci-scripts - repository: pulumi/scripts + submodules: recursive - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Run golangci run: make lint_provider strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c6d467..c9afd13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,39 +15,39 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + submodules: recursive - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ci-scripts repository: pulumi/scripts - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{matrix.nodeversion}} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{matrix.dotnetverson}} + dotnet-version: ${{matrix.dotnetversion}} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{matrix.pythonversion}} - name: Download provider + tfgen binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin @@ -60,12 +60,12 @@ jobs: - name: Build SDK run: make build_${{ matrix.language }} - name: Check worktree clean - run: ./ci-scripts/ci/check-worktree-is-clean + run: ${{ github.workspace }}/ci-scripts/ci/check-worktree-is-clean - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.language }}-sdk.tar.gz path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz @@ -73,41 +73,41 @@ jobs: fail-fast: true matrix: dotnetversion: - - 3.1.301 + - 6 goversion: - - 1.16.x + - 1.20.5 language: - nodejs - python - dotnet - go nodeversion: - - 13.x + - 18.x pythonversion: - - "3.7" + - "3.11.4" prerequisites: name: prerequisites runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + submodules: recursive - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ci-scripts repository: pulumi/scripts - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Build tfgen & provider binaries run: make provider - name: Tar provider binaries @@ -115,7 +115,7 @@ jobs: }}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ env.PROVIDER }}-provider.tar.gz path: ${{ github.workspace }}/bin/provider.tar.gz @@ -127,24 +127,26 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ci-scripts repository: pulumi/scripts - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags + uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Run golangci run: make lint_provider strategy: @@ -154,9 +156,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + submodules: recursive - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ci-scripts repository: pulumi/scripts @@ -165,9 +169,9 @@ jobs: with: repo: pulumi/pulumictl - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -179,24 +183,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + submodules: recursive - name: Checkout Scripts Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ci-scripts repository: pulumi/scripts - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: 1.16.x + go-version: 1.20.5 - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + uses: pulumi/actions@v4 - name: Setup Node uses: actions/setup-node@v1 with: @@ -207,7 +211,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 - name: Download Python SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: python-sdk.tar.gz path: ${{ github.workspace}}/sdk @@ -216,14 +220,14 @@ jobs: - name: Install Twine run: python -m pip install pip twine - name: Download NodeJS SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nodejs-sdk.tar.gz path: ${{ github.workspace}}/sdk - name: Unzip NodeJS SDK run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs - name: Download DotNet SDK - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: dotnet-sdk.tar.gz path: ${{ github.workspace}}/sdk diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1b43da4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "upstream"] + path = upstream + url = https://github.com/labd/terraform-provider-commercetools + ignore = dirty \ No newline at end of file diff --git a/Makefile b/Makefile index 8df230c..f7a46a1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ PROJECT_NAME := commercetools Package +SHELL := /bin/bash PACK := commercetools ORG := unplatform-io PROJECT := github.com/${ORG}/pulumi-${PACK} @@ -25,8 +26,16 @@ prepare:: mv "provider/cmd/pulumi-tfgen-x${EMPTY_TO_AVOID_SED}yz" provider/cmd/pulumi-tfgen-${NAME} mv "provider/cmd/pulumi-resource-x${EMPTY_TO_AVOID_SED}yz" provider/cmd/pulumi-resource-${NAME} - sed -i 's,github.com/unplatform-io/pulumi-commercetools,${REPOSITORY},g' provider/go.mod; \ - find ./ ! -path './.git/*' -type f -exec sed -i 's/[x]yz/${NAME}/g' {} \; &> /dev/null; \ + if [[ "${OS}" != "Darwin" ]]; then \ + sed -i 's,github.com/pulumi/pulumi-xyz,${REPOSITORY},g' provider/go.mod; \ + find ./ ! -path './.git/*' -type f -exec sed -i 's/[x]yz/${NAME}/g' {} \; &> /dev/null; \ + fi + + # In MacOS the -i parameter needs an empty string to execute in place. + if [[ "${OS}" == "Darwin" ]]; then \ + sed -i '' 's,github.com/pulumi/pulumi-xyz,${REPOSITORY},g' provider/go.mod; \ + find ./ ! -path './.git/*' -type f -exec sed -i '' 's/[x]yz/${NAME}/g' {} \; &> /dev/null; \ + fi .PHONY: development provider build_sdks build_nodejs build_dotnet build_go build_python cleanup @@ -36,13 +45,14 @@ development:: install_plugins provider lint_provider build_sdks install_sdks cle build:: install_plugins provider build_sdks install_sdks only_build:: build -tfgen:: install_plugins - (cd provider && go build -a -o $(WORKING_DIR)/bin/${TFGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${TFGEN}) +tfgen:: install_plugins patch + touch $(WORKING_DIR)/provider/cmd/pulumi-resource-commercetools/schema-embed.json + (cd provider && go build -buildvcs=false -o $(WORKING_DIR)/bin/${TFGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${TFGEN}) $(WORKING_DIR)/bin/${TFGEN} schema --out provider/cmd/${PROVIDER} (cd provider && VERSION=$(VERSION) go generate cmd/${PROVIDER}/main.go) provider:: tfgen install_plugins # build the provider binary - (cd provider && go build -a -o $(WORKING_DIR)/bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${PROVIDER}) + (cd provider && go build -buildvcs=false -o $(WORKING_DIR)/bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${PROVIDER}) build_sdks:: install_plugins provider build_nodejs build_python build_go build_dotnet # build all the sdks @@ -52,8 +62,9 @@ build_nodejs:: install_plugins tfgen # build the node sdk cd sdk/nodejs/ && \ yarn install && \ yarn run tsc && \ + cp -R scripts/ bin && \ cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \ - sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json + sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json build_python:: PYPI_VERSION := $(shell pulumictl get version --language python) build_python:: install_plugins tfgen # build the python sdk @@ -62,7 +73,7 @@ build_python:: install_plugins tfgen # build the python sdk cp ../../README.md . && \ python3 setup.py clean --all 2>/dev/null && \ rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin && \ - sed -i.bak -e "s/\$${VERSION}/$(PYPI_VERSION)/g" -e "s/\$${PLUGIN_VERSION}/$(VERSION)/g" ./bin/setup.py && \ + sed -i.bak -e 's/^VERSION = .*/VERSION = "$(PYPI_VERSION)"/g' -e 's/^PLUGIN_VERSION = .*/PLUGIN_VERSION = "$(VERSION)"/g' ./bin/setup.py && \ rm ./bin/setup.py.bak && \ cd ./bin && python3 setup.py build sdist @@ -94,7 +105,7 @@ clean:: install_plugins:: [ -x $(shell which pulumi) ] || curl -fsSL https://get.pulumi.com | sh - pulumi plugin install resource random 2.2.0 + pulumi plugin install resource random 4.3.1 install_dotnet_sdk:: mkdir -p $(WORKING_DIR)/nuget @@ -112,3 +123,7 @@ install_sdks:: install_dotnet_sdk install_python_sdk install_nodejs_sdk test:: cd examples && go test -v -tags=all -parallel ${TESTPARALLELISM} -timeout 2h +patch:: + cp $(WORKING_DIR)/upstream_patches/* $(WORKING_DIR)/upstream/ + find $(WORKING_DIR)/upstream/. -name "*.patch" -exec bash -c "cd $(WORKING_DIR)/upstream/ && git apply --whitespace=fix {}" \; + diff --git a/README.md b/README.md index bb91ac4..bc659bb 100644 --- a/README.md +++ b/README.md @@ -65,3 +65,18 @@ The following configuration points are available for the `commercetools` provide For detailed reference documentation, please visit [the docs of the commerce tools terraform provider][1]. [1]: https://commercetools-terraform-provider.readthedocs.io/en/latest/ + + +## Upgrading the pulumi plugin +To upgrade the plugin to a never version of the upstream terraform client the following steps should be taken: +- Update the submodule: `git submodule update --remote --merge` +- Validate if the patches in `upstream_patches/` are still valid e.g. + - They might reference the wrong line of code + - They might be unneeded +- Validate if there are new mappings / changed mappings in `provider/resources.go` + - You can check if there are new items by reading the console output of `make tfgen` +- If upstream has stopped using terraform SDK and now fully uses terraform plugin framework: + - Remove the muxer in `provider/resources.go`, `provider/cmd/pulumi-*-commercetools/main.go` and the `provider/shim/shim.go` + - Validate the current implementation with the documentation on [How to Bridge a Provider](https://github.com/pulumi/pulumi-terraform-bridge/blob/master/pf/README.md) +- Rebuild the SDK's using `make build_sdks` +- Validate the functionality using the sample project, make sure to fill in valid credentials in `Pulumi.commercetools-test.yml` diff --git a/examples/.gitignore b/examples/.gitignore index ed6aaad..54707d9 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1,4 +1,4 @@ .pulumi/ **/bin/ node_modules/ - +.vs \ No newline at end of file diff --git a/examples/dotnet/GlobalUsings.cs b/examples/dotnet/GlobalUsings.cs new file mode 100644 index 0000000..46d5d5f --- /dev/null +++ b/examples/dotnet/GlobalUsings.cs @@ -0,0 +1,3 @@ +// Global using directives + +global using Pulumi; \ No newline at end of file diff --git a/examples/dotnet/MyStack.cs b/examples/dotnet/MyStack.cs new file mode 100644 index 0000000..c98b242 --- /dev/null +++ b/examples/dotnet/MyStack.cs @@ -0,0 +1,125 @@ +using Pulumi.Commercetools; +using Pulumi.Commercetools.Inputs; + +namespace dotnet; + +class MyStack : Stack +{ + public MyStack() + { + ProvisionProjectSettings(); + ProvisionDefaultProductType(); + } + + private void ProvisionProjectSettings() + { + var _ = new ProjectSettings("Unplatform storefront", new ProjectSettingsArgs + { + EnableSearchIndexProducts = true, + Currencies = new List + { + "EUR", + "USD" + }, + Languages = new List + { + "de-DE", + "en-US" + }, + Countries = new List + { + "DE", + "US", + "NL", + } + }); + } + + private static void ProvisionDefaultProductType() + { + var _ = new ProductType("Product", new ProductTypeArgs + { + Name = "Product", + Description = "Product", + Key = "product", + Attributes = new List + { + new() + { + Name = "brand", + Constraint = "SameForAll", + Type = new ProductTypeAttributeTypeArgs + { + Name = "text" + }, + Searchable = true, + Label = new Dictionary + { + { "en-US", "Brand" } + } + }, + new() + { + Name = "color", + Constraint = "Unique", + Type = new ProductTypeAttributeTypeArgs + { + Name = "text" + }, + Searchable = true, + Label = new Dictionary + { + { "en-US", "Color" } + } + }, + new() + { + Name = "from-price", + Constraint = "None", + Type = new ProductTypeAttributeTypeArgs + { + Name = "money" + }, + Searchable = false, + Label = new Dictionary + { + { "en-US", "From price" } + } + }, + new() + { + Name = "featured-product-tag", + Constraint = "SameForAll", + Type = new ProductTypeAttributeTypeArgs + { + Name = "text" + }, + Searchable = true, + Label = new Dictionary + { + { "en-US", "Featured Product Tag" } + } + }, + new() + { + Name = "similar-products", + Constraint = "SameForAll", + Type = new ProductTypeAttributeTypeArgs + { + Name = "set", + ElementType2 = new ProductTypeAttributeTypeElementType2Args + { + Name = "reference", + ReferenceTypeId = "product", + } + }, + Searchable = false, + Label = new Dictionary + { + { "en-US", "Similar Products" } + }, + }, + } + }); + } +} \ No newline at end of file diff --git a/examples/dotnet/Program.cs b/examples/dotnet/Program.cs new file mode 100644 index 0000000..c43c4b2 --- /dev/null +++ b/examples/dotnet/Program.cs @@ -0,0 +1 @@ +await Deployment.RunAsync(); \ No newline at end of file diff --git a/examples/dotnet/Pulumi.commercetools-test.yml b/examples/dotnet/Pulumi.commercetools-test.yml new file mode 100644 index 0000000..8bc8921 --- /dev/null +++ b/examples/dotnet/Pulumi.commercetools-test.yml @@ -0,0 +1,13 @@ +config: + Provision:CommerceToolsApiBaseAddress: https://api.europe-west1.gcp.commercetools.com/ + Provision:CommerceToolsAuthUrl: https://auth.europe-west1.gcp.commercetools.com/ + Provision:CommerceToolsClientId: nhID3utCN5zsBnUv0rEI0VJM + Provision:CommerceToolsProjectKey: unplatform-new-bridge-demo + Provision:CommerceToolsScope: manage_project:unplatform-new-bridge-demo + Provision:CommerceToolsSecret: IKYQZ8sq2Bb3Xqk4J-uBngqyKcJeD8cZ + commercetools:apiUrl: "https://api.europe-west1.gcp.commercetools.com" + commercetools:clientId: "nhID3utCN5zsBnUv0rEI0VJM" + commercetools:clientSecret: "IKYQZ8sq2Bb3Xqk4J-uBngqyKcJeD8cZ" + commercetools:projectKey: "unplatform-new-bridge-demo" + commercetools:scopes: "manage_project:unplatform-new-bridge-demo" + commercetools:tokenUrl: "https://auth.europe-west1.gcp.commercetools.com" \ No newline at end of file diff --git a/examples/dotnet/Pulumi.yml b/examples/dotnet/Pulumi.yml new file mode 100644 index 0000000..70a12af --- /dev/null +++ b/examples/dotnet/Pulumi.yml @@ -0,0 +1,3 @@ +name: Provision +runtime: dotnet +description: A minimal Azure C# Pulumi program diff --git a/examples/dotnet/dotnet.csproj b/examples/dotnet/dotnet.csproj new file mode 100644 index 0000000..0b39a44 --- /dev/null +++ b/examples/dotnet/dotnet.csproj @@ -0,0 +1,19 @@ + + + + Exe + net7.0 + enable + enable + + + + $(MSBuildThisFileDirectory)/../../sdk/dotnet/bin/Debug/ + + + + + + + + diff --git a/examples/simple/Pulumi.yaml b/examples/simple/Pulumi.yaml deleted file mode 100644 index 4aec8e8..0000000 --- a/examples/simple/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: simple -runtime: nodejs -description: A simple xyz example diff --git a/examples/simple/index.ts b/examples/simple/index.ts deleted file mode 100644 index c38f2d3..0000000 --- a/examples/simple/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as CommerceTools from "../../sdk/nodejs/bin"; - -new CommerceTools.Subscription("my-test", { - key: 'test2', - destination: { - type: "azure_servicebus", - connectionString: "Endpoint=sb://unplatform8aaee3f5.servicebus.windows.net/;SharedAccessKeyName=test;SharedAccessKey=VE1/GVfCFSgUZYiMVo9laznJgZct+sp47Q7krhYpHR4=;EntityPath=test", - region: "", - uri: "" - }, - messages: [{ - resourceTypeId: "order", - types: ["OrderCreated"] - }] -}) - diff --git a/examples/simple/package-lock.json b/examples/simple/package-lock.json deleted file mode 100644 index 419dfa5..0000000 --- a/examples/simple/package-lock.json +++ /dev/null @@ -1,660 +0,0 @@ -{ - "name": "commercetools-typescript", - "version": "0.1.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@grpc/grpc-js": { - "version": "0.6.18", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.6.18.tgz", - "integrity": "sha512-uAzv/tM8qpbf1vpx1xPMfcUMzbfdqJtdCYAqY/LsLeQQlnTb4vApylojr+wlCyr7bZeg3AFfHvtihnNOQQt/nA==", - "requires": { - "semver": "^6.2.0" - } - }, - "@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78=" - }, - "@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A=" - }, - "@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=", - "requires": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E=" - }, - "@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik=" - }, - "@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0=" - }, - "@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q=" - }, - "@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=" - }, - "@pulumi/pulumi": { - "version": "2.15.6", - "resolved": "https://registry.npmjs.org/@pulumi/pulumi/-/pulumi-2.15.6.tgz", - "integrity": "sha512-q3kN6FPyMnND0X4XViyGN+MjGaM4OlSq60/gr2gE+SoNtcVsxw5DyaESE3cG+Wi13zzlz+ouFEd2nQ95Q4btkQ==", - "requires": { - "@grpc/grpc-js": "^0.6.15", - "@pulumi/query": "^0.3.0", - "google-protobuf": "^3.5.0", - "js-yaml": "^3.14.0", - "minimist": "^1.2.0", - "normalize-package-data": "^2.4.0", - "protobufjs": "^6.8.6", - "read-package-tree": "^5.3.1", - "require-from-string": "^2.0.1", - "semver": "^6.1.0", - "source-map-support": "^0.4.16", - "ts-node": "^7.0.1", - "typescript": "~3.7.3", - "upath": "^1.1.0" - } - }, - "@pulumi/query": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@pulumi/query/-/query-0.3.0.tgz", - "integrity": "sha512-xfo+yLRM2zVjVEA4p23IjQWzyWl1ZhWOGobsBqRpIarzLvwNH/RAGaoehdxlhx4X92302DrpdIFgTICMN4P38w==" - }, - "@types/long": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", - "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" - }, - "@types/node": { - "version": "14.14.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.14.tgz", - "integrity": "sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ==", - "dev": true - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" - }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" - }, - "call-bind": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", - "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "debuglog": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=" - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "requires": { - "object-keys": "^1.0.12" - } - }, - "dezalgo": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz", - "integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=", - "requires": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" - }, - "es-abstract": { - "version": "1.18.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", - "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-negative-zero": "^2.0.0", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "get-intrinsic": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", - "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "google-protobuf": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.14.0.tgz", - "integrity": "sha512-bwa8dBuMpOxg7COyqkW6muQuvNnWgVN8TX/epDRGW5m0jcrmq2QJyCyiV8ZE2/6LaIIqJtiv9bYokFhfpy/o6w==" - }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" - }, - "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "is-callable": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" - }, - "is-core-module": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", - "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" - }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" - }, - "is-regex": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", - "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", - "requires": { - "has-symbols": "^1.0.1" - } - }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "requires": { - "has-symbols": "^1.0.1" - } - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" - }, - "object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.1.tgz", - "integrity": "sha512-6DtXgZ/lIZ9hqx4GtZETobXLR/ZLaa0aqV0kzbn80Rf8Z2e/XFnhA0I7p07N2wH8bBBltr2xQPi6sbKWAY2Eng==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" - }, - "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" - }, - "protobufjs": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.2.tgz", - "integrity": "sha512-27yj+04uF6ya9l+qfpH187aqEzfCF4+Uit0I9ZBQVqK09hk/SQzKa2MUqUpXaVa7LOFRg1TSSr3lVxGOk6c0SQ==", - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/long": "^4.0.1", - "@types/node": "^13.7.0", - "long": "^4.0.0" - }, - "dependencies": { - "@types/node": { - "version": "13.13.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.36.tgz", - "integrity": "sha512-ctzZJ+XsmHQwe3xp07gFUq4JxBaRSYzKHPgblR76//UanGST7vfFNF0+ty5eEbgTqsENopzoDK090xlha9dccQ==" - } - } - }, - "read-package-json": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", - "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", - "requires": { - "glob": "^7.1.1", - "json-parse-even-better-errors": "^2.3.0", - "normalize-package-data": "^2.0.0", - "npm-normalize-package-bin": "^1.0.0" - } - }, - "read-package-tree": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz", - "integrity": "sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw==", - "requires": { - "read-package-json": "^2.0.0", - "readdir-scoped-modules": "^1.0.0", - "util-promisify": "^2.1.0" - } - }, - "readdir-scoped-modules": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", - "requires": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, - "require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" - }, - "resolve": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", - "requires": { - "is-core-module": "^2.1.0", - "path-parse": "^1.0.6" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "requires": { - "source-map": "^0.5.6" - } - }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==" - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "string.prototype.trimend": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", - "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", - "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - } - }, - "ts-node": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", - "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", - "requires": { - "arrify": "^1.0.0", - "buffer-from": "^1.1.0", - "diff": "^3.1.0", - "make-error": "^1.1.1", - "minimist": "^1.2.0", - "mkdirp": "^0.5.1", - "source-map-support": "^0.5.6", - "yn": "^2.0.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" - }, - "source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - } - } - }, - "typescript": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", - "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==" - }, - "upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==" - }, - "util-promisify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz", - "integrity": "sha1-PCI2R2xNMsX/PEcAKt18E7moKlM=", - "requires": { - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "yn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", - "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=" - } - } -} diff --git a/examples/simple/package.json b/examples/simple/package.json deleted file mode 100644 index 9f28e53..0000000 --- a/examples/simple/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "commercetools-typescript", - "version": "0.1.0", - "devDependencies": { - "@types/node": "latest" - }, - "dependencies": { - "@pulumi/pulumi": "latest" - } -} diff --git a/provider/cmd/pulumi-resource-commercetools/.gitignore b/provider/cmd/pulumi-resource-commercetools/.gitignore index eaadaff..8e9db8a 100644 --- a/provider/cmd/pulumi-resource-commercetools/.gitignore +++ b/provider/cmd/pulumi-resource-commercetools/.gitignore @@ -1 +1,2 @@ schema.go +schema-embed.json \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-commercetools/bridge-metadata.json b/provider/cmd/pulumi-resource-commercetools/bridge-metadata.json new file mode 100644 index 0000000..c300e3e --- /dev/null +++ b/provider/cmd/pulumi-resource-commercetools/bridge-metadata.json @@ -0,0 +1,290 @@ +{ + "mux": { + "resources": { + "commercetools:index/apiClient:ApiClient": 0, + "commercetools:index/apiExtension:ApiExtension": 0, + "commercetools:index/cartDiscount:CartDiscount": 0, + "commercetools:index/category:Category": 0, + "commercetools:index/channel:Channel": 0, + "commercetools:index/customObject:CustomObject": 0, + "commercetools:index/customerGroup:CustomerGroup": 0, + "commercetools:index/discountCode:DiscountCode": 0, + "commercetools:index/productDiscount:ProductDiscount": 0, + "commercetools:index/productType:ProductType": 0, + "commercetools:index/projectSettings:ProjectSettings": 1, + "commercetools:index/shippingMethod:ShippingMethod": 0, + "commercetools:index/shippingZone:ShippingZone": 0, + "commercetools:index/shippingZoneRate:ShippingZoneRate": 0, + "commercetools:index/state:State": 1, + "commercetools:index/stateTransitions:StateTransitions": 1, + "commercetools:index/store:Store": 0, + "commercetools:index/subscription:Subscription": 1, + "commercetools:index/taxCategory:TaxCategory": 0, + "commercetools:index/taxCategoryRate:TaxCategoryRate": 0, + "commercetools:index/type:Type": 0 + }, + "functions": { + "commercetools:index/getType:getType": 1 + } + }, + "renames": { + "resources": { + "commercetools:index/apiClient:ApiClient": "commercetools_api_client", + "commercetools:index/apiExtension:ApiExtension": "commercetools_api_extension", + "commercetools:index/cartDiscount:CartDiscount": "commercetools_cart_discount", + "commercetools:index/category:Category": "commercetools_category", + "commercetools:index/channel:Channel": "commercetools_channel", + "commercetools:index/customObject:CustomObject": "commercetools_custom_object", + "commercetools:index/customerGroup:CustomerGroup": "commercetools_customer_group", + "commercetools:index/discountCode:DiscountCode": "commercetools_discount_code", + "commercetools:index/productDiscount:ProductDiscount": "commercetools_product_discount", + "commercetools:index/productType:ProductType": "commercetools_product_type", + "commercetools:index/projectSettings:ProjectSettings": "commercetools_project_settings", + "commercetools:index/shippingMethod:ShippingMethod": "commercetools_shipping_method", + "commercetools:index/shippingZone:ShippingZone": "commercetools_shipping_zone", + "commercetools:index/shippingZoneRate:ShippingZoneRate": "commercetools_shipping_zone_rate", + "commercetools:index/state:State": "commercetools_state", + "commercetools:index/stateTransitions:StateTransitions": "commercetools_state_transitions", + "commercetools:index/store:Store": "commercetools_store", + "commercetools:index/subscription:Subscription": "commercetools_subscription", + "commercetools:index/taxCategory:TaxCategory": "commercetools_tax_category", + "commercetools:index/taxCategoryRate:TaxCategoryRate": "commercetools_tax_category_rate", + "commercetools:index/type:Type": "commercetools_type" + }, + "functions": { + "commercetools:index/getType:getType": "commercetools_type" + }, + "renamedProperties": { + "commercetools:index/ApiExtensionDestination:ApiExtensionDestination": { + "accessKey": "access_key", + "accessSecret": "access_secret", + "authorizationHeader": "authorization_header", + "azureAuthentication": "azure_authentication" + }, + "commercetools:index/ApiExtensionTrigger:ApiExtensionTrigger": { + "resourceTypeId": "resource_type_id" + }, + "commercetools:index/CartDiscountValue:CartDiscountValue": { + "distributionChannelId": "distribution_channel_id", + "monies": "money", + "productId": "product_id", + "supplyChannelId": "supply_channel_id" + }, + "commercetools:index/CartDiscountValueMoney:CartDiscountValueMoney": { + "centAmount": "cent_amount", + "currencyCode": "currency_code" + }, + "commercetools:index/CategoryAssetSource:CategoryAssetSource": { + "contentType": "content_type" + }, + "commercetools:index/CategoryCustom:CategoryCustom": { + "typeId": "type_id" + }, + "commercetools:index/ChannelAddress:ChannelAddress": { + "additionalAddressInfo": "additional_address_info", + "additionalStreetInfo": "additional_street_info", + "externalId": "external_id", + "firstName": "first_name", + "lastName": "last_name", + "poBox": "po_box", + "postalCode": "postal_code", + "streetName": "street_name", + "streetNumber": "street_number" + }, + "commercetools:index/ChannelCustom:ChannelCustom": { + "typeId": "type_id" + }, + "commercetools:index/CustomerGroupCustom:CustomerGroupCustom": { + "typeId": "type_id" + }, + "commercetools:index/DiscountCodeCustom:DiscountCodeCustom": { + "typeId": "type_id" + }, + "commercetools:index/ProductDiscountValue:ProductDiscountValue": { + "monies": "money" + }, + "commercetools:index/ProductDiscountValueMoney:ProductDiscountValueMoney": { + "centAmount": "cent_amount", + "currencyCode": "currency_code", + "fractionDigits": "fraction_digits" + }, + "commercetools:index/ProductTypeAttribute:ProductTypeAttribute": { + "inputHint": "input_hint", + "inputTip": "input_tip" + }, + "commercetools:index/ProductTypeAttributeType:ProductTypeAttributeType": { + "ElementType2": "element_type", + "localizedValues": "localized_value", + "referenceTypeId": "reference_type_id", + "typeReference": "type_reference", + "values": "value" + }, + "commercetools:index/ProductTypeAttributeTypeElementType2:ProductTypeAttributeTypeElementType2": { + "localizedValues": "localized_value", + "referenceTypeId": "reference_type_id", + "typeReference": "type_reference", + "values": "value" + }, + "commercetools:index/ProjectSettingsCarts:ProjectSettingsCarts": { + "countryTaxRateFallbackEnabled": "country_tax_rate_fallback_enabled", + "deleteDaysAfterLastModification": "delete_days_after_last_modification" + }, + "commercetools:index/ProjectSettingsExternalOauth:ProjectSettingsExternalOauth": { + "authorizationHeader": "authorization_header" + }, + "commercetools:index/ProjectSettingsMessages:ProjectSettingsMessages": { + "deleteDaysAfterCreation": "delete_days_after_creation" + }, + "commercetools:index/ShippingMethodCustom:ShippingMethodCustom": { + "typeId": "type_id" + }, + "commercetools:index/ShippingZoneRateFreeAbove:ShippingZoneRateFreeAbove": { + "centAmount": "cent_amount", + "currencyCode": "currency_code" + }, + "commercetools:index/ShippingZoneRatePrice:ShippingZoneRatePrice": { + "centAmount": "cent_amount", + "currencyCode": "currency_code" + }, + "commercetools:index/ShippingZoneRateShippingRatePriceTier:ShippingZoneRateShippingRatePriceTier": { + "minimumCentAmount": "minimum_cent_amount", + "priceFunction": "price_function" + }, + "commercetools:index/ShippingZoneRateShippingRatePriceTierPrice:ShippingZoneRateShippingRatePriceTierPrice": { + "centAmount": "cent_amount", + "currencyCode": "currency_code" + }, + "commercetools:index/ShippingZoneRateShippingRatePriceTierPriceFunction:ShippingZoneRateShippingRatePriceTierPriceFunction": { + "currencyCode": "currency_code" + }, + "commercetools:index/StoreCustom:StoreCustom": { + "typeId": "type_id" + }, + "commercetools:index/SubscriptionChange:SubscriptionChange": { + "resourceTypeIds": "resource_type_ids" + }, + "commercetools:index/SubscriptionDestination:SubscriptionDestination": { + "accessKey": "access_key", + "accessSecret": "access_secret", + "accountId": "account_id", + "connectionString": "connection_string", + "projectId": "project_id", + "queueUrl": "queue_url", + "topicArn": "topic_arn" + }, + "commercetools:index/SubscriptionFormat:SubscriptionFormat": { + "cloudEventsVersion": "cloud_events_version" + }, + "commercetools:index/SubscriptionMessage:SubscriptionMessage": { + "resourceTypeId": "resource_type_id" + }, + "commercetools:index/TypeField:TypeField": { + "inputHint": "input_hint" + }, + "commercetools:index/TypeFieldType:TypeFieldType": { + "ElementType2": "element_type", + "localizedValues": "localized_value", + "referenceTypeId": "reference_type_id", + "values": "value" + }, + "commercetools:index/TypeFieldTypeElementType2:TypeFieldTypeElementType2": { + "localizedValues": "localized_value", + "referenceTypeId": "reference_type_id", + "values": "value" + }, + "commercetools:index/apiClient:ApiClient": { + "scopes": "scope" + }, + "commercetools:index/apiExtension:ApiExtension": { + "timeoutInMs": "timeout_in_ms", + "triggers": "trigger" + }, + "commercetools:index/cartDiscount:CartDiscount": { + "isActive": "is_active", + "requiresDiscountCode": "requires_discount_code", + "sortOrder": "sort_order", + "stackingMode": "stacking_mode", + "validFrom": "valid_from", + "validUntil": "valid_until" + }, + "commercetools:index/category:Category": { + "externalId": "external_id", + "metaDescription": "meta_description", + "metaKeywords": "meta_keywords", + "metaTitle": "meta_title", + "orderHint": "order_hint" + }, + "commercetools:index/discountCode:DiscountCode": { + "cartDiscounts": "cart_discounts", + "isActive": "is_active", + "maxApplications": "max_applications", + "maxApplicationsPerCustomer": "max_applications_per_customer", + "validFrom": "valid_from", + "validUntil": "valid_until" + }, + "commercetools:index/productDiscount:ProductDiscount": { + "isActive": "is_active", + "sortOrder": "sort_order", + "validFrom": "valid_from", + "validUntil": "valid_until" + }, + "commercetools:index/productType:ProductType": { + "attributes": "attribute" + }, + "commercetools:index/projectSettings:ProjectSettings": { + "enableSearchIndexOrders": "enable_search_index_orders", + "enableSearchIndexProducts": "enable_search_index_products", + "externalOauth": "external_oauth", + "shippingRateCartClassificationValues": "shipping_rate_cart_classification_value", + "shippingRateInputType": "shipping_rate_input_type" + }, + "commercetools:index/shippingMethod:ShippingMethod": { + "isDefault": "is_default", + "localizedDescription": "localized_description", + "taxCategoryId": "tax_category_id" + }, + "commercetools:index/shippingZone:ShippingZone": { + "locations": "location" + }, + "commercetools:index/shippingZoneRate:ShippingZoneRate": { + "freeAbove": "free_above", + "shippingMethodId": "shipping_method_id", + "shippingRatePriceTiers": "shipping_rate_price_tier", + "shippingZoneId": "shipping_zone_id" + }, + "commercetools:index/stateTransitions:StateTransitions": { + "tos": "to" + }, + "commercetools:index/store:Store": { + "distributionChannels": "distribution_channels", + "supplyChannels": "supply_channels" + }, + "commercetools:index/subscription:Subscription": { + "messages": "message" + }, + "commercetools:index/taxCategoryRate:TaxCategoryRate": { + "includedInPrice": "included_in_price", + "subRates": "sub_rate", + "taxCategoryId": "tax_category_id" + }, + "commercetools:index/type:Type": { + "fields": "field", + "resourceTypeIds": "resource_type_ids" + }, + "commercetools:index:Provider": { + "apiUrl": "api_url", + "clientId": "client_id", + "clientSecret": "client_secret", + "projectKey": "project_key", + "tokenUrl": "token_url" + } + }, + "renamedConfigProperties": { + "apiUrl": "api_url", + "clientId": "client_id", + "clientSecret": "client_secret", + "projectKey": "project_key", + "tokenUrl": "token_url" + } + } +} \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-commercetools/generate.go b/provider/cmd/pulumi-resource-commercetools/generate.go index a548fda..414389e 100644 --- a/provider/cmd/pulumi-resource-commercetools/generate.go +++ b/provider/cmd/pulumi-resource-commercetools/generate.go @@ -12,13 +12,14 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build ignore +//go:build ignore package main import ( "encoding/json" - "fmt" + "errors" + "io/fs" "io/ioutil" "log" "os" @@ -49,9 +50,13 @@ func main() { log.Fatalf("cannot reserialize schema: %v", err) } - err = ioutil.WriteFile("./schema.go", []byte(fmt.Sprintf(`package main -var pulumiSchema = %#v -`, versionedContents)), 0600) + // Clean up schema.go as it may be present & gitignored and tolerate an error if the file isn't present. + err = os.Remove("./schema.go") + if err != nil && !errors.Is(err, fs.ErrNotExist) { + log.Fatal(err) + } + + err = ioutil.WriteFile("./schema-embed.json", versionedContents, 0600) if err != nil { log.Fatal(err) } diff --git a/provider/cmd/pulumi-resource-commercetools/main.go b/provider/cmd/pulumi-resource-commercetools/main.go index 50e7a66..140ed86 100644 --- a/provider/cmd/pulumi-resource-commercetools/main.go +++ b/provider/cmd/pulumi-resource-commercetools/main.go @@ -17,12 +17,15 @@ package main import ( - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" + "context" + _ "embed" + pf "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge" commercetools "github.com/unplatform-io/pulumi-commercetools/provider" - "github.com/unplatform-io/pulumi-commercetools/provider/pkg/version" ) +//go:embed schema.json +var schema []byte + func main() { - // Modify the path to point to the new provider - tfbridge.Main("commercetools", version.Version, commercetools.Provider(), pulumiSchema) + pf.MainWithMuxer(context.Background(), "commercetools", commercetools.Provider(), schema) } diff --git a/provider/cmd/pulumi-resource-commercetools/schema.json b/provider/cmd/pulumi-resource-commercetools/schema.json index 792df61..316c0b3 100644 --- a/provider/cmd/pulumi-resource-commercetools/schema.json +++ b/provider/cmd/pulumi-resource-commercetools/schema.json @@ -1,5 +1,6 @@ { "name": "commercetools", + "displayName": "commercetools", "description": "A Pulumi package for creating and managing commercetools cloud resources.", "keywords": [ "pulumi", @@ -7,11 +8,50 @@ ], "homepage": "https://pulumi.io", "license": "Apache-2.0", - "attribution": "This Pulumi package is based on the [`commercetools` Terraform Provider](https://github.com/terraform-providers/terraform-provider-commercetools).", + "attribution": "This Pulumi package is based on the [`commercetools` Terraform Provider](https://github.com/unplatform-io/terraform-provider-commercetools).", "repository": "https://github.com/unplatform-io/pulumi-commercetools", + "publisher": "Aviva Solutions", "meta": { "moduleFormat": "(.*)(?:/[^/]*)" }, + "language": { + "csharp": { + "compatibility": "tfbridge20", + "namespaces": null, + "packageReferences": { + "Pulumi": "3.*" + } + }, + "go": { + "generateExtraInputTypes": true, + "generateResourceContainerTypes": true, + "importBasePath": "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools" + }, + "nodejs": { + "compatibility": "tfbridge20", + "dependencies": { + "@pulumi/pulumi": "^3.0.0" + }, + "devDependencies": { + "@types/mime": "^2.0.0", + "@types/node": "^10.0.0" + }, + "disableUnionOutputTypes": true, + "packageDescription": "A Pulumi package for creating and managing commercetools cloud resources.", + "packageName": "@unplatform/commercetools", + "pluginName": "", + "pluginVersion": "", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/unplatform-io/terraform-provider-commercetools)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-commercetools` repo](https://github.com/unplatform-io/pulumi-commercetools/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-commercetools` repo](https://github.com/unplatform-io/terraform-provider-commercetools/issues).", + "typescriptVersion": "" + }, + "python": { + "compatibility": "tfbridge20", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/unplatform-io/terraform-provider-commercetools)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-commercetools` repo](https://github.com/unplatform-io/pulumi-commercetools/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-commercetools` repo](https://github.com/unplatform-io/terraform-provider-commercetools/issues).", + "requires": { + "pulumi": "\u003e=3.0.0,\u003c4.0.0" + } + } + }, "config": { "variables": { "apiUrl": { @@ -20,15 +60,18 @@ }, "clientId": { "type": "string", - "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "projectKey": { "type": "string", - "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n" + "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n", + "secret": true }, "scopes": { "type": "string", @@ -38,15 +81,7 @@ "type": "string", "description": "The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization\n" } - }, - "defaults": [ - "apiUrl", - "clientId", - "clientSecret", - "projectKey", - "scopes", - "tokenUrl" - ] + } }, "types": { "commercetools:index/ApiExtensionDestination:ApiExtensionDestination": { @@ -55,7 +90,8 @@ "type": "string" }, "accessSecret": { - "type": "string" + "type": "string", + "secret": true }, "arn": { "type": "string" @@ -84,20 +120,13 @@ "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } }, + "condition": { + "type": "string" + }, "resourceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -123,63 +152,28 @@ "commercetools:index/CartDiscountValue:CartDiscountValue": { "properties": { "distributionChannelId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "monies": { "type": "array", "items": { "$ref": "#/types/commercetools:index/CartDiscountValueMoney:CartDiscountValueMoney" - }, - "language": { - "python": { - "mapCase": false - } } }, "permyriad": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "productId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "supplyChannelId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "variant": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" } }, "type": "object", @@ -190,20 +184,10 @@ "commercetools:index/CartDiscountValueMoney:CartDiscountValueMoney": { "properties": { "centAmount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "currencyCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -212,77 +196,338 @@ "currencyCode" ] }, + "commercetools:index/CategoryAsset:CategoryAsset": { + "properties": { + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/CategoryAssetSource:CategoryAssetSource" + } + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "id", + "name" + ] + } + } + }, + "commercetools:index/CategoryAssetSource:CategoryAssetSource": { + "properties": { + "contentType": { + "type": "string" + }, + "dimensions": { + "$ref": "#/types/commercetools:index/CategoryAssetSourceDimensions:CategoryAssetSourceDimensions" + }, + "key": { + "type": "string" + }, + "uri": { + "type": "string" + } + }, + "type": "object", + "required": [ + "uri" + ] + }, + "commercetools:index/CategoryAssetSourceDimensions:CategoryAssetSourceDimensions": { + "properties": { + "h": { + "type": "integer" + }, + "w": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "h", + "w" + ] + }, + "commercetools:index/CategoryCustom:CategoryCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, + "commercetools:index/ChannelAddress:ChannelAddress": { + "properties": { + "additionalAddressInfo": { + "type": "string" + }, + "additionalStreetInfo": { + "type": "string" + }, + "apartment": { + "type": "string" + }, + "building": { + "type": "string" + }, + "city": { + "type": "string" + }, + "company": { + "type": "string" + }, + "country": { + "type": "string" + }, + "department": { + "type": "string" + }, + "email": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "fax": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "poBox": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "region": { + "type": "string" + }, + "salutation": { + "type": "string" + }, + "state": { + "type": "string" + }, + "streetName": { + "type": "string" + }, + "streetNumber": { + "type": "string" + }, + "title": { + "type": "string" + } + }, + "type": "object", + "required": [ + "country" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "country", + "id" + ] + } + } + }, + "commercetools:index/ChannelCustom:ChannelCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, + "commercetools:index/ChannelGeolocation:ChannelGeolocation": { + "properties": { + "coordinates": { + "type": "array", + "items": { + "type": "number" + } + } + }, + "type": "object", + "required": [ + "coordinates" + ] + }, + "commercetools:index/CustomerGroupCustom:CustomerGroupCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, + "commercetools:index/DiscountCodeCustom:DiscountCodeCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, + "commercetools:index/ProductDiscountValue:ProductDiscountValue": { + "properties": { + "monies": { + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/ProductDiscountValueMoney:ProductDiscountValueMoney" + } + }, + "permyriad": { + "type": "integer" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "type" + ] + }, + "commercetools:index/ProductDiscountValueMoney:ProductDiscountValueMoney": { + "properties": { + "centAmount": { + "type": "integer" + }, + "currencyCode": { + "type": "string" + }, + "fractionDigits": { + "type": "integer" + } + }, + "type": "object", + "required": [ + "centAmount", + "currencyCode" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "centAmount", + "currencyCode", + "fractionDigits" + ] + } + } + }, "commercetools:index/ProductTypeAttribute:ProductTypeAttribute": { "properties": { "constraint": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "inputHint": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "inputTip": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "searchable": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "type": { - "$ref": "#/types/commercetools:index/ProductTypeAttributeType:ProductTypeAttributeType", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/commercetools:index/ProductTypeAttributeType:ProductTypeAttributeType" } }, "type": "object", @@ -295,57 +540,27 @@ "commercetools:index/ProductTypeAttributeType:ProductTypeAttributeType": { "properties": { "ElementType2": { - "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeElementType2:ProductTypeAttributeTypeElementType2", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeElementType2:ProductTypeAttributeTypeElementType2" }, "localizedValues": { "type": "array", "items": { "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeLocalizedValue:ProductTypeAttributeTypeLocalizedValue" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "referenceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "typeReference": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeValue:ProductTypeAttributeTypeValue" } } }, @@ -360,46 +575,21 @@ "type": "array", "items": { "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeElementType2LocalizedValue:ProductTypeAttributeTypeElementType2LocalizedValue" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "referenceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "typeReference": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/ProductTypeAttributeTypeElementType2Value:ProductTypeAttributeTypeElementType2Value" } } }, @@ -411,22 +601,12 @@ "commercetools:index/ProductTypeAttributeTypeElementType2LocalizedValue:ProductTypeAttributeTypeElementType2LocalizedValue": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -436,25 +616,30 @@ "label" ] }, + "commercetools:index/ProductTypeAttributeTypeElementType2Value:ProductTypeAttributeTypeElementType2Value": { + "properties": { + "key": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key", + "label" + ] + }, "commercetools:index/ProductTypeAttributeTypeLocalizedValue:ProductTypeAttributeTypeLocalizedValue": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -464,6 +649,21 @@ "label" ] }, + "commercetools:index/ProductTypeAttributeTypeValue:ProductTypeAttributeTypeValue": { + "properties": { + "key": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key", + "label" + ] + }, "commercetools:index/ProjectSettingsCarts:ProjectSettingsCarts": { "properties": { "countryTaxRateFallbackEnabled": { @@ -473,10 +673,7 @@ "type": "integer" } }, - "type": "object", - "required": [ - "countryTaxRateFallbackEnabled" - ] + "type": "object" }, "commercetools:index/ProjectSettingsExternalOauth:ProjectSettingsExternalOauth": { "properties": { @@ -484,45 +681,32 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "secret": true } }, - "type": "object", - "required": [ - "authorizationHeader", - "url" - ] + "type": "object" }, "commercetools:index/ProjectSettingsMessages:ProjectSettingsMessages": { "properties": { + "deleteDaysAfterCreation": { + "type": "integer" + }, "enabled": { "type": "boolean" } }, - "type": "object", - "required": [ - "enabled" - ] + "type": "object" }, "commercetools:index/ProjectSettingsShippingRateCartClassificationValue:ProjectSettingsShippingRateCartClassificationValue": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } + "type": "string" } } }, @@ -531,23 +715,30 @@ "key" ] }, + "commercetools:index/ShippingMethodCustom:ShippingMethodCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, "commercetools:index/ShippingZoneLocation:ShippingZoneLocation": { "properties": { "country": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "state": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -558,20 +749,10 @@ "commercetools:index/ShippingZoneRateFreeAbove:ShippingZoneRateFreeAbove": { "properties": { "centAmount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "currencyCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -583,20 +764,10 @@ "commercetools:index/ShippingZoneRatePrice:ShippingZoneRatePrice": { "properties": { "centAmount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "currencyCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -608,69 +779,36 @@ "commercetools:index/ShippingZoneRateShippingRatePriceTier:ShippingZoneRateShippingRatePriceTier": { "properties": { "minimumCentAmount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "price": { - "$ref": "#/types/commercetools:index/ShippingZoneRateShippingRatePriceTierPrice:ShippingZoneRateShippingRatePriceTierPrice", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/commercetools:index/ShippingZoneRateShippingRatePriceTierPrice:ShippingZoneRateShippingRatePriceTierPrice" + }, + "priceFunction": { + "$ref": "#/types/commercetools:index/ShippingZoneRateShippingRatePriceTierPriceFunction:ShippingZoneRateShippingRatePriceTierPriceFunction" }, "score": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "type": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "value": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", "required": [ - "price", "type" ] }, "commercetools:index/ShippingZoneRateShippingRatePriceTierPrice:ShippingZoneRateShippingRatePriceTierPrice": { "properties": { "centAmount": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "type": "integer" }, "currencyCode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -679,28 +817,63 @@ "currencyCode" ] }, + "commercetools:index/ShippingZoneRateShippingRatePriceTierPriceFunction:ShippingZoneRateShippingRatePriceTierPriceFunction": { + "properties": { + "currencyCode": { + "type": "string" + }, + "function": { + "type": "string" + } + }, + "type": "object", + "required": [ + "currencyCode", + "function" + ] + }, + "commercetools:index/StoreCustom:StoreCustom": { + "properties": { + "fields": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "typeId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "typeId" + ] + }, "commercetools:index/SubscriptionChange:SubscriptionChange": { "properties": { "resourceTypeIds": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } } }, - "type": "object" + "type": "object", + "required": [ + "resourceTypeIds" + ] }, "commercetools:index/SubscriptionDestination:SubscriptionDestination": { "properties": { "accessKey": { - "type": "string" + "type": "string", + "secret": true }, "accessSecret": { + "type": "string", + "secret": true + }, + "accountId": { "type": "string" }, "connectionString": { @@ -730,9 +903,7 @@ }, "type": "object", "required": [ - "region", - "type", - "uri" + "type" ] }, "commercetools:index/SubscriptionFormat:SubscriptionFormat": { @@ -744,52 +915,33 @@ "type": "string" } }, - "type": "object", - "required": [ - "type" - ] + "type": "object" }, "commercetools:index/SubscriptionMessage:SubscriptionMessage": { "properties": { "resourceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "types": { "type": "array", "items": { "type": "string" - }, - "language": { - "python": { - "mapCase": false - } } } }, - "type": "object" + "type": "object", + "required": [ + "resourceTypeId", + "types" + ] }, "commercetools:index/TaxCategoryRateSubRate:TaxCategoryRateSubRate": { "properties": { "amount": { - "type": "number", - "language": { - "python": { - "mapCase": false - } - } + "type": "number" }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" } }, "type": "object", @@ -801,47 +953,22 @@ "commercetools:index/TypeField:TypeField": { "properties": { "inputHint": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "required": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } + "type": "boolean" }, "type": { - "$ref": "#/types/commercetools:index/TypeFieldType:TypeFieldType", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/commercetools:index/TypeFieldType:TypeFieldType" } }, "type": "object", @@ -854,49 +981,24 @@ "commercetools:index/TypeFieldType:TypeFieldType": { "properties": { "ElementType2": { - "$ref": "#/types/commercetools:index/TypeFieldTypeElementType2:TypeFieldTypeElementType2", - "language": { - "python": { - "mapCase": false - } - } + "$ref": "#/types/commercetools:index/TypeFieldTypeElementType2:TypeFieldTypeElementType2" }, "localizedValues": { "type": "array", "items": { "$ref": "#/types/commercetools:index/TypeFieldTypeLocalizedValue:TypeFieldTypeLocalizedValue" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "referenceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" + }, + "referenceTypeId": { + "type": "string" }, "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/TypeFieldTypeValue:TypeFieldTypeValue" } } }, @@ -911,38 +1013,18 @@ "type": "array", "items": { "$ref": "#/types/commercetools:index/TypeFieldTypeElementType2LocalizedValue:TypeFieldTypeElementType2LocalizedValue" - }, - "language": { - "python": { - "mapCase": false - } } }, "name": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "referenceTypeId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/TypeFieldTypeElementType2Value:TypeFieldTypeElementType2Value" } } }, @@ -954,22 +1036,12 @@ "commercetools:index/TypeFieldTypeElementType2LocalizedValue:TypeFieldTypeElementType2LocalizedValue": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -979,25 +1051,30 @@ "label" ] }, + "commercetools:index/TypeFieldTypeElementType2Value:TypeFieldTypeElementType2Value": { + "properties": { + "key": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key", + "label" + ] + }, "commercetools:index/TypeFieldTypeLocalizedValue:TypeFieldTypeLocalizedValue": { "properties": { "key": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } + "type": "string" }, "label": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } } } }, @@ -1006,6 +1083,21 @@ "key", "label" ] + }, + "commercetools:index/TypeFieldTypeValue:TypeFieldTypeValue": { + "properties": { + "key": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key", + "label" + ] } }, "provider": { @@ -1017,15 +1109,18 @@ }, "clientId": { "type": "string", - "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "projectKey": { "type": "string", - "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n" + "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n", + "secret": true }, "scopes": { "type": "string", @@ -1036,14 +1131,6 @@ "description": "The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization\n" } }, - "required": [ - "apiUrl", - "clientId", - "clientSecret", - "projectKey", - "scopes", - "tokenUrl" - ], "inputProperties": { "apiUrl": { "type": "string", @@ -1051,15 +1138,18 @@ }, "clientId": { "type": "string", - "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n" + "description": "The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization\n", + "secret": true }, "projectKey": { "type": "string", - "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n" + "description": "The project key of commercetools platform project. https://docs.commercetools.com/getting-started\n", + "secret": true }, "scopes": { "type": "string", @@ -1069,15 +1159,7 @@ "type": "string", "description": "The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization\n" } - }, - "requiredInputs": [ - "apiUrl", - "clientId", - "clientSecret", - "projectKey", - "scopes", - "tokenUrl" - ] + } }, "resources": { "commercetools:index/apiClient:ApiClient": { @@ -1094,7 +1176,8 @@ "description": "A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)\n" }, "secret": { - "type": "string" + "type": "string", + "secret": true } }, "required": [ @@ -1105,14 +1188,16 @@ "inputProperties": { "name": { "type": "string", - "description": "Name of the API client\n" + "description": "Name of the API client\n", + "willReplaceOnChanges": true }, "scopes": { "type": "array", "items": { "type": "string" }, - "description": "A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)\n" + "description": "A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -1123,17 +1208,20 @@ "properties": { "name": { "type": "string", - "description": "Name of the API client\n" + "description": "Name of the API client\n", + "willReplaceOnChanges": true }, "scopes": { "type": "array", "items": { "type": "string" }, - "description": "A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)\n" + "description": "A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes)\n", + "willReplaceOnChanges": true }, "secret": { - "type": "string" + "type": "string", + "secret": true } }, "type": "object" @@ -1370,37 +1458,253 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" - }, - "predicate": { - "type": "string", - "description": "A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" - }, - "requiresDiscountCode": { - "type": "boolean", - "description": "States whether the discount can only be used in a connection with a\n[DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode)\n" + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "predicate": { + "type": "string", + "description": "A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + }, + "requiresDiscountCode": { + "type": "boolean", + "description": "States whether the discount can only be used in a connection with a\n[DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode)\n" + }, + "sortOrder": { + "type": "string", + "description": "The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined\nby this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort\norder is unambiguous among all cart discounts\n" + }, + "stackingMode": { + "type": "string", + "description": "Specifies whether the application of this discount causes the following discounts to be ignored\n" + }, + "target": { + "$ref": "#/types/commercetools:index/CartDiscountTarget:CartDiscountTarget", + "description": "Empty when the value has type giftLineItem, otherwise a\n[CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)\n" + }, + "validFrom": { + "type": "string" + }, + "validUntil": { + "type": "string" + }, + "value": { + "$ref": "#/types/commercetools:index/CartDiscountValue:CartDiscountValue", + "description": "Defines the effect the discount will have.\n[CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)\n" + }, + "version": { + "type": "integer" + } + }, + "type": "object" + } + }, + "commercetools:index/category:Category": { + "properties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/CategoryAsset:CategoryAsset" + }, + "description": "Can be used to store images, icons or movies related to this category\n" + }, + "custom": { + "$ref": "#/types/commercetools:index/CategoryCustom:CategoryCustom" + }, + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "externalId": { + "type": "string" + }, + "key": { + "type": "string", + "description": "Category-specific unique identifier. Must be unique across a project\n" + }, + "metaDescription": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaKeywords": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaTitle": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "orderHint": { + "type": "string", + "description": "An attribute as base for a custom category order in one level, filled with random value when left empty\n" + }, + "parent": { + "type": "string", + "description": "A category that is the parent of this category in the category tree\n" + }, + "slug": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Human readable identifiers, needs to be unique\n" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "name", + "slug", + "version" + ], + "inputProperties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/CategoryAsset:CategoryAsset" + }, + "description": "Can be used to store images, icons or movies related to this category\n" + }, + "custom": { + "$ref": "#/types/commercetools:index/CategoryCustom:CategoryCustom" + }, + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "externalId": { + "type": "string" + }, + "key": { + "type": "string", + "description": "Category-specific unique identifier. Must be unique across a project\n", + "willReplaceOnChanges": true + }, + "metaDescription": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaKeywords": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaTitle": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "willReplaceOnChanges": true + }, + "orderHint": { + "type": "string", + "description": "An attribute as base for a custom category order in one level, filled with random value when left empty\n" + }, + "parent": { + "type": "string", + "description": "A category that is the parent of this category in the category tree\n" + }, + "slug": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Human readable identifiers, needs to be unique\n" + } + }, + "requiredInputs": [ + "slug" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering Category resources.\n", + "properties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/types/commercetools:index/CategoryAsset:CategoryAsset" + }, + "description": "Can be used to store images, icons or movies related to this category\n" + }, + "custom": { + "$ref": "#/types/commercetools:index/CategoryCustom:CategoryCustom" + }, + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "externalId": { + "type": "string" + }, + "key": { + "type": "string", + "description": "Category-specific unique identifier. Must be unique across a project\n", + "willReplaceOnChanges": true + }, + "metaDescription": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaKeywords": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "metaTitle": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + } + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "willReplaceOnChanges": true }, - "sortOrder": { + "orderHint": { "type": "string", - "description": "The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined\nby this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort\norder is unambiguous among all cart discounts\n" + "description": "An attribute as base for a custom category order in one level, filled with random value when left empty\n" }, - "stackingMode": { + "parent": { "type": "string", - "description": "Specifies whether the application of this discount causes the following discounts to be ignored\n" - }, - "target": { - "$ref": "#/types/commercetools:index/CartDiscountTarget:CartDiscountTarget", - "description": "Empty when the value has type giftLineItem, otherwise a\n[CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget)\n" - }, - "validFrom": { - "type": "string" - }, - "validUntil": { - "type": "string" + "description": "A category that is the parent of this category in the category tree\n" }, - "value": { - "$ref": "#/types/commercetools:index/CartDiscountValue:CartDiscountValue", - "description": "Defines the effect the discount will have.\n[CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue)\n" + "slug": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Human readable identifiers, needs to be unique\n" }, "version": { "type": "integer" @@ -1411,6 +1715,12 @@ }, "commercetools:index/channel:Channel": { "properties": { + "address": { + "$ref": "#/types/commercetools:index/ChannelAddress:ChannelAddress" + }, + "custom": { + "$ref": "#/types/commercetools:index/ChannelCustom:ChannelCustom" + }, "description": { "type": "object", "additionalProperties": { @@ -1418,6 +1728,9 @@ }, "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" }, + "geolocation": { + "$ref": "#/types/commercetools:index/ChannelGeolocation:ChannelGeolocation" + }, "key": { "type": "string", "description": "Any arbitrary string key that uniquely identifies this channel within the project\n" @@ -1447,6 +1760,12 @@ "version" ], "inputProperties": { + "address": { + "$ref": "#/types/commercetools:index/ChannelAddress:ChannelAddress" + }, + "custom": { + "$ref": "#/types/commercetools:index/ChannelCustom:ChannelCustom" + }, "description": { "type": "object", "additionalProperties": { @@ -1454,6 +1773,9 @@ }, "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" }, + "geolocation": { + "$ref": "#/types/commercetools:index/ChannelGeolocation:ChannelGeolocation" + }, "key": { "type": "string", "description": "Any arbitrary string key that uniquely identifies this channel within the project\n" @@ -1480,6 +1802,12 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Channel resources.\n", "properties": { + "address": { + "$ref": "#/types/commercetools:index/ChannelAddress:ChannelAddress" + }, + "custom": { + "$ref": "#/types/commercetools:index/ChannelCustom:ChannelCustom" + }, "description": { "type": "object", "additionalProperties": { @@ -1487,6 +1815,9 @@ }, "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" }, + "geolocation": { + "$ref": "#/types/commercetools:index/ChannelGeolocation:ChannelGeolocation" + }, "key": { "type": "string", "description": "Any arbitrary string key that uniquely identifies this channel within the project\n" @@ -1577,6 +1908,61 @@ "type": "object" } }, + "commercetools:index/customerGroup:CustomerGroup": { + "properties": { + "custom": { + "$ref": "#/types/commercetools:index/CustomerGroupCustom:CustomerGroupCustom" + }, + "key": { + "type": "string", + "description": "User-specific unique identifier for the customer group\n" + }, + "name": { + "type": "string", + "description": "Unique within the project\n" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "name", + "version" + ], + "inputProperties": { + "custom": { + "$ref": "#/types/commercetools:index/CustomerGroupCustom:CustomerGroupCustom" + }, + "key": { + "type": "string", + "description": "User-specific unique identifier for the customer group\n" + }, + "name": { + "type": "string", + "description": "Unique within the project\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering CustomerGroup resources.\n", + "properties": { + "custom": { + "$ref": "#/types/commercetools:index/CustomerGroupCustom:CustomerGroupCustom" + }, + "key": { + "type": "string", + "description": "User-specific unique identifier for the customer group\n" + }, + "name": { + "type": "string", + "description": "Unique within the project\n" + }, + "version": { + "type": "integer" + } + }, + "type": "object" + } + }, "commercetools:index/discountCode:DiscountCode": { "properties": { "cartDiscounts": { @@ -1590,6 +1976,78 @@ "type": "string", "description": "Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the\ncart\n" }, + "custom": { + "$ref": "#/types/commercetools:index/DiscountCodeCustom:DiscountCodeCustom" + }, + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The groups to which this discount code belong\n" + }, + "isActive": { + "type": "boolean" + }, + "maxApplications": { + "type": "integer", + "description": "The discount code can only be applied maxApplications times\n" + }, + "maxApplicationsPerCustomer": { + "type": "integer", + "description": "The discount code can only be applied maxApplicationsPerCustomer times per customer\n" + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "predicate": { + "type": "string", + "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + }, + "validFrom": { + "type": "string", + "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + }, + "validUntil": { + "type": "string", + "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "cartDiscounts", + "code", + "name", + "version" + ], + "inputProperties": { + "cartDiscounts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The referenced matching cart discounts can be applied to the cart once the DiscountCode is added\n" + }, + "code": { + "type": "string", + "description": "Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the\ncart\n" + }, + "custom": { + "$ref": "#/types/commercetools:index/DiscountCodeCustom:DiscountCodeCustom" + }, "description": { "type": "object", "additionalProperties": { @@ -1624,38 +2082,143 @@ }, "predicate": { "type": "string", - "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + }, + "validFrom": { + "type": "string", + "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + }, + "validUntil": { + "type": "string", + "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + } + }, + "requiredInputs": [ + "cartDiscounts", + "code" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering DiscountCode resources.\n", + "properties": { + "cartDiscounts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The referenced matching cart discounts can be applied to the cart once the DiscountCode is added\n" + }, + "code": { + "type": "string", + "description": "Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the\ncart\n" + }, + "custom": { + "$ref": "#/types/commercetools:index/DiscountCodeCustom:DiscountCodeCustom" + }, + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The groups to which this discount code belong\n" + }, + "isActive": { + "type": "boolean" + }, + "maxApplications": { + "type": "integer", + "description": "The discount code can only be applied maxApplications times\n" + }, + "maxApplicationsPerCustomer": { + "type": "integer", + "description": "The discount code can only be applied maxApplicationsPerCustomer times per customer\n" + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "predicate": { + "type": "string", + "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + }, + "validFrom": { + "type": "string", + "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + }, + "validUntil": { + "type": "string", + "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + }, + "version": { + "type": "integer" + } + }, + "type": "object" + } + }, + "commercetools:index/productDiscount:ProductDiscount": { + "properties": { + "description": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "isActive": { + "type": "boolean", + "description": "When set the product discount is applied to products matching the predicate\n" + }, + "key": { + "type": "string", + "description": "User-defined unique identifier for the ProductDiscount. Must be unique across a project\n" + }, + "name": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + }, + "predicate": { + "type": "string", + "description": "A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)\n" + }, + "sortOrder": { + "type": "string", + "description": "The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order\ndefined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.\nThe sort order is unambiguous among all product discounts\n" }, "validFrom": { - "type": "string", - "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + "type": "string" }, "validUntil": { - "type": "string", - "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + "type": "string" + }, + "value": { + "$ref": "#/types/commercetools:index/ProductDiscountValue:ProductDiscountValue", + "description": "Defines the effect the discount will have.\n[ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)\n" }, "version": { "type": "integer" } }, "required": [ - "cartDiscounts", - "code", "name", + "predicate", + "sortOrder", + "value", "version" ], "inputProperties": { - "cartDiscounts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The referenced matching cart discounts can be applied to the cart once the DiscountCode is added\n" - }, - "code": { - "type": "string", - "description": "Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the\ncart\n" - }, "description": { "type": "object", "additionalProperties": { @@ -1663,23 +2226,14 @@ }, "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" }, - "groups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The groups to which this discount code belong\n" - }, "isActive": { - "type": "boolean" - }, - "maxApplications": { - "type": "integer", - "description": "The discount code can only be applied maxApplications times\n" + "type": "boolean", + "description": "When set the product discount is applied to products matching the predicate\n" }, - "maxApplicationsPerCustomer": { - "type": "integer", - "description": "The discount code can only be applied maxApplicationsPerCustomer times per customer\n" + "key": { + "type": "string", + "description": "User-defined unique identifier for the ProductDiscount. Must be unique across a project\n", + "willReplaceOnChanges": true }, "name": { "type": "object", @@ -1690,35 +2244,31 @@ }, "predicate": { "type": "string", - "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + "description": "A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)\n" }, - "validFrom": { + "sortOrder": { "type": "string", - "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + "description": "The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order\ndefined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.\nThe sort order is unambiguous among all product discounts\n" + }, + "validFrom": { + "type": "string" }, "validUntil": { - "type": "string", - "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + "type": "string" + }, + "value": { + "$ref": "#/types/commercetools:index/ProductDiscountValue:ProductDiscountValue", + "description": "Defines the effect the discount will have.\n[ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)\n" } }, "requiredInputs": [ - "cartDiscounts", - "code" + "predicate", + "sortOrder", + "value" ], "stateInputs": { - "description": "Input properties used for looking up and filtering DiscountCode resources.\n", + "description": "Input properties used for looking up and filtering ProductDiscount resources.\n", "properties": { - "cartDiscounts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The referenced matching cart discounts can be applied to the cart once the DiscountCode is added\n" - }, - "code": { - "type": "string", - "description": "Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the\ncart\n" - }, "description": { "type": "object", "additionalProperties": { @@ -1726,23 +2276,14 @@ }, "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" }, - "groups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The groups to which this discount code belong\n" - }, "isActive": { - "type": "boolean" - }, - "maxApplications": { - "type": "integer", - "description": "The discount code can only be applied maxApplications times\n" + "type": "boolean", + "description": "When set the product discount is applied to products matching the predicate\n" }, - "maxApplicationsPerCustomer": { - "type": "integer", - "description": "The discount code can only be applied maxApplicationsPerCustomer times per customer\n" + "key": { + "type": "string", + "description": "User-defined unique identifier for the ProductDiscount. Must be unique across a project\n", + "willReplaceOnChanges": true }, "name": { "type": "object", @@ -1753,15 +2294,21 @@ }, "predicate": { "type": "string", - "description": "[Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates)\n" + "description": "A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates)\n" }, - "validFrom": { + "sortOrder": { "type": "string", - "description": "The time from which the discount can be applied on a cart. Before that time the code is invalid\n" + "description": "The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order\ndefined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order.\nThe sort order is unambiguous among all product discounts\n" + }, + "validFrom": { + "type": "string" }, "validUntil": { - "type": "string", - "description": "The time until the discount can be applied on a cart. After that time the code is invalid\n" + "type": "string" + }, + "value": { + "$ref": "#/types/commercetools:index/ProductDiscountValue:ProductDiscountValue", + "description": "Defines the effect the discount will have.\n[ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue)\n" }, "version": { "type": "integer" @@ -1863,6 +2410,14 @@ }, "description": "A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n" }, + "enableSearchIndexOrders": { + "type": "boolean", + "description": "Enable the Search Indexing of orders\n" + }, + "enableSearchIndexProducts": { + "type": "boolean", + "description": "Enable the Search Indexing of products\n" + }, "externalOauth": { "$ref": "#/types/commercetools:index/ProjectSettingsExternalOauth:ProjectSettingsExternalOauth", "description": "[External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)\n" @@ -1880,7 +2435,7 @@ }, "messages": { "$ref": "#/types/commercetools:index/ProjectSettingsMessages:ProjectSettingsMessages", - "description": "[Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration)\n" + "description": "The change notifications subscribed to\n" }, "name": { "type": "string", @@ -1902,7 +2457,12 @@ } }, "required": [ + "countries", + "currencies", + "enableSearchIndexOrders", + "enableSearchIndexProducts", "key", + "languages", "name", "version" ], @@ -1925,6 +2485,14 @@ }, "description": "A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n" }, + "enableSearchIndexOrders": { + "type": "boolean", + "description": "Enable the Search Indexing of orders\n" + }, + "enableSearchIndexProducts": { + "type": "boolean", + "description": "Enable the Search Indexing of products\n" + }, "externalOauth": { "$ref": "#/types/commercetools:index/ProjectSettingsExternalOauth:ProjectSettingsExternalOauth", "description": "[External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)\n" @@ -1938,7 +2506,7 @@ }, "messages": { "$ref": "#/types/commercetools:index/ProjectSettingsMessages:ProjectSettingsMessages", - "description": "[Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration)\n" + "description": "The change notifications subscribed to\n" }, "name": { "type": "string", @@ -1977,6 +2545,14 @@ }, "description": "A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)\n" }, + "enableSearchIndexOrders": { + "type": "boolean", + "description": "Enable the Search Indexing of orders\n" + }, + "enableSearchIndexProducts": { + "type": "boolean", + "description": "Enable the Search Indexing of products\n" + }, "externalOauth": { "$ref": "#/types/commercetools:index/ProjectSettingsExternalOauth:ProjectSettingsExternalOauth", "description": "[External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth)\n" @@ -1994,7 +2570,7 @@ }, "messages": { "$ref": "#/types/commercetools:index/ProjectSettingsMessages:ProjectSettingsMessages", - "description": "[Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration)\n" + "description": "The change notifications subscribed to\n" }, "name": { "type": "string", @@ -2020,6 +2596,9 @@ }, "commercetools:index/shippingMethod:ShippingMethod": { "properties": { + "custom": { + "$ref": "#/types/commercetools:index/ShippingMethodCustom:ShippingMethodCustom" + }, "description": { "type": "string" }, @@ -2036,7 +2615,7 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "[LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring)\n" }, "name": { "type": "string" @@ -2047,7 +2626,7 @@ }, "taxCategoryId": { "type": "string", - "description": "ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)\n" + "description": "ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory)\n" }, "version": { "type": "integer" @@ -2055,9 +2634,13 @@ }, "required": [ "name", + "taxCategoryId", "version" ], "inputProperties": { + "custom": { + "$ref": "#/types/commercetools:index/ShippingMethodCustom:ShippingMethodCustom" + }, "description": { "type": "string" }, @@ -2074,7 +2657,7 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "[LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring)\n" }, "name": { "type": "string" @@ -2085,12 +2668,18 @@ }, "taxCategoryId": { "type": "string", - "description": "ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)\n" + "description": "ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory)\n" } }, + "requiredInputs": [ + "taxCategoryId" + ], "stateInputs": { "description": "Input properties used for looking up and filtering ShippingMethod resources.\n", "properties": { + "custom": { + "$ref": "#/types/commercetools:index/ShippingMethodCustom:ShippingMethodCustom" + }, "description": { "type": "string" }, @@ -2107,7 +2696,7 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "[LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring)\n" }, "name": { "type": "string" @@ -2118,7 +2707,7 @@ }, "taxCategoryId": { "type": "string", - "description": "ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory)\n" + "description": "ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory)\n" }, "version": { "type": "integer" @@ -2141,7 +2730,7 @@ "items": { "$ref": "#/types/commercetools:index/ShippingZoneLocation:ShippingZoneLocation" }, - "description": "[Location](https://docs.commercetools.com/api/projects/zones#location)\n" + "description": "[Location](https://docs.commercetoolstools.pi/projects/zones#location)\n" }, "name": { "type": "string" @@ -2167,7 +2756,7 @@ "items": { "$ref": "#/types/commercetools:index/ShippingZoneLocation:ShippingZoneLocation" }, - "description": "[Location](https://docs.commercetools.com/api/projects/zones#location)\n" + "description": "[Location](https://docs.commercetoolstools.pi/projects/zones#location)\n" }, "name": { "type": "string" @@ -2188,7 +2777,7 @@ "items": { "$ref": "#/types/commercetools:index/ShippingZoneLocation:ShippingZoneLocation" }, - "description": "[Location](https://docs.commercetools.com/api/projects/zones#location)\n" + "description": "[Location](https://docs.commercetoolstools.pi/projects/zones#location)\n" }, "name": { "type": "string" @@ -2237,7 +2826,8 @@ "$ref": "#/types/commercetools:index/ShippingZoneRatePrice:ShippingZoneRatePrice" }, "shippingMethodId": { - "type": "string" + "type": "string", + "willReplaceOnChanges": true }, "shippingRatePriceTiers": { "type": "array", @@ -2247,7 +2837,8 @@ "description": "A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no\ntiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier\nAPI Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)\n" }, "shippingZoneId": { - "type": "string" + "type": "string", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -2266,7 +2857,8 @@ "$ref": "#/types/commercetools:index/ShippingZoneRatePrice:ShippingZoneRatePrice" }, "shippingMethodId": { - "type": "string" + "type": "string", + "willReplaceOnChanges": true }, "shippingRatePriceTiers": { "type": "array", @@ -2276,7 +2868,8 @@ "description": "A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no\ntiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier\nAPI Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier)\n" }, "shippingZoneId": { - "type": "string" + "type": "string", + "willReplaceOnChanges": true } }, "type": "object" @@ -2287,9 +2880,9 @@ "description": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "Description of the State as localized string.\n" }, "initial": { "type": "boolean", @@ -2297,28 +2890,21 @@ }, "key": { "type": "string", - "description": "A unique identifier for the state\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "name": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" - }, - "roles": { - "type": "array", - "items": { "type": "string" }, - "description": "Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" + "description": "Name of the State as localized string.\n" }, - "transitions": { + "roles": { "type": "array", "items": { "type": "string" }, - "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + "description": "[State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" }, "type": { "type": "string", @@ -2329,7 +2915,7 @@ } }, "required": [ - "key", + "initial", "name", "type", "version" @@ -2338,9 +2924,9 @@ "description": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "Description of the State as localized string.\n" }, "initial": { "type": "boolean", @@ -2348,28 +2934,21 @@ }, "key": { "type": "string", - "description": "A unique identifier for the state\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "name": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" - }, - "roles": { - "type": "array", - "items": { "type": "string" }, - "description": "Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" + "description": "Name of the State as localized string.\n" }, - "transitions": { + "roles": { "type": "array", "items": { "type": "string" }, - "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + "description": "[State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" }, "type": { "type": "string", @@ -2377,7 +2956,6 @@ } }, "requiredInputs": [ - "key", "type" ], "stateInputs": { @@ -2386,9 +2964,9 @@ "description": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" + "description": "Description of the State as localized string.\n" }, "initial": { "type": "boolean", @@ -2396,28 +2974,21 @@ }, "key": { "type": "string", - "description": "A unique identifier for the state\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "name": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "[LocalizedString](https://docs.commercetools.com/api/types#localizedstring)\n" - }, - "roles": { - "type": "array", - "items": { "type": "string" }, - "description": "Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" + "description": "Name of the State as localized string.\n" }, - "transitions": { + "roles": { "type": "array", "items": { "type": "string" }, - "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + "description": "[State Role](https://docs.commercetools.com/api/projects/states#staterole)\n" }, "type": { "type": "string", @@ -2430,8 +3001,64 @@ "type": "object" } }, + "commercetools:index/stateTransitions:StateTransitions": { + "properties": { + "from": { + "type": "string", + "description": "ID of the state to transition from\n" + }, + "tos": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + } + }, + "required": [ + "from", + "tos" + ], + "inputProperties": { + "from": { + "type": "string", + "description": "ID of the state to transition from\n" + }, + "tos": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + } + }, + "requiredInputs": [ + "from", + "tos" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering StateTransitions resources.\n", + "properties": { + "from": { + "type": "string", + "description": "ID of the state to transition from\n" + }, + "tos": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Transitions are a way to describe possible transformations of the current state to other states of the same type (for\nexample: Initial -\u003e Shipped). When performing a transitionState update action and transitions is set, the currently\nreferenced state must have a transition to the new state. If transitions is an empty list, it means the current state is\na final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When\nperforming a transitionState update action, any other state of the same type can be transitioned to\n" + } + }, + "type": "object" + } + }, "commercetools:index/store:Store": { "properties": { + "custom": { + "$ref": "#/types/commercetools:index/StoreCustom:StoreCustom" + }, "distributionChannels": { "type": "array", "items": { @@ -2474,6 +3101,9 @@ "version" ], "inputProperties": { + "custom": { + "$ref": "#/types/commercetools:index/StoreCustom:StoreCustom" + }, "distributionChannels": { "type": "array", "items": { @@ -2483,7 +3113,8 @@ }, "key": { "type": "string", - "description": "User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store\n" + "description": "User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store\n", + "willReplaceOnChanges": true }, "languages": { "type": "array", @@ -2513,6 +3144,9 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Store resources.\n", "properties": { + "custom": { + "$ref": "#/types/commercetools:index/StoreCustom:StoreCustom" + }, "distributionChannels": { "type": "array", "items": { @@ -2522,7 +3156,8 @@ }, "key": { "type": "string", - "description": "User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store\n" + "description": "User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store\n", + "willReplaceOnChanges": true }, "languages": { "type": "array", @@ -2562,8 +3197,7 @@ "description": "The change notifications subscribed to\n" }, "destination": { - "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination", - "description": "The Message Queue into which the notifications are to be sentSee also the [Destination API\nDocs](https://docs.commercetools.com/api/projects/subscriptions#destination)\n" + "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination" }, "format": { "$ref": "#/types/commercetools:index/SubscriptionFormat:SubscriptionFormat", @@ -2571,7 +3205,7 @@ }, "key": { "type": "string", - "description": "User-specific unique identifier for the subscription\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "messages": { "type": "array", @@ -2596,8 +3230,7 @@ "description": "The change notifications subscribed to\n" }, "destination": { - "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination", - "description": "The Message Queue into which the notifications are to be sentSee also the [Destination API\nDocs](https://docs.commercetools.com/api/projects/subscriptions#destination)\n" + "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination" }, "format": { "$ref": "#/types/commercetools:index/SubscriptionFormat:SubscriptionFormat", @@ -2605,7 +3238,7 @@ }, "key": { "type": "string", - "description": "User-specific unique identifier for the subscription\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "messages": { "type": "array", @@ -2626,8 +3259,7 @@ "description": "The change notifications subscribed to\n" }, "destination": { - "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination", - "description": "The Message Queue into which the notifications are to be sentSee also the [Destination API\nDocs](https://docs.commercetools.com/api/projects/subscriptions#destination)\n" + "$ref": "#/types/commercetools:index/SubscriptionDestination:SubscriptionDestination" }, "format": { "$ref": "#/types/commercetools:index/SubscriptionFormat:SubscriptionFormat", @@ -2635,7 +3267,7 @@ }, "key": { "type": "string", - "description": "User-specific unique identifier for the subscription\n" + "description": "Timestamp of the last Terraform update of the order.\n" }, "messages": { "type": "array", @@ -2885,7 +3517,8 @@ "items": { "type": "string" }, - "description": "Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type\nis valid\n" + "description": "Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type\nis valid\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -2925,7 +3558,8 @@ "items": { "type": "string" }, - "description": "Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type\nis valid\n" + "description": "Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type\nis valid\n", + "willReplaceOnChanges": true }, "version": { "type": "integer" @@ -2935,38 +3569,35 @@ } } }, - "language": { - "csharp": { - "compatibility": "tfbridge20", - "namespaces": null, - "packageReferences": { - "Pulumi": "3.*" - } - }, - "go": { - "generateResourceContainerTypes": true, - "importBasePath": "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools" - }, - "nodejs": { - "compatibility": "tfbridge20", - "dependencies": { - "@pulumi/pulumi": "^3.0.0" - }, - "devDependencies": { - "@types/mime": "^2.0.0", - "@types/node": "^10.0.0" + "functions": { + "commercetools:index/getType:getType": { + "inputs": { + "description": "A collection of arguments for invoking getType.\n", + "properties": { + "key": { + "type": "string" + } + }, + "type": "object", + "required": [ + "key" + ] }, - "disableUnionOutputTypes": true, - "packageDescription": "A Pulumi package for creating and managing commercetools cloud resources.", - "packageName": "@unplatform/commercetools", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-commercetools)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi/pulumi-commercetools` repo](https://github.com/pulumi/pulumi-commercetools/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-providers/terraform-provider-commercetools` repo](https://github.com/terraform-providers/terraform-provider-commercetools/issues).", - "typescriptVersion": "" - }, - "python": { - "compatibility": "tfbridge20", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-commercetools)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi/pulumi-commercetools` repo](https://github.com/pulumi/pulumi-commercetools/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-providers/terraform-provider-commercetools` repo](https://github.com/terraform-providers/terraform-provider-commercetools/issues).", - "requires": { - "pulumi": "\u003e=3.0.0,\u003c4.0.0" + "outputs": { + "description": "A collection of values returned by getType.\n", + "properties": { + "id": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "type": "object", + "required": [ + "id", + "key" + ] } } } diff --git a/provider/cmd/pulumi-tfgen-commercetools/main.go b/provider/cmd/pulumi-tfgen-commercetools/main.go index 5bf1862..e5c9341 100644 --- a/provider/cmd/pulumi-tfgen-commercetools/main.go +++ b/provider/cmd/pulumi-tfgen-commercetools/main.go @@ -15,12 +15,11 @@ package main import ( - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen" + "github.com/pulumi/pulumi-terraform-bridge/pf/tfgen" commercetools "github.com/unplatform-io/pulumi-commercetools/provider" - "github.com/unplatform-io/pulumi-commercetools/provider/pkg/version" ) func main() { // Modify the path to point to the new provider - tfgen.Main("commercetools", version.Version, commercetools.Provider()) + tfgen.MainWithMuxer("commercetools", commercetools.Provider()) } diff --git a/provider/go.mod b/provider/go.mod index 8fbef7c..bc43dfa 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,15 +1,253 @@ module github.com/unplatform-io/pulumi-commercetools/provider -go 1.16 +go 1.20 replace ( - github.com/hashicorp/go-getter v1.5.0 => github.com/hashicorp/go-getter v1.4.0 - github.com/hashicorp/terraform-plugin-test => github.com/hashicorp/terraform-plugin-test v1.3.0 + github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d + github.com/labd/terraform-provider-commercetools => ../upstream + github.com/labd/terraform-provider-commercetools/shim => ./shim ) require ( - github.com/hashicorp/terraform-plugin-sdk v1.15.0 - github.com/labd/terraform-provider-commercetools v0.30.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.2.1 - github.com/pulumi/pulumi/sdk/v3 v3.4.0 + github.com/labd/terraform-provider-commercetools/shim v0.0.0-00010101000000-000000000000 + github.com/pulumi/pulumi-terraform-bridge/pf v0.14.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0 + github.com/pulumi/pulumi/sdk/v3 v3.76.0 +) + +require ( + cloud.google.com/go v0.110.0 // indirect + cloud.google.com/go/compute v1.19.1 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v0.13.0 // indirect + cloud.google.com/go/kms v1.10.1 // indirect + cloud.google.com/go/logging v1.7.0 // indirect + cloud.google.com/go/longrunning v0.4.1 // indirect + cloud.google.com/go/storage v1.29.0 // indirect + github.com/AlecAivazis/survey/v2 v2.0.5 // indirect + github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest v0.11.28 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect + github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect + github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect + github.com/Azure/go-autorest/autorest/to v0.4.0 // indirect + github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect + github.com/Azure/go-autorest/logger v0.2.1 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect + github.com/Masterminds/goutils v1.1.1 // indirect + github.com/Masterminds/semver v1.5.0 // indirect + github.com/Masterminds/semver/v3 v3.1.1 // indirect + github.com/Masterminds/sprig/v3 v3.2.2 // indirect + github.com/Microsoft/go-winio v0.5.2 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect + github.com/acomagu/bufpipe v1.0.4 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-cidr v1.1.0 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/armon/go-metrics v0.4.0 // indirect + github.com/armon/go-radix v1.0.0 // indirect + github.com/aws/aws-sdk-go v1.44.122 // indirect + github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect + github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect + github.com/aws/smithy-go v1.13.5 // indirect + github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect + github.com/bgentry/speakeasy v0.1.0 // indirect + github.com/blang/semver v3.5.1+incompatible // indirect + github.com/cenkalti/backoff/v3 v3.2.2 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dimchansky/utfbom v1.1.1 // indirect + github.com/djherbis/times v1.5.0 // indirect + github.com/dustin/go-humanize v1.0.0 // indirect + github.com/edsrzf/mmap-go v1.1.0 // indirect + github.com/elliotchance/orderedmap/v2 v2.2.0 // indirect + github.com/elliotchance/pie/v2 v2.7.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/ettle/strcase v0.1.1 // indirect + github.com/fatih/color v1.13.0 // indirect + github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.4.1 // indirect + github.com/go-git/go-git/v5 v5.6.1 // indirect + github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang-jwt/jwt v3.2.1+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.2 // indirect + github.com/golang/glog v1.1.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-querystring v1.1.0 // indirect + github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/google/wire v0.5.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect + github.com/googleapis/gax-go/v2 v2.7.1 // indirect + github.com/gorilla/mux v1.8.0 // indirect + github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-checkpoint v0.5.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-retryablehttp v0.7.1 // indirect + github.com/hashicorp/go-rootcerts v1.0.2 // indirect + github.com/hashicorp/go-safetemp v1.0.0 // indirect + github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect + github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect + github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect + github.com/hashicorp/go-sockaddr v1.0.2 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/golang-lru v0.5.4 // indirect + github.com/hashicorp/hc-install v0.5.2 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect + github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect + github.com/hashicorp/logutils v1.0.0 // indirect + github.com/hashicorp/terraform-exec v0.18.1 // indirect + github.com/hashicorp/terraform-json v0.17.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.3.2 // indirect + github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.17.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 // indirect + github.com/hashicorp/terraform-registry-address v0.2.1 // indirect + github.com/hashicorp/terraform-svchost v0.1.1 // indirect + github.com/hashicorp/vault/api v1.8.2 // indirect + github.com/hashicorp/vault/sdk v0.6.1 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect + github.com/huandu/xstrings v1.3.2 // indirect + github.com/iancoleman/strcase v0.2.0 // indirect + github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect + github.com/imdario/mergo v0.3.13 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect + github.com/klauspost/compress v1.15.11 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect + github.com/labd/commercetools-go-sdk v1.3.1 // indirect + github.com/labd/terraform-provider-commercetools v1.7.1 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect + github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect + github.com/mitchellh/cli v1.1.5 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect + github.com/mitchellh/hashstructure v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/natefinch/atomic v1.0.1 // indirect + github.com/oklog/run v1.1.0 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect + github.com/pierrec/lz4 v2.6.1+incompatible // indirect + github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/term v1.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/posener/complete v1.2.3 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.4 // indirect + github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect + github.com/pulumi/pulumi-yaml v1.1.1 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.75.0 // indirect + github.com/pulumi/schema-tools v0.1.2 // indirect + github.com/pulumi/terraform-diff-reader v0.0.2 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/ryanuber/go-glob v1.0.0 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect + github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect + github.com/segmentio/asm v1.1.3 // indirect + github.com/segmentio/encoding v0.3.5 // indirect + github.com/sergi/go-diff v1.2.0 // indirect + github.com/shopspring/decimal v1.3.1 // indirect + github.com/skeema/knownhosts v1.1.0 // indirect + github.com/spf13/afero v1.9.5 // indirect + github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/testify v1.8.4 // indirect + github.com/texttheater/golang-levenshtein v1.0.1 // indirect + github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect + github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect + github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/ulikunitz/xz v0.5.10 // indirect + github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect + github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect + github.com/xeipuuv/gojsonschema v1.2.0 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect + go.opencensus.io v0.24.0 // indirect + go.uber.org/atomic v1.9.0 // indirect + gocloud.dev v0.27.0 // indirect + gocloud.dev/secrets/hashivault v0.27.0 // indirect + golang.org/x/crypto v0.10.0 // indirect + golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 // indirect + golang.org/x/mod v0.10.0 // indirect + golang.org/x/net v0.11.0 // indirect + golang.org/x/oauth2 v0.9.0 // indirect + golang.org/x/sync v0.1.0 // indirect + golang.org/x/sys v0.9.0 // indirect + golang.org/x/term v0.9.0 // indirect + golang.org/x/text v0.10.0 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect + google.golang.org/api v0.114.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect + google.golang.org/grpc v1.56.1 // indirect + google.golang.org/protobuf v1.31.0 // indirect + gopkg.in/square/go-jose.v2 v2.6.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/frand v1.4.2 // indirect + sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/provider/go.sum b/provider/go.sum index 940a38b..d27af1d 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1,11 +1,11 @@ -bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= +bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= +bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts= -cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= @@ -14,215 +14,1353 @@ cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6 cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.61.0/go.mod h1:XukKJg4Y7QsUu0Hxg3qQKUWR4VuWivmyMK2+rUyxAqw= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.66.0/go.mod h1:dgqGAjKCDxyhGTtC9dAREQGUJpkceNm1yt590Qno0Ko= -cloud.google.com/go v0.72.0 h1:eWRCuwubtDrCJG0oSUMgnsbD4CmPFQF2ei4OFbXvwww= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.82.0/go.mod h1:vlKccHJGuFBFufnAnuB08dfEH9Y3H7dzDzRECFdC2TA= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= +cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= +cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= +cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= +cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= +cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys= +cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= +cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= +cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= +cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= +cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= +cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= +cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= +cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= +cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= +cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= +cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= +cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= +cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= +cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= +cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= +cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= +cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= +cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= +cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= +cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= +cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= +cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= +cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= +cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= +cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= +cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= +cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= +cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= +cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= +cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= +cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= +cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= +cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= +cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= +cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= +cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= +cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= +cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= +cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= +cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= +cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= +cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= +cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= +cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= +cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= +cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= +cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= +cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= +cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= +cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= +cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= +cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= +cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= +cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= +cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= +cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= +cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= +cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= +cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= +cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= +cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= +cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= +cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= +cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= +cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= +cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= +cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= +cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= +cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= +cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= +cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= +cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= +cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= +cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= +cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= +cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= +cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= +cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= +cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= +cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= +cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= +cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= +cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= +cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= +cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= +cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= +cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= +cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= +cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= +cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= +cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= +cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= +cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= +cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= +cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= +cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= +cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= +cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= +cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= +cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= +cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= +cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= +cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= +cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= +cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= +cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= +cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= +cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= +cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= +cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= +cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= +cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= +cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= +cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= +cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= +cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= +cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= +cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= +cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.19.1 h1:am86mquDUgjGNWxiGn+5PGLbmgiWXlE/yNWpIpNvuXY= +cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= +cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= +cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= +cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= +cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= +cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= +cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= +cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= +cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= +cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= +cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= +cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= +cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= +cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= +cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= +cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= +cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= +cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= +cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= +cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= +cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= +cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= +cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= +cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= +cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= +cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= +cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= +cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= +cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= +cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= +cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= +cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= +cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= +cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= +cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= +cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= +cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= +cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= +cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= +cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= +cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= +cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= +cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= +cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= +cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= +cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= +cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= +cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.4.0/go.mod h1:NjjGEnxCS3CAKYp+vmALu20QzcqasGodQp48WxJGAYc= -cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= +cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= +cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= +cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= +cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= +cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= +cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= +cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= +cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= +cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= +cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= +cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= +cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= +cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= +cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= +cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= +cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= +cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= +cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= +cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= +cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= +cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= +cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= +cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= +cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= +cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= +cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= +cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= +cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= +cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= +cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= +cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= +cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= +cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= +cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= +cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= +cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= +cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= +cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= +cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= +cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= +cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= +cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= +cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= +cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= +cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= +cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= +cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= +cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= +cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= +cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= +cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= +cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= +cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= +cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= +cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= +cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= +cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= +cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= +cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= +cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= +cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= +cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= +cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= +cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= +cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= +cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= +cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= +cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= +cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= +cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= +cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= +cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= +cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= +cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= +cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= +cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= +cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= +cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= +cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= +cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= +cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= +cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= +cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= +cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= +cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= +cloud.google.com/go/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k= +cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= +cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= +cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= +cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= +cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= +cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= +cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= +cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= +cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= +cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= +cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= +cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= +cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= +cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= +cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= +cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= +cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= +cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= +cloud.google.com/go/kms v1.10.1 h1:7hm1bRqGCA1GBRQUrp831TwJ9TWhP+tvLuP497CQS2g= +cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= +cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= +cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= +cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= +cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= +cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= +cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= +cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= +cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= +cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= +cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= +cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= +cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= +cloud.google.com/go/longrunning v0.4.1 h1:v+yFJOfKC3yZdY6ZUI933pIYdhyhV8S3NpWrXWmg7jM= +cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= +cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= +cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= +cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= +cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= +cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= +cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= +cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= +cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= +cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= +cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= +cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= +cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= +cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= +cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= +cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= +cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= +cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= +cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= +cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= +cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= +cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= +cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= +cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= +cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= +cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= +cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= +cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= +cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= +cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= +cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= +cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= +cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= +cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= +cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= +cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= +cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= +cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= +cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= +cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= +cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= +cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= +cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= +cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= +cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= +cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= +cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= +cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= +cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= +cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= +cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= +cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= +cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= +cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= +cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= +cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= +cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= +cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= +cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= +cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= +cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= +cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= +cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= +cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= +cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= +cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= +cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= +cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= +cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= +cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= +cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= +cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= +cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= +cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.9.0/go.mod h1:G3o6/kJvEMIEAN5urdkaP4be49WQsjNiykBIto9LFtY= +cloud.google.com/go/pubsub v1.24.0/go.mod h1:rWv09Te1SsRpRGPiWOMDKraMQTJyJps4MkUCoMGUgqw= +cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= +cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= +cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= +cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= +cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= +cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= +cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= +cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= +cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= +cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= +cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= +cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= +cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= +cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= +cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= +cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= +cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= +cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= +cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= +cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= +cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= +cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= +cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= +cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= +cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= +cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= +cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= +cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= +cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= +cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= +cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= +cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= +cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= +cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= +cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= +cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= +cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= +cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= +cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= +cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= +cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= +cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= +cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= +cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= +cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= +cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= +cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= +cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= +cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= +cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= +cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= +cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= +cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= +cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= +cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= +cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= +cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= +cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= +cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= +cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= +cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= +cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= +cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= +cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= +cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= +cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= +cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= +cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= +cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= +cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= +cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= +cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= +cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= +cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= +cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= +cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= +cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= +cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= +cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= +cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= +cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= +cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= +cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= +cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= +cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= +cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= +cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= +cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= +cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= +cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= +cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= +cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= +cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= +cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= +cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= +cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= +cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= +cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.12.0 h1:4y3gHptW1EHVtcPAVE0eBBlFuGqEejTTG3KdIE0lUX4= -cloud.google.com/go/storage v1.12.0/go.mod h1:fFLk2dp2oAhDz8QFKwqrjdJvxSp/W2g7nillojlL5Ho= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= +cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= +cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= +cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= +cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= +cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= +cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= +cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= +cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= +cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= +cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= +cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= +cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= +cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= +cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= +cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= +cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= +cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= +cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= +cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= +cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= +cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= +cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= +cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= +cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= +cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= +cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= +cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= +cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= +cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= +cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= +cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= +cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= +cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= +cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= +cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= +cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= +cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= +cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= +cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= +cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= +cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= +cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= +cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= +cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= +cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= +cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= +cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= +cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= +cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= +cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= +cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= +cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= +cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= +cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= +cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= +cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= +cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= +cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= +cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= +cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= +cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= +cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= +cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= +cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= +cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= +cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= +cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= +code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= -contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= +contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= +git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= +github.com/AlecAivazis/survey/v2 v2.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= -github.com/Azure/azure-amqp-common-go/v3 v3.0.1/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= -github.com/Azure/azure-amqp-common-go/v3 v3.1.0/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= -github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= -github.com/Azure/azure-sdk-for-go v37.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v49.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-service-bus-go v0.10.7/go.mod h1:o5z/3lDG1iT/T/G7vgIwIqVDTx9Qa2wndf5OdzSzpF8= -github.com/Azure/azure-storage-blob-go v0.13.0/go.mod h1:pA9kNqtjUeQF2zOSu4s//nUdBD+e64lEuc4sVnuOfNs= -github.com/Azure/go-amqp v0.13.0/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= -github.com/Azure/go-amqp v0.13.1/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= +github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= +github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmVGurPWMHDX2YNXVQMrBpEE= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= +github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= +github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= +github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest v0.11.7/go.mod h1:V6p3pKZx1KKkJubbxnDWrzNhEIfOy/pTGasLqzHIPHs= -github.com/Azure/go-autorest/autorest v0.11.9/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest v0.11.12/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= +github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= +github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= +github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= +github.com/Azure/go-autorest/autorest v0.11.25/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.28 h1:ndAExarwr5Y+GaHE6VCaY1kyS/HwwGGyuimVhWsHOEM= +github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.2/go.mod h1:/3SMAM86bP6wC9Ev35peQDUeqFZBMH07vvUOmg4z/fE= -github.com/Azure/go-autorest/autorest/adal v0.9.4/go.mod h1:/3SMAM86bP6wC9Ev35peQDUeqFZBMH07vvUOmg4z/fE= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.6/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.3/go.mod h1:4bJZhUhcq8LB20TruwHbAQsmUs2Xh+QR7utuJpLXX3A= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= +github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.21 h1:jjQnVFXPfekaqb8vIsv2G1lxshoW+oGv4MDlhRtnYZk= +github.com/Azure/go-autorest/autorest/adal v0.9.21/go.mod h1:zua7mBUaCc5YnSLKYgGJR/w5ePdMDA6H56upLsHzA9U= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11/go.mod h1:84w/uV8E37feW2NCJ08uT9VBfjfUHpgLVnG2InYD6cg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.5/go.mod h1:ADQAXrkgm7acgWVUNamOgh8YNrv4p27l3Wc55oVfpzg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6/go.mod h1:piCfgPho7BiIDdEQ1+g4VmKyD5y+p/XtSNqE6Hc4QD0= +github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= +github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= +github.com/Azure/go-autorest/autorest/validation v0.3.1 h1:AgyqjAd94fwNAoTjl/WQXg4VvFeRFpO+UhNyRXqF1ac= +github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= +github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= +github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/GoogleCloudPlatform/cloudsql-proxy v1.19.1/go.mod h1:+yYmuKqcBVkgRePGpUhTA9OEg0XsnFE96eZ6nJ2yCQM= +github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= +github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= +github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= +github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= +github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= +github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= +github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= +github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= +github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= +github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= +github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= +github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= +github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= +github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= +github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= +github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= +github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= +github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/Sirupsen/logrus v1.0.5/go.mod h1:rmk17hk6i8ZSAJkSDa7nOxamrG+SP4P0mm+DAvExv4U= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= +github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 h1:wPbRQzjjwFc0ih8puEVAOFGELsn1zoIIYdxvML7mDxA= +github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= +github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= +github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= +github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= +github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= +github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= -github.com/apparentlymart/go-cidr v1.0.1 h1:NmIwLZ/KdsjIUlhf+/Np40atNXm/+lZ5txfTJ/SpF+U= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= +github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= +github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= +github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= +github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFUye+ZcSR6opIgz9Co7WcDx6ZcY+RjfFHoA0I= github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= -github.com/appscode/go-querystring v0.0.0-20170504095604-0126cfb3f1dc h1:LoL75er+LKDHDUfU5tRvFwxH0LjPpZN8OoG8Ll+liGU= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/appscode/go-querystring v0.0.0-20170504095604-0126cfb3f1dc/go.mod h1:w648aMHEgFYS6xb0KVMMtZ2uMeemhiKCuD2vj6gY52A= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-metrics v0.3.3/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.4.0 h1:yCQqn7dwca4ITXb+CbubHmedzaQYHhNhrEXLYUeEe8Q= +github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= -github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.36.1/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.37.31 h1:eK7hgg1H4xivwopAbnzfQ7ZBbDb9cEkGDivd9rUMnJs= -github.com/aws/aws-sdk-go v1.37.31/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= +github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= +github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= +github.com/aws/aws-sdk-go-v2 v1.17.3/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= +github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= +github.com/aws/aws-sdk-go-v2/config v1.15.15/go.mod h1:A1Lzyy/o21I5/s2FbyX5AevQfSVXpvvIDCoVFD0BC4E= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10 h1:7gGcMQePejwiKoDWjB9cWnpfVdnz/e5JwJFuT6OrroI= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10/go.mod h1:g5eIM5XRs/OzIIK81QMBl+dAuDyoLN0VYaLP+tBqEOk= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 h1:hz8tc+OW17YqxyFFPSkvfSikbqWcyyHRyPVSTzC0+aI= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloDcFvK2+vshZvx4Zmj7UMDfusuz5s= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 h1:I3cakv2Uy1vNmmhRQmFptYDxOvBnwCdNwyw63N0RaRU= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27/go.mod h1:a1/UpzeyBBerajpnP5nGZa9mGzsBn5cOKxm6NWQsvoI= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 h1:5NbbMrIzmUn/TXFqAle6mgrH5m9cOvMLRGL7pnG8tRE= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21/go.mod h1:+Gxn8jYn5k9ebfHEqlhrMirFjSW0v0C9fI+KN5vk2kE= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10/go.mod h1:Qks+dxK3O+Z2deAhNo6cJ8ls1bam3tUGUAcgxQP1c70= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 h1:sHfDuhbOuuWSIAEDd3pma6p0JgUcR2iePxtCE8gfCxQ= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9/go.mod h1:yQowTpvdZkFVuHrLBXmczat4W+WJKg/PafBZnGBLga0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 h1:sJdKvydGYDML9LTFcp6qq6Z5fIjN0Rdq2Gvw1hUg8tc= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9/go.mod h1:Rc5+wn2k8gFSi3V1Ch4mhxOzjMh+bYSXVFfVaqowQOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 h1:y07kzPdcjuuyDVYWf1CCsQQ6kcAWMbFy+yIJ71xQBS0= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1/go.mod h1:4PZMUkc9rXHWGVB5J9vKaZy3D7Nai79ORworQ3ASMiM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 h1:NvzGue25jKnuAsh6yQ+TZ4ResMcnp49AWgWGm2L4b5o= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2/go.mod h1:u+566cosFI+d+motIz3USXEh6sN8Nq4GrNXSg2RXVMo= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.14/go.mod h1:xakbH8KMsQQKqzX87uyyzTHshc/0/Df8bsTneTS5pFU= +github.com/aws/aws-sdk-go-v2/service/sns v1.17.10/go.mod h1:uITsRNVMeCB3MkWpXxXw0eDz8pW4TYLzj+eyQtbhSxM= +github.com/aws/aws-sdk-go-v2/service/sqs v1.19.1/go.mod h1:A94o564Gj+Yn+7QO1eLFeI7UVv3riy/YBFOfICVqFvU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.27.6/go.mod h1:fiFzQgj4xNOg4/wqmAiPvzgDMXPD+cUEplX/CYn+0j0= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 h1:DQpf+al+aWozOEmVEdml67qkVZ6vdtGUi71BZZWw40k= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9SYh+iMDymm94JbVcgvSYSzU= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= +github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= +github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= +github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= +github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bsm/go-vlq v0.0.0-20150828105119-ec6e8d4f5f4e/go.mod h1:N+BjUcTjSxc2mtRGSCPsat1kze3CUtvJN3/jTXlp29k= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= +github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= +github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= +github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= +github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= +github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= +github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= +github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= +github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cheggaaa/pb v1.0.18/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= -github.com/cheggaaa/pb v1.0.27 h1:wIkZHkNfC7R6GI5w7l/PdAdzXzlrbcI3p8OAlnkTsnc= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= +github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= +github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= +github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= +github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= +github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= +github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= +github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= +github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= +github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= +github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= +github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= +github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= +github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= +github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E= +github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss= +github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI= +github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= +github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM= +github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= +github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= +github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= +github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= +github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8= +github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= +github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= +github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= +github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= +github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= +github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= +github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI= +github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= +github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= +github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= +github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= +github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= +github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo= +github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= +github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= +github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= +github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= +github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= +github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= +github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= +github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= +github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= +github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= +github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0= +github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= +github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= +github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= +github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= +github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= +github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= +github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM= +github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8= +github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= +github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= +github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= +github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= +github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= +github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= +github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw= +github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y= +github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY= +github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= +github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= +github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= +github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= +github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= +github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= +github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= +github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= +github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= +github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= +github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= +github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= +github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= +github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= +github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= github.com/dave/jennifer v1.4.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= +github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= +github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= +github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= +github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= +github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs= +github.com/digitalocean/godo v1.81.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= +github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/djherbis/times v1.2.0 h1:xANXjsC/iBqbO00vkWlYwPWgBgEVU6m6AFYg0Pic+Mc= -github.com/djherbis/times v1.2.0/go.mod h1:CGMZlo255K5r4Yw0b9RRfFQpM2y7uOmxg4jm9HsaVf8= -github.com/docker/docker v0.0.0-20170504205632-89658bed64c2/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= +github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= +github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= +github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.14+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= +github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= +github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI= +github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= +github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= +github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= +github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/elliotchance/orderedmap/v2 v2.2.0 h1:7/2iwO98kYT4XkOjA9mBEIwvi4KpGB4cyHeOFOnj4Vk= +github.com/elliotchance/orderedmap/v2 v2.2.0/go.mod h1:85lZyVbpGaGvHvnKa7Qhx7zncAdBIBq6u56Hb1PRU5Q= +github.com/elliotchance/pie/v2 v2.7.0 h1:FqoIKg4uj0G/CrLGuMS9ejnFKa92lxE1dEgBD3pShXg= +github.com/elliotchance/pie/v2 v2.7.0/go.mod h1:18t0dgGFH006g4eVdDtWfgFZPQEgl10IoEO8YWEq3Og= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= +github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= +github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= +github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= +github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= +github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= +github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= +github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= +github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= +github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= +github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= +github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 h1:Uc+IZ7gYqAf/rSGFplbWBSHaGolEQlNLgMgSE3ccnIQ= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813/go.mod h1:P+oSoE9yhSRvsmYyZsshflcR6ePWYLql6UU1amW13IM= +github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= +github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= +github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= +github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= +github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= +github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= +github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= +github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= -github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= -github.com/go-git/go-git/v5 v5.1.0 h1:HxJn9g/E7eYvKW3Fm7Jt4ee8LXfPOm/H1cdDu8vEssk= -github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM= +github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= +github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= +github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ= +github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= +github.com/go-git/go-git/v5 v5.6.1 h1:q4ZRqQl4pR/ZJHc1L5CFjGA1a10u76aV1iC+nh+bHsk= +github.com/go-git/go-git/v5 v5.6.1/go.mod h1:mvyoL6Unz0PiTQrGQfSfiLFhBH1c1e84ylC2MDs4ee8= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-ldap/ldap v3.0.2+incompatible/go.mod h1:qfd9rJvER9Q0/D/Sqn1DfHRoBp40uXYvFoEVrNEPqRc= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= +github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= +github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= +github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= +github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= +github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= +github.com/go-openapi/runtime v0.23.1/go.mod h1:AKurw9fNre+h3ELZfk6ILsfvPN+bvvlaU/M9q/r9hpk= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= +github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= +github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/strfmt v0.21.2/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= +github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= +github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= +github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= +github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= +github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= +github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= +github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= +github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= +github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= +github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= +github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= +github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= +github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= +github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= +github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= +github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= +github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= +github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= +github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= +github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/gofrs/flock v0.7.1 h1:DP+LD/t0njgoPBvT5MJLeliUIVQR03hiKR6vezdwHlc= -github.com/gofrs/flock v0.7.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/uuid v3.3.0+incompatible h1:8K4tyRfvU1CYPgJsveYFQMhpFd/wXNM7iK6rR7UHz84= +github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/goccy/go-yaml v1.9.5/go.mod h1:U/jl18uSupI5rdI2jmuCswEA2htH9eXfferR3KfscvA= +github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= +github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= +github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= +github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= +github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU= +github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= +github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= +github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= +github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -230,6 +1368,8 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -244,12 +1384,22 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.2/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= +github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -258,16 +1408,33 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/go-replayers/grpcreplay v1.0.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE= -github.com/google/go-replayers/httpreplay v0.1.2/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no= +github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= +github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE= +github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk= +github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY= +github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:xmapqc1AyLoB+ddYT6r04bD9lIjlOqGaREovi0SzFaE= github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -275,193 +1442,459 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200905233945-acf8798be1f7/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= +github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= +github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/wire v0.4.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= +github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= +github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= +github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= +github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= +github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= +github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= +github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= +github.com/googleapis/gax-go/v2 v2.7.1 h1:gF4c0zjUP2H/s/hEGyLA3I0fA2ZWjzYiONAD6cvPr8A= +github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= +github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= +github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= +github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gophercloud/gophercloud v0.25.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grafana/regexp v0.0.0-20220304095617-2e8d9baf4ac2/go.mod h1:M5qHK+eWfAv8VR/265dIuEpL3fNfeC21tXXp9itM24A= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= -github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= +github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc= +github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ= +github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= +github.com/hashicorp/cronexpr v1.1.1/go.mod h1:P4wA0KBl9C5q2hABiMO7cp6jcIg96CDh1Efb3g1PWA4= +github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.1 h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-getter v1.4.0 h1:ENHNi8494porjD0ZhIrjlAHnveSFhY7hvOJrV/fsKkw= github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= -github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= +github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= +github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= -github.com/hashicorp/go-hclog v0.8.0/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= +github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.12.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v0.15.0 h1:qMuK0wxsoW4D0ddCCYwPSTm4KQv1X1ke3WmPWZ0Mvsk= -github.com/hashicorp/go-hclog v0.15.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.2.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-multierror v0.0.0-20180717150148-3d5d8f294aa0/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= +github.com/hashicorp/go-immutable-radix v1.2.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.0 h1:B9UzwGQJehnUY1yNrnwREHc3fGbC2xefo8g4TbElacI= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.2.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= -github.com/hashicorp/go-plugin v1.3.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= -github.com/hashicorp/go-plugin v1.4.0 h1:b0O7rs5uiJ99Iu9HugEzsM67afboErkHUWddUSpUO3A= -github.com/hashicorp/go-plugin v1.4.0/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= -github.com/hashicorp/go-retryablehttp v0.5.4/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-retryablehttp v0.6.8/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-rootcerts v1.0.1/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= +github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= +github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= +github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= +github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= +github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= +github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 h1:p4AKXPPS24tO8Wc8i1gLvSKdmkiSY5xuju57czJ/IJQ= +github.com/hashicorp/go-secure-stdlib/mlock v0.1.2/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 h1:om4Al8Oy7kCm/B86rLCLah4Dt5Aa0Fr5rYBG60OzwHQ= +github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= +github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= +github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= +github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.2.1 h1:zEfKbn2+PDgroKdiOzqiE8rsmLqU2uwi5PB5pBJ3TkI= -github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hc-install v0.5.0/go.mod h1:JyzMfbzfSBSjoDCRPna1vi/24BEDxFaCPfdHtM5SCdo= +github.com/hashicorp/hc-install v0.5.2 h1:SfwMFnEXVVirpwkDuSF5kymUOhrUxrTq3udEseZdOD0= +github.com/hashicorp/hc-install v0.5.2/go.mod h1:9QISwe6newMWIfEiXpzuu1k9HAGtQYgnSH8H9T8wmoI= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.3.0 h1:iRly8YaMwTBAKhn1Ybk7VSdzbnopghktCD031P8ggUE= -github.com/hashicorp/hcl/v2 v2.3.0/go.mod h1:d+FwDBbOLvpAM3Z6J7gPj/VoAGkNe/gm352ZhjJ/Zv8= -github.com/hashicorp/hcl2 v0.0.0-20190821123243-0c888d1241f6/go.mod h1:Cxv+IJLuBiEhQ7pBYGEuORa0nr4U994pE8mYLuFd7v0= -github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/terraform-config-inspect v0.0.0-20190821133035-82a99dc22ef4/go.mod h1:JDmizlhaP5P0rYTTZB0reDMefAiJyfWPEtugV4in1oI= -github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 h1:+RyjwU+Gnd/aTJBPZVDNm903eXVjjqhbaR4Ypx3xYyY= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79oXjopTyH6E8LF0CEMq67STgrlmBRIyijA0tuR5o= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.1.1/go.mod h1:yKWvMPtkTaHpeAmllw+1qdHZ7E5u+pAZ+x8e2jQF6gM= -github.com/hashicorp/terraform-exec v0.9.0 h1:NmCtcsnmPBU6P3cDeKD26bD72evsMhmuDLvuNRgrTHc= -github.com/hashicorp/terraform-exec v0.9.0/go.mod h1:tOT8j1J8rP05bZBGWXfMyU3HkLi1LWyqL3Bzsc3CJjo= +github.com/hashicorp/terraform-exec v0.18.1 h1:LAbfDvNQU1l0NOQlTuudjczVhHj061fNX5H8XZxHlH4= +github.com/hashicorp/terraform-exec v0.18.1/go.mod h1:58wg4IeuAJ6LVsLUeD2DWZZoc/bYi6dzhLHzxM41980= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.5.0 h1:7TV3/F3y7QVSuN4r9BEXqnWqrAyeOtON8f0wvREtyzs= -github.com/hashicorp/terraform-json v0.5.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-plugin-sdk v1.0.0/go.mod h1:NuwtLpEpPsFaKJPJNGtMcn9vlhe6Ofe+Y6NqXhJgV2M= +github.com/hashicorp/terraform-json v0.15.0/go.mod h1:+L1RNzjDU5leLFZkHTFTbJXaoqUC6TqXlFgDoOXrtvk= +github.com/hashicorp/terraform-json v0.17.0 h1:EiA1Wp07nknYQAiv+jIt4dX4Cq5crgP+TsTE45MjMmM= +github.com/hashicorp/terraform-json v0.17.0/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= +github.com/hashicorp/terraform-plugin-framework v1.3.2 h1:aQ6GSD0CTnvoALEWvKAkcH/d8jqSE0Qq56NYEhCexUs= +github.com/hashicorp/terraform-plugin-framework v1.3.2/go.mod h1:oimsRAPJOYkZ4kY6xIGfR0PHjpHLDLaknzuptl6AvnY= +github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 h1:4L0tmy/8esP6OcvocVymw52lY0HyQ5OxB7VNl7k4bS0= +github.com/hashicorp/terraform-plugin-framework-validators v0.10.0/go.mod h1:qdQJCdimB9JeX2YwOpItEu+IrfoJjWQ5PhLpAOMDQAE= +github.com/hashicorp/terraform-plugin-go v0.16.0/go.mod h1:4sn8bFuDbt+2+Yztt35IbOrvZc0zyEi87gJzsTgCES8= +github.com/hashicorp/terraform-plugin-go v0.17.0 h1:OpqgPLvjW3vCDA9VUEmRKppCZOG/+Vkdp6ijkG8aJek= +github.com/hashicorp/terraform-plugin-go v0.17.0/go.mod h1:l7VK+2u5Kf2y+A+742GX0ouLut3gttudmvMgN0PA74Y= +github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= +github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= +github.com/hashicorp/terraform-plugin-mux v0.10.0 h1:VejY1BffxGy2iYOaa8DDHavY4k9jbvAE8F3lhruspKY= +github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= -github.com/hashicorp/terraform-plugin-sdk v1.15.0 h1:bmYnTT7MqNXlUHDc7pT8E6uKT2g/upjlRLypJFK1OQU= -github.com/hashicorp/terraform-plugin-sdk v1.15.0/go.mod h1:PuFTln8urDmRM6mV0II6apOTsyG/iHkxp+5W11eJE58= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.2/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-test v1.3.0 h1:hU5LoxrOn9qvOo+LTKN6mSav2J+dAMprbdxJPEQvp4U= -github.com/hashicorp/terraform-plugin-test v1.3.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-test v1.4.3 h1:HSOZZu2W7a9tx4QPYXhrT9oh7JptibaSkP7CK4C0OF0= -github.com/hashicorp/terraform-plugin-test v1.4.3/go.mod h1:UA7z/02pgqsRLut4DJIPm0Hjnj27uOvhi19c8kTqIfM= -github.com/hashicorp/terraform-plugin-test/v2 v2.1.1/go.mod h1:HaW2G5cDTVyiEKt7PHC85YSM5BwvYl/rIko1g8Lg7qE= +github.com/hashicorp/terraform-registry-address v0.2.1 h1:QuTf6oJ1+WSflJw6WYOHhLgwUiQ0FrROpHPYFtwTYWM= +github.com/hashicorp/terraform-registry-address v0.2.1/go.mod h1:BSE9fIFzp0qWsJUUyGquo4ldV9k2n+psif6NYkBRS3Y= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136 h1:81Dg7SK6Q5vzqFItO8e1iIF2Nj8bLXV23NXjEgbev/s= -github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= -github.com/hashicorp/vault/api v1.0.4/go.mod h1:gDcqh3WGcR1cpF5AJz/B1UFheUEneMoIospckxBxk6Q= -github.com/hashicorp/vault/sdk v0.1.13/go.mod h1:B+hVj7TpuQY1Y/GPbCpffmgd+tSEwvhkWnjtSYCaS2M= +github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= +github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= +github.com/hashicorp/vault/api v1.7.2/go.mod h1:xbfA+1AvxFseDzxxdWaL0uO99n1+tndus4GCrtouy0M= +github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM= +github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE= +github.com/hashicorp/vault/sdk v0.5.1/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.5.3/go.mod h1:DoGraE9kKGNcVgPmTuX357Fm6WAx1Okvde8Vp3dPDoU= +github.com/hashicorp/vault/sdk v0.6.1 h1:sjZC1z4j5Rh2GXYbkxn5BLK05S1p7+MhW4AgdUmgRUA= +github.com/hashicorp/vault/sdk v0.6.1/go.mod h1:Ck4JuAC6usTphfrrRJCRH+7/N7O2ozZzkm/fzQFt4uM= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= +github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= +github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= +github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= +github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= +github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= +github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= +github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= -github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= -github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= +github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= +github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= +github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.12.1/go.mod h1:ZkhRC59Llhrq3oSfrikvwQ5NaxYExr6twkdkMLaKono= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.11.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= +github.com/jackc/pgx/v4 v4.16.1/go.mod h1:SIhx0D5hoADaiXZVyv+3gSm3LCIIINTVO0PficsvWGQ= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.2.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= +github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= +github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= +github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= -github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod h1:ghbZscTyKdM07+Fw3KSi0hcJm+AlEUWj8QLlPtijN/M= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= +github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= +github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/labd/commercetools-go-sdk v0.3.1 h1:Fk8/VKKDSNHhyVhDywJdmzUt3JSpNoFZbHJndwjVBls= -github.com/labd/commercetools-go-sdk v0.3.1/go.mod h1:I+KKNALlg6PcSertsVA7E442koO99GT7gldWqwZlUGo= -github.com/labd/terraform-provider-commercetools v0.30.0 h1:rgvaEglapz4WvftqoFge4oufcYhd8KyuXJjSUR1AUwQ= -github.com/labd/terraform-provider-commercetools v0.30.0/go.mod h1:J/6gpVOM8sgwzwnnNOSpR+Ldv4mXOsHUVaFUu2lGz6U= +github.com/labd/commercetools-go-sdk v1.3.1 h1:EZnym91AutZXLZ+D1x52kZF35Wq51ZUEMewGCXdoje8= +github.com/labd/commercetools-go-sdk v1.3.1/go.mod h1:I+KKNALlg6PcSertsVA7E442koO99GT7gldWqwZlUGo= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= +github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= +github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= +github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= +github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= +github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= +github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho= +github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= +github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.8 h1:3tS41NlGYSmhhe/8fhGRzc+z3AYCw1Fe1WAyLuujKs0= -github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= +github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= +github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= +github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= +github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= +github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/cli v1.1.1 h1:J64v/xD7Clql+JVKSvkYojLOXu1ibnY9ZjGLwSt/89w= -github.com/mitchellh/cli v1.1.1/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= +github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= +github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= +github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= -github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -469,206 +1902,672 @@ github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-testing-interface v1.0.4 h1:ZU1VNC02qyufSZsjjs7+khruk2fKvbQ3TwRV/IBCeFA= -github.com/mitchellh/go-testing-interface v1.0.4/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y= github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.0 h1:7ks8ZkOP5/ujthUsT07rNv+nkLXCQWKNHuwzOAesEks= github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE= github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= +github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= +github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= +github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= +github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= +github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= +github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= +github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= +github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= +github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= +github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVfxJvZHoEvBj71SKe+H0MYU= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= +github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= +github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= +github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= +github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= +github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= +github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= +github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= +github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= +github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= +github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= +github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= -github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= +github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= +github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= +github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= +github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= +github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= +github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= +github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4 v2.6.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= +github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= +github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= +github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= +github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/posener/complete v1.2.1 h1:LrvDIY//XNo65Lq84G/akBuMGlawHvGBABv8f/ZN6DI= github.com/posener/complete v1.2.1/go.mod h1:6gapUrK/U1TAN7ciCoNRIdVC5sbdBTUh1DKN0g6uH7E= +github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= +github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= +github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= +github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= +github.com/prometheus/alertmanager v0.24.0/go.mod h1:r6fy/D7FRuZh5YbnX6J3MBY0eI4Pb5yPYS7/bPSXXqI= +github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= +github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= +github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE= +github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/common/assets v0.1.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/assets v0.2.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= +github.com/prometheus/exporter-toolkit v0.7.1/go.mod h1:ZUBIj498ePooX9t/2xtDjeQYwvRpiPP2lh5u4iblj2g= +github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= +github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.2.1 h1:F0l5lIMT5hGDdffqE/GxMS1qWttlfmVIzfOj9O861fo= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.2.1/go.mod h1:Lk5FpbvoYApMM757rQGPQ4mSpEMg6lr/i/bobAjjzag= -github.com/pulumi/pulumi/pkg/v3 v3.3.2-0.20210526172205-85142462c7ed h1:yqYC2fEtNJHsOmSTM+hzlFfaobEGJ/StjTBICTwypQE= -github.com/pulumi/pulumi/pkg/v3 v3.3.2-0.20210526172205-85142462c7ed/go.mod h1:C6QWinR1SmQDpxBE8AiQEunU1tj9Yy01hw3lFMw7VPc= -github.com/pulumi/pulumi/sdk/v3 v3.3.1/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= -github.com/pulumi/pulumi/sdk/v3 v3.3.2-0.20210526172205-85142462c7ed/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= -github.com/pulumi/pulumi/sdk/v3 v3.4.0 h1:9FTfaLXQ4B0w8rcCdtW10rbfHk6Uo5BHLnd5WK5yBh8= -github.com/pulumi/pulumi/sdk/v3 v3.4.0/go.mod h1:GBHyQ7awNQSRmiKp/p8kIKrGrMOZeA/k2czoM/GOqds= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= -github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= +github.com/pulumi/pulumi-java/pkg v0.9.4 h1:gIQZmlUI1o9ye8CL2XFqtmAX6Lwr9uj/+HzjboiSmK4= +github.com/pulumi/pulumi-java/pkg v0.9.4/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/pulumi-terraform-bridge/pf v0.14.0 h1:E6CguD/iCfeJYH7EMA40l7rbisJV6QvBIPo6kss57N0= +github.com/pulumi/pulumi-terraform-bridge/pf v0.14.0/go.mod h1:JnLxW6/U/BGCVdOqsPtPxnIumHp26wqsZv3Ywtgbdl8= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0 h1:XP754+36CpyiT5tEzqd43U8gYGqDML9hkiWMaoV0WG0= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0/go.mod h1:Bm1kuEs0xouFxEG2Lv/I3OhnME+VId9DbkRClnwFqsI= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= +github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= +github.com/pulumi/pulumi-yaml v1.1.1 h1:8pyBNIU8+ym0wYpjhsCqN+cutygfK1XbhY2YEeNfyXY= +github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE= +github.com/pulumi/pulumi/pkg/v3 v3.75.0 h1:oBJ+Ft5VokKJGZHtX5ytyKenMCBH/d1+rsVL5MOGmHo= +github.com/pulumi/pulumi/pkg/v3 v3.75.0/go.mod h1:jzU1sKjOoDMFxxISb4hEK/C1mQsHVheYkWfZPLQRC9c= +github.com/pulumi/pulumi/sdk/v3 v3.76.0 h1:aqZxTCOArIYe5rsEbyc7MEQ2xLRvNeIuerbOCRlKKz0= +github.com/pulumi/pulumi/sdk/v3 v3.76.0/go.mod h1:HiE9Wf+DVrg8Em1D6bxRCdDMsNkj8//vLCST73xH2Hc= +github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= +github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= +github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= +github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d h1:DfAVBLi3G5hXbqiWs9wIGYZXF1VZu6+9kbl2CQO6cOE= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d/go.mod h1:cUEP4ly/nxlHy5HzD6YRrHydtlheGvGRJDhiWqqVik4= +github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= +github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= -github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 h1:G04eS0JkAIVZfaJLjla9dNxkJCPiKIGZlw9AfOhzOD0= -github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94/go.mod h1:b18R55ulyQ/h3RaWyloPyER7fWQVZvimKKhnI5OfrJQ= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= +github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= +github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= +github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= +github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= +github.com/segmentio/asm v1.1.3 h1:WM03sfUOENvvKexOLp+pCqgb/WDjsi7EK8gIsICtzhc= +github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg= +github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSvt8Y= +github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= +github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= +github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= +github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= +github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= +github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= +github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= +github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= +github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= +github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.0.0 h1:6m/oheQuQ13N9ks4hubMG6BnvwOeaJrqSPLahSnczz8= +github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= +github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= +github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4= -github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= +github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= +github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= +github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/terraform-providers/terraform-provider-archive v1.3.0 h1:8WzDXMwTdTd4Z7KAUjnYwopk1DgGJ/DLH0xowJ8h+/8= -github.com/terraform-providers/terraform-provider-archive v1.3.0/go.mod h1:7oAwNW55F65KauS++/XmAnrXhLfQRTYt549eYs4zU0w= -github.com/terraform-providers/terraform-provider-http v1.2.0 h1:pOP/SNlLjB18CydtTJJwzkZGkHYX3LWzIoQpYQuBdyw= -github.com/terraform-providers/terraform-provider-http v1.2.0/go.mod h1:2Iot921OkLVSZr8FbIkvRN84ZV3w+oFKb7RlmPTQQAQ= -github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 h1:9VTskZOIRf2vKF3UL8TuWElry5pgUpV1tFSe/e/0m/E= -github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6/go.mod h1:XDKHRm5ThF8YJjx001LtgelzsoaEcvnA7lVWz9EeX3g= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= +github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0= +github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= +github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= +github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= -github.com/uber/jaeger-client-go v2.22.1+incompatible h1:NHcubEkVbahf9t3p75TOCR83gdUHXjRJvjoBh1yACsM= -github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= -github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw= -github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= +github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= +github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/ulikunitz/xz v0.5.7 h1:YvTNdFzX6+W5m9msiYg/zpkSURPPtOlzbqYjrFn7Yt4= -github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= +github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= +github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= +github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= +github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= +github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= +github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack v4.0.1+incompatible h1:RMF1enSPeKTlXrXdOcqjFUElywVZjjC6pqse21bKbEU= github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70= -github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= +github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= +github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= +github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= +github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= +github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= +github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= +github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= +github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= github.com/zclconf/go-cty v1.0.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= -github.com/zclconf/go-cty v1.3.1 h1:QIOZl+CKKdkv4l2w3lG23nNzXgLoxsWLSEdg1MlX4p0= -github.com/zclconf/go-cty v1.3.1/go.mod h1:YO23e2L18AG+ZYQfSobnY4G65nvwvprPCxBHkufUH1k= +github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= +go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= +go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= +go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= +go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= +go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= +go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= +go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= +go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= +go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5 h1:dntmOdLpSpHlVqbW5Eay97DelsZHe+55D+xC6i0dDS0= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= +go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= +go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= +go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= +go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= +go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= +go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.7.0/go.mod h1:M1hVZHNxcbkAlcvrOMlpQ4YOO3Awf+4N2dxkZL3xm04= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.1/go.mod h1:YJ/JbY5ag/tSQFXzH3mtDmHqzF3aFn3DI/aB1n7pt4w= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.7.0/go.mod h1:ceUgdyfNv4h4gLxHR0WNfDiiVmZFodZhZSbOLhpxqXE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.1/go.mod h1:UJJXJj0rltNIemDMwkOJyggsvyMG9QHfJeFH0HS5JjM= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.7.0/go.mod h1:E+/KKhwOSw8yoPxSSuUHG6vKppkvhN+S1Jc7Nib3k3o= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.1/go.mod h1:DAKwdo06hFLc0U88O10x4xnb5sc7dDRDqRuiN+io8JE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1:aFXT9Ng2seM9eizF+LfKiyPBGy8xIZKwhusC1gIu3hA= +go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= +go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= +go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= +go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= +go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= +go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E= +go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU= +go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= +go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= +go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= +go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= +go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= +go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= +go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= +go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= +go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= +go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -gocloud.dev v0.22.0/go.mod h1:z3jKIQ0Es9LALVZFQ3wOvwqAsSLq1R5c/2RdmghDucw= -gocloud.dev/secrets/hashivault v0.22.0/go.mod h1:FPYXspcfN9sWef3ISbMPqfurxLzkjL3n4MxuFt01pMU= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= +gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= +gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo= +gocloud.dev/secrets/hashivault v0.27.0/go.mod h1:offqsI5oj0B0bVHZdfk/88uIb3NnN93ia8py0yvRlHY= +golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200317142112-1b76d66859c6/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c h1:9HhBz5L/UjnK9XLtiZhYAdue5BVKep3PMmS2LuPDt8k= +golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= +golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= +golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= +golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 h1:tnebWN09GYg9OLPss1KXj8txwZc6X6uMr6VFdcGNbHw= +golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= +golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -678,8 +2577,9 @@ golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -688,31 +2588,48 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0 h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190502183928-7f726cade0ab/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -720,20 +2637,67 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb h1:eBmm0M9fYhWpKZLjQUUKka/LtIxf46G4fxeEz5KJr9U= golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= +golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= +golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= +golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -741,51 +2705,112 @@ golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19 h1:ZD+2Sd/BnevwJp8PSli8WgGAGzb9IZtxBsv1iZMYeEA= -golang.org/x/oauth2 v0.0.0-20201203001011-0b49973bad19/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= +golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= +golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= +golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.9.0 h1:BPpt2kU7oMRq3kCHAA1tbSEshXRw1LpG2ztgDwrzuAs= +golang.org/x/oauth2 v0.9.0/go.mod h1:qYgFZaFiu6Wg24azG8bdV52QJXJGbZzIIsRCdVKzbLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -793,50 +2818,190 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200828194041-157a740278f4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201202213521-69691e467435 h1:25AvDqqB9PrNqj1FLf2/70I4W0L19qqoaFq3gjNwbKk= golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221 h1:/ZHdbVpdR/jk3g30/d4yUL0JU9kksj8+F/bnQUVLGDM= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210503080704-8803ae5d1324/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.9.0 h1:GRRCnKYhdQrD8kfRAdQ6Zcw1P0OcELxGLKJvtjVMZ28= +golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= +golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -844,6 +3009,7 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -856,34 +3022,66 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjs golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200608174601-1b747fd94509/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200828161849-5deb26317202/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20200915173823-2db8f0ff891c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20200918232735-d647fc253266/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= +golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201202200335-bef1c476418a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201203202102-a1a1cbeaa516 h1:E8xavSjXY8LFvcMSu/8Fjztt+SerwKnuAUOdS+aCXUM= -golang.org/x/tools v0.0.0-20201203202102-a1a1cbeaa516/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= +golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= +gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= +gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= +gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= +gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= +google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.5.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= @@ -896,31 +3094,71 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.31.0/go.mod h1:CL+9IBCa2WWU6gRuBWaKqGWLFFwbEUXkfeMkHLQWYWo= -google.golang.org/api v0.32.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0 h1:l2Nfbl2GPXdWorv+dT2XfinX2jOOw4zv1VhLstx+6rE= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.46.0/go.mod h1:ceL4oozhkAiTID8XMmJBsIxID/9wMXJVVFXPg4ylg3I= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E= +google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= +google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= +google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= +google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.91.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= +google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= +google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= +google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= +google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= +google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= +google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= +google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= +google.golang.org/api v0.114.0 h1:1xQPji6cO2E2vLiI+C/XiFAnsn1WV3mjaEwGLhi3grE= +google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= @@ -929,42 +3167,154 @@ google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200310143817-43be25429f5a/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200711021454-869866162049/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200831141814-d751682dd103/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200914193844-75d14daec038/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200921151605-7abf4a1a14d5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201203001206-6486ece9c497 h1:jDYzwXmX9tLnuG4sL85HPmE1ruErXOopALp2i/0AHnI= -google.golang.org/genproto v0.0.0-20201203001206-6486ece9c497/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210429181445-86c259c2b4ab/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210517163617-5e0236093d7a/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211018162055-cf77aa76bad2/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= +google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= +google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= +google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= +google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= +google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= +google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= +google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= +google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= +google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.22.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= @@ -974,10 +3324,39 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0 h1:raiipEjMOIC/TO2AvyTxP25XFdLxNIBwzDh3FM3XztI= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= +google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= +google.golang.org/grpc v1.56.0/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.56.1 h1:z0dNfjIl0VpaZ9iSVjA6daGatAYwPGstTjt5vkRMFkQ= +google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -987,38 +3366,67 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f/go.mod h1:CaHjv79TCgAvXMSFJSVgonHXYWxnhzI3eoHtnX5UgUo= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= -gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= -gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= -gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE= -gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= +gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= +gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/telebot.v3 v3.0.0/go.mod h1:7rExV8/0mDDNu9epSrDm/8j22KLaActH1Tbee6YjzWg= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1026,11 +3434,122 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= +honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= +k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo= +k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ= +k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= +k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= +k8s.io/api v0.23.5/go.mod h1:Na4XuKng8PXJ2JsploYYrivXrINeTaycCGcYgF91Xm8= +k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= +k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= +k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= +k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= +k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= +k8s.io/apimachinery v0.23.5/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= +k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= +k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= +k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= +k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= +k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= +k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y= +k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k= +k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= +k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= +k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= +k8s.io/client-go v0.24.2/go.mod h1:zg4Xaoo+umDsfCWr4fCnmLEtQXyCNXCvJuSsglNcV30= +k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= +k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= +k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= +k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= +k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= +k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= +k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= +k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= +k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= +k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= +k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= +k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= +k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= +k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= +k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= +k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= +k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= +k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= +lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= +lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= +modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= +modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= +modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= +modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= +modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= +modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= +modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= +modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= +modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= +modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= +modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= +modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= +modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= +modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= +modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= +modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= +modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= +modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= +modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= +mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= +sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= +sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= -sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/provider/resources.go b/provider/resources.go index bc87ef0..b7045b0 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -15,17 +15,19 @@ package commercetools import ( + "context" + // embed is indirectly required + _ "embed" "fmt" - "github.com/hashicorp/terraform-plugin-sdk/helper/schema" - "github.com/labd/terraform-provider-commercetools/commercetools" + provShim "github.com/labd/terraform-provider-commercetools/shim" + pf "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim" - shimv1 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1" + shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" + "path/filepath" + "github.com/pulumi/pulumi/sdk/v3/go/common/resource" - "github.com/pulumi/pulumi/sdk/v3/go/common/tokens" "github.com/unplatform-io/pulumi-commercetools/provider/pkg/version" - "path/filepath" - "unicode" ) // all of the token components used below. @@ -36,23 +38,8 @@ const ( mainMod = "index" // the y module ) -// makeMember manufactures a type token for the package and the given module and type. -func makeMember(mod string, mem string) tokens.ModuleMember { - return tokens.ModuleMember(mainPkg + ":" + mod + ":" + mem) -} - -// makeType manufactures a type token for the package and the given module and type. -func makeType(mod string, typ string) tokens.Type { - return tokens.Type(makeMember(mod, typ)) -} - -// makeResource manufactures a standard resource token given a module and resource name. It -// automatically uses the main package and names the file by simply lower casing the resource's -// first character. -func makeResource(mod string, res string) tokens.Type { - fn := string(unicode.ToLower(rune(res[0]))) + res[1:] - return makeType(mod+"/"+fn, res) -} +//go:embed cmd/pulumi-resource-commercetools/bridge-metadata.json +var bridgeMetadata []byte // preConfigureCallback is called before the providerConfigure function of the underlying provider. // It should validate that the provider can be configured, and provide actionable errors in the case @@ -65,19 +52,27 @@ func preConfigureCallback(vars resource.PropertyMap, c shim.ResourceConfig) erro // Provider returns additional overlaid schema and metadata associated with the provider.. func Provider() tfbridge.ProviderInfo { // Instantiate the Terraform provider - p := shimv1.NewProvider(commercetools.Provider().(*schema.Provider)) - + // p := shimv2.NewProvider(commercetools.New(version.Version)()) + p := pf.MuxShimWithPF(context.Background(), + shimv2.NewProvider(provShim.SDKProvider()), + provShim.PFProvider(), + ) // Create a Pulumi provider mapping prov := tfbridge.ProviderInfo{ - P: p, - Name: "commercetools", - Description: "A Pulumi package for creating and managing commercetools cloud resources.", - Keywords: []string{"pulumi", "commercetools"}, - License: "Apache-2.0", - Homepage: "https://pulumi.io", - Repository: "https://github.com/unplatform-io/pulumi-commercetools", - Version: version.Version, - Config: map[string]*tfbridge.SchemaInfo{ + P: p, + Name: "commercetools", + DisplayName: "commercetools", + Publisher: "Aviva Solutions", + LogoURL: "", + PluginDownloadURL: "", + Description: "A Pulumi package for creating and managing commercetools cloud resources.", + Keywords: []string{"pulumi", "commercetools"}, + License: "Apache-2.0", + Homepage: "https://pulumi.io", + Repository: "https://github.com/unplatform-io/pulumi-commercetools", + GitHubOrg: "unplatform-io", + Version: version.Version, + Config: map[string]*tfbridge.SchemaInfo{ // Add any required configuration here, or remove the example below if // no additional points are required. // "region": { @@ -89,15 +84,18 @@ func Provider() tfbridge.ProviderInfo { }, PreConfigureCallback: preConfigureCallback, Resources: map[string]*tfbridge.ResourceInfo{ - "commercetools_subscription": {Tok: makeResource(mainMod, "Subscription")}, - "commercetools_api_client": {Tok: makeResource(mainMod, "ApiClient")}, - "commercetools_api_extension": {Tok: makeResource(mainMod, "ApiExtension")}, - "commercetools_cart_discount": {Tok: makeResource(mainMod, "CartDiscount")}, - "commercetools_channel": {Tok: makeResource(mainMod, "Channel")}, - "commercetools_custom_object": {Tok: makeResource(mainMod, "CustomObject")}, - "commercetools_discount_code": {Tok: makeResource(mainMod, "DiscountCode")}, + "commercetools_subscription": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "Subscription")}, + "commercetools_api_client": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ApiClient")}, + "commercetools_api_extension": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ApiExtension")}, + "commercetools_cart_discount": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "CartDiscount")}, + "commercetools_category": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "Category")}, + "commercetools_channel": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "Channel")}, + "commercetools_custom_object": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "CustomObject")}, + "commercetools_customer_group": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "CustomerGroup")}, + "commercetools_discount_code": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "DiscountCode")}, + "commercetools_product_discount": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ProductDiscount")}, "commercetools_product_type": { - Tok: makeResource(mainMod, "ProductType"), + Tok: tfbridge.MakeResource(mainPkg, mainMod, "ProductType"), // Rename ElementType, because a property with that name already exists in the GO SDK Fields: map[string]*tfbridge.SchemaInfo{ "attribute": { @@ -117,17 +115,18 @@ func Provider() tfbridge.ProviderInfo { }, }, }, - "commercetools_project_settings": {Tok: makeResource(mainMod, "ProjectSettings")}, - "commercetools_shipping_method": {Tok: makeResource(mainMod, "ShippingMethod")}, - "commercetools_shipping_zone": {Tok: makeResource(mainMod, "ShippingZone")}, - "commercetools_shipping_zone_rate": {Tok: makeResource(mainMod, "ShippingZoneRate")}, - "commercetools_state": {Tok: makeResource(mainMod, "State")}, - "commercetools_store": {Tok: makeResource(mainMod, "Store")}, - "commercetools_tax_category": {Tok: makeResource(mainMod, "TaxCategory")}, - "commercetools_tax_category_rate": {Tok: makeResource(mainMod, "TaxCategoryRate")}, + "commercetools_project_settings": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ProjectSettings")}, + "commercetools_shipping_method": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ShippingMethod")}, + "commercetools_shipping_zone": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ShippingZone")}, + "commercetools_shipping_zone_rate": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ShippingZoneRate")}, + "commercetools_state": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "State")}, + "commercetools_state_transitions": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "StateTransitions")}, + "commercetools_store": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "Store")}, + "commercetools_tax_category": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "TaxCategory")}, + "commercetools_tax_category_rate": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "TaxCategoryRate")}, "commercetools_type": { - Tok: makeResource(mainMod, "Type"), - // Rename ElementType, because a property with that name already exists in the GO SDK + Tok: tfbridge.MakeResource(mainPkg, mainMod, "Type"), + // // Rename ElementType, because a property with that name already exists in the GO SDK Fields: map[string]*tfbridge.SchemaInfo{ "field": { Elem: &tfbridge.SchemaInfo{ @@ -163,7 +162,9 @@ func Provider() tfbridge.ProviderInfo { // Map each resource in the Terraform provider to a Pulumi function. An example // is below. // "aws_ami": {Tok: makeDataSource(mainMod, "getAmi")}, + "commercetools_type": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getType")}, }, + MetadataInfo: tfbridge.NewProviderMetadata(bridgeMetadata), JavaScript: &tfbridge.JavaScriptInfo{ // List any npm dependencies and their versions Dependencies: map[string]string{ @@ -200,7 +201,6 @@ func Provider() tfbridge.ProviderInfo { }, }, } - prov.SetAutonaming(255, "-") return prov diff --git a/provider/shim/go.mod b/provider/shim/go.mod new file mode 100644 index 0000000..4894c6b --- /dev/null +++ b/provider/shim/go.mod @@ -0,0 +1,69 @@ +module github.com/labd/terraform-provider-commercetools/shim + +go 1.18 + +replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d + +require ( + github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 + github.com/labd/terraform-provider-commercetools v1.7.1 +) + +require ( + github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect + github.com/agext/levenshtein v1.2.2 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/elliotchance/orderedmap/v2 v2.2.0 // indirect + github.com/elliotchance/pie/v2 v2.7.0 // indirect + github.com/fatih/color v1.13.0 // indirect + github.com/golang/protobuf v1.5.3 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-checkpoint v0.5.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect + github.com/hashicorp/go-hclog v1.5.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/go-plugin v1.4.10 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/hc-install v0.5.2 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect + github.com/hashicorp/logutils v1.0.0 // indirect + github.com/hashicorp/terraform-exec v0.18.1 // indirect + github.com/hashicorp/terraform-json v0.17.0 // indirect + github.com/hashicorp/terraform-plugin-framework v1.3.1 // indirect + github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.16.0 // indirect + github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect + github.com/hashicorp/terraform-registry-address v0.2.1 // indirect + github.com/hashicorp/terraform-svchost v0.1.1 // indirect + github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect + github.com/labd/commercetools-go-sdk v1.3.1 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/go-wordwrap v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/oklog/run v1.0.0 // indirect + github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect + golang.org/x/crypto v0.10.0 // indirect + golang.org/x/exp v0.0.0-20220321173239-a90fa8a75705 // indirect + golang.org/x/mod v0.10.0 // indirect + golang.org/x/net v0.11.0 // indirect + golang.org/x/oauth2 v0.9.0 // indirect + golang.org/x/sys v0.9.0 // indirect + golang.org/x/text v0.10.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect + google.golang.org/grpc v1.56.0 // indirect + google.golang.org/protobuf v1.30.0 // indirect +) + +replace github.com/labd/terraform-provider-commercetools => ../../upstream diff --git a/provider/shim/go.sum b/provider/shim/go.sum new file mode 100644 index 0000000..b98cfcd --- /dev/null +++ b/provider/shim/go.sum @@ -0,0 +1,202 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 h1:wPbRQzjjwFc0ih8puEVAOFGELsn1zoIIYdxvML7mDxA= +github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= +github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/appscode/go-querystring v0.0.0-20170504095604-0126cfb3f1dc/go.mod h1:w648aMHEgFYS6xb0KVMMtZ2uMeemhiKCuD2vj6gY52A= +github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= +github.com/dave/jennifer v1.4.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhrIygKg= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/elliotchance/orderedmap/v2 v2.2.0 h1:7/2iwO98kYT4XkOjA9mBEIwvi4KpGB4cyHeOFOnj4Vk= +github.com/elliotchance/orderedmap/v2 v2.2.0/go.mod h1:85lZyVbpGaGvHvnKa7Qhx7zncAdBIBq6u56Hb1PRU5Q= +github.com/elliotchance/pie/v2 v2.7.0 h1:FqoIKg4uj0G/CrLGuMS9ejnFKa92lxE1dEgBD3pShXg= +github.com/elliotchance/pie/v2 v2.7.0/go.mod h1:18t0dgGFH006g4eVdDtWfgFZPQEgl10IoEO8YWEq3Og= +github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= +github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= +github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= +github.com/go-git/go-git/v5 v5.6.1 h1:q4ZRqQl4pR/ZJHc1L5CFjGA1a10u76aV1iC+nh+bHsk= +github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= +github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= +github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= +github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= +github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= +github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= +github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= +github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/hc-install v0.5.2 h1:SfwMFnEXVVirpwkDuSF5kymUOhrUxrTq3udEseZdOD0= +github.com/hashicorp/hc-install v0.5.2/go.mod h1:9QISwe6newMWIfEiXpzuu1k9HAGtQYgnSH8H9T8wmoI= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= +github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/terraform-exec v0.18.1 h1:LAbfDvNQU1l0NOQlTuudjczVhHj061fNX5H8XZxHlH4= +github.com/hashicorp/terraform-exec v0.18.1/go.mod h1:58wg4IeuAJ6LVsLUeD2DWZZoc/bYi6dzhLHzxM41980= +github.com/hashicorp/terraform-json v0.17.0 h1:EiA1Wp07nknYQAiv+jIt4dX4Cq5crgP+TsTE45MjMmM= +github.com/hashicorp/terraform-json v0.17.0/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= +github.com/hashicorp/terraform-plugin-framework v1.3.1 h1:uhd+SuyuDq3oh5VB2Toq5IPyaC5XFAUf9vUFKBmNNOk= +github.com/hashicorp/terraform-plugin-framework v1.3.1/go.mod h1:A1WD3Ry7FhrThViUTbkx4ZDsMq9oaAv4U9oTI8bBzCU= +github.com/hashicorp/terraform-plugin-framework-validators v0.10.0 h1:4L0tmy/8esP6OcvocVymw52lY0HyQ5OxB7VNl7k4bS0= +github.com/hashicorp/terraform-plugin-framework-validators v0.10.0/go.mod h1:qdQJCdimB9JeX2YwOpItEu+IrfoJjWQ5PhLpAOMDQAE= +github.com/hashicorp/terraform-plugin-go v0.16.0 h1:DSOQ0rz5FUiVO4NUzMs8ln9gsPgHMTsfns7Nk+6gPuE= +github.com/hashicorp/terraform-plugin-go v0.16.0/go.mod h1:4sn8bFuDbt+2+Yztt35IbOrvZc0zyEi87gJzsTgCES8= +github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= +github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= +github.com/hashicorp/terraform-plugin-mux v0.10.0 h1:VejY1BffxGy2iYOaa8DDHavY4k9jbvAE8F3lhruspKY= +github.com/hashicorp/terraform-registry-address v0.2.1 h1:QuTf6oJ1+WSflJw6WYOHhLgwUiQ0FrROpHPYFtwTYWM= +github.com/hashicorp/terraform-registry-address v0.2.1/go.mod h1:BSE9fIFzp0qWsJUUyGquo4ldV9k2n+psif6NYkBRS3Y= +github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= +github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE= +github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/labd/commercetools-go-sdk v1.3.1 h1:EZnym91AutZXLZ+D1x52kZF35Wq51ZUEMewGCXdoje8= +github.com/labd/commercetools-go-sdk v1.3.1/go.mod h1:I+KKNALlg6PcSertsVA7E442koO99GT7gldWqwZlUGo= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= +github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= +github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d h1:DfAVBLi3G5hXbqiWs9wIGYZXF1VZu6+9kbl2CQO6cOE= +github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230710100801-03a71d0fca3d/go.mod h1:cUEP4ly/nxlHy5HzD6YRrHydtlheGvGRJDhiWqqVik4= +github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= +github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= +github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= +golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I= +golang.org/x/exp v0.0.0-20220321173239-a90fa8a75705 h1:ba9YlqfDGTTQ5aZ2fwOoQ1hf32QySyQkR6ODGDzHlnE= +golang.org/x/exp v0.0.0-20220321173239-a90fa8a75705/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE= +golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= +golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.9.0 h1:BPpt2kU7oMRq3kCHAA1tbSEshXRw1LpG2ztgDwrzuAs= +golang.org/x/oauth2 v0.9.0/go.mod h1:qYgFZaFiu6Wg24azG8bdV52QJXJGbZzIIsRCdVKzbLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= +golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/grpc v1.56.0 h1:+y7Bs8rtMd07LeXmL3NxcTLn7mUkbKZqEpPhMNkwJEE= +google.golang.org/grpc v1.56.0/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/provider/shim/shim.go b/provider/shim/shim.go new file mode 100644 index 0000000..5fe2dda --- /dev/null +++ b/provider/shim/shim.go @@ -0,0 +1,18 @@ +package shim + +import ( + pfschema "github.com/hashicorp/terraform-plugin-framework/provider" + sdkschema "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + sdkprovider "github.com/labd/terraform-provider-commercetools/commercetools" + pfprovider "github.com/labd/terraform-provider-commercetools/internal/provider" +) + +func PFProvider() pfschema.Provider { + prov := pfprovider.New("snapshot") + + return prov +} + +func SDKProvider() *sdkschema.Provider { + return sdkprovider.New("snapshot")() +} diff --git a/sdk/dotnet/ApiClient.cs b/sdk/dotnet/ApiClient.cs index b1221dc..feabb81 100644 --- a/sdk/dotnet/ApiClient.cs +++ b/sdk/dotnet/ApiClient.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/apiClient:ApiClient")] - public partial class ApiClient : Pulumi.CustomResource + public partial class ApiClient : global::Pulumi.CustomResource { /// /// Name of the API client @@ -50,6 +50,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "secret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -71,7 +75,7 @@ public static ApiClient Get(string name, Input id, ApiClientState? state } } - public sealed class ApiClientArgs : Pulumi.ResourceArgs + public sealed class ApiClientArgs : global::Pulumi.ResourceArgs { /// /// Name of the API client @@ -94,9 +98,10 @@ public InputList Scopes public ApiClientArgs() { } + public static new ApiClientArgs Empty => new ApiClientArgs(); } - public sealed class ApiClientState : Pulumi.ResourceArgs + public sealed class ApiClientState : global::Pulumi.ResourceArgs { /// /// Name of the API client @@ -117,10 +122,20 @@ public InputList Scopes } [Input("secret")] - public Input? Secret { get; set; } + private Input? _secret; + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ApiClientState() { } + public static new ApiClientState Empty => new ApiClientState(); } } diff --git a/sdk/dotnet/ApiExtension.cs b/sdk/dotnet/ApiExtension.cs index 02453e2..291d065 100644 --- a/sdk/dotnet/ApiExtension.cs +++ b/sdk/dotnet/ApiExtension.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/apiExtension:ApiExtension")] - public partial class ApiExtension : Pulumi.CustomResource + public partial class ApiExtension : global::Pulumi.CustomResource { /// /// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be @@ -85,7 +85,7 @@ public static ApiExtension Get(string name, Input id, ApiExtensionState? } } - public sealed class ApiExtensionArgs : Pulumi.ResourceArgs + public sealed class ApiExtensionArgs : global::Pulumi.ResourceArgs { /// /// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be @@ -122,9 +122,10 @@ public InputList Triggers public ApiExtensionArgs() { } + public static new ApiExtensionArgs Empty => new ApiExtensionArgs(); } - public sealed class ApiExtensionState : Pulumi.ResourceArgs + public sealed class ApiExtensionState : global::Pulumi.ResourceArgs { /// /// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be @@ -164,5 +165,6 @@ public InputList Triggers public ApiExtensionState() { } + public static new ApiExtensionState Empty => new ApiExtensionState(); } } diff --git a/sdk/dotnet/CartDiscount.cs b/sdk/dotnet/CartDiscount.cs index c0bd841..2f6094c 100644 --- a/sdk/dotnet/CartDiscount.cs +++ b/sdk/dotnet/CartDiscount.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/cartDiscount:CartDiscount")] - public partial class CartDiscount : Pulumi.CustomResource + public partial class CartDiscount : global::Pulumi.CustomResource { /// /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -130,7 +130,7 @@ public static CartDiscount Get(string name, Input id, CartDiscountState? } } - public sealed class CartDiscountArgs : Pulumi.ResourceArgs + public sealed class CartDiscountArgs : global::Pulumi.ResourceArgs { [Input("description")] private InputMap? _description; @@ -218,9 +218,10 @@ public InputMap Name public CartDiscountArgs() { } + public static new CartDiscountArgs Empty => new CartDiscountArgs(); } - public sealed class CartDiscountState : Pulumi.ResourceArgs + public sealed class CartDiscountState : global::Pulumi.ResourceArgs { [Input("description")] private InputMap? _description; @@ -311,5 +312,6 @@ public InputMap Name public CartDiscountState() { } + public static new CartDiscountState Empty => new CartDiscountState(); } } diff --git a/sdk/dotnet/Category.cs b/sdk/dotnet/Category.cs new file mode 100644 index 0000000..c1247bd --- /dev/null +++ b/sdk/dotnet/Category.cs @@ -0,0 +1,307 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools +{ + [CommercetoolsResourceType("commercetools:index/category:Category")] + public partial class Category : global::Pulumi.CustomResource + { + /// + /// Can be used to store images, icons or movies related to this category + /// + [Output("assets")] + public Output> Assets { get; private set; } = null!; + + [Output("custom")] + public Output Custom { get; private set; } = null!; + + [Output("description")] + public Output?> Description { get; private set; } = null!; + + [Output("externalId")] + public Output ExternalId { get; private set; } = null!; + + /// + /// Category-specific unique identifier. Must be unique across a project + /// + [Output("key")] + public Output Key { get; private set; } = null!; + + [Output("metaDescription")] + public Output?> MetaDescription { get; private set; } = null!; + + [Output("metaKeywords")] + public Output?> MetaKeywords { get; private set; } = null!; + + [Output("metaTitle")] + public Output?> MetaTitle { get; private set; } = null!; + + [Output("name")] + public Output> Name { get; private set; } = null!; + + /// + /// An attribute as base for a custom category order in one level, filled with random value when left empty + /// + [Output("orderHint")] + public Output OrderHint { get; private set; } = null!; + + /// + /// A category that is the parent of this category in the category tree + /// + [Output("parent")] + public Output Parent { get; private set; } = null!; + + /// + /// Human readable identifiers, needs to be unique + /// + [Output("slug")] + public Output> Slug { get; private set; } = null!; + + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a Category resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Category(string name, CategoryArgs args, CustomResourceOptions? options = null) + : base("commercetools:index/category:Category", name, args ?? new CategoryArgs(), MakeResourceOptions(options, "")) + { + } + + private Category(string name, Input id, CategoryState? state = null, CustomResourceOptions? options = null) + : base("commercetools:index/category:Category", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Category resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static Category Get(string name, Input id, CategoryState? state = null, CustomResourceOptions? options = null) + { + return new Category(name, id, state, options); + } + } + + public sealed class CategoryArgs : global::Pulumi.ResourceArgs + { + [Input("assets")] + private InputList? _assets; + + /// + /// Can be used to store images, icons or movies related to this category + /// + public InputList Assets + { + get => _assets ?? (_assets = new InputList()); + set => _assets = value; + } + + [Input("custom")] + public Input? Custom { get; set; } + + [Input("description")] + private InputMap? _description; + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// Category-specific unique identifier. Must be unique across a project + /// + [Input("key")] + public Input? Key { get; set; } + + [Input("metaDescription")] + private InputMap? _metaDescription; + public InputMap MetaDescription + { + get => _metaDescription ?? (_metaDescription = new InputMap()); + set => _metaDescription = value; + } + + [Input("metaKeywords")] + private InputMap? _metaKeywords; + public InputMap MetaKeywords + { + get => _metaKeywords ?? (_metaKeywords = new InputMap()); + set => _metaKeywords = value; + } + + [Input("metaTitle")] + private InputMap? _metaTitle; + public InputMap MetaTitle + { + get => _metaTitle ?? (_metaTitle = new InputMap()); + set => _metaTitle = value; + } + + [Input("name")] + private InputMap? _name; + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + /// + /// An attribute as base for a custom category order in one level, filled with random value when left empty + /// + [Input("orderHint")] + public Input? OrderHint { get; set; } + + /// + /// A category that is the parent of this category in the category tree + /// + [Input("parent")] + public Input? Parent { get; set; } + + [Input("slug", required: true)] + private InputMap? _slug; + + /// + /// Human readable identifiers, needs to be unique + /// + public InputMap Slug + { + get => _slug ?? (_slug = new InputMap()); + set => _slug = value; + } + + public CategoryArgs() + { + } + public static new CategoryArgs Empty => new CategoryArgs(); + } + + public sealed class CategoryState : global::Pulumi.ResourceArgs + { + [Input("assets")] + private InputList? _assets; + + /// + /// Can be used to store images, icons or movies related to this category + /// + public InputList Assets + { + get => _assets ?? (_assets = new InputList()); + set => _assets = value; + } + + [Input("custom")] + public Input? Custom { get; set; } + + [Input("description")] + private InputMap? _description; + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// Category-specific unique identifier. Must be unique across a project + /// + [Input("key")] + public Input? Key { get; set; } + + [Input("metaDescription")] + private InputMap? _metaDescription; + public InputMap MetaDescription + { + get => _metaDescription ?? (_metaDescription = new InputMap()); + set => _metaDescription = value; + } + + [Input("metaKeywords")] + private InputMap? _metaKeywords; + public InputMap MetaKeywords + { + get => _metaKeywords ?? (_metaKeywords = new InputMap()); + set => _metaKeywords = value; + } + + [Input("metaTitle")] + private InputMap? _metaTitle; + public InputMap MetaTitle + { + get => _metaTitle ?? (_metaTitle = new InputMap()); + set => _metaTitle = value; + } + + [Input("name")] + private InputMap? _name; + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + /// + /// An attribute as base for a custom category order in one level, filled with random value when left empty + /// + [Input("orderHint")] + public Input? OrderHint { get; set; } + + /// + /// A category that is the parent of this category in the category tree + /// + [Input("parent")] + public Input? Parent { get; set; } + + [Input("slug")] + private InputMap? _slug; + + /// + /// Human readable identifiers, needs to be unique + /// + public InputMap Slug + { + get => _slug ?? (_slug = new InputMap()); + set => _slug = value; + } + + [Input("version")] + public Input? Version { get; set; } + + public CategoryState() + { + } + public static new CategoryState Empty => new CategoryState(); + } +} diff --git a/sdk/dotnet/Channel.cs b/sdk/dotnet/Channel.cs index f5800f4..d645484 100644 --- a/sdk/dotnet/Channel.cs +++ b/sdk/dotnet/Channel.cs @@ -10,14 +10,23 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/channel:Channel")] - public partial class Channel : Pulumi.CustomResource + public partial class Channel : global::Pulumi.CustomResource { + [Output("address")] + public Output Address { get; private set; } = null!; + + [Output("custom")] + public Output Custom { get; private set; } = null!; + /// /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) /// [Output("description")] public Output?> Description { get; private set; } = null!; + [Output("geolocation")] + public Output Geolocation { get; private set; } = null!; + /// /// Any arbitrary string key that uniquely identifies this channel within the project /// @@ -84,8 +93,14 @@ public static Channel Get(string name, Input id, ChannelState? state = n } } - public sealed class ChannelArgs : Pulumi.ResourceArgs + public sealed class ChannelArgs : global::Pulumi.ResourceArgs { + [Input("address")] + public Input? Address { get; set; } + + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] private InputMap? _description; @@ -98,6 +113,9 @@ public InputMap Description set => _description = value; } + [Input("geolocation")] + public Input? Geolocation { get; set; } + /// /// Any arbitrary string key that uniquely identifies this channel within the project /// @@ -132,10 +150,17 @@ public InputList Roles public ChannelArgs() { } + public static new ChannelArgs Empty => new ChannelArgs(); } - public sealed class ChannelState : Pulumi.ResourceArgs + public sealed class ChannelState : global::Pulumi.ResourceArgs { + [Input("address")] + public Input? Address { get; set; } + + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] private InputMap? _description; @@ -148,6 +173,9 @@ public InputMap Description set => _description = value; } + [Input("geolocation")] + public Input? Geolocation { get; set; } + /// /// Any arbitrary string key that uniquely identifies this channel within the project /// @@ -185,5 +213,6 @@ public InputList Roles public ChannelState() { } + public static new ChannelState Empty => new ChannelState(); } } diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 111b169..63c06f7 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -1,43 +1,97 @@ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** +using System; using System.Collections.Immutable; namespace Pulumi.Commercetools { public static class Config { - private static readonly Pulumi.Config __config = new Pulumi.Config("commercetools"); + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + "Double underscore prefix used to avoid conflicts with variable names.")] + private sealed class __Value + { + private readonly Func _getter; + private T _value = default!; + private bool _set; + + public __Value(Func getter) + { + _getter = getter; + } + + public T Get() => _set ? _value : _getter(); + + public void Set(T value) + { + _value = value; + _set = true; + } + } + + private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("commercetools"); + + private static readonly __Value _apiUrl = new __Value(() => __config.Get("apiUrl")); /// /// The API URL of the commercetools platform. https://docs.commercetools.com/http-api /// - public static string? ApiUrl { get; set; } = __config.Get("apiUrl"); + public static string? ApiUrl + { + get => _apiUrl.Get(); + set => _apiUrl.Set(value); + } + private static readonly __Value _clientId = new __Value(() => __config.Get("clientId")); /// /// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// - public static string? ClientId { get; set; } = __config.Get("clientId"); + public static string? ClientId + { + get => _clientId.Get(); + set => _clientId.Set(value); + } + private static readonly __Value _clientSecret = new __Value(() => __config.Get("clientSecret")); /// /// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// - public static string? ClientSecret { get; set; } = __config.Get("clientSecret"); + public static string? ClientSecret + { + get => _clientSecret.Get(); + set => _clientSecret.Set(value); + } + private static readonly __Value _projectKey = new __Value(() => __config.Get("projectKey")); /// /// The project key of commercetools platform project. https://docs.commercetools.com/getting-started /// - public static string? ProjectKey { get; set; } = __config.Get("projectKey"); + public static string? ProjectKey + { + get => _projectKey.Get(); + set => _projectKey.Set(value); + } + private static readonly __Value _scopes = new __Value(() => __config.Get("scopes")); /// /// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. /// https://docs.commercetools.com/http-api-authorization /// - public static string? Scopes { get; set; } = __config.Get("scopes"); + public static string? Scopes + { + get => _scopes.Get(); + set => _scopes.Set(value); + } + private static readonly __Value _tokenUrl = new __Value(() => __config.Get("tokenUrl")); /// /// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization /// - public static string? TokenUrl { get; set; } = __config.Get("tokenUrl"); + public static string? TokenUrl + { + get => _tokenUrl.Get(); + set => _tokenUrl.Set(value); + } } } diff --git a/sdk/dotnet/CustomObject.cs b/sdk/dotnet/CustomObject.cs index d803c24..7eefd10 100644 --- a/sdk/dotnet/CustomObject.cs +++ b/sdk/dotnet/CustomObject.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/customObject:CustomObject")] - public partial class CustomObject : Pulumi.CustomResource + public partial class CustomObject : global::Pulumi.CustomResource { /// /// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+' @@ -77,7 +77,7 @@ public static CustomObject Get(string name, Input id, CustomObjectState? } } - public sealed class CustomObjectArgs : Pulumi.ResourceArgs + public sealed class CustomObjectArgs : global::Pulumi.ResourceArgs { /// /// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+' @@ -100,9 +100,10 @@ public sealed class CustomObjectArgs : Pulumi.ResourceArgs public CustomObjectArgs() { } + public static new CustomObjectArgs Empty => new CustomObjectArgs(); } - public sealed class CustomObjectState : Pulumi.ResourceArgs + public sealed class CustomObjectState : global::Pulumi.ResourceArgs { /// /// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+' @@ -128,5 +129,6 @@ public sealed class CustomObjectState : Pulumi.ResourceArgs public CustomObjectState() { } + public static new CustomObjectState Empty => new CustomObjectState(); } } diff --git a/sdk/dotnet/CustomerGroup.cs b/sdk/dotnet/CustomerGroup.cs new file mode 100644 index 0000000..93b6f0c --- /dev/null +++ b/sdk/dotnet/CustomerGroup.cs @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools +{ + [CommercetoolsResourceType("commercetools:index/customerGroup:CustomerGroup")] + public partial class CustomerGroup : global::Pulumi.CustomResource + { + [Output("custom")] + public Output Custom { get; private set; } = null!; + + /// + /// User-specific unique identifier for the customer group + /// + [Output("key")] + public Output Key { get; private set; } = null!; + + /// + /// Unique within the project + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a CustomerGroup resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public CustomerGroup(string name, CustomerGroupArgs? args = null, CustomResourceOptions? options = null) + : base("commercetools:index/customerGroup:CustomerGroup", name, args ?? new CustomerGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private CustomerGroup(string name, Input id, CustomerGroupState? state = null, CustomResourceOptions? options = null) + : base("commercetools:index/customerGroup:CustomerGroup", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing CustomerGroup resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static CustomerGroup Get(string name, Input id, CustomerGroupState? state = null, CustomResourceOptions? options = null) + { + return new CustomerGroup(name, id, state, options); + } + } + + public sealed class CustomerGroupArgs : global::Pulumi.ResourceArgs + { + [Input("custom")] + public Input? Custom { get; set; } + + /// + /// User-specific unique identifier for the customer group + /// + [Input("key")] + public Input? Key { get; set; } + + /// + /// Unique within the project + /// + [Input("name")] + public Input? Name { get; set; } + + public CustomerGroupArgs() + { + } + public static new CustomerGroupArgs Empty => new CustomerGroupArgs(); + } + + public sealed class CustomerGroupState : global::Pulumi.ResourceArgs + { + [Input("custom")] + public Input? Custom { get; set; } + + /// + /// User-specific unique identifier for the customer group + /// + [Input("key")] + public Input? Key { get; set; } + + /// + /// Unique within the project + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("version")] + public Input? Version { get; set; } + + public CustomerGroupState() + { + } + public static new CustomerGroupState Empty => new CustomerGroupState(); + } +} diff --git a/sdk/dotnet/DiscountCode.cs b/sdk/dotnet/DiscountCode.cs index 5330808..9133b04 100644 --- a/sdk/dotnet/DiscountCode.cs +++ b/sdk/dotnet/DiscountCode.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/discountCode:DiscountCode")] - public partial class DiscountCode : Pulumi.CustomResource + public partial class DiscountCode : global::Pulumi.CustomResource { /// /// The referenced matching cart discounts can be applied to the cart once the DiscountCode is added @@ -25,6 +25,9 @@ public partial class DiscountCode : Pulumi.CustomResource [Output("code")] public Output Code { get; private set; } = null!; + [Output("custom")] + public Output Custom { get; private set; } = null!; + /// /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) /// @@ -123,7 +126,7 @@ public static DiscountCode Get(string name, Input id, DiscountCodeState? } } - public sealed class DiscountCodeArgs : Pulumi.ResourceArgs + public sealed class DiscountCodeArgs : global::Pulumi.ResourceArgs { [Input("cartDiscounts", required: true)] private InputList? _cartDiscounts; @@ -144,6 +147,9 @@ public InputList CartDiscounts [Input("code", required: true)] public Input Code { get; set; } = null!; + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] private InputMap? _description; @@ -216,9 +222,10 @@ public InputMap Name public DiscountCodeArgs() { } + public static new DiscountCodeArgs Empty => new DiscountCodeArgs(); } - public sealed class DiscountCodeState : Pulumi.ResourceArgs + public sealed class DiscountCodeState : global::Pulumi.ResourceArgs { [Input("cartDiscounts")] private InputList? _cartDiscounts; @@ -239,6 +246,9 @@ public InputList CartDiscounts [Input("code")] public Input? Code { get; set; } + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] private InputMap? _description; @@ -314,5 +324,6 @@ public InputMap Name public DiscountCodeState() { } + public static new DiscountCodeState Empty => new DiscountCodeState(); } } diff --git a/sdk/dotnet/GetType.cs b/sdk/dotnet/GetType.cs new file mode 100644 index 0000000..87d2126 --- /dev/null +++ b/sdk/dotnet/GetType.cs @@ -0,0 +1,61 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools +{ + public static class GetType + { + public static Task InvokeAsync(GetTypeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("commercetools:index/getType:getType", args ?? new GetTypeArgs(), options.WithDefaults()); + + public static Output Invoke(GetTypeInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("commercetools:index/getType:getType", args ?? new GetTypeInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetTypeArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + public string Key { get; set; } = null!; + + public GetTypeArgs() + { + } + public static new GetTypeArgs Empty => new GetTypeArgs(); + } + + public sealed class GetTypeInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + public GetTypeInvokeArgs() + { + } + public static new GetTypeInvokeArgs Empty => new GetTypeInvokeArgs(); + } + + + [OutputType] + public sealed class GetTypeResult + { + public readonly string Id; + public readonly string Key; + + [OutputConstructor] + private GetTypeResult( + string id, + + string key) + { + Id = id; + Key = key; + } + } +} diff --git a/sdk/dotnet/Inputs/ApiExtensionDestinationArgs.cs b/sdk/dotnet/Inputs/ApiExtensionDestinationArgs.cs index 372abe7..643c814 100644 --- a/sdk/dotnet/Inputs/ApiExtensionDestinationArgs.cs +++ b/sdk/dotnet/Inputs/ApiExtensionDestinationArgs.cs @@ -10,13 +10,22 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ApiExtensionDestinationArgs : Pulumi.ResourceArgs + public sealed class ApiExtensionDestinationArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] public Input? AccessKey { get; set; } [Input("accessSecret")] - public Input? AccessSecret { get; set; } + private Input? _accessSecret; + public Input? AccessSecret + { + get => _accessSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _accessSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("arn")] public Input? Arn { get; set; } @@ -36,5 +45,6 @@ public sealed class ApiExtensionDestinationArgs : Pulumi.ResourceArgs public ApiExtensionDestinationArgs() { } + public static new ApiExtensionDestinationArgs Empty => new ApiExtensionDestinationArgs(); } } diff --git a/sdk/dotnet/Inputs/ApiExtensionDestinationGetArgs.cs b/sdk/dotnet/Inputs/ApiExtensionDestinationGetArgs.cs index 9b7d808..4d7cba9 100644 --- a/sdk/dotnet/Inputs/ApiExtensionDestinationGetArgs.cs +++ b/sdk/dotnet/Inputs/ApiExtensionDestinationGetArgs.cs @@ -10,13 +10,22 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ApiExtensionDestinationGetArgs : Pulumi.ResourceArgs + public sealed class ApiExtensionDestinationGetArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] public Input? AccessKey { get; set; } [Input("accessSecret")] - public Input? AccessSecret { get; set; } + private Input? _accessSecret; + public Input? AccessSecret + { + get => _accessSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _accessSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("arn")] public Input? Arn { get; set; } @@ -36,5 +45,6 @@ public sealed class ApiExtensionDestinationGetArgs : Pulumi.ResourceArgs public ApiExtensionDestinationGetArgs() { } + public static new ApiExtensionDestinationGetArgs Empty => new ApiExtensionDestinationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ApiExtensionTriggerArgs.cs b/sdk/dotnet/Inputs/ApiExtensionTriggerArgs.cs index fb80aab..049a2c2 100644 --- a/sdk/dotnet/Inputs/ApiExtensionTriggerArgs.cs +++ b/sdk/dotnet/Inputs/ApiExtensionTriggerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ApiExtensionTriggerArgs : Pulumi.ResourceArgs + public sealed class ApiExtensionTriggerArgs : global::Pulumi.ResourceArgs { [Input("actions", required: true)] private InputList? _actions; @@ -20,11 +20,15 @@ public InputList Actions set => _actions = value; } + [Input("condition")] + public Input? Condition { get; set; } + [Input("resourceTypeId", required: true)] public Input ResourceTypeId { get; set; } = null!; public ApiExtensionTriggerArgs() { } + public static new ApiExtensionTriggerArgs Empty => new ApiExtensionTriggerArgs(); } } diff --git a/sdk/dotnet/Inputs/ApiExtensionTriggerGetArgs.cs b/sdk/dotnet/Inputs/ApiExtensionTriggerGetArgs.cs index dea365a..7bb6b57 100644 --- a/sdk/dotnet/Inputs/ApiExtensionTriggerGetArgs.cs +++ b/sdk/dotnet/Inputs/ApiExtensionTriggerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ApiExtensionTriggerGetArgs : Pulumi.ResourceArgs + public sealed class ApiExtensionTriggerGetArgs : global::Pulumi.ResourceArgs { [Input("actions", required: true)] private InputList? _actions; @@ -20,11 +20,15 @@ public InputList Actions set => _actions = value; } + [Input("condition")] + public Input? Condition { get; set; } + [Input("resourceTypeId", required: true)] public Input ResourceTypeId { get; set; } = null!; public ApiExtensionTriggerGetArgs() { } + public static new ApiExtensionTriggerGetArgs Empty => new ApiExtensionTriggerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountTargetArgs.cs b/sdk/dotnet/Inputs/CartDiscountTargetArgs.cs index 8e01203..f5b829e 100644 --- a/sdk/dotnet/Inputs/CartDiscountTargetArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountTargetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountTargetArgs : Pulumi.ResourceArgs + public sealed class CartDiscountTargetArgs : global::Pulumi.ResourceArgs { [Input("predicate")] public Input? Predicate { get; set; } @@ -21,5 +21,6 @@ public sealed class CartDiscountTargetArgs : Pulumi.ResourceArgs public CartDiscountTargetArgs() { } + public static new CartDiscountTargetArgs Empty => new CartDiscountTargetArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountTargetGetArgs.cs b/sdk/dotnet/Inputs/CartDiscountTargetGetArgs.cs index 8b74075..0e08c5b 100644 --- a/sdk/dotnet/Inputs/CartDiscountTargetGetArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountTargetGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountTargetGetArgs : Pulumi.ResourceArgs + public sealed class CartDiscountTargetGetArgs : global::Pulumi.ResourceArgs { [Input("predicate")] public Input? Predicate { get; set; } @@ -21,5 +21,6 @@ public sealed class CartDiscountTargetGetArgs : Pulumi.ResourceArgs public CartDiscountTargetGetArgs() { } + public static new CartDiscountTargetGetArgs Empty => new CartDiscountTargetGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountValueArgs.cs b/sdk/dotnet/Inputs/CartDiscountValueArgs.cs index 284b168..eafaffd 100644 --- a/sdk/dotnet/Inputs/CartDiscountValueArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountValueArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountValueArgs : Pulumi.ResourceArgs + public sealed class CartDiscountValueArgs : global::Pulumi.ResourceArgs { [Input("distributionChannelId")] public Input? DistributionChannelId { get; set; } @@ -41,5 +41,6 @@ public InputList Monies public CartDiscountValueArgs() { } + public static new CartDiscountValueArgs Empty => new CartDiscountValueArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountValueGetArgs.cs b/sdk/dotnet/Inputs/CartDiscountValueGetArgs.cs index a93c315..c857816 100644 --- a/sdk/dotnet/Inputs/CartDiscountValueGetArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountValueGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountValueGetArgs : Pulumi.ResourceArgs + public sealed class CartDiscountValueGetArgs : global::Pulumi.ResourceArgs { [Input("distributionChannelId")] public Input? DistributionChannelId { get; set; } @@ -41,5 +41,6 @@ public InputList Monies public CartDiscountValueGetArgs() { } + public static new CartDiscountValueGetArgs Empty => new CartDiscountValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountValueMoneyArgs.cs b/sdk/dotnet/Inputs/CartDiscountValueMoneyArgs.cs index 8a74396..eefc949 100644 --- a/sdk/dotnet/Inputs/CartDiscountValueMoneyArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountValueMoneyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountValueMoneyArgs : Pulumi.ResourceArgs + public sealed class CartDiscountValueMoneyArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class CartDiscountValueMoneyArgs : Pulumi.ResourceArgs public CartDiscountValueMoneyArgs() { } + public static new CartDiscountValueMoneyArgs Empty => new CartDiscountValueMoneyArgs(); } } diff --git a/sdk/dotnet/Inputs/CartDiscountValueMoneyGetArgs.cs b/sdk/dotnet/Inputs/CartDiscountValueMoneyGetArgs.cs index 14f1474..281b364 100644 --- a/sdk/dotnet/Inputs/CartDiscountValueMoneyGetArgs.cs +++ b/sdk/dotnet/Inputs/CartDiscountValueMoneyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class CartDiscountValueMoneyGetArgs : Pulumi.ResourceArgs + public sealed class CartDiscountValueMoneyGetArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class CartDiscountValueMoneyGetArgs : Pulumi.ResourceArgs public CartDiscountValueMoneyGetArgs() { } + public static new CartDiscountValueMoneyGetArgs Empty => new CartDiscountValueMoneyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CategoryAssetArgs.cs b/sdk/dotnet/Inputs/CategoryAssetArgs.cs new file mode 100644 index 0000000..594e9c1 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetArgs : global::Pulumi.ResourceArgs + { + [Input("description")] + private InputMap? _description; + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + [Input("id")] + public Input? Id { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("name", required: true)] + private InputMap? _name; + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + [Input("sources")] + private InputList? _sources; + public InputList Sources + { + get => _sources ?? (_sources = new InputList()); + set => _sources = value; + } + + [Input("tags")] + private InputList? _tags; + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public CategoryAssetArgs() + { + } + public static new CategoryAssetArgs Empty => new CategoryAssetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryAssetGetArgs.cs b/sdk/dotnet/Inputs/CategoryAssetGetArgs.cs new file mode 100644 index 0000000..9a02600 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetGetArgs.cs @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetGetArgs : global::Pulumi.ResourceArgs + { + [Input("description")] + private InputMap? _description; + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + [Input("id")] + public Input? Id { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("name", required: true)] + private InputMap? _name; + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + [Input("sources")] + private InputList? _sources; + public InputList Sources + { + get => _sources ?? (_sources = new InputList()); + set => _sources = value; + } + + [Input("tags")] + private InputList? _tags; + public InputList Tags + { + get => _tags ?? (_tags = new InputList()); + set => _tags = value; + } + + public CategoryAssetGetArgs() + { + } + public static new CategoryAssetGetArgs Empty => new CategoryAssetGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryAssetSourceArgs.cs b/sdk/dotnet/Inputs/CategoryAssetSourceArgs.cs new file mode 100644 index 0000000..64a596a --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetSourceArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetSourceArgs : global::Pulumi.ResourceArgs + { + [Input("contentType")] + public Input? ContentType { get; set; } + + [Input("dimensions")] + public Input? Dimensions { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("uri", required: true)] + public Input Uri { get; set; } = null!; + + public CategoryAssetSourceArgs() + { + } + public static new CategoryAssetSourceArgs Empty => new CategoryAssetSourceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsArgs.cs b/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsArgs.cs new file mode 100644 index 0000000..2bbcba4 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetSourceDimensionsArgs : global::Pulumi.ResourceArgs + { + [Input("h", required: true)] + public Input H { get; set; } = null!; + + [Input("w", required: true)] + public Input W { get; set; } = null!; + + public CategoryAssetSourceDimensionsArgs() + { + } + public static new CategoryAssetSourceDimensionsArgs Empty => new CategoryAssetSourceDimensionsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsGetArgs.cs b/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsGetArgs.cs new file mode 100644 index 0000000..e5be528 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetSourceDimensionsGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetSourceDimensionsGetArgs : global::Pulumi.ResourceArgs + { + [Input("h", required: true)] + public Input H { get; set; } = null!; + + [Input("w", required: true)] + public Input W { get; set; } = null!; + + public CategoryAssetSourceDimensionsGetArgs() + { + } + public static new CategoryAssetSourceDimensionsGetArgs Empty => new CategoryAssetSourceDimensionsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryAssetSourceGetArgs.cs b/sdk/dotnet/Inputs/CategoryAssetSourceGetArgs.cs new file mode 100644 index 0000000..0fa923f --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryAssetSourceGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryAssetSourceGetArgs : global::Pulumi.ResourceArgs + { + [Input("contentType")] + public Input? ContentType { get; set; } + + [Input("dimensions")] + public Input? Dimensions { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("uri", required: true)] + public Input Uri { get; set; } = null!; + + public CategoryAssetSourceGetArgs() + { + } + public static new CategoryAssetSourceGetArgs Empty => new CategoryAssetSourceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryCustomArgs.cs b/sdk/dotnet/Inputs/CategoryCustomArgs.cs new file mode 100644 index 0000000..79c5119 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public CategoryCustomArgs() + { + } + public static new CategoryCustomArgs Empty => new CategoryCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CategoryCustomGetArgs.cs b/sdk/dotnet/Inputs/CategoryCustomGetArgs.cs new file mode 100644 index 0000000..58a97f0 --- /dev/null +++ b/sdk/dotnet/Inputs/CategoryCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CategoryCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public CategoryCustomGetArgs() + { + } + public static new CategoryCustomGetArgs Empty => new CategoryCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelAddressArgs.cs b/sdk/dotnet/Inputs/ChannelAddressArgs.cs new file mode 100644 index 0000000..7cace47 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelAddressArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelAddressArgs : global::Pulumi.ResourceArgs + { + [Input("additionalAddressInfo")] + public Input? AdditionalAddressInfo { get; set; } + + [Input("additionalStreetInfo")] + public Input? AdditionalStreetInfo { get; set; } + + [Input("apartment")] + public Input? Apartment { get; set; } + + [Input("building")] + public Input? Building { get; set; } + + [Input("city")] + public Input? City { get; set; } + + [Input("company")] + public Input? Company { get; set; } + + [Input("country", required: true)] + public Input Country { get; set; } = null!; + + [Input("department")] + public Input? Department { get; set; } + + [Input("email")] + public Input? Email { get; set; } + + [Input("externalId")] + public Input? ExternalId { get; set; } + + [Input("fax")] + public Input? Fax { get; set; } + + [Input("firstName")] + public Input? FirstName { get; set; } + + [Input("id")] + public Input? Id { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("lastName")] + public Input? LastName { get; set; } + + [Input("mobile")] + public Input? Mobile { get; set; } + + [Input("phone")] + public Input? Phone { get; set; } + + [Input("poBox")] + public Input? PoBox { get; set; } + + [Input("postalCode")] + public Input? PostalCode { get; set; } + + [Input("region")] + public Input? Region { get; set; } + + [Input("salutation")] + public Input? Salutation { get; set; } + + [Input("state")] + public Input? State { get; set; } + + [Input("streetName")] + public Input? StreetName { get; set; } + + [Input("streetNumber")] + public Input? StreetNumber { get; set; } + + [Input("title")] + public Input? Title { get; set; } + + public ChannelAddressArgs() + { + } + public static new ChannelAddressArgs Empty => new ChannelAddressArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelAddressGetArgs.cs b/sdk/dotnet/Inputs/ChannelAddressGetArgs.cs new file mode 100644 index 0000000..63f2426 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelAddressGetArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelAddressGetArgs : global::Pulumi.ResourceArgs + { + [Input("additionalAddressInfo")] + public Input? AdditionalAddressInfo { get; set; } + + [Input("additionalStreetInfo")] + public Input? AdditionalStreetInfo { get; set; } + + [Input("apartment")] + public Input? Apartment { get; set; } + + [Input("building")] + public Input? Building { get; set; } + + [Input("city")] + public Input? City { get; set; } + + [Input("company")] + public Input? Company { get; set; } + + [Input("country", required: true)] + public Input Country { get; set; } = null!; + + [Input("department")] + public Input? Department { get; set; } + + [Input("email")] + public Input? Email { get; set; } + + [Input("externalId")] + public Input? ExternalId { get; set; } + + [Input("fax")] + public Input? Fax { get; set; } + + [Input("firstName")] + public Input? FirstName { get; set; } + + [Input("id")] + public Input? Id { get; set; } + + [Input("key")] + public Input? Key { get; set; } + + [Input("lastName")] + public Input? LastName { get; set; } + + [Input("mobile")] + public Input? Mobile { get; set; } + + [Input("phone")] + public Input? Phone { get; set; } + + [Input("poBox")] + public Input? PoBox { get; set; } + + [Input("postalCode")] + public Input? PostalCode { get; set; } + + [Input("region")] + public Input? Region { get; set; } + + [Input("salutation")] + public Input? Salutation { get; set; } + + [Input("state")] + public Input? State { get; set; } + + [Input("streetName")] + public Input? StreetName { get; set; } + + [Input("streetNumber")] + public Input? StreetNumber { get; set; } + + [Input("title")] + public Input? Title { get; set; } + + public ChannelAddressGetArgs() + { + } + public static new ChannelAddressGetArgs Empty => new ChannelAddressGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelCustomArgs.cs b/sdk/dotnet/Inputs/ChannelCustomArgs.cs new file mode 100644 index 0000000..8422782 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public ChannelCustomArgs() + { + } + public static new ChannelCustomArgs Empty => new ChannelCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelCustomGetArgs.cs b/sdk/dotnet/Inputs/ChannelCustomGetArgs.cs new file mode 100644 index 0000000..99ba3b9 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public ChannelCustomGetArgs() + { + } + public static new ChannelCustomGetArgs Empty => new ChannelCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelGeolocationArgs.cs b/sdk/dotnet/Inputs/ChannelGeolocationArgs.cs new file mode 100644 index 0000000..703a744 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelGeolocationArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelGeolocationArgs : global::Pulumi.ResourceArgs + { + [Input("coordinates", required: true)] + private InputList? _coordinates; + public InputList Coordinates + { + get => _coordinates ?? (_coordinates = new InputList()); + set => _coordinates = value; + } + + public ChannelGeolocationArgs() + { + } + public static new ChannelGeolocationArgs Empty => new ChannelGeolocationArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ChannelGeolocationGetArgs.cs b/sdk/dotnet/Inputs/ChannelGeolocationGetArgs.cs new file mode 100644 index 0000000..75646c4 --- /dev/null +++ b/sdk/dotnet/Inputs/ChannelGeolocationGetArgs.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ChannelGeolocationGetArgs : global::Pulumi.ResourceArgs + { + [Input("coordinates", required: true)] + private InputList? _coordinates; + public InputList Coordinates + { + get => _coordinates ?? (_coordinates = new InputList()); + set => _coordinates = value; + } + + public ChannelGeolocationGetArgs() + { + } + public static new ChannelGeolocationGetArgs Empty => new ChannelGeolocationGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CustomerGroupCustomArgs.cs b/sdk/dotnet/Inputs/CustomerGroupCustomArgs.cs new file mode 100644 index 0000000..42e99c2 --- /dev/null +++ b/sdk/dotnet/Inputs/CustomerGroupCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CustomerGroupCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public CustomerGroupCustomArgs() + { + } + public static new CustomerGroupCustomArgs Empty => new CustomerGroupCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CustomerGroupCustomGetArgs.cs b/sdk/dotnet/Inputs/CustomerGroupCustomGetArgs.cs new file mode 100644 index 0000000..67adfce --- /dev/null +++ b/sdk/dotnet/Inputs/CustomerGroupCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class CustomerGroupCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public CustomerGroupCustomGetArgs() + { + } + public static new CustomerGroupCustomGetArgs Empty => new CustomerGroupCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DiscountCodeCustomArgs.cs b/sdk/dotnet/Inputs/DiscountCodeCustomArgs.cs new file mode 100644 index 0000000..1772c9a --- /dev/null +++ b/sdk/dotnet/Inputs/DiscountCodeCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class DiscountCodeCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public DiscountCodeCustomArgs() + { + } + public static new DiscountCodeCustomArgs Empty => new DiscountCodeCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DiscountCodeCustomGetArgs.cs b/sdk/dotnet/Inputs/DiscountCodeCustomGetArgs.cs new file mode 100644 index 0000000..b3f5c7a --- /dev/null +++ b/sdk/dotnet/Inputs/DiscountCodeCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class DiscountCodeCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public DiscountCodeCustomGetArgs() + { + } + public static new DiscountCodeCustomGetArgs Empty => new DiscountCodeCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductDiscountValueArgs.cs b/sdk/dotnet/Inputs/ProductDiscountValueArgs.cs new file mode 100644 index 0000000..1877d46 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductDiscountValueArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductDiscountValueArgs : global::Pulumi.ResourceArgs + { + [Input("monies")] + private InputList? _monies; + public InputList Monies + { + get => _monies ?? (_monies = new InputList()); + set => _monies = value; + } + + [Input("permyriad")] + public Input? Permyriad { get; set; } + + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ProductDiscountValueArgs() + { + } + public static new ProductDiscountValueArgs Empty => new ProductDiscountValueArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductDiscountValueGetArgs.cs b/sdk/dotnet/Inputs/ProductDiscountValueGetArgs.cs new file mode 100644 index 0000000..3b5c78d --- /dev/null +++ b/sdk/dotnet/Inputs/ProductDiscountValueGetArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductDiscountValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("monies")] + private InputList? _monies; + public InputList Monies + { + get => _monies ?? (_monies = new InputList()); + set => _monies = value; + } + + [Input("permyriad")] + public Input? Permyriad { get; set; } + + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public ProductDiscountValueGetArgs() + { + } + public static new ProductDiscountValueGetArgs Empty => new ProductDiscountValueGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductDiscountValueMoneyArgs.cs b/sdk/dotnet/Inputs/ProductDiscountValueMoneyArgs.cs new file mode 100644 index 0000000..1b59fb4 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductDiscountValueMoneyArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductDiscountValueMoneyArgs : global::Pulumi.ResourceArgs + { + [Input("centAmount", required: true)] + public Input CentAmount { get; set; } = null!; + + [Input("currencyCode", required: true)] + public Input CurrencyCode { get; set; } = null!; + + [Input("fractionDigits")] + public Input? FractionDigits { get; set; } + + public ProductDiscountValueMoneyArgs() + { + } + public static new ProductDiscountValueMoneyArgs Empty => new ProductDiscountValueMoneyArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductDiscountValueMoneyGetArgs.cs b/sdk/dotnet/Inputs/ProductDiscountValueMoneyGetArgs.cs new file mode 100644 index 0000000..57f8090 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductDiscountValueMoneyGetArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductDiscountValueMoneyGetArgs : global::Pulumi.ResourceArgs + { + [Input("centAmount", required: true)] + public Input CentAmount { get; set; } = null!; + + [Input("currencyCode", required: true)] + public Input CurrencyCode { get; set; } = null!; + + [Input("fractionDigits")] + public Input? FractionDigits { get; set; } + + public ProductDiscountValueMoneyGetArgs() + { + } + public static new ProductDiscountValueMoneyGetArgs Empty => new ProductDiscountValueMoneyGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeArgs.cs index 7f5de94..0ee5892 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeArgs : global::Pulumi.ResourceArgs { [Input("constraint")] public Input? Constraint { get; set; } @@ -49,5 +49,6 @@ public InputMap Label public ProductTypeAttributeArgs() { } + public static new ProductTypeAttributeArgs Empty => new ProductTypeAttributeArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeGetArgs.cs index 5858782..0870de9 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeGetArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeGetArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeGetArgs : global::Pulumi.ResourceArgs { [Input("constraint")] public Input? Constraint { get; set; } @@ -49,5 +49,6 @@ public InputMap Label public ProductTypeAttributeGetArgs() { } + public static new ProductTypeAttributeGetArgs Empty => new ProductTypeAttributeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeArgs.cs index 6d4f562..3e640eb 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeArgs : global::Pulumi.ResourceArgs { [Input("ElementType2")] public Input? ElementType2 { get; set; } @@ -33,15 +33,16 @@ public InputList LocalizedVal public Input? TypeReference { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public ProductTypeAttributeTypeArgs() { } + public static new ProductTypeAttributeTypeArgs Empty => new ProductTypeAttributeTypeArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2Args.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2Args.cs index e672500..d38f1d6 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2Args.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2Args.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeElementType2Args : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeElementType2Args : global::Pulumi.ResourceArgs { [Input("localizedValues")] private InputList? _localizedValues; @@ -30,15 +30,16 @@ public InputList public Input? TypeReference { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public ProductTypeAttributeTypeElementType2Args() { } + public static new ProductTypeAttributeTypeElementType2Args Empty => new ProductTypeAttributeTypeElementType2Args(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2GetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2GetArgs.cs index 3d8d71a..f13c232 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2GetArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2GetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeElementType2GetArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeElementType2GetArgs : global::Pulumi.ResourceArgs { [Input("localizedValues")] private InputList? _localizedValues; @@ -30,15 +30,16 @@ public InputList? TypeReference { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public ProductTypeAttributeTypeElementType2GetArgs() { } + public static new ProductTypeAttributeTypeElementType2GetArgs Empty => new ProductTypeAttributeTypeElementType2GetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueArgs.cs index 33447eb..b70092b 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeElementType2LocalizedValueArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeElementType2LocalizedValueArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public ProductTypeAttributeTypeElementType2LocalizedValueArgs() { } + public static new ProductTypeAttributeTypeElementType2LocalizedValueArgs Empty => new ProductTypeAttributeTypeElementType2LocalizedValueArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueGetArgs.cs index 9f90fae..e7a67a0 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueGetArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2LocalizedValueGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeElementType2LocalizedValueGetArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeElementType2LocalizedValueGetArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public ProductTypeAttributeTypeElementType2LocalizedValueGetArgs() { } + public static new ProductTypeAttributeTypeElementType2LocalizedValueGetArgs Empty => new ProductTypeAttributeTypeElementType2LocalizedValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueArgs.cs new file mode 100644 index 0000000..f5d60b9 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductTypeAttributeTypeElementType2ValueArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public ProductTypeAttributeTypeElementType2ValueArgs() + { + } + public static new ProductTypeAttributeTypeElementType2ValueArgs Empty => new ProductTypeAttributeTypeElementType2ValueArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueGetArgs.cs new file mode 100644 index 0000000..be95e59 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeElementType2ValueGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductTypeAttributeTypeElementType2ValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public ProductTypeAttributeTypeElementType2ValueGetArgs() + { + } + public static new ProductTypeAttributeTypeElementType2ValueGetArgs Empty => new ProductTypeAttributeTypeElementType2ValueGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeGetArgs.cs index f024b1f..92194cd 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeGetArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeGetArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeGetArgs : global::Pulumi.ResourceArgs { [Input("ElementType2")] public Input? ElementType2 { get; set; } @@ -33,15 +33,16 @@ public InputList Localized public Input? TypeReference { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public ProductTypeAttributeTypeGetArgs() { } + public static new ProductTypeAttributeTypeGetArgs Empty => new ProductTypeAttributeTypeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueArgs.cs index 77579de..07481a2 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeLocalizedValueArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeLocalizedValueArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public ProductTypeAttributeTypeLocalizedValueArgs() { } + public static new ProductTypeAttributeTypeLocalizedValueArgs Empty => new ProductTypeAttributeTypeLocalizedValueArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueGetArgs.cs index e67fcf6..e9e4f79 100644 --- a/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueGetArgs.cs +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeLocalizedValueGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProductTypeAttributeTypeLocalizedValueGetArgs : Pulumi.ResourceArgs + public sealed class ProductTypeAttributeTypeLocalizedValueGetArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public ProductTypeAttributeTypeLocalizedValueGetArgs() { } + public static new ProductTypeAttributeTypeLocalizedValueGetArgs Empty => new ProductTypeAttributeTypeLocalizedValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueArgs.cs new file mode 100644 index 0000000..b97070a --- /dev/null +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductTypeAttributeTypeValueArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public ProductTypeAttributeTypeValueArgs() + { + } + public static new ProductTypeAttributeTypeValueArgs Empty => new ProductTypeAttributeTypeValueArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueGetArgs.cs b/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueGetArgs.cs new file mode 100644 index 0000000..f895f46 --- /dev/null +++ b/sdk/dotnet/Inputs/ProductTypeAttributeTypeValueGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ProductTypeAttributeTypeValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public ProductTypeAttributeTypeValueGetArgs() + { + } + public static new ProductTypeAttributeTypeValueGetArgs Empty => new ProductTypeAttributeTypeValueGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ProjectSettingsCartsArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsCartsArgs.cs index 851a131..80c845a 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsCartsArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsCartsArgs.cs @@ -10,10 +10,10 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsCartsArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsCartsArgs : global::Pulumi.ResourceArgs { - [Input("countryTaxRateFallbackEnabled", required: true)] - public Input CountryTaxRateFallbackEnabled { get; set; } = null!; + [Input("countryTaxRateFallbackEnabled")] + public Input? CountryTaxRateFallbackEnabled { get; set; } [Input("deleteDaysAfterLastModification")] public Input? DeleteDaysAfterLastModification { get; set; } @@ -21,5 +21,6 @@ public sealed class ProjectSettingsCartsArgs : Pulumi.ResourceArgs public ProjectSettingsCartsArgs() { } + public static new ProjectSettingsCartsArgs Empty => new ProjectSettingsCartsArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsCartsGetArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsCartsGetArgs.cs index 25780c8..7473714 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsCartsGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsCartsGetArgs.cs @@ -10,10 +10,10 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsCartsGetArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsCartsGetArgs : global::Pulumi.ResourceArgs { - [Input("countryTaxRateFallbackEnabled", required: true)] - public Input CountryTaxRateFallbackEnabled { get; set; } = null!; + [Input("countryTaxRateFallbackEnabled")] + public Input? CountryTaxRateFallbackEnabled { get; set; } [Input("deleteDaysAfterLastModification")] public Input? DeleteDaysAfterLastModification { get; set; } @@ -21,5 +21,6 @@ public sealed class ProjectSettingsCartsGetArgs : Pulumi.ResourceArgs public ProjectSettingsCartsGetArgs() { } + public static new ProjectSettingsCartsGetArgs Empty => new ProjectSettingsCartsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsExternalOauthArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsExternalOauthArgs.cs index e4b9c45..fff18d1 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsExternalOauthArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsExternalOauthArgs.cs @@ -10,16 +10,26 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsExternalOauthArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsExternalOauthArgs : global::Pulumi.ResourceArgs { - [Input("authorizationHeader", required: true)] - public Input AuthorizationHeader { get; set; } = null!; + [Input("authorizationHeader")] + public Input? AuthorizationHeader { get; set; } - [Input("url", required: true)] - public Input Url { get; set; } = null!; + [Input("url")] + private Input? _url; + public Input? Url + { + get => _url; + set + { + var emptySecret = Output.CreateSecret(0); + _url = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectSettingsExternalOauthArgs() { } + public static new ProjectSettingsExternalOauthArgs Empty => new ProjectSettingsExternalOauthArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsExternalOauthGetArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsExternalOauthGetArgs.cs index 5204b00..bd5d3c8 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsExternalOauthGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsExternalOauthGetArgs.cs @@ -10,16 +10,26 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsExternalOauthGetArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsExternalOauthGetArgs : global::Pulumi.ResourceArgs { - [Input("authorizationHeader", required: true)] - public Input AuthorizationHeader { get; set; } = null!; + [Input("authorizationHeader")] + public Input? AuthorizationHeader { get; set; } - [Input("url", required: true)] - public Input Url { get; set; } = null!; + [Input("url")] + private Input? _url; + public Input? Url + { + get => _url; + set + { + var emptySecret = Output.CreateSecret(0); + _url = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectSettingsExternalOauthGetArgs() { } + public static new ProjectSettingsExternalOauthGetArgs Empty => new ProjectSettingsExternalOauthGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsMessagesArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsMessagesArgs.cs index 2951cc2..f63b2d8 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsMessagesArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsMessagesArgs.cs @@ -10,13 +10,17 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsMessagesArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsMessagesArgs : global::Pulumi.ResourceArgs { - [Input("enabled", required: true)] - public Input Enabled { get; set; } = null!; + [Input("deleteDaysAfterCreation")] + public Input? DeleteDaysAfterCreation { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } public ProjectSettingsMessagesArgs() { } + public static new ProjectSettingsMessagesArgs Empty => new ProjectSettingsMessagesArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsMessagesGetArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsMessagesGetArgs.cs index 90071b0..2663e28 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsMessagesGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsMessagesGetArgs.cs @@ -10,13 +10,17 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsMessagesGetArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsMessagesGetArgs : global::Pulumi.ResourceArgs { - [Input("enabled", required: true)] - public Input Enabled { get; set; } = null!; + [Input("deleteDaysAfterCreation")] + public Input? DeleteDaysAfterCreation { get; set; } + + [Input("enabled")] + public Input? Enabled { get; set; } public ProjectSettingsMessagesGetArgs() { } + public static new ProjectSettingsMessagesGetArgs Empty => new ProjectSettingsMessagesGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueArgs.cs index f681b43..8b535ce 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueArgs.cs @@ -10,21 +10,22 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsShippingRateCartClassificationValueArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsShippingRateCartClassificationValueArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; [Input("label")] - private InputMap? _label; - public InputMap Label + private InputMap? _label; + public InputMap Label { - get => _label ?? (_label = new InputMap()); + get => _label ?? (_label = new InputMap()); set => _label = value; } public ProjectSettingsShippingRateCartClassificationValueArgs() { } + public static new ProjectSettingsShippingRateCartClassificationValueArgs Empty => new ProjectSettingsShippingRateCartClassificationValueArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueGetArgs.cs b/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueGetArgs.cs index f690c27..f98b5a6 100644 --- a/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectSettingsShippingRateCartClassificationValueGetArgs.cs @@ -10,21 +10,22 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ProjectSettingsShippingRateCartClassificationValueGetArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsShippingRateCartClassificationValueGetArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; [Input("label")] - private InputMap? _label; - public InputMap Label + private InputMap? _label; + public InputMap Label { - get => _label ?? (_label = new InputMap()); + get => _label ?? (_label = new InputMap()); set => _label = value; } public ProjectSettingsShippingRateCartClassificationValueGetArgs() { } + public static new ProjectSettingsShippingRateCartClassificationValueGetArgs Empty => new ProjectSettingsShippingRateCartClassificationValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingMethodCustomArgs.cs b/sdk/dotnet/Inputs/ShippingMethodCustomArgs.cs new file mode 100644 index 0000000..5b403ad --- /dev/null +++ b/sdk/dotnet/Inputs/ShippingMethodCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ShippingMethodCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public ShippingMethodCustomArgs() + { + } + public static new ShippingMethodCustomArgs Empty => new ShippingMethodCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ShippingMethodCustomGetArgs.cs b/sdk/dotnet/Inputs/ShippingMethodCustomGetArgs.cs new file mode 100644 index 0000000..26f10fa --- /dev/null +++ b/sdk/dotnet/Inputs/ShippingMethodCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ShippingMethodCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public ShippingMethodCustomGetArgs() + { + } + public static new ShippingMethodCustomGetArgs Empty => new ShippingMethodCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ShippingZoneLocationArgs.cs b/sdk/dotnet/Inputs/ShippingZoneLocationArgs.cs index 8cb53a3..ad3378b 100644 --- a/sdk/dotnet/Inputs/ShippingZoneLocationArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneLocationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneLocationArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneLocationArgs : global::Pulumi.ResourceArgs { [Input("country", required: true)] public Input Country { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneLocationArgs : Pulumi.ResourceArgs public ShippingZoneLocationArgs() { } + public static new ShippingZoneLocationArgs Empty => new ShippingZoneLocationArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneLocationGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneLocationGetArgs.cs index f9f68e2..78898b2 100644 --- a/sdk/dotnet/Inputs/ShippingZoneLocationGetArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneLocationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneLocationGetArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneLocationGetArgs : global::Pulumi.ResourceArgs { [Input("country", required: true)] public Input Country { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneLocationGetArgs : Pulumi.ResourceArgs public ShippingZoneLocationGetArgs() { } + public static new ShippingZoneLocationGetArgs Empty => new ShippingZoneLocationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveArgs.cs index 4ca6e75..ecaa49f 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateFreeAboveArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateFreeAboveArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRateFreeAboveArgs : Pulumi.ResourceArgs public ShippingZoneRateFreeAboveArgs() { } + public static new ShippingZoneRateFreeAboveArgs Empty => new ShippingZoneRateFreeAboveArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveGetArgs.cs index 911db4a..afca079 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveGetArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateFreeAboveGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateFreeAboveGetArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateFreeAboveGetArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRateFreeAboveGetArgs : Pulumi.ResourceArgs public ShippingZoneRateFreeAboveGetArgs() { } + public static new ShippingZoneRateFreeAboveGetArgs Empty => new ShippingZoneRateFreeAboveGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRatePriceArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRatePriceArgs.cs index 83337fc..a0b41d1 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRatePriceArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRatePriceArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRatePriceArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRatePriceArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRatePriceArgs : Pulumi.ResourceArgs public ShippingZoneRatePriceArgs() { } + public static new ShippingZoneRatePriceArgs Empty => new ShippingZoneRatePriceArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRatePriceGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRatePriceGetArgs.cs index 2705177..1aadebd 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRatePriceGetArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRatePriceGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRatePriceGetArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRatePriceGetArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRatePriceGetArgs : Pulumi.ResourceArgs public ShippingZoneRatePriceGetArgs() { } + public static new ShippingZoneRatePriceGetArgs Empty => new ShippingZoneRatePriceGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierArgs.cs index 5416bdc..8ad7103 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierArgs.cs @@ -10,16 +10,19 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateShippingRatePriceTierArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateShippingRatePriceTierArgs : global::Pulumi.ResourceArgs { [Input("minimumCentAmount")] public Input? MinimumCentAmount { get; set; } - [Input("price", required: true)] - public Input Price { get; set; } = null!; + [Input("price")] + public Input? Price { get; set; } + + [Input("priceFunction")] + public Input? PriceFunction { get; set; } [Input("score")] - public Input? Score { get; set; } + public Input? Score { get; set; } [Input("type", required: true)] public Input Type { get; set; } = null!; @@ -30,5 +33,6 @@ public sealed class ShippingZoneRateShippingRatePriceTierArgs : Pulumi.ResourceA public ShippingZoneRateShippingRatePriceTierArgs() { } + public static new ShippingZoneRateShippingRatePriceTierArgs Empty => new ShippingZoneRateShippingRatePriceTierArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierGetArgs.cs index cd4055d..9cac135 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierGetArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierGetArgs.cs @@ -10,16 +10,19 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateShippingRatePriceTierGetArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateShippingRatePriceTierGetArgs : global::Pulumi.ResourceArgs { [Input("minimumCentAmount")] public Input? MinimumCentAmount { get; set; } - [Input("price", required: true)] - public Input Price { get; set; } = null!; + [Input("price")] + public Input? Price { get; set; } + + [Input("priceFunction")] + public Input? PriceFunction { get; set; } [Input("score")] - public Input? Score { get; set; } + public Input? Score { get; set; } [Input("type", required: true)] public Input Type { get; set; } = null!; @@ -30,5 +33,6 @@ public sealed class ShippingZoneRateShippingRatePriceTierGetArgs : Pulumi.Resour public ShippingZoneRateShippingRatePriceTierGetArgs() { } + public static new ShippingZoneRateShippingRatePriceTierGetArgs Empty => new ShippingZoneRateShippingRatePriceTierGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceArgs.cs index 38404c9..75a686d 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateShippingRatePriceTierPriceArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateShippingRatePriceTierPriceArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRateShippingRatePriceTierPriceArgs : Pulumi.Reso public ShippingZoneRateShippingRatePriceTierPriceArgs() { } + public static new ShippingZoneRateShippingRatePriceTierPriceArgs Empty => new ShippingZoneRateShippingRatePriceTierPriceArgs(); } } diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionArgs.cs new file mode 100644 index 0000000..525146e --- /dev/null +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ShippingZoneRateShippingRatePriceTierPriceFunctionArgs : global::Pulumi.ResourceArgs + { + [Input("currencyCode", required: true)] + public Input CurrencyCode { get; set; } = null!; + + [Input("function", required: true)] + public Input Function { get; set; } = null!; + + public ShippingZoneRateShippingRatePriceTierPriceFunctionArgs() + { + } + public static new ShippingZoneRateShippingRatePriceTierPriceFunctionArgs Empty => new ShippingZoneRateShippingRatePriceTierPriceFunctionArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs.cs new file mode 100644 index 0000000..8d70246 --- /dev/null +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs : global::Pulumi.ResourceArgs + { + [Input("currencyCode", required: true)] + public Input CurrencyCode { get; set; } = null!; + + [Input("function", required: true)] + public Input Function { get; set; } = null!; + + public ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs() + { + } + public static new ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs Empty => new ShippingZoneRateShippingRatePriceTierPriceFunctionGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceGetArgs.cs b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceGetArgs.cs index 345a0bf..cde2bf8 100644 --- a/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceGetArgs.cs +++ b/sdk/dotnet/Inputs/ShippingZoneRateShippingRatePriceTierPriceGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class ShippingZoneRateShippingRatePriceTierPriceGetArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateShippingRatePriceTierPriceGetArgs : global::Pulumi.ResourceArgs { [Input("centAmount", required: true)] public Input CentAmount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ShippingZoneRateShippingRatePriceTierPriceGetArgs : Pulumi.R public ShippingZoneRateShippingRatePriceTierPriceGetArgs() { } + public static new ShippingZoneRateShippingRatePriceTierPriceGetArgs Empty => new ShippingZoneRateShippingRatePriceTierPriceGetArgs(); } } diff --git a/sdk/dotnet/Inputs/StoreCustomArgs.cs b/sdk/dotnet/Inputs/StoreCustomArgs.cs new file mode 100644 index 0000000..63f2d7b --- /dev/null +++ b/sdk/dotnet/Inputs/StoreCustomArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class StoreCustomArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public StoreCustomArgs() + { + } + public static new StoreCustomArgs Empty => new StoreCustomArgs(); + } +} diff --git a/sdk/dotnet/Inputs/StoreCustomGetArgs.cs b/sdk/dotnet/Inputs/StoreCustomGetArgs.cs new file mode 100644 index 0000000..b322cec --- /dev/null +++ b/sdk/dotnet/Inputs/StoreCustomGetArgs.cs @@ -0,0 +1,31 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class StoreCustomGetArgs : global::Pulumi.ResourceArgs + { + [Input("fields")] + private InputMap? _fields; + public InputMap Fields + { + get => _fields ?? (_fields = new InputMap()); + set => _fields = value; + } + + [Input("typeId", required: true)] + public Input TypeId { get; set; } = null!; + + public StoreCustomGetArgs() + { + } + public static new StoreCustomGetArgs Empty => new StoreCustomGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SubscriptionChangeArgs.cs b/sdk/dotnet/Inputs/SubscriptionChangeArgs.cs index 10f88fb..4972c7b 100644 --- a/sdk/dotnet/Inputs/SubscriptionChangeArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionChangeArgs.cs @@ -10,9 +10,9 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionChangeArgs : Pulumi.ResourceArgs + public sealed class SubscriptionChangeArgs : global::Pulumi.ResourceArgs { - [Input("resourceTypeIds")] + [Input("resourceTypeIds", required: true)] private InputList? _resourceTypeIds; public InputList ResourceTypeIds { @@ -23,5 +23,6 @@ public InputList ResourceTypeIds public SubscriptionChangeArgs() { } + public static new SubscriptionChangeArgs Empty => new SubscriptionChangeArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionChangeGetArgs.cs b/sdk/dotnet/Inputs/SubscriptionChangeGetArgs.cs index 11ea3fe..9e2d869 100644 --- a/sdk/dotnet/Inputs/SubscriptionChangeGetArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionChangeGetArgs.cs @@ -10,9 +10,9 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionChangeGetArgs : Pulumi.ResourceArgs + public sealed class SubscriptionChangeGetArgs : global::Pulumi.ResourceArgs { - [Input("resourceTypeIds")] + [Input("resourceTypeIds", required: true)] private InputList? _resourceTypeIds; public InputList ResourceTypeIds { @@ -23,5 +23,6 @@ public InputList ResourceTypeIds public SubscriptionChangeGetArgs() { } + public static new SubscriptionChangeGetArgs Empty => new SubscriptionChangeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionDestinationArgs.cs b/sdk/dotnet/Inputs/SubscriptionDestinationArgs.cs index 1c12bdd..205bb17 100644 --- a/sdk/dotnet/Inputs/SubscriptionDestinationArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionDestinationArgs.cs @@ -10,13 +10,34 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionDestinationArgs : Pulumi.ResourceArgs + public sealed class SubscriptionDestinationArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("accessSecret")] - public Input? AccessSecret { get; set; } + private Input? _accessSecret; + public Input? AccessSecret + { + get => _accessSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _accessSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("accountId")] + public Input? AccountId { get; set; } [Input("connectionString")] public Input? ConnectionString { get; set; } @@ -27,8 +48,8 @@ public sealed class SubscriptionDestinationArgs : Pulumi.ResourceArgs [Input("queueUrl")] public Input? QueueUrl { get; set; } - [Input("region", required: true)] - public Input Region { get; set; } = null!; + [Input("region")] + public Input? Region { get; set; } [Input("topic")] public Input? Topic { get; set; } @@ -39,11 +60,12 @@ public sealed class SubscriptionDestinationArgs : Pulumi.ResourceArgs [Input("type", required: true)] public Input Type { get; set; } = null!; - [Input("uri", required: true)] - public Input Uri { get; set; } = null!; + [Input("uri")] + public Input? Uri { get; set; } public SubscriptionDestinationArgs() { } + public static new SubscriptionDestinationArgs Empty => new SubscriptionDestinationArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionDestinationGetArgs.cs b/sdk/dotnet/Inputs/SubscriptionDestinationGetArgs.cs index 83488be..c48e8d7 100644 --- a/sdk/dotnet/Inputs/SubscriptionDestinationGetArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionDestinationGetArgs.cs @@ -10,13 +10,34 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionDestinationGetArgs : Pulumi.ResourceArgs + public sealed class SubscriptionDestinationGetArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("accessSecret")] - public Input? AccessSecret { get; set; } + private Input? _accessSecret; + public Input? AccessSecret + { + get => _accessSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _accessSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("accountId")] + public Input? AccountId { get; set; } [Input("connectionString")] public Input? ConnectionString { get; set; } @@ -27,8 +48,8 @@ public sealed class SubscriptionDestinationGetArgs : Pulumi.ResourceArgs [Input("queueUrl")] public Input? QueueUrl { get; set; } - [Input("region", required: true)] - public Input Region { get; set; } = null!; + [Input("region")] + public Input? Region { get; set; } [Input("topic")] public Input? Topic { get; set; } @@ -39,11 +60,12 @@ public sealed class SubscriptionDestinationGetArgs : Pulumi.ResourceArgs [Input("type", required: true)] public Input Type { get; set; } = null!; - [Input("uri", required: true)] - public Input Uri { get; set; } = null!; + [Input("uri")] + public Input? Uri { get; set; } public SubscriptionDestinationGetArgs() { } + public static new SubscriptionDestinationGetArgs Empty => new SubscriptionDestinationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionFormatArgs.cs b/sdk/dotnet/Inputs/SubscriptionFormatArgs.cs index 64d22d0..81a4ecc 100644 --- a/sdk/dotnet/Inputs/SubscriptionFormatArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionFormatArgs.cs @@ -10,16 +10,17 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionFormatArgs : Pulumi.ResourceArgs + public sealed class SubscriptionFormatArgs : global::Pulumi.ResourceArgs { [Input("cloudEventsVersion")] public Input? CloudEventsVersion { get; set; } - [Input("type", required: true)] - public Input Type { get; set; } = null!; + [Input("type")] + public Input? Type { get; set; } public SubscriptionFormatArgs() { } + public static new SubscriptionFormatArgs Empty => new SubscriptionFormatArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionFormatGetArgs.cs b/sdk/dotnet/Inputs/SubscriptionFormatGetArgs.cs index f864d4f..dd00b08 100644 --- a/sdk/dotnet/Inputs/SubscriptionFormatGetArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionFormatGetArgs.cs @@ -10,16 +10,17 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionFormatGetArgs : Pulumi.ResourceArgs + public sealed class SubscriptionFormatGetArgs : global::Pulumi.ResourceArgs { [Input("cloudEventsVersion")] public Input? CloudEventsVersion { get; set; } - [Input("type", required: true)] - public Input Type { get; set; } = null!; + [Input("type")] + public Input? Type { get; set; } public SubscriptionFormatGetArgs() { } + public static new SubscriptionFormatGetArgs Empty => new SubscriptionFormatGetArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionMessageArgs.cs b/sdk/dotnet/Inputs/SubscriptionMessageArgs.cs index 01b74c5..244e28b 100644 --- a/sdk/dotnet/Inputs/SubscriptionMessageArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionMessageArgs.cs @@ -10,12 +10,12 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionMessageArgs : Pulumi.ResourceArgs + public sealed class SubscriptionMessageArgs : global::Pulumi.ResourceArgs { - [Input("resourceTypeId")] - public Input? ResourceTypeId { get; set; } + [Input("resourceTypeId", required: true)] + public Input ResourceTypeId { get; set; } = null!; - [Input("types")] + [Input("types", required: true)] private InputList? _types; public InputList Types { @@ -26,5 +26,6 @@ public InputList Types public SubscriptionMessageArgs() { } + public static new SubscriptionMessageArgs Empty => new SubscriptionMessageArgs(); } } diff --git a/sdk/dotnet/Inputs/SubscriptionMessageGetArgs.cs b/sdk/dotnet/Inputs/SubscriptionMessageGetArgs.cs index b293fdc..28899c8 100644 --- a/sdk/dotnet/Inputs/SubscriptionMessageGetArgs.cs +++ b/sdk/dotnet/Inputs/SubscriptionMessageGetArgs.cs @@ -10,12 +10,12 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class SubscriptionMessageGetArgs : Pulumi.ResourceArgs + public sealed class SubscriptionMessageGetArgs : global::Pulumi.ResourceArgs { - [Input("resourceTypeId")] - public Input? ResourceTypeId { get; set; } + [Input("resourceTypeId", required: true)] + public Input ResourceTypeId { get; set; } = null!; - [Input("types")] + [Input("types", required: true)] private InputList? _types; public InputList Types { @@ -26,5 +26,6 @@ public InputList Types public SubscriptionMessageGetArgs() { } + public static new SubscriptionMessageGetArgs Empty => new SubscriptionMessageGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TaxCategoryRateSubRateArgs.cs b/sdk/dotnet/Inputs/TaxCategoryRateSubRateArgs.cs index 6bd5d57..e5034a2 100644 --- a/sdk/dotnet/Inputs/TaxCategoryRateSubRateArgs.cs +++ b/sdk/dotnet/Inputs/TaxCategoryRateSubRateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TaxCategoryRateSubRateArgs : Pulumi.ResourceArgs + public sealed class TaxCategoryRateSubRateArgs : global::Pulumi.ResourceArgs { [Input("amount", required: true)] public Input Amount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class TaxCategoryRateSubRateArgs : Pulumi.ResourceArgs public TaxCategoryRateSubRateArgs() { } + public static new TaxCategoryRateSubRateArgs Empty => new TaxCategoryRateSubRateArgs(); } } diff --git a/sdk/dotnet/Inputs/TaxCategoryRateSubRateGetArgs.cs b/sdk/dotnet/Inputs/TaxCategoryRateSubRateGetArgs.cs index e1b29a4..86868e5 100644 --- a/sdk/dotnet/Inputs/TaxCategoryRateSubRateGetArgs.cs +++ b/sdk/dotnet/Inputs/TaxCategoryRateSubRateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TaxCategoryRateSubRateGetArgs : Pulumi.ResourceArgs + public sealed class TaxCategoryRateSubRateGetArgs : global::Pulumi.ResourceArgs { [Input("amount", required: true)] public Input Amount { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class TaxCategoryRateSubRateGetArgs : Pulumi.ResourceArgs public TaxCategoryRateSubRateGetArgs() { } + public static new TaxCategoryRateSubRateGetArgs Empty => new TaxCategoryRateSubRateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldArgs.cs b/sdk/dotnet/Inputs/TypeFieldArgs.cs index 9992f87..47db504 100644 --- a/sdk/dotnet/Inputs/TypeFieldArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldArgs : Pulumi.ResourceArgs + public sealed class TypeFieldArgs : global::Pulumi.ResourceArgs { [Input("inputHint")] public Input? InputHint { get; set; } @@ -35,5 +35,6 @@ public InputMap Label public TypeFieldArgs() { } + public static new TypeFieldArgs Empty => new TypeFieldArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldGetArgs.cs index 2a274f4..c7891c7 100644 --- a/sdk/dotnet/Inputs/TypeFieldGetArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldGetArgs : Pulumi.ResourceArgs + public sealed class TypeFieldGetArgs : global::Pulumi.ResourceArgs { [Input("inputHint")] public Input? InputHint { get; set; } @@ -35,5 +35,6 @@ public InputMap Label public TypeFieldGetArgs() { } + public static new TypeFieldGetArgs Empty => new TypeFieldGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeArgs.cs index b996c63..ab6b481 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeArgs : global::Pulumi.ResourceArgs { [Input("ElementType2")] public Input? ElementType2 { get; set; } @@ -30,15 +30,16 @@ public InputList LocalizedValues public Input? ReferenceTypeId { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public TypeFieldTypeArgs() { } + public static new TypeFieldTypeArgs Empty => new TypeFieldTypeArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2Args.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2Args.cs index 22f8f2f..a36b38a 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeElementType2Args.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2Args.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeElementType2Args : Pulumi.ResourceArgs + public sealed class TypeFieldTypeElementType2Args : global::Pulumi.ResourceArgs { [Input("localizedValues")] private InputList? _localizedValues; @@ -27,15 +27,16 @@ public InputList LocalizedVa public Input? ReferenceTypeId { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public TypeFieldTypeElementType2Args() { } + public static new TypeFieldTypeElementType2Args Empty => new TypeFieldTypeElementType2Args(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2GetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2GetArgs.cs index 57e1c6c..1d6f6f7 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeElementType2GetArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2GetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeElementType2GetArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeElementType2GetArgs : global::Pulumi.ResourceArgs { [Input("localizedValues")] private InputList? _localizedValues; @@ -27,15 +27,16 @@ public InputList Localize public Input? ReferenceTypeId { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public TypeFieldTypeElementType2GetArgs() { } + public static new TypeFieldTypeElementType2GetArgs Empty => new TypeFieldTypeElementType2GetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueArgs.cs index a5b8f98..09c7050 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeElementType2LocalizedValueArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeElementType2LocalizedValueArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public TypeFieldTypeElementType2LocalizedValueArgs() { } + public static new TypeFieldTypeElementType2LocalizedValueArgs Empty => new TypeFieldTypeElementType2LocalizedValueArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueGetArgs.cs index 7529d57..3b6ddd2 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueGetArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2LocalizedValueGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeElementType2LocalizedValueGetArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeElementType2LocalizedValueGetArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public TypeFieldTypeElementType2LocalizedValueGetArgs() { } + public static new TypeFieldTypeElementType2LocalizedValueGetArgs Empty => new TypeFieldTypeElementType2LocalizedValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueArgs.cs new file mode 100644 index 0000000..a0a4b11 --- /dev/null +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class TypeFieldTypeElementType2ValueArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public TypeFieldTypeElementType2ValueArgs() + { + } + public static new TypeFieldTypeElementType2ValueArgs Empty => new TypeFieldTypeElementType2ValueArgs(); + } +} diff --git a/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueGetArgs.cs new file mode 100644 index 0000000..8200ef2 --- /dev/null +++ b/sdk/dotnet/Inputs/TypeFieldTypeElementType2ValueGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class TypeFieldTypeElementType2ValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public TypeFieldTypeElementType2ValueGetArgs() + { + } + public static new TypeFieldTypeElementType2ValueGetArgs Empty => new TypeFieldTypeElementType2ValueGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/TypeFieldTypeGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeGetArgs.cs index 9798f26..6ce61a3 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeGetArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeGetArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeGetArgs : global::Pulumi.ResourceArgs { [Input("ElementType2")] public Input? ElementType2 { get; set; } @@ -30,15 +30,16 @@ public InputList LocalizedValues public Input? ReferenceTypeId { get; set; } [Input("values")] - private InputMap? _values; - public InputMap Values + private InputList? _values; + public InputList Values { - get => _values ?? (_values = new InputMap()); + get => _values ?? (_values = new InputList()); set => _values = value; } public TypeFieldTypeGetArgs() { } + public static new TypeFieldTypeGetArgs Empty => new TypeFieldTypeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueArgs.cs index 1811bd9..e6fe95a 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeLocalizedValueArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeLocalizedValueArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public TypeFieldTypeLocalizedValueArgs() { } + public static new TypeFieldTypeLocalizedValueArgs Empty => new TypeFieldTypeLocalizedValueArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueGetArgs.cs index d6927e9..92c123c 100644 --- a/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueGetArgs.cs +++ b/sdk/dotnet/Inputs/TypeFieldTypeLocalizedValueGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools.Inputs { - public sealed class TypeFieldTypeLocalizedValueGetArgs : Pulumi.ResourceArgs + public sealed class TypeFieldTypeLocalizedValueGetArgs : global::Pulumi.ResourceArgs { [Input("key", required: true)] public Input Key { get; set; } = null!; @@ -26,5 +26,6 @@ public InputMap Label public TypeFieldTypeLocalizedValueGetArgs() { } + public static new TypeFieldTypeLocalizedValueGetArgs Empty => new TypeFieldTypeLocalizedValueGetArgs(); } } diff --git a/sdk/dotnet/Inputs/TypeFieldTypeValueArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeValueArgs.cs new file mode 100644 index 0000000..bcd9962 --- /dev/null +++ b/sdk/dotnet/Inputs/TypeFieldTypeValueArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class TypeFieldTypeValueArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public TypeFieldTypeValueArgs() + { + } + public static new TypeFieldTypeValueArgs Empty => new TypeFieldTypeValueArgs(); + } +} diff --git a/sdk/dotnet/Inputs/TypeFieldTypeValueGetArgs.cs b/sdk/dotnet/Inputs/TypeFieldTypeValueGetArgs.cs new file mode 100644 index 0000000..4ada10b --- /dev/null +++ b/sdk/dotnet/Inputs/TypeFieldTypeValueGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Inputs +{ + + public sealed class TypeFieldTypeValueGetArgs : global::Pulumi.ResourceArgs + { + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + [Input("label", required: true)] + public Input Label { get; set; } = null!; + + public TypeFieldTypeValueGetArgs() + { + } + public static new TypeFieldTypeValueGetArgs Empty => new TypeFieldTypeValueGetArgs(); + } +} diff --git a/sdk/dotnet/Outputs/ApiExtensionTrigger.cs b/sdk/dotnet/Outputs/ApiExtensionTrigger.cs index 7537c8b..e46f7ea 100644 --- a/sdk/dotnet/Outputs/ApiExtensionTrigger.cs +++ b/sdk/dotnet/Outputs/ApiExtensionTrigger.cs @@ -14,15 +14,19 @@ namespace Pulumi.Commercetools.Outputs public sealed class ApiExtensionTrigger { public readonly ImmutableArray Actions; + public readonly string? Condition; public readonly string ResourceTypeId; [OutputConstructor] private ApiExtensionTrigger( ImmutableArray actions, + string? condition, + string resourceTypeId) { Actions = actions; + Condition = condition; ResourceTypeId = resourceTypeId; } } diff --git a/sdk/dotnet/Outputs/CategoryAsset.cs b/sdk/dotnet/Outputs/CategoryAsset.cs new file mode 100644 index 0000000..26fa98c --- /dev/null +++ b/sdk/dotnet/Outputs/CategoryAsset.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class CategoryAsset + { + public readonly ImmutableDictionary? Description; + public readonly string? Id; + public readonly string? Key; + public readonly ImmutableDictionary Name; + public readonly ImmutableArray Sources; + public readonly ImmutableArray Tags; + + [OutputConstructor] + private CategoryAsset( + ImmutableDictionary? description, + + string? id, + + string? key, + + ImmutableDictionary name, + + ImmutableArray sources, + + ImmutableArray tags) + { + Description = description; + Id = id; + Key = key; + Name = name; + Sources = sources; + Tags = tags; + } + } +} diff --git a/sdk/dotnet/Outputs/CategoryAssetSource.cs b/sdk/dotnet/Outputs/CategoryAssetSource.cs new file mode 100644 index 0000000..f1b739f --- /dev/null +++ b/sdk/dotnet/Outputs/CategoryAssetSource.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class CategoryAssetSource + { + public readonly string? ContentType; + public readonly Outputs.CategoryAssetSourceDimensions? Dimensions; + public readonly string? Key; + public readonly string Uri; + + [OutputConstructor] + private CategoryAssetSource( + string? contentType, + + Outputs.CategoryAssetSourceDimensions? dimensions, + + string? key, + + string uri) + { + ContentType = contentType; + Dimensions = dimensions; + Key = key; + Uri = uri; + } + } +} diff --git a/sdk/dotnet/Outputs/CategoryAssetSourceDimensions.cs b/sdk/dotnet/Outputs/CategoryAssetSourceDimensions.cs new file mode 100644 index 0000000..6ac56d4 --- /dev/null +++ b/sdk/dotnet/Outputs/CategoryAssetSourceDimensions.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class CategoryAssetSourceDimensions + { + public readonly int H; + public readonly int W; + + [OutputConstructor] + private CategoryAssetSourceDimensions( + int h, + + int w) + { + H = h; + W = w; + } + } +} diff --git a/sdk/dotnet/Outputs/CategoryCustom.cs b/sdk/dotnet/Outputs/CategoryCustom.cs new file mode 100644 index 0000000..dc86972 --- /dev/null +++ b/sdk/dotnet/Outputs/CategoryCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class CategoryCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private CategoryCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/ChannelAddress.cs b/sdk/dotnet/Outputs/ChannelAddress.cs new file mode 100644 index 0000000..f8ca37b --- /dev/null +++ b/sdk/dotnet/Outputs/ChannelAddress.cs @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ChannelAddress + { + public readonly string? AdditionalAddressInfo; + public readonly string? AdditionalStreetInfo; + public readonly string? Apartment; + public readonly string? Building; + public readonly string? City; + public readonly string? Company; + public readonly string Country; + public readonly string? Department; + public readonly string? Email; + public readonly string? ExternalId; + public readonly string? Fax; + public readonly string? FirstName; + public readonly string? Id; + public readonly string? Key; + public readonly string? LastName; + public readonly string? Mobile; + public readonly string? Phone; + public readonly string? PoBox; + public readonly string? PostalCode; + public readonly string? Region; + public readonly string? Salutation; + public readonly string? State; + public readonly string? StreetName; + public readonly string? StreetNumber; + public readonly string? Title; + + [OutputConstructor] + private ChannelAddress( + string? additionalAddressInfo, + + string? additionalStreetInfo, + + string? apartment, + + string? building, + + string? city, + + string? company, + + string country, + + string? department, + + string? email, + + string? externalId, + + string? fax, + + string? firstName, + + string? id, + + string? key, + + string? lastName, + + string? mobile, + + string? phone, + + string? poBox, + + string? postalCode, + + string? region, + + string? salutation, + + string? state, + + string? streetName, + + string? streetNumber, + + string? title) + { + AdditionalAddressInfo = additionalAddressInfo; + AdditionalStreetInfo = additionalStreetInfo; + Apartment = apartment; + Building = building; + City = city; + Company = company; + Country = country; + Department = department; + Email = email; + ExternalId = externalId; + Fax = fax; + FirstName = firstName; + Id = id; + Key = key; + LastName = lastName; + Mobile = mobile; + Phone = phone; + PoBox = poBox; + PostalCode = postalCode; + Region = region; + Salutation = salutation; + State = state; + StreetName = streetName; + StreetNumber = streetNumber; + Title = title; + } + } +} diff --git a/sdk/dotnet/Outputs/ChannelCustom.cs b/sdk/dotnet/Outputs/ChannelCustom.cs new file mode 100644 index 0000000..d131461 --- /dev/null +++ b/sdk/dotnet/Outputs/ChannelCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ChannelCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private ChannelCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/ChannelGeolocation.cs b/sdk/dotnet/Outputs/ChannelGeolocation.cs new file mode 100644 index 0000000..0d4481a --- /dev/null +++ b/sdk/dotnet/Outputs/ChannelGeolocation.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ChannelGeolocation + { + public readonly ImmutableArray Coordinates; + + [OutputConstructor] + private ChannelGeolocation(ImmutableArray coordinates) + { + Coordinates = coordinates; + } + } +} diff --git a/sdk/dotnet/Outputs/CustomerGroupCustom.cs b/sdk/dotnet/Outputs/CustomerGroupCustom.cs new file mode 100644 index 0000000..2b009a5 --- /dev/null +++ b/sdk/dotnet/Outputs/CustomerGroupCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class CustomerGroupCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private CustomerGroupCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/DiscountCodeCustom.cs b/sdk/dotnet/Outputs/DiscountCodeCustom.cs new file mode 100644 index 0000000..0e593ea --- /dev/null +++ b/sdk/dotnet/Outputs/DiscountCodeCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class DiscountCodeCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private DiscountCodeCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/ProductDiscountValue.cs b/sdk/dotnet/Outputs/ProductDiscountValue.cs new file mode 100644 index 0000000..afef395 --- /dev/null +++ b/sdk/dotnet/Outputs/ProductDiscountValue.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ProductDiscountValue + { + public readonly ImmutableArray Monies; + public readonly int? Permyriad; + public readonly string Type; + + [OutputConstructor] + private ProductDiscountValue( + ImmutableArray monies, + + int? permyriad, + + string type) + { + Monies = monies; + Permyriad = permyriad; + Type = type; + } + } +} diff --git a/sdk/dotnet/Outputs/ProductDiscountValueMoney.cs b/sdk/dotnet/Outputs/ProductDiscountValueMoney.cs new file mode 100644 index 0000000..6d4b808 --- /dev/null +++ b/sdk/dotnet/Outputs/ProductDiscountValueMoney.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ProductDiscountValueMoney + { + public readonly int CentAmount; + public readonly string CurrencyCode; + public readonly int? FractionDigits; + + [OutputConstructor] + private ProductDiscountValueMoney( + int centAmount, + + string currencyCode, + + int? fractionDigits) + { + CentAmount = centAmount; + CurrencyCode = currencyCode; + FractionDigits = fractionDigits; + } + } +} diff --git a/sdk/dotnet/Outputs/ProductTypeAttributeType.cs b/sdk/dotnet/Outputs/ProductTypeAttributeType.cs index cf41f49..5838cce 100644 --- a/sdk/dotnet/Outputs/ProductTypeAttributeType.cs +++ b/sdk/dotnet/Outputs/ProductTypeAttributeType.cs @@ -18,7 +18,7 @@ public sealed class ProductTypeAttributeType public readonly string Name; public readonly string? ReferenceTypeId; public readonly string? TypeReference; - public readonly ImmutableDictionary? Values; + public readonly ImmutableArray Values; [OutputConstructor] private ProductTypeAttributeType( @@ -32,7 +32,7 @@ private ProductTypeAttributeType( string? typeReference, - ImmutableDictionary? values) + ImmutableArray values) { this.ElementType2 = ElementType2; LocalizedValues = localizedValues; diff --git a/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2.cs b/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2.cs index 9d1293b..d4c6617 100644 --- a/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2.cs +++ b/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2.cs @@ -17,7 +17,7 @@ public sealed class ProductTypeAttributeTypeElementType2 public readonly string Name; public readonly string? ReferenceTypeId; public readonly string? TypeReference; - public readonly ImmutableDictionary? Values; + public readonly ImmutableArray Values; [OutputConstructor] private ProductTypeAttributeTypeElementType2( @@ -29,7 +29,7 @@ private ProductTypeAttributeTypeElementType2( string? typeReference, - ImmutableDictionary? values) + ImmutableArray values) { LocalizedValues = localizedValues; Name = name; diff --git a/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2Value.cs b/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2Value.cs new file mode 100644 index 0000000..120638a --- /dev/null +++ b/sdk/dotnet/Outputs/ProductTypeAttributeTypeElementType2Value.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ProductTypeAttributeTypeElementType2Value + { + public readonly string Key; + public readonly string Label; + + [OutputConstructor] + private ProductTypeAttributeTypeElementType2Value( + string key, + + string label) + { + Key = key; + Label = label; + } + } +} diff --git a/sdk/dotnet/Outputs/ProductTypeAttributeTypeValue.cs b/sdk/dotnet/Outputs/ProductTypeAttributeTypeValue.cs new file mode 100644 index 0000000..0f8fe4f --- /dev/null +++ b/sdk/dotnet/Outputs/ProductTypeAttributeTypeValue.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ProductTypeAttributeTypeValue + { + public readonly string Key; + public readonly string Label; + + [OutputConstructor] + private ProductTypeAttributeTypeValue( + string key, + + string label) + { + Key = key; + Label = label; + } + } +} diff --git a/sdk/dotnet/Outputs/ProjectSettingsCarts.cs b/sdk/dotnet/Outputs/ProjectSettingsCarts.cs index f030831..a898920 100644 --- a/sdk/dotnet/Outputs/ProjectSettingsCarts.cs +++ b/sdk/dotnet/Outputs/ProjectSettingsCarts.cs @@ -13,12 +13,12 @@ namespace Pulumi.Commercetools.Outputs [OutputType] public sealed class ProjectSettingsCarts { - public readonly bool CountryTaxRateFallbackEnabled; + public readonly bool? CountryTaxRateFallbackEnabled; public readonly int? DeleteDaysAfterLastModification; [OutputConstructor] private ProjectSettingsCarts( - bool countryTaxRateFallbackEnabled, + bool? countryTaxRateFallbackEnabled, int? deleteDaysAfterLastModification) { diff --git a/sdk/dotnet/Outputs/ProjectSettingsExternalOauth.cs b/sdk/dotnet/Outputs/ProjectSettingsExternalOauth.cs index f0b4858..8e80c60 100644 --- a/sdk/dotnet/Outputs/ProjectSettingsExternalOauth.cs +++ b/sdk/dotnet/Outputs/ProjectSettingsExternalOauth.cs @@ -13,14 +13,14 @@ namespace Pulumi.Commercetools.Outputs [OutputType] public sealed class ProjectSettingsExternalOauth { - public readonly string AuthorizationHeader; - public readonly string Url; + public readonly string? AuthorizationHeader; + public readonly string? Url; [OutputConstructor] private ProjectSettingsExternalOauth( - string authorizationHeader, + string? authorizationHeader, - string url) + string? url) { AuthorizationHeader = authorizationHeader; Url = url; diff --git a/sdk/dotnet/Outputs/ProjectSettingsMessages.cs b/sdk/dotnet/Outputs/ProjectSettingsMessages.cs index 09d4e7e..ec9076d 100644 --- a/sdk/dotnet/Outputs/ProjectSettingsMessages.cs +++ b/sdk/dotnet/Outputs/ProjectSettingsMessages.cs @@ -13,11 +13,16 @@ namespace Pulumi.Commercetools.Outputs [OutputType] public sealed class ProjectSettingsMessages { - public readonly bool Enabled; + public readonly int? DeleteDaysAfterCreation; + public readonly bool? Enabled; [OutputConstructor] - private ProjectSettingsMessages(bool enabled) + private ProjectSettingsMessages( + int? deleteDaysAfterCreation, + + bool? enabled) { + DeleteDaysAfterCreation = deleteDaysAfterCreation; Enabled = enabled; } } diff --git a/sdk/dotnet/Outputs/ProjectSettingsShippingRateCartClassificationValue.cs b/sdk/dotnet/Outputs/ProjectSettingsShippingRateCartClassificationValue.cs index 108bc4c..2b81aa7 100644 --- a/sdk/dotnet/Outputs/ProjectSettingsShippingRateCartClassificationValue.cs +++ b/sdk/dotnet/Outputs/ProjectSettingsShippingRateCartClassificationValue.cs @@ -14,13 +14,13 @@ namespace Pulumi.Commercetools.Outputs public sealed class ProjectSettingsShippingRateCartClassificationValue { public readonly string Key; - public readonly ImmutableDictionary? Label; + public readonly ImmutableDictionary? Label; [OutputConstructor] private ProjectSettingsShippingRateCartClassificationValue( string key, - ImmutableDictionary? label) + ImmutableDictionary? label) { Key = key; Label = label; diff --git a/sdk/dotnet/Outputs/ShippingMethodCustom.cs b/sdk/dotnet/Outputs/ShippingMethodCustom.cs new file mode 100644 index 0000000..3205feb --- /dev/null +++ b/sdk/dotnet/Outputs/ShippingMethodCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ShippingMethodCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private ShippingMethodCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTier.cs b/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTier.cs index 9a5d6a8..0cc1c66 100644 --- a/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTier.cs +++ b/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTier.cs @@ -14,8 +14,9 @@ namespace Pulumi.Commercetools.Outputs public sealed class ShippingZoneRateShippingRatePriceTier { public readonly int? MinimumCentAmount; - public readonly Outputs.ShippingZoneRateShippingRatePriceTierPrice Price; - public readonly double? Score; + public readonly Outputs.ShippingZoneRateShippingRatePriceTierPrice? Price; + public readonly Outputs.ShippingZoneRateShippingRatePriceTierPriceFunction? PriceFunction; + public readonly int? Score; public readonly string Type; public readonly string? Value; @@ -23,9 +24,11 @@ public sealed class ShippingZoneRateShippingRatePriceTier private ShippingZoneRateShippingRatePriceTier( int? minimumCentAmount, - Outputs.ShippingZoneRateShippingRatePriceTierPrice price, + Outputs.ShippingZoneRateShippingRatePriceTierPrice? price, - double? score, + Outputs.ShippingZoneRateShippingRatePriceTierPriceFunction? priceFunction, + + int? score, string type, @@ -33,6 +36,7 @@ private ShippingZoneRateShippingRatePriceTier( { MinimumCentAmount = minimumCentAmount; Price = price; + PriceFunction = priceFunction; Score = score; Type = type; Value = value; diff --git a/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTierPriceFunction.cs b/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTierPriceFunction.cs new file mode 100644 index 0000000..2f68640 --- /dev/null +++ b/sdk/dotnet/Outputs/ShippingZoneRateShippingRatePriceTierPriceFunction.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class ShippingZoneRateShippingRatePriceTierPriceFunction + { + public readonly string CurrencyCode; + public readonly string Function; + + [OutputConstructor] + private ShippingZoneRateShippingRatePriceTierPriceFunction( + string currencyCode, + + string function) + { + CurrencyCode = currencyCode; + Function = function; + } + } +} diff --git a/sdk/dotnet/Outputs/StoreCustom.cs b/sdk/dotnet/Outputs/StoreCustom.cs new file mode 100644 index 0000000..d018230 --- /dev/null +++ b/sdk/dotnet/Outputs/StoreCustom.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class StoreCustom + { + public readonly ImmutableDictionary? Fields; + public readonly string TypeId; + + [OutputConstructor] + private StoreCustom( + ImmutableDictionary? fields, + + string typeId) + { + Fields = fields; + TypeId = typeId; + } + } +} diff --git a/sdk/dotnet/Outputs/SubscriptionDestination.cs b/sdk/dotnet/Outputs/SubscriptionDestination.cs index f74936f..c29a9a4 100644 --- a/sdk/dotnet/Outputs/SubscriptionDestination.cs +++ b/sdk/dotnet/Outputs/SubscriptionDestination.cs @@ -15,14 +15,15 @@ public sealed class SubscriptionDestination { public readonly string? AccessKey; public readonly string? AccessSecret; + public readonly string? AccountId; public readonly string? ConnectionString; public readonly string? ProjectId; public readonly string? QueueUrl; - public readonly string Region; + public readonly string? Region; public readonly string? Topic; public readonly string? TopicArn; public readonly string Type; - public readonly string Uri; + public readonly string? Uri; [OutputConstructor] private SubscriptionDestination( @@ -30,13 +31,15 @@ private SubscriptionDestination( string? accessSecret, + string? accountId, + string? connectionString, string? projectId, string? queueUrl, - string region, + string? region, string? topic, @@ -44,10 +47,11 @@ private SubscriptionDestination( string type, - string uri) + string? uri) { AccessKey = accessKey; AccessSecret = accessSecret; + AccountId = accountId; ConnectionString = connectionString; ProjectId = projectId; QueueUrl = queueUrl; diff --git a/sdk/dotnet/Outputs/SubscriptionFormat.cs b/sdk/dotnet/Outputs/SubscriptionFormat.cs index 467d691..dcc8643 100644 --- a/sdk/dotnet/Outputs/SubscriptionFormat.cs +++ b/sdk/dotnet/Outputs/SubscriptionFormat.cs @@ -14,13 +14,13 @@ namespace Pulumi.Commercetools.Outputs public sealed class SubscriptionFormat { public readonly string? CloudEventsVersion; - public readonly string Type; + public readonly string? Type; [OutputConstructor] private SubscriptionFormat( string? cloudEventsVersion, - string type) + string? type) { CloudEventsVersion = cloudEventsVersion; Type = type; diff --git a/sdk/dotnet/Outputs/SubscriptionMessage.cs b/sdk/dotnet/Outputs/SubscriptionMessage.cs index b5d7d49..025edd9 100644 --- a/sdk/dotnet/Outputs/SubscriptionMessage.cs +++ b/sdk/dotnet/Outputs/SubscriptionMessage.cs @@ -13,12 +13,12 @@ namespace Pulumi.Commercetools.Outputs [OutputType] public sealed class SubscriptionMessage { - public readonly string? ResourceTypeId; + public readonly string ResourceTypeId; public readonly ImmutableArray Types; [OutputConstructor] private SubscriptionMessage( - string? resourceTypeId, + string resourceTypeId, ImmutableArray types) { diff --git a/sdk/dotnet/Outputs/TypeFieldType.cs b/sdk/dotnet/Outputs/TypeFieldType.cs index d30226e..9aaeb80 100644 --- a/sdk/dotnet/Outputs/TypeFieldType.cs +++ b/sdk/dotnet/Outputs/TypeFieldType.cs @@ -17,7 +17,7 @@ public sealed class TypeFieldType public readonly ImmutableArray LocalizedValues; public readonly string Name; public readonly string? ReferenceTypeId; - public readonly ImmutableDictionary? Values; + public readonly ImmutableArray Values; [OutputConstructor] private TypeFieldType( @@ -29,7 +29,7 @@ private TypeFieldType( string? referenceTypeId, - ImmutableDictionary? values) + ImmutableArray values) { this.ElementType2 = ElementType2; LocalizedValues = localizedValues; diff --git a/sdk/dotnet/Outputs/TypeFieldTypeElementType2.cs b/sdk/dotnet/Outputs/TypeFieldTypeElementType2.cs index e325a52..4acf097 100644 --- a/sdk/dotnet/Outputs/TypeFieldTypeElementType2.cs +++ b/sdk/dotnet/Outputs/TypeFieldTypeElementType2.cs @@ -16,7 +16,7 @@ public sealed class TypeFieldTypeElementType2 public readonly ImmutableArray LocalizedValues; public readonly string Name; public readonly string? ReferenceTypeId; - public readonly ImmutableDictionary? Values; + public readonly ImmutableArray Values; [OutputConstructor] private TypeFieldTypeElementType2( @@ -26,7 +26,7 @@ private TypeFieldTypeElementType2( string? referenceTypeId, - ImmutableDictionary? values) + ImmutableArray values) { LocalizedValues = localizedValues; Name = name; diff --git a/sdk/dotnet/Outputs/TypeFieldTypeElementType2Value.cs b/sdk/dotnet/Outputs/TypeFieldTypeElementType2Value.cs new file mode 100644 index 0000000..8853f5f --- /dev/null +++ b/sdk/dotnet/Outputs/TypeFieldTypeElementType2Value.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class TypeFieldTypeElementType2Value + { + public readonly string Key; + public readonly string Label; + + [OutputConstructor] + private TypeFieldTypeElementType2Value( + string key, + + string label) + { + Key = key; + Label = label; + } + } +} diff --git a/sdk/dotnet/Outputs/TypeFieldTypeValue.cs b/sdk/dotnet/Outputs/TypeFieldTypeValue.cs new file mode 100644 index 0000000..424d96f --- /dev/null +++ b/sdk/dotnet/Outputs/TypeFieldTypeValue.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools.Outputs +{ + + [OutputType] + public sealed class TypeFieldTypeValue + { + public readonly string Key; + public readonly string Label; + + [OutputConstructor] + private TypeFieldTypeValue( + string key, + + string label) + { + Key = key; + Label = label; + } + } +} diff --git a/sdk/dotnet/ProductDiscount.cs b/sdk/dotnet/ProductDiscount.cs new file mode 100644 index 0000000..2357177 --- /dev/null +++ b/sdk/dotnet/ProductDiscount.cs @@ -0,0 +1,257 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools +{ + [CommercetoolsResourceType("commercetools:index/productDiscount:ProductDiscount")] + public partial class ProductDiscount : global::Pulumi.CustomResource + { + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + [Output("description")] + public Output?> Description { get; private set; } = null!; + + /// + /// When set the product discount is applied to products matching the predicate + /// + [Output("isActive")] + public Output IsActive { get; private set; } = null!; + + /// + /// User-defined unique identifier for the ProductDiscount. Must be unique across a project + /// + [Output("key")] + public Output Key { get; private set; } = null!; + + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + [Output("name")] + public Output> Name { get; private set; } = null!; + + /// + /// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + /// + [Output("predicate")] + public Output Predicate { get; private set; } = null!; + + /// + /// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + /// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + /// The sort order is unambiguous among all product discounts + /// + [Output("sortOrder")] + public Output SortOrder { get; private set; } = null!; + + [Output("validFrom")] + public Output ValidFrom { get; private set; } = null!; + + [Output("validUntil")] + public Output ValidUntil { get; private set; } = null!; + + /// + /// Defines the effect the discount will have. + /// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + /// + [Output("value")] + public Output Value { get; private set; } = null!; + + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a ProductDiscount resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public ProductDiscount(string name, ProductDiscountArgs args, CustomResourceOptions? options = null) + : base("commercetools:index/productDiscount:ProductDiscount", name, args ?? new ProductDiscountArgs(), MakeResourceOptions(options, "")) + { + } + + private ProductDiscount(string name, Input id, ProductDiscountState? state = null, CustomResourceOptions? options = null) + : base("commercetools:index/productDiscount:ProductDiscount", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing ProductDiscount resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static ProductDiscount Get(string name, Input id, ProductDiscountState? state = null, CustomResourceOptions? options = null) + { + return new ProductDiscount(name, id, state, options); + } + } + + public sealed class ProductDiscountArgs : global::Pulumi.ResourceArgs + { + [Input("description")] + private InputMap? _description; + + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + /// + /// When set the product discount is applied to products matching the predicate + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// User-defined unique identifier for the ProductDiscount. Must be unique across a project + /// + [Input("key")] + public Input? Key { get; set; } + + [Input("name")] + private InputMap? _name; + + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + /// + /// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + /// + [Input("predicate", required: true)] + public Input Predicate { get; set; } = null!; + + /// + /// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + /// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + /// The sort order is unambiguous among all product discounts + /// + [Input("sortOrder", required: true)] + public Input SortOrder { get; set; } = null!; + + [Input("validFrom")] + public Input? ValidFrom { get; set; } + + [Input("validUntil")] + public Input? ValidUntil { get; set; } + + /// + /// Defines the effect the discount will have. + /// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public ProductDiscountArgs() + { + } + public static new ProductDiscountArgs Empty => new ProductDiscountArgs(); + } + + public sealed class ProductDiscountState : global::Pulumi.ResourceArgs + { + [Input("description")] + private InputMap? _description; + + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + public InputMap Description + { + get => _description ?? (_description = new InputMap()); + set => _description = value; + } + + /// + /// When set the product discount is applied to products matching the predicate + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// User-defined unique identifier for the ProductDiscount. Must be unique across a project + /// + [Input("key")] + public Input? Key { get; set; } + + [Input("name")] + private InputMap? _name; + + /// + /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// + public InputMap Name + { + get => _name ?? (_name = new InputMap()); + set => _name = value; + } + + /// + /// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + /// + [Input("predicate")] + public Input? Predicate { get; set; } + + /// + /// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + /// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + /// The sort order is unambiguous among all product discounts + /// + [Input("sortOrder")] + public Input? SortOrder { get; set; } + + [Input("validFrom")] + public Input? ValidFrom { get; set; } + + [Input("validUntil")] + public Input? ValidUntil { get; set; } + + /// + /// Defines the effect the discount will have. + /// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + /// + [Input("value")] + public Input? Value { get; set; } + + [Input("version")] + public Input? Version { get; set; } + + public ProductDiscountState() + { + } + public static new ProductDiscountState Empty => new ProductDiscountState(); + } +} diff --git a/sdk/dotnet/ProductType.cs b/sdk/dotnet/ProductType.cs index 40d8ce3..cde03f6 100644 --- a/sdk/dotnet/ProductType.cs +++ b/sdk/dotnet/ProductType.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/productType:ProductType")] - public partial class ProductType : Pulumi.CustomResource + public partial class ProductType : global::Pulumi.CustomResource { /// /// [Product attribute fefinition](https://docs.commercetools.com/api/projects/productTypes#attributedefinition) @@ -77,7 +77,7 @@ public static ProductType Get(string name, Input id, ProductTypeState? s } } - public sealed class ProductTypeArgs : Pulumi.ResourceArgs + public sealed class ProductTypeArgs : global::Pulumi.ResourceArgs { [Input("attributes")] private InputList? _attributes; @@ -106,9 +106,10 @@ public InputList Attributes public ProductTypeArgs() { } + public static new ProductTypeArgs Empty => new ProductTypeArgs(); } - public sealed class ProductTypeState : Pulumi.ResourceArgs + public sealed class ProductTypeState : global::Pulumi.ResourceArgs { [Input("attributes")] private InputList? _attributes; @@ -140,5 +141,6 @@ public InputList Attributes public ProductTypeState() { } + public static new ProductTypeState Empty => new ProductTypeState(); } } diff --git a/sdk/dotnet/ProjectSettings.cs b/sdk/dotnet/ProjectSettings.cs index e6d2bec..4dbecb0 100644 --- a/sdk/dotnet/ProjectSettings.cs +++ b/sdk/dotnet/ProjectSettings.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/projectSettings:ProjectSettings")] - public partial class ProjectSettings : Pulumi.CustomResource + public partial class ProjectSettings : global::Pulumi.CustomResource { /// /// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) @@ -30,6 +30,18 @@ public partial class ProjectSettings : Pulumi.CustomResource [Output("currencies")] public Output> Currencies { get; private set; } = null!; + /// + /// Enable the Search Indexing of orders + /// + [Output("enableSearchIndexOrders")] + public Output EnableSearchIndexOrders { get; private set; } = null!; + + /// + /// Enable the Search Indexing of products + /// + [Output("enableSearchIndexProducts")] + public Output EnableSearchIndexProducts { get; private set; } = null!; + /// /// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) /// @@ -49,7 +61,7 @@ public partial class ProjectSettings : Pulumi.CustomResource public Output> Languages { get; private set; } = null!; /// - /// [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + /// The change notifications subscribed to /// [Output("messages")] public Output Messages { get; private set; } = null!; @@ -122,7 +134,7 @@ public static ProjectSettings Get(string name, Input id, ProjectSettings } } - public sealed class ProjectSettingsArgs : Pulumi.ResourceArgs + public sealed class ProjectSettingsArgs : global::Pulumi.ResourceArgs { /// /// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) @@ -154,6 +166,18 @@ public InputList Currencies set => _currencies = value; } + /// + /// Enable the Search Indexing of orders + /// + [Input("enableSearchIndexOrders")] + public Input? EnableSearchIndexOrders { get; set; } + + /// + /// Enable the Search Indexing of products + /// + [Input("enableSearchIndexProducts")] + public Input? EnableSearchIndexProducts { get; set; } + /// /// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) /// @@ -173,7 +197,7 @@ public InputList Languages } /// - /// [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + /// The change notifications subscribed to /// [Input("messages")] public Input? Messages { get; set; } @@ -208,9 +232,10 @@ public InputList public ProjectSettingsArgs() { } + public static new ProjectSettingsArgs Empty => new ProjectSettingsArgs(); } - public sealed class ProjectSettingsState : Pulumi.ResourceArgs + public sealed class ProjectSettingsState : global::Pulumi.ResourceArgs { /// /// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) @@ -242,6 +267,18 @@ public InputList Currencies set => _currencies = value; } + /// + /// Enable the Search Indexing of orders + /// + [Input("enableSearchIndexOrders")] + public Input? EnableSearchIndexOrders { get; set; } + + /// + /// Enable the Search Indexing of products + /// + [Input("enableSearchIndexProducts")] + public Input? EnableSearchIndexProducts { get; set; } + /// /// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) /// @@ -267,7 +304,7 @@ public InputList Languages } /// - /// [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + /// The change notifications subscribed to /// [Input("messages")] public Input? Messages { get; set; } @@ -305,5 +342,6 @@ public InputList new ProjectSettingsState(); } } diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs index 05025dc..8353a2f 100644 --- a/sdk/dotnet/Provider.cs +++ b/sdk/dotnet/Provider.cs @@ -16,44 +16,44 @@ namespace Pulumi.Commercetools /// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. /// [CommercetoolsResourceType("pulumi:providers:commercetools")] - public partial class Provider : Pulumi.ProviderResource + public partial class Provider : global::Pulumi.ProviderResource { /// /// The API URL of the commercetools platform. https://docs.commercetools.com/http-api /// [Output("apiUrl")] - public Output ApiUrl { get; private set; } = null!; + public Output ApiUrl { get; private set; } = null!; /// /// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// [Output("clientId")] - public Output ClientId { get; private set; } = null!; + public Output ClientId { get; private set; } = null!; /// /// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// [Output("clientSecret")] - public Output ClientSecret { get; private set; } = null!; + public Output ClientSecret { get; private set; } = null!; /// /// The project key of commercetools platform project. https://docs.commercetools.com/getting-started /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. /// https://docs.commercetools.com/http-api-authorization /// [Output("scopes")] - public Output Scopes { get; private set; } = null!; + public Output Scopes { get; private set; } = null!; /// /// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization /// [Output("tokenUrl")] - public Output TokenUrl { get; private set; } = null!; + public Output TokenUrl { get; private set; } = null!; /// @@ -63,7 +63,7 @@ public partial class Provider : Pulumi.ProviderResource /// The unique name of the resource /// The arguments used to populate this resource's properties /// A bag of options that control this resource's behavior - public Provider(string name, ProviderArgs args, CustomResourceOptions? options = null) + public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? options = null) : base("commercetools", name, args ?? new ProviderArgs(), MakeResourceOptions(options, "")) { } @@ -73,6 +73,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "clientId", + "clientSecret", + "projectKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -81,47 +87,78 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? } } - public sealed class ProviderArgs : Pulumi.ResourceArgs + public sealed class ProviderArgs : global::Pulumi.ResourceArgs { /// /// The API URL of the commercetools platform. https://docs.commercetools.com/http-api /// - [Input("apiUrl", required: true)] - public Input ApiUrl { get; set; } = null!; + [Input("apiUrl")] + public Input? ApiUrl { get; set; } + + [Input("clientId")] + private Input? _clientId; /// /// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("projectKey")] + private Input? _projectKey; /// /// The project key of commercetools platform project. https://docs.commercetools.com/getting-started /// - [Input("projectKey", required: true)] - public Input ProjectKey { get; set; } = null!; + public Input? ProjectKey + { + get => _projectKey; + set + { + var emptySecret = Output.CreateSecret(0); + _projectKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. /// https://docs.commercetools.com/http-api-authorization /// - [Input("scopes", required: true)] - public Input Scopes { get; set; } = null!; + [Input("scopes")] + public Input? Scopes { get; set; } /// /// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization /// - [Input("tokenUrl", required: true)] - public Input TokenUrl { get; set; } = null!; + [Input("tokenUrl")] + public Input? TokenUrl { get; set; } public ProviderArgs() { } + public static new ProviderArgs Empty => new ProviderArgs(); } } diff --git a/sdk/dotnet/Pulumi.Commercetools.csproj b/sdk/dotnet/Pulumi.Commercetools.csproj index 95b6c1d..d3f7a15 100644 --- a/sdk/dotnet/Pulumi.Commercetools.csproj +++ b/sdk/dotnet/Pulumi.Commercetools.csproj @@ -2,15 +2,15 @@ true - Pulumi Corp. - Pulumi Corp. + Aviva Solutions + Aviva Solutions A Pulumi package for creating and managing commercetools cloud resources. Apache-2.0 https://pulumi.io https://github.com/unplatform-io/pulumi-commercetools logo.png - netcoreapp3.1 + net6.0 enable @@ -38,10 +38,18 @@ + + + + + + + + True diff --git a/sdk/dotnet/ShippingMethod.cs b/sdk/dotnet/ShippingMethod.cs index 56f7997..a97838a 100644 --- a/sdk/dotnet/ShippingMethod.cs +++ b/sdk/dotnet/ShippingMethod.cs @@ -10,8 +10,11 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/shippingMethod:ShippingMethod")] - public partial class ShippingMethod : Pulumi.CustomResource + public partial class ShippingMethod : global::Pulumi.CustomResource { + [Output("custom")] + public Output Custom { get; private set; } = null!; + [Output("description")] public Output Description { get; private set; } = null!; @@ -28,7 +31,7 @@ public partial class ShippingMethod : Pulumi.CustomResource public Output Key { get; private set; } = null!; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) /// [Output("localizedDescription")] public Output?> LocalizedDescription { get; private set; } = null!; @@ -43,10 +46,10 @@ public partial class ShippingMethod : Pulumi.CustomResource public Output Predicate { get; private set; } = null!; /// - /// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + /// ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) /// [Output("taxCategoryId")] - public Output TaxCategoryId { get; private set; } = null!; + public Output TaxCategoryId { get; private set; } = null!; [Output("version")] public Output Version { get; private set; } = null!; @@ -59,7 +62,7 @@ public partial class ShippingMethod : Pulumi.CustomResource /// The unique name of the resource /// The arguments used to populate this resource's properties /// A bag of options that control this resource's behavior - public ShippingMethod(string name, ShippingMethodArgs? args = null, CustomResourceOptions? options = null) + public ShippingMethod(string name, ShippingMethodArgs args, CustomResourceOptions? options = null) : base("commercetools:index/shippingMethod:ShippingMethod", name, args ?? new ShippingMethodArgs(), MakeResourceOptions(options, "")) { } @@ -95,8 +98,11 @@ public static ShippingMethod Get(string name, Input id, ShippingMethodSt } } - public sealed class ShippingMethodArgs : Pulumi.ResourceArgs + public sealed class ShippingMethodArgs : global::Pulumi.ResourceArgs { + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] public Input? Description { get; set; } @@ -116,7 +122,7 @@ public sealed class ShippingMethodArgs : Pulumi.ResourceArgs private InputMap? _localizedDescription; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) /// public InputMap LocalizedDescription { @@ -134,18 +140,22 @@ public InputMap LocalizedDescription public Input? Predicate { get; set; } /// - /// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + /// ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) /// - [Input("taxCategoryId")] - public Input? TaxCategoryId { get; set; } + [Input("taxCategoryId", required: true)] + public Input TaxCategoryId { get; set; } = null!; public ShippingMethodArgs() { } + public static new ShippingMethodArgs Empty => new ShippingMethodArgs(); } - public sealed class ShippingMethodState : Pulumi.ResourceArgs + public sealed class ShippingMethodState : global::Pulumi.ResourceArgs { + [Input("custom")] + public Input? Custom { get; set; } + [Input("description")] public Input? Description { get; set; } @@ -165,7 +175,7 @@ public sealed class ShippingMethodState : Pulumi.ResourceArgs private InputMap? _localizedDescription; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) /// public InputMap LocalizedDescription { @@ -183,7 +193,7 @@ public InputMap LocalizedDescription public Input? Predicate { get; set; } /// - /// ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + /// ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) /// [Input("taxCategoryId")] public Input? TaxCategoryId { get; set; } @@ -194,5 +204,6 @@ public InputMap LocalizedDescription public ShippingMethodState() { } + public static new ShippingMethodState Empty => new ShippingMethodState(); } } diff --git a/sdk/dotnet/ShippingZone.cs b/sdk/dotnet/ShippingZone.cs index 19fa5e9..0b7b33e 100644 --- a/sdk/dotnet/ShippingZone.cs +++ b/sdk/dotnet/ShippingZone.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/shippingZone:ShippingZone")] - public partial class ShippingZone : Pulumi.CustomResource + public partial class ShippingZone : global::Pulumi.CustomResource { [Output("description")] public Output Description { get; private set; } = null!; @@ -22,7 +22,7 @@ public partial class ShippingZone : Pulumi.CustomResource public Output Key { get; private set; } = null!; /// - /// [Location](https://docs.commercetools.com/api/projects/zones#location) + /// [Location](https://docs.commercetoolstools.pi/projects/zones#location) /// [Output("locations")] public Output> Locations { get; private set; } = null!; @@ -77,7 +77,7 @@ public static ShippingZone Get(string name, Input id, ShippingZoneState? } } - public sealed class ShippingZoneArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneArgs : global::Pulumi.ResourceArgs { [Input("description")] public Input? Description { get; set; } @@ -92,7 +92,7 @@ public sealed class ShippingZoneArgs : Pulumi.ResourceArgs private InputList? _locations; /// - /// [Location](https://docs.commercetools.com/api/projects/zones#location) + /// [Location](https://docs.commercetoolstools.pi/projects/zones#location) /// public InputList Locations { @@ -106,9 +106,10 @@ public InputList Locations public ShippingZoneArgs() { } + public static new ShippingZoneArgs Empty => new ShippingZoneArgs(); } - public sealed class ShippingZoneState : Pulumi.ResourceArgs + public sealed class ShippingZoneState : global::Pulumi.ResourceArgs { [Input("description")] public Input? Description { get; set; } @@ -123,7 +124,7 @@ public sealed class ShippingZoneState : Pulumi.ResourceArgs private InputList? _locations; /// - /// [Location](https://docs.commercetools.com/api/projects/zones#location) + /// [Location](https://docs.commercetoolstools.pi/projects/zones#location) /// public InputList Locations { @@ -140,5 +141,6 @@ public InputList Locations public ShippingZoneState() { } + public static new ShippingZoneState Empty => new ShippingZoneState(); } } diff --git a/sdk/dotnet/ShippingZoneRate.cs b/sdk/dotnet/ShippingZoneRate.cs index 87d8748..b1d2635 100644 --- a/sdk/dotnet/ShippingZoneRate.cs +++ b/sdk/dotnet/ShippingZoneRate.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/shippingZoneRate:ShippingZoneRate")] - public partial class ShippingZoneRate : Pulumi.CustomResource + public partial class ShippingZoneRate : global::Pulumi.CustomResource { /// /// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value @@ -79,7 +79,7 @@ public static ShippingZoneRate Get(string name, Input id, ShippingZoneRa } } - public sealed class ShippingZoneRateArgs : Pulumi.ResourceArgs + public sealed class ShippingZoneRateArgs : global::Pulumi.ResourceArgs { /// /// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value @@ -113,9 +113,10 @@ public InputList ShippingRateP public ShippingZoneRateArgs() { } + public static new ShippingZoneRateArgs Empty => new ShippingZoneRateArgs(); } - public sealed class ShippingZoneRateState : Pulumi.ResourceArgs + public sealed class ShippingZoneRateState : global::Pulumi.ResourceArgs { /// /// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value @@ -149,5 +150,6 @@ public InputList ShippingRa public ShippingZoneRateState() { } + public static new ShippingZoneRateState Empty => new ShippingZoneRateState(); } } diff --git a/sdk/dotnet/State.cs b/sdk/dotnet/State.cs index abf08d0..48c0b35 100644 --- a/sdk/dotnet/State.cs +++ b/sdk/dotnet/State.cs @@ -10,49 +10,39 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/state:State")] - public partial class State : Pulumi.CustomResource + public partial class State : global::Pulumi.CustomResource { /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Description of the State as localized string. /// [Output("description")] - public Output?> Description { get; private set; } = null!; + public Output?> Description { get; private set; } = null!; /// /// A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an /// initial state /// [Output("initial")] - public Output Initial { get; private set; } = null!; + public Output Initial { get; private set; } = null!; /// - /// A unique identifier for the state + /// Timestamp of the last Terraform update of the order. /// [Output("key")] - public Output Key { get; private set; } = null!; + public Output Key { get; private set; } = null!; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Name of the State as localized string. /// [Output("name")] - public Output> Name { get; private set; } = null!; + public Output> Name { get; private set; } = null!; /// - /// Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + /// [State Role](https://docs.commercetools.com/api/projects/states#staterole) /// [Output("roles")] public Output> Roles { get; private set; } = null!; - /// - /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for - /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - /// performing a transitionState update action, any other state of the same type can be transitioned to - /// - [Output("transitions")] - public Output> Transitions { get; private set; } = null!; - /// /// [StateType](https://docs.commercetools.com/api/projects/states#statetype) /// @@ -106,17 +96,17 @@ public static State Get(string name, Input id, StateState? state = null, } } - public sealed class StateArgs : Pulumi.ResourceArgs + public sealed class StateArgs : global::Pulumi.ResourceArgs { [Input("description")] - private InputMap? _description; + private InputMap? _description; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Description of the State as localized string. /// - public InputMap Description + public InputMap Description { - get => _description ?? (_description = new InputMap()); + get => _description ?? (_description = new InputMap()); set => _description = value; } @@ -128,20 +118,20 @@ public InputMap Description public Input? Initial { get; set; } /// - /// A unique identifier for the state + /// Timestamp of the last Terraform update of the order. /// - [Input("key", required: true)] - public Input Key { get; set; } = null!; + [Input("key")] + public Input? Key { get; set; } [Input("name")] - private InputMap? _name; + private InputMap? _name; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Name of the State as localized string. /// - public InputMap Name + public InputMap Name { - get => _name ?? (_name = new InputMap()); + get => _name ?? (_name = new InputMap()); set => _name = value; } @@ -149,7 +139,7 @@ public InputMap Name private InputList? _roles; /// - /// Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + /// [State Role](https://docs.commercetools.com/api/projects/states#staterole) /// public InputList Roles { @@ -157,22 +147,6 @@ public InputList Roles set => _roles = value; } - [Input("transitions")] - private InputList? _transitions; - - /// - /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for - /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - /// performing a transitionState update action, any other state of the same type can be transitioned to - /// - public InputList Transitions - { - get => _transitions ?? (_transitions = new InputList()); - set => _transitions = value; - } - /// /// [StateType](https://docs.commercetools.com/api/projects/states#statetype) /// @@ -182,19 +156,20 @@ public InputList Transitions public StateArgs() { } + public static new StateArgs Empty => new StateArgs(); } - public sealed class StateState : Pulumi.ResourceArgs + public sealed class StateState : global::Pulumi.ResourceArgs { [Input("description")] - private InputMap? _description; + private InputMap? _description; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Description of the State as localized string. /// - public InputMap Description + public InputMap Description { - get => _description ?? (_description = new InputMap()); + get => _description ?? (_description = new InputMap()); set => _description = value; } @@ -206,20 +181,20 @@ public InputMap Description public Input? Initial { get; set; } /// - /// A unique identifier for the state + /// Timestamp of the last Terraform update of the order. /// [Input("key")] public Input? Key { get; set; } [Input("name")] - private InputMap? _name; + private InputMap? _name; /// - /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + /// Name of the State as localized string. /// - public InputMap Name + public InputMap Name { - get => _name ?? (_name = new InputMap()); + get => _name ?? (_name = new InputMap()); set => _name = value; } @@ -227,7 +202,7 @@ public InputMap Name private InputList? _roles; /// - /// Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + /// [State Role](https://docs.commercetools.com/api/projects/states#staterole) /// public InputList Roles { @@ -235,22 +210,6 @@ public InputList Roles set => _roles = value; } - [Input("transitions")] - private InputList? _transitions; - - /// - /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for - /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - /// performing a transitionState update action, any other state of the same type can be transitioned to - /// - public InputList Transitions - { - get => _transitions ?? (_transitions = new InputList()); - set => _transitions = value; - } - /// /// [StateType](https://docs.commercetools.com/api/projects/states#statetype) /// @@ -263,5 +222,6 @@ public InputList Transitions public StateState() { } + public static new StateState Empty => new StateState(); } } diff --git a/sdk/dotnet/StateTransitions.cs b/sdk/dotnet/StateTransitions.cs new file mode 100644 index 0000000..deb920f --- /dev/null +++ b/sdk/dotnet/StateTransitions.cs @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Commercetools +{ + [CommercetoolsResourceType("commercetools:index/stateTransitions:StateTransitions")] + public partial class StateTransitions : global::Pulumi.CustomResource + { + /// + /// ID of the state to transition from + /// + [Output("from")] + public Output From { get; private set; } = null!; + + /// + /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for + /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + /// performing a transitionState update action, any other state of the same type can be transitioned to + /// + [Output("tos")] + public Output> Tos { get; private set; } = null!; + + + /// + /// Create a StateTransitions resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public StateTransitions(string name, StateTransitionsArgs args, CustomResourceOptions? options = null) + : base("commercetools:index/stateTransitions:StateTransitions", name, args ?? new StateTransitionsArgs(), MakeResourceOptions(options, "")) + { + } + + private StateTransitions(string name, Input id, StateTransitionsState? state = null, CustomResourceOptions? options = null) + : base("commercetools:index/stateTransitions:StateTransitions", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing StateTransitions resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static StateTransitions Get(string name, Input id, StateTransitionsState? state = null, CustomResourceOptions? options = null) + { + return new StateTransitions(name, id, state, options); + } + } + + public sealed class StateTransitionsArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the state to transition from + /// + [Input("from", required: true)] + public Input From { get; set; } = null!; + + [Input("tos", required: true)] + private InputList? _tos; + + /// + /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for + /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + /// performing a transitionState update action, any other state of the same type can be transitioned to + /// + public InputList Tos + { + get => _tos ?? (_tos = new InputList()); + set => _tos = value; + } + + public StateTransitionsArgs() + { + } + public static new StateTransitionsArgs Empty => new StateTransitionsArgs(); + } + + public sealed class StateTransitionsState : global::Pulumi.ResourceArgs + { + /// + /// ID of the state to transition from + /// + [Input("from")] + public Input? From { get; set; } + + [Input("tos")] + private InputList? _tos; + + /// + /// Transitions are a way to describe possible transformations of the current state to other states of the same type (for + /// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + /// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + /// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + /// performing a transitionState update action, any other state of the same type can be transitioned to + /// + public InputList Tos + { + get => _tos ?? (_tos = new InputList()); + set => _tos = value; + } + + public StateTransitionsState() + { + } + public static new StateTransitionsState Empty => new StateTransitionsState(); + } +} diff --git a/sdk/dotnet/Store.cs b/sdk/dotnet/Store.cs index 53b40fe..0da7c7b 100644 --- a/sdk/dotnet/Store.cs +++ b/sdk/dotnet/Store.cs @@ -10,8 +10,11 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/store:Store")] - public partial class Store : Pulumi.CustomResource + public partial class Store : global::Pulumi.CustomResource { + [Output("custom")] + public Output Custom { get; private set; } = null!; + /// /// Set of ResourceIdentifier to a Channel with ProductDistribution /// @@ -89,8 +92,11 @@ public static Store Get(string name, Input id, StoreState? state = null, } } - public sealed class StoreArgs : Pulumi.ResourceArgs + public sealed class StoreArgs : global::Pulumi.ResourceArgs { + [Input("custom")] + public Input? Custom { get; set; } + [Input("distributionChannels")] private InputList? _distributionChannels; @@ -148,10 +154,14 @@ public InputList SupplyChannels public StoreArgs() { } + public static new StoreArgs Empty => new StoreArgs(); } - public sealed class StoreState : Pulumi.ResourceArgs + public sealed class StoreState : global::Pulumi.ResourceArgs { + [Input("custom")] + public Input? Custom { get; set; } + [Input("distributionChannels")] private InputList? _distributionChannels; @@ -212,5 +222,6 @@ public InputList SupplyChannels public StoreState() { } + public static new StoreState Empty => new StoreState(); } } diff --git a/sdk/dotnet/Subscription.cs b/sdk/dotnet/Subscription.cs index a29f6bc..bea5ba5 100644 --- a/sdk/dotnet/Subscription.cs +++ b/sdk/dotnet/Subscription.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/subscription:Subscription")] - public partial class Subscription : Pulumi.CustomResource + public partial class Subscription : global::Pulumi.CustomResource { /// /// The change notifications subscribed to @@ -18,10 +18,6 @@ public partial class Subscription : Pulumi.CustomResource [Output("changes")] public Output> Changes { get; private set; } = null!; - /// - /// The Message Queue into which the notifications are to be sentSee also the [Destination API - /// Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - /// [Output("destination")] public Output Destination { get; private set; } = null!; @@ -32,7 +28,7 @@ public partial class Subscription : Pulumi.CustomResource public Output Format { get; private set; } = null!; /// - /// User-specific unique identifier for the subscription + /// Timestamp of the last Terraform update of the order. /// [Output("key")] public Output Key { get; private set; } = null!; @@ -90,7 +86,7 @@ public static Subscription Get(string name, Input id, SubscriptionState? } } - public sealed class SubscriptionArgs : Pulumi.ResourceArgs + public sealed class SubscriptionArgs : global::Pulumi.ResourceArgs { [Input("changes")] private InputList? _changes; @@ -104,10 +100,6 @@ public InputList Changes set => _changes = value; } - /// - /// The Message Queue into which the notifications are to be sentSee also the [Destination API - /// Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - /// [Input("destination")] public Input? Destination { get; set; } @@ -118,7 +110,7 @@ public InputList Changes public Input? Format { get; set; } /// - /// User-specific unique identifier for the subscription + /// Timestamp of the last Terraform update of the order. /// [Input("key")] public Input? Key { get; set; } @@ -138,9 +130,10 @@ public InputList Messages public SubscriptionArgs() { } + public static new SubscriptionArgs Empty => new SubscriptionArgs(); } - public sealed class SubscriptionState : Pulumi.ResourceArgs + public sealed class SubscriptionState : global::Pulumi.ResourceArgs { [Input("changes")] private InputList? _changes; @@ -154,10 +147,6 @@ public InputList Changes set => _changes = value; } - /// - /// The Message Queue into which the notifications are to be sentSee also the [Destination API - /// Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - /// [Input("destination")] public Input? Destination { get; set; } @@ -168,7 +157,7 @@ public InputList Changes public Input? Format { get; set; } /// - /// User-specific unique identifier for the subscription + /// Timestamp of the last Terraform update of the order. /// [Input("key")] public Input? Key { get; set; } @@ -191,5 +180,6 @@ public InputList Messages public SubscriptionState() { } + public static new SubscriptionState Empty => new SubscriptionState(); } } diff --git a/sdk/dotnet/TaxCategory.cs b/sdk/dotnet/TaxCategory.cs index a83f7a9..c4483c4 100644 --- a/sdk/dotnet/TaxCategory.cs +++ b/sdk/dotnet/TaxCategory.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/taxCategory:TaxCategory")] - public partial class TaxCategory : Pulumi.CustomResource + public partial class TaxCategory : global::Pulumi.CustomResource { [Output("description")] public Output Description { get; private set; } = null!; @@ -71,7 +71,7 @@ public static TaxCategory Get(string name, Input id, TaxCategoryState? s } } - public sealed class TaxCategoryArgs : Pulumi.ResourceArgs + public sealed class TaxCategoryArgs : global::Pulumi.ResourceArgs { [Input("description")] public Input? Description { get; set; } @@ -88,9 +88,10 @@ public sealed class TaxCategoryArgs : Pulumi.ResourceArgs public TaxCategoryArgs() { } + public static new TaxCategoryArgs Empty => new TaxCategoryArgs(); } - public sealed class TaxCategoryState : Pulumi.ResourceArgs + public sealed class TaxCategoryState : global::Pulumi.ResourceArgs { [Input("description")] public Input? Description { get; set; } @@ -110,5 +111,6 @@ public sealed class TaxCategoryState : Pulumi.ResourceArgs public TaxCategoryState() { } + public static new TaxCategoryState Empty => new TaxCategoryState(); } } diff --git a/sdk/dotnet/TaxCategoryRate.cs b/sdk/dotnet/TaxCategoryRate.cs index 260f49b..8d06aff 100644 --- a/sdk/dotnet/TaxCategoryRate.cs +++ b/sdk/dotnet/TaxCategoryRate.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/taxCategoryRate:TaxCategoryRate")] - public partial class TaxCategoryRate : Pulumi.CustomResource + public partial class TaxCategoryRate : global::Pulumi.CustomResource { /// /// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any @@ -90,7 +90,7 @@ public static TaxCategoryRate Get(string name, Input id, TaxCategoryRate } } - public sealed class TaxCategoryRateArgs : Pulumi.ResourceArgs + public sealed class TaxCategoryRateArgs : global::Pulumi.ResourceArgs { /// /// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any @@ -135,9 +135,10 @@ public InputList SubRates public TaxCategoryRateArgs() { } + public static new TaxCategoryRateArgs Empty => new TaxCategoryRateArgs(); } - public sealed class TaxCategoryRateState : Pulumi.ResourceArgs + public sealed class TaxCategoryRateState : global::Pulumi.ResourceArgs { /// /// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any @@ -182,5 +183,6 @@ public InputList SubRates public TaxCategoryRateState() { } + public static new TaxCategoryRateState Empty => new TaxCategoryRateState(); } } diff --git a/sdk/dotnet/Type.cs b/sdk/dotnet/Type.cs index 21b3663..b44ad68 100644 --- a/sdk/dotnet/Type.cs +++ b/sdk/dotnet/Type.cs @@ -10,7 +10,7 @@ namespace Pulumi.Commercetools { [CommercetoolsResourceType("commercetools:index/type:Type")] - public partial class Type : Pulumi.CustomResource + public partial class Type : global::Pulumi.CustomResource { /// /// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -90,7 +90,7 @@ public static Type Get(string name, Input id, TypeState? state = null, C } } - public sealed class TypeArgs : Pulumi.ResourceArgs + public sealed class TypeArgs : global::Pulumi.ResourceArgs { [Input("description")] private InputMap? _description; @@ -150,9 +150,10 @@ public InputList ResourceTypeIds public TypeArgs() { } + public static new TypeArgs Empty => new TypeArgs(); } - public sealed class TypeState : Pulumi.ResourceArgs + public sealed class TypeState : global::Pulumi.ResourceArgs { [Input("description")] private InputMap? _description; @@ -215,5 +216,6 @@ public InputList ResourceTypeIds public TypeState() { } + public static new TypeState Empty => new TypeState(); } } diff --git a/sdk/dotnet/Utilities.cs b/sdk/dotnet/Utilities.cs index 83fd7a7..b1fd33c 100644 --- a/sdk/dotnet/Utilities.cs +++ b/sdk/dotnet/Utilities.cs @@ -1,11 +1,6 @@ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** -using System; -using System.IO; -using System.Reflection; -using Pulumi; - namespace Pulumi.Commercetools { static class Utilities @@ -14,7 +9,7 @@ static class Utilities { foreach (var n in names) { - var value = Environment.GetEnvironmentVariable(n); + var value = global::System.Environment.GetEnvironmentVariable(n); if (value != null) { return value; @@ -30,11 +25,11 @@ static class Utilities var s = GetEnv(names); if (s != null) { - if (Array.IndexOf(trueValues, s) != -1) + if (global::System.Array.IndexOf(trueValues, s) != -1) { return true; } - if (Array.IndexOf(falseValues, s) != -1) + if (global::System.Array.IndexOf(falseValues, s) != -1) { return false; } @@ -46,18 +41,19 @@ static class Utilities public static double? GetEnvDouble(params string[] names) => double.TryParse(GetEnv(names), out double v) ? (double?)v : null; - public static InvokeOptions WithVersion(this InvokeOptions? options) + [global::System.Obsolete("Please use WithDefaults instead")] + public static global::Pulumi.InvokeOptions WithVersion(this global::Pulumi.InvokeOptions? options) { - if (options?.Version != null) - { - return options; - } - return new InvokeOptions - { - Parent = options?.Parent, - Provider = options?.Provider, - Version = Version, - }; + var dst = options ?? new global::Pulumi.InvokeOptions{}; + dst.Version = options?.Version ?? Version; + return dst; + } + + public static global::Pulumi.InvokeOptions WithDefaults(this global::Pulumi.InvokeOptions? src) + { + var dst = src ?? new global::Pulumi.InvokeOptions{}; + dst.Version = src?.Version ?? Version; + return dst; } private readonly static string version; @@ -65,9 +61,9 @@ public static InvokeOptions WithVersion(this InvokeOptions? options) static Utilities() { - var assembly = typeof(Utilities).GetTypeInfo().Assembly; + var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly; using var stream = assembly.GetManifestResourceStream("Pulumi.Commercetools.version.txt"); - using var reader = new StreamReader(stream ?? throw new NotSupportedException("Missing embedded version.txt file")); + using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file")); version = reader.ReadToEnd().Trim(); var parts = version.Split("\n"); if (parts.Length == 2) @@ -78,7 +74,7 @@ static Utilities() } } - internal sealed class CommercetoolsResourceTypeAttribute : Pulumi.ResourceTypeAttribute + internal sealed class CommercetoolsResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute { public CommercetoolsResourceTypeAttribute(string type) : base(type, Utilities.Version) { diff --git a/sdk/dotnet/pulumi-plugin.json b/sdk/dotnet/pulumi-plugin.json new file mode 100644 index 0000000..4d9add2 --- /dev/null +++ b/sdk/dotnet/pulumi-plugin.json @@ -0,0 +1,4 @@ +{ + "resource": true, + "name": "commercetools" +} diff --git a/sdk/go.mod b/sdk/go.mod index fbeff99..f08d5b0 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,5 +1,5 @@ module github.com/unplatform-io/pulumi-commercetools/sdk -go 1.14 +go 1.20 -require github.com/pulumi/pulumi/sdk/v3 v3.4.0 +require github.com/pulumi/pulumi/sdk/v3 v3.76.0 diff --git a/sdk/go/commercetools/apiClient.go b/sdk/go/commercetools/apiClient.go index 66acd1e..675409f 100644 --- a/sdk/go/commercetools/apiClient.go +++ b/sdk/go/commercetools/apiClient.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -31,6 +32,11 @@ func NewApiClient(ctx *pulumi.Context, if args.Scopes == nil { return nil, errors.New("invalid value for required argument 'Scopes'") } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "secret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource ApiClient err := ctx.RegisterResource("commercetools:index/apiClient:ApiClient", name, args, &resource, opts...) if err != nil { @@ -99,7 +105,7 @@ type ApiClientInput interface { } func (*ApiClient) ElementType() reflect.Type { - return reflect.TypeOf((*ApiClient)(nil)) + return reflect.TypeOf((**ApiClient)(nil)).Elem() } func (i *ApiClient) ToApiClientOutput() ApiClientOutput { @@ -110,39 +116,10 @@ func (i *ApiClient) ToApiClientOutputWithContext(ctx context.Context) ApiClientO return pulumi.ToOutputWithContext(ctx, i).(ApiClientOutput) } -func (i *ApiClient) ToApiClientPtrOutput() ApiClientPtrOutput { - return i.ToApiClientPtrOutputWithContext(context.Background()) -} - -func (i *ApiClient) ToApiClientPtrOutputWithContext(ctx context.Context) ApiClientPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiClientPtrOutput) -} - -type ApiClientPtrInput interface { - pulumi.Input - - ToApiClientPtrOutput() ApiClientPtrOutput - ToApiClientPtrOutputWithContext(ctx context.Context) ApiClientPtrOutput -} - -type apiClientPtrType ApiClientArgs - -func (*apiClientPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ApiClient)(nil)) -} - -func (i *apiClientPtrType) ToApiClientPtrOutput() ApiClientPtrOutput { - return i.ToApiClientPtrOutputWithContext(context.Background()) -} - -func (i *apiClientPtrType) ToApiClientPtrOutputWithContext(ctx context.Context) ApiClientPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiClientPtrOutput) -} - // ApiClientArrayInput is an input type that accepts ApiClientArray and ApiClientArrayOutput values. // You can construct a concrete instance of `ApiClientArrayInput` via: // -// ApiClientArray{ ApiClientArgs{...} } +// ApiClientArray{ ApiClientArgs{...} } type ApiClientArrayInput interface { pulumi.Input @@ -153,7 +130,7 @@ type ApiClientArrayInput interface { type ApiClientArray []ApiClientInput func (ApiClientArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ApiClient)(nil)) + return reflect.TypeOf((*[]*ApiClient)(nil)).Elem() } func (i ApiClientArray) ToApiClientArrayOutput() ApiClientArrayOutput { @@ -167,7 +144,7 @@ func (i ApiClientArray) ToApiClientArrayOutputWithContext(ctx context.Context) A // ApiClientMapInput is an input type that accepts ApiClientMap and ApiClientMapOutput values. // You can construct a concrete instance of `ApiClientMapInput` via: // -// ApiClientMap{ "key": ApiClientArgs{...} } +// ApiClientMap{ "key": ApiClientArgs{...} } type ApiClientMapInput interface { pulumi.Input @@ -178,7 +155,7 @@ type ApiClientMapInput interface { type ApiClientMap map[string]ApiClientInput func (ApiClientMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ApiClient)(nil)) + return reflect.TypeOf((*map[string]*ApiClient)(nil)).Elem() } func (i ApiClientMap) ToApiClientMapOutput() ApiClientMapOutput { @@ -189,12 +166,10 @@ func (i ApiClientMap) ToApiClientMapOutputWithContext(ctx context.Context) ApiCl return pulumi.ToOutputWithContext(ctx, i).(ApiClientMapOutput) } -type ApiClientOutput struct { - *pulumi.OutputState -} +type ApiClientOutput struct{ *pulumi.OutputState } func (ApiClientOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ApiClient)(nil)) + return reflect.TypeOf((**ApiClient)(nil)).Elem() } func (o ApiClientOutput) ToApiClientOutput() ApiClientOutput { @@ -205,36 +180,24 @@ func (o ApiClientOutput) ToApiClientOutputWithContext(ctx context.Context) ApiCl return o } -func (o ApiClientOutput) ToApiClientPtrOutput() ApiClientPtrOutput { - return o.ToApiClientPtrOutputWithContext(context.Background()) -} - -func (o ApiClientOutput) ToApiClientPtrOutputWithContext(ctx context.Context) ApiClientPtrOutput { - return o.ApplyT(func(v ApiClient) *ApiClient { - return &v - }).(ApiClientPtrOutput) +// Name of the API client +func (o ApiClientOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ApiClient) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -type ApiClientPtrOutput struct { - *pulumi.OutputState +// A list of the [OAuth scopes](https://docs.commercetools.com/http-api-authorization.html#scopes) +func (o ApiClientOutput) Scopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ApiClient) pulumi.StringArrayOutput { return v.Scopes }).(pulumi.StringArrayOutput) } -func (ApiClientPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ApiClient)(nil)) -} - -func (o ApiClientPtrOutput) ToApiClientPtrOutput() ApiClientPtrOutput { - return o -} - -func (o ApiClientPtrOutput) ToApiClientPtrOutputWithContext(ctx context.Context) ApiClientPtrOutput { - return o +func (o ApiClientOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v *ApiClient) pulumi.StringOutput { return v.Secret }).(pulumi.StringOutput) } type ApiClientArrayOutput struct{ *pulumi.OutputState } func (ApiClientArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ApiClient)(nil)) + return reflect.TypeOf((*[]*ApiClient)(nil)).Elem() } func (o ApiClientArrayOutput) ToApiClientArrayOutput() ApiClientArrayOutput { @@ -246,15 +209,15 @@ func (o ApiClientArrayOutput) ToApiClientArrayOutputWithContext(ctx context.Cont } func (o ApiClientArrayOutput) Index(i pulumi.IntInput) ApiClientOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiClient { - return vs[0].([]ApiClient)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApiClient { + return vs[0].([]*ApiClient)[vs[1].(int)] }).(ApiClientOutput) } type ApiClientMapOutput struct{ *pulumi.OutputState } func (ApiClientMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ApiClient)(nil)) + return reflect.TypeOf((*map[string]*ApiClient)(nil)).Elem() } func (o ApiClientMapOutput) ToApiClientMapOutput() ApiClientMapOutput { @@ -266,14 +229,16 @@ func (o ApiClientMapOutput) ToApiClientMapOutputWithContext(ctx context.Context) } func (o ApiClientMapOutput) MapIndex(k pulumi.StringInput) ApiClientOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ApiClient { - return vs[0].(map[string]ApiClient)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApiClient { + return vs[0].(map[string]*ApiClient)[vs[1].(string)] }).(ApiClientOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApiClientInput)(nil)).Elem(), &ApiClient{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiClientArrayInput)(nil)).Elem(), ApiClientArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiClientMapInput)(nil)).Elem(), ApiClientMap{}) pulumi.RegisterOutputType(ApiClientOutput{}) - pulumi.RegisterOutputType(ApiClientPtrOutput{}) pulumi.RegisterOutputType(ApiClientArrayOutput{}) pulumi.RegisterOutputType(ApiClientMapOutput{}) } diff --git a/sdk/go/commercetools/apiExtension.go b/sdk/go/commercetools/apiExtension.go index 54454be..036c219 100644 --- a/sdk/go/commercetools/apiExtension.go +++ b/sdk/go/commercetools/apiExtension.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -40,6 +41,7 @@ func NewApiExtension(ctx *pulumi.Context, if args.Triggers == nil { return nil, errors.New("invalid value for required argument 'Triggers'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource ApiExtension err := ctx.RegisterResource("commercetools:index/apiExtension:ApiExtension", name, args, &resource, opts...) if err != nil { @@ -132,7 +134,7 @@ type ApiExtensionInput interface { } func (*ApiExtension) ElementType() reflect.Type { - return reflect.TypeOf((*ApiExtension)(nil)) + return reflect.TypeOf((**ApiExtension)(nil)).Elem() } func (i *ApiExtension) ToApiExtensionOutput() ApiExtensionOutput { @@ -143,39 +145,10 @@ func (i *ApiExtension) ToApiExtensionOutputWithContext(ctx context.Context) ApiE return pulumi.ToOutputWithContext(ctx, i).(ApiExtensionOutput) } -func (i *ApiExtension) ToApiExtensionPtrOutput() ApiExtensionPtrOutput { - return i.ToApiExtensionPtrOutputWithContext(context.Background()) -} - -func (i *ApiExtension) ToApiExtensionPtrOutputWithContext(ctx context.Context) ApiExtensionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiExtensionPtrOutput) -} - -type ApiExtensionPtrInput interface { - pulumi.Input - - ToApiExtensionPtrOutput() ApiExtensionPtrOutput - ToApiExtensionPtrOutputWithContext(ctx context.Context) ApiExtensionPtrOutput -} - -type apiExtensionPtrType ApiExtensionArgs - -func (*apiExtensionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ApiExtension)(nil)) -} - -func (i *apiExtensionPtrType) ToApiExtensionPtrOutput() ApiExtensionPtrOutput { - return i.ToApiExtensionPtrOutputWithContext(context.Background()) -} - -func (i *apiExtensionPtrType) ToApiExtensionPtrOutputWithContext(ctx context.Context) ApiExtensionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ApiExtensionPtrOutput) -} - // ApiExtensionArrayInput is an input type that accepts ApiExtensionArray and ApiExtensionArrayOutput values. // You can construct a concrete instance of `ApiExtensionArrayInput` via: // -// ApiExtensionArray{ ApiExtensionArgs{...} } +// ApiExtensionArray{ ApiExtensionArgs{...} } type ApiExtensionArrayInput interface { pulumi.Input @@ -186,7 +159,7 @@ type ApiExtensionArrayInput interface { type ApiExtensionArray []ApiExtensionInput func (ApiExtensionArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ApiExtension)(nil)) + return reflect.TypeOf((*[]*ApiExtension)(nil)).Elem() } func (i ApiExtensionArray) ToApiExtensionArrayOutput() ApiExtensionArrayOutput { @@ -200,7 +173,7 @@ func (i ApiExtensionArray) ToApiExtensionArrayOutputWithContext(ctx context.Cont // ApiExtensionMapInput is an input type that accepts ApiExtensionMap and ApiExtensionMapOutput values. // You can construct a concrete instance of `ApiExtensionMapInput` via: // -// ApiExtensionMap{ "key": ApiExtensionArgs{...} } +// ApiExtensionMap{ "key": ApiExtensionArgs{...} } type ApiExtensionMapInput interface { pulumi.Input @@ -211,7 +184,7 @@ type ApiExtensionMapInput interface { type ApiExtensionMap map[string]ApiExtensionInput func (ApiExtensionMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ApiExtension)(nil)) + return reflect.TypeOf((*map[string]*ApiExtension)(nil)).Elem() } func (i ApiExtensionMap) ToApiExtensionMapOutput() ApiExtensionMapOutput { @@ -222,12 +195,10 @@ func (i ApiExtensionMap) ToApiExtensionMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ApiExtensionMapOutput) } -type ApiExtensionOutput struct { - *pulumi.OutputState -} +type ApiExtensionOutput struct{ *pulumi.OutputState } func (ApiExtensionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ApiExtension)(nil)) + return reflect.TypeOf((**ApiExtension)(nil)).Elem() } func (o ApiExtensionOutput) ToApiExtensionOutput() ApiExtensionOutput { @@ -238,36 +209,36 @@ func (o ApiExtensionOutput) ToApiExtensionOutputWithContext(ctx context.Context) return o } -func (o ApiExtensionOutput) ToApiExtensionPtrOutput() ApiExtensionPtrOutput { - return o.ToApiExtensionPtrOutputWithContext(context.Background()) +// [Destination](https://docs.commercetools.com/api/projects/api-extensions#destination) Details where the extension can be +// reached +func (o ApiExtensionOutput) Destination() ApiExtensionDestinationOutput { + return o.ApplyT(func(v *ApiExtension) ApiExtensionDestinationOutput { return v.Destination }).(ApiExtensionDestinationOutput) } -func (o ApiExtensionOutput) ToApiExtensionPtrOutputWithContext(ctx context.Context) ApiExtensionPtrOutput { - return o.ApplyT(func(v ApiExtension) *ApiExtension { - return &v - }).(ApiExtensionPtrOutput) +// User-specific unique identifier for the extension +func (o ApiExtensionOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ApiExtension) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -type ApiExtensionPtrOutput struct { - *pulumi.OutputState +// Extension timeout in milliseconds +func (o ApiExtensionOutput) TimeoutInMs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ApiExtension) pulumi.IntPtrOutput { return v.TimeoutInMs }).(pulumi.IntPtrOutput) } -func (ApiExtensionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ApiExtension)(nil)) +// Array of [Trigger](https://docs.commercetools.com/api/projects/api-extensions#trigger) Describes what triggers the +// extension +func (o ApiExtensionOutput) Triggers() ApiExtensionTriggerArrayOutput { + return o.ApplyT(func(v *ApiExtension) ApiExtensionTriggerArrayOutput { return v.Triggers }).(ApiExtensionTriggerArrayOutput) } -func (o ApiExtensionPtrOutput) ToApiExtensionPtrOutput() ApiExtensionPtrOutput { - return o -} - -func (o ApiExtensionPtrOutput) ToApiExtensionPtrOutputWithContext(ctx context.Context) ApiExtensionPtrOutput { - return o +func (o ApiExtensionOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ApiExtension) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ApiExtensionArrayOutput struct{ *pulumi.OutputState } func (ApiExtensionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ApiExtension)(nil)) + return reflect.TypeOf((*[]*ApiExtension)(nil)).Elem() } func (o ApiExtensionArrayOutput) ToApiExtensionArrayOutput() ApiExtensionArrayOutput { @@ -279,15 +250,15 @@ func (o ApiExtensionArrayOutput) ToApiExtensionArrayOutputWithContext(ctx contex } func (o ApiExtensionArrayOutput) Index(i pulumi.IntInput) ApiExtensionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ApiExtension { - return vs[0].([]ApiExtension)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ApiExtension { + return vs[0].([]*ApiExtension)[vs[1].(int)] }).(ApiExtensionOutput) } type ApiExtensionMapOutput struct{ *pulumi.OutputState } func (ApiExtensionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ApiExtension)(nil)) + return reflect.TypeOf((*map[string]*ApiExtension)(nil)).Elem() } func (o ApiExtensionMapOutput) ToApiExtensionMapOutput() ApiExtensionMapOutput { @@ -299,14 +270,16 @@ func (o ApiExtensionMapOutput) ToApiExtensionMapOutputWithContext(ctx context.Co } func (o ApiExtensionMapOutput) MapIndex(k pulumi.StringInput) ApiExtensionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ApiExtension { - return vs[0].(map[string]ApiExtension)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ApiExtension { + return vs[0].(map[string]*ApiExtension)[vs[1].(string)] }).(ApiExtensionOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionInput)(nil)).Elem(), &ApiExtension{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionArrayInput)(nil)).Elem(), ApiExtensionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionMapInput)(nil)).Elem(), ApiExtensionMap{}) pulumi.RegisterOutputType(ApiExtensionOutput{}) - pulumi.RegisterOutputType(ApiExtensionPtrOutput{}) pulumi.RegisterOutputType(ApiExtensionArrayOutput{}) pulumi.RegisterOutputType(ApiExtensionMapOutput{}) } diff --git a/sdk/go/commercetools/cartDiscount.go b/sdk/go/commercetools/cartDiscount.go index 67bbc8a..a3bb25a 100644 --- a/sdk/go/commercetools/cartDiscount.go +++ b/sdk/go/commercetools/cartDiscount.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -60,6 +61,7 @@ func NewCartDiscount(ctx *pulumi.Context, if args.Value == nil { return nil, errors.New("invalid value for required argument 'Value'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource CartDiscount err := ctx.RegisterResource("commercetools:index/cartDiscount:CartDiscount", name, args, &resource, opts...) if err != nil { @@ -220,7 +222,7 @@ type CartDiscountInput interface { } func (*CartDiscount) ElementType() reflect.Type { - return reflect.TypeOf((*CartDiscount)(nil)) + return reflect.TypeOf((**CartDiscount)(nil)).Elem() } func (i *CartDiscount) ToCartDiscountOutput() CartDiscountOutput { @@ -231,39 +233,10 @@ func (i *CartDiscount) ToCartDiscountOutputWithContext(ctx context.Context) Cart return pulumi.ToOutputWithContext(ctx, i).(CartDiscountOutput) } -func (i *CartDiscount) ToCartDiscountPtrOutput() CartDiscountPtrOutput { - return i.ToCartDiscountPtrOutputWithContext(context.Background()) -} - -func (i *CartDiscount) ToCartDiscountPtrOutputWithContext(ctx context.Context) CartDiscountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CartDiscountPtrOutput) -} - -type CartDiscountPtrInput interface { - pulumi.Input - - ToCartDiscountPtrOutput() CartDiscountPtrOutput - ToCartDiscountPtrOutputWithContext(ctx context.Context) CartDiscountPtrOutput -} - -type cartDiscountPtrType CartDiscountArgs - -func (*cartDiscountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CartDiscount)(nil)) -} - -func (i *cartDiscountPtrType) ToCartDiscountPtrOutput() CartDiscountPtrOutput { - return i.ToCartDiscountPtrOutputWithContext(context.Background()) -} - -func (i *cartDiscountPtrType) ToCartDiscountPtrOutputWithContext(ctx context.Context) CartDiscountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CartDiscountPtrOutput) -} - // CartDiscountArrayInput is an input type that accepts CartDiscountArray and CartDiscountArrayOutput values. // You can construct a concrete instance of `CartDiscountArrayInput` via: // -// CartDiscountArray{ CartDiscountArgs{...} } +// CartDiscountArray{ CartDiscountArgs{...} } type CartDiscountArrayInput interface { pulumi.Input @@ -274,7 +247,7 @@ type CartDiscountArrayInput interface { type CartDiscountArray []CartDiscountInput func (CartDiscountArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*CartDiscount)(nil)) + return reflect.TypeOf((*[]*CartDiscount)(nil)).Elem() } func (i CartDiscountArray) ToCartDiscountArrayOutput() CartDiscountArrayOutput { @@ -288,7 +261,7 @@ func (i CartDiscountArray) ToCartDiscountArrayOutputWithContext(ctx context.Cont // CartDiscountMapInput is an input type that accepts CartDiscountMap and CartDiscountMapOutput values. // You can construct a concrete instance of `CartDiscountMapInput` via: // -// CartDiscountMap{ "key": CartDiscountArgs{...} } +// CartDiscountMap{ "key": CartDiscountArgs{...} } type CartDiscountMapInput interface { pulumi.Input @@ -299,7 +272,7 @@ type CartDiscountMapInput interface { type CartDiscountMap map[string]CartDiscountInput func (CartDiscountMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*CartDiscount)(nil)) + return reflect.TypeOf((*map[string]*CartDiscount)(nil)).Elem() } func (i CartDiscountMap) ToCartDiscountMapOutput() CartDiscountMapOutput { @@ -310,12 +283,10 @@ func (i CartDiscountMap) ToCartDiscountMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CartDiscountMapOutput) } -type CartDiscountOutput struct { - *pulumi.OutputState -} +type CartDiscountOutput struct{ *pulumi.OutputState } func (CartDiscountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CartDiscount)(nil)) + return reflect.TypeOf((**CartDiscount)(nil)).Elem() } func (o CartDiscountOutput) ToCartDiscountOutput() CartDiscountOutput { @@ -326,36 +297,77 @@ func (o CartDiscountOutput) ToCartDiscountOutputWithContext(ctx context.Context) return o } -func (o CartDiscountOutput) ToCartDiscountPtrOutput() CartDiscountPtrOutput { - return o.ToCartDiscountPtrOutputWithContext(context.Background()) +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o CartDiscountOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) } -func (o CartDiscountOutput) ToCartDiscountPtrOutputWithContext(ctx context.Context) CartDiscountPtrOutput { - return o.ApplyT(func(v CartDiscount) *CartDiscount { - return &v - }).(CartDiscountPtrOutput) +// Only active discount can be applied to the cart +func (o CartDiscountOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.BoolPtrOutput { return v.IsActive }).(pulumi.BoolPtrOutput) } -type CartDiscountPtrOutput struct { - *pulumi.OutputState +// User-specific unique identifier for a cart discount. Must be unique across a project +func (o CartDiscountOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -func (CartDiscountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CartDiscount)(nil)) +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o CartDiscountOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) } -func (o CartDiscountPtrOutput) ToCartDiscountPtrOutput() CartDiscountPtrOutput { - return o +// A valid [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates) +func (o CartDiscountOutput) Predicate() pulumi.StringOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringOutput { return v.Predicate }).(pulumi.StringOutput) } -func (o CartDiscountPtrOutput) ToCartDiscountPtrOutputWithContext(ctx context.Context) CartDiscountPtrOutput { - return o +// States whether the discount can only be used in a connection with a +// [DiscountCode](https://docs.commercetools.com/api/projects/discountCodes#discountcode) +func (o CartDiscountOutput) RequiresDiscountCode() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.BoolPtrOutput { return v.RequiresDiscountCode }).(pulumi.BoolPtrOutput) +} + +// The string must contain a number between 0 and 1. All matching cart discounts are applied to a cart in the order defined +// by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. The sort +// order is unambiguous among all cart discounts +func (o CartDiscountOutput) SortOrder() pulumi.StringOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringOutput { return v.SortOrder }).(pulumi.StringOutput) +} + +// Specifies whether the application of this discount causes the following discounts to be ignored +func (o CartDiscountOutput) StackingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringPtrOutput { return v.StackingMode }).(pulumi.StringPtrOutput) +} + +// Empty when the value has type giftLineItem, otherwise a +// [CartDiscountTarget](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscounttarget) +func (o CartDiscountOutput) Target() CartDiscountTargetPtrOutput { + return o.ApplyT(func(v *CartDiscount) CartDiscountTargetPtrOutput { return v.Target }).(CartDiscountTargetPtrOutput) +} + +func (o CartDiscountOutput) ValidFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringPtrOutput { return v.ValidFrom }).(pulumi.StringPtrOutput) +} + +func (o CartDiscountOutput) ValidUntil() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.StringPtrOutput { return v.ValidUntil }).(pulumi.StringPtrOutput) +} + +// Defines the effect the discount will have. +// [CartDiscountValue](https://docs.commercetools.com/api/projects/cartDiscounts#cartdiscountvalue) +func (o CartDiscountOutput) Value() CartDiscountValueOutput { + return o.ApplyT(func(v *CartDiscount) CartDiscountValueOutput { return v.Value }).(CartDiscountValueOutput) +} + +func (o CartDiscountOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *CartDiscount) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type CartDiscountArrayOutput struct{ *pulumi.OutputState } func (CartDiscountArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CartDiscount)(nil)) + return reflect.TypeOf((*[]*CartDiscount)(nil)).Elem() } func (o CartDiscountArrayOutput) ToCartDiscountArrayOutput() CartDiscountArrayOutput { @@ -367,15 +379,15 @@ func (o CartDiscountArrayOutput) ToCartDiscountArrayOutputWithContext(ctx contex } func (o CartDiscountArrayOutput) Index(i pulumi.IntInput) CartDiscountOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CartDiscount { - return vs[0].([]CartDiscount)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CartDiscount { + return vs[0].([]*CartDiscount)[vs[1].(int)] }).(CartDiscountOutput) } type CartDiscountMapOutput struct{ *pulumi.OutputState } func (CartDiscountMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]CartDiscount)(nil)) + return reflect.TypeOf((*map[string]*CartDiscount)(nil)).Elem() } func (o CartDiscountMapOutput) ToCartDiscountMapOutput() CartDiscountMapOutput { @@ -387,14 +399,16 @@ func (o CartDiscountMapOutput) ToCartDiscountMapOutputWithContext(ctx context.Co } func (o CartDiscountMapOutput) MapIndex(k pulumi.StringInput) CartDiscountOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) CartDiscount { - return vs[0].(map[string]CartDiscount)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CartDiscount { + return vs[0].(map[string]*CartDiscount)[vs[1].(string)] }).(CartDiscountOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountInput)(nil)).Elem(), &CartDiscount{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountArrayInput)(nil)).Elem(), CartDiscountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountMapInput)(nil)).Elem(), CartDiscountMap{}) pulumi.RegisterOutputType(CartDiscountOutput{}) - pulumi.RegisterOutputType(CartDiscountPtrOutput{}) pulumi.RegisterOutputType(CartDiscountArrayOutput{}) pulumi.RegisterOutputType(CartDiscountMapOutput{}) } diff --git a/sdk/go/commercetools/category.go b/sdk/go/commercetools/category.go new file mode 100644 index 0000000..49c101e --- /dev/null +++ b/sdk/go/commercetools/category.go @@ -0,0 +1,348 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package commercetools + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Category struct { + pulumi.CustomResourceState + + // Can be used to store images, icons or movies related to this category + Assets CategoryAssetArrayOutput `pulumi:"assets"` + Custom CategoryCustomPtrOutput `pulumi:"custom"` + Description pulumi.MapOutput `pulumi:"description"` + ExternalId pulumi.StringPtrOutput `pulumi:"externalId"` + // Category-specific unique identifier. Must be unique across a project + Key pulumi.StringPtrOutput `pulumi:"key"` + MetaDescription pulumi.MapOutput `pulumi:"metaDescription"` + MetaKeywords pulumi.MapOutput `pulumi:"metaKeywords"` + MetaTitle pulumi.MapOutput `pulumi:"metaTitle"` + Name pulumi.MapOutput `pulumi:"name"` + // An attribute as base for a custom category order in one level, filled with random value when left empty + OrderHint pulumi.StringPtrOutput `pulumi:"orderHint"` + // A category that is the parent of this category in the category tree + Parent pulumi.StringPtrOutput `pulumi:"parent"` + // Human readable identifiers, needs to be unique + Slug pulumi.MapOutput `pulumi:"slug"` + Version pulumi.IntOutput `pulumi:"version"` +} + +// NewCategory registers a new resource with the given unique name, arguments, and options. +func NewCategory(ctx *pulumi.Context, + name string, args *CategoryArgs, opts ...pulumi.ResourceOption) (*Category, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Slug == nil { + return nil, errors.New("invalid value for required argument 'Slug'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource Category + err := ctx.RegisterResource("commercetools:index/category:Category", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCategory gets an existing Category resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCategory(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CategoryState, opts ...pulumi.ResourceOption) (*Category, error) { + var resource Category + err := ctx.ReadResource("commercetools:index/category:Category", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Category resources. +type categoryState struct { + // Can be used to store images, icons or movies related to this category + Assets []CategoryAsset `pulumi:"assets"` + Custom *CategoryCustom `pulumi:"custom"` + Description map[string]interface{} `pulumi:"description"` + ExternalId *string `pulumi:"externalId"` + // Category-specific unique identifier. Must be unique across a project + Key *string `pulumi:"key"` + MetaDescription map[string]interface{} `pulumi:"metaDescription"` + MetaKeywords map[string]interface{} `pulumi:"metaKeywords"` + MetaTitle map[string]interface{} `pulumi:"metaTitle"` + Name map[string]interface{} `pulumi:"name"` + // An attribute as base for a custom category order in one level, filled with random value when left empty + OrderHint *string `pulumi:"orderHint"` + // A category that is the parent of this category in the category tree + Parent *string `pulumi:"parent"` + // Human readable identifiers, needs to be unique + Slug map[string]interface{} `pulumi:"slug"` + Version *int `pulumi:"version"` +} + +type CategoryState struct { + // Can be used to store images, icons or movies related to this category + Assets CategoryAssetArrayInput + Custom CategoryCustomPtrInput + Description pulumi.MapInput + ExternalId pulumi.StringPtrInput + // Category-specific unique identifier. Must be unique across a project + Key pulumi.StringPtrInput + MetaDescription pulumi.MapInput + MetaKeywords pulumi.MapInput + MetaTitle pulumi.MapInput + Name pulumi.MapInput + // An attribute as base for a custom category order in one level, filled with random value when left empty + OrderHint pulumi.StringPtrInput + // A category that is the parent of this category in the category tree + Parent pulumi.StringPtrInput + // Human readable identifiers, needs to be unique + Slug pulumi.MapInput + Version pulumi.IntPtrInput +} + +func (CategoryState) ElementType() reflect.Type { + return reflect.TypeOf((*categoryState)(nil)).Elem() +} + +type categoryArgs struct { + // Can be used to store images, icons or movies related to this category + Assets []CategoryAsset `pulumi:"assets"` + Custom *CategoryCustom `pulumi:"custom"` + Description map[string]interface{} `pulumi:"description"` + ExternalId *string `pulumi:"externalId"` + // Category-specific unique identifier. Must be unique across a project + Key *string `pulumi:"key"` + MetaDescription map[string]interface{} `pulumi:"metaDescription"` + MetaKeywords map[string]interface{} `pulumi:"metaKeywords"` + MetaTitle map[string]interface{} `pulumi:"metaTitle"` + Name map[string]interface{} `pulumi:"name"` + // An attribute as base for a custom category order in one level, filled with random value when left empty + OrderHint *string `pulumi:"orderHint"` + // A category that is the parent of this category in the category tree + Parent *string `pulumi:"parent"` + // Human readable identifiers, needs to be unique + Slug map[string]interface{} `pulumi:"slug"` +} + +// The set of arguments for constructing a Category resource. +type CategoryArgs struct { + // Can be used to store images, icons or movies related to this category + Assets CategoryAssetArrayInput + Custom CategoryCustomPtrInput + Description pulumi.MapInput + ExternalId pulumi.StringPtrInput + // Category-specific unique identifier. Must be unique across a project + Key pulumi.StringPtrInput + MetaDescription pulumi.MapInput + MetaKeywords pulumi.MapInput + MetaTitle pulumi.MapInput + Name pulumi.MapInput + // An attribute as base for a custom category order in one level, filled with random value when left empty + OrderHint pulumi.StringPtrInput + // A category that is the parent of this category in the category tree + Parent pulumi.StringPtrInput + // Human readable identifiers, needs to be unique + Slug pulumi.MapInput +} + +func (CategoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*categoryArgs)(nil)).Elem() +} + +type CategoryInput interface { + pulumi.Input + + ToCategoryOutput() CategoryOutput + ToCategoryOutputWithContext(ctx context.Context) CategoryOutput +} + +func (*Category) ElementType() reflect.Type { + return reflect.TypeOf((**Category)(nil)).Elem() +} + +func (i *Category) ToCategoryOutput() CategoryOutput { + return i.ToCategoryOutputWithContext(context.Background()) +} + +func (i *Category) ToCategoryOutputWithContext(ctx context.Context) CategoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryOutput) +} + +// CategoryArrayInput is an input type that accepts CategoryArray and CategoryArrayOutput values. +// You can construct a concrete instance of `CategoryArrayInput` via: +// +// CategoryArray{ CategoryArgs{...} } +type CategoryArrayInput interface { + pulumi.Input + + ToCategoryArrayOutput() CategoryArrayOutput + ToCategoryArrayOutputWithContext(context.Context) CategoryArrayOutput +} + +type CategoryArray []CategoryInput + +func (CategoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Category)(nil)).Elem() +} + +func (i CategoryArray) ToCategoryArrayOutput() CategoryArrayOutput { + return i.ToCategoryArrayOutputWithContext(context.Background()) +} + +func (i CategoryArray) ToCategoryArrayOutputWithContext(ctx context.Context) CategoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryArrayOutput) +} + +// CategoryMapInput is an input type that accepts CategoryMap and CategoryMapOutput values. +// You can construct a concrete instance of `CategoryMapInput` via: +// +// CategoryMap{ "key": CategoryArgs{...} } +type CategoryMapInput interface { + pulumi.Input + + ToCategoryMapOutput() CategoryMapOutput + ToCategoryMapOutputWithContext(context.Context) CategoryMapOutput +} + +type CategoryMap map[string]CategoryInput + +func (CategoryMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Category)(nil)).Elem() +} + +func (i CategoryMap) ToCategoryMapOutput() CategoryMapOutput { + return i.ToCategoryMapOutputWithContext(context.Background()) +} + +func (i CategoryMap) ToCategoryMapOutputWithContext(ctx context.Context) CategoryMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryMapOutput) +} + +type CategoryOutput struct{ *pulumi.OutputState } + +func (CategoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Category)(nil)).Elem() +} + +func (o CategoryOutput) ToCategoryOutput() CategoryOutput { + return o +} + +func (o CategoryOutput) ToCategoryOutputWithContext(ctx context.Context) CategoryOutput { + return o +} + +// Can be used to store images, icons or movies related to this category +func (o CategoryOutput) Assets() CategoryAssetArrayOutput { + return o.ApplyT(func(v *Category) CategoryAssetArrayOutput { return v.Assets }).(CategoryAssetArrayOutput) +} + +func (o CategoryOutput) Custom() CategoryCustomPtrOutput { + return o.ApplyT(func(v *Category) CategoryCustomPtrOutput { return v.Custom }).(CategoryCustomPtrOutput) +} + +func (o CategoryOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) +} + +func (o CategoryOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Category) pulumi.StringPtrOutput { return v.ExternalId }).(pulumi.StringPtrOutput) +} + +// Category-specific unique identifier. Must be unique across a project +func (o CategoryOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Category) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) +} + +func (o CategoryOutput) MetaDescription() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.MetaDescription }).(pulumi.MapOutput) +} + +func (o CategoryOutput) MetaKeywords() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.MetaKeywords }).(pulumi.MapOutput) +} + +func (o CategoryOutput) MetaTitle() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.MetaTitle }).(pulumi.MapOutput) +} + +func (o CategoryOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) +} + +// An attribute as base for a custom category order in one level, filled with random value when left empty +func (o CategoryOutput) OrderHint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Category) pulumi.StringPtrOutput { return v.OrderHint }).(pulumi.StringPtrOutput) +} + +// A category that is the parent of this category in the category tree +func (o CategoryOutput) Parent() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Category) pulumi.StringPtrOutput { return v.Parent }).(pulumi.StringPtrOutput) +} + +// Human readable identifiers, needs to be unique +func (o CategoryOutput) Slug() pulumi.MapOutput { + return o.ApplyT(func(v *Category) pulumi.MapOutput { return v.Slug }).(pulumi.MapOutput) +} + +func (o CategoryOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Category) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) +} + +type CategoryArrayOutput struct{ *pulumi.OutputState } + +func (CategoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*Category)(nil)).Elem() +} + +func (o CategoryArrayOutput) ToCategoryArrayOutput() CategoryArrayOutput { + return o +} + +func (o CategoryArrayOutput) ToCategoryArrayOutputWithContext(ctx context.Context) CategoryArrayOutput { + return o +} + +func (o CategoryArrayOutput) Index(i pulumi.IntInput) CategoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Category { + return vs[0].([]*Category)[vs[1].(int)] + }).(CategoryOutput) +} + +type CategoryMapOutput struct{ *pulumi.OutputState } + +func (CategoryMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*Category)(nil)).Elem() +} + +func (o CategoryMapOutput) ToCategoryMapOutput() CategoryMapOutput { + return o +} + +func (o CategoryMapOutput) ToCategoryMapOutputWithContext(ctx context.Context) CategoryMapOutput { + return o +} + +func (o CategoryMapOutput) MapIndex(k pulumi.StringInput) CategoryOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Category { + return vs[0].(map[string]*Category)[vs[1].(string)] + }).(CategoryOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CategoryInput)(nil)).Elem(), &Category{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryArrayInput)(nil)).Elem(), CategoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryMapInput)(nil)).Elem(), CategoryMap{}) + pulumi.RegisterOutputType(CategoryOutput{}) + pulumi.RegisterOutputType(CategoryArrayOutput{}) + pulumi.RegisterOutputType(CategoryMapOutput{}) +} diff --git a/sdk/go/commercetools/channel.go b/sdk/go/commercetools/channel.go index e5c546b..df34ea2 100644 --- a/sdk/go/commercetools/channel.go +++ b/sdk/go/commercetools/channel.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,15 +7,19 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) type Channel struct { pulumi.CustomResourceState + Address ChannelAddressPtrOutput `pulumi:"address"` + Custom ChannelCustomPtrOutput `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description pulumi.MapOutput `pulumi:"description"` + Description pulumi.MapOutput `pulumi:"description"` + Geolocation ChannelGeolocationPtrOutput `pulumi:"geolocation"` // Any arbitrary string key that uniquely identifies this channel within the project Key pulumi.StringOutput `pulumi:"key"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -39,6 +43,7 @@ func NewChannel(ctx *pulumi.Context, if args.Roles == nil { return nil, errors.New("invalid value for required argument 'Roles'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource Channel err := ctx.RegisterResource("commercetools:index/channel:Channel", name, args, &resource, opts...) if err != nil { @@ -61,8 +66,11 @@ func GetChannel(ctx *pulumi.Context, // Input properties used for looking up and filtering Channel resources. type channelState struct { + Address *ChannelAddress `pulumi:"address"` + Custom *ChannelCustom `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description map[string]interface{} `pulumi:"description"` + Geolocation *ChannelGeolocation `pulumi:"geolocation"` // Any arbitrary string key that uniquely identifies this channel within the project Key *string `pulumi:"key"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -74,8 +82,11 @@ type channelState struct { } type ChannelState struct { + Address ChannelAddressPtrInput + Custom ChannelCustomPtrInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description pulumi.MapInput + Geolocation ChannelGeolocationPtrInput // Any arbitrary string key that uniquely identifies this channel within the project Key pulumi.StringPtrInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -91,8 +102,11 @@ func (ChannelState) ElementType() reflect.Type { } type channelArgs struct { + Address *ChannelAddress `pulumi:"address"` + Custom *ChannelCustom `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description map[string]interface{} `pulumi:"description"` + Geolocation *ChannelGeolocation `pulumi:"geolocation"` // Any arbitrary string key that uniquely identifies this channel within the project Key string `pulumi:"key"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -104,8 +118,11 @@ type channelArgs struct { // The set of arguments for constructing a Channel resource. type ChannelArgs struct { + Address ChannelAddressPtrInput + Custom ChannelCustomPtrInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description pulumi.MapInput + Geolocation ChannelGeolocationPtrInput // Any arbitrary string key that uniquely identifies this channel within the project Key pulumi.StringInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) @@ -127,7 +144,7 @@ type ChannelInput interface { } func (*Channel) ElementType() reflect.Type { - return reflect.TypeOf((*Channel)(nil)) + return reflect.TypeOf((**Channel)(nil)).Elem() } func (i *Channel) ToChannelOutput() ChannelOutput { @@ -138,39 +155,10 @@ func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput return pulumi.ToOutputWithContext(ctx, i).(ChannelOutput) } -func (i *Channel) ToChannelPtrOutput() ChannelPtrOutput { - return i.ToChannelPtrOutputWithContext(context.Background()) -} - -func (i *Channel) ToChannelPtrOutputWithContext(ctx context.Context) ChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ChannelPtrOutput) -} - -type ChannelPtrInput interface { - pulumi.Input - - ToChannelPtrOutput() ChannelPtrOutput - ToChannelPtrOutputWithContext(ctx context.Context) ChannelPtrOutput -} - -type channelPtrType ChannelArgs - -func (*channelPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Channel)(nil)) -} - -func (i *channelPtrType) ToChannelPtrOutput() ChannelPtrOutput { - return i.ToChannelPtrOutputWithContext(context.Background()) -} - -func (i *channelPtrType) ToChannelPtrOutputWithContext(ctx context.Context) ChannelPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ChannelPtrOutput) -} - // ChannelArrayInput is an input type that accepts ChannelArray and ChannelArrayOutput values. // You can construct a concrete instance of `ChannelArrayInput` via: // -// ChannelArray{ ChannelArgs{...} } +// ChannelArray{ ChannelArgs{...} } type ChannelArrayInput interface { pulumi.Input @@ -181,7 +169,7 @@ type ChannelArrayInput interface { type ChannelArray []ChannelInput func (ChannelArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*Channel)(nil)) + return reflect.TypeOf((*[]*Channel)(nil)).Elem() } func (i ChannelArray) ToChannelArrayOutput() ChannelArrayOutput { @@ -195,7 +183,7 @@ func (i ChannelArray) ToChannelArrayOutputWithContext(ctx context.Context) Chann // ChannelMapInput is an input type that accepts ChannelMap and ChannelMapOutput values. // You can construct a concrete instance of `ChannelMapInput` via: // -// ChannelMap{ "key": ChannelArgs{...} } +// ChannelMap{ "key": ChannelArgs{...} } type ChannelMapInput interface { pulumi.Input @@ -206,7 +194,7 @@ type ChannelMapInput interface { type ChannelMap map[string]ChannelInput func (ChannelMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*Channel)(nil)) + return reflect.TypeOf((*map[string]*Channel)(nil)).Elem() } func (i ChannelMap) ToChannelMapOutput() ChannelMapOutput { @@ -217,12 +205,10 @@ func (i ChannelMap) ToChannelMapOutputWithContext(ctx context.Context) ChannelMa return pulumi.ToOutputWithContext(ctx, i).(ChannelMapOutput) } -type ChannelOutput struct { - *pulumi.OutputState -} +type ChannelOutput struct{ *pulumi.OutputState } func (ChannelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Channel)(nil)) + return reflect.TypeOf((**Channel)(nil)).Elem() } func (o ChannelOutput) ToChannelOutput() ChannelOutput { @@ -233,36 +219,47 @@ func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOu return o } -func (o ChannelOutput) ToChannelPtrOutput() ChannelPtrOutput { - return o.ToChannelPtrOutputWithContext(context.Background()) +func (o ChannelOutput) Address() ChannelAddressPtrOutput { + return o.ApplyT(func(v *Channel) ChannelAddressPtrOutput { return v.Address }).(ChannelAddressPtrOutput) } -func (o ChannelOutput) ToChannelPtrOutputWithContext(ctx context.Context) ChannelPtrOutput { - return o.ApplyT(func(v Channel) *Channel { - return &v - }).(ChannelPtrOutput) +func (o ChannelOutput) Custom() ChannelCustomPtrOutput { + return o.ApplyT(func(v *Channel) ChannelCustomPtrOutput { return v.Custom }).(ChannelCustomPtrOutput) } -type ChannelPtrOutput struct { - *pulumi.OutputState +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o ChannelOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *Channel) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) } -func (ChannelPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Channel)(nil)) +func (o ChannelOutput) Geolocation() ChannelGeolocationPtrOutput { + return o.ApplyT(func(v *Channel) ChannelGeolocationPtrOutput { return v.Geolocation }).(ChannelGeolocationPtrOutput) } -func (o ChannelPtrOutput) ToChannelPtrOutput() ChannelPtrOutput { - return o +// Any arbitrary string key that uniquely identifies this channel within the project +func (o ChannelOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *Channel) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) } -func (o ChannelPtrOutput) ToChannelPtrOutputWithContext(ctx context.Context) ChannelPtrOutput { - return o +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o ChannelOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *Channel) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) +} + +// The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must +// have at least one role +func (o ChannelOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Channel) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) +} + +func (o ChannelOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Channel) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ChannelArrayOutput struct{ *pulumi.OutputState } func (ChannelArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]Channel)(nil)) + return reflect.TypeOf((*[]*Channel)(nil)).Elem() } func (o ChannelArrayOutput) ToChannelArrayOutput() ChannelArrayOutput { @@ -274,15 +271,15 @@ func (o ChannelArrayOutput) ToChannelArrayOutputWithContext(ctx context.Context) } func (o ChannelArrayOutput) Index(i pulumi.IntInput) ChannelOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) Channel { - return vs[0].([]Channel)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Channel { + return vs[0].([]*Channel)[vs[1].(int)] }).(ChannelOutput) } type ChannelMapOutput struct{ *pulumi.OutputState } func (ChannelMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]Channel)(nil)) + return reflect.TypeOf((*map[string]*Channel)(nil)).Elem() } func (o ChannelMapOutput) ToChannelMapOutput() ChannelMapOutput { @@ -294,14 +291,16 @@ func (o ChannelMapOutput) ToChannelMapOutputWithContext(ctx context.Context) Cha } func (o ChannelMapOutput) MapIndex(k pulumi.StringInput) ChannelOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) Channel { - return vs[0].(map[string]Channel)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Channel { + return vs[0].(map[string]*Channel)[vs[1].(string)] }).(ChannelOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ChannelInput)(nil)).Elem(), &Channel{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelArrayInput)(nil)).Elem(), ChannelArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelMapInput)(nil)).Elem(), ChannelMap{}) pulumi.RegisterOutputType(ChannelOutput{}) - pulumi.RegisterOutputType(ChannelPtrOutput{}) pulumi.RegisterOutputType(ChannelArrayOutput{}) pulumi.RegisterOutputType(ChannelMapOutput{}) } diff --git a/sdk/go/commercetools/config/config.go b/sdk/go/commercetools/config/config.go index d6abc1b..004d329 100644 --- a/sdk/go/commercetools/config/config.go +++ b/sdk/go/commercetools/config/config.go @@ -1,13 +1,16 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package config import ( + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" ) +var _ = internal.GetEnvOrDefault + // The API URL of the commercetools platform. https://docs.commercetools.com/http-api func GetApiUrl(ctx *pulumi.Context) string { return config.Get(ctx, "commercetools:apiUrl") diff --git a/sdk/go/commercetools/customObject.go b/sdk/go/commercetools/customObject.go index 27ef6d1..5eaae23 100644 --- a/sdk/go/commercetools/customObject.go +++ b/sdk/go/commercetools/customObject.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -39,6 +40,7 @@ func NewCustomObject(ctx *pulumi.Context, if args.Value == nil { return nil, errors.New("invalid value for required argument 'Value'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource CustomObject err := ctx.RegisterResource("commercetools:index/customObject:CustomObject", name, args, &resource, opts...) if err != nil { @@ -115,7 +117,7 @@ type CustomObjectInput interface { } func (*CustomObject) ElementType() reflect.Type { - return reflect.TypeOf((*CustomObject)(nil)) + return reflect.TypeOf((**CustomObject)(nil)).Elem() } func (i *CustomObject) ToCustomObjectOutput() CustomObjectOutput { @@ -126,39 +128,10 @@ func (i *CustomObject) ToCustomObjectOutputWithContext(ctx context.Context) Cust return pulumi.ToOutputWithContext(ctx, i).(CustomObjectOutput) } -func (i *CustomObject) ToCustomObjectPtrOutput() CustomObjectPtrOutput { - return i.ToCustomObjectPtrOutputWithContext(context.Background()) -} - -func (i *CustomObject) ToCustomObjectPtrOutputWithContext(ctx context.Context) CustomObjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomObjectPtrOutput) -} - -type CustomObjectPtrInput interface { - pulumi.Input - - ToCustomObjectPtrOutput() CustomObjectPtrOutput - ToCustomObjectPtrOutputWithContext(ctx context.Context) CustomObjectPtrOutput -} - -type customObjectPtrType CustomObjectArgs - -func (*customObjectPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomObject)(nil)) -} - -func (i *customObjectPtrType) ToCustomObjectPtrOutput() CustomObjectPtrOutput { - return i.ToCustomObjectPtrOutputWithContext(context.Background()) -} - -func (i *customObjectPtrType) ToCustomObjectPtrOutputWithContext(ctx context.Context) CustomObjectPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomObjectPtrOutput) -} - // CustomObjectArrayInput is an input type that accepts CustomObjectArray and CustomObjectArrayOutput values. // You can construct a concrete instance of `CustomObjectArrayInput` via: // -// CustomObjectArray{ CustomObjectArgs{...} } +// CustomObjectArray{ CustomObjectArgs{...} } type CustomObjectArrayInput interface { pulumi.Input @@ -169,7 +142,7 @@ type CustomObjectArrayInput interface { type CustomObjectArray []CustomObjectInput func (CustomObjectArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*CustomObject)(nil)) + return reflect.TypeOf((*[]*CustomObject)(nil)).Elem() } func (i CustomObjectArray) ToCustomObjectArrayOutput() CustomObjectArrayOutput { @@ -183,7 +156,7 @@ func (i CustomObjectArray) ToCustomObjectArrayOutputWithContext(ctx context.Cont // CustomObjectMapInput is an input type that accepts CustomObjectMap and CustomObjectMapOutput values. // You can construct a concrete instance of `CustomObjectMapInput` via: // -// CustomObjectMap{ "key": CustomObjectArgs{...} } +// CustomObjectMap{ "key": CustomObjectArgs{...} } type CustomObjectMapInput interface { pulumi.Input @@ -194,7 +167,7 @@ type CustomObjectMapInput interface { type CustomObjectMap map[string]CustomObjectInput func (CustomObjectMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*CustomObject)(nil)) + return reflect.TypeOf((*map[string]*CustomObject)(nil)).Elem() } func (i CustomObjectMap) ToCustomObjectMapOutput() CustomObjectMapOutput { @@ -205,12 +178,10 @@ func (i CustomObjectMap) ToCustomObjectMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(CustomObjectMapOutput) } -type CustomObjectOutput struct { - *pulumi.OutputState -} +type CustomObjectOutput struct{ *pulumi.OutputState } func (CustomObjectOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomObject)(nil)) + return reflect.TypeOf((**CustomObject)(nil)).Elem() } func (o CustomObjectOutput) ToCustomObjectOutput() CustomObjectOutput { @@ -221,36 +192,29 @@ func (o CustomObjectOutput) ToCustomObjectOutputWithContext(ctx context.Context) return o } -func (o CustomObjectOutput) ToCustomObjectPtrOutput() CustomObjectPtrOutput { - return o.ToCustomObjectPtrOutputWithContext(context.Background()) +// A namespace to group custom objects matching the pattern '[-_~.a-zA-Z0-9]+' +func (o CustomObjectOutput) Container() pulumi.StringOutput { + return o.ApplyT(func(v *CustomObject) pulumi.StringOutput { return v.Container }).(pulumi.StringOutput) } -func (o CustomObjectOutput) ToCustomObjectPtrOutputWithContext(ctx context.Context) CustomObjectPtrOutput { - return o.ApplyT(func(v CustomObject) *CustomObject { - return &v - }).(CustomObjectPtrOutput) +// String matching the pattern '[-_~.a-zA-Z0-9]+' +func (o CustomObjectOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *CustomObject) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) } -type CustomObjectPtrOutput struct { - *pulumi.OutputState +// JSON types Number, String, Boolean, Array, Object +func (o CustomObjectOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v *CustomObject) pulumi.StringOutput { return v.Value }).(pulumi.StringOutput) } -func (CustomObjectPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomObject)(nil)) -} - -func (o CustomObjectPtrOutput) ToCustomObjectPtrOutput() CustomObjectPtrOutput { - return o -} - -func (o CustomObjectPtrOutput) ToCustomObjectPtrOutputWithContext(ctx context.Context) CustomObjectPtrOutput { - return o +func (o CustomObjectOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *CustomObject) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type CustomObjectArrayOutput struct{ *pulumi.OutputState } func (CustomObjectArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CustomObject)(nil)) + return reflect.TypeOf((*[]*CustomObject)(nil)).Elem() } func (o CustomObjectArrayOutput) ToCustomObjectArrayOutput() CustomObjectArrayOutput { @@ -262,15 +226,15 @@ func (o CustomObjectArrayOutput) ToCustomObjectArrayOutputWithContext(ctx contex } func (o CustomObjectArrayOutput) Index(i pulumi.IntInput) CustomObjectOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CustomObject { - return vs[0].([]CustomObject)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CustomObject { + return vs[0].([]*CustomObject)[vs[1].(int)] }).(CustomObjectOutput) } type CustomObjectMapOutput struct{ *pulumi.OutputState } func (CustomObjectMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]CustomObject)(nil)) + return reflect.TypeOf((*map[string]*CustomObject)(nil)).Elem() } func (o CustomObjectMapOutput) ToCustomObjectMapOutput() CustomObjectMapOutput { @@ -282,14 +246,16 @@ func (o CustomObjectMapOutput) ToCustomObjectMapOutputWithContext(ctx context.Co } func (o CustomObjectMapOutput) MapIndex(k pulumi.StringInput) CustomObjectOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) CustomObject { - return vs[0].(map[string]CustomObject)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CustomObject { + return vs[0].(map[string]*CustomObject)[vs[1].(string)] }).(CustomObjectOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CustomObjectInput)(nil)).Elem(), &CustomObject{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomObjectArrayInput)(nil)).Elem(), CustomObjectArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomObjectMapInput)(nil)).Elem(), CustomObjectMap{}) pulumi.RegisterOutputType(CustomObjectOutput{}) - pulumi.RegisterOutputType(CustomObjectPtrOutput{}) pulumi.RegisterOutputType(CustomObjectArrayOutput{}) pulumi.RegisterOutputType(CustomObjectMapOutput{}) } diff --git a/sdk/go/commercetools/customerGroup.go b/sdk/go/commercetools/customerGroup.go new file mode 100644 index 0000000..e477a9c --- /dev/null +++ b/sdk/go/commercetools/customerGroup.go @@ -0,0 +1,245 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package commercetools + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CustomerGroup struct { + pulumi.CustomResourceState + + Custom CustomerGroupCustomPtrOutput `pulumi:"custom"` + // User-specific unique identifier for the customer group + Key pulumi.StringPtrOutput `pulumi:"key"` + // Unique within the project + Name pulumi.StringOutput `pulumi:"name"` + Version pulumi.IntOutput `pulumi:"version"` +} + +// NewCustomerGroup registers a new resource with the given unique name, arguments, and options. +func NewCustomerGroup(ctx *pulumi.Context, + name string, args *CustomerGroupArgs, opts ...pulumi.ResourceOption) (*CustomerGroup, error) { + if args == nil { + args = &CustomerGroupArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource CustomerGroup + err := ctx.RegisterResource("commercetools:index/customerGroup:CustomerGroup", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCustomerGroup gets an existing CustomerGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCustomerGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CustomerGroupState, opts ...pulumi.ResourceOption) (*CustomerGroup, error) { + var resource CustomerGroup + err := ctx.ReadResource("commercetools:index/customerGroup:CustomerGroup", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CustomerGroup resources. +type customerGroupState struct { + Custom *CustomerGroupCustom `pulumi:"custom"` + // User-specific unique identifier for the customer group + Key *string `pulumi:"key"` + // Unique within the project + Name *string `pulumi:"name"` + Version *int `pulumi:"version"` +} + +type CustomerGroupState struct { + Custom CustomerGroupCustomPtrInput + // User-specific unique identifier for the customer group + Key pulumi.StringPtrInput + // Unique within the project + Name pulumi.StringPtrInput + Version pulumi.IntPtrInput +} + +func (CustomerGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*customerGroupState)(nil)).Elem() +} + +type customerGroupArgs struct { + Custom *CustomerGroupCustom `pulumi:"custom"` + // User-specific unique identifier for the customer group + Key *string `pulumi:"key"` + // Unique within the project + Name *string `pulumi:"name"` +} + +// The set of arguments for constructing a CustomerGroup resource. +type CustomerGroupArgs struct { + Custom CustomerGroupCustomPtrInput + // User-specific unique identifier for the customer group + Key pulumi.StringPtrInput + // Unique within the project + Name pulumi.StringPtrInput +} + +func (CustomerGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*customerGroupArgs)(nil)).Elem() +} + +type CustomerGroupInput interface { + pulumi.Input + + ToCustomerGroupOutput() CustomerGroupOutput + ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput +} + +func (*CustomerGroup) ElementType() reflect.Type { + return reflect.TypeOf((**CustomerGroup)(nil)).Elem() +} + +func (i *CustomerGroup) ToCustomerGroupOutput() CustomerGroupOutput { + return i.ToCustomerGroupOutputWithContext(context.Background()) +} + +func (i *CustomerGroup) ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupOutput) +} + +// CustomerGroupArrayInput is an input type that accepts CustomerGroupArray and CustomerGroupArrayOutput values. +// You can construct a concrete instance of `CustomerGroupArrayInput` via: +// +// CustomerGroupArray{ CustomerGroupArgs{...} } +type CustomerGroupArrayInput interface { + pulumi.Input + + ToCustomerGroupArrayOutput() CustomerGroupArrayOutput + ToCustomerGroupArrayOutputWithContext(context.Context) CustomerGroupArrayOutput +} + +type CustomerGroupArray []CustomerGroupInput + +func (CustomerGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CustomerGroup)(nil)).Elem() +} + +func (i CustomerGroupArray) ToCustomerGroupArrayOutput() CustomerGroupArrayOutput { + return i.ToCustomerGroupArrayOutputWithContext(context.Background()) +} + +func (i CustomerGroupArray) ToCustomerGroupArrayOutputWithContext(ctx context.Context) CustomerGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupArrayOutput) +} + +// CustomerGroupMapInput is an input type that accepts CustomerGroupMap and CustomerGroupMapOutput values. +// You can construct a concrete instance of `CustomerGroupMapInput` via: +// +// CustomerGroupMap{ "key": CustomerGroupArgs{...} } +type CustomerGroupMapInput interface { + pulumi.Input + + ToCustomerGroupMapOutput() CustomerGroupMapOutput + ToCustomerGroupMapOutputWithContext(context.Context) CustomerGroupMapOutput +} + +type CustomerGroupMap map[string]CustomerGroupInput + +func (CustomerGroupMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CustomerGroup)(nil)).Elem() +} + +func (i CustomerGroupMap) ToCustomerGroupMapOutput() CustomerGroupMapOutput { + return i.ToCustomerGroupMapOutputWithContext(context.Background()) +} + +func (i CustomerGroupMap) ToCustomerGroupMapOutputWithContext(ctx context.Context) CustomerGroupMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupMapOutput) +} + +type CustomerGroupOutput struct{ *pulumi.OutputState } + +func (CustomerGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomerGroup)(nil)).Elem() +} + +func (o CustomerGroupOutput) ToCustomerGroupOutput() CustomerGroupOutput { + return o +} + +func (o CustomerGroupOutput) ToCustomerGroupOutputWithContext(ctx context.Context) CustomerGroupOutput { + return o +} + +func (o CustomerGroupOutput) Custom() CustomerGroupCustomPtrOutput { + return o.ApplyT(func(v *CustomerGroup) CustomerGroupCustomPtrOutput { return v.Custom }).(CustomerGroupCustomPtrOutput) +} + +// User-specific unique identifier for the customer group +func (o CustomerGroupOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomerGroup) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) +} + +// Unique within the project +func (o CustomerGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CustomerGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CustomerGroupOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *CustomerGroup) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) +} + +type CustomerGroupArrayOutput struct{ *pulumi.OutputState } + +func (CustomerGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*CustomerGroup)(nil)).Elem() +} + +func (o CustomerGroupArrayOutput) ToCustomerGroupArrayOutput() CustomerGroupArrayOutput { + return o +} + +func (o CustomerGroupArrayOutput) ToCustomerGroupArrayOutputWithContext(ctx context.Context) CustomerGroupArrayOutput { + return o +} + +func (o CustomerGroupArrayOutput) Index(i pulumi.IntInput) CustomerGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CustomerGroup { + return vs[0].([]*CustomerGroup)[vs[1].(int)] + }).(CustomerGroupOutput) +} + +type CustomerGroupMapOutput struct{ *pulumi.OutputState } + +func (CustomerGroupMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*CustomerGroup)(nil)).Elem() +} + +func (o CustomerGroupMapOutput) ToCustomerGroupMapOutput() CustomerGroupMapOutput { + return o +} + +func (o CustomerGroupMapOutput) ToCustomerGroupMapOutputWithContext(ctx context.Context) CustomerGroupMapOutput { + return o +} + +func (o CustomerGroupMapOutput) MapIndex(k pulumi.StringInput) CustomerGroupOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CustomerGroup { + return vs[0].(map[string]*CustomerGroup)[vs[1].(string)] + }).(CustomerGroupOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CustomerGroupInput)(nil)).Elem(), &CustomerGroup{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomerGroupArrayInput)(nil)).Elem(), CustomerGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomerGroupMapInput)(nil)).Elem(), CustomerGroupMap{}) + pulumi.RegisterOutputType(CustomerGroupOutput{}) + pulumi.RegisterOutputType(CustomerGroupArrayOutput{}) + pulumi.RegisterOutputType(CustomerGroupMapOutput{}) +} diff --git a/sdk/go/commercetools/discountCode.go b/sdk/go/commercetools/discountCode.go index 77bcb3d..6e14487 100644 --- a/sdk/go/commercetools/discountCode.go +++ b/sdk/go/commercetools/discountCode.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -18,7 +19,8 @@ type DiscountCode struct { CartDiscounts pulumi.StringArrayOutput `pulumi:"cartDiscounts"` // Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the // cart - Code pulumi.StringOutput `pulumi:"code"` + Code pulumi.StringOutput `pulumi:"code"` + Custom DiscountCodeCustomPtrOutput `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description pulumi.MapOutput `pulumi:"description"` // The groups to which this discount code belong @@ -52,6 +54,7 @@ func NewDiscountCode(ctx *pulumi.Context, if args.Code == nil { return nil, errors.New("invalid value for required argument 'Code'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource DiscountCode err := ctx.RegisterResource("commercetools:index/discountCode:DiscountCode", name, args, &resource, opts...) if err != nil { @@ -78,7 +81,8 @@ type discountCodeState struct { CartDiscounts []string `pulumi:"cartDiscounts"` // Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the // cart - Code *string `pulumi:"code"` + Code *string `pulumi:"code"` + Custom *DiscountCodeCustom `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description map[string]interface{} `pulumi:"description"` // The groups to which this discount code belong @@ -104,7 +108,8 @@ type DiscountCodeState struct { CartDiscounts pulumi.StringArrayInput // Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the // cart - Code pulumi.StringPtrInput + Code pulumi.StringPtrInput + Custom DiscountCodeCustomPtrInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description pulumi.MapInput // The groups to which this discount code belong @@ -134,7 +139,8 @@ type discountCodeArgs struct { CartDiscounts []string `pulumi:"cartDiscounts"` // Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the // cart - Code string `pulumi:"code"` + Code string `pulumi:"code"` + Custom *DiscountCodeCustom `pulumi:"custom"` // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description map[string]interface{} `pulumi:"description"` // The groups to which this discount code belong @@ -160,7 +166,8 @@ type DiscountCodeArgs struct { CartDiscounts pulumi.StringArrayInput // Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the // cart - Code pulumi.StringInput + Code pulumi.StringInput + Custom DiscountCodeCustomPtrInput // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) Description pulumi.MapInput // The groups to which this discount code belong @@ -192,7 +199,7 @@ type DiscountCodeInput interface { } func (*DiscountCode) ElementType() reflect.Type { - return reflect.TypeOf((*DiscountCode)(nil)) + return reflect.TypeOf((**DiscountCode)(nil)).Elem() } func (i *DiscountCode) ToDiscountCodeOutput() DiscountCodeOutput { @@ -203,39 +210,10 @@ func (i *DiscountCode) ToDiscountCodeOutputWithContext(ctx context.Context) Disc return pulumi.ToOutputWithContext(ctx, i).(DiscountCodeOutput) } -func (i *DiscountCode) ToDiscountCodePtrOutput() DiscountCodePtrOutput { - return i.ToDiscountCodePtrOutputWithContext(context.Background()) -} - -func (i *DiscountCode) ToDiscountCodePtrOutputWithContext(ctx context.Context) DiscountCodePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DiscountCodePtrOutput) -} - -type DiscountCodePtrInput interface { - pulumi.Input - - ToDiscountCodePtrOutput() DiscountCodePtrOutput - ToDiscountCodePtrOutputWithContext(ctx context.Context) DiscountCodePtrOutput -} - -type discountCodePtrType DiscountCodeArgs - -func (*discountCodePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DiscountCode)(nil)) -} - -func (i *discountCodePtrType) ToDiscountCodePtrOutput() DiscountCodePtrOutput { - return i.ToDiscountCodePtrOutputWithContext(context.Background()) -} - -func (i *discountCodePtrType) ToDiscountCodePtrOutputWithContext(ctx context.Context) DiscountCodePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DiscountCodePtrOutput) -} - // DiscountCodeArrayInput is an input type that accepts DiscountCodeArray and DiscountCodeArrayOutput values. // You can construct a concrete instance of `DiscountCodeArrayInput` via: // -// DiscountCodeArray{ DiscountCodeArgs{...} } +// DiscountCodeArray{ DiscountCodeArgs{...} } type DiscountCodeArrayInput interface { pulumi.Input @@ -246,7 +224,7 @@ type DiscountCodeArrayInput interface { type DiscountCodeArray []DiscountCodeInput func (DiscountCodeArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*DiscountCode)(nil)) + return reflect.TypeOf((*[]*DiscountCode)(nil)).Elem() } func (i DiscountCodeArray) ToDiscountCodeArrayOutput() DiscountCodeArrayOutput { @@ -260,7 +238,7 @@ func (i DiscountCodeArray) ToDiscountCodeArrayOutputWithContext(ctx context.Cont // DiscountCodeMapInput is an input type that accepts DiscountCodeMap and DiscountCodeMapOutput values. // You can construct a concrete instance of `DiscountCodeMapInput` via: // -// DiscountCodeMap{ "key": DiscountCodeArgs{...} } +// DiscountCodeMap{ "key": DiscountCodeArgs{...} } type DiscountCodeMapInput interface { pulumi.Input @@ -271,7 +249,7 @@ type DiscountCodeMapInput interface { type DiscountCodeMap map[string]DiscountCodeInput func (DiscountCodeMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*DiscountCode)(nil)) + return reflect.TypeOf((*map[string]*DiscountCode)(nil)).Elem() } func (i DiscountCodeMap) ToDiscountCodeMapOutput() DiscountCodeMapOutput { @@ -282,12 +260,10 @@ func (i DiscountCodeMap) ToDiscountCodeMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DiscountCodeMapOutput) } -type DiscountCodeOutput struct { - *pulumi.OutputState -} +type DiscountCodeOutput struct{ *pulumi.OutputState } func (DiscountCodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DiscountCode)(nil)) + return reflect.TypeOf((**DiscountCode)(nil)).Elem() } func (o DiscountCodeOutput) ToDiscountCodeOutput() DiscountCodeOutput { @@ -298,36 +274,73 @@ func (o DiscountCodeOutput) ToDiscountCodeOutputWithContext(ctx context.Context) return o } -func (o DiscountCodeOutput) ToDiscountCodePtrOutput() DiscountCodePtrOutput { - return o.ToDiscountCodePtrOutputWithContext(context.Background()) +// The referenced matching cart discounts can be applied to the cart once the DiscountCode is added +func (o DiscountCodeOutput) CartDiscounts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringArrayOutput { return v.CartDiscounts }).(pulumi.StringArrayOutput) } -func (o DiscountCodeOutput) ToDiscountCodePtrOutputWithContext(ctx context.Context) DiscountCodePtrOutput { - return o.ApplyT(func(v DiscountCode) *DiscountCode { - return &v - }).(DiscountCodePtrOutput) +// Unique identifier of this discount code. This value is added to the cart to enable the related cart discounts in the +// cart +func (o DiscountCodeOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringOutput { return v.Code }).(pulumi.StringOutput) } -type DiscountCodePtrOutput struct { - *pulumi.OutputState +func (o DiscountCodeOutput) Custom() DiscountCodeCustomPtrOutput { + return o.ApplyT(func(v *DiscountCode) DiscountCodeCustomPtrOutput { return v.Custom }).(DiscountCodeCustomPtrOutput) } -func (DiscountCodePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DiscountCode)(nil)) +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o DiscountCodeOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) } -func (o DiscountCodePtrOutput) ToDiscountCodePtrOutput() DiscountCodePtrOutput { - return o +// The groups to which this discount code belong +func (o DiscountCodeOutput) Groups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringArrayOutput { return v.Groups }).(pulumi.StringArrayOutput) } -func (o DiscountCodePtrOutput) ToDiscountCodePtrOutputWithContext(ctx context.Context) DiscountCodePtrOutput { - return o +func (o DiscountCodeOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.BoolPtrOutput { return v.IsActive }).(pulumi.BoolPtrOutput) +} + +// The discount code can only be applied maxApplications times +func (o DiscountCodeOutput) MaxApplications() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.IntPtrOutput { return v.MaxApplications }).(pulumi.IntPtrOutput) +} + +// The discount code can only be applied maxApplicationsPerCustomer times per customer +func (o DiscountCodeOutput) MaxApplicationsPerCustomer() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.IntPtrOutput { return v.MaxApplicationsPerCustomer }).(pulumi.IntPtrOutput) +} + +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o DiscountCodeOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) +} + +// [Cart Predicate](https://docs.commercetools.com/api/projects/predicates#cart-predicates) +func (o DiscountCodeOutput) Predicate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringPtrOutput { return v.Predicate }).(pulumi.StringPtrOutput) +} + +// The time from which the discount can be applied on a cart. Before that time the code is invalid +func (o DiscountCodeOutput) ValidFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringPtrOutput { return v.ValidFrom }).(pulumi.StringPtrOutput) +} + +// The time until the discount can be applied on a cart. After that time the code is invalid +func (o DiscountCodeOutput) ValidUntil() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.StringPtrOutput { return v.ValidUntil }).(pulumi.StringPtrOutput) +} + +func (o DiscountCodeOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *DiscountCode) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type DiscountCodeArrayOutput struct{ *pulumi.OutputState } func (DiscountCodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DiscountCode)(nil)) + return reflect.TypeOf((*[]*DiscountCode)(nil)).Elem() } func (o DiscountCodeArrayOutput) ToDiscountCodeArrayOutput() DiscountCodeArrayOutput { @@ -339,15 +352,15 @@ func (o DiscountCodeArrayOutput) ToDiscountCodeArrayOutputWithContext(ctx contex } func (o DiscountCodeArrayOutput) Index(i pulumi.IntInput) DiscountCodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DiscountCode { - return vs[0].([]DiscountCode)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DiscountCode { + return vs[0].([]*DiscountCode)[vs[1].(int)] }).(DiscountCodeOutput) } type DiscountCodeMapOutput struct{ *pulumi.OutputState } func (DiscountCodeMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]DiscountCode)(nil)) + return reflect.TypeOf((*map[string]*DiscountCode)(nil)).Elem() } func (o DiscountCodeMapOutput) ToDiscountCodeMapOutput() DiscountCodeMapOutput { @@ -359,14 +372,16 @@ func (o DiscountCodeMapOutput) ToDiscountCodeMapOutputWithContext(ctx context.Co } func (o DiscountCodeMapOutput) MapIndex(k pulumi.StringInput) DiscountCodeOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) DiscountCode { - return vs[0].(map[string]DiscountCode)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DiscountCode { + return vs[0].(map[string]*DiscountCode)[vs[1].(string)] }).(DiscountCodeOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DiscountCodeInput)(nil)).Elem(), &DiscountCode{}) + pulumi.RegisterInputType(reflect.TypeOf((*DiscountCodeArrayInput)(nil)).Elem(), DiscountCodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DiscountCodeMapInput)(nil)).Elem(), DiscountCodeMap{}) pulumi.RegisterOutputType(DiscountCodeOutput{}) - pulumi.RegisterOutputType(DiscountCodePtrOutput{}) pulumi.RegisterOutputType(DiscountCodeArrayOutput{}) pulumi.RegisterOutputType(DiscountCodeMapOutput{}) } diff --git a/sdk/go/commercetools/doc.go b/sdk/go/commercetools/doc.go index 426a8c4..e25ad7a 100644 --- a/sdk/go/commercetools/doc.go +++ b/sdk/go/commercetools/doc.go @@ -1,3 +1,2 @@ // A Pulumi package for creating and managing commercetools cloud resources. -// package commercetools diff --git a/sdk/go/commercetools/getType.go b/sdk/go/commercetools/getType.go new file mode 100644 index 0000000..2d2e2c8 --- /dev/null +++ b/sdk/go/commercetools/getType.go @@ -0,0 +1,82 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package commercetools + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupType(ctx *pulumi.Context, args *LookupTypeArgs, opts ...pulumi.InvokeOption) (*LookupTypeResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupTypeResult + err := ctx.Invoke("commercetools:index/getType:getType", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getType. +type LookupTypeArgs struct { + Key string `pulumi:"key"` +} + +// A collection of values returned by getType. +type LookupTypeResult struct { + Id string `pulumi:"id"` + Key string `pulumi:"key"` +} + +func LookupTypeOutput(ctx *pulumi.Context, args LookupTypeOutputArgs, opts ...pulumi.InvokeOption) LookupTypeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupTypeResult, error) { + args := v.(LookupTypeArgs) + r, err := LookupType(ctx, &args, opts...) + var s LookupTypeResult + if r != nil { + s = *r + } + return s, err + }).(LookupTypeResultOutput) +} + +// A collection of arguments for invoking getType. +type LookupTypeOutputArgs struct { + Key pulumi.StringInput `pulumi:"key"` +} + +func (LookupTypeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTypeArgs)(nil)).Elem() +} + +// A collection of values returned by getType. +type LookupTypeResultOutput struct{ *pulumi.OutputState } + +func (LookupTypeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupTypeResult)(nil)).Elem() +} + +func (o LookupTypeResultOutput) ToLookupTypeResultOutput() LookupTypeResultOutput { + return o +} + +func (o LookupTypeResultOutput) ToLookupTypeResultOutputWithContext(ctx context.Context) LookupTypeResultOutput { + return o +} + +func (o LookupTypeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupTypeResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupTypeResultOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v LookupTypeResult) string { return v.Key }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupTypeResultOutput{}) +} diff --git a/sdk/go/commercetools/init.go b/sdk/go/commercetools/init.go index 3701319..6da63b7 100644 --- a/sdk/go/commercetools/init.go +++ b/sdk/go/commercetools/init.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "fmt" "github.com/blang/semver" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -26,12 +27,18 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &ApiExtension{} case "commercetools:index/cartDiscount:CartDiscount": r = &CartDiscount{} + case "commercetools:index/category:Category": + r = &Category{} case "commercetools:index/channel:Channel": r = &Channel{} case "commercetools:index/customObject:CustomObject": r = &CustomObject{} + case "commercetools:index/customerGroup:CustomerGroup": + r = &CustomerGroup{} case "commercetools:index/discountCode:DiscountCode": r = &DiscountCode{} + case "commercetools:index/productDiscount:ProductDiscount": + r = &ProductDiscount{} case "commercetools:index/productType:ProductType": r = &ProductType{} case "commercetools:index/projectSettings:ProjectSettings": @@ -44,6 +51,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &ShippingZoneRate{} case "commercetools:index/state:State": r = &State{} + case "commercetools:index/stateTransitions:StateTransitions": + r = &StateTransitions{} case "commercetools:index/store:Store": r = &Store{} case "commercetools:index/subscription:Subscription": @@ -81,9 +90,9 @@ func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pul } func init() { - version, err := PkgVersion() + version, err := internal.PkgVersion() if err != nil { - fmt.Println("failed to determine package version. defaulting to v1: %v", err) + version = semver.Version{Major: 1} } pulumi.RegisterResourceModule( "commercetools", @@ -100,6 +109,11 @@ func init() { "index/cartDiscount", &module{version}, ) + pulumi.RegisterResourceModule( + "commercetools", + "index/category", + &module{version}, + ) pulumi.RegisterResourceModule( "commercetools", "index/channel", @@ -110,11 +124,21 @@ func init() { "index/customObject", &module{version}, ) + pulumi.RegisterResourceModule( + "commercetools", + "index/customerGroup", + &module{version}, + ) pulumi.RegisterResourceModule( "commercetools", "index/discountCode", &module{version}, ) + pulumi.RegisterResourceModule( + "commercetools", + "index/productDiscount", + &module{version}, + ) pulumi.RegisterResourceModule( "commercetools", "index/productType", @@ -145,6 +169,11 @@ func init() { "index/state", &module{version}, ) + pulumi.RegisterResourceModule( + "commercetools", + "index/stateTransitions", + &module{version}, + ) pulumi.RegisterResourceModule( "commercetools", "index/store", diff --git a/sdk/go/commercetools/internal/pulumiUtilities.go b/sdk/go/commercetools/internal/pulumiUtilities.go new file mode 100644 index 0000000..c452d72 --- /dev/null +++ b/sdk/go/commercetools/internal/pulumiUtilities.go @@ -0,0 +1,113 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "fmt" + "os" + "reflect" + "regexp" + "strconv" + "strings" + + "github.com/blang/semver" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type envParser func(v string) interface{} + +func ParseEnvBool(v string) interface{} { + b, err := strconv.ParseBool(v) + if err != nil { + return nil + } + return b +} + +func ParseEnvInt(v string) interface{} { + i, err := strconv.ParseInt(v, 0, 0) + if err != nil { + return nil + } + return int(i) +} + +func ParseEnvFloat(v string) interface{} { + f, err := strconv.ParseFloat(v, 64) + if err != nil { + return nil + } + return f +} + +func ParseEnvStringArray(v string) interface{} { + var result pulumi.StringArray + for _, item := range strings.Split(v, ";") { + result = append(result, pulumi.String(item)) + } + return result +} + +func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { + for _, v := range vars { + if value, ok := os.LookupEnv(v); ok { + if parser != nil { + return parser(value) + } + return value + } + } + return def +} + +// PkgVersion uses reflection to determine the version of the current package. +// If a version cannot be determined, v1 will be assumed. The second return +// value is always nil. +func PkgVersion() (semver.Version, error) { + // emptyVersion defaults to v0.0.0 + if !SdkVersion.Equals(semver.Version{}) { + return SdkVersion, nil + } + type sentinal struct{} + pkgPath := reflect.TypeOf(sentinal{}).PkgPath() + re := regexp.MustCompile("^.*/pulumi-commercetools/sdk(/v\\d+)?") + if match := re.FindStringSubmatch(pkgPath); match != nil { + vStr := match[1] + if len(vStr) == 0 { // If the version capture group was empty, default to v1. + return semver.Version{Major: 1}, nil + } + return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil + } + return semver.Version{Major: 1}, nil +} + +// isZero is a null safe check for if a value is it's types zero value. +func IsZero(v interface{}) bool { + if v == nil { + return true + } + return reflect.ValueOf(v).IsZero() +} + +// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. +func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { + defaults := []pulumi.ResourceOption{} + + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} + +// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. +func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { + defaults := []pulumi.InvokeOption{} + + version := SdkVersion + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} diff --git a/sdk/go/commercetools/internal/pulumiVersion.go b/sdk/go/commercetools/internal/pulumiVersion.go new file mode 100644 index 0000000..d591687 --- /dev/null +++ b/sdk/go/commercetools/internal/pulumiVersion.go @@ -0,0 +1,11 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "github.com/blang/semver" +) + +var SdkVersion semver.Version = semver.Version{} +var pluginDownloadURL string = "" diff --git a/sdk/go/commercetools/productDiscount.go b/sdk/go/commercetools/productDiscount.go new file mode 100644 index 0000000..2f935e4 --- /dev/null +++ b/sdk/go/commercetools/productDiscount.go @@ -0,0 +1,357 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package commercetools + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type ProductDiscount struct { + pulumi.CustomResourceState + + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description pulumi.MapOutput `pulumi:"description"` + // When set the product discount is applied to products matching the predicate + IsActive pulumi.BoolPtrOutput `pulumi:"isActive"` + // User-defined unique identifier for the ProductDiscount. Must be unique across a project + Key pulumi.StringPtrOutput `pulumi:"key"` + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name pulumi.MapOutput `pulumi:"name"` + // A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + Predicate pulumi.StringOutput `pulumi:"predicate"` + // The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + // defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + // The sort order is unambiguous among all product discounts + SortOrder pulumi.StringOutput `pulumi:"sortOrder"` + ValidFrom pulumi.StringPtrOutput `pulumi:"validFrom"` + ValidUntil pulumi.StringPtrOutput `pulumi:"validUntil"` + // Defines the effect the discount will have. + // [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + Value ProductDiscountValueOutput `pulumi:"value"` + Version pulumi.IntOutput `pulumi:"version"` +} + +// NewProductDiscount registers a new resource with the given unique name, arguments, and options. +func NewProductDiscount(ctx *pulumi.Context, + name string, args *ProductDiscountArgs, opts ...pulumi.ResourceOption) (*ProductDiscount, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Predicate == nil { + return nil, errors.New("invalid value for required argument 'Predicate'") + } + if args.SortOrder == nil { + return nil, errors.New("invalid value for required argument 'SortOrder'") + } + if args.Value == nil { + return nil, errors.New("invalid value for required argument 'Value'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource ProductDiscount + err := ctx.RegisterResource("commercetools:index/productDiscount:ProductDiscount", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetProductDiscount gets an existing ProductDiscount resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetProductDiscount(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ProductDiscountState, opts ...pulumi.ResourceOption) (*ProductDiscount, error) { + var resource ProductDiscount + err := ctx.ReadResource("commercetools:index/productDiscount:ProductDiscount", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering ProductDiscount resources. +type productDiscountState struct { + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description map[string]interface{} `pulumi:"description"` + // When set the product discount is applied to products matching the predicate + IsActive *bool `pulumi:"isActive"` + // User-defined unique identifier for the ProductDiscount. Must be unique across a project + Key *string `pulumi:"key"` + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name map[string]interface{} `pulumi:"name"` + // A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + Predicate *string `pulumi:"predicate"` + // The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + // defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + // The sort order is unambiguous among all product discounts + SortOrder *string `pulumi:"sortOrder"` + ValidFrom *string `pulumi:"validFrom"` + ValidUntil *string `pulumi:"validUntil"` + // Defines the effect the discount will have. + // [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + Value *ProductDiscountValue `pulumi:"value"` + Version *int `pulumi:"version"` +} + +type ProductDiscountState struct { + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description pulumi.MapInput + // When set the product discount is applied to products matching the predicate + IsActive pulumi.BoolPtrInput + // User-defined unique identifier for the ProductDiscount. Must be unique across a project + Key pulumi.StringPtrInput + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name pulumi.MapInput + // A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + Predicate pulumi.StringPtrInput + // The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + // defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + // The sort order is unambiguous among all product discounts + SortOrder pulumi.StringPtrInput + ValidFrom pulumi.StringPtrInput + ValidUntil pulumi.StringPtrInput + // Defines the effect the discount will have. + // [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + Value ProductDiscountValuePtrInput + Version pulumi.IntPtrInput +} + +func (ProductDiscountState) ElementType() reflect.Type { + return reflect.TypeOf((*productDiscountState)(nil)).Elem() +} + +type productDiscountArgs struct { + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description map[string]interface{} `pulumi:"description"` + // When set the product discount is applied to products matching the predicate + IsActive *bool `pulumi:"isActive"` + // User-defined unique identifier for the ProductDiscount. Must be unique across a project + Key *string `pulumi:"key"` + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name map[string]interface{} `pulumi:"name"` + // A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + Predicate string `pulumi:"predicate"` + // The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + // defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + // The sort order is unambiguous among all product discounts + SortOrder string `pulumi:"sortOrder"` + ValidFrom *string `pulumi:"validFrom"` + ValidUntil *string `pulumi:"validUntil"` + // Defines the effect the discount will have. + // [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + Value ProductDiscountValue `pulumi:"value"` +} + +// The set of arguments for constructing a ProductDiscount resource. +type ProductDiscountArgs struct { + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description pulumi.MapInput + // When set the product discount is applied to products matching the predicate + IsActive pulumi.BoolPtrInput + // User-defined unique identifier for the ProductDiscount. Must be unique across a project + Key pulumi.StringPtrInput + // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name pulumi.MapInput + // A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + Predicate pulumi.StringInput + // The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + // defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + // The sort order is unambiguous among all product discounts + SortOrder pulumi.StringInput + ValidFrom pulumi.StringPtrInput + ValidUntil pulumi.StringPtrInput + // Defines the effect the discount will have. + // [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + Value ProductDiscountValueInput +} + +func (ProductDiscountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*productDiscountArgs)(nil)).Elem() +} + +type ProductDiscountInput interface { + pulumi.Input + + ToProductDiscountOutput() ProductDiscountOutput + ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput +} + +func (*ProductDiscount) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDiscount)(nil)).Elem() +} + +func (i *ProductDiscount) ToProductDiscountOutput() ProductDiscountOutput { + return i.ToProductDiscountOutputWithContext(context.Background()) +} + +func (i *ProductDiscount) ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountOutput) +} + +// ProductDiscountArrayInput is an input type that accepts ProductDiscountArray and ProductDiscountArrayOutput values. +// You can construct a concrete instance of `ProductDiscountArrayInput` via: +// +// ProductDiscountArray{ ProductDiscountArgs{...} } +type ProductDiscountArrayInput interface { + pulumi.Input + + ToProductDiscountArrayOutput() ProductDiscountArrayOutput + ToProductDiscountArrayOutputWithContext(context.Context) ProductDiscountArrayOutput +} + +type ProductDiscountArray []ProductDiscountInput + +func (ProductDiscountArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ProductDiscount)(nil)).Elem() +} + +func (i ProductDiscountArray) ToProductDiscountArrayOutput() ProductDiscountArrayOutput { + return i.ToProductDiscountArrayOutputWithContext(context.Background()) +} + +func (i ProductDiscountArray) ToProductDiscountArrayOutputWithContext(ctx context.Context) ProductDiscountArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountArrayOutput) +} + +// ProductDiscountMapInput is an input type that accepts ProductDiscountMap and ProductDiscountMapOutput values. +// You can construct a concrete instance of `ProductDiscountMapInput` via: +// +// ProductDiscountMap{ "key": ProductDiscountArgs{...} } +type ProductDiscountMapInput interface { + pulumi.Input + + ToProductDiscountMapOutput() ProductDiscountMapOutput + ToProductDiscountMapOutputWithContext(context.Context) ProductDiscountMapOutput +} + +type ProductDiscountMap map[string]ProductDiscountInput + +func (ProductDiscountMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ProductDiscount)(nil)).Elem() +} + +func (i ProductDiscountMap) ToProductDiscountMapOutput() ProductDiscountMapOutput { + return i.ToProductDiscountMapOutputWithContext(context.Background()) +} + +func (i ProductDiscountMap) ToProductDiscountMapOutputWithContext(ctx context.Context) ProductDiscountMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountMapOutput) +} + +type ProductDiscountOutput struct{ *pulumi.OutputState } + +func (ProductDiscountOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDiscount)(nil)).Elem() +} + +func (o ProductDiscountOutput) ToProductDiscountOutput() ProductDiscountOutput { + return o +} + +func (o ProductDiscountOutput) ToProductDiscountOutputWithContext(ctx context.Context) ProductDiscountOutput { + return o +} + +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o ProductDiscountOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) +} + +// When set the product discount is applied to products matching the predicate +func (o ProductDiscountOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.BoolPtrOutput { return v.IsActive }).(pulumi.BoolPtrOutput) +} + +// User-defined unique identifier for the ProductDiscount. Must be unique across a project +func (o ProductDiscountOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) +} + +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o ProductDiscountOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) +} + +// A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) +func (o ProductDiscountOutput) Predicate() pulumi.StringOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.StringOutput { return v.Predicate }).(pulumi.StringOutput) +} + +// The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order +// defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. +// The sort order is unambiguous among all product discounts +func (o ProductDiscountOutput) SortOrder() pulumi.StringOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.StringOutput { return v.SortOrder }).(pulumi.StringOutput) +} + +func (o ProductDiscountOutput) ValidFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.StringPtrOutput { return v.ValidFrom }).(pulumi.StringPtrOutput) +} + +func (o ProductDiscountOutput) ValidUntil() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.StringPtrOutput { return v.ValidUntil }).(pulumi.StringPtrOutput) +} + +// Defines the effect the discount will have. +// [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) +func (o ProductDiscountOutput) Value() ProductDiscountValueOutput { + return o.ApplyT(func(v *ProductDiscount) ProductDiscountValueOutput { return v.Value }).(ProductDiscountValueOutput) +} + +func (o ProductDiscountOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ProductDiscount) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) +} + +type ProductDiscountArrayOutput struct{ *pulumi.OutputState } + +func (ProductDiscountArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*ProductDiscount)(nil)).Elem() +} + +func (o ProductDiscountArrayOutput) ToProductDiscountArrayOutput() ProductDiscountArrayOutput { + return o +} + +func (o ProductDiscountArrayOutput) ToProductDiscountArrayOutputWithContext(ctx context.Context) ProductDiscountArrayOutput { + return o +} + +func (o ProductDiscountArrayOutput) Index(i pulumi.IntInput) ProductDiscountOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProductDiscount { + return vs[0].([]*ProductDiscount)[vs[1].(int)] + }).(ProductDiscountOutput) +} + +type ProductDiscountMapOutput struct{ *pulumi.OutputState } + +func (ProductDiscountMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*ProductDiscount)(nil)).Elem() +} + +func (o ProductDiscountMapOutput) ToProductDiscountMapOutput() ProductDiscountMapOutput { + return o +} + +func (o ProductDiscountMapOutput) ToProductDiscountMapOutputWithContext(ctx context.Context) ProductDiscountMapOutput { + return o +} + +func (o ProductDiscountMapOutput) MapIndex(k pulumi.StringInput) ProductDiscountOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProductDiscount { + return vs[0].(map[string]*ProductDiscount)[vs[1].(string)] + }).(ProductDiscountOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountInput)(nil)).Elem(), &ProductDiscount{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountArrayInput)(nil)).Elem(), ProductDiscountArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountMapInput)(nil)).Elem(), ProductDiscountMap{}) + pulumi.RegisterOutputType(ProductDiscountOutput{}) + pulumi.RegisterOutputType(ProductDiscountArrayOutput{}) + pulumi.RegisterOutputType(ProductDiscountMapOutput{}) +} diff --git a/sdk/go/commercetools/productType.go b/sdk/go/commercetools/productType.go index 18024f8..43cd6aa 100644 --- a/sdk/go/commercetools/productType.go +++ b/sdk/go/commercetools/productType.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -29,6 +30,7 @@ func NewProductType(ctx *pulumi.Context, args = &ProductTypeArgs{} } + opts = internal.PkgResourceDefaultOpts(opts) var resource ProductType err := ctx.RegisterResource("commercetools:index/productType:ProductType", name, args, &resource, opts...) if err != nil { @@ -105,7 +107,7 @@ type ProductTypeInput interface { } func (*ProductType) ElementType() reflect.Type { - return reflect.TypeOf((*ProductType)(nil)) + return reflect.TypeOf((**ProductType)(nil)).Elem() } func (i *ProductType) ToProductTypeOutput() ProductTypeOutput { @@ -116,39 +118,10 @@ func (i *ProductType) ToProductTypeOutputWithContext(ctx context.Context) Produc return pulumi.ToOutputWithContext(ctx, i).(ProductTypeOutput) } -func (i *ProductType) ToProductTypePtrOutput() ProductTypePtrOutput { - return i.ToProductTypePtrOutputWithContext(context.Background()) -} - -func (i *ProductType) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypePtrOutput) -} - -type ProductTypePtrInput interface { - pulumi.Input - - ToProductTypePtrOutput() ProductTypePtrOutput - ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput -} - -type productTypePtrType ProductTypeArgs - -func (*productTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProductType)(nil)) -} - -func (i *productTypePtrType) ToProductTypePtrOutput() ProductTypePtrOutput { - return i.ToProductTypePtrOutputWithContext(context.Background()) -} - -func (i *productTypePtrType) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypePtrOutput) -} - // ProductTypeArrayInput is an input type that accepts ProductTypeArray and ProductTypeArrayOutput values. // You can construct a concrete instance of `ProductTypeArrayInput` via: // -// ProductTypeArray{ ProductTypeArgs{...} } +// ProductTypeArray{ ProductTypeArgs{...} } type ProductTypeArrayInput interface { pulumi.Input @@ -159,7 +132,7 @@ type ProductTypeArrayInput interface { type ProductTypeArray []ProductTypeInput func (ProductTypeArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ProductType)(nil)) + return reflect.TypeOf((*[]*ProductType)(nil)).Elem() } func (i ProductTypeArray) ToProductTypeArrayOutput() ProductTypeArrayOutput { @@ -173,7 +146,7 @@ func (i ProductTypeArray) ToProductTypeArrayOutputWithContext(ctx context.Contex // ProductTypeMapInput is an input type that accepts ProductTypeMap and ProductTypeMapOutput values. // You can construct a concrete instance of `ProductTypeMapInput` via: // -// ProductTypeMap{ "key": ProductTypeArgs{...} } +// ProductTypeMap{ "key": ProductTypeArgs{...} } type ProductTypeMapInput interface { pulumi.Input @@ -184,7 +157,7 @@ type ProductTypeMapInput interface { type ProductTypeMap map[string]ProductTypeInput func (ProductTypeMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ProductType)(nil)) + return reflect.TypeOf((*map[string]*ProductType)(nil)).Elem() } func (i ProductTypeMap) ToProductTypeMapOutput() ProductTypeMapOutput { @@ -195,12 +168,10 @@ func (i ProductTypeMap) ToProductTypeMapOutputWithContext(ctx context.Context) P return pulumi.ToOutputWithContext(ctx, i).(ProductTypeMapOutput) } -type ProductTypeOutput struct { - *pulumi.OutputState -} +type ProductTypeOutput struct{ *pulumi.OutputState } func (ProductTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProductType)(nil)) + return reflect.TypeOf((**ProductType)(nil)).Elem() } func (o ProductTypeOutput) ToProductTypeOutput() ProductTypeOutput { @@ -211,36 +182,32 @@ func (o ProductTypeOutput) ToProductTypeOutputWithContext(ctx context.Context) P return o } -func (o ProductTypeOutput) ToProductTypePtrOutput() ProductTypePtrOutput { - return o.ToProductTypePtrOutputWithContext(context.Background()) +// [Product attribute fefinition](https://docs.commercetools.com/api/projects/productTypes#attributedefinition) +func (o ProductTypeOutput) Attributes() ProductTypeAttributeArrayOutput { + return o.ApplyT(func(v *ProductType) ProductTypeAttributeArrayOutput { return v.Attributes }).(ProductTypeAttributeArrayOutput) } -func (o ProductTypeOutput) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput { - return o.ApplyT(func(v ProductType) *ProductType { - return &v - }).(ProductTypePtrOutput) +func (o ProductTypeOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductType) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -type ProductTypePtrOutput struct { - *pulumi.OutputState +// User-specific unique identifier for the product type (max. 256 characters) +func (o ProductTypeOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductType) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -func (ProductTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProductType)(nil)) +func (o ProductTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProductType) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -func (o ProductTypePtrOutput) ToProductTypePtrOutput() ProductTypePtrOutput { - return o -} - -func (o ProductTypePtrOutput) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput { - return o +func (o ProductTypeOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ProductType) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ProductTypeArrayOutput struct{ *pulumi.OutputState } func (ProductTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductType)(nil)) + return reflect.TypeOf((*[]*ProductType)(nil)).Elem() } func (o ProductTypeArrayOutput) ToProductTypeArrayOutput() ProductTypeArrayOutput { @@ -252,15 +219,15 @@ func (o ProductTypeArrayOutput) ToProductTypeArrayOutputWithContext(ctx context. } func (o ProductTypeArrayOutput) Index(i pulumi.IntInput) ProductTypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductType { - return vs[0].([]ProductType)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProductType { + return vs[0].([]*ProductType)[vs[1].(int)] }).(ProductTypeOutput) } type ProductTypeMapOutput struct{ *pulumi.OutputState } func (ProductTypeMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ProductType)(nil)) + return reflect.TypeOf((*map[string]*ProductType)(nil)).Elem() } func (o ProductTypeMapOutput) ToProductTypeMapOutput() ProductTypeMapOutput { @@ -272,14 +239,16 @@ func (o ProductTypeMapOutput) ToProductTypeMapOutputWithContext(ctx context.Cont } func (o ProductTypeMapOutput) MapIndex(k pulumi.StringInput) ProductTypeOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ProductType { - return vs[0].(map[string]ProductType)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProductType { + return vs[0].(map[string]*ProductType)[vs[1].(string)] }).(ProductTypeOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeInput)(nil)).Elem(), &ProductType{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeArrayInput)(nil)).Elem(), ProductTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeMapInput)(nil)).Elem(), ProductTypeMap{}) pulumi.RegisterOutputType(ProductTypeOutput{}) - pulumi.RegisterOutputType(ProductTypePtrOutput{}) pulumi.RegisterOutputType(ProductTypeArrayOutput{}) pulumi.RegisterOutputType(ProductTypeMapOutput{}) } diff --git a/sdk/go/commercetools/projectSettings.go b/sdk/go/commercetools/projectSettings.go index a4c72d3..08e94b0 100644 --- a/sdk/go/commercetools/projectSettings.go +++ b/sdk/go/commercetools/projectSettings.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -19,13 +20,17 @@ type ProjectSettings struct { Countries pulumi.StringArrayOutput `pulumi:"countries"` // A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) Currencies pulumi.StringArrayOutput `pulumi:"currencies"` + // Enable the Search Indexing of orders + EnableSearchIndexOrders pulumi.BoolOutput `pulumi:"enableSearchIndexOrders"` + // Enable the Search Indexing of products + EnableSearchIndexProducts pulumi.BoolOutput `pulumi:"enableSearchIndexProducts"` // [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) ExternalOauth ProjectSettingsExternalOauthPtrOutput `pulumi:"externalOauth"` // The unique key of the project Key pulumi.StringOutput `pulumi:"key"` // [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) Languages pulumi.StringArrayOutput `pulumi:"languages"` - // [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + // The change notifications subscribed to Messages ProjectSettingsMessagesPtrOutput `pulumi:"messages"` // The name of the project Name pulumi.StringOutput `pulumi:"name"` @@ -46,6 +51,7 @@ func NewProjectSettings(ctx *pulumi.Context, args = &ProjectSettingsArgs{} } + opts = internal.PkgResourceDefaultOpts(opts) var resource ProjectSettings err := ctx.RegisterResource("commercetools:index/projectSettings:ProjectSettings", name, args, &resource, opts...) if err != nil { @@ -74,13 +80,17 @@ type projectSettingsState struct { Countries []string `pulumi:"countries"` // A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) Currencies []string `pulumi:"currencies"` + // Enable the Search Indexing of orders + EnableSearchIndexOrders *bool `pulumi:"enableSearchIndexOrders"` + // Enable the Search Indexing of products + EnableSearchIndexProducts *bool `pulumi:"enableSearchIndexProducts"` // [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) ExternalOauth *ProjectSettingsExternalOauth `pulumi:"externalOauth"` // The unique key of the project Key *string `pulumi:"key"` // [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) Languages []string `pulumi:"languages"` - // [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + // The change notifications subscribed to Messages *ProjectSettingsMessages `pulumi:"messages"` // The name of the project Name *string `pulumi:"name"` @@ -101,13 +111,17 @@ type ProjectSettingsState struct { Countries pulumi.StringArrayInput // A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) Currencies pulumi.StringArrayInput + // Enable the Search Indexing of orders + EnableSearchIndexOrders pulumi.BoolPtrInput + // Enable the Search Indexing of products + EnableSearchIndexProducts pulumi.BoolPtrInput // [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) ExternalOauth ProjectSettingsExternalOauthPtrInput // The unique key of the project Key pulumi.StringPtrInput // [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) Languages pulumi.StringArrayInput - // [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + // The change notifications subscribed to Messages ProjectSettingsMessagesPtrInput // The name of the project Name pulumi.StringPtrInput @@ -132,11 +146,15 @@ type projectSettingsArgs struct { Countries []string `pulumi:"countries"` // A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) Currencies []string `pulumi:"currencies"` + // Enable the Search Indexing of orders + EnableSearchIndexOrders *bool `pulumi:"enableSearchIndexOrders"` + // Enable the Search Indexing of products + EnableSearchIndexProducts *bool `pulumi:"enableSearchIndexProducts"` // [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) ExternalOauth *ProjectSettingsExternalOauth `pulumi:"externalOauth"` // [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) Languages []string `pulumi:"languages"` - // [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + // The change notifications subscribed to Messages *ProjectSettingsMessages `pulumi:"messages"` // The name of the project Name *string `pulumi:"name"` @@ -157,11 +175,15 @@ type ProjectSettingsArgs struct { Countries pulumi.StringArrayInput // A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) Currencies pulumi.StringArrayInput + // Enable the Search Indexing of orders + EnableSearchIndexOrders pulumi.BoolPtrInput + // Enable the Search Indexing of products + EnableSearchIndexProducts pulumi.BoolPtrInput // [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) ExternalOauth ProjectSettingsExternalOauthPtrInput // [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) Languages pulumi.StringArrayInput - // [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + // The change notifications subscribed to Messages ProjectSettingsMessagesPtrInput // The name of the project Name pulumi.StringPtrInput @@ -186,7 +208,7 @@ type ProjectSettingsInput interface { } func (*ProjectSettings) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettings)(nil)) + return reflect.TypeOf((**ProjectSettings)(nil)).Elem() } func (i *ProjectSettings) ToProjectSettingsOutput() ProjectSettingsOutput { @@ -197,39 +219,10 @@ func (i *ProjectSettings) ToProjectSettingsOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsOutput) } -func (i *ProjectSettings) ToProjectSettingsPtrOutput() ProjectSettingsPtrOutput { - return i.ToProjectSettingsPtrOutputWithContext(context.Background()) -} - -func (i *ProjectSettings) ToProjectSettingsPtrOutputWithContext(ctx context.Context) ProjectSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsPtrOutput) -} - -type ProjectSettingsPtrInput interface { - pulumi.Input - - ToProjectSettingsPtrOutput() ProjectSettingsPtrOutput - ToProjectSettingsPtrOutputWithContext(ctx context.Context) ProjectSettingsPtrOutput -} - -type projectSettingsPtrType ProjectSettingsArgs - -func (*projectSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettings)(nil)) -} - -func (i *projectSettingsPtrType) ToProjectSettingsPtrOutput() ProjectSettingsPtrOutput { - return i.ToProjectSettingsPtrOutputWithContext(context.Background()) -} - -func (i *projectSettingsPtrType) ToProjectSettingsPtrOutputWithContext(ctx context.Context) ProjectSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsPtrOutput) -} - // ProjectSettingsArrayInput is an input type that accepts ProjectSettingsArray and ProjectSettingsArrayOutput values. // You can construct a concrete instance of `ProjectSettingsArrayInput` via: // -// ProjectSettingsArray{ ProjectSettingsArgs{...} } +// ProjectSettingsArray{ ProjectSettingsArgs{...} } type ProjectSettingsArrayInput interface { pulumi.Input @@ -240,7 +233,7 @@ type ProjectSettingsArrayInput interface { type ProjectSettingsArray []ProjectSettingsInput func (ProjectSettingsArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ProjectSettings)(nil)) + return reflect.TypeOf((*[]*ProjectSettings)(nil)).Elem() } func (i ProjectSettingsArray) ToProjectSettingsArrayOutput() ProjectSettingsArrayOutput { @@ -254,7 +247,7 @@ func (i ProjectSettingsArray) ToProjectSettingsArrayOutputWithContext(ctx contex // ProjectSettingsMapInput is an input type that accepts ProjectSettingsMap and ProjectSettingsMapOutput values. // You can construct a concrete instance of `ProjectSettingsMapInput` via: // -// ProjectSettingsMap{ "key": ProjectSettingsArgs{...} } +// ProjectSettingsMap{ "key": ProjectSettingsArgs{...} } type ProjectSettingsMapInput interface { pulumi.Input @@ -265,7 +258,7 @@ type ProjectSettingsMapInput interface { type ProjectSettingsMap map[string]ProjectSettingsInput func (ProjectSettingsMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ProjectSettings)(nil)) + return reflect.TypeOf((*map[string]*ProjectSettings)(nil)).Elem() } func (i ProjectSettingsMap) ToProjectSettingsMapOutput() ProjectSettingsMapOutput { @@ -276,12 +269,10 @@ func (i ProjectSettingsMap) ToProjectSettingsMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMapOutput) } -type ProjectSettingsOutput struct { - *pulumi.OutputState -} +type ProjectSettingsOutput struct{ *pulumi.OutputState } func (ProjectSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettings)(nil)) + return reflect.TypeOf((**ProjectSettings)(nil)).Elem() } func (o ProjectSettingsOutput) ToProjectSettingsOutput() ProjectSettingsOutput { @@ -292,36 +283,79 @@ func (o ProjectSettingsOutput) ToProjectSettingsOutputWithContext(ctx context.Co return o } -func (o ProjectSettingsOutput) ToProjectSettingsPtrOutput() ProjectSettingsPtrOutput { - return o.ToProjectSettingsPtrOutputWithContext(context.Background()) +// [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) +func (o ProjectSettingsOutput) Carts() ProjectSettingsCartsPtrOutput { + return o.ApplyT(func(v *ProjectSettings) ProjectSettingsCartsPtrOutput { return v.Carts }).(ProjectSettingsCartsPtrOutput) } -func (o ProjectSettingsOutput) ToProjectSettingsPtrOutputWithContext(ctx context.Context) ProjectSettingsPtrOutput { - return o.ApplyT(func(v ProjectSettings) *ProjectSettings { - return &v - }).(ProjectSettingsPtrOutput) +// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) +func (o ProjectSettingsOutput) Countries() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringArrayOutput { return v.Countries }).(pulumi.StringArrayOutput) } -type ProjectSettingsPtrOutput struct { - *pulumi.OutputState +// A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) +func (o ProjectSettingsOutput) Currencies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringArrayOutput { return v.Currencies }).(pulumi.StringArrayOutput) } -func (ProjectSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettings)(nil)) +// Enable the Search Indexing of orders +func (o ProjectSettingsOutput) EnableSearchIndexOrders() pulumi.BoolOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.BoolOutput { return v.EnableSearchIndexOrders }).(pulumi.BoolOutput) } -func (o ProjectSettingsPtrOutput) ToProjectSettingsPtrOutput() ProjectSettingsPtrOutput { - return o +// Enable the Search Indexing of products +func (o ProjectSettingsOutput) EnableSearchIndexProducts() pulumi.BoolOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.BoolOutput { return v.EnableSearchIndexProducts }).(pulumi.BoolOutput) } -func (o ProjectSettingsPtrOutput) ToProjectSettingsPtrOutputWithContext(ctx context.Context) ProjectSettingsPtrOutput { - return o +// [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) +func (o ProjectSettingsOutput) ExternalOauth() ProjectSettingsExternalOauthPtrOutput { + return o.ApplyT(func(v *ProjectSettings) ProjectSettingsExternalOauthPtrOutput { return v.ExternalOauth }).(ProjectSettingsExternalOauthPtrOutput) +} + +// The unique key of the project +func (o ProjectSettingsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) +} + +// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) +func (o ProjectSettingsOutput) Languages() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringArrayOutput { return v.Languages }).(pulumi.StringArrayOutput) +} + +// The change notifications subscribed to +func (o ProjectSettingsOutput) Messages() ProjectSettingsMessagesPtrOutput { + return o.ApplyT(func(v *ProjectSettings) ProjectSettingsMessagesPtrOutput { return v.Messages }).(ProjectSettingsMessagesPtrOutput) +} + +// The name of the project +func (o ProjectSettingsOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined +// inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys +// are checked for uniqueness and the request is rejected if keys are not unique +func (o ProjectSettingsOutput) ShippingRateCartClassificationValues() ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return o.ApplyT(func(v *ProjectSettings) ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return v.ShippingRateCartClassificationValues + }).(ProjectSettingsShippingRateCartClassificationValueArrayOutput) +} + +// Three ways to dynamically select a ShippingRatePriceTier exist. The CartValue type uses the sum of all line item prices, +// whereas CartClassification and CartScore use the shippingRateInput field on the cart to select a tier +func (o ProjectSettingsOutput) ShippingRateInputType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.StringPtrOutput { return v.ShippingRateInputType }).(pulumi.StringPtrOutput) +} + +func (o ProjectSettingsOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ProjectSettings) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ProjectSettingsArrayOutput struct{ *pulumi.OutputState } func (ProjectSettingsArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectSettings)(nil)) + return reflect.TypeOf((*[]*ProjectSettings)(nil)).Elem() } func (o ProjectSettingsArrayOutput) ToProjectSettingsArrayOutput() ProjectSettingsArrayOutput { @@ -333,15 +367,15 @@ func (o ProjectSettingsArrayOutput) ToProjectSettingsArrayOutputWithContext(ctx } func (o ProjectSettingsArrayOutput) Index(i pulumi.IntInput) ProjectSettingsOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectSettings { - return vs[0].([]ProjectSettings)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ProjectSettings { + return vs[0].([]*ProjectSettings)[vs[1].(int)] }).(ProjectSettingsOutput) } type ProjectSettingsMapOutput struct{ *pulumi.OutputState } func (ProjectSettingsMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ProjectSettings)(nil)) + return reflect.TypeOf((*map[string]*ProjectSettings)(nil)).Elem() } func (o ProjectSettingsMapOutput) ToProjectSettingsMapOutput() ProjectSettingsMapOutput { @@ -353,14 +387,16 @@ func (o ProjectSettingsMapOutput) ToProjectSettingsMapOutputWithContext(ctx cont } func (o ProjectSettingsMapOutput) MapIndex(k pulumi.StringInput) ProjectSettingsOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ProjectSettings { - return vs[0].(map[string]ProjectSettings)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ProjectSettings { + return vs[0].(map[string]*ProjectSettings)[vs[1].(string)] }).(ProjectSettingsOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsInput)(nil)).Elem(), &ProjectSettings{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsArrayInput)(nil)).Elem(), ProjectSettingsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsMapInput)(nil)).Elem(), ProjectSettingsMap{}) pulumi.RegisterOutputType(ProjectSettingsOutput{}) - pulumi.RegisterOutputType(ProjectSettingsPtrOutput{}) pulumi.RegisterOutputType(ProjectSettingsArrayOutput{}) pulumi.RegisterOutputType(ProjectSettingsMapOutput{}) } diff --git a/sdk/go/commercetools/provider.go b/sdk/go/commercetools/provider.go index 6b11d48..7a05058 100644 --- a/sdk/go/commercetools/provider.go +++ b/sdk/go/commercetools/provider.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,7 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -19,45 +19,43 @@ type Provider struct { pulumi.ProviderResourceState // The API URL of the commercetools platform. https://docs.commercetools.com/http-api - ApiUrl pulumi.StringOutput `pulumi:"apiUrl"` + ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"` // The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientId pulumi.StringOutput `pulumi:"clientId"` + ClientId pulumi.StringPtrOutput `pulumi:"clientId"` // The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` + ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"` // The project key of commercetools platform project. https://docs.commercetools.com/getting-started - ProjectKey pulumi.StringOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` // A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. // https://docs.commercetools.com/http-api-authorization - Scopes pulumi.StringOutput `pulumi:"scopes"` + Scopes pulumi.StringPtrOutput `pulumi:"scopes"` // The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization - TokenUrl pulumi.StringOutput `pulumi:"tokenUrl"` + TokenUrl pulumi.StringPtrOutput `pulumi:"tokenUrl"` } // NewProvider registers a new resource with the given unique name, arguments, and options. func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error) { if args == nil { - return nil, errors.New("missing one or more required arguments") + args = &ProviderArgs{} } - if args.ApiUrl == nil { - return nil, errors.New("invalid value for required argument 'ApiUrl'") + if args.ClientId != nil { + args.ClientId = pulumi.ToSecret(args.ClientId).(pulumi.StringPtrInput) } - if args.ClientId == nil { - return nil, errors.New("invalid value for required argument 'ClientId'") + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringPtrInput) } - if args.ClientSecret == nil { - return nil, errors.New("invalid value for required argument 'ClientSecret'") - } - if args.ProjectKey == nil { - return nil, errors.New("invalid value for required argument 'ProjectKey'") - } - if args.Scopes == nil { - return nil, errors.New("invalid value for required argument 'Scopes'") - } - if args.TokenUrl == nil { - return nil, errors.New("invalid value for required argument 'TokenUrl'") + if args.ProjectKey != nil { + args.ProjectKey = pulumi.ToSecret(args.ProjectKey).(pulumi.StringPtrInput) } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientId", + "clientSecret", + "projectKey", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) var resource Provider err := ctx.RegisterResource("pulumi:providers:commercetools", name, args, &resource, opts...) if err != nil { @@ -68,35 +66,35 @@ func NewProvider(ctx *pulumi.Context, type providerArgs struct { // The API URL of the commercetools platform. https://docs.commercetools.com/http-api - ApiUrl string `pulumi:"apiUrl"` + ApiUrl *string `pulumi:"apiUrl"` // The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientId string `pulumi:"clientId"` + ClientId *string `pulumi:"clientId"` // The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientSecret string `pulumi:"clientSecret"` + ClientSecret *string `pulumi:"clientSecret"` // The project key of commercetools platform project. https://docs.commercetools.com/getting-started - ProjectKey string `pulumi:"projectKey"` + ProjectKey *string `pulumi:"projectKey"` // A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. // https://docs.commercetools.com/http-api-authorization - Scopes string `pulumi:"scopes"` + Scopes *string `pulumi:"scopes"` // The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization - TokenUrl string `pulumi:"tokenUrl"` + TokenUrl *string `pulumi:"tokenUrl"` } // The set of arguments for constructing a Provider resource. type ProviderArgs struct { // The API URL of the commercetools platform. https://docs.commercetools.com/http-api - ApiUrl pulumi.StringInput + ApiUrl pulumi.StringPtrInput // The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientId pulumi.StringInput + ClientId pulumi.StringPtrInput // The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization - ClientSecret pulumi.StringInput + ClientSecret pulumi.StringPtrInput // The project key of commercetools platform project. https://docs.commercetools.com/getting-started - ProjectKey pulumi.StringInput + ProjectKey pulumi.StringPtrInput // A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. // https://docs.commercetools.com/http-api-authorization - Scopes pulumi.StringInput + Scopes pulumi.StringPtrInput // The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization - TokenUrl pulumi.StringInput + TokenUrl pulumi.StringPtrInput } func (ProviderArgs) ElementType() reflect.Type { @@ -111,7 +109,7 @@ type ProviderInput interface { } func (*Provider) ElementType() reflect.Type { - return reflect.TypeOf((*Provider)(nil)) + return reflect.TypeOf((**Provider)(nil)).Elem() } func (i *Provider) ToProviderOutput() ProviderOutput { @@ -122,41 +120,10 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } -func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput { - return i.ToProviderPtrOutputWithContext(context.Background()) -} - -func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderPtrOutput) -} - -type ProviderPtrInput interface { - pulumi.Input - - ToProviderPtrOutput() ProviderPtrOutput - ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput -} - -type providerPtrType ProviderArgs - -func (*providerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Provider)(nil)) -} - -func (i *providerPtrType) ToProviderPtrOutput() ProviderPtrOutput { - return i.ToProviderPtrOutputWithContext(context.Background()) -} - -func (i *providerPtrType) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderPtrOutput) -} - -type ProviderOutput struct { - *pulumi.OutputState -} +type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Provider)(nil)) + return reflect.TypeOf((**Provider)(nil)).Elem() } func (o ProviderOutput) ToProviderOutput() ProviderOutput { @@ -167,33 +134,38 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } -func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput { - return o.ToProviderPtrOutputWithContext(context.Background()) +// The API URL of the commercetools platform. https://docs.commercetools.com/http-api +func (o ProviderOutput) ApiUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ApiUrl }).(pulumi.StringPtrOutput) } -func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { - return o.ApplyT(func(v Provider) *Provider { - return &v - }).(ProviderPtrOutput) +// The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization +func (o ProviderOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ClientId }).(pulumi.StringPtrOutput) } -type ProviderPtrOutput struct { - *pulumi.OutputState +// The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization +func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ClientSecret }).(pulumi.StringPtrOutput) } -func (ProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Provider)(nil)) +// The project key of commercetools platform project. https://docs.commercetools.com/getting-started +func (o ProviderOutput) ProjectKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) } -func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput { - return o +// A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. +// https://docs.commercetools.com/http-api-authorization +func (o ProviderOutput) Scopes() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Scopes }).(pulumi.StringPtrOutput) } -func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput { - return o +// The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization +func (o ProviderOutput) TokenUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.TokenUrl }).(pulumi.StringPtrOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) pulumi.RegisterOutputType(ProviderOutput{}) - pulumi.RegisterOutputType(ProviderPtrOutput{}) } diff --git a/sdk/go/commercetools/pulumi-plugin.json b/sdk/go/commercetools/pulumi-plugin.json new file mode 100644 index 0000000..4d9add2 --- /dev/null +++ b/sdk/go/commercetools/pulumi-plugin.json @@ -0,0 +1,4 @@ +{ + "resource": true, + "name": "commercetools" +} diff --git a/sdk/go/commercetools/pulumiTypes.go b/sdk/go/commercetools/pulumiTypes.go index 90eb4f7..fefd999 100644 --- a/sdk/go/commercetools/pulumiTypes.go +++ b/sdk/go/commercetools/pulumiTypes.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,9 +7,12 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +var _ = internal.GetEnvOrDefault + type ApiExtensionDestination struct { AccessKey *string `pulumi:"accessKey"` AccessSecret *string `pulumi:"accessSecret"` @@ -23,7 +26,7 @@ type ApiExtensionDestination struct { // ApiExtensionDestinationInput is an input type that accepts ApiExtensionDestinationArgs and ApiExtensionDestinationOutput values. // You can construct a concrete instance of `ApiExtensionDestinationInput` via: // -// ApiExtensionDestinationArgs{...} +// ApiExtensionDestinationArgs{...} type ApiExtensionDestinationInput interface { pulumi.Input @@ -64,11 +67,11 @@ func (i ApiExtensionDestinationArgs) ToApiExtensionDestinationPtrOutputWithConte // ApiExtensionDestinationPtrInput is an input type that accepts ApiExtensionDestinationArgs, ApiExtensionDestinationPtr and ApiExtensionDestinationPtrOutput values. // You can construct a concrete instance of `ApiExtensionDestinationPtrInput` via: // -// ApiExtensionDestinationArgs{...} +// ApiExtensionDestinationArgs{...} // -// or: +// or: // -// nil +// nil type ApiExtensionDestinationPtrInput interface { pulumi.Input @@ -113,10 +116,11 @@ func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutput() ApiE } func (o ApiExtensionDestinationOutput) ToApiExtensionDestinationPtrOutputWithContext(ctx context.Context) ApiExtensionDestinationPtrOutput { - return o.ApplyT(func(v ApiExtensionDestination) *ApiExtensionDestination { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ApiExtensionDestination) *ApiExtensionDestination { return &v }).(ApiExtensionDestinationPtrOutput) } + func (o ApiExtensionDestinationOutput) AccessKey() pulumi.StringPtrOutput { return o.ApplyT(func(v ApiExtensionDestination) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } @@ -160,7 +164,13 @@ func (o ApiExtensionDestinationPtrOutput) ToApiExtensionDestinationPtrOutputWith } func (o ApiExtensionDestinationPtrOutput) Elem() ApiExtensionDestinationOutput { - return o.ApplyT(func(v *ApiExtensionDestination) ApiExtensionDestination { return *v }).(ApiExtensionDestinationOutput) + return o.ApplyT(func(v *ApiExtensionDestination) ApiExtensionDestination { + if v != nil { + return *v + } + var ret ApiExtensionDestination + return ret + }).(ApiExtensionDestinationOutput) } func (o ApiExtensionDestinationPtrOutput) AccessKey() pulumi.StringPtrOutput { @@ -228,13 +238,14 @@ func (o ApiExtensionDestinationPtrOutput) Url() pulumi.StringPtrOutput { type ApiExtensionTrigger struct { Actions []string `pulumi:"actions"` + Condition *string `pulumi:"condition"` ResourceTypeId string `pulumi:"resourceTypeId"` } // ApiExtensionTriggerInput is an input type that accepts ApiExtensionTriggerArgs and ApiExtensionTriggerOutput values. // You can construct a concrete instance of `ApiExtensionTriggerInput` via: // -// ApiExtensionTriggerArgs{...} +// ApiExtensionTriggerArgs{...} type ApiExtensionTriggerInput interface { pulumi.Input @@ -244,6 +255,7 @@ type ApiExtensionTriggerInput interface { type ApiExtensionTriggerArgs struct { Actions pulumi.StringArrayInput `pulumi:"actions"` + Condition pulumi.StringPtrInput `pulumi:"condition"` ResourceTypeId pulumi.StringInput `pulumi:"resourceTypeId"` } @@ -262,7 +274,7 @@ func (i ApiExtensionTriggerArgs) ToApiExtensionTriggerOutputWithContext(ctx cont // ApiExtensionTriggerArrayInput is an input type that accepts ApiExtensionTriggerArray and ApiExtensionTriggerArrayOutput values. // You can construct a concrete instance of `ApiExtensionTriggerArrayInput` via: // -// ApiExtensionTriggerArray{ ApiExtensionTriggerArgs{...} } +// ApiExtensionTriggerArray{ ApiExtensionTriggerArgs{...} } type ApiExtensionTriggerArrayInput interface { pulumi.Input @@ -302,6 +314,10 @@ func (o ApiExtensionTriggerOutput) Actions() pulumi.StringArrayOutput { return o.ApplyT(func(v ApiExtensionTrigger) []string { return v.Actions }).(pulumi.StringArrayOutput) } +func (o ApiExtensionTriggerOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v ApiExtensionTrigger) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + func (o ApiExtensionTriggerOutput) ResourceTypeId() pulumi.StringOutput { return o.ApplyT(func(v ApiExtensionTrigger) string { return v.ResourceTypeId }).(pulumi.StringOutput) } @@ -334,7 +350,7 @@ type CartDiscountTarget struct { // CartDiscountTargetInput is an input type that accepts CartDiscountTargetArgs and CartDiscountTargetOutput values. // You can construct a concrete instance of `CartDiscountTargetInput` via: // -// CartDiscountTargetArgs{...} +// CartDiscountTargetArgs{...} type CartDiscountTargetInput interface { pulumi.Input @@ -370,11 +386,11 @@ func (i CartDiscountTargetArgs) ToCartDiscountTargetPtrOutputWithContext(ctx con // CartDiscountTargetPtrInput is an input type that accepts CartDiscountTargetArgs, CartDiscountTargetPtr and CartDiscountTargetPtrOutput values. // You can construct a concrete instance of `CartDiscountTargetPtrInput` via: // -// CartDiscountTargetArgs{...} +// CartDiscountTargetArgs{...} // -// or: +// or: // -// nil +// nil type CartDiscountTargetPtrInput interface { pulumi.Input @@ -419,10 +435,11 @@ func (o CartDiscountTargetOutput) ToCartDiscountTargetPtrOutput() CartDiscountTa } func (o CartDiscountTargetOutput) ToCartDiscountTargetPtrOutputWithContext(ctx context.Context) CartDiscountTargetPtrOutput { - return o.ApplyT(func(v CartDiscountTarget) *CartDiscountTarget { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CartDiscountTarget) *CartDiscountTarget { return &v }).(CartDiscountTargetPtrOutput) } + func (o CartDiscountTargetOutput) Predicate() pulumi.StringPtrOutput { return o.ApplyT(func(v CartDiscountTarget) *string { return v.Predicate }).(pulumi.StringPtrOutput) } @@ -446,7 +463,13 @@ func (o CartDiscountTargetPtrOutput) ToCartDiscountTargetPtrOutputWithContext(ct } func (o CartDiscountTargetPtrOutput) Elem() CartDiscountTargetOutput { - return o.ApplyT(func(v *CartDiscountTarget) CartDiscountTarget { return *v }).(CartDiscountTargetOutput) + return o.ApplyT(func(v *CartDiscountTarget) CartDiscountTarget { + if v != nil { + return *v + } + var ret CartDiscountTarget + return ret + }).(CartDiscountTargetOutput) } func (o CartDiscountTargetPtrOutput) Predicate() pulumi.StringPtrOutput { @@ -480,7 +503,7 @@ type CartDiscountValue struct { // CartDiscountValueInput is an input type that accepts CartDiscountValueArgs and CartDiscountValueOutput values. // You can construct a concrete instance of `CartDiscountValueInput` via: // -// CartDiscountValueArgs{...} +// CartDiscountValueArgs{...} type CartDiscountValueInput interface { pulumi.Input @@ -521,11 +544,11 @@ func (i CartDiscountValueArgs) ToCartDiscountValuePtrOutputWithContext(ctx conte // CartDiscountValuePtrInput is an input type that accepts CartDiscountValueArgs, CartDiscountValuePtr and CartDiscountValuePtrOutput values. // You can construct a concrete instance of `CartDiscountValuePtrInput` via: // -// CartDiscountValueArgs{...} +// CartDiscountValueArgs{...} // -// or: +// or: // -// nil +// nil type CartDiscountValuePtrInput interface { pulumi.Input @@ -570,10 +593,11 @@ func (o CartDiscountValueOutput) ToCartDiscountValuePtrOutput() CartDiscountValu } func (o CartDiscountValueOutput) ToCartDiscountValuePtrOutputWithContext(ctx context.Context) CartDiscountValuePtrOutput { - return o.ApplyT(func(v CartDiscountValue) *CartDiscountValue { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CartDiscountValue) *CartDiscountValue { return &v }).(CartDiscountValuePtrOutput) } + func (o CartDiscountValueOutput) DistributionChannelId() pulumi.StringPtrOutput { return o.ApplyT(func(v CartDiscountValue) *string { return v.DistributionChannelId }).(pulumi.StringPtrOutput) } @@ -617,7 +641,13 @@ func (o CartDiscountValuePtrOutput) ToCartDiscountValuePtrOutputWithContext(ctx } func (o CartDiscountValuePtrOutput) Elem() CartDiscountValueOutput { - return o.ApplyT(func(v *CartDiscountValue) CartDiscountValue { return *v }).(CartDiscountValueOutput) + return o.ApplyT(func(v *CartDiscountValue) CartDiscountValue { + if v != nil { + return *v + } + var ret CartDiscountValue + return ret + }).(CartDiscountValueOutput) } func (o CartDiscountValuePtrOutput) DistributionChannelId() pulumi.StringPtrOutput { @@ -691,7 +721,7 @@ type CartDiscountValueMoney struct { // CartDiscountValueMoneyInput is an input type that accepts CartDiscountValueMoneyArgs and CartDiscountValueMoneyOutput values. // You can construct a concrete instance of `CartDiscountValueMoneyInput` via: // -// CartDiscountValueMoneyArgs{...} +// CartDiscountValueMoneyArgs{...} type CartDiscountValueMoneyInput interface { pulumi.Input @@ -719,7 +749,7 @@ func (i CartDiscountValueMoneyArgs) ToCartDiscountValueMoneyOutputWithContext(ct // CartDiscountValueMoneyArrayInput is an input type that accepts CartDiscountValueMoneyArray and CartDiscountValueMoneyArrayOutput values. // You can construct a concrete instance of `CartDiscountValueMoneyArrayInput` via: // -// CartDiscountValueMoneyArray{ CartDiscountValueMoneyArgs{...} } +// CartDiscountValueMoneyArray{ CartDiscountValueMoneyArgs{...} } type CartDiscountValueMoneyArrayInput interface { pulumi.Input @@ -783,1342 +813,4037 @@ func (o CartDiscountValueMoneyArrayOutput) Index(i pulumi.IntInput) CartDiscount }).(CartDiscountValueMoneyOutput) } -type ProductTypeAttribute struct { - Constraint *string `pulumi:"constraint"` - InputHint *string `pulumi:"inputHint"` - InputTip map[string]interface{} `pulumi:"inputTip"` - Label map[string]interface{} `pulumi:"label"` - Name string `pulumi:"name"` - Required *bool `pulumi:"required"` - Searchable *bool `pulumi:"searchable"` - Type ProductTypeAttributeType `pulumi:"type"` +type CategoryAsset struct { + Description map[string]interface{} `pulumi:"description"` + Id *string `pulumi:"id"` + Key *string `pulumi:"key"` + Name map[string]interface{} `pulumi:"name"` + Sources []CategoryAssetSource `pulumi:"sources"` + Tags []string `pulumi:"tags"` } -// ProductTypeAttributeInput is an input type that accepts ProductTypeAttributeArgs and ProductTypeAttributeOutput values. -// You can construct a concrete instance of `ProductTypeAttributeInput` via: +// CategoryAssetInput is an input type that accepts CategoryAssetArgs and CategoryAssetOutput values. +// You can construct a concrete instance of `CategoryAssetInput` via: // -// ProductTypeAttributeArgs{...} -type ProductTypeAttributeInput interface { +// CategoryAssetArgs{...} +type CategoryAssetInput interface { pulumi.Input - ToProductTypeAttributeOutput() ProductTypeAttributeOutput - ToProductTypeAttributeOutputWithContext(context.Context) ProductTypeAttributeOutput + ToCategoryAssetOutput() CategoryAssetOutput + ToCategoryAssetOutputWithContext(context.Context) CategoryAssetOutput } -type ProductTypeAttributeArgs struct { - Constraint pulumi.StringPtrInput `pulumi:"constraint"` - InputHint pulumi.StringPtrInput `pulumi:"inputHint"` - InputTip pulumi.MapInput `pulumi:"inputTip"` - Label pulumi.MapInput `pulumi:"label"` - Name pulumi.StringInput `pulumi:"name"` - Required pulumi.BoolPtrInput `pulumi:"required"` - Searchable pulumi.BoolPtrInput `pulumi:"searchable"` - Type ProductTypeAttributeTypeInput `pulumi:"type"` +type CategoryAssetArgs struct { + Description pulumi.MapInput `pulumi:"description"` + Id pulumi.StringPtrInput `pulumi:"id"` + Key pulumi.StringPtrInput `pulumi:"key"` + Name pulumi.MapInput `pulumi:"name"` + Sources CategoryAssetSourceArrayInput `pulumi:"sources"` + Tags pulumi.StringArrayInput `pulumi:"tags"` } -func (ProductTypeAttributeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttribute)(nil)).Elem() +func (CategoryAssetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAsset)(nil)).Elem() } -func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutput() ProductTypeAttributeOutput { - return i.ToProductTypeAttributeOutputWithContext(context.Background()) +func (i CategoryAssetArgs) ToCategoryAssetOutput() CategoryAssetOutput { + return i.ToCategoryAssetOutputWithContext(context.Background()) } -func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeOutput) +func (i CategoryAssetArgs) ToCategoryAssetOutputWithContext(ctx context.Context) CategoryAssetOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetOutput) } -// ProductTypeAttributeArrayInput is an input type that accepts ProductTypeAttributeArray and ProductTypeAttributeArrayOutput values. -// You can construct a concrete instance of `ProductTypeAttributeArrayInput` via: +// CategoryAssetArrayInput is an input type that accepts CategoryAssetArray and CategoryAssetArrayOutput values. +// You can construct a concrete instance of `CategoryAssetArrayInput` via: // -// ProductTypeAttributeArray{ ProductTypeAttributeArgs{...} } -type ProductTypeAttributeArrayInput interface { +// CategoryAssetArray{ CategoryAssetArgs{...} } +type CategoryAssetArrayInput interface { pulumi.Input - ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput - ToProductTypeAttributeArrayOutputWithContext(context.Context) ProductTypeAttributeArrayOutput + ToCategoryAssetArrayOutput() CategoryAssetArrayOutput + ToCategoryAssetArrayOutputWithContext(context.Context) CategoryAssetArrayOutput } -type ProductTypeAttributeArray []ProductTypeAttributeInput +type CategoryAssetArray []CategoryAssetInput -func (ProductTypeAttributeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttribute)(nil)).Elem() +func (CategoryAssetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CategoryAsset)(nil)).Elem() } -func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput { - return i.ToProductTypeAttributeArrayOutputWithContext(context.Background()) +func (i CategoryAssetArray) ToCategoryAssetArrayOutput() CategoryAssetArrayOutput { + return i.ToCategoryAssetArrayOutputWithContext(context.Background()) } -func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeArrayOutput) +func (i CategoryAssetArray) ToCategoryAssetArrayOutputWithContext(ctx context.Context) CategoryAssetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetArrayOutput) } -type ProductTypeAttributeOutput struct{ *pulumi.OutputState } +type CategoryAssetOutput struct{ *pulumi.OutputState } -func (ProductTypeAttributeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttribute)(nil)).Elem() +func (CategoryAssetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAsset)(nil)).Elem() } -func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutput() ProductTypeAttributeOutput { +func (o CategoryAssetOutput) ToCategoryAssetOutput() CategoryAssetOutput { return o } -func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput { +func (o CategoryAssetOutput) ToCategoryAssetOutputWithContext(ctx context.Context) CategoryAssetOutput { return o } -func (o ProductTypeAttributeOutput) Constraint() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttribute) *string { return v.Constraint }).(pulumi.StringPtrOutput) +func (o CategoryAssetOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v CategoryAsset) map[string]interface{} { return v.Description }).(pulumi.MapOutput) } -func (o ProductTypeAttributeOutput) InputHint() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttribute) *string { return v.InputHint }).(pulumi.StringPtrOutput) +func (o CategoryAssetOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v CategoryAsset) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeOutput) InputTip() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttribute) map[string]interface{} { return v.InputTip }).(pulumi.MapOutput) +func (o CategoryAssetOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v CategoryAsset) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeOutput) Label() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttribute) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +func (o CategoryAssetOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v CategoryAsset) map[string]interface{} { return v.Name }).(pulumi.MapOutput) } -func (o ProductTypeAttributeOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ProductTypeAttribute) string { return v.Name }).(pulumi.StringOutput) +func (o CategoryAssetOutput) Sources() CategoryAssetSourceArrayOutput { + return o.ApplyT(func(v CategoryAsset) []CategoryAssetSource { return v.Sources }).(CategoryAssetSourceArrayOutput) } -func (o ProductTypeAttributeOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProductTypeAttribute) *bool { return v.Required }).(pulumi.BoolPtrOutput) +func (o CategoryAssetOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v CategoryAsset) []string { return v.Tags }).(pulumi.StringArrayOutput) } -func (o ProductTypeAttributeOutput) Searchable() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProductTypeAttribute) *bool { return v.Searchable }).(pulumi.BoolPtrOutput) +type CategoryAssetArrayOutput struct{ *pulumi.OutputState } + +func (CategoryAssetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CategoryAsset)(nil)).Elem() } -func (o ProductTypeAttributeOutput) Type() ProductTypeAttributeTypeOutput { - return o.ApplyT(func(v ProductTypeAttribute) ProductTypeAttributeType { return v.Type }).(ProductTypeAttributeTypeOutput) +func (o CategoryAssetArrayOutput) ToCategoryAssetArrayOutput() CategoryAssetArrayOutput { + return o } -type ProductTypeAttributeArrayOutput struct{ *pulumi.OutputState } +func (o CategoryAssetArrayOutput) ToCategoryAssetArrayOutputWithContext(ctx context.Context) CategoryAssetArrayOutput { + return o +} -func (ProductTypeAttributeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttribute)(nil)).Elem() +func (o CategoryAssetArrayOutput) Index(i pulumi.IntInput) CategoryAssetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CategoryAsset { + return vs[0].([]CategoryAsset)[vs[1].(int)] + }).(CategoryAssetOutput) } -func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput { - return o +type CategoryAssetSource struct { + ContentType *string `pulumi:"contentType"` + Dimensions *CategoryAssetSourceDimensions `pulumi:"dimensions"` + Key *string `pulumi:"key"` + Uri string `pulumi:"uri"` } -func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput { - return o +// CategoryAssetSourceInput is an input type that accepts CategoryAssetSourceArgs and CategoryAssetSourceOutput values. +// You can construct a concrete instance of `CategoryAssetSourceInput` via: +// +// CategoryAssetSourceArgs{...} +type CategoryAssetSourceInput interface { + pulumi.Input + + ToCategoryAssetSourceOutput() CategoryAssetSourceOutput + ToCategoryAssetSourceOutputWithContext(context.Context) CategoryAssetSourceOutput } -func (o ProductTypeAttributeArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttribute { - return vs[0].([]ProductTypeAttribute)[vs[1].(int)] - }).(ProductTypeAttributeOutput) +type CategoryAssetSourceArgs struct { + ContentType pulumi.StringPtrInput `pulumi:"contentType"` + Dimensions CategoryAssetSourceDimensionsPtrInput `pulumi:"dimensions"` + Key pulumi.StringPtrInput `pulumi:"key"` + Uri pulumi.StringInput `pulumi:"uri"` } -type ProductTypeAttributeType struct { - ElementType2 *ProductTypeAttributeTypeElementType2 `pulumi:"ElementType2"` - LocalizedValues []ProductTypeAttributeTypeLocalizedValue `pulumi:"localizedValues"` - Name string `pulumi:"name"` - ReferenceTypeId *string `pulumi:"referenceTypeId"` - TypeReference *string `pulumi:"typeReference"` - Values map[string]interface{} `pulumi:"values"` +func (CategoryAssetSourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAssetSource)(nil)).Elem() } -// ProductTypeAttributeTypeInput is an input type that accepts ProductTypeAttributeTypeArgs and ProductTypeAttributeTypeOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeInput` via: +func (i CategoryAssetSourceArgs) ToCategoryAssetSourceOutput() CategoryAssetSourceOutput { + return i.ToCategoryAssetSourceOutputWithContext(context.Background()) +} + +func (i CategoryAssetSourceArgs) ToCategoryAssetSourceOutputWithContext(ctx context.Context) CategoryAssetSourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetSourceOutput) +} + +// CategoryAssetSourceArrayInput is an input type that accepts CategoryAssetSourceArray and CategoryAssetSourceArrayOutput values. +// You can construct a concrete instance of `CategoryAssetSourceArrayInput` via: // -// ProductTypeAttributeTypeArgs{...} -type ProductTypeAttributeTypeInput interface { +// CategoryAssetSourceArray{ CategoryAssetSourceArgs{...} } +type CategoryAssetSourceArrayInput interface { pulumi.Input - ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput - ToProductTypeAttributeTypeOutputWithContext(context.Context) ProductTypeAttributeTypeOutput + ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput + ToCategoryAssetSourceArrayOutputWithContext(context.Context) CategoryAssetSourceArrayOutput } -type ProductTypeAttributeTypeArgs struct { - ElementType2 ProductTypeAttributeTypeElementType2PtrInput `pulumi:"ElementType2"` - LocalizedValues ProductTypeAttributeTypeLocalizedValueArrayInput `pulumi:"localizedValues"` - Name pulumi.StringInput `pulumi:"name"` - ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` - TypeReference pulumi.StringPtrInput `pulumi:"typeReference"` - Values pulumi.MapInput `pulumi:"values"` -} +type CategoryAssetSourceArray []CategoryAssetSourceInput -func (ProductTypeAttributeTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeType)(nil)).Elem() +func (CategoryAssetSourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CategoryAssetSource)(nil)).Elem() } -func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput { - return i.ToProductTypeAttributeTypeOutputWithContext(context.Background()) +func (i CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput { + return i.ToCategoryAssetSourceArrayOutputWithContext(context.Background()) } -func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeOutput) +func (i CategoryAssetSourceArray) ToCategoryAssetSourceArrayOutputWithContext(ctx context.Context) CategoryAssetSourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetSourceArrayOutput) } -type ProductTypeAttributeTypeOutput struct{ *pulumi.OutputState } +type CategoryAssetSourceOutput struct{ *pulumi.OutputState } -func (ProductTypeAttributeTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeType)(nil)).Elem() +func (CategoryAssetSourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAssetSource)(nil)).Elem() } -func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput { +func (o CategoryAssetSourceOutput) ToCategoryAssetSourceOutput() CategoryAssetSourceOutput { return o } -func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput { +func (o CategoryAssetSourceOutput) ToCategoryAssetSourceOutputWithContext(ctx context.Context) CategoryAssetSourceOutput { return o } -func (o ProductTypeAttributeTypeOutput) ElementType2() ProductTypeAttributeTypeElementType2PtrOutput { - return o.ApplyT(func(v ProductTypeAttributeType) *ProductTypeAttributeTypeElementType2 { return v.ElementType2 }).(ProductTypeAttributeTypeElementType2PtrOutput) +func (o CategoryAssetSourceOutput) ContentType() pulumi.StringPtrOutput { + return o.ApplyT(func(v CategoryAssetSource) *string { return v.ContentType }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeTypeOutput) LocalizedValues() ProductTypeAttributeTypeLocalizedValueArrayOutput { - return o.ApplyT(func(v ProductTypeAttributeType) []ProductTypeAttributeTypeLocalizedValue { return v.LocalizedValues }).(ProductTypeAttributeTypeLocalizedValueArrayOutput) +func (o CategoryAssetSourceOutput) Dimensions() CategoryAssetSourceDimensionsPtrOutput { + return o.ApplyT(func(v CategoryAssetSource) *CategoryAssetSourceDimensions { return v.Dimensions }).(CategoryAssetSourceDimensionsPtrOutput) } -func (o ProductTypeAttributeTypeOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ProductTypeAttributeType) string { return v.Name }).(pulumi.StringOutput) +func (o CategoryAssetSourceOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v CategoryAssetSource) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeTypeOutput) ReferenceTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttributeType) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) +func (o CategoryAssetSourceOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v CategoryAssetSource) string { return v.Uri }).(pulumi.StringOutput) } -func (o ProductTypeAttributeTypeOutput) TypeReference() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttributeType) *string { return v.TypeReference }).(pulumi.StringPtrOutput) +type CategoryAssetSourceArrayOutput struct{ *pulumi.OutputState } + +func (CategoryAssetSourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CategoryAssetSource)(nil)).Elem() } -func (o ProductTypeAttributeTypeOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttributeType) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func (o CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutput() CategoryAssetSourceArrayOutput { + return o } -type ProductTypeAttributeTypeElementType2 struct { - LocalizedValues []ProductTypeAttributeTypeElementType2LocalizedValue `pulumi:"localizedValues"` - Name string `pulumi:"name"` - ReferenceTypeId *string `pulumi:"referenceTypeId"` - TypeReference *string `pulumi:"typeReference"` - Values map[string]interface{} `pulumi:"values"` +func (o CategoryAssetSourceArrayOutput) ToCategoryAssetSourceArrayOutputWithContext(ctx context.Context) CategoryAssetSourceArrayOutput { + return o } -// ProductTypeAttributeTypeElementType2Input is an input type that accepts ProductTypeAttributeTypeElementType2Args and ProductTypeAttributeTypeElementType2Output values. -// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2Input` via: +func (o CategoryAssetSourceArrayOutput) Index(i pulumi.IntInput) CategoryAssetSourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CategoryAssetSource { + return vs[0].([]CategoryAssetSource)[vs[1].(int)] + }).(CategoryAssetSourceOutput) +} + +type CategoryAssetSourceDimensions struct { + H int `pulumi:"h"` + W int `pulumi:"w"` +} + +// CategoryAssetSourceDimensionsInput is an input type that accepts CategoryAssetSourceDimensionsArgs and CategoryAssetSourceDimensionsOutput values. +// You can construct a concrete instance of `CategoryAssetSourceDimensionsInput` via: // -// ProductTypeAttributeTypeElementType2Args{...} -type ProductTypeAttributeTypeElementType2Input interface { +// CategoryAssetSourceDimensionsArgs{...} +type CategoryAssetSourceDimensionsInput interface { pulumi.Input - ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output - ToProductTypeAttributeTypeElementType2OutputWithContext(context.Context) ProductTypeAttributeTypeElementType2Output + ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput + ToCategoryAssetSourceDimensionsOutputWithContext(context.Context) CategoryAssetSourceDimensionsOutput } -type ProductTypeAttributeTypeElementType2Args struct { - LocalizedValues ProductTypeAttributeTypeElementType2LocalizedValueArrayInput `pulumi:"localizedValues"` - Name pulumi.StringInput `pulumi:"name"` - ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` - TypeReference pulumi.StringPtrInput `pulumi:"typeReference"` - Values pulumi.MapInput `pulumi:"values"` +type CategoryAssetSourceDimensionsArgs struct { + H pulumi.IntInput `pulumi:"h"` + W pulumi.IntInput `pulumi:"w"` } -func (ProductTypeAttributeTypeElementType2Args) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeElementType2)(nil)).Elem() +func (CategoryAssetSourceDimensionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAssetSourceDimensions)(nil)).Elem() } -func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output { - return i.ToProductTypeAttributeTypeElementType2OutputWithContext(context.Background()) +func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput { + return i.ToCategoryAssetSourceDimensionsOutputWithContext(context.Background()) } -func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2Output) +func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetSourceDimensionsOutput) } -func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { - return i.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput { + return i.ToCategoryAssetSourceDimensionsPtrOutputWithContext(context.Background()) } -func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2Output).ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx) +func (i CategoryAssetSourceDimensionsArgs) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetSourceDimensionsOutput).ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx) } -// ProductTypeAttributeTypeElementType2PtrInput is an input type that accepts ProductTypeAttributeTypeElementType2Args, ProductTypeAttributeTypeElementType2Ptr and ProductTypeAttributeTypeElementType2PtrOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2PtrInput` via: +// CategoryAssetSourceDimensionsPtrInput is an input type that accepts CategoryAssetSourceDimensionsArgs, CategoryAssetSourceDimensionsPtr and CategoryAssetSourceDimensionsPtrOutput values. +// You can construct a concrete instance of `CategoryAssetSourceDimensionsPtrInput` via: // -// ProductTypeAttributeTypeElementType2Args{...} +// CategoryAssetSourceDimensionsArgs{...} // -// or: +// or: // -// nil -type ProductTypeAttributeTypeElementType2PtrInput interface { +// nil +type CategoryAssetSourceDimensionsPtrInput interface { pulumi.Input - ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput - ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2PtrOutput + ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput + ToCategoryAssetSourceDimensionsPtrOutputWithContext(context.Context) CategoryAssetSourceDimensionsPtrOutput } -type productTypeAttributeTypeElementType2PtrType ProductTypeAttributeTypeElementType2Args +type categoryAssetSourceDimensionsPtrType CategoryAssetSourceDimensionsArgs -func ProductTypeAttributeTypeElementType2Ptr(v *ProductTypeAttributeTypeElementType2Args) ProductTypeAttributeTypeElementType2PtrInput { - return (*productTypeAttributeTypeElementType2PtrType)(v) +func CategoryAssetSourceDimensionsPtr(v *CategoryAssetSourceDimensionsArgs) CategoryAssetSourceDimensionsPtrInput { + return (*categoryAssetSourceDimensionsPtrType)(v) } -func (*productTypeAttributeTypeElementType2PtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProductTypeAttributeTypeElementType2)(nil)).Elem() +func (*categoryAssetSourceDimensionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CategoryAssetSourceDimensions)(nil)).Elem() } -func (i *productTypeAttributeTypeElementType2PtrType) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { - return i.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +func (i *categoryAssetSourceDimensionsPtrType) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput { + return i.ToCategoryAssetSourceDimensionsPtrOutputWithContext(context.Background()) } -func (i *productTypeAttributeTypeElementType2PtrType) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2PtrOutput) +func (i *categoryAssetSourceDimensionsPtrType) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryAssetSourceDimensionsPtrOutput) } -type ProductTypeAttributeTypeElementType2Output struct{ *pulumi.OutputState } +type CategoryAssetSourceDimensionsOutput struct{ *pulumi.OutputState } -func (ProductTypeAttributeTypeElementType2Output) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeElementType2)(nil)).Elem() +func (CategoryAssetSourceDimensionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryAssetSourceDimensions)(nil)).Elem() } -func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output { +func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutput() CategoryAssetSourceDimensionsOutput { return o } -func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output { +func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsOutput { return o } -func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { - return o.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput { + return o.ToCategoryAssetSourceDimensionsPtrOutputWithContext(context.Background()) } -func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) *ProductTypeAttributeTypeElementType2 { +func (o CategoryAssetSourceDimensionsOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CategoryAssetSourceDimensions) *CategoryAssetSourceDimensions { return &v - }).(ProductTypeAttributeTypeElementType2PtrOutput) -} -func (o ProductTypeAttributeTypeElementType2Output) LocalizedValues() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2LocalizedValue { - return v.LocalizedValues - }).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) + }).(CategoryAssetSourceDimensionsPtrOutput) } -func (o ProductTypeAttributeTypeElementType2Output) Name() pulumi.StringOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) string { return v.Name }).(pulumi.StringOutput) -} - -func (o ProductTypeAttributeTypeElementType2Output) ReferenceTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) -} - -func (o ProductTypeAttributeTypeElementType2Output) TypeReference() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) *string { return v.TypeReference }).(pulumi.StringPtrOutput) +func (o CategoryAssetSourceDimensionsOutput) H() pulumi.IntOutput { + return o.ApplyT(func(v CategoryAssetSourceDimensions) int { return v.H }).(pulumi.IntOutput) } -func (o ProductTypeAttributeTypeElementType2Output) Values() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func (o CategoryAssetSourceDimensionsOutput) W() pulumi.IntOutput { + return o.ApplyT(func(v CategoryAssetSourceDimensions) int { return v.W }).(pulumi.IntOutput) } -type ProductTypeAttributeTypeElementType2PtrOutput struct{ *pulumi.OutputState } +type CategoryAssetSourceDimensionsPtrOutput struct{ *pulumi.OutputState } -func (ProductTypeAttributeTypeElementType2PtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProductTypeAttributeTypeElementType2)(nil)).Elem() +func (CategoryAssetSourceDimensionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CategoryAssetSourceDimensions)(nil)).Elem() } -func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { +func (o CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutput() CategoryAssetSourceDimensionsPtrOutput { return o } -func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { +func (o CategoryAssetSourceDimensionsPtrOutput) ToCategoryAssetSourceDimensionsPtrOutputWithContext(ctx context.Context) CategoryAssetSourceDimensionsPtrOutput { return o } -func (o ProductTypeAttributeTypeElementType2PtrOutput) Elem() ProductTypeAttributeTypeElementType2Output { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) ProductTypeAttributeTypeElementType2 { return *v }).(ProductTypeAttributeTypeElementType2Output) +func (o CategoryAssetSourceDimensionsPtrOutput) Elem() CategoryAssetSourceDimensionsOutput { + return o.ApplyT(func(v *CategoryAssetSourceDimensions) CategoryAssetSourceDimensions { + if v != nil { + return *v + } + var ret CategoryAssetSourceDimensions + return ret + }).(CategoryAssetSourceDimensionsOutput) } -func (o ProductTypeAttributeTypeElementType2PtrOutput) LocalizedValues() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2LocalizedValue { +func (o CategoryAssetSourceDimensionsPtrOutput) H() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CategoryAssetSourceDimensions) *int { if v == nil { return nil } - return v.LocalizedValues - }).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) + return &v.H + }).(pulumi.IntPtrOutput) } -func (o ProductTypeAttributeTypeElementType2PtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { +func (o CategoryAssetSourceDimensionsPtrOutput) W() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CategoryAssetSourceDimensions) *int { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return &v.W + }).(pulumi.IntPtrOutput) } -func (o ProductTypeAttributeTypeElementType2PtrOutput) ReferenceTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { - if v == nil { - return nil - } - return v.ReferenceTypeId - }).(pulumi.StringPtrOutput) +type CategoryCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` } -func (o ProductTypeAttributeTypeElementType2PtrOutput) TypeReference() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { - if v == nil { - return nil - } - return v.TypeReference - }).(pulumi.StringPtrOutput) +// CategoryCustomInput is an input type that accepts CategoryCustomArgs and CategoryCustomOutput values. +// You can construct a concrete instance of `CategoryCustomInput` via: +// +// CategoryCustomArgs{...} +type CategoryCustomInput interface { + pulumi.Input + + ToCategoryCustomOutput() CategoryCustomOutput + ToCategoryCustomOutputWithContext(context.Context) CategoryCustomOutput } -func (o ProductTypeAttributeTypeElementType2PtrOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) map[string]interface{} { - if v == nil { - return nil - } - return v.Values - }).(pulumi.MapOutput) +type CategoryCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` } -type ProductTypeAttributeTypeElementType2LocalizedValue struct { - Key string `pulumi:"key"` - Label map[string]interface{} `pulumi:"label"` +func (CategoryCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryCustom)(nil)).Elem() } -// ProductTypeAttributeTypeElementType2LocalizedValueInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArgs and ProductTypeAttributeTypeElementType2LocalizedValueOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueInput` via: -// -// ProductTypeAttributeTypeElementType2LocalizedValueArgs{...} -type ProductTypeAttributeTypeElementType2LocalizedValueInput interface { - pulumi.Input +func (i CategoryCustomArgs) ToCategoryCustomOutput() CategoryCustomOutput { + return i.ToCategoryCustomOutputWithContext(context.Background()) +} - ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput - ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput +func (i CategoryCustomArgs) ToCategoryCustomOutputWithContext(ctx context.Context) CategoryCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryCustomOutput) } -type ProductTypeAttributeTypeElementType2LocalizedValueArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Label pulumi.MapInput `pulumi:"label"` +func (i CategoryCustomArgs) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput { + return i.ToCategoryCustomPtrOutputWithContext(context.Background()) } -func (ProductTypeAttributeTypeElementType2LocalizedValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() -} - -func (i ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput { - return i.ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(context.Background()) -} - -func (i ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2LocalizedValueOutput) +func (i CategoryCustomArgs) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryCustomOutput).ToCategoryCustomPtrOutputWithContext(ctx) } -// ProductTypeAttributeTypeElementType2LocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArray and ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueArrayInput` via: +// CategoryCustomPtrInput is an input type that accepts CategoryCustomArgs, CategoryCustomPtr and CategoryCustomPtrOutput values. +// You can construct a concrete instance of `CategoryCustomPtrInput` via: // -// ProductTypeAttributeTypeElementType2LocalizedValueArray{ ProductTypeAttributeTypeElementType2LocalizedValueArgs{...} } -type ProductTypeAttributeTypeElementType2LocalizedValueArrayInput interface { +// CategoryCustomArgs{...} +// +// or: +// +// nil +type CategoryCustomPtrInput interface { pulumi.Input - ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput - ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput + ToCategoryCustomPtrOutput() CategoryCustomPtrOutput + ToCategoryCustomPtrOutputWithContext(context.Context) CategoryCustomPtrOutput } -type ProductTypeAttributeTypeElementType2LocalizedValueArray []ProductTypeAttributeTypeElementType2LocalizedValueInput +type categoryCustomPtrType CategoryCustomArgs -func (ProductTypeAttributeTypeElementType2LocalizedValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +func CategoryCustomPtr(v *CategoryCustomArgs) CategoryCustomPtrInput { + return (*categoryCustomPtrType)(v) } -func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { - return i.ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(context.Background()) +func (*categoryCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CategoryCustom)(nil)).Elem() } -func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) +func (i *categoryCustomPtrType) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput { + return i.ToCategoryCustomPtrOutputWithContext(context.Background()) } -type ProductTypeAttributeTypeElementType2LocalizedValueOutput struct{ *pulumi.OutputState } +func (i *categoryCustomPtrType) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CategoryCustomPtrOutput) +} -func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +type CategoryCustomOutput struct{ *pulumi.OutputState } + +func (CategoryCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CategoryCustom)(nil)).Elem() } -func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput { +func (o CategoryCustomOutput) ToCategoryCustomOutput() CategoryCustomOutput { return o } -func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput { +func (o CategoryCustomOutput) ToCategoryCustomOutputWithContext(ctx context.Context) CategoryCustomOutput { return o } -func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2LocalizedValue) string { return v.Key }).(pulumi.StringOutput) +func (o CategoryCustomOutput) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput { + return o.ToCategoryCustomPtrOutputWithContext(context.Background()) } -func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) Label() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeElementType2LocalizedValue) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +func (o CategoryCustomOutput) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CategoryCustom) *CategoryCustom { + return &v + }).(CategoryCustomPtrOutput) } -type ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput struct{ *pulumi.OutputState } +func (o CategoryCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v CategoryCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) +} -func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +func (o CategoryCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v CategoryCustom) string { return v.TypeId }).(pulumi.StringOutput) } -func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { +type CategoryCustomPtrOutput struct{ *pulumi.OutputState } + +func (CategoryCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CategoryCustom)(nil)).Elem() +} + +func (o CategoryCustomPtrOutput) ToCategoryCustomPtrOutput() CategoryCustomPtrOutput { return o } -func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { +func (o CategoryCustomPtrOutput) ToCategoryCustomPtrOutputWithContext(ctx context.Context) CategoryCustomPtrOutput { return o } -func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeElementType2LocalizedValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeElementType2LocalizedValue { - return vs[0].([]ProductTypeAttributeTypeElementType2LocalizedValue)[vs[1].(int)] - }).(ProductTypeAttributeTypeElementType2LocalizedValueOutput) +func (o CategoryCustomPtrOutput) Elem() CategoryCustomOutput { + return o.ApplyT(func(v *CategoryCustom) CategoryCustom { + if v != nil { + return *v + } + var ret CategoryCustom + return ret + }).(CategoryCustomOutput) } -type ProductTypeAttributeTypeLocalizedValue struct { - Key string `pulumi:"key"` - Label map[string]interface{} `pulumi:"label"` +func (o CategoryCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *CategoryCustom) map[string]interface{} { + if v == nil { + return nil + } + return v.Fields + }).(pulumi.MapOutput) } -// ProductTypeAttributeTypeLocalizedValueInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArgs and ProductTypeAttributeTypeLocalizedValueOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueInput` via: +func (o CategoryCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CategoryCustom) *string { + if v == nil { + return nil + } + return &v.TypeId + }).(pulumi.StringPtrOutput) +} + +type ChannelAddress struct { + AdditionalAddressInfo *string `pulumi:"additionalAddressInfo"` + AdditionalStreetInfo *string `pulumi:"additionalStreetInfo"` + Apartment *string `pulumi:"apartment"` + Building *string `pulumi:"building"` + City *string `pulumi:"city"` + Company *string `pulumi:"company"` + Country string `pulumi:"country"` + Department *string `pulumi:"department"` + Email *string `pulumi:"email"` + ExternalId *string `pulumi:"externalId"` + Fax *string `pulumi:"fax"` + FirstName *string `pulumi:"firstName"` + Id *string `pulumi:"id"` + Key *string `pulumi:"key"` + LastName *string `pulumi:"lastName"` + Mobile *string `pulumi:"mobile"` + Phone *string `pulumi:"phone"` + PoBox *string `pulumi:"poBox"` + PostalCode *string `pulumi:"postalCode"` + Region *string `pulumi:"region"` + Salutation *string `pulumi:"salutation"` + State *string `pulumi:"state"` + StreetName *string `pulumi:"streetName"` + StreetNumber *string `pulumi:"streetNumber"` + Title *string `pulumi:"title"` +} + +// ChannelAddressInput is an input type that accepts ChannelAddressArgs and ChannelAddressOutput values. +// You can construct a concrete instance of `ChannelAddressInput` via: // -// ProductTypeAttributeTypeLocalizedValueArgs{...} -type ProductTypeAttributeTypeLocalizedValueInput interface { +// ChannelAddressArgs{...} +type ChannelAddressInput interface { pulumi.Input - ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput - ToProductTypeAttributeTypeLocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueOutput + ToChannelAddressOutput() ChannelAddressOutput + ToChannelAddressOutputWithContext(context.Context) ChannelAddressOutput } -type ProductTypeAttributeTypeLocalizedValueArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Label pulumi.MapInput `pulumi:"label"` +type ChannelAddressArgs struct { + AdditionalAddressInfo pulumi.StringPtrInput `pulumi:"additionalAddressInfo"` + AdditionalStreetInfo pulumi.StringPtrInput `pulumi:"additionalStreetInfo"` + Apartment pulumi.StringPtrInput `pulumi:"apartment"` + Building pulumi.StringPtrInput `pulumi:"building"` + City pulumi.StringPtrInput `pulumi:"city"` + Company pulumi.StringPtrInput `pulumi:"company"` + Country pulumi.StringInput `pulumi:"country"` + Department pulumi.StringPtrInput `pulumi:"department"` + Email pulumi.StringPtrInput `pulumi:"email"` + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + Fax pulumi.StringPtrInput `pulumi:"fax"` + FirstName pulumi.StringPtrInput `pulumi:"firstName"` + Id pulumi.StringPtrInput `pulumi:"id"` + Key pulumi.StringPtrInput `pulumi:"key"` + LastName pulumi.StringPtrInput `pulumi:"lastName"` + Mobile pulumi.StringPtrInput `pulumi:"mobile"` + Phone pulumi.StringPtrInput `pulumi:"phone"` + PoBox pulumi.StringPtrInput `pulumi:"poBox"` + PostalCode pulumi.StringPtrInput `pulumi:"postalCode"` + Region pulumi.StringPtrInput `pulumi:"region"` + Salutation pulumi.StringPtrInput `pulumi:"salutation"` + State pulumi.StringPtrInput `pulumi:"state"` + StreetName pulumi.StringPtrInput `pulumi:"streetName"` + StreetNumber pulumi.StringPtrInput `pulumi:"streetNumber"` + Title pulumi.StringPtrInput `pulumi:"title"` } -func (ProductTypeAttributeTypeLocalizedValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +func (ChannelAddressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelAddress)(nil)).Elem() } -func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput { - return i.ToProductTypeAttributeTypeLocalizedValueOutputWithContext(context.Background()) +func (i ChannelAddressArgs) ToChannelAddressOutput() ChannelAddressOutput { + return i.ToChannelAddressOutputWithContext(context.Background()) } -func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeLocalizedValueOutput) +func (i ChannelAddressArgs) ToChannelAddressOutputWithContext(ctx context.Context) ChannelAddressOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelAddressOutput) } -// ProductTypeAttributeTypeLocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArray and ProductTypeAttributeTypeLocalizedValueArrayOutput values. -// You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueArrayInput` via: +func (i ChannelAddressArgs) ToChannelAddressPtrOutput() ChannelAddressPtrOutput { + return i.ToChannelAddressPtrOutputWithContext(context.Background()) +} + +func (i ChannelAddressArgs) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelAddressOutput).ToChannelAddressPtrOutputWithContext(ctx) +} + +// ChannelAddressPtrInput is an input type that accepts ChannelAddressArgs, ChannelAddressPtr and ChannelAddressPtrOutput values. +// You can construct a concrete instance of `ChannelAddressPtrInput` via: // -// ProductTypeAttributeTypeLocalizedValueArray{ ProductTypeAttributeTypeLocalizedValueArgs{...} } -type ProductTypeAttributeTypeLocalizedValueArrayInput interface { +// ChannelAddressArgs{...} +// +// or: +// +// nil +type ChannelAddressPtrInput interface { pulumi.Input - ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput - ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput + ToChannelAddressPtrOutput() ChannelAddressPtrOutput + ToChannelAddressPtrOutputWithContext(context.Context) ChannelAddressPtrOutput } -type ProductTypeAttributeTypeLocalizedValueArray []ProductTypeAttributeTypeLocalizedValueInput +type channelAddressPtrType ChannelAddressArgs -func (ProductTypeAttributeTypeLocalizedValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +func ChannelAddressPtr(v *ChannelAddressArgs) ChannelAddressPtrInput { + return (*channelAddressPtrType)(v) } -func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput { - return i.ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(context.Background()) +func (*channelAddressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelAddress)(nil)).Elem() } -func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeLocalizedValueArrayOutput) +func (i *channelAddressPtrType) ToChannelAddressPtrOutput() ChannelAddressPtrOutput { + return i.ToChannelAddressPtrOutputWithContext(context.Background()) } -type ProductTypeAttributeTypeLocalizedValueOutput struct{ *pulumi.OutputState } +func (i *channelAddressPtrType) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelAddressPtrOutput) +} -func (ProductTypeAttributeTypeLocalizedValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +type ChannelAddressOutput struct{ *pulumi.OutputState } + +func (ChannelAddressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelAddress)(nil)).Elem() } -func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput { +func (o ChannelAddressOutput) ToChannelAddressOutput() ChannelAddressOutput { return o } -func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput { +func (o ChannelAddressOutput) ToChannelAddressOutputWithContext(ctx context.Context) ChannelAddressOutput { return o } -func (o ProductTypeAttributeTypeLocalizedValueOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeLocalizedValue) string { return v.Key }).(pulumi.StringOutput) +func (o ChannelAddressOutput) ToChannelAddressPtrOutput() ChannelAddressPtrOutput { + return o.ToChannelAddressPtrOutputWithContext(context.Background()) } -func (o ProductTypeAttributeTypeLocalizedValueOutput) Label() pulumi.MapOutput { - return o.ApplyT(func(v ProductTypeAttributeTypeLocalizedValue) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +func (o ChannelAddressOutput) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ChannelAddress) *ChannelAddress { + return &v + }).(ChannelAddressPtrOutput) } -type ProductTypeAttributeTypeLocalizedValueArrayOutput struct{ *pulumi.OutputState } - -func (ProductTypeAttributeTypeLocalizedValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +func (o ChannelAddressOutput) AdditionalAddressInfo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.AdditionalAddressInfo }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput { - return o +func (o ChannelAddressOutput) AdditionalStreetInfo() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.AdditionalStreetInfo }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput { - return o +func (o ChannelAddressOutput) Apartment() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Apartment }).(pulumi.StringPtrOutput) } -func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeLocalizedValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeLocalizedValue { - return vs[0].([]ProductTypeAttributeTypeLocalizedValue)[vs[1].(int)] - }).(ProductTypeAttributeTypeLocalizedValueOutput) +func (o ChannelAddressOutput) Building() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Building }).(pulumi.StringPtrOutput) } -type ProjectSettingsCarts struct { - CountryTaxRateFallbackEnabled bool `pulumi:"countryTaxRateFallbackEnabled"` - DeleteDaysAfterLastModification *int `pulumi:"deleteDaysAfterLastModification"` +func (o ChannelAddressOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.City }).(pulumi.StringPtrOutput) } -// ProjectSettingsCartsInput is an input type that accepts ProjectSettingsCartsArgs and ProjectSettingsCartsOutput values. -// You can construct a concrete instance of `ProjectSettingsCartsInput` via: -// -// ProjectSettingsCartsArgs{...} -type ProjectSettingsCartsInput interface { - pulumi.Input - - ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput - ToProjectSettingsCartsOutputWithContext(context.Context) ProjectSettingsCartsOutput +func (o ChannelAddressOutput) Company() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Company }).(pulumi.StringPtrOutput) } -type ProjectSettingsCartsArgs struct { - CountryTaxRateFallbackEnabled pulumi.BoolInput `pulumi:"countryTaxRateFallbackEnabled"` - DeleteDaysAfterLastModification pulumi.IntPtrInput `pulumi:"deleteDaysAfterLastModification"` +func (o ChannelAddressOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v ChannelAddress) string { return v.Country }).(pulumi.StringOutput) } -func (ProjectSettingsCartsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsCarts)(nil)).Elem() +func (o ChannelAddressOutput) Department() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Department }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput { - return i.ToProjectSettingsCartsOutputWithContext(context.Background()) +func (o ChannelAddressOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Email }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsOutput) +func (o ChannelAddressOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { - return i.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +func (o ChannelAddressOutput) Fax() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Fax }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsOutput).ToProjectSettingsCartsPtrOutputWithContext(ctx) +func (o ChannelAddressOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.FirstName }).(pulumi.StringPtrOutput) } -// ProjectSettingsCartsPtrInput is an input type that accepts ProjectSettingsCartsArgs, ProjectSettingsCartsPtr and ProjectSettingsCartsPtrOutput values. -// You can construct a concrete instance of `ProjectSettingsCartsPtrInput` via: -// -// ProjectSettingsCartsArgs{...} -// -// or: -// -// nil -type ProjectSettingsCartsPtrInput interface { - pulumi.Input - - ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput - ToProjectSettingsCartsPtrOutputWithContext(context.Context) ProjectSettingsCartsPtrOutput +func (o ChannelAddressOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Id }).(pulumi.StringPtrOutput) } -type projectSettingsCartsPtrType ProjectSettingsCartsArgs - -func ProjectSettingsCartsPtr(v *ProjectSettingsCartsArgs) ProjectSettingsCartsPtrInput { - return (*projectSettingsCartsPtrType)(v) +func (o ChannelAddressOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (*projectSettingsCartsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsCarts)(nil)).Elem() +func (o ChannelAddressOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.LastName }).(pulumi.StringPtrOutput) } -func (i *projectSettingsCartsPtrType) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { - return i.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +func (o ChannelAddressOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Mobile }).(pulumi.StringPtrOutput) } -func (i *projectSettingsCartsPtrType) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsPtrOutput) +func (o ChannelAddressOutput) Phone() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Phone }).(pulumi.StringPtrOutput) } -type ProjectSettingsCartsOutput struct{ *pulumi.OutputState } +func (o ChannelAddressOutput) PoBox() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.PoBox }).(pulumi.StringPtrOutput) +} -func (ProjectSettingsCartsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsCarts)(nil)).Elem() +func (o ChannelAddressOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.PostalCode }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput { - return o +func (o ChannelAddressOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput { - return o +func (o ChannelAddressOutput) Salutation() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Salutation }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { - return o.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +func (o ChannelAddressOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.State }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { - return o.ApplyT(func(v ProjectSettingsCarts) *ProjectSettingsCarts { - return &v - }).(ProjectSettingsCartsPtrOutput) +func (o ChannelAddressOutput) StreetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.StreetName }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) CountryTaxRateFallbackEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v ProjectSettingsCarts) bool { return v.CountryTaxRateFallbackEnabled }).(pulumi.BoolOutput) + +func (o ChannelAddressOutput) StreetNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.StreetNumber }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput { - return o.ApplyT(func(v ProjectSettingsCarts) *int { return v.DeleteDaysAfterLastModification }).(pulumi.IntPtrOutput) +func (o ChannelAddressOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v ChannelAddress) *string { return v.Title }).(pulumi.StringPtrOutput) } -type ProjectSettingsCartsPtrOutput struct{ *pulumi.OutputState } +type ChannelAddressPtrOutput struct{ *pulumi.OutputState } -func (ProjectSettingsCartsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsCarts)(nil)).Elem() +func (ChannelAddressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelAddress)(nil)).Elem() } -func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { +func (o ChannelAddressPtrOutput) ToChannelAddressPtrOutput() ChannelAddressPtrOutput { return o } -func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { +func (o ChannelAddressPtrOutput) ToChannelAddressPtrOutputWithContext(ctx context.Context) ChannelAddressPtrOutput { return o } -func (o ProjectSettingsCartsPtrOutput) Elem() ProjectSettingsCartsOutput { - return o.ApplyT(func(v *ProjectSettingsCarts) ProjectSettingsCarts { return *v }).(ProjectSettingsCartsOutput) +func (o ChannelAddressPtrOutput) Elem() ChannelAddressOutput { + return o.ApplyT(func(v *ChannelAddress) ChannelAddress { + if v != nil { + return *v + } + var ret ChannelAddress + return ret + }).(ChannelAddressOutput) } -func (o ProjectSettingsCartsPtrOutput) CountryTaxRateFallbackEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectSettingsCarts) *bool { +func (o ChannelAddressPtrOutput) AdditionalAddressInfo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { if v == nil { return nil } - return &v.CountryTaxRateFallbackEnabled - }).(pulumi.BoolPtrOutput) + return v.AdditionalAddressInfo + }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsCartsPtrOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ProjectSettingsCarts) *int { +func (o ChannelAddressPtrOutput) AdditionalStreetInfo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { if v == nil { return nil } - return v.DeleteDaysAfterLastModification - }).(pulumi.IntPtrOutput) + return v.AdditionalStreetInfo + }).(pulumi.StringPtrOutput) } -type ProjectSettingsExternalOauth struct { - AuthorizationHeader string `pulumi:"authorizationHeader"` - Url string `pulumi:"url"` +func (o ChannelAddressPtrOutput) Apartment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Apartment + }).(pulumi.StringPtrOutput) } -// ProjectSettingsExternalOauthInput is an input type that accepts ProjectSettingsExternalOauthArgs and ProjectSettingsExternalOauthOutput values. -// You can construct a concrete instance of `ProjectSettingsExternalOauthInput` via: -// -// ProjectSettingsExternalOauthArgs{...} -type ProjectSettingsExternalOauthInput interface { - pulumi.Input - - ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput - ToProjectSettingsExternalOauthOutputWithContext(context.Context) ProjectSettingsExternalOauthOutput +func (o ChannelAddressPtrOutput) Building() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Building + }).(pulumi.StringPtrOutput) } -type ProjectSettingsExternalOauthArgs struct { - AuthorizationHeader pulumi.StringInput `pulumi:"authorizationHeader"` - Url pulumi.StringInput `pulumi:"url"` +func (o ChannelAddressPtrOutput) City() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.City + }).(pulumi.StringPtrOutput) } -func (ProjectSettingsExternalOauthArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsExternalOauth)(nil)).Elem() +func (o ChannelAddressPtrOutput) Company() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Company + }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput { - return i.ToProjectSettingsExternalOauthOutputWithContext(context.Background()) +func (o ChannelAddressPtrOutput) Country() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return &v.Country + }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthOutput) +func (o ChannelAddressPtrOutput) Department() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Department + }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { - return i.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +func (o ChannelAddressPtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthOutput).ToProjectSettingsExternalOauthPtrOutputWithContext(ctx) +func (o ChannelAddressPtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.ExternalId + }).(pulumi.StringPtrOutput) } -// ProjectSettingsExternalOauthPtrInput is an input type that accepts ProjectSettingsExternalOauthArgs, ProjectSettingsExternalOauthPtr and ProjectSettingsExternalOauthPtrOutput values. -// You can construct a concrete instance of `ProjectSettingsExternalOauthPtrInput` via: -// -// ProjectSettingsExternalOauthArgs{...} -// -// or: -// -// nil -type ProjectSettingsExternalOauthPtrInput interface { - pulumi.Input - - ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput - ToProjectSettingsExternalOauthPtrOutputWithContext(context.Context) ProjectSettingsExternalOauthPtrOutput +func (o ChannelAddressPtrOutput) Fax() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Fax + }).(pulumi.StringPtrOutput) } -type projectSettingsExternalOauthPtrType ProjectSettingsExternalOauthArgs +func (o ChannelAddressPtrOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.FirstName + }).(pulumi.StringPtrOutput) +} -func ProjectSettingsExternalOauthPtr(v *ProjectSettingsExternalOauthArgs) ProjectSettingsExternalOauthPtrInput { - return (*projectSettingsExternalOauthPtrType)(v) +func (o ChannelAddressPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (*projectSettingsExternalOauthPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsExternalOauth)(nil)).Elem() +func (o ChannelAddressPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Key + }).(pulumi.StringPtrOutput) } -func (i *projectSettingsExternalOauthPtrType) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { - return i.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +func (o ChannelAddressPtrOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.LastName + }).(pulumi.StringPtrOutput) } -func (i *projectSettingsExternalOauthPtrType) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthPtrOutput) +func (o ChannelAddressPtrOutput) Mobile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Mobile + }).(pulumi.StringPtrOutput) } -type ProjectSettingsExternalOauthOutput struct{ *pulumi.OutputState } +func (o ChannelAddressPtrOutput) Phone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Phone + }).(pulumi.StringPtrOutput) +} -func (ProjectSettingsExternalOauthOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsExternalOauth)(nil)).Elem() +func (o ChannelAddressPtrOutput) PoBox() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.PoBox + }).(pulumi.StringPtrOutput) } -func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput { +func (o ChannelAddressPtrOutput) PostalCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.PostalCode + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) Salutation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Salutation + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.State + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) StreetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.StreetName + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) StreetNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.StreetNumber + }).(pulumi.StringPtrOutput) +} + +func (o ChannelAddressPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelAddress) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +type ChannelCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` +} + +// ChannelCustomInput is an input type that accepts ChannelCustomArgs and ChannelCustomOutput values. +// You can construct a concrete instance of `ChannelCustomInput` via: +// +// ChannelCustomArgs{...} +type ChannelCustomInput interface { + pulumi.Input + + ToChannelCustomOutput() ChannelCustomOutput + ToChannelCustomOutputWithContext(context.Context) ChannelCustomOutput +} + +type ChannelCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` +} + +func (ChannelCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelCustom)(nil)).Elem() +} + +func (i ChannelCustomArgs) ToChannelCustomOutput() ChannelCustomOutput { + return i.ToChannelCustomOutputWithContext(context.Background()) +} + +func (i ChannelCustomArgs) ToChannelCustomOutputWithContext(ctx context.Context) ChannelCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelCustomOutput) +} + +func (i ChannelCustomArgs) ToChannelCustomPtrOutput() ChannelCustomPtrOutput { + return i.ToChannelCustomPtrOutputWithContext(context.Background()) +} + +func (i ChannelCustomArgs) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelCustomOutput).ToChannelCustomPtrOutputWithContext(ctx) +} + +// ChannelCustomPtrInput is an input type that accepts ChannelCustomArgs, ChannelCustomPtr and ChannelCustomPtrOutput values. +// You can construct a concrete instance of `ChannelCustomPtrInput` via: +// +// ChannelCustomArgs{...} +// +// or: +// +// nil +type ChannelCustomPtrInput interface { + pulumi.Input + + ToChannelCustomPtrOutput() ChannelCustomPtrOutput + ToChannelCustomPtrOutputWithContext(context.Context) ChannelCustomPtrOutput +} + +type channelCustomPtrType ChannelCustomArgs + +func ChannelCustomPtr(v *ChannelCustomArgs) ChannelCustomPtrInput { + return (*channelCustomPtrType)(v) +} + +func (*channelCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelCustom)(nil)).Elem() +} + +func (i *channelCustomPtrType) ToChannelCustomPtrOutput() ChannelCustomPtrOutput { + return i.ToChannelCustomPtrOutputWithContext(context.Background()) +} + +func (i *channelCustomPtrType) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelCustomPtrOutput) +} + +type ChannelCustomOutput struct{ *pulumi.OutputState } + +func (ChannelCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelCustom)(nil)).Elem() +} + +func (o ChannelCustomOutput) ToChannelCustomOutput() ChannelCustomOutput { return o } -func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput { +func (o ChannelCustomOutput) ToChannelCustomOutputWithContext(ctx context.Context) ChannelCustomOutput { return o } -func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { - return o.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +func (o ChannelCustomOutput) ToChannelCustomPtrOutput() ChannelCustomPtrOutput { + return o.ToChannelCustomPtrOutputWithContext(context.Background()) } -func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { - return o.ApplyT(func(v ProjectSettingsExternalOauth) *ProjectSettingsExternalOauth { +func (o ChannelCustomOutput) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ChannelCustom) *ChannelCustom { return &v - }).(ProjectSettingsExternalOauthPtrOutput) + }).(ChannelCustomPtrOutput) } -func (o ProjectSettingsExternalOauthOutput) AuthorizationHeader() pulumi.StringOutput { - return o.ApplyT(func(v ProjectSettingsExternalOauth) string { return v.AuthorizationHeader }).(pulumi.StringOutput) + +func (o ChannelCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v ChannelCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) } -func (o ProjectSettingsExternalOauthOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v ProjectSettingsExternalOauth) string { return v.Url }).(pulumi.StringOutput) +func (o ChannelCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v ChannelCustom) string { return v.TypeId }).(pulumi.StringOutput) } -type ProjectSettingsExternalOauthPtrOutput struct{ *pulumi.OutputState } +type ChannelCustomPtrOutput struct{ *pulumi.OutputState } -func (ProjectSettingsExternalOauthPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsExternalOauth)(nil)).Elem() +func (ChannelCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelCustom)(nil)).Elem() } -func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { +func (o ChannelCustomPtrOutput) ToChannelCustomPtrOutput() ChannelCustomPtrOutput { return o } -func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { +func (o ChannelCustomPtrOutput) ToChannelCustomPtrOutputWithContext(ctx context.Context) ChannelCustomPtrOutput { return o } -func (o ProjectSettingsExternalOauthPtrOutput) Elem() ProjectSettingsExternalOauthOutput { - return o.ApplyT(func(v *ProjectSettingsExternalOauth) ProjectSettingsExternalOauth { return *v }).(ProjectSettingsExternalOauthOutput) +func (o ChannelCustomPtrOutput) Elem() ChannelCustomOutput { + return o.ApplyT(func(v *ChannelCustom) ChannelCustom { + if v != nil { + return *v + } + var ret ChannelCustom + return ret + }).(ChannelCustomOutput) } -func (o ProjectSettingsExternalOauthPtrOutput) AuthorizationHeader() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectSettingsExternalOauth) *string { +func (o ChannelCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *ChannelCustom) map[string]interface{} { if v == nil { return nil } - return &v.AuthorizationHeader - }).(pulumi.StringPtrOutput) + return v.Fields + }).(pulumi.MapOutput) } -func (o ProjectSettingsExternalOauthPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectSettingsExternalOauth) *string { +func (o ChannelCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ChannelCustom) *string { if v == nil { return nil } - return &v.Url + return &v.TypeId }).(pulumi.StringPtrOutput) } -type ProjectSettingsMessages struct { - Enabled bool `pulumi:"enabled"` +type ChannelGeolocation struct { + Coordinates []float64 `pulumi:"coordinates"` } -// ProjectSettingsMessagesInput is an input type that accepts ProjectSettingsMessagesArgs and ProjectSettingsMessagesOutput values. -// You can construct a concrete instance of `ProjectSettingsMessagesInput` via: +// ChannelGeolocationInput is an input type that accepts ChannelGeolocationArgs and ChannelGeolocationOutput values. +// You can construct a concrete instance of `ChannelGeolocationInput` via: // -// ProjectSettingsMessagesArgs{...} -type ProjectSettingsMessagesInput interface { +// ChannelGeolocationArgs{...} +type ChannelGeolocationInput interface { pulumi.Input - ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput - ToProjectSettingsMessagesOutputWithContext(context.Context) ProjectSettingsMessagesOutput + ToChannelGeolocationOutput() ChannelGeolocationOutput + ToChannelGeolocationOutputWithContext(context.Context) ChannelGeolocationOutput } -type ProjectSettingsMessagesArgs struct { - Enabled pulumi.BoolInput `pulumi:"enabled"` +type ChannelGeolocationArgs struct { + Coordinates pulumi.Float64ArrayInput `pulumi:"coordinates"` } -func (ProjectSettingsMessagesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsMessages)(nil)).Elem() +func (ChannelGeolocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelGeolocation)(nil)).Elem() } -func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput { - return i.ToProjectSettingsMessagesOutputWithContext(context.Background()) +func (i ChannelGeolocationArgs) ToChannelGeolocationOutput() ChannelGeolocationOutput { + return i.ToChannelGeolocationOutputWithContext(context.Background()) } -func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesOutput) +func (i ChannelGeolocationArgs) ToChannelGeolocationOutputWithContext(ctx context.Context) ChannelGeolocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelGeolocationOutput) } -func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { - return i.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +func (i ChannelGeolocationArgs) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput { + return i.ToChannelGeolocationPtrOutputWithContext(context.Background()) } -func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesOutput).ToProjectSettingsMessagesPtrOutputWithContext(ctx) +func (i ChannelGeolocationArgs) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelGeolocationOutput).ToChannelGeolocationPtrOutputWithContext(ctx) } -// ProjectSettingsMessagesPtrInput is an input type that accepts ProjectSettingsMessagesArgs, ProjectSettingsMessagesPtr and ProjectSettingsMessagesPtrOutput values. -// You can construct a concrete instance of `ProjectSettingsMessagesPtrInput` via: +// ChannelGeolocationPtrInput is an input type that accepts ChannelGeolocationArgs, ChannelGeolocationPtr and ChannelGeolocationPtrOutput values. +// You can construct a concrete instance of `ChannelGeolocationPtrInput` via: // -// ProjectSettingsMessagesArgs{...} +// ChannelGeolocationArgs{...} // -// or: +// or: // -// nil -type ProjectSettingsMessagesPtrInput interface { +// nil +type ChannelGeolocationPtrInput interface { pulumi.Input - ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput - ToProjectSettingsMessagesPtrOutputWithContext(context.Context) ProjectSettingsMessagesPtrOutput + ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput + ToChannelGeolocationPtrOutputWithContext(context.Context) ChannelGeolocationPtrOutput } -type projectSettingsMessagesPtrType ProjectSettingsMessagesArgs +type channelGeolocationPtrType ChannelGeolocationArgs -func ProjectSettingsMessagesPtr(v *ProjectSettingsMessagesArgs) ProjectSettingsMessagesPtrInput { - return (*projectSettingsMessagesPtrType)(v) +func ChannelGeolocationPtr(v *ChannelGeolocationArgs) ChannelGeolocationPtrInput { + return (*channelGeolocationPtrType)(v) } -func (*projectSettingsMessagesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsMessages)(nil)).Elem() +func (*channelGeolocationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelGeolocation)(nil)).Elem() } -func (i *projectSettingsMessagesPtrType) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { - return i.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +func (i *channelGeolocationPtrType) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput { + return i.ToChannelGeolocationPtrOutputWithContext(context.Background()) } -func (i *projectSettingsMessagesPtrType) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesPtrOutput) +func (i *channelGeolocationPtrType) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ChannelGeolocationPtrOutput) } -type ProjectSettingsMessagesOutput struct{ *pulumi.OutputState } +type ChannelGeolocationOutput struct{ *pulumi.OutputState } -func (ProjectSettingsMessagesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsMessages)(nil)).Elem() +func (ChannelGeolocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ChannelGeolocation)(nil)).Elem() } -func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput { +func (o ChannelGeolocationOutput) ToChannelGeolocationOutput() ChannelGeolocationOutput { return o } -func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput { +func (o ChannelGeolocationOutput) ToChannelGeolocationOutputWithContext(ctx context.Context) ChannelGeolocationOutput { return o } -func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { - return o.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +func (o ChannelGeolocationOutput) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput { + return o.ToChannelGeolocationPtrOutputWithContext(context.Background()) } -func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { - return o.ApplyT(func(v ProjectSettingsMessages) *ProjectSettingsMessages { +func (o ChannelGeolocationOutput) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ChannelGeolocation) *ChannelGeolocation { return &v - }).(ProjectSettingsMessagesPtrOutput) + }).(ChannelGeolocationPtrOutput) } -func (o ProjectSettingsMessagesOutput) Enabled() pulumi.BoolOutput { - return o.ApplyT(func(v ProjectSettingsMessages) bool { return v.Enabled }).(pulumi.BoolOutput) + +func (o ChannelGeolocationOutput) Coordinates() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v ChannelGeolocation) []float64 { return v.Coordinates }).(pulumi.Float64ArrayOutput) } -type ProjectSettingsMessagesPtrOutput struct{ *pulumi.OutputState } +type ChannelGeolocationPtrOutput struct{ *pulumi.OutputState } -func (ProjectSettingsMessagesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectSettingsMessages)(nil)).Elem() +func (ChannelGeolocationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ChannelGeolocation)(nil)).Elem() } -func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { +func (o ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutput() ChannelGeolocationPtrOutput { return o } -func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { +func (o ChannelGeolocationPtrOutput) ToChannelGeolocationPtrOutputWithContext(ctx context.Context) ChannelGeolocationPtrOutput { return o } -func (o ProjectSettingsMessagesPtrOutput) Elem() ProjectSettingsMessagesOutput { - return o.ApplyT(func(v *ProjectSettingsMessages) ProjectSettingsMessages { return *v }).(ProjectSettingsMessagesOutput) +func (o ChannelGeolocationPtrOutput) Elem() ChannelGeolocationOutput { + return o.ApplyT(func(v *ChannelGeolocation) ChannelGeolocation { + if v != nil { + return *v + } + var ret ChannelGeolocation + return ret + }).(ChannelGeolocationOutput) } -func (o ProjectSettingsMessagesPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectSettingsMessages) *bool { +func (o ChannelGeolocationPtrOutput) Coordinates() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v *ChannelGeolocation) []float64 { if v == nil { return nil } - return &v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Coordinates + }).(pulumi.Float64ArrayOutput) } -type ProjectSettingsShippingRateCartClassificationValue struct { - Key string `pulumi:"key"` - Label map[string]interface{} `pulumi:"label"` +type CustomerGroupCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` } -// ProjectSettingsShippingRateCartClassificationValueInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArgs and ProjectSettingsShippingRateCartClassificationValueOutput values. -// You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueInput` via: +// CustomerGroupCustomInput is an input type that accepts CustomerGroupCustomArgs and CustomerGroupCustomOutput values. +// You can construct a concrete instance of `CustomerGroupCustomInput` via: // -// ProjectSettingsShippingRateCartClassificationValueArgs{...} -type ProjectSettingsShippingRateCartClassificationValueInput interface { +// CustomerGroupCustomArgs{...} +type CustomerGroupCustomInput interface { pulumi.Input - ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput - ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueOutput + ToCustomerGroupCustomOutput() CustomerGroupCustomOutput + ToCustomerGroupCustomOutputWithContext(context.Context) CustomerGroupCustomOutput } -type ProjectSettingsShippingRateCartClassificationValueArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Label pulumi.MapInput `pulumi:"label"` +type CustomerGroupCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` } -func (ProjectSettingsShippingRateCartClassificationValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +func (CustomerGroupCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerGroupCustom)(nil)).Elem() } -func (i ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput { - return i.ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(context.Background()) +func (i CustomerGroupCustomArgs) ToCustomerGroupCustomOutput() CustomerGroupCustomOutput { + return i.ToCustomerGroupCustomOutputWithContext(context.Background()) } -func (i ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsShippingRateCartClassificationValueOutput) +func (i CustomerGroupCustomArgs) ToCustomerGroupCustomOutputWithContext(ctx context.Context) CustomerGroupCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupCustomOutput) } -// ProjectSettingsShippingRateCartClassificationValueArrayInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArray and ProjectSettingsShippingRateCartClassificationValueArrayOutput values. -// You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueArrayInput` via: +func (i CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput { + return i.ToCustomerGroupCustomPtrOutputWithContext(context.Background()) +} + +func (i CustomerGroupCustomArgs) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupCustomOutput).ToCustomerGroupCustomPtrOutputWithContext(ctx) +} + +// CustomerGroupCustomPtrInput is an input type that accepts CustomerGroupCustomArgs, CustomerGroupCustomPtr and CustomerGroupCustomPtrOutput values. +// You can construct a concrete instance of `CustomerGroupCustomPtrInput` via: // -// ProjectSettingsShippingRateCartClassificationValueArray{ ProjectSettingsShippingRateCartClassificationValueArgs{...} } -type ProjectSettingsShippingRateCartClassificationValueArrayInput interface { +// CustomerGroupCustomArgs{...} +// +// or: +// +// nil +type CustomerGroupCustomPtrInput interface { pulumi.Input - ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput - ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput + ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput + ToCustomerGroupCustomPtrOutputWithContext(context.Context) CustomerGroupCustomPtrOutput } -type ProjectSettingsShippingRateCartClassificationValueArray []ProjectSettingsShippingRateCartClassificationValueInput +type customerGroupCustomPtrType CustomerGroupCustomArgs -func (ProjectSettingsShippingRateCartClassificationValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +func CustomerGroupCustomPtr(v *CustomerGroupCustomArgs) CustomerGroupCustomPtrInput { + return (*customerGroupCustomPtrType)(v) } -func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput { - return i.ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(context.Background()) +func (*customerGroupCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomerGroupCustom)(nil)).Elem() } -func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsShippingRateCartClassificationValueArrayOutput) +func (i *customerGroupCustomPtrType) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput { + return i.ToCustomerGroupCustomPtrOutputWithContext(context.Background()) } -type ProjectSettingsShippingRateCartClassificationValueOutput struct{ *pulumi.OutputState } +func (i *customerGroupCustomPtrType) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomerGroupCustomPtrOutput) +} -func (ProjectSettingsShippingRateCartClassificationValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +type CustomerGroupCustomOutput struct{ *pulumi.OutputState } + +func (CustomerGroupCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomerGroupCustom)(nil)).Elem() } -func (o ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput { +func (o CustomerGroupCustomOutput) ToCustomerGroupCustomOutput() CustomerGroupCustomOutput { return o } -func (o ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput { +func (o CustomerGroupCustomOutput) ToCustomerGroupCustomOutputWithContext(ctx context.Context) CustomerGroupCustomOutput { return o } -func (o ProjectSettingsShippingRateCartClassificationValueOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ProjectSettingsShippingRateCartClassificationValue) string { return v.Key }).(pulumi.StringOutput) +func (o CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput { + return o.ToCustomerGroupCustomPtrOutputWithContext(context.Background()) +} + +func (o CustomerGroupCustomOutput) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomerGroupCustom) *CustomerGroupCustom { + return &v + }).(CustomerGroupCustomPtrOutput) +} + +func (o CustomerGroupCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v CustomerGroupCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) +} + +func (o CustomerGroupCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v CustomerGroupCustom) string { return v.TypeId }).(pulumi.StringOutput) +} + +type CustomerGroupCustomPtrOutput struct{ *pulumi.OutputState } + +func (CustomerGroupCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomerGroupCustom)(nil)).Elem() +} + +func (o CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutput() CustomerGroupCustomPtrOutput { + return o +} + +func (o CustomerGroupCustomPtrOutput) ToCustomerGroupCustomPtrOutputWithContext(ctx context.Context) CustomerGroupCustomPtrOutput { + return o +} + +func (o CustomerGroupCustomPtrOutput) Elem() CustomerGroupCustomOutput { + return o.ApplyT(func(v *CustomerGroupCustom) CustomerGroupCustom { + if v != nil { + return *v + } + var ret CustomerGroupCustom + return ret + }).(CustomerGroupCustomOutput) } -func (o ProjectSettingsShippingRateCartClassificationValueOutput) Label() pulumi.MapOutput { - return o.ApplyT(func(v ProjectSettingsShippingRateCartClassificationValue) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +func (o CustomerGroupCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *CustomerGroupCustom) map[string]interface{} { + if v == nil { + return nil + } + return v.Fields + }).(pulumi.MapOutput) +} + +func (o CustomerGroupCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomerGroupCustom) *string { + if v == nil { + return nil + } + return &v.TypeId + }).(pulumi.StringPtrOutput) +} + +type DiscountCodeCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` +} + +// DiscountCodeCustomInput is an input type that accepts DiscountCodeCustomArgs and DiscountCodeCustomOutput values. +// You can construct a concrete instance of `DiscountCodeCustomInput` via: +// +// DiscountCodeCustomArgs{...} +type DiscountCodeCustomInput interface { + pulumi.Input + + ToDiscountCodeCustomOutput() DiscountCodeCustomOutput + ToDiscountCodeCustomOutputWithContext(context.Context) DiscountCodeCustomOutput +} + +type DiscountCodeCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` +} + +func (DiscountCodeCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DiscountCodeCustom)(nil)).Elem() +} + +func (i DiscountCodeCustomArgs) ToDiscountCodeCustomOutput() DiscountCodeCustomOutput { + return i.ToDiscountCodeCustomOutputWithContext(context.Background()) +} + +func (i DiscountCodeCustomArgs) ToDiscountCodeCustomOutputWithContext(ctx context.Context) DiscountCodeCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(DiscountCodeCustomOutput) +} + +func (i DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput { + return i.ToDiscountCodeCustomPtrOutputWithContext(context.Background()) +} + +func (i DiscountCodeCustomArgs) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DiscountCodeCustomOutput).ToDiscountCodeCustomPtrOutputWithContext(ctx) +} + +// DiscountCodeCustomPtrInput is an input type that accepts DiscountCodeCustomArgs, DiscountCodeCustomPtr and DiscountCodeCustomPtrOutput values. +// You can construct a concrete instance of `DiscountCodeCustomPtrInput` via: +// +// DiscountCodeCustomArgs{...} +// +// or: +// +// nil +type DiscountCodeCustomPtrInput interface { + pulumi.Input + + ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput + ToDiscountCodeCustomPtrOutputWithContext(context.Context) DiscountCodeCustomPtrOutput +} + +type discountCodeCustomPtrType DiscountCodeCustomArgs + +func DiscountCodeCustomPtr(v *DiscountCodeCustomArgs) DiscountCodeCustomPtrInput { + return (*discountCodeCustomPtrType)(v) +} + +func (*discountCodeCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DiscountCodeCustom)(nil)).Elem() +} + +func (i *discountCodeCustomPtrType) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput { + return i.ToDiscountCodeCustomPtrOutputWithContext(context.Background()) +} + +func (i *discountCodeCustomPtrType) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DiscountCodeCustomPtrOutput) +} + +type DiscountCodeCustomOutput struct{ *pulumi.OutputState } + +func (DiscountCodeCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DiscountCodeCustom)(nil)).Elem() +} + +func (o DiscountCodeCustomOutput) ToDiscountCodeCustomOutput() DiscountCodeCustomOutput { + return o +} + +func (o DiscountCodeCustomOutput) ToDiscountCodeCustomOutputWithContext(ctx context.Context) DiscountCodeCustomOutput { + return o +} + +func (o DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput { + return o.ToDiscountCodeCustomPtrOutputWithContext(context.Background()) +} + +func (o DiscountCodeCustomOutput) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DiscountCodeCustom) *DiscountCodeCustom { + return &v + }).(DiscountCodeCustomPtrOutput) +} + +func (o DiscountCodeCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v DiscountCodeCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) +} + +func (o DiscountCodeCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v DiscountCodeCustom) string { return v.TypeId }).(pulumi.StringOutput) +} + +type DiscountCodeCustomPtrOutput struct{ *pulumi.OutputState } + +func (DiscountCodeCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DiscountCodeCustom)(nil)).Elem() +} + +func (o DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutput() DiscountCodeCustomPtrOutput { + return o +} + +func (o DiscountCodeCustomPtrOutput) ToDiscountCodeCustomPtrOutputWithContext(ctx context.Context) DiscountCodeCustomPtrOutput { + return o +} + +func (o DiscountCodeCustomPtrOutput) Elem() DiscountCodeCustomOutput { + return o.ApplyT(func(v *DiscountCodeCustom) DiscountCodeCustom { + if v != nil { + return *v + } + var ret DiscountCodeCustom + return ret + }).(DiscountCodeCustomOutput) +} + +func (o DiscountCodeCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *DiscountCodeCustom) map[string]interface{} { + if v == nil { + return nil + } + return v.Fields + }).(pulumi.MapOutput) +} + +func (o DiscountCodeCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DiscountCodeCustom) *string { + if v == nil { + return nil + } + return &v.TypeId + }).(pulumi.StringPtrOutput) +} + +type ProductDiscountValue struct { + Monies []ProductDiscountValueMoney `pulumi:"monies"` + Permyriad *int `pulumi:"permyriad"` + Type string `pulumi:"type"` +} + +// ProductDiscountValueInput is an input type that accepts ProductDiscountValueArgs and ProductDiscountValueOutput values. +// You can construct a concrete instance of `ProductDiscountValueInput` via: +// +// ProductDiscountValueArgs{...} +type ProductDiscountValueInput interface { + pulumi.Input + + ToProductDiscountValueOutput() ProductDiscountValueOutput + ToProductDiscountValueOutputWithContext(context.Context) ProductDiscountValueOutput +} + +type ProductDiscountValueArgs struct { + Monies ProductDiscountValueMoneyArrayInput `pulumi:"monies"` + Permyriad pulumi.IntPtrInput `pulumi:"permyriad"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (ProductDiscountValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDiscountValue)(nil)).Elem() +} + +func (i ProductDiscountValueArgs) ToProductDiscountValueOutput() ProductDiscountValueOutput { + return i.ToProductDiscountValueOutputWithContext(context.Background()) +} + +func (i ProductDiscountValueArgs) ToProductDiscountValueOutputWithContext(ctx context.Context) ProductDiscountValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountValueOutput) +} + +func (i ProductDiscountValueArgs) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput { + return i.ToProductDiscountValuePtrOutputWithContext(context.Background()) +} + +func (i ProductDiscountValueArgs) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountValueOutput).ToProductDiscountValuePtrOutputWithContext(ctx) +} + +// ProductDiscountValuePtrInput is an input type that accepts ProductDiscountValueArgs, ProductDiscountValuePtr and ProductDiscountValuePtrOutput values. +// You can construct a concrete instance of `ProductDiscountValuePtrInput` via: +// +// ProductDiscountValueArgs{...} +// +// or: +// +// nil +type ProductDiscountValuePtrInput interface { + pulumi.Input + + ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput + ToProductDiscountValuePtrOutputWithContext(context.Context) ProductDiscountValuePtrOutput +} + +type productDiscountValuePtrType ProductDiscountValueArgs + +func ProductDiscountValuePtr(v *ProductDiscountValueArgs) ProductDiscountValuePtrInput { + return (*productDiscountValuePtrType)(v) +} + +func (*productDiscountValuePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDiscountValue)(nil)).Elem() +} + +func (i *productDiscountValuePtrType) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput { + return i.ToProductDiscountValuePtrOutputWithContext(context.Background()) +} + +func (i *productDiscountValuePtrType) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountValuePtrOutput) +} + +type ProductDiscountValueOutput struct{ *pulumi.OutputState } + +func (ProductDiscountValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDiscountValue)(nil)).Elem() +} + +func (o ProductDiscountValueOutput) ToProductDiscountValueOutput() ProductDiscountValueOutput { + return o +} + +func (o ProductDiscountValueOutput) ToProductDiscountValueOutputWithContext(ctx context.Context) ProductDiscountValueOutput { + return o +} + +func (o ProductDiscountValueOutput) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput { + return o.ToProductDiscountValuePtrOutputWithContext(context.Background()) +} + +func (o ProductDiscountValueOutput) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProductDiscountValue) *ProductDiscountValue { + return &v + }).(ProductDiscountValuePtrOutput) +} + +func (o ProductDiscountValueOutput) Monies() ProductDiscountValueMoneyArrayOutput { + return o.ApplyT(func(v ProductDiscountValue) []ProductDiscountValueMoney { return v.Monies }).(ProductDiscountValueMoneyArrayOutput) +} + +func (o ProductDiscountValueOutput) Permyriad() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProductDiscountValue) *int { return v.Permyriad }).(pulumi.IntPtrOutput) +} + +func (o ProductDiscountValueOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ProductDiscountValue) string { return v.Type }).(pulumi.StringOutput) +} + +type ProductDiscountValuePtrOutput struct{ *pulumi.OutputState } + +func (ProductDiscountValuePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProductDiscountValue)(nil)).Elem() +} + +func (o ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutput() ProductDiscountValuePtrOutput { + return o +} + +func (o ProductDiscountValuePtrOutput) ToProductDiscountValuePtrOutputWithContext(ctx context.Context) ProductDiscountValuePtrOutput { + return o +} + +func (o ProductDiscountValuePtrOutput) Elem() ProductDiscountValueOutput { + return o.ApplyT(func(v *ProductDiscountValue) ProductDiscountValue { + if v != nil { + return *v + } + var ret ProductDiscountValue + return ret + }).(ProductDiscountValueOutput) +} + +func (o ProductDiscountValuePtrOutput) Monies() ProductDiscountValueMoneyArrayOutput { + return o.ApplyT(func(v *ProductDiscountValue) []ProductDiscountValueMoney { + if v == nil { + return nil + } + return v.Monies + }).(ProductDiscountValueMoneyArrayOutput) +} + +func (o ProductDiscountValuePtrOutput) Permyriad() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProductDiscountValue) *int { + if v == nil { + return nil + } + return v.Permyriad + }).(pulumi.IntPtrOutput) +} + +func (o ProductDiscountValuePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductDiscountValue) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type ProductDiscountValueMoney struct { + CentAmount int `pulumi:"centAmount"` + CurrencyCode string `pulumi:"currencyCode"` + FractionDigits *int `pulumi:"fractionDigits"` +} + +// ProductDiscountValueMoneyInput is an input type that accepts ProductDiscountValueMoneyArgs and ProductDiscountValueMoneyOutput values. +// You can construct a concrete instance of `ProductDiscountValueMoneyInput` via: +// +// ProductDiscountValueMoneyArgs{...} +type ProductDiscountValueMoneyInput interface { + pulumi.Input + + ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput + ToProductDiscountValueMoneyOutputWithContext(context.Context) ProductDiscountValueMoneyOutput +} + +type ProductDiscountValueMoneyArgs struct { + CentAmount pulumi.IntInput `pulumi:"centAmount"` + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + FractionDigits pulumi.IntPtrInput `pulumi:"fractionDigits"` +} + +func (ProductDiscountValueMoneyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDiscountValueMoney)(nil)).Elem() +} + +func (i ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput { + return i.ToProductDiscountValueMoneyOutputWithContext(context.Background()) +} + +func (i ProductDiscountValueMoneyArgs) ToProductDiscountValueMoneyOutputWithContext(ctx context.Context) ProductDiscountValueMoneyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountValueMoneyOutput) +} + +// ProductDiscountValueMoneyArrayInput is an input type that accepts ProductDiscountValueMoneyArray and ProductDiscountValueMoneyArrayOutput values. +// You can construct a concrete instance of `ProductDiscountValueMoneyArrayInput` via: +// +// ProductDiscountValueMoneyArray{ ProductDiscountValueMoneyArgs{...} } +type ProductDiscountValueMoneyArrayInput interface { + pulumi.Input + + ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput + ToProductDiscountValueMoneyArrayOutputWithContext(context.Context) ProductDiscountValueMoneyArrayOutput +} + +type ProductDiscountValueMoneyArray []ProductDiscountValueMoneyInput + +func (ProductDiscountValueMoneyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductDiscountValueMoney)(nil)).Elem() +} + +func (i ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput { + return i.ToProductDiscountValueMoneyArrayOutputWithContext(context.Background()) +} + +func (i ProductDiscountValueMoneyArray) ToProductDiscountValueMoneyArrayOutputWithContext(ctx context.Context) ProductDiscountValueMoneyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductDiscountValueMoneyArrayOutput) +} + +type ProductDiscountValueMoneyOutput struct{ *pulumi.OutputState } + +func (ProductDiscountValueMoneyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductDiscountValueMoney)(nil)).Elem() +} + +func (o ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutput() ProductDiscountValueMoneyOutput { + return o +} + +func (o ProductDiscountValueMoneyOutput) ToProductDiscountValueMoneyOutputWithContext(ctx context.Context) ProductDiscountValueMoneyOutput { + return o +} + +func (o ProductDiscountValueMoneyOutput) CentAmount() pulumi.IntOutput { + return o.ApplyT(func(v ProductDiscountValueMoney) int { return v.CentAmount }).(pulumi.IntOutput) +} + +func (o ProductDiscountValueMoneyOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v ProductDiscountValueMoney) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o ProductDiscountValueMoneyOutput) FractionDigits() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProductDiscountValueMoney) *int { return v.FractionDigits }).(pulumi.IntPtrOutput) +} + +type ProductDiscountValueMoneyArrayOutput struct{ *pulumi.OutputState } + +func (ProductDiscountValueMoneyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductDiscountValueMoney)(nil)).Elem() +} + +func (o ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutput() ProductDiscountValueMoneyArrayOutput { + return o +} + +func (o ProductDiscountValueMoneyArrayOutput) ToProductDiscountValueMoneyArrayOutputWithContext(ctx context.Context) ProductDiscountValueMoneyArrayOutput { + return o +} + +func (o ProductDiscountValueMoneyArrayOutput) Index(i pulumi.IntInput) ProductDiscountValueMoneyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductDiscountValueMoney { + return vs[0].([]ProductDiscountValueMoney)[vs[1].(int)] + }).(ProductDiscountValueMoneyOutput) +} + +type ProductTypeAttribute struct { + Constraint *string `pulumi:"constraint"` + InputHint *string `pulumi:"inputHint"` + InputTip map[string]interface{} `pulumi:"inputTip"` + Label map[string]interface{} `pulumi:"label"` + Name string `pulumi:"name"` + Required *bool `pulumi:"required"` + Searchable *bool `pulumi:"searchable"` + Type ProductTypeAttributeType `pulumi:"type"` +} + +// ProductTypeAttributeInput is an input type that accepts ProductTypeAttributeArgs and ProductTypeAttributeOutput values. +// You can construct a concrete instance of `ProductTypeAttributeInput` via: +// +// ProductTypeAttributeArgs{...} +type ProductTypeAttributeInput interface { + pulumi.Input + + ToProductTypeAttributeOutput() ProductTypeAttributeOutput + ToProductTypeAttributeOutputWithContext(context.Context) ProductTypeAttributeOutput +} + +type ProductTypeAttributeArgs struct { + Constraint pulumi.StringPtrInput `pulumi:"constraint"` + InputHint pulumi.StringPtrInput `pulumi:"inputHint"` + InputTip pulumi.MapInput `pulumi:"inputTip"` + Label pulumi.MapInput `pulumi:"label"` + Name pulumi.StringInput `pulumi:"name"` + Required pulumi.BoolPtrInput `pulumi:"required"` + Searchable pulumi.BoolPtrInput `pulumi:"searchable"` + Type ProductTypeAttributeTypeInput `pulumi:"type"` +} + +func (ProductTypeAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttribute)(nil)).Elem() +} + +func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutput() ProductTypeAttributeOutput { + return i.ToProductTypeAttributeOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeArgs) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeOutput) +} + +// ProductTypeAttributeArrayInput is an input type that accepts ProductTypeAttributeArray and ProductTypeAttributeArrayOutput values. +// You can construct a concrete instance of `ProductTypeAttributeArrayInput` via: +// +// ProductTypeAttributeArray{ ProductTypeAttributeArgs{...} } +type ProductTypeAttributeArrayInput interface { + pulumi.Input + + ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput + ToProductTypeAttributeArrayOutputWithContext(context.Context) ProductTypeAttributeArrayOutput +} + +type ProductTypeAttributeArray []ProductTypeAttributeInput + +func (ProductTypeAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttribute)(nil)).Elem() +} + +func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput { + return i.ToProductTypeAttributeArrayOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeArray) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeArrayOutput) +} + +type ProductTypeAttributeOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttribute)(nil)).Elem() +} + +func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutput() ProductTypeAttributeOutput { + return o +} + +func (o ProductTypeAttributeOutput) ToProductTypeAttributeOutputWithContext(ctx context.Context) ProductTypeAttributeOutput { + return o +} + +func (o ProductTypeAttributeOutput) Constraint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttribute) *string { return v.Constraint }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeOutput) InputHint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttribute) *string { return v.InputHint }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeOutput) InputTip() pulumi.MapOutput { + return o.ApplyT(func(v ProductTypeAttribute) map[string]interface{} { return v.InputTip }).(pulumi.MapOutput) +} + +func (o ProductTypeAttributeOutput) Label() pulumi.MapOutput { + return o.ApplyT(func(v ProductTypeAttribute) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +} + +func (o ProductTypeAttributeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttribute) string { return v.Name }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProductTypeAttribute) *bool { return v.Required }).(pulumi.BoolPtrOutput) +} + +func (o ProductTypeAttributeOutput) Searchable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProductTypeAttribute) *bool { return v.Searchable }).(pulumi.BoolPtrOutput) +} + +func (o ProductTypeAttributeOutput) Type() ProductTypeAttributeTypeOutput { + return o.ApplyT(func(v ProductTypeAttribute) ProductTypeAttributeType { return v.Type }).(ProductTypeAttributeTypeOutput) +} + +type ProductTypeAttributeArrayOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttribute)(nil)).Elem() +} + +func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutput() ProductTypeAttributeArrayOutput { + return o +} + +func (o ProductTypeAttributeArrayOutput) ToProductTypeAttributeArrayOutputWithContext(ctx context.Context) ProductTypeAttributeArrayOutput { + return o +} + +func (o ProductTypeAttributeArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttribute { + return vs[0].([]ProductTypeAttribute)[vs[1].(int)] + }).(ProductTypeAttributeOutput) +} + +type ProductTypeAttributeType struct { + ElementType2 *ProductTypeAttributeTypeElementType2 `pulumi:"ElementType2"` + LocalizedValues []ProductTypeAttributeTypeLocalizedValue `pulumi:"localizedValues"` + Name string `pulumi:"name"` + ReferenceTypeId *string `pulumi:"referenceTypeId"` + TypeReference *string `pulumi:"typeReference"` + Values []ProductTypeAttributeTypeValue `pulumi:"values"` +} + +// ProductTypeAttributeTypeInput is an input type that accepts ProductTypeAttributeTypeArgs and ProductTypeAttributeTypeOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeInput` via: +// +// ProductTypeAttributeTypeArgs{...} +type ProductTypeAttributeTypeInput interface { + pulumi.Input + + ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput + ToProductTypeAttributeTypeOutputWithContext(context.Context) ProductTypeAttributeTypeOutput +} + +type ProductTypeAttributeTypeArgs struct { + ElementType2 ProductTypeAttributeTypeElementType2PtrInput `pulumi:"ElementType2"` + LocalizedValues ProductTypeAttributeTypeLocalizedValueArrayInput `pulumi:"localizedValues"` + Name pulumi.StringInput `pulumi:"name"` + ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` + TypeReference pulumi.StringPtrInput `pulumi:"typeReference"` + Values ProductTypeAttributeTypeValueArrayInput `pulumi:"values"` +} + +func (ProductTypeAttributeTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeType)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput { + return i.ToProductTypeAttributeTypeOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeArgs) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeOutput) +} + +type ProductTypeAttributeTypeOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeType)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutput() ProductTypeAttributeTypeOutput { + return o +} + +func (o ProductTypeAttributeTypeOutput) ToProductTypeAttributeTypeOutputWithContext(ctx context.Context) ProductTypeAttributeTypeOutput { + return o +} + +func (o ProductTypeAttributeTypeOutput) ElementType2() ProductTypeAttributeTypeElementType2PtrOutput { + return o.ApplyT(func(v ProductTypeAttributeType) *ProductTypeAttributeTypeElementType2 { return v.ElementType2 }).(ProductTypeAttributeTypeElementType2PtrOutput) +} + +func (o ProductTypeAttributeTypeOutput) LocalizedValues() ProductTypeAttributeTypeLocalizedValueArrayOutput { + return o.ApplyT(func(v ProductTypeAttributeType) []ProductTypeAttributeTypeLocalizedValue { return v.LocalizedValues }).(ProductTypeAttributeTypeLocalizedValueArrayOutput) +} + +func (o ProductTypeAttributeTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeType) string { return v.Name }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeOutput) ReferenceTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttributeType) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeOutput) TypeReference() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttributeType) *string { return v.TypeReference }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeOutput) Values() ProductTypeAttributeTypeValueArrayOutput { + return o.ApplyT(func(v ProductTypeAttributeType) []ProductTypeAttributeTypeValue { return v.Values }).(ProductTypeAttributeTypeValueArrayOutput) +} + +type ProductTypeAttributeTypeElementType2 struct { + LocalizedValues []ProductTypeAttributeTypeElementType2LocalizedValue `pulumi:"localizedValues"` + Name string `pulumi:"name"` + ReferenceTypeId *string `pulumi:"referenceTypeId"` + TypeReference *string `pulumi:"typeReference"` + Values []ProductTypeAttributeTypeElementType2Value `pulumi:"values"` +} + +// ProductTypeAttributeTypeElementType2Input is an input type that accepts ProductTypeAttributeTypeElementType2Args and ProductTypeAttributeTypeElementType2Output values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2Input` via: +// +// ProductTypeAttributeTypeElementType2Args{...} +type ProductTypeAttributeTypeElementType2Input interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output + ToProductTypeAttributeTypeElementType2OutputWithContext(context.Context) ProductTypeAttributeTypeElementType2Output +} + +type ProductTypeAttributeTypeElementType2Args struct { + LocalizedValues ProductTypeAttributeTypeElementType2LocalizedValueArrayInput `pulumi:"localizedValues"` + Name pulumi.StringInput `pulumi:"name"` + ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` + TypeReference pulumi.StringPtrInput `pulumi:"typeReference"` + Values ProductTypeAttributeTypeElementType2ValueArrayInput `pulumi:"values"` +} + +func (ProductTypeAttributeTypeElementType2Args) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output { + return i.ToProductTypeAttributeTypeElementType2OutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2Output) +} + +func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { + return i.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2Args) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2Output).ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx) +} + +// ProductTypeAttributeTypeElementType2PtrInput is an input type that accepts ProductTypeAttributeTypeElementType2Args, ProductTypeAttributeTypeElementType2Ptr and ProductTypeAttributeTypeElementType2PtrOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2PtrInput` via: +// +// ProductTypeAttributeTypeElementType2Args{...} +// +// or: +// +// nil +type ProductTypeAttributeTypeElementType2PtrInput interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput + ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2PtrOutput +} + +type productTypeAttributeTypeElementType2PtrType ProductTypeAttributeTypeElementType2Args + +func ProductTypeAttributeTypeElementType2Ptr(v *ProductTypeAttributeTypeElementType2Args) ProductTypeAttributeTypeElementType2PtrInput { + return (*productTypeAttributeTypeElementType2PtrType)(v) +} + +func (*productTypeAttributeTypeElementType2PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProductTypeAttributeTypeElementType2)(nil)).Elem() +} + +func (i *productTypeAttributeTypeElementType2PtrType) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { + return i.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +} + +func (i *productTypeAttributeTypeElementType2PtrType) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2PtrOutput) +} + +type ProductTypeAttributeTypeElementType2Output struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2Output) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2Output() ProductTypeAttributeTypeElementType2Output { + return o +} + +func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2OutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2Output { + return o +} + +func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { + return o.ToProductTypeAttributeTypeElementType2PtrOutputWithContext(context.Background()) +} + +func (o ProductTypeAttributeTypeElementType2Output) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProductTypeAttributeTypeElementType2) *ProductTypeAttributeTypeElementType2 { + return &v + }).(ProductTypeAttributeTypeElementType2PtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2Output) LocalizedValues() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2LocalizedValue { + return v.LocalizedValues + }).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) +} + +func (o ProductTypeAttributeTypeElementType2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) string { return v.Name }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeElementType2Output) ReferenceTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2Output) TypeReference() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) *string { return v.TypeReference }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2Output) Values() ProductTypeAttributeTypeElementType2ValueArrayOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2Value { + return v.Values + }).(ProductTypeAttributeTypeElementType2ValueArrayOutput) +} + +type ProductTypeAttributeTypeElementType2PtrOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProductTypeAttributeTypeElementType2)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutput() ProductTypeAttributeTypeElementType2PtrOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) ToProductTypeAttributeTypeElementType2PtrOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2PtrOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) Elem() ProductTypeAttributeTypeElementType2Output { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) ProductTypeAttributeTypeElementType2 { + if v != nil { + return *v + } + var ret ProductTypeAttributeTypeElementType2 + return ret + }).(ProductTypeAttributeTypeElementType2Output) +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) LocalizedValues() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2LocalizedValue { + if v == nil { + return nil + } + return v.LocalizedValues + }).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) ReferenceTypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { + if v == nil { + return nil + } + return v.ReferenceTypeId + }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) TypeReference() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) *string { + if v == nil { + return nil + } + return v.TypeReference + }).(pulumi.StringPtrOutput) +} + +func (o ProductTypeAttributeTypeElementType2PtrOutput) Values() ProductTypeAttributeTypeElementType2ValueArrayOutput { + return o.ApplyT(func(v *ProductTypeAttributeTypeElementType2) []ProductTypeAttributeTypeElementType2Value { + if v == nil { + return nil + } + return v.Values + }).(ProductTypeAttributeTypeElementType2ValueArrayOutput) +} + +type ProductTypeAttributeTypeElementType2LocalizedValue struct { + Key string `pulumi:"key"` + Label map[string]interface{} `pulumi:"label"` +} + +// ProductTypeAttributeTypeElementType2LocalizedValueInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArgs and ProductTypeAttributeTypeElementType2LocalizedValueOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueInput` via: +// +// ProductTypeAttributeTypeElementType2LocalizedValueArgs{...} +type ProductTypeAttributeTypeElementType2LocalizedValueInput interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput + ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput +} + +type ProductTypeAttributeTypeElementType2LocalizedValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.MapInput `pulumi:"label"` +} + +func (ProductTypeAttributeTypeElementType2LocalizedValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput { + return i.ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2LocalizedValueArgs) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2LocalizedValueOutput) +} + +// ProductTypeAttributeTypeElementType2LocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeElementType2LocalizedValueArray and ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2LocalizedValueArrayInput` via: +// +// ProductTypeAttributeTypeElementType2LocalizedValueArray{ ProductTypeAttributeTypeElementType2LocalizedValueArgs{...} } +type ProductTypeAttributeTypeElementType2LocalizedValueArrayInput interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput + ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput +} + +type ProductTypeAttributeTypeElementType2LocalizedValueArray []ProductTypeAttributeTypeElementType2LocalizedValueInput + +func (ProductTypeAttributeTypeElementType2LocalizedValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return i.ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2LocalizedValueArray) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) +} + +type ProductTypeAttributeTypeElementType2LocalizedValueOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2LocalizedValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutput() ProductTypeAttributeTypeElementType2LocalizedValueOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) ToProductTypeAttributeTypeElementType2LocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2LocalizedValue) string { return v.Key }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueOutput) Label() pulumi.MapOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2LocalizedValue) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +} + +type ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2LocalizedValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutput() ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) ToProductTypeAttributeTypeElementType2LocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeElementType2LocalizedValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeElementType2LocalizedValue { + return vs[0].([]ProductTypeAttributeTypeElementType2LocalizedValue)[vs[1].(int)] + }).(ProductTypeAttributeTypeElementType2LocalizedValueOutput) +} + +type ProductTypeAttributeTypeElementType2Value struct { + Key string `pulumi:"key"` + Label string `pulumi:"label"` +} + +// ProductTypeAttributeTypeElementType2ValueInput is an input type that accepts ProductTypeAttributeTypeElementType2ValueArgs and ProductTypeAttributeTypeElementType2ValueOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2ValueInput` via: +// +// ProductTypeAttributeTypeElementType2ValueArgs{...} +type ProductTypeAttributeTypeElementType2ValueInput interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput + ToProductTypeAttributeTypeElementType2ValueOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2ValueOutput +} + +type ProductTypeAttributeTypeElementType2ValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.StringInput `pulumi:"label"` +} + +func (ProductTypeAttributeTypeElementType2ValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2Value)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput { + return i.ToProductTypeAttributeTypeElementType2ValueOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2ValueArgs) ToProductTypeAttributeTypeElementType2ValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2ValueOutput) +} + +// ProductTypeAttributeTypeElementType2ValueArrayInput is an input type that accepts ProductTypeAttributeTypeElementType2ValueArray and ProductTypeAttributeTypeElementType2ValueArrayOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeElementType2ValueArrayInput` via: +// +// ProductTypeAttributeTypeElementType2ValueArray{ ProductTypeAttributeTypeElementType2ValueArgs{...} } +type ProductTypeAttributeTypeElementType2ValueArrayInput interface { + pulumi.Input + + ToProductTypeAttributeTypeElementType2ValueArrayOutput() ProductTypeAttributeTypeElementType2ValueArrayOutput + ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput +} + +type ProductTypeAttributeTypeElementType2ValueArray []ProductTypeAttributeTypeElementType2ValueInput + +func (ProductTypeAttributeTypeElementType2ValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2Value)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutput() ProductTypeAttributeTypeElementType2ValueArrayOutput { + return i.ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeElementType2ValueArray) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeElementType2ValueArrayOutput) +} + +type ProductTypeAttributeTypeElementType2ValueOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2ValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeElementType2Value)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutput() ProductTypeAttributeTypeElementType2ValueOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2ValueOutput) ToProductTypeAttributeTypeElementType2ValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2ValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2Value) string { return v.Key }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeElementType2ValueOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeElementType2Value) string { return v.Label }).(pulumi.StringOutput) +} + +type ProductTypeAttributeTypeElementType2ValueArrayOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeElementType2ValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeElementType2Value)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeElementType2ValueArrayOutput) ToProductTypeAttributeTypeElementType2ValueArrayOutput() ProductTypeAttributeTypeElementType2ValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2ValueArrayOutput) ToProductTypeAttributeTypeElementType2ValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeElementType2ValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeElementType2ValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeElementType2ValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeElementType2Value { + return vs[0].([]ProductTypeAttributeTypeElementType2Value)[vs[1].(int)] + }).(ProductTypeAttributeTypeElementType2ValueOutput) +} + +type ProductTypeAttributeTypeLocalizedValue struct { + Key string `pulumi:"key"` + Label map[string]interface{} `pulumi:"label"` +} + +// ProductTypeAttributeTypeLocalizedValueInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArgs and ProductTypeAttributeTypeLocalizedValueOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueInput` via: +// +// ProductTypeAttributeTypeLocalizedValueArgs{...} +type ProductTypeAttributeTypeLocalizedValueInput interface { + pulumi.Input + + ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput + ToProductTypeAttributeTypeLocalizedValueOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueOutput +} + +type ProductTypeAttributeTypeLocalizedValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.MapInput `pulumi:"label"` +} + +func (ProductTypeAttributeTypeLocalizedValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput { + return i.ToProductTypeAttributeTypeLocalizedValueOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeLocalizedValueArgs) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeLocalizedValueOutput) +} + +// ProductTypeAttributeTypeLocalizedValueArrayInput is an input type that accepts ProductTypeAttributeTypeLocalizedValueArray and ProductTypeAttributeTypeLocalizedValueArrayOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeLocalizedValueArrayInput` via: +// +// ProductTypeAttributeTypeLocalizedValueArray{ ProductTypeAttributeTypeLocalizedValueArgs{...} } +type ProductTypeAttributeTypeLocalizedValueArrayInput interface { + pulumi.Input + + ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput + ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput +} + +type ProductTypeAttributeTypeLocalizedValueArray []ProductTypeAttributeTypeLocalizedValueInput + +func (ProductTypeAttributeTypeLocalizedValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput { + return i.ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeLocalizedValueArray) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeLocalizedValueArrayOutput) +} + +type ProductTypeAttributeTypeLocalizedValueOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeLocalizedValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutput() ProductTypeAttributeTypeLocalizedValueOutput { + return o +} + +func (o ProductTypeAttributeTypeLocalizedValueOutput) ToProductTypeAttributeTypeLocalizedValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueOutput { + return o +} + +func (o ProductTypeAttributeTypeLocalizedValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeLocalizedValue) string { return v.Key }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeLocalizedValueOutput) Label() pulumi.MapOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeLocalizedValue) map[string]interface{} { return v.Label }).(pulumi.MapOutput) +} + +type ProductTypeAttributeTypeLocalizedValueArrayOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeLocalizedValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeLocalizedValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutput() ProductTypeAttributeTypeLocalizedValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) ToProductTypeAttributeTypeLocalizedValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeLocalizedValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeLocalizedValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeLocalizedValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeLocalizedValue { + return vs[0].([]ProductTypeAttributeTypeLocalizedValue)[vs[1].(int)] + }).(ProductTypeAttributeTypeLocalizedValueOutput) +} + +type ProductTypeAttributeTypeValue struct { + Key string `pulumi:"key"` + Label string `pulumi:"label"` +} + +// ProductTypeAttributeTypeValueInput is an input type that accepts ProductTypeAttributeTypeValueArgs and ProductTypeAttributeTypeValueOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeValueInput` via: +// +// ProductTypeAttributeTypeValueArgs{...} +type ProductTypeAttributeTypeValueInput interface { + pulumi.Input + + ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput + ToProductTypeAttributeTypeValueOutputWithContext(context.Context) ProductTypeAttributeTypeValueOutput +} + +type ProductTypeAttributeTypeValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.StringInput `pulumi:"label"` +} + +func (ProductTypeAttributeTypeValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput { + return i.ToProductTypeAttributeTypeValueOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeValueArgs) ToProductTypeAttributeTypeValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeValueOutput) +} + +// ProductTypeAttributeTypeValueArrayInput is an input type that accepts ProductTypeAttributeTypeValueArray and ProductTypeAttributeTypeValueArrayOutput values. +// You can construct a concrete instance of `ProductTypeAttributeTypeValueArrayInput` via: +// +// ProductTypeAttributeTypeValueArray{ ProductTypeAttributeTypeValueArgs{...} } +type ProductTypeAttributeTypeValueArrayInput interface { + pulumi.Input + + ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput + ToProductTypeAttributeTypeValueArrayOutputWithContext(context.Context) ProductTypeAttributeTypeValueArrayOutput +} + +type ProductTypeAttributeTypeValueArray []ProductTypeAttributeTypeValueInput + +func (ProductTypeAttributeTypeValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeValue)(nil)).Elem() +} + +func (i ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput { + return i.ToProductTypeAttributeTypeValueArrayOutputWithContext(context.Background()) +} + +func (i ProductTypeAttributeTypeValueArray) ToProductTypeAttributeTypeValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProductTypeAttributeTypeValueArrayOutput) +} + +type ProductTypeAttributeTypeValueOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProductTypeAttributeTypeValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutput() ProductTypeAttributeTypeValueOutput { + return o +} + +func (o ProductTypeAttributeTypeValueOutput) ToProductTypeAttributeTypeValueOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueOutput { + return o +} + +func (o ProductTypeAttributeTypeValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeValue) string { return v.Key }).(pulumi.StringOutput) +} + +func (o ProductTypeAttributeTypeValueOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v ProductTypeAttributeTypeValue) string { return v.Label }).(pulumi.StringOutput) +} + +type ProductTypeAttributeTypeValueArrayOutput struct{ *pulumi.OutputState } + +func (ProductTypeAttributeTypeValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProductTypeAttributeTypeValue)(nil)).Elem() +} + +func (o ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutput() ProductTypeAttributeTypeValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeValueArrayOutput) ToProductTypeAttributeTypeValueArrayOutputWithContext(ctx context.Context) ProductTypeAttributeTypeValueArrayOutput { + return o +} + +func (o ProductTypeAttributeTypeValueArrayOutput) Index(i pulumi.IntInput) ProductTypeAttributeTypeValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProductTypeAttributeTypeValue { + return vs[0].([]ProductTypeAttributeTypeValue)[vs[1].(int)] + }).(ProductTypeAttributeTypeValueOutput) +} + +type ProjectSettingsCarts struct { + CountryTaxRateFallbackEnabled *bool `pulumi:"countryTaxRateFallbackEnabled"` + DeleteDaysAfterLastModification *int `pulumi:"deleteDaysAfterLastModification"` +} + +// ProjectSettingsCartsInput is an input type that accepts ProjectSettingsCartsArgs and ProjectSettingsCartsOutput values. +// You can construct a concrete instance of `ProjectSettingsCartsInput` via: +// +// ProjectSettingsCartsArgs{...} +type ProjectSettingsCartsInput interface { + pulumi.Input + + ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput + ToProjectSettingsCartsOutputWithContext(context.Context) ProjectSettingsCartsOutput +} + +type ProjectSettingsCartsArgs struct { + CountryTaxRateFallbackEnabled pulumi.BoolPtrInput `pulumi:"countryTaxRateFallbackEnabled"` + DeleteDaysAfterLastModification pulumi.IntPtrInput `pulumi:"deleteDaysAfterLastModification"` +} + +func (ProjectSettingsCartsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsCarts)(nil)).Elem() +} + +func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput { + return i.ToProjectSettingsCartsOutputWithContext(context.Background()) +} + +func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsOutput) +} + +func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { + return i.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +} + +func (i ProjectSettingsCartsArgs) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsOutput).ToProjectSettingsCartsPtrOutputWithContext(ctx) +} + +// ProjectSettingsCartsPtrInput is an input type that accepts ProjectSettingsCartsArgs, ProjectSettingsCartsPtr and ProjectSettingsCartsPtrOutput values. +// You can construct a concrete instance of `ProjectSettingsCartsPtrInput` via: +// +// ProjectSettingsCartsArgs{...} +// +// or: +// +// nil +type ProjectSettingsCartsPtrInput interface { + pulumi.Input + + ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput + ToProjectSettingsCartsPtrOutputWithContext(context.Context) ProjectSettingsCartsPtrOutput +} + +type projectSettingsCartsPtrType ProjectSettingsCartsArgs + +func ProjectSettingsCartsPtr(v *ProjectSettingsCartsArgs) ProjectSettingsCartsPtrInput { + return (*projectSettingsCartsPtrType)(v) +} + +func (*projectSettingsCartsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsCarts)(nil)).Elem() +} + +func (i *projectSettingsCartsPtrType) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { + return i.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +} + +func (i *projectSettingsCartsPtrType) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsCartsPtrOutput) +} + +type ProjectSettingsCartsOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsCartsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsCarts)(nil)).Elem() +} + +func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutput() ProjectSettingsCartsOutput { + return o +} + +func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsOutputWithContext(ctx context.Context) ProjectSettingsCartsOutput { + return o +} + +func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { + return o.ToProjectSettingsCartsPtrOutputWithContext(context.Background()) +} + +func (o ProjectSettingsCartsOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectSettingsCarts) *ProjectSettingsCarts { + return &v + }).(ProjectSettingsCartsPtrOutput) +} + +func (o ProjectSettingsCartsOutput) CountryTaxRateFallbackEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectSettingsCarts) *bool { return v.CountryTaxRateFallbackEnabled }).(pulumi.BoolPtrOutput) +} + +func (o ProjectSettingsCartsOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectSettingsCarts) *int { return v.DeleteDaysAfterLastModification }).(pulumi.IntPtrOutput) +} + +type ProjectSettingsCartsPtrOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsCartsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsCarts)(nil)).Elem() +} + +func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutput() ProjectSettingsCartsPtrOutput { + return o +} + +func (o ProjectSettingsCartsPtrOutput) ToProjectSettingsCartsPtrOutputWithContext(ctx context.Context) ProjectSettingsCartsPtrOutput { + return o +} + +func (o ProjectSettingsCartsPtrOutput) Elem() ProjectSettingsCartsOutput { + return o.ApplyT(func(v *ProjectSettingsCarts) ProjectSettingsCarts { + if v != nil { + return *v + } + var ret ProjectSettingsCarts + return ret + }).(ProjectSettingsCartsOutput) +} + +func (o ProjectSettingsCartsPtrOutput) CountryTaxRateFallbackEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectSettingsCarts) *bool { + if v == nil { + return nil + } + return v.CountryTaxRateFallbackEnabled + }).(pulumi.BoolPtrOutput) +} + +func (o ProjectSettingsCartsPtrOutput) DeleteDaysAfterLastModification() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectSettingsCarts) *int { + if v == nil { + return nil + } + return v.DeleteDaysAfterLastModification + }).(pulumi.IntPtrOutput) +} + +type ProjectSettingsExternalOauth struct { + AuthorizationHeader *string `pulumi:"authorizationHeader"` + Url *string `pulumi:"url"` +} + +// ProjectSettingsExternalOauthInput is an input type that accepts ProjectSettingsExternalOauthArgs and ProjectSettingsExternalOauthOutput values. +// You can construct a concrete instance of `ProjectSettingsExternalOauthInput` via: +// +// ProjectSettingsExternalOauthArgs{...} +type ProjectSettingsExternalOauthInput interface { + pulumi.Input + + ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput + ToProjectSettingsExternalOauthOutputWithContext(context.Context) ProjectSettingsExternalOauthOutput +} + +type ProjectSettingsExternalOauthArgs struct { + AuthorizationHeader pulumi.StringPtrInput `pulumi:"authorizationHeader"` + Url pulumi.StringPtrInput `pulumi:"url"` +} + +func (ProjectSettingsExternalOauthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsExternalOauth)(nil)).Elem() +} + +func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput { + return i.ToProjectSettingsExternalOauthOutputWithContext(context.Background()) +} + +func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthOutput) +} + +func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { + return i.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +} + +func (i ProjectSettingsExternalOauthArgs) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthOutput).ToProjectSettingsExternalOauthPtrOutputWithContext(ctx) +} + +// ProjectSettingsExternalOauthPtrInput is an input type that accepts ProjectSettingsExternalOauthArgs, ProjectSettingsExternalOauthPtr and ProjectSettingsExternalOauthPtrOutput values. +// You can construct a concrete instance of `ProjectSettingsExternalOauthPtrInput` via: +// +// ProjectSettingsExternalOauthArgs{...} +// +// or: +// +// nil +type ProjectSettingsExternalOauthPtrInput interface { + pulumi.Input + + ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput + ToProjectSettingsExternalOauthPtrOutputWithContext(context.Context) ProjectSettingsExternalOauthPtrOutput +} + +type projectSettingsExternalOauthPtrType ProjectSettingsExternalOauthArgs + +func ProjectSettingsExternalOauthPtr(v *ProjectSettingsExternalOauthArgs) ProjectSettingsExternalOauthPtrInput { + return (*projectSettingsExternalOauthPtrType)(v) +} + +func (*projectSettingsExternalOauthPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsExternalOauth)(nil)).Elem() +} + +func (i *projectSettingsExternalOauthPtrType) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { + return i.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +} + +func (i *projectSettingsExternalOauthPtrType) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsExternalOauthPtrOutput) +} + +type ProjectSettingsExternalOauthOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsExternalOauthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsExternalOauth)(nil)).Elem() +} + +func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutput() ProjectSettingsExternalOauthOutput { + return o +} + +func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthOutput { + return o +} + +func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { + return o.ToProjectSettingsExternalOauthPtrOutputWithContext(context.Background()) +} + +func (o ProjectSettingsExternalOauthOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectSettingsExternalOauth) *ProjectSettingsExternalOauth { + return &v + }).(ProjectSettingsExternalOauthPtrOutput) +} + +func (o ProjectSettingsExternalOauthOutput) AuthorizationHeader() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectSettingsExternalOauth) *string { return v.AuthorizationHeader }).(pulumi.StringPtrOutput) +} + +func (o ProjectSettingsExternalOauthOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectSettingsExternalOauth) *string { return v.Url }).(pulumi.StringPtrOutput) +} + +type ProjectSettingsExternalOauthPtrOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsExternalOauthPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsExternalOauth)(nil)).Elem() +} + +func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutput() ProjectSettingsExternalOauthPtrOutput { + return o +} + +func (o ProjectSettingsExternalOauthPtrOutput) ToProjectSettingsExternalOauthPtrOutputWithContext(ctx context.Context) ProjectSettingsExternalOauthPtrOutput { + return o +} + +func (o ProjectSettingsExternalOauthPtrOutput) Elem() ProjectSettingsExternalOauthOutput { + return o.ApplyT(func(v *ProjectSettingsExternalOauth) ProjectSettingsExternalOauth { + if v != nil { + return *v + } + var ret ProjectSettingsExternalOauth + return ret + }).(ProjectSettingsExternalOauthOutput) +} + +func (o ProjectSettingsExternalOauthPtrOutput) AuthorizationHeader() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectSettingsExternalOauth) *string { + if v == nil { + return nil + } + return v.AuthorizationHeader + }).(pulumi.StringPtrOutput) +} + +func (o ProjectSettingsExternalOauthPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectSettingsExternalOauth) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) +} + +type ProjectSettingsMessages struct { + DeleteDaysAfterCreation *int `pulumi:"deleteDaysAfterCreation"` + Enabled *bool `pulumi:"enabled"` +} + +// ProjectSettingsMessagesInput is an input type that accepts ProjectSettingsMessagesArgs and ProjectSettingsMessagesOutput values. +// You can construct a concrete instance of `ProjectSettingsMessagesInput` via: +// +// ProjectSettingsMessagesArgs{...} +type ProjectSettingsMessagesInput interface { + pulumi.Input + + ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput + ToProjectSettingsMessagesOutputWithContext(context.Context) ProjectSettingsMessagesOutput +} + +type ProjectSettingsMessagesArgs struct { + DeleteDaysAfterCreation pulumi.IntPtrInput `pulumi:"deleteDaysAfterCreation"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (ProjectSettingsMessagesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsMessages)(nil)).Elem() +} + +func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput { + return i.ToProjectSettingsMessagesOutputWithContext(context.Background()) +} + +func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesOutput) +} + +func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { + return i.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +} + +func (i ProjectSettingsMessagesArgs) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesOutput).ToProjectSettingsMessagesPtrOutputWithContext(ctx) +} + +// ProjectSettingsMessagesPtrInput is an input type that accepts ProjectSettingsMessagesArgs, ProjectSettingsMessagesPtr and ProjectSettingsMessagesPtrOutput values. +// You can construct a concrete instance of `ProjectSettingsMessagesPtrInput` via: +// +// ProjectSettingsMessagesArgs{...} +// +// or: +// +// nil +type ProjectSettingsMessagesPtrInput interface { + pulumi.Input + + ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput + ToProjectSettingsMessagesPtrOutputWithContext(context.Context) ProjectSettingsMessagesPtrOutput +} + +type projectSettingsMessagesPtrType ProjectSettingsMessagesArgs + +func ProjectSettingsMessagesPtr(v *ProjectSettingsMessagesArgs) ProjectSettingsMessagesPtrInput { + return (*projectSettingsMessagesPtrType)(v) +} + +func (*projectSettingsMessagesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsMessages)(nil)).Elem() +} + +func (i *projectSettingsMessagesPtrType) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { + return i.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +} + +func (i *projectSettingsMessagesPtrType) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsMessagesPtrOutput) +} + +type ProjectSettingsMessagesOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsMessagesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsMessages)(nil)).Elem() +} + +func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutput() ProjectSettingsMessagesOutput { + return o +} + +func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesOutputWithContext(ctx context.Context) ProjectSettingsMessagesOutput { + return o +} + +func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { + return o.ToProjectSettingsMessagesPtrOutputWithContext(context.Background()) +} + +func (o ProjectSettingsMessagesOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectSettingsMessages) *ProjectSettingsMessages { + return &v + }).(ProjectSettingsMessagesPtrOutput) +} + +func (o ProjectSettingsMessagesOutput) DeleteDaysAfterCreation() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectSettingsMessages) *int { return v.DeleteDaysAfterCreation }).(pulumi.IntPtrOutput) +} + +func (o ProjectSettingsMessagesOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectSettingsMessages) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type ProjectSettingsMessagesPtrOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsMessagesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectSettingsMessages)(nil)).Elem() +} + +func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutput() ProjectSettingsMessagesPtrOutput { + return o +} + +func (o ProjectSettingsMessagesPtrOutput) ToProjectSettingsMessagesPtrOutputWithContext(ctx context.Context) ProjectSettingsMessagesPtrOutput { + return o +} + +func (o ProjectSettingsMessagesPtrOutput) Elem() ProjectSettingsMessagesOutput { + return o.ApplyT(func(v *ProjectSettingsMessages) ProjectSettingsMessages { + if v != nil { + return *v + } + var ret ProjectSettingsMessages + return ret + }).(ProjectSettingsMessagesOutput) +} + +func (o ProjectSettingsMessagesPtrOutput) DeleteDaysAfterCreation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectSettingsMessages) *int { + if v == nil { + return nil + } + return v.DeleteDaysAfterCreation + }).(pulumi.IntPtrOutput) +} + +func (o ProjectSettingsMessagesPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectSettingsMessages) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +type ProjectSettingsShippingRateCartClassificationValue struct { + Key string `pulumi:"key"` + Label map[string]string `pulumi:"label"` +} + +// ProjectSettingsShippingRateCartClassificationValueInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArgs and ProjectSettingsShippingRateCartClassificationValueOutput values. +// You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueInput` via: +// +// ProjectSettingsShippingRateCartClassificationValueArgs{...} +type ProjectSettingsShippingRateCartClassificationValueInput interface { + pulumi.Input + + ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput + ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueOutput +} + +type ProjectSettingsShippingRateCartClassificationValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.StringMapInput `pulumi:"label"` +} + +func (ProjectSettingsShippingRateCartClassificationValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +} + +func (i ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput { + return i.ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(context.Background()) +} + +func (i ProjectSettingsShippingRateCartClassificationValueArgs) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsShippingRateCartClassificationValueOutput) +} + +// ProjectSettingsShippingRateCartClassificationValueArrayInput is an input type that accepts ProjectSettingsShippingRateCartClassificationValueArray and ProjectSettingsShippingRateCartClassificationValueArrayOutput values. +// You can construct a concrete instance of `ProjectSettingsShippingRateCartClassificationValueArrayInput` via: +// +// ProjectSettingsShippingRateCartClassificationValueArray{ ProjectSettingsShippingRateCartClassificationValueArgs{...} } +type ProjectSettingsShippingRateCartClassificationValueArrayInput interface { + pulumi.Input + + ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput + ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput +} + +type ProjectSettingsShippingRateCartClassificationValueArray []ProjectSettingsShippingRateCartClassificationValueInput + +func (ProjectSettingsShippingRateCartClassificationValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +} + +func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return i.ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(context.Background()) +} + +func (i ProjectSettingsShippingRateCartClassificationValueArray) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectSettingsShippingRateCartClassificationValueArrayOutput) +} + +type ProjectSettingsShippingRateCartClassificationValueOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsShippingRateCartClassificationValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +} + +func (o ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutput() ProjectSettingsShippingRateCartClassificationValueOutput { + return o +} + +func (o ProjectSettingsShippingRateCartClassificationValueOutput) ToProjectSettingsShippingRateCartClassificationValueOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueOutput { + return o +} + +func (o ProjectSettingsShippingRateCartClassificationValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ProjectSettingsShippingRateCartClassificationValue) string { return v.Key }).(pulumi.StringOutput) +} + +func (o ProjectSettingsShippingRateCartClassificationValueOutput) Label() pulumi.StringMapOutput { + return o.ApplyT(func(v ProjectSettingsShippingRateCartClassificationValue) map[string]string { return v.Label }).(pulumi.StringMapOutput) +} + +type ProjectSettingsShippingRateCartClassificationValueArrayOutput struct{ *pulumi.OutputState } + +func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +} + +func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return o +} + +func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput { + return o +} + +func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) Index(i pulumi.IntInput) ProjectSettingsShippingRateCartClassificationValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectSettingsShippingRateCartClassificationValue { + return vs[0].([]ProjectSettingsShippingRateCartClassificationValue)[vs[1].(int)] + }).(ProjectSettingsShippingRateCartClassificationValueOutput) +} + +type ShippingMethodCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` +} + +// ShippingMethodCustomInput is an input type that accepts ShippingMethodCustomArgs and ShippingMethodCustomOutput values. +// You can construct a concrete instance of `ShippingMethodCustomInput` via: +// +// ShippingMethodCustomArgs{...} +type ShippingMethodCustomInput interface { + pulumi.Input + + ToShippingMethodCustomOutput() ShippingMethodCustomOutput + ToShippingMethodCustomOutputWithContext(context.Context) ShippingMethodCustomOutput +} + +type ShippingMethodCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` +} + +func (ShippingMethodCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingMethodCustom)(nil)).Elem() +} + +func (i ShippingMethodCustomArgs) ToShippingMethodCustomOutput() ShippingMethodCustomOutput { + return i.ToShippingMethodCustomOutputWithContext(context.Background()) +} + +func (i ShippingMethodCustomArgs) ToShippingMethodCustomOutputWithContext(ctx context.Context) ShippingMethodCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodCustomOutput) +} + +func (i ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput { + return i.ToShippingMethodCustomPtrOutputWithContext(context.Background()) +} + +func (i ShippingMethodCustomArgs) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodCustomOutput).ToShippingMethodCustomPtrOutputWithContext(ctx) +} + +// ShippingMethodCustomPtrInput is an input type that accepts ShippingMethodCustomArgs, ShippingMethodCustomPtr and ShippingMethodCustomPtrOutput values. +// You can construct a concrete instance of `ShippingMethodCustomPtrInput` via: +// +// ShippingMethodCustomArgs{...} +// +// or: +// +// nil +type ShippingMethodCustomPtrInput interface { + pulumi.Input + + ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput + ToShippingMethodCustomPtrOutputWithContext(context.Context) ShippingMethodCustomPtrOutput +} + +type shippingMethodCustomPtrType ShippingMethodCustomArgs + +func ShippingMethodCustomPtr(v *ShippingMethodCustomArgs) ShippingMethodCustomPtrInput { + return (*shippingMethodCustomPtrType)(v) +} + +func (*shippingMethodCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingMethodCustom)(nil)).Elem() +} + +func (i *shippingMethodCustomPtrType) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput { + return i.ToShippingMethodCustomPtrOutputWithContext(context.Background()) +} + +func (i *shippingMethodCustomPtrType) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodCustomPtrOutput) +} + +type ShippingMethodCustomOutput struct{ *pulumi.OutputState } + +func (ShippingMethodCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingMethodCustom)(nil)).Elem() +} + +func (o ShippingMethodCustomOutput) ToShippingMethodCustomOutput() ShippingMethodCustomOutput { + return o +} + +func (o ShippingMethodCustomOutput) ToShippingMethodCustomOutputWithContext(ctx context.Context) ShippingMethodCustomOutput { + return o +} + +func (o ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput { + return o.ToShippingMethodCustomPtrOutputWithContext(context.Background()) +} + +func (o ShippingMethodCustomOutput) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ShippingMethodCustom) *ShippingMethodCustom { + return &v + }).(ShippingMethodCustomPtrOutput) +} + +func (o ShippingMethodCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v ShippingMethodCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) +} + +func (o ShippingMethodCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v ShippingMethodCustom) string { return v.TypeId }).(pulumi.StringOutput) +} + +type ShippingMethodCustomPtrOutput struct{ *pulumi.OutputState } + +func (ShippingMethodCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingMethodCustom)(nil)).Elem() +} + +func (o ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutput() ShippingMethodCustomPtrOutput { + return o +} + +func (o ShippingMethodCustomPtrOutput) ToShippingMethodCustomPtrOutputWithContext(ctx context.Context) ShippingMethodCustomPtrOutput { + return o +} + +func (o ShippingMethodCustomPtrOutput) Elem() ShippingMethodCustomOutput { + return o.ApplyT(func(v *ShippingMethodCustom) ShippingMethodCustom { + if v != nil { + return *v + } + var ret ShippingMethodCustom + return ret + }).(ShippingMethodCustomOutput) +} + +func (o ShippingMethodCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *ShippingMethodCustom) map[string]interface{} { + if v == nil { + return nil + } + return v.Fields + }).(pulumi.MapOutput) +} + +func (o ShippingMethodCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingMethodCustom) *string { + if v == nil { + return nil + } + return &v.TypeId + }).(pulumi.StringPtrOutput) +} + +type ShippingZoneLocation struct { + Country string `pulumi:"country"` + State *string `pulumi:"state"` +} + +// ShippingZoneLocationInput is an input type that accepts ShippingZoneLocationArgs and ShippingZoneLocationOutput values. +// You can construct a concrete instance of `ShippingZoneLocationInput` via: +// +// ShippingZoneLocationArgs{...} +type ShippingZoneLocationInput interface { + pulumi.Input + + ToShippingZoneLocationOutput() ShippingZoneLocationOutput + ToShippingZoneLocationOutputWithContext(context.Context) ShippingZoneLocationOutput +} + +type ShippingZoneLocationArgs struct { + Country pulumi.StringInput `pulumi:"country"` + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (ShippingZoneLocationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneLocation)(nil)).Elem() +} + +func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutput() ShippingZoneLocationOutput { + return i.ToShippingZoneLocationOutputWithContext(context.Background()) +} + +func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneLocationOutput) +} + +// ShippingZoneLocationArrayInput is an input type that accepts ShippingZoneLocationArray and ShippingZoneLocationArrayOutput values. +// You can construct a concrete instance of `ShippingZoneLocationArrayInput` via: +// +// ShippingZoneLocationArray{ ShippingZoneLocationArgs{...} } +type ShippingZoneLocationArrayInput interface { + pulumi.Input + + ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput + ToShippingZoneLocationArrayOutputWithContext(context.Context) ShippingZoneLocationArrayOutput +} + +type ShippingZoneLocationArray []ShippingZoneLocationInput + +func (ShippingZoneLocationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShippingZoneLocation)(nil)).Elem() +} + +func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput { + return i.ToShippingZoneLocationArrayOutputWithContext(context.Background()) +} + +func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneLocationArrayOutput) +} + +type ShippingZoneLocationOutput struct{ *pulumi.OutputState } + +func (ShippingZoneLocationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneLocation)(nil)).Elem() +} + +func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutput() ShippingZoneLocationOutput { + return o +} + +func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput { + return o +} + +func (o ShippingZoneLocationOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneLocation) string { return v.Country }).(pulumi.StringOutput) +} + +func (o ShippingZoneLocationOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingZoneLocation) *string { return v.State }).(pulumi.StringPtrOutput) +} + +type ShippingZoneLocationArrayOutput struct{ *pulumi.OutputState } + +func (ShippingZoneLocationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShippingZoneLocation)(nil)).Elem() +} + +func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput { + return o +} + +func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput { + return o +} + +func (o ShippingZoneLocationArrayOutput) Index(i pulumi.IntInput) ShippingZoneLocationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZoneLocation { + return vs[0].([]ShippingZoneLocation)[vs[1].(int)] + }).(ShippingZoneLocationOutput) +} + +type ShippingZoneRateFreeAbove struct { + CentAmount int `pulumi:"centAmount"` + CurrencyCode string `pulumi:"currencyCode"` +} + +// ShippingZoneRateFreeAboveInput is an input type that accepts ShippingZoneRateFreeAboveArgs and ShippingZoneRateFreeAboveOutput values. +// You can construct a concrete instance of `ShippingZoneRateFreeAboveInput` via: +// +// ShippingZoneRateFreeAboveArgs{...} +type ShippingZoneRateFreeAboveInput interface { + pulumi.Input + + ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput + ToShippingZoneRateFreeAboveOutputWithContext(context.Context) ShippingZoneRateFreeAboveOutput +} + +type ShippingZoneRateFreeAboveArgs struct { + CentAmount pulumi.IntInput `pulumi:"centAmount"` + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` +} + +func (ShippingZoneRateFreeAboveArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateFreeAbove)(nil)).Elem() +} + +func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput { + return i.ToShippingZoneRateFreeAboveOutputWithContext(context.Background()) +} + +func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAboveOutput) +} + +func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { + return i.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +} + +func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAboveOutput).ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx) +} + +// ShippingZoneRateFreeAbovePtrInput is an input type that accepts ShippingZoneRateFreeAboveArgs, ShippingZoneRateFreeAbovePtr and ShippingZoneRateFreeAbovePtrOutput values. +// You can construct a concrete instance of `ShippingZoneRateFreeAbovePtrInput` via: +// +// ShippingZoneRateFreeAboveArgs{...} +// +// or: +// +// nil +type ShippingZoneRateFreeAbovePtrInput interface { + pulumi.Input + + ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput + ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Context) ShippingZoneRateFreeAbovePtrOutput +} + +type shippingZoneRateFreeAbovePtrType ShippingZoneRateFreeAboveArgs + +func ShippingZoneRateFreeAbovePtr(v *ShippingZoneRateFreeAboveArgs) ShippingZoneRateFreeAbovePtrInput { + return (*shippingZoneRateFreeAbovePtrType)(v) +} + +func (*shippingZoneRateFreeAbovePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateFreeAbove)(nil)).Elem() +} + +func (i *shippingZoneRateFreeAbovePtrType) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { + return i.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +} + +func (i *shippingZoneRateFreeAbovePtrType) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAbovePtrOutput) +} + +type ShippingZoneRateFreeAboveOutput struct{ *pulumi.OutputState } + +func (ShippingZoneRateFreeAboveOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateFreeAbove)(nil)).Elem() +} + +func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput { + return o +} + +func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput { + return o +} + +func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { + return o.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +} + +func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ShippingZoneRateFreeAbove) *ShippingZoneRateFreeAbove { + return &v + }).(ShippingZoneRateFreeAbovePtrOutput) +} + +func (o ShippingZoneRateFreeAboveOutput) CentAmount() pulumi.IntOutput { + return o.ApplyT(func(v ShippingZoneRateFreeAbove) int { return v.CentAmount }).(pulumi.IntOutput) +} + +func (o ShippingZoneRateFreeAboveOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRateFreeAbove) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +type ShippingZoneRateFreeAbovePtrOutput struct{ *pulumi.OutputState } + +func (ShippingZoneRateFreeAbovePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateFreeAbove)(nil)).Elem() +} + +func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { + return o +} + +func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { + return o +} + +func (o ShippingZoneRateFreeAbovePtrOutput) Elem() ShippingZoneRateFreeAboveOutput { + return o.ApplyT(func(v *ShippingZoneRateFreeAbove) ShippingZoneRateFreeAbove { + if v != nil { + return *v + } + var ret ShippingZoneRateFreeAbove + return ret + }).(ShippingZoneRateFreeAboveOutput) +} + +func (o ShippingZoneRateFreeAbovePtrOutput) CentAmount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateFreeAbove) *int { + if v == nil { + return nil + } + return &v.CentAmount + }).(pulumi.IntPtrOutput) +} + +func (o ShippingZoneRateFreeAbovePtrOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateFreeAbove) *string { + if v == nil { + return nil + } + return &v.CurrencyCode + }).(pulumi.StringPtrOutput) +} + +type ShippingZoneRatePrice struct { + CentAmount int `pulumi:"centAmount"` + CurrencyCode string `pulumi:"currencyCode"` +} + +// ShippingZoneRatePriceInput is an input type that accepts ShippingZoneRatePriceArgs and ShippingZoneRatePriceOutput values. +// You can construct a concrete instance of `ShippingZoneRatePriceInput` via: +// +// ShippingZoneRatePriceArgs{...} +type ShippingZoneRatePriceInput interface { + pulumi.Input + + ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput + ToShippingZoneRatePriceOutputWithContext(context.Context) ShippingZoneRatePriceOutput +} + +type ShippingZoneRatePriceArgs struct { + CentAmount pulumi.IntInput `pulumi:"centAmount"` + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` +} + +func (ShippingZoneRatePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRatePrice)(nil)).Elem() +} + +func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput { + return i.ToShippingZoneRatePriceOutputWithContext(context.Background()) +} + +func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePriceOutput) +} + +func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { + return i.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +} + +func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePriceOutput).ToShippingZoneRatePricePtrOutputWithContext(ctx) +} + +// ShippingZoneRatePricePtrInput is an input type that accepts ShippingZoneRatePriceArgs, ShippingZoneRatePricePtr and ShippingZoneRatePricePtrOutput values. +// You can construct a concrete instance of `ShippingZoneRatePricePtrInput` via: +// +// ShippingZoneRatePriceArgs{...} +// +// or: +// +// nil +type ShippingZoneRatePricePtrInput interface { + pulumi.Input + + ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput + ToShippingZoneRatePricePtrOutputWithContext(context.Context) ShippingZoneRatePricePtrOutput +} + +type shippingZoneRatePricePtrType ShippingZoneRatePriceArgs + +func ShippingZoneRatePricePtr(v *ShippingZoneRatePriceArgs) ShippingZoneRatePricePtrInput { + return (*shippingZoneRatePricePtrType)(v) +} + +func (*shippingZoneRatePricePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRatePrice)(nil)).Elem() +} + +func (i *shippingZoneRatePricePtrType) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { + return i.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +} + +func (i *shippingZoneRatePricePtrType) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePricePtrOutput) +} + +type ShippingZoneRatePriceOutput struct{ *pulumi.OutputState } + +func (ShippingZoneRatePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRatePrice)(nil)).Elem() +} + +func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput { + return o +} + +func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput { + return o +} + +func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { + return o.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +} + +func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ShippingZoneRatePrice) *ShippingZoneRatePrice { + return &v + }).(ShippingZoneRatePricePtrOutput) +} + +func (o ShippingZoneRatePriceOutput) CentAmount() pulumi.IntOutput { + return o.ApplyT(func(v ShippingZoneRatePrice) int { return v.CentAmount }).(pulumi.IntOutput) +} + +func (o ShippingZoneRatePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRatePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) } -type ProjectSettingsShippingRateCartClassificationValueArrayOutput struct{ *pulumi.OutputState } +type ShippingZoneRatePricePtrOutput struct{ *pulumi.OutputState } -func (ProjectSettingsShippingRateCartClassificationValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectSettingsShippingRateCartClassificationValue)(nil)).Elem() +func (ShippingZoneRatePricePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRatePrice)(nil)).Elem() } -func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutput() ProjectSettingsShippingRateCartClassificationValueArrayOutput { +func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { return o } -func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) ToProjectSettingsShippingRateCartClassificationValueArrayOutputWithContext(ctx context.Context) ProjectSettingsShippingRateCartClassificationValueArrayOutput { +func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { return o } -func (o ProjectSettingsShippingRateCartClassificationValueArrayOutput) Index(i pulumi.IntInput) ProjectSettingsShippingRateCartClassificationValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectSettingsShippingRateCartClassificationValue { - return vs[0].([]ProjectSettingsShippingRateCartClassificationValue)[vs[1].(int)] - }).(ProjectSettingsShippingRateCartClassificationValueOutput) +func (o ShippingZoneRatePricePtrOutput) Elem() ShippingZoneRatePriceOutput { + return o.ApplyT(func(v *ShippingZoneRatePrice) ShippingZoneRatePrice { + if v != nil { + return *v + } + var ret ShippingZoneRatePrice + return ret + }).(ShippingZoneRatePriceOutput) } -type ShippingZoneLocation struct { - Country string `pulumi:"country"` - State *string `pulumi:"state"` +func (o ShippingZoneRatePricePtrOutput) CentAmount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ShippingZoneRatePrice) *int { + if v == nil { + return nil + } + return &v.CentAmount + }).(pulumi.IntPtrOutput) } -// ShippingZoneLocationInput is an input type that accepts ShippingZoneLocationArgs and ShippingZoneLocationOutput values. -// You can construct a concrete instance of `ShippingZoneLocationInput` via: +func (o ShippingZoneRatePricePtrOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZoneRatePrice) *string { + if v == nil { + return nil + } + return &v.CurrencyCode + }).(pulumi.StringPtrOutput) +} + +type ShippingZoneRateShippingRatePriceTier struct { + MinimumCentAmount *int `pulumi:"minimumCentAmount"` + Price *ShippingZoneRateShippingRatePriceTierPrice `pulumi:"price"` + PriceFunction *ShippingZoneRateShippingRatePriceTierPriceFunction `pulumi:"priceFunction"` + Score *int `pulumi:"score"` + Type string `pulumi:"type"` + Value *string `pulumi:"value"` +} + +// ShippingZoneRateShippingRatePriceTierInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArgs and ShippingZoneRateShippingRatePriceTierOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierInput` via: // -// ShippingZoneLocationArgs{...} -type ShippingZoneLocationInput interface { +// ShippingZoneRateShippingRatePriceTierArgs{...} +type ShippingZoneRateShippingRatePriceTierInput interface { pulumi.Input - ToShippingZoneLocationOutput() ShippingZoneLocationOutput - ToShippingZoneLocationOutputWithContext(context.Context) ShippingZoneLocationOutput + ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput + ToShippingZoneRateShippingRatePriceTierOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierOutput } -type ShippingZoneLocationArgs struct { - Country pulumi.StringInput `pulumi:"country"` - State pulumi.StringPtrInput `pulumi:"state"` +type ShippingZoneRateShippingRatePriceTierArgs struct { + MinimumCentAmount pulumi.IntPtrInput `pulumi:"minimumCentAmount"` + Price ShippingZoneRateShippingRatePriceTierPricePtrInput `pulumi:"price"` + PriceFunction ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput `pulumi:"priceFunction"` + Score pulumi.IntPtrInput `pulumi:"score"` + Type pulumi.StringInput `pulumi:"type"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (ShippingZoneLocationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneLocation)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTier)(nil)).Elem() } -func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutput() ShippingZoneLocationOutput { - return i.ToShippingZoneLocationOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput { + return i.ToShippingZoneRateShippingRatePriceTierOutputWithContext(context.Background()) } -func (i ShippingZoneLocationArgs) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneLocationOutput) +func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierOutput) } -// ShippingZoneLocationArrayInput is an input type that accepts ShippingZoneLocationArray and ShippingZoneLocationArrayOutput values. -// You can construct a concrete instance of `ShippingZoneLocationArrayInput` via: +// ShippingZoneRateShippingRatePriceTierArrayInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArray and ShippingZoneRateShippingRatePriceTierArrayOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierArrayInput` via: // -// ShippingZoneLocationArray{ ShippingZoneLocationArgs{...} } -type ShippingZoneLocationArrayInput interface { +// ShippingZoneRateShippingRatePriceTierArray{ ShippingZoneRateShippingRatePriceTierArgs{...} } +type ShippingZoneRateShippingRatePriceTierArrayInput interface { pulumi.Input - ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput - ToShippingZoneLocationArrayOutputWithContext(context.Context) ShippingZoneLocationArrayOutput + ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput + ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput } -type ShippingZoneLocationArray []ShippingZoneLocationInput +type ShippingZoneRateShippingRatePriceTierArray []ShippingZoneRateShippingRatePriceTierInput -func (ShippingZoneLocationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZoneLocation)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShippingZoneRateShippingRatePriceTier)(nil)).Elem() } -func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput { - return i.ToShippingZoneLocationArrayOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput { + return i.ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(context.Background()) } -func (i ShippingZoneLocationArray) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneLocationArrayOutput) +func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierArrayOutput) } -type ShippingZoneLocationOutput struct{ *pulumi.OutputState } +type ShippingZoneRateShippingRatePriceTierOutput struct{ *pulumi.OutputState } -func (ShippingZoneLocationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneLocation)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTier)(nil)).Elem() } -func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutput() ShippingZoneLocationOutput { +func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput { return o } -func (o ShippingZoneLocationOutput) ToShippingZoneLocationOutputWithContext(ctx context.Context) ShippingZoneLocationOutput { +func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput { return o } -func (o ShippingZoneLocationOutput) Country() pulumi.StringOutput { - return o.ApplyT(func(v ShippingZoneLocation) string { return v.Country }).(pulumi.StringOutput) +func (o ShippingZoneRateShippingRatePriceTierOutput) MinimumCentAmount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *int { return v.MinimumCentAmount }).(pulumi.IntPtrOutput) } -func (o ShippingZoneLocationOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShippingZoneLocation) *string { return v.State }).(pulumi.StringPtrOutput) +func (o ShippingZoneRateShippingRatePriceTierOutput) Price() ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *ShippingZoneRateShippingRatePriceTierPrice { + return v.Price + }).(ShippingZoneRateShippingRatePriceTierPricePtrOutput) } -type ShippingZoneLocationArrayOutput struct{ *pulumi.OutputState } +func (o ShippingZoneRateShippingRatePriceTierOutput) PriceFunction() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *ShippingZoneRateShippingRatePriceTierPriceFunction { + return v.PriceFunction + }).(ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) +} -func (ShippingZoneLocationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZoneLocation)(nil)).Elem() +func (o ShippingZoneRateShippingRatePriceTierOutput) Score() pulumi.IntPtrOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *int { return v.Score }).(pulumi.IntPtrOutput) } -func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutput() ShippingZoneLocationArrayOutput { +func (o ShippingZoneRateShippingRatePriceTierOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) string { return v.Type }).(pulumi.StringOutput) +} + +func (o ShippingZoneRateShippingRatePriceTierOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type ShippingZoneRateShippingRatePriceTierArrayOutput struct{ *pulumi.OutputState } + +func (ShippingZoneRateShippingRatePriceTierArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ShippingZoneRateShippingRatePriceTier)(nil)).Elem() +} + +func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput { return o } -func (o ShippingZoneLocationArrayOutput) ToShippingZoneLocationArrayOutputWithContext(ctx context.Context) ShippingZoneLocationArrayOutput { +func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput { return o } -func (o ShippingZoneLocationArrayOutput) Index(i pulumi.IntInput) ShippingZoneLocationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZoneLocation { - return vs[0].([]ShippingZoneLocation)[vs[1].(int)] - }).(ShippingZoneLocationOutput) +func (o ShippingZoneRateShippingRatePriceTierArrayOutput) Index(i pulumi.IntInput) ShippingZoneRateShippingRatePriceTierOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZoneRateShippingRatePriceTier { + return vs[0].([]ShippingZoneRateShippingRatePriceTier)[vs[1].(int)] + }).(ShippingZoneRateShippingRatePriceTierOutput) } -type ShippingZoneRateFreeAbove struct { +type ShippingZoneRateShippingRatePriceTierPrice struct { CentAmount int `pulumi:"centAmount"` CurrencyCode string `pulumi:"currencyCode"` } -// ShippingZoneRateFreeAboveInput is an input type that accepts ShippingZoneRateFreeAboveArgs and ShippingZoneRateFreeAboveOutput values. -// You can construct a concrete instance of `ShippingZoneRateFreeAboveInput` via: +// ShippingZoneRateShippingRatePriceTierPriceInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceArgs and ShippingZoneRateShippingRatePriceTierPriceOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceInput` via: // -// ShippingZoneRateFreeAboveArgs{...} -type ShippingZoneRateFreeAboveInput interface { +// ShippingZoneRateShippingRatePriceTierPriceArgs{...} +type ShippingZoneRateShippingRatePriceTierPriceInput interface { pulumi.Input - ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput - ToShippingZoneRateFreeAboveOutputWithContext(context.Context) ShippingZoneRateFreeAboveOutput + ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput + ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput } -type ShippingZoneRateFreeAboveArgs struct { +type ShippingZoneRateShippingRatePriceTierPriceArgs struct { CentAmount pulumi.IntInput `pulumi:"centAmount"` CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` } -func (ShippingZoneRateFreeAboveArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateFreeAbove)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() } -func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput { - return i.ToShippingZoneRateFreeAboveOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput { + return i.ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(context.Background()) } -func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAboveOutput) +func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceOutput) } -func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { - return i.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return i.ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(context.Background()) } -func (i ShippingZoneRateFreeAboveArgs) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAboveOutput).ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx) +func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceOutput).ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx) } -// ShippingZoneRateFreeAbovePtrInput is an input type that accepts ShippingZoneRateFreeAboveArgs, ShippingZoneRateFreeAbovePtr and ShippingZoneRateFreeAbovePtrOutput values. -// You can construct a concrete instance of `ShippingZoneRateFreeAbovePtrInput` via: +// ShippingZoneRateShippingRatePriceTierPricePtrInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceArgs, ShippingZoneRateShippingRatePriceTierPricePtr and ShippingZoneRateShippingRatePriceTierPricePtrOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPricePtrInput` via: // -// ShippingZoneRateFreeAboveArgs{...} +// ShippingZoneRateShippingRatePriceTierPriceArgs{...} // -// or: +// or: // -// nil -type ShippingZoneRateFreeAbovePtrInput interface { +// nil +type ShippingZoneRateShippingRatePriceTierPricePtrInput interface { pulumi.Input - ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput - ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Context) ShippingZoneRateFreeAbovePtrOutput + ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput + ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput } -type shippingZoneRateFreeAbovePtrType ShippingZoneRateFreeAboveArgs +type shippingZoneRateShippingRatePriceTierPricePtrType ShippingZoneRateShippingRatePriceTierPriceArgs -func ShippingZoneRateFreeAbovePtr(v *ShippingZoneRateFreeAboveArgs) ShippingZoneRateFreeAbovePtrInput { - return (*shippingZoneRateFreeAbovePtrType)(v) +func ShippingZoneRateShippingRatePriceTierPricePtr(v *ShippingZoneRateShippingRatePriceTierPriceArgs) ShippingZoneRateShippingRatePriceTierPricePtrInput { + return (*shippingZoneRateShippingRatePriceTierPricePtrType)(v) } -func (*shippingZoneRateFreeAbovePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRateFreeAbove)(nil)).Elem() +func (*shippingZoneRateShippingRatePriceTierPricePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() } -func (i *shippingZoneRateFreeAbovePtrType) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { - return i.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +func (i *shippingZoneRateShippingRatePriceTierPricePtrType) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return i.ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(context.Background()) } -func (i *shippingZoneRateFreeAbovePtrType) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateFreeAbovePtrOutput) +func (i *shippingZoneRateShippingRatePriceTierPricePtrType) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPricePtrOutput) } -type ShippingZoneRateFreeAboveOutput struct{ *pulumi.OutputState } +type ShippingZoneRateShippingRatePriceTierPriceOutput struct{ *pulumi.OutputState } -func (ShippingZoneRateFreeAboveOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateFreeAbove)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() } -func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutput() ShippingZoneRateFreeAboveOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput { return o } -func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAboveOutputWithContext(ctx context.Context) ShippingZoneRateFreeAboveOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput { return o } -func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { - return o.ToShippingZoneRateFreeAbovePtrOutputWithContext(context.Background()) +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return o.ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(context.Background()) } -func (o ShippingZoneRateFreeAboveOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { - return o.ApplyT(func(v ShippingZoneRateFreeAbove) *ShippingZoneRateFreeAbove { +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ShippingZoneRateShippingRatePriceTierPrice) *ShippingZoneRateShippingRatePriceTierPrice { return &v - }).(ShippingZoneRateFreeAbovePtrOutput) + }).(ShippingZoneRateShippingRatePriceTierPricePtrOutput) } -func (o ShippingZoneRateFreeAboveOutput) CentAmount() pulumi.IntOutput { - return o.ApplyT(func(v ShippingZoneRateFreeAbove) int { return v.CentAmount }).(pulumi.IntOutput) + +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) CentAmount() pulumi.IntOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPrice) int { return v.CentAmount }).(pulumi.IntOutput) } -func (o ShippingZoneRateFreeAboveOutput) CurrencyCode() pulumi.StringOutput { - return o.ApplyT(func(v ShippingZoneRateFreeAbove) string { return v.CurrencyCode }).(pulumi.StringOutput) +func (o ShippingZoneRateShippingRatePriceTierPriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPrice) string { return v.CurrencyCode }).(pulumi.StringOutput) } -type ShippingZoneRateFreeAbovePtrOutput struct{ *pulumi.OutputState } +type ShippingZoneRateShippingRatePriceTierPricePtrOutput struct{ *pulumi.OutputState } -func (ShippingZoneRateFreeAbovePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRateFreeAbove)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPricePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() } -func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutput() ShippingZoneRateFreeAbovePtrOutput { +func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutput() ShippingZoneRateShippingRatePriceTierPricePtrOutput { return o } -func (o ShippingZoneRateFreeAbovePtrOutput) ToShippingZoneRateFreeAbovePtrOutputWithContext(ctx context.Context) ShippingZoneRateFreeAbovePtrOutput { +func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) ToShippingZoneRateShippingRatePriceTierPricePtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPricePtrOutput { return o } -func (o ShippingZoneRateFreeAbovePtrOutput) Elem() ShippingZoneRateFreeAboveOutput { - return o.ApplyT(func(v *ShippingZoneRateFreeAbove) ShippingZoneRateFreeAbove { return *v }).(ShippingZoneRateFreeAboveOutput) +func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) Elem() ShippingZoneRateShippingRatePriceTierPriceOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPrice) ShippingZoneRateShippingRatePriceTierPrice { + if v != nil { + return *v + } + var ret ShippingZoneRateShippingRatePriceTierPrice + return ret + }).(ShippingZoneRateShippingRatePriceTierPriceOutput) } -func (o ShippingZoneRateFreeAbovePtrOutput) CentAmount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShippingZoneRateFreeAbove) *int { +func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) CentAmount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPrice) *int { if v == nil { return nil } @@ -2126,8 +4851,8 @@ func (o ShippingZoneRateFreeAbovePtrOutput) CentAmount() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } -func (o ShippingZoneRateFreeAbovePtrOutput) CurrencyCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShippingZoneRateFreeAbove) *string { +func (o ShippingZoneRateShippingRatePriceTierPricePtrOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPrice) *string { if v == nil { return nil } @@ -2135,320 +4860,300 @@ func (o ShippingZoneRateFreeAbovePtrOutput) CurrencyCode() pulumi.StringPtrOutpu }).(pulumi.StringPtrOutput) } -type ShippingZoneRatePrice struct { - CentAmount int `pulumi:"centAmount"` +type ShippingZoneRateShippingRatePriceTierPriceFunction struct { CurrencyCode string `pulumi:"currencyCode"` + Function string `pulumi:"function"` } -// ShippingZoneRatePriceInput is an input type that accepts ShippingZoneRatePriceArgs and ShippingZoneRatePriceOutput values. -// You can construct a concrete instance of `ShippingZoneRatePriceInput` via: +// ShippingZoneRateShippingRatePriceTierPriceFunctionInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceFunctionArgs and ShippingZoneRateShippingRatePriceTierPriceFunctionOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceFunctionInput` via: // -// ShippingZoneRatePriceArgs{...} -type ShippingZoneRatePriceInput interface { +// ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{...} +type ShippingZoneRateShippingRatePriceTierPriceFunctionInput interface { pulumi.Input - ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput - ToShippingZoneRatePriceOutputWithContext(context.Context) ShippingZoneRatePriceOutput + ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionOutput + ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput } -type ShippingZoneRatePriceArgs struct { - CentAmount pulumi.IntInput `pulumi:"centAmount"` +type ShippingZoneRateShippingRatePriceTierPriceFunctionArgs struct { CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Function pulumi.StringInput `pulumi:"function"` } -func (ShippingZoneRatePriceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRatePrice)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPriceFunction)(nil)).Elem() } -func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput { - return i.ToShippingZoneRatePriceOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionOutput { + return i.ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(context.Background()) } -func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePriceOutput) +func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) } -func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { - return i.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return i.ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(context.Background()) } -func (i ShippingZoneRatePriceArgs) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePriceOutput).ToShippingZoneRatePricePtrOutputWithContext(ctx) +func (i ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceFunctionOutput).ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx) } -// ShippingZoneRatePricePtrInput is an input type that accepts ShippingZoneRatePriceArgs, ShippingZoneRatePricePtr and ShippingZoneRatePricePtrOutput values. -// You can construct a concrete instance of `ShippingZoneRatePricePtrInput` via: +// ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceFunctionArgs, ShippingZoneRateShippingRatePriceTierPriceFunctionPtr and ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput values. +// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput` via: // -// ShippingZoneRatePriceArgs{...} +// ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{...} // -// or: +// or: // -// nil -type ShippingZoneRatePricePtrInput interface { +// nil +type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput interface { pulumi.Input - ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput - ToShippingZoneRatePricePtrOutputWithContext(context.Context) ShippingZoneRatePricePtrOutput + ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput + ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput } -type shippingZoneRatePricePtrType ShippingZoneRatePriceArgs +type shippingZoneRateShippingRatePriceTierPriceFunctionPtrType ShippingZoneRateShippingRatePriceTierPriceFunctionArgs -func ShippingZoneRatePricePtr(v *ShippingZoneRatePriceArgs) ShippingZoneRatePricePtrInput { - return (*shippingZoneRatePricePtrType)(v) +func ShippingZoneRateShippingRatePriceTierPriceFunctionPtr(v *ShippingZoneRateShippingRatePriceTierPriceFunctionArgs) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput { + return (*shippingZoneRateShippingRatePriceTierPriceFunctionPtrType)(v) } -func (*shippingZoneRatePricePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRatePrice)(nil)).Elem() +func (*shippingZoneRateShippingRatePriceTierPriceFunctionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateShippingRatePriceTierPriceFunction)(nil)).Elem() } -func (i *shippingZoneRatePricePtrType) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { - return i.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +func (i *shippingZoneRateShippingRatePriceTierPriceFunctionPtrType) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return i.ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(context.Background()) } -func (i *shippingZoneRatePricePtrType) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePricePtrOutput) +func (i *shippingZoneRateShippingRatePriceTierPriceFunctionPtrType) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) } -type ShippingZoneRatePriceOutput struct{ *pulumi.OutputState } +type ShippingZoneRateShippingRatePriceTierPriceFunctionOutput struct{ *pulumi.OutputState } -func (ShippingZoneRatePriceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRatePrice)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPriceFunction)(nil)).Elem() } -func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutput() ShippingZoneRatePriceOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionOutput { return o } -func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePriceOutputWithContext(ctx context.Context) ShippingZoneRatePriceOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionOutput { return o } -func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { - return o.ToShippingZoneRatePricePtrOutputWithContext(context.Background()) +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return o.ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(context.Background()) } -func (o ShippingZoneRatePriceOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { - return o.ApplyT(func(v ShippingZoneRatePrice) *ShippingZoneRatePrice { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ShippingZoneRateShippingRatePriceTierPriceFunction) *ShippingZoneRateShippingRatePriceTierPriceFunction { return &v - }).(ShippingZoneRatePricePtrOutput) + }).(ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) } -func (o ShippingZoneRatePriceOutput) CentAmount() pulumi.IntOutput { - return o.ApplyT(func(v ShippingZoneRatePrice) int { return v.CentAmount }).(pulumi.IntOutput) + +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPriceFunction) string { return v.CurrencyCode }).(pulumi.StringOutput) } -func (o ShippingZoneRatePriceOutput) CurrencyCode() pulumi.StringOutput { - return o.ApplyT(func(v ShippingZoneRatePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) Function() pulumi.StringOutput { + return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPriceFunction) string { return v.Function }).(pulumi.StringOutput) } -type ShippingZoneRatePricePtrOutput struct{ *pulumi.OutputState } +type ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput struct{ *pulumi.OutputState } -func (ShippingZoneRatePricePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRatePrice)(nil)).Elem() +func (ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ShippingZoneRateShippingRatePriceTierPriceFunction)(nil)).Elem() } -func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutput() ShippingZoneRatePricePtrOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput() ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { return o } -func (o ShippingZoneRatePricePtrOutput) ToShippingZoneRatePricePtrOutputWithContext(ctx context.Context) ShippingZoneRatePricePtrOutput { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) ToShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput { return o } -func (o ShippingZoneRatePricePtrOutput) Elem() ShippingZoneRatePriceOutput { - return o.ApplyT(func(v *ShippingZoneRatePrice) ShippingZoneRatePrice { return *v }).(ShippingZoneRatePriceOutput) +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) Elem() ShippingZoneRateShippingRatePriceTierPriceFunctionOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPriceFunction) ShippingZoneRateShippingRatePriceTierPriceFunction { + if v != nil { + return *v + } + var ret ShippingZoneRateShippingRatePriceTierPriceFunction + return ret + }).(ShippingZoneRateShippingRatePriceTierPriceFunctionOutput) } -func (o ShippingZoneRatePricePtrOutput) CentAmount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShippingZoneRatePrice) *int { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPriceFunction) *string { if v == nil { return nil } - return &v.CentAmount - }).(pulumi.IntPtrOutput) + return &v.CurrencyCode + }).(pulumi.StringPtrOutput) } -func (o ShippingZoneRatePricePtrOutput) CurrencyCode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShippingZoneRatePrice) *string { +func (o ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput) Function() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZoneRateShippingRatePriceTierPriceFunction) *string { if v == nil { return nil } - return &v.CurrencyCode + return &v.Function }).(pulumi.StringPtrOutput) } -type ShippingZoneRateShippingRatePriceTier struct { - MinimumCentAmount *int `pulumi:"minimumCentAmount"` - Price ShippingZoneRateShippingRatePriceTierPrice `pulumi:"price"` - Score *float64 `pulumi:"score"` - Type string `pulumi:"type"` - Value *string `pulumi:"value"` +type StoreCustom struct { + Fields map[string]interface{} `pulumi:"fields"` + TypeId string `pulumi:"typeId"` } -// ShippingZoneRateShippingRatePriceTierInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArgs and ShippingZoneRateShippingRatePriceTierOutput values. -// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierInput` via: +// StoreCustomInput is an input type that accepts StoreCustomArgs and StoreCustomOutput values. +// You can construct a concrete instance of `StoreCustomInput` via: // -// ShippingZoneRateShippingRatePriceTierArgs{...} -type ShippingZoneRateShippingRatePriceTierInput interface { +// StoreCustomArgs{...} +type StoreCustomInput interface { pulumi.Input - ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput - ToShippingZoneRateShippingRatePriceTierOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierOutput -} - -type ShippingZoneRateShippingRatePriceTierArgs struct { - MinimumCentAmount pulumi.IntPtrInput `pulumi:"minimumCentAmount"` - Price ShippingZoneRateShippingRatePriceTierPriceInput `pulumi:"price"` - Score pulumi.Float64PtrInput `pulumi:"score"` - Type pulumi.StringInput `pulumi:"type"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (ShippingZoneRateShippingRatePriceTierArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTier)(nil)).Elem() -} - -func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput { - return i.ToShippingZoneRateShippingRatePriceTierOutputWithContext(context.Background()) + ToStoreCustomOutput() StoreCustomOutput + ToStoreCustomOutputWithContext(context.Context) StoreCustomOutput } -func (i ShippingZoneRateShippingRatePriceTierArgs) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierOutput) +type StoreCustomArgs struct { + Fields pulumi.MapInput `pulumi:"fields"` + TypeId pulumi.StringInput `pulumi:"typeId"` } -// ShippingZoneRateShippingRatePriceTierArrayInput is an input type that accepts ShippingZoneRateShippingRatePriceTierArray and ShippingZoneRateShippingRatePriceTierArrayOutput values. -// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierArrayInput` via: -// -// ShippingZoneRateShippingRatePriceTierArray{ ShippingZoneRateShippingRatePriceTierArgs{...} } -type ShippingZoneRateShippingRatePriceTierArrayInput interface { - pulumi.Input - - ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput - ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput +func (StoreCustomArgs) ElementType() reflect.Type { + return reflect.TypeOf((*StoreCustom)(nil)).Elem() } -type ShippingZoneRateShippingRatePriceTierArray []ShippingZoneRateShippingRatePriceTierInput - -func (ShippingZoneRateShippingRatePriceTierArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZoneRateShippingRatePriceTier)(nil)).Elem() +func (i StoreCustomArgs) ToStoreCustomOutput() StoreCustomOutput { + return i.ToStoreCustomOutputWithContext(context.Background()) } -func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput { - return i.ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(context.Background()) +func (i StoreCustomArgs) ToStoreCustomOutputWithContext(ctx context.Context) StoreCustomOutput { + return pulumi.ToOutputWithContext(ctx, i).(StoreCustomOutput) } -func (i ShippingZoneRateShippingRatePriceTierArray) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierArrayOutput) +func (i StoreCustomArgs) ToStoreCustomPtrOutput() StoreCustomPtrOutput { + return i.ToStoreCustomPtrOutputWithContext(context.Background()) } -type ShippingZoneRateShippingRatePriceTierOutput struct{ *pulumi.OutputState } - -func (ShippingZoneRateShippingRatePriceTierOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTier)(nil)).Elem() +func (i StoreCustomArgs) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StoreCustomOutput).ToStoreCustomPtrOutputWithContext(ctx) } -func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutput() ShippingZoneRateShippingRatePriceTierOutput { - return o -} +// StoreCustomPtrInput is an input type that accepts StoreCustomArgs, StoreCustomPtr and StoreCustomPtrOutput values. +// You can construct a concrete instance of `StoreCustomPtrInput` via: +// +// StoreCustomArgs{...} +// +// or: +// +// nil +type StoreCustomPtrInput interface { + pulumi.Input -func (o ShippingZoneRateShippingRatePriceTierOutput) ToShippingZoneRateShippingRatePriceTierOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierOutput { - return o + ToStoreCustomPtrOutput() StoreCustomPtrOutput + ToStoreCustomPtrOutputWithContext(context.Context) StoreCustomPtrOutput } -func (o ShippingZoneRateShippingRatePriceTierOutput) MinimumCentAmount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *int { return v.MinimumCentAmount }).(pulumi.IntPtrOutput) -} +type storeCustomPtrType StoreCustomArgs -func (o ShippingZoneRateShippingRatePriceTierOutput) Price() ShippingZoneRateShippingRatePriceTierPriceOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) ShippingZoneRateShippingRatePriceTierPrice { - return v.Price - }).(ShippingZoneRateShippingRatePriceTierPriceOutput) +func StoreCustomPtr(v *StoreCustomArgs) StoreCustomPtrInput { + return (*storeCustomPtrType)(v) } -func (o ShippingZoneRateShippingRatePriceTierOutput) Score() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *float64 { return v.Score }).(pulumi.Float64PtrOutput) +func (*storeCustomPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**StoreCustom)(nil)).Elem() } -func (o ShippingZoneRateShippingRatePriceTierOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) string { return v.Type }).(pulumi.StringOutput) +func (i *storeCustomPtrType) ToStoreCustomPtrOutput() StoreCustomPtrOutput { + return i.ToStoreCustomPtrOutputWithContext(context.Background()) } -func (o ShippingZoneRateShippingRatePriceTierOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTier) *string { return v.Value }).(pulumi.StringPtrOutput) +func (i *storeCustomPtrType) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(StoreCustomPtrOutput) } -type ShippingZoneRateShippingRatePriceTierArrayOutput struct{ *pulumi.OutputState } +type StoreCustomOutput struct{ *pulumi.OutputState } -func (ShippingZoneRateShippingRatePriceTierArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZoneRateShippingRatePriceTier)(nil)).Elem() +func (StoreCustomOutput) ElementType() reflect.Type { + return reflect.TypeOf((*StoreCustom)(nil)).Elem() } -func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutput() ShippingZoneRateShippingRatePriceTierArrayOutput { +func (o StoreCustomOutput) ToStoreCustomOutput() StoreCustomOutput { return o } -func (o ShippingZoneRateShippingRatePriceTierArrayOutput) ToShippingZoneRateShippingRatePriceTierArrayOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierArrayOutput { +func (o StoreCustomOutput) ToStoreCustomOutputWithContext(ctx context.Context) StoreCustomOutput { return o } -func (o ShippingZoneRateShippingRatePriceTierArrayOutput) Index(i pulumi.IntInput) ShippingZoneRateShippingRatePriceTierOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZoneRateShippingRatePriceTier { - return vs[0].([]ShippingZoneRateShippingRatePriceTier)[vs[1].(int)] - }).(ShippingZoneRateShippingRatePriceTierOutput) -} - -type ShippingZoneRateShippingRatePriceTierPrice struct { - CentAmount int `pulumi:"centAmount"` - CurrencyCode string `pulumi:"currencyCode"` +func (o StoreCustomOutput) ToStoreCustomPtrOutput() StoreCustomPtrOutput { + return o.ToStoreCustomPtrOutputWithContext(context.Background()) } -// ShippingZoneRateShippingRatePriceTierPriceInput is an input type that accepts ShippingZoneRateShippingRatePriceTierPriceArgs and ShippingZoneRateShippingRatePriceTierPriceOutput values. -// You can construct a concrete instance of `ShippingZoneRateShippingRatePriceTierPriceInput` via: -// -// ShippingZoneRateShippingRatePriceTierPriceArgs{...} -type ShippingZoneRateShippingRatePriceTierPriceInput interface { - pulumi.Input - - ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput - ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput +func (o StoreCustomOutput) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v StoreCustom) *StoreCustom { + return &v + }).(StoreCustomPtrOutput) } -type ShippingZoneRateShippingRatePriceTierPriceArgs struct { - CentAmount pulumi.IntInput `pulumi:"centAmount"` - CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` +func (o StoreCustomOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v StoreCustom) map[string]interface{} { return v.Fields }).(pulumi.MapOutput) } -func (ShippingZoneRateShippingRatePriceTierPriceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() +func (o StoreCustomOutput) TypeId() pulumi.StringOutput { + return o.ApplyT(func(v StoreCustom) string { return v.TypeId }).(pulumi.StringOutput) } -func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput { - return i.ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(context.Background()) -} +type StoreCustomPtrOutput struct{ *pulumi.OutputState } -func (i ShippingZoneRateShippingRatePriceTierPriceArgs) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateShippingRatePriceTierPriceOutput) +func (StoreCustomPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StoreCustom)(nil)).Elem() } -type ShippingZoneRateShippingRatePriceTierPriceOutput struct{ *pulumi.OutputState } - -func (ShippingZoneRateShippingRatePriceTierPriceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPrice)(nil)).Elem() +func (o StoreCustomPtrOutput) ToStoreCustomPtrOutput() StoreCustomPtrOutput { + return o } -func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutput() ShippingZoneRateShippingRatePriceTierPriceOutput { +func (o StoreCustomPtrOutput) ToStoreCustomPtrOutputWithContext(ctx context.Context) StoreCustomPtrOutput { return o } -func (o ShippingZoneRateShippingRatePriceTierPriceOutput) ToShippingZoneRateShippingRatePriceTierPriceOutputWithContext(ctx context.Context) ShippingZoneRateShippingRatePriceTierPriceOutput { - return o +func (o StoreCustomPtrOutput) Elem() StoreCustomOutput { + return o.ApplyT(func(v *StoreCustom) StoreCustom { + if v != nil { + return *v + } + var ret StoreCustom + return ret + }).(StoreCustomOutput) } -func (o ShippingZoneRateShippingRatePriceTierPriceOutput) CentAmount() pulumi.IntOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPrice) int { return v.CentAmount }).(pulumi.IntOutput) +func (o StoreCustomPtrOutput) Fields() pulumi.MapOutput { + return o.ApplyT(func(v *StoreCustom) map[string]interface{} { + if v == nil { + return nil + } + return v.Fields + }).(pulumi.MapOutput) } -func (o ShippingZoneRateShippingRatePriceTierPriceOutput) CurrencyCode() pulumi.StringOutput { - return o.ApplyT(func(v ShippingZoneRateShippingRatePriceTierPrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +func (o StoreCustomPtrOutput) TypeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StoreCustom) *string { + if v == nil { + return nil + } + return &v.TypeId + }).(pulumi.StringPtrOutput) } type SubscriptionChange struct { @@ -2458,7 +5163,7 @@ type SubscriptionChange struct { // SubscriptionChangeInput is an input type that accepts SubscriptionChangeArgs and SubscriptionChangeOutput values. // You can construct a concrete instance of `SubscriptionChangeInput` via: // -// SubscriptionChangeArgs{...} +// SubscriptionChangeArgs{...} type SubscriptionChangeInput interface { pulumi.Input @@ -2485,7 +5190,7 @@ func (i SubscriptionChangeArgs) ToSubscriptionChangeOutputWithContext(ctx contex // SubscriptionChangeArrayInput is an input type that accepts SubscriptionChangeArray and SubscriptionChangeArrayOutput values. // You can construct a concrete instance of `SubscriptionChangeArrayInput` via: // -// SubscriptionChangeArray{ SubscriptionChangeArgs{...} } +// SubscriptionChangeArray{ SubscriptionChangeArgs{...} } type SubscriptionChangeArrayInput interface { pulumi.Input @@ -2548,20 +5253,21 @@ func (o SubscriptionChangeArrayOutput) Index(i pulumi.IntInput) SubscriptionChan type SubscriptionDestination struct { AccessKey *string `pulumi:"accessKey"` AccessSecret *string `pulumi:"accessSecret"` + AccountId *string `pulumi:"accountId"` ConnectionString *string `pulumi:"connectionString"` ProjectId *string `pulumi:"projectId"` QueueUrl *string `pulumi:"queueUrl"` - Region string `pulumi:"region"` + Region *string `pulumi:"region"` Topic *string `pulumi:"topic"` TopicArn *string `pulumi:"topicArn"` Type string `pulumi:"type"` - Uri string `pulumi:"uri"` + Uri *string `pulumi:"uri"` } // SubscriptionDestinationInput is an input type that accepts SubscriptionDestinationArgs and SubscriptionDestinationOutput values. // You can construct a concrete instance of `SubscriptionDestinationInput` via: // -// SubscriptionDestinationArgs{...} +// SubscriptionDestinationArgs{...} type SubscriptionDestinationInput interface { pulumi.Input @@ -2572,14 +5278,15 @@ type SubscriptionDestinationInput interface { type SubscriptionDestinationArgs struct { AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` AccessSecret pulumi.StringPtrInput `pulumi:"accessSecret"` + AccountId pulumi.StringPtrInput `pulumi:"accountId"` ConnectionString pulumi.StringPtrInput `pulumi:"connectionString"` ProjectId pulumi.StringPtrInput `pulumi:"projectId"` QueueUrl pulumi.StringPtrInput `pulumi:"queueUrl"` - Region pulumi.StringInput `pulumi:"region"` + Region pulumi.StringPtrInput `pulumi:"region"` Topic pulumi.StringPtrInput `pulumi:"topic"` TopicArn pulumi.StringPtrInput `pulumi:"topicArn"` Type pulumi.StringInput `pulumi:"type"` - Uri pulumi.StringInput `pulumi:"uri"` + Uri pulumi.StringPtrInput `pulumi:"uri"` } func (SubscriptionDestinationArgs) ElementType() reflect.Type { @@ -2605,11 +5312,11 @@ func (i SubscriptionDestinationArgs) ToSubscriptionDestinationPtrOutputWithConte // SubscriptionDestinationPtrInput is an input type that accepts SubscriptionDestinationArgs, SubscriptionDestinationPtr and SubscriptionDestinationPtrOutput values. // You can construct a concrete instance of `SubscriptionDestinationPtrInput` via: // -// SubscriptionDestinationArgs{...} +// SubscriptionDestinationArgs{...} // -// or: +// or: // -// nil +// nil type SubscriptionDestinationPtrInput interface { pulumi.Input @@ -2654,10 +5361,11 @@ func (o SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutput() Subs } func (o SubscriptionDestinationOutput) ToSubscriptionDestinationPtrOutputWithContext(ctx context.Context) SubscriptionDestinationPtrOutput { - return o.ApplyT(func(v SubscriptionDestination) *SubscriptionDestination { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubscriptionDestination) *SubscriptionDestination { return &v }).(SubscriptionDestinationPtrOutput) } + func (o SubscriptionDestinationOutput) AccessKey() pulumi.StringPtrOutput { return o.ApplyT(func(v SubscriptionDestination) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } @@ -2666,6 +5374,10 @@ func (o SubscriptionDestinationOutput) AccessSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v SubscriptionDestination) *string { return v.AccessSecret }).(pulumi.StringPtrOutput) } +func (o SubscriptionDestinationOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v SubscriptionDestination) *string { return v.AccountId }).(pulumi.StringPtrOutput) +} + func (o SubscriptionDestinationOutput) ConnectionString() pulumi.StringPtrOutput { return o.ApplyT(func(v SubscriptionDestination) *string { return v.ConnectionString }).(pulumi.StringPtrOutput) } @@ -2678,8 +5390,8 @@ func (o SubscriptionDestinationOutput) QueueUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v SubscriptionDestination) *string { return v.QueueUrl }).(pulumi.StringPtrOutput) } -func (o SubscriptionDestinationOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v SubscriptionDestination) string { return v.Region }).(pulumi.StringOutput) +func (o SubscriptionDestinationOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v SubscriptionDestination) *string { return v.Region }).(pulumi.StringPtrOutput) } func (o SubscriptionDestinationOutput) Topic() pulumi.StringPtrOutput { @@ -2694,8 +5406,8 @@ func (o SubscriptionDestinationOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v SubscriptionDestination) string { return v.Type }).(pulumi.StringOutput) } -func (o SubscriptionDestinationOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v SubscriptionDestination) string { return v.Uri }).(pulumi.StringOutput) +func (o SubscriptionDestinationOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v SubscriptionDestination) *string { return v.Uri }).(pulumi.StringPtrOutput) } type SubscriptionDestinationPtrOutput struct{ *pulumi.OutputState } @@ -2713,7 +5425,13 @@ func (o SubscriptionDestinationPtrOutput) ToSubscriptionDestinationPtrOutputWith } func (o SubscriptionDestinationPtrOutput) Elem() SubscriptionDestinationOutput { - return o.ApplyT(func(v *SubscriptionDestination) SubscriptionDestination { return *v }).(SubscriptionDestinationOutput) + return o.ApplyT(func(v *SubscriptionDestination) SubscriptionDestination { + if v != nil { + return *v + } + var ret SubscriptionDestination + return ret + }).(SubscriptionDestinationOutput) } func (o SubscriptionDestinationPtrOutput) AccessKey() pulumi.StringPtrOutput { @@ -2734,6 +5452,15 @@ func (o SubscriptionDestinationPtrOutput) AccessSecret() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +func (o SubscriptionDestinationPtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SubscriptionDestination) *string { + if v == nil { + return nil + } + return v.AccountId + }).(pulumi.StringPtrOutput) +} + func (o SubscriptionDestinationPtrOutput) ConnectionString() pulumi.StringPtrOutput { return o.ApplyT(func(v *SubscriptionDestination) *string { if v == nil { @@ -2766,7 +5493,7 @@ func (o SubscriptionDestinationPtrOutput) Region() pulumi.StringPtrOutput { if v == nil { return nil } - return &v.Region + return v.Region }).(pulumi.StringPtrOutput) } @@ -2802,19 +5529,19 @@ func (o SubscriptionDestinationPtrOutput) Uri() pulumi.StringPtrOutput { if v == nil { return nil } - return &v.Uri + return v.Uri }).(pulumi.StringPtrOutput) } type SubscriptionFormat struct { CloudEventsVersion *string `pulumi:"cloudEventsVersion"` - Type string `pulumi:"type"` + Type *string `pulumi:"type"` } // SubscriptionFormatInput is an input type that accepts SubscriptionFormatArgs and SubscriptionFormatOutput values. // You can construct a concrete instance of `SubscriptionFormatInput` via: // -// SubscriptionFormatArgs{...} +// SubscriptionFormatArgs{...} type SubscriptionFormatInput interface { pulumi.Input @@ -2824,7 +5551,7 @@ type SubscriptionFormatInput interface { type SubscriptionFormatArgs struct { CloudEventsVersion pulumi.StringPtrInput `pulumi:"cloudEventsVersion"` - Type pulumi.StringInput `pulumi:"type"` + Type pulumi.StringPtrInput `pulumi:"type"` } func (SubscriptionFormatArgs) ElementType() reflect.Type { @@ -2850,11 +5577,11 @@ func (i SubscriptionFormatArgs) ToSubscriptionFormatPtrOutputWithContext(ctx con // SubscriptionFormatPtrInput is an input type that accepts SubscriptionFormatArgs, SubscriptionFormatPtr and SubscriptionFormatPtrOutput values. // You can construct a concrete instance of `SubscriptionFormatPtrInput` via: // -// SubscriptionFormatArgs{...} +// SubscriptionFormatArgs{...} // -// or: +// or: // -// nil +// nil type SubscriptionFormatPtrInput interface { pulumi.Input @@ -2899,16 +5626,17 @@ func (o SubscriptionFormatOutput) ToSubscriptionFormatPtrOutput() SubscriptionFo } func (o SubscriptionFormatOutput) ToSubscriptionFormatPtrOutputWithContext(ctx context.Context) SubscriptionFormatPtrOutput { - return o.ApplyT(func(v SubscriptionFormat) *SubscriptionFormat { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SubscriptionFormat) *SubscriptionFormat { return &v }).(SubscriptionFormatPtrOutput) } + func (o SubscriptionFormatOutput) CloudEventsVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v SubscriptionFormat) *string { return v.CloudEventsVersion }).(pulumi.StringPtrOutput) } -func (o SubscriptionFormatOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v SubscriptionFormat) string { return v.Type }).(pulumi.StringOutput) +func (o SubscriptionFormatOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v SubscriptionFormat) *string { return v.Type }).(pulumi.StringPtrOutput) } type SubscriptionFormatPtrOutput struct{ *pulumi.OutputState } @@ -2926,7 +5654,13 @@ func (o SubscriptionFormatPtrOutput) ToSubscriptionFormatPtrOutputWithContext(ct } func (o SubscriptionFormatPtrOutput) Elem() SubscriptionFormatOutput { - return o.ApplyT(func(v *SubscriptionFormat) SubscriptionFormat { return *v }).(SubscriptionFormatOutput) + return o.ApplyT(func(v *SubscriptionFormat) SubscriptionFormat { + if v != nil { + return *v + } + var ret SubscriptionFormat + return ret + }).(SubscriptionFormatOutput) } func (o SubscriptionFormatPtrOutput) CloudEventsVersion() pulumi.StringPtrOutput { @@ -2943,19 +5677,19 @@ func (o SubscriptionFormatPtrOutput) Type() pulumi.StringPtrOutput { if v == nil { return nil } - return &v.Type + return v.Type }).(pulumi.StringPtrOutput) } type SubscriptionMessage struct { - ResourceTypeId *string `pulumi:"resourceTypeId"` + ResourceTypeId string `pulumi:"resourceTypeId"` Types []string `pulumi:"types"` } // SubscriptionMessageInput is an input type that accepts SubscriptionMessageArgs and SubscriptionMessageOutput values. // You can construct a concrete instance of `SubscriptionMessageInput` via: // -// SubscriptionMessageArgs{...} +// SubscriptionMessageArgs{...} type SubscriptionMessageInput interface { pulumi.Input @@ -2964,7 +5698,7 @@ type SubscriptionMessageInput interface { } type SubscriptionMessageArgs struct { - ResourceTypeId pulumi.StringPtrInput `pulumi:"resourceTypeId"` + ResourceTypeId pulumi.StringInput `pulumi:"resourceTypeId"` Types pulumi.StringArrayInput `pulumi:"types"` } @@ -2983,7 +5717,7 @@ func (i SubscriptionMessageArgs) ToSubscriptionMessageOutputWithContext(ctx cont // SubscriptionMessageArrayInput is an input type that accepts SubscriptionMessageArray and SubscriptionMessageArrayOutput values. // You can construct a concrete instance of `SubscriptionMessageArrayInput` via: // -// SubscriptionMessageArray{ SubscriptionMessageArgs{...} } +// SubscriptionMessageArray{ SubscriptionMessageArgs{...} } type SubscriptionMessageArrayInput interface { pulumi.Input @@ -3019,8 +5753,8 @@ func (o SubscriptionMessageOutput) ToSubscriptionMessageOutputWithContext(ctx co return o } -func (o SubscriptionMessageOutput) ResourceTypeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v SubscriptionMessage) *string { return v.ResourceTypeId }).(pulumi.StringPtrOutput) +func (o SubscriptionMessageOutput) ResourceTypeId() pulumi.StringOutput { + return o.ApplyT(func(v SubscriptionMessage) string { return v.ResourceTypeId }).(pulumi.StringOutput) } func (o SubscriptionMessageOutput) Types() pulumi.StringArrayOutput { @@ -3055,7 +5789,7 @@ type TaxCategoryRateSubRate struct { // TaxCategoryRateSubRateInput is an input type that accepts TaxCategoryRateSubRateArgs and TaxCategoryRateSubRateOutput values. // You can construct a concrete instance of `TaxCategoryRateSubRateInput` via: // -// TaxCategoryRateSubRateArgs{...} +// TaxCategoryRateSubRateArgs{...} type TaxCategoryRateSubRateInput interface { pulumi.Input @@ -3083,7 +5817,7 @@ func (i TaxCategoryRateSubRateArgs) ToTaxCategoryRateSubRateOutputWithContext(ct // TaxCategoryRateSubRateArrayInput is an input type that accepts TaxCategoryRateSubRateArray and TaxCategoryRateSubRateArrayOutput values. // You can construct a concrete instance of `TaxCategoryRateSubRateArrayInput` via: // -// TaxCategoryRateSubRateArray{ TaxCategoryRateSubRateArgs{...} } +// TaxCategoryRateSubRateArray{ TaxCategoryRateSubRateArgs{...} } type TaxCategoryRateSubRateArrayInput interface { pulumi.Input @@ -3158,7 +5892,7 @@ type TypeField struct { // TypeFieldInput is an input type that accepts TypeFieldArgs and TypeFieldOutput values. // You can construct a concrete instance of `TypeFieldInput` via: // -// TypeFieldArgs{...} +// TypeFieldArgs{...} type TypeFieldInput interface { pulumi.Input @@ -3189,7 +5923,7 @@ func (i TypeFieldArgs) ToTypeFieldOutputWithContext(ctx context.Context) TypeFie // TypeFieldArrayInput is an input type that accepts TypeFieldArray and TypeFieldArrayOutput values. // You can construct a concrete instance of `TypeFieldArrayInput` via: // -// TypeFieldArray{ TypeFieldArgs{...} } +// TypeFieldArray{ TypeFieldArgs{...} } type TypeFieldArrayInput interface { pulumi.Input @@ -3270,13 +6004,13 @@ type TypeFieldType struct { LocalizedValues []TypeFieldTypeLocalizedValue `pulumi:"localizedValues"` Name string `pulumi:"name"` ReferenceTypeId *string `pulumi:"referenceTypeId"` - Values map[string]interface{} `pulumi:"values"` + Values []TypeFieldTypeValue `pulumi:"values"` } // TypeFieldTypeInput is an input type that accepts TypeFieldTypeArgs and TypeFieldTypeOutput values. // You can construct a concrete instance of `TypeFieldTypeInput` via: // -// TypeFieldTypeArgs{...} +// TypeFieldTypeArgs{...} type TypeFieldTypeInput interface { pulumi.Input @@ -3289,7 +6023,7 @@ type TypeFieldTypeArgs struct { LocalizedValues TypeFieldTypeLocalizedValueArrayInput `pulumi:"localizedValues"` Name pulumi.StringInput `pulumi:"name"` ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` - Values pulumi.MapInput `pulumi:"values"` + Values TypeFieldTypeValueArrayInput `pulumi:"values"` } func (TypeFieldTypeArgs) ElementType() reflect.Type { @@ -3334,21 +6068,21 @@ func (o TypeFieldTypeOutput) ReferenceTypeId() pulumi.StringPtrOutput { return o.ApplyT(func(v TypeFieldType) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) } -func (o TypeFieldTypeOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v TypeFieldType) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func (o TypeFieldTypeOutput) Values() TypeFieldTypeValueArrayOutput { + return o.ApplyT(func(v TypeFieldType) []TypeFieldTypeValue { return v.Values }).(TypeFieldTypeValueArrayOutput) } type TypeFieldTypeElementType2 struct { LocalizedValues []TypeFieldTypeElementType2LocalizedValue `pulumi:"localizedValues"` Name string `pulumi:"name"` ReferenceTypeId *string `pulumi:"referenceTypeId"` - Values map[string]interface{} `pulumi:"values"` + Values []TypeFieldTypeElementType2Value `pulumi:"values"` } // TypeFieldTypeElementType2Input is an input type that accepts TypeFieldTypeElementType2Args and TypeFieldTypeElementType2Output values. // You can construct a concrete instance of `TypeFieldTypeElementType2Input` via: // -// TypeFieldTypeElementType2Args{...} +// TypeFieldTypeElementType2Args{...} type TypeFieldTypeElementType2Input interface { pulumi.Input @@ -3360,7 +6094,7 @@ type TypeFieldTypeElementType2Args struct { LocalizedValues TypeFieldTypeElementType2LocalizedValueArrayInput `pulumi:"localizedValues"` Name pulumi.StringInput `pulumi:"name"` ReferenceTypeId pulumi.StringPtrInput `pulumi:"referenceTypeId"` - Values pulumi.MapInput `pulumi:"values"` + Values TypeFieldTypeElementType2ValueArrayInput `pulumi:"values"` } func (TypeFieldTypeElementType2Args) ElementType() reflect.Type { @@ -3386,11 +6120,11 @@ func (i TypeFieldTypeElementType2Args) ToTypeFieldTypeElementType2PtrOutputWithC // TypeFieldTypeElementType2PtrInput is an input type that accepts TypeFieldTypeElementType2Args, TypeFieldTypeElementType2Ptr and TypeFieldTypeElementType2PtrOutput values. // You can construct a concrete instance of `TypeFieldTypeElementType2PtrInput` via: // -// TypeFieldTypeElementType2Args{...} +// TypeFieldTypeElementType2Args{...} // -// or: +// or: // -// nil +// nil type TypeFieldTypeElementType2PtrInput interface { pulumi.Input @@ -3435,10 +6169,11 @@ func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutput() } func (o TypeFieldTypeElementType2Output) ToTypeFieldTypeElementType2PtrOutputWithContext(ctx context.Context) TypeFieldTypeElementType2PtrOutput { - return o.ApplyT(func(v TypeFieldTypeElementType2) *TypeFieldTypeElementType2 { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TypeFieldTypeElementType2) *TypeFieldTypeElementType2 { return &v }).(TypeFieldTypeElementType2PtrOutput) } + func (o TypeFieldTypeElementType2Output) LocalizedValues() TypeFieldTypeElementType2LocalizedValueArrayOutput { return o.ApplyT(func(v TypeFieldTypeElementType2) []TypeFieldTypeElementType2LocalizedValue { return v.LocalizedValues }).(TypeFieldTypeElementType2LocalizedValueArrayOutput) } @@ -3451,8 +6186,8 @@ func (o TypeFieldTypeElementType2Output) ReferenceTypeId() pulumi.StringPtrOutpu return o.ApplyT(func(v TypeFieldTypeElementType2) *string { return v.ReferenceTypeId }).(pulumi.StringPtrOutput) } -func (o TypeFieldTypeElementType2Output) Values() pulumi.MapOutput { - return o.ApplyT(func(v TypeFieldTypeElementType2) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func (o TypeFieldTypeElementType2Output) Values() TypeFieldTypeElementType2ValueArrayOutput { + return o.ApplyT(func(v TypeFieldTypeElementType2) []TypeFieldTypeElementType2Value { return v.Values }).(TypeFieldTypeElementType2ValueArrayOutput) } type TypeFieldTypeElementType2PtrOutput struct{ *pulumi.OutputState } @@ -3470,7 +6205,13 @@ func (o TypeFieldTypeElementType2PtrOutput) ToTypeFieldTypeElementType2PtrOutput } func (o TypeFieldTypeElementType2PtrOutput) Elem() TypeFieldTypeElementType2Output { - return o.ApplyT(func(v *TypeFieldTypeElementType2) TypeFieldTypeElementType2 { return *v }).(TypeFieldTypeElementType2Output) + return o.ApplyT(func(v *TypeFieldTypeElementType2) TypeFieldTypeElementType2 { + if v != nil { + return *v + } + var ret TypeFieldTypeElementType2 + return ret + }).(TypeFieldTypeElementType2Output) } func (o TypeFieldTypeElementType2PtrOutput) LocalizedValues() TypeFieldTypeElementType2LocalizedValueArrayOutput { @@ -3500,13 +6241,13 @@ func (o TypeFieldTypeElementType2PtrOutput) ReferenceTypeId() pulumi.StringPtrOu }).(pulumi.StringPtrOutput) } -func (o TypeFieldTypeElementType2PtrOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v *TypeFieldTypeElementType2) map[string]interface{} { +func (o TypeFieldTypeElementType2PtrOutput) Values() TypeFieldTypeElementType2ValueArrayOutput { + return o.ApplyT(func(v *TypeFieldTypeElementType2) []TypeFieldTypeElementType2Value { if v == nil { return nil } return v.Values - }).(pulumi.MapOutput) + }).(TypeFieldTypeElementType2ValueArrayOutput) } type TypeFieldTypeElementType2LocalizedValue struct { @@ -3517,7 +6258,7 @@ type TypeFieldTypeElementType2LocalizedValue struct { // TypeFieldTypeElementType2LocalizedValueInput is an input type that accepts TypeFieldTypeElementType2LocalizedValueArgs and TypeFieldTypeElementType2LocalizedValueOutput values. // You can construct a concrete instance of `TypeFieldTypeElementType2LocalizedValueInput` via: // -// TypeFieldTypeElementType2LocalizedValueArgs{...} +// TypeFieldTypeElementType2LocalizedValueArgs{...} type TypeFieldTypeElementType2LocalizedValueInput interface { pulumi.Input @@ -3545,7 +6286,7 @@ func (i TypeFieldTypeElementType2LocalizedValueArgs) ToTypeFieldTypeElementType2 // TypeFieldTypeElementType2LocalizedValueArrayInput is an input type that accepts TypeFieldTypeElementType2LocalizedValueArray and TypeFieldTypeElementType2LocalizedValueArrayOutput values. // You can construct a concrete instance of `TypeFieldTypeElementType2LocalizedValueArrayInput` via: // -// TypeFieldTypeElementType2LocalizedValueArray{ TypeFieldTypeElementType2LocalizedValueArgs{...} } +// TypeFieldTypeElementType2LocalizedValueArray{ TypeFieldTypeElementType2LocalizedValueArgs{...} } type TypeFieldTypeElementType2LocalizedValueArrayInput interface { pulumi.Input @@ -3609,6 +6350,106 @@ func (o TypeFieldTypeElementType2LocalizedValueArrayOutput) Index(i pulumi.IntIn }).(TypeFieldTypeElementType2LocalizedValueOutput) } +type TypeFieldTypeElementType2Value struct { + Key string `pulumi:"key"` + Label string `pulumi:"label"` +} + +// TypeFieldTypeElementType2ValueInput is an input type that accepts TypeFieldTypeElementType2ValueArgs and TypeFieldTypeElementType2ValueOutput values. +// You can construct a concrete instance of `TypeFieldTypeElementType2ValueInput` via: +// +// TypeFieldTypeElementType2ValueArgs{...} +type TypeFieldTypeElementType2ValueInput interface { + pulumi.Input + + ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput + ToTypeFieldTypeElementType2ValueOutputWithContext(context.Context) TypeFieldTypeElementType2ValueOutput +} + +type TypeFieldTypeElementType2ValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.StringInput `pulumi:"label"` +} + +func (TypeFieldTypeElementType2ValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TypeFieldTypeElementType2Value)(nil)).Elem() +} + +func (i TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput { + return i.ToTypeFieldTypeElementType2ValueOutputWithContext(context.Background()) +} + +func (i TypeFieldTypeElementType2ValueArgs) ToTypeFieldTypeElementType2ValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TypeFieldTypeElementType2ValueOutput) +} + +// TypeFieldTypeElementType2ValueArrayInput is an input type that accepts TypeFieldTypeElementType2ValueArray and TypeFieldTypeElementType2ValueArrayOutput values. +// You can construct a concrete instance of `TypeFieldTypeElementType2ValueArrayInput` via: +// +// TypeFieldTypeElementType2ValueArray{ TypeFieldTypeElementType2ValueArgs{...} } +type TypeFieldTypeElementType2ValueArrayInput interface { + pulumi.Input + + ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput + ToTypeFieldTypeElementType2ValueArrayOutputWithContext(context.Context) TypeFieldTypeElementType2ValueArrayOutput +} + +type TypeFieldTypeElementType2ValueArray []TypeFieldTypeElementType2ValueInput + +func (TypeFieldTypeElementType2ValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TypeFieldTypeElementType2Value)(nil)).Elem() +} + +func (i TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput { + return i.ToTypeFieldTypeElementType2ValueArrayOutputWithContext(context.Background()) +} + +func (i TypeFieldTypeElementType2ValueArray) ToTypeFieldTypeElementType2ValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TypeFieldTypeElementType2ValueArrayOutput) +} + +type TypeFieldTypeElementType2ValueOutput struct{ *pulumi.OutputState } + +func (TypeFieldTypeElementType2ValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TypeFieldTypeElementType2Value)(nil)).Elem() +} + +func (o TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutput() TypeFieldTypeElementType2ValueOutput { + return o +} + +func (o TypeFieldTypeElementType2ValueOutput) ToTypeFieldTypeElementType2ValueOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueOutput { + return o +} + +func (o TypeFieldTypeElementType2ValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v TypeFieldTypeElementType2Value) string { return v.Key }).(pulumi.StringOutput) +} + +func (o TypeFieldTypeElementType2ValueOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v TypeFieldTypeElementType2Value) string { return v.Label }).(pulumi.StringOutput) +} + +type TypeFieldTypeElementType2ValueArrayOutput struct{ *pulumi.OutputState } + +func (TypeFieldTypeElementType2ValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TypeFieldTypeElementType2Value)(nil)).Elem() +} + +func (o TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutput() TypeFieldTypeElementType2ValueArrayOutput { + return o +} + +func (o TypeFieldTypeElementType2ValueArrayOutput) ToTypeFieldTypeElementType2ValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeElementType2ValueArrayOutput { + return o +} + +func (o TypeFieldTypeElementType2ValueArrayOutput) Index(i pulumi.IntInput) TypeFieldTypeElementType2ValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeFieldTypeElementType2Value { + return vs[0].([]TypeFieldTypeElementType2Value)[vs[1].(int)] + }).(TypeFieldTypeElementType2ValueOutput) +} + type TypeFieldTypeLocalizedValue struct { Key string `pulumi:"key"` Label map[string]interface{} `pulumi:"label"` @@ -3617,7 +6458,7 @@ type TypeFieldTypeLocalizedValue struct { // TypeFieldTypeLocalizedValueInput is an input type that accepts TypeFieldTypeLocalizedValueArgs and TypeFieldTypeLocalizedValueOutput values. // You can construct a concrete instance of `TypeFieldTypeLocalizedValueInput` via: // -// TypeFieldTypeLocalizedValueArgs{...} +// TypeFieldTypeLocalizedValueArgs{...} type TypeFieldTypeLocalizedValueInput interface { pulumi.Input @@ -3645,7 +6486,7 @@ func (i TypeFieldTypeLocalizedValueArgs) ToTypeFieldTypeLocalizedValueOutputWith // TypeFieldTypeLocalizedValueArrayInput is an input type that accepts TypeFieldTypeLocalizedValueArray and TypeFieldTypeLocalizedValueArrayOutput values. // You can construct a concrete instance of `TypeFieldTypeLocalizedValueArrayInput` via: // -// TypeFieldTypeLocalizedValueArray{ TypeFieldTypeLocalizedValueArgs{...} } +// TypeFieldTypeLocalizedValueArray{ TypeFieldTypeLocalizedValueArgs{...} } type TypeFieldTypeLocalizedValueArrayInput interface { pulumi.Input @@ -3709,7 +6550,199 @@ func (o TypeFieldTypeLocalizedValueArrayOutput) Index(i pulumi.IntInput) TypeFie }).(TypeFieldTypeLocalizedValueOutput) } +type TypeFieldTypeValue struct { + Key string `pulumi:"key"` + Label string `pulumi:"label"` +} + +// TypeFieldTypeValueInput is an input type that accepts TypeFieldTypeValueArgs and TypeFieldTypeValueOutput values. +// You can construct a concrete instance of `TypeFieldTypeValueInput` via: +// +// TypeFieldTypeValueArgs{...} +type TypeFieldTypeValueInput interface { + pulumi.Input + + ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput + ToTypeFieldTypeValueOutputWithContext(context.Context) TypeFieldTypeValueOutput +} + +type TypeFieldTypeValueArgs struct { + Key pulumi.StringInput `pulumi:"key"` + Label pulumi.StringInput `pulumi:"label"` +} + +func (TypeFieldTypeValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TypeFieldTypeValue)(nil)).Elem() +} + +func (i TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput { + return i.ToTypeFieldTypeValueOutputWithContext(context.Background()) +} + +func (i TypeFieldTypeValueArgs) ToTypeFieldTypeValueOutputWithContext(ctx context.Context) TypeFieldTypeValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(TypeFieldTypeValueOutput) +} + +// TypeFieldTypeValueArrayInput is an input type that accepts TypeFieldTypeValueArray and TypeFieldTypeValueArrayOutput values. +// You can construct a concrete instance of `TypeFieldTypeValueArrayInput` via: +// +// TypeFieldTypeValueArray{ TypeFieldTypeValueArgs{...} } +type TypeFieldTypeValueArrayInput interface { + pulumi.Input + + ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput + ToTypeFieldTypeValueArrayOutputWithContext(context.Context) TypeFieldTypeValueArrayOutput +} + +type TypeFieldTypeValueArray []TypeFieldTypeValueInput + +func (TypeFieldTypeValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TypeFieldTypeValue)(nil)).Elem() +} + +func (i TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput { + return i.ToTypeFieldTypeValueArrayOutputWithContext(context.Background()) +} + +func (i TypeFieldTypeValueArray) ToTypeFieldTypeValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TypeFieldTypeValueArrayOutput) +} + +type TypeFieldTypeValueOutput struct{ *pulumi.OutputState } + +func (TypeFieldTypeValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TypeFieldTypeValue)(nil)).Elem() +} + +func (o TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutput() TypeFieldTypeValueOutput { + return o +} + +func (o TypeFieldTypeValueOutput) ToTypeFieldTypeValueOutputWithContext(ctx context.Context) TypeFieldTypeValueOutput { + return o +} + +func (o TypeFieldTypeValueOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v TypeFieldTypeValue) string { return v.Key }).(pulumi.StringOutput) +} + +func (o TypeFieldTypeValueOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v TypeFieldTypeValue) string { return v.Label }).(pulumi.StringOutput) +} + +type TypeFieldTypeValueArrayOutput struct{ *pulumi.OutputState } + +func (TypeFieldTypeValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TypeFieldTypeValue)(nil)).Elem() +} + +func (o TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutput() TypeFieldTypeValueArrayOutput { + return o +} + +func (o TypeFieldTypeValueArrayOutput) ToTypeFieldTypeValueArrayOutputWithContext(ctx context.Context) TypeFieldTypeValueArrayOutput { + return o +} + +func (o TypeFieldTypeValueArrayOutput) Index(i pulumi.IntInput) TypeFieldTypeValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TypeFieldTypeValue { + return vs[0].([]TypeFieldTypeValue)[vs[1].(int)] + }).(TypeFieldTypeValueOutput) +} + func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionDestinationInput)(nil)).Elem(), ApiExtensionDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionDestinationPtrInput)(nil)).Elem(), ApiExtensionDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionTriggerInput)(nil)).Elem(), ApiExtensionTriggerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ApiExtensionTriggerArrayInput)(nil)).Elem(), ApiExtensionTriggerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountTargetInput)(nil)).Elem(), CartDiscountTargetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountTargetPtrInput)(nil)).Elem(), CartDiscountTargetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountValueInput)(nil)).Elem(), CartDiscountValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountValuePtrInput)(nil)).Elem(), CartDiscountValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountValueMoneyInput)(nil)).Elem(), CartDiscountValueMoneyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CartDiscountValueMoneyArrayInput)(nil)).Elem(), CartDiscountValueMoneyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetInput)(nil)).Elem(), CategoryAssetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetArrayInput)(nil)).Elem(), CategoryAssetArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetSourceInput)(nil)).Elem(), CategoryAssetSourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetSourceArrayInput)(nil)).Elem(), CategoryAssetSourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetSourceDimensionsInput)(nil)).Elem(), CategoryAssetSourceDimensionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryAssetSourceDimensionsPtrInput)(nil)).Elem(), CategoryAssetSourceDimensionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryCustomInput)(nil)).Elem(), CategoryCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CategoryCustomPtrInput)(nil)).Elem(), CategoryCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelAddressInput)(nil)).Elem(), ChannelAddressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelAddressPtrInput)(nil)).Elem(), ChannelAddressArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelCustomInput)(nil)).Elem(), ChannelCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelCustomPtrInput)(nil)).Elem(), ChannelCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelGeolocationInput)(nil)).Elem(), ChannelGeolocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ChannelGeolocationPtrInput)(nil)).Elem(), ChannelGeolocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomerGroupCustomInput)(nil)).Elem(), CustomerGroupCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CustomerGroupCustomPtrInput)(nil)).Elem(), CustomerGroupCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DiscountCodeCustomInput)(nil)).Elem(), DiscountCodeCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DiscountCodeCustomPtrInput)(nil)).Elem(), DiscountCodeCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountValueInput)(nil)).Elem(), ProductDiscountValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountValuePtrInput)(nil)).Elem(), ProductDiscountValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountValueMoneyInput)(nil)).Elem(), ProductDiscountValueMoneyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductDiscountValueMoneyArrayInput)(nil)).Elem(), ProductDiscountValueMoneyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeInput)(nil)).Elem(), ProductTypeAttributeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeArrayInput)(nil)).Elem(), ProductTypeAttributeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeInput)(nil)).Elem(), ProductTypeAttributeTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2Input)(nil)).Elem(), ProductTypeAttributeTypeElementType2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2PtrInput)(nil)).Elem(), ProductTypeAttributeTypeElementType2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValueInput)(nil)).Elem(), ProductTypeAttributeTypeElementType2LocalizedValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2LocalizedValueArrayInput)(nil)).Elem(), ProductTypeAttributeTypeElementType2LocalizedValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2ValueInput)(nil)).Elem(), ProductTypeAttributeTypeElementType2ValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeElementType2ValueArrayInput)(nil)).Elem(), ProductTypeAttributeTypeElementType2ValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValueInput)(nil)).Elem(), ProductTypeAttributeTypeLocalizedValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeLocalizedValueArrayInput)(nil)).Elem(), ProductTypeAttributeTypeLocalizedValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeValueInput)(nil)).Elem(), ProductTypeAttributeTypeValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProductTypeAttributeTypeValueArrayInput)(nil)).Elem(), ProductTypeAttributeTypeValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsCartsInput)(nil)).Elem(), ProjectSettingsCartsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsCartsPtrInput)(nil)).Elem(), ProjectSettingsCartsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsExternalOauthInput)(nil)).Elem(), ProjectSettingsExternalOauthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsExternalOauthPtrInput)(nil)).Elem(), ProjectSettingsExternalOauthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsMessagesInput)(nil)).Elem(), ProjectSettingsMessagesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsMessagesPtrInput)(nil)).Elem(), ProjectSettingsMessagesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValueInput)(nil)).Elem(), ProjectSettingsShippingRateCartClassificationValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ProjectSettingsShippingRateCartClassificationValueArrayInput)(nil)).Elem(), ProjectSettingsShippingRateCartClassificationValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingMethodCustomInput)(nil)).Elem(), ShippingMethodCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingMethodCustomPtrInput)(nil)).Elem(), ShippingMethodCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneLocationInput)(nil)).Elem(), ShippingZoneLocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneLocationArrayInput)(nil)).Elem(), ShippingZoneLocationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateFreeAboveInput)(nil)).Elem(), ShippingZoneRateFreeAboveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateFreeAbovePtrInput)(nil)).Elem(), ShippingZoneRateFreeAboveArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRatePriceInput)(nil)).Elem(), ShippingZoneRatePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRatePricePtrInput)(nil)).Elem(), ShippingZoneRatePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierArrayInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPriceInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPricePtrInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPriceFunctionInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateShippingRatePriceTierPriceFunctionPtrInput)(nil)).Elem(), ShippingZoneRateShippingRatePriceTierPriceFunctionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*StoreCustomInput)(nil)).Elem(), StoreCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*StoreCustomPtrInput)(nil)).Elem(), StoreCustomArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionChangeInput)(nil)).Elem(), SubscriptionChangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionChangeArrayInput)(nil)).Elem(), SubscriptionChangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionDestinationInput)(nil)).Elem(), SubscriptionDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionDestinationPtrInput)(nil)).Elem(), SubscriptionDestinationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionFormatInput)(nil)).Elem(), SubscriptionFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionFormatPtrInput)(nil)).Elem(), SubscriptionFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMessageInput)(nil)).Elem(), SubscriptionMessageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMessageArrayInput)(nil)).Elem(), SubscriptionMessageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryRateSubRateInput)(nil)).Elem(), TaxCategoryRateSubRateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryRateSubRateArrayInput)(nil)).Elem(), TaxCategoryRateSubRateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldInput)(nil)).Elem(), TypeFieldArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldArrayInput)(nil)).Elem(), TypeFieldArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeInput)(nil)).Elem(), TypeFieldTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2Input)(nil)).Elem(), TypeFieldTypeElementType2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2PtrInput)(nil)).Elem(), TypeFieldTypeElementType2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2LocalizedValueInput)(nil)).Elem(), TypeFieldTypeElementType2LocalizedValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2LocalizedValueArrayInput)(nil)).Elem(), TypeFieldTypeElementType2LocalizedValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2ValueInput)(nil)).Elem(), TypeFieldTypeElementType2ValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeElementType2ValueArrayInput)(nil)).Elem(), TypeFieldTypeElementType2ValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeLocalizedValueInput)(nil)).Elem(), TypeFieldTypeLocalizedValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeLocalizedValueArrayInput)(nil)).Elem(), TypeFieldTypeLocalizedValueArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeValueInput)(nil)).Elem(), TypeFieldTypeValueArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeFieldTypeValueArrayInput)(nil)).Elem(), TypeFieldTypeValueArray{}) pulumi.RegisterOutputType(ApiExtensionDestinationOutput{}) pulumi.RegisterOutputType(ApiExtensionDestinationPtrOutput{}) pulumi.RegisterOutputType(ApiExtensionTriggerOutput{}) @@ -3720,6 +6753,28 @@ func init() { pulumi.RegisterOutputType(CartDiscountValuePtrOutput{}) pulumi.RegisterOutputType(CartDiscountValueMoneyOutput{}) pulumi.RegisterOutputType(CartDiscountValueMoneyArrayOutput{}) + pulumi.RegisterOutputType(CategoryAssetOutput{}) + pulumi.RegisterOutputType(CategoryAssetArrayOutput{}) + pulumi.RegisterOutputType(CategoryAssetSourceOutput{}) + pulumi.RegisterOutputType(CategoryAssetSourceArrayOutput{}) + pulumi.RegisterOutputType(CategoryAssetSourceDimensionsOutput{}) + pulumi.RegisterOutputType(CategoryAssetSourceDimensionsPtrOutput{}) + pulumi.RegisterOutputType(CategoryCustomOutput{}) + pulumi.RegisterOutputType(CategoryCustomPtrOutput{}) + pulumi.RegisterOutputType(ChannelAddressOutput{}) + pulumi.RegisterOutputType(ChannelAddressPtrOutput{}) + pulumi.RegisterOutputType(ChannelCustomOutput{}) + pulumi.RegisterOutputType(ChannelCustomPtrOutput{}) + pulumi.RegisterOutputType(ChannelGeolocationOutput{}) + pulumi.RegisterOutputType(ChannelGeolocationPtrOutput{}) + pulumi.RegisterOutputType(CustomerGroupCustomOutput{}) + pulumi.RegisterOutputType(CustomerGroupCustomPtrOutput{}) + pulumi.RegisterOutputType(DiscountCodeCustomOutput{}) + pulumi.RegisterOutputType(DiscountCodeCustomPtrOutput{}) + pulumi.RegisterOutputType(ProductDiscountValueOutput{}) + pulumi.RegisterOutputType(ProductDiscountValuePtrOutput{}) + pulumi.RegisterOutputType(ProductDiscountValueMoneyOutput{}) + pulumi.RegisterOutputType(ProductDiscountValueMoneyArrayOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeArrayOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeTypeOutput{}) @@ -3727,8 +6782,12 @@ func init() { pulumi.RegisterOutputType(ProductTypeAttributeTypeElementType2PtrOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeTypeElementType2LocalizedValueOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeTypeElementType2LocalizedValueArrayOutput{}) + pulumi.RegisterOutputType(ProductTypeAttributeTypeElementType2ValueOutput{}) + pulumi.RegisterOutputType(ProductTypeAttributeTypeElementType2ValueArrayOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeTypeLocalizedValueOutput{}) pulumi.RegisterOutputType(ProductTypeAttributeTypeLocalizedValueArrayOutput{}) + pulumi.RegisterOutputType(ProductTypeAttributeTypeValueOutput{}) + pulumi.RegisterOutputType(ProductTypeAttributeTypeValueArrayOutput{}) pulumi.RegisterOutputType(ProjectSettingsCartsOutput{}) pulumi.RegisterOutputType(ProjectSettingsCartsPtrOutput{}) pulumi.RegisterOutputType(ProjectSettingsExternalOauthOutput{}) @@ -3737,6 +6796,8 @@ func init() { pulumi.RegisterOutputType(ProjectSettingsMessagesPtrOutput{}) pulumi.RegisterOutputType(ProjectSettingsShippingRateCartClassificationValueOutput{}) pulumi.RegisterOutputType(ProjectSettingsShippingRateCartClassificationValueArrayOutput{}) + pulumi.RegisterOutputType(ShippingMethodCustomOutput{}) + pulumi.RegisterOutputType(ShippingMethodCustomPtrOutput{}) pulumi.RegisterOutputType(ShippingZoneLocationOutput{}) pulumi.RegisterOutputType(ShippingZoneLocationArrayOutput{}) pulumi.RegisterOutputType(ShippingZoneRateFreeAboveOutput{}) @@ -3746,6 +6807,11 @@ func init() { pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierOutput{}) pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierArrayOutput{}) pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierPriceOutput{}) + pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierPricePtrOutput{}) + pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierPriceFunctionOutput{}) + pulumi.RegisterOutputType(ShippingZoneRateShippingRatePriceTierPriceFunctionPtrOutput{}) + pulumi.RegisterOutputType(StoreCustomOutput{}) + pulumi.RegisterOutputType(StoreCustomPtrOutput{}) pulumi.RegisterOutputType(SubscriptionChangeOutput{}) pulumi.RegisterOutputType(SubscriptionChangeArrayOutput{}) pulumi.RegisterOutputType(SubscriptionDestinationOutput{}) @@ -3763,6 +6829,10 @@ func init() { pulumi.RegisterOutputType(TypeFieldTypeElementType2PtrOutput{}) pulumi.RegisterOutputType(TypeFieldTypeElementType2LocalizedValueOutput{}) pulumi.RegisterOutputType(TypeFieldTypeElementType2LocalizedValueArrayOutput{}) + pulumi.RegisterOutputType(TypeFieldTypeElementType2ValueOutput{}) + pulumi.RegisterOutputType(TypeFieldTypeElementType2ValueArrayOutput{}) pulumi.RegisterOutputType(TypeFieldTypeLocalizedValueOutput{}) pulumi.RegisterOutputType(TypeFieldTypeLocalizedValueArrayOutput{}) + pulumi.RegisterOutputType(TypeFieldTypeValueOutput{}) + pulumi.RegisterOutputType(TypeFieldTypeValueArrayOutput{}) } diff --git a/sdk/go/commercetools/pulumiUtilities.go b/sdk/go/commercetools/pulumiUtilities.go deleted file mode 100644 index 82a29d9..0000000 --- a/sdk/go/commercetools/pulumiUtilities.go +++ /dev/null @@ -1,77 +0,0 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** - -package commercetools - -import ( - "fmt" - "os" - "reflect" - "regexp" - "strconv" - "strings" - - "github.com/blang/semver" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type envParser func(v string) interface{} - -func parseEnvBool(v string) interface{} { - b, err := strconv.ParseBool(v) - if err != nil { - return nil - } - return b -} - -func parseEnvInt(v string) interface{} { - i, err := strconv.ParseInt(v, 0, 0) - if err != nil { - return nil - } - return int(i) -} - -func parseEnvFloat(v string) interface{} { - f, err := strconv.ParseFloat(v, 64) - if err != nil { - return nil - } - return f -} - -func parseEnvStringArray(v string) interface{} { - var result pulumi.StringArray - for _, item := range strings.Split(v, ";") { - result = append(result, pulumi.String(item)) - } - return result -} - -func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { - for _, v := range vars { - if value := os.Getenv(v); value != "" { - if parser != nil { - return parser(value) - } - return value - } - } - return def -} - -// PkgVersion uses reflection to determine the version of the current package. -func PkgVersion() (semver.Version, error) { - type sentinal struct{} - pkgPath := reflect.TypeOf(sentinal{}).PkgPath() - re := regexp.MustCompile("^.*/pulumi-commercetools/sdk(/v\\d+)?") - if match := re.FindStringSubmatch(pkgPath); match != nil { - vStr := match[1] - if len(vStr) == 0 { // If the version capture group was empty, default to v1. - return semver.Version{Major: 1}, nil - } - return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil - } - return semver.Version{}, fmt.Errorf("failed to determine the package version from %s", pkgPath) -} diff --git a/sdk/go/commercetools/shippingMethod.go b/sdk/go/commercetools/shippingMethod.go index 8423558..30dffff 100644 --- a/sdk/go/commercetools/shippingMethod.go +++ b/sdk/go/commercetools/shippingMethod.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,34 +7,41 @@ import ( "context" "reflect" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) type ShippingMethod struct { pulumi.CustomResourceState - Description pulumi.StringPtrOutput `pulumi:"description"` + Custom ShippingMethodCustomPtrOutput `pulumi:"custom"` + Description pulumi.StringPtrOutput `pulumi:"description"` // One shipping method in a project can be default IsDefault pulumi.BoolPtrOutput `pulumi:"isDefault"` // User-specific unique identifier for the shipping method Key pulumi.StringPtrOutput `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + // [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) LocalizedDescription pulumi.MapOutput `pulumi:"localizedDescription"` Name pulumi.StringOutput `pulumi:"name"` // A Cart predicate which can be used to more precisely select a shipping method for a cart Predicate pulumi.StringPtrOutput `pulumi:"predicate"` - // ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) - TaxCategoryId pulumi.StringPtrOutput `pulumi:"taxCategoryId"` - Version pulumi.IntOutput `pulumi:"version"` + // ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) + TaxCategoryId pulumi.StringOutput `pulumi:"taxCategoryId"` + Version pulumi.IntOutput `pulumi:"version"` } // NewShippingMethod registers a new resource with the given unique name, arguments, and options. func NewShippingMethod(ctx *pulumi.Context, name string, args *ShippingMethodArgs, opts ...pulumi.ResourceOption) (*ShippingMethod, error) { if args == nil { - args = &ShippingMethodArgs{} + return nil, errors.New("missing one or more required arguments") } + if args.TaxCategoryId == nil { + return nil, errors.New("invalid value for required argument 'TaxCategoryId'") + } + opts = internal.PkgResourceDefaultOpts(opts) var resource ShippingMethod err := ctx.RegisterResource("commercetools:index/shippingMethod:ShippingMethod", name, args, &resource, opts...) if err != nil { @@ -57,33 +64,35 @@ func GetShippingMethod(ctx *pulumi.Context, // Input properties used for looking up and filtering ShippingMethod resources. type shippingMethodState struct { - Description *string `pulumi:"description"` + Custom *ShippingMethodCustom `pulumi:"custom"` + Description *string `pulumi:"description"` // One shipping method in a project can be default IsDefault *bool `pulumi:"isDefault"` // User-specific unique identifier for the shipping method Key *string `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + // [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) LocalizedDescription map[string]interface{} `pulumi:"localizedDescription"` Name *string `pulumi:"name"` // A Cart predicate which can be used to more precisely select a shipping method for a cart Predicate *string `pulumi:"predicate"` - // ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + // ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) TaxCategoryId *string `pulumi:"taxCategoryId"` Version *int `pulumi:"version"` } type ShippingMethodState struct { + Custom ShippingMethodCustomPtrInput Description pulumi.StringPtrInput // One shipping method in a project can be default IsDefault pulumi.BoolPtrInput // User-specific unique identifier for the shipping method Key pulumi.StringPtrInput - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + // [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) LocalizedDescription pulumi.MapInput Name pulumi.StringPtrInput // A Cart predicate which can be used to more precisely select a shipping method for a cart Predicate pulumi.StringPtrInput - // ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + // ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) TaxCategoryId pulumi.StringPtrInput Version pulumi.IntPtrInput } @@ -93,34 +102,36 @@ func (ShippingMethodState) ElementType() reflect.Type { } type shippingMethodArgs struct { - Description *string `pulumi:"description"` + Custom *ShippingMethodCustom `pulumi:"custom"` + Description *string `pulumi:"description"` // One shipping method in a project can be default IsDefault *bool `pulumi:"isDefault"` // User-specific unique identifier for the shipping method Key *string `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + // [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) LocalizedDescription map[string]interface{} `pulumi:"localizedDescription"` Name *string `pulumi:"name"` // A Cart predicate which can be used to more precisely select a shipping method for a cart Predicate *string `pulumi:"predicate"` - // ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) - TaxCategoryId *string `pulumi:"taxCategoryId"` + // ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) + TaxCategoryId string `pulumi:"taxCategoryId"` } // The set of arguments for constructing a ShippingMethod resource. type ShippingMethodArgs struct { + Custom ShippingMethodCustomPtrInput Description pulumi.StringPtrInput // One shipping method in a project can be default IsDefault pulumi.BoolPtrInput // User-specific unique identifier for the shipping method Key pulumi.StringPtrInput - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + // [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) LocalizedDescription pulumi.MapInput Name pulumi.StringPtrInput // A Cart predicate which can be used to more precisely select a shipping method for a cart Predicate pulumi.StringPtrInput - // ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) - TaxCategoryId pulumi.StringPtrInput + // ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) + TaxCategoryId pulumi.StringInput } func (ShippingMethodArgs) ElementType() reflect.Type { @@ -135,7 +146,7 @@ type ShippingMethodInput interface { } func (*ShippingMethod) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingMethod)(nil)) + return reflect.TypeOf((**ShippingMethod)(nil)).Elem() } func (i *ShippingMethod) ToShippingMethodOutput() ShippingMethodOutput { @@ -146,39 +157,10 @@ func (i *ShippingMethod) ToShippingMethodOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodOutput) } -func (i *ShippingMethod) ToShippingMethodPtrOutput() ShippingMethodPtrOutput { - return i.ToShippingMethodPtrOutputWithContext(context.Background()) -} - -func (i *ShippingMethod) ToShippingMethodPtrOutputWithContext(ctx context.Context) ShippingMethodPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodPtrOutput) -} - -type ShippingMethodPtrInput interface { - pulumi.Input - - ToShippingMethodPtrOutput() ShippingMethodPtrOutput - ToShippingMethodPtrOutputWithContext(ctx context.Context) ShippingMethodPtrOutput -} - -type shippingMethodPtrType ShippingMethodArgs - -func (*shippingMethodPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingMethod)(nil)) -} - -func (i *shippingMethodPtrType) ToShippingMethodPtrOutput() ShippingMethodPtrOutput { - return i.ToShippingMethodPtrOutputWithContext(context.Background()) -} - -func (i *shippingMethodPtrType) ToShippingMethodPtrOutputWithContext(ctx context.Context) ShippingMethodPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodPtrOutput) -} - // ShippingMethodArrayInput is an input type that accepts ShippingMethodArray and ShippingMethodArrayOutput values. // You can construct a concrete instance of `ShippingMethodArrayInput` via: // -// ShippingMethodArray{ ShippingMethodArgs{...} } +// ShippingMethodArray{ ShippingMethodArgs{...} } type ShippingMethodArrayInput interface { pulumi.Input @@ -189,7 +171,7 @@ type ShippingMethodArrayInput interface { type ShippingMethodArray []ShippingMethodInput func (ShippingMethodArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ShippingMethod)(nil)) + return reflect.TypeOf((*[]*ShippingMethod)(nil)).Elem() } func (i ShippingMethodArray) ToShippingMethodArrayOutput() ShippingMethodArrayOutput { @@ -203,7 +185,7 @@ func (i ShippingMethodArray) ToShippingMethodArrayOutputWithContext(ctx context. // ShippingMethodMapInput is an input type that accepts ShippingMethodMap and ShippingMethodMapOutput values. // You can construct a concrete instance of `ShippingMethodMapInput` via: // -// ShippingMethodMap{ "key": ShippingMethodArgs{...} } +// ShippingMethodMap{ "key": ShippingMethodArgs{...} } type ShippingMethodMapInput interface { pulumi.Input @@ -214,7 +196,7 @@ type ShippingMethodMapInput interface { type ShippingMethodMap map[string]ShippingMethodInput func (ShippingMethodMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ShippingMethod)(nil)) + return reflect.TypeOf((*map[string]*ShippingMethod)(nil)).Elem() } func (i ShippingMethodMap) ToShippingMethodMapOutput() ShippingMethodMapOutput { @@ -225,12 +207,10 @@ func (i ShippingMethodMap) ToShippingMethodMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(ShippingMethodMapOutput) } -type ShippingMethodOutput struct { - *pulumi.OutputState -} +type ShippingMethodOutput struct{ *pulumi.OutputState } func (ShippingMethodOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingMethod)(nil)) + return reflect.TypeOf((**ShippingMethod)(nil)).Elem() } func (o ShippingMethodOutput) ToShippingMethodOutput() ShippingMethodOutput { @@ -241,36 +221,51 @@ func (o ShippingMethodOutput) ToShippingMethodOutputWithContext(ctx context.Cont return o } -func (o ShippingMethodOutput) ToShippingMethodPtrOutput() ShippingMethodPtrOutput { - return o.ToShippingMethodPtrOutputWithContext(context.Background()) +func (o ShippingMethodOutput) Custom() ShippingMethodCustomPtrOutput { + return o.ApplyT(func(v *ShippingMethod) ShippingMethodCustomPtrOutput { return v.Custom }).(ShippingMethodCustomPtrOutput) } -func (o ShippingMethodOutput) ToShippingMethodPtrOutputWithContext(ctx context.Context) ShippingMethodPtrOutput { - return o.ApplyT(func(v ShippingMethod) *ShippingMethod { - return &v - }).(ShippingMethodPtrOutput) +func (o ShippingMethodOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -type ShippingMethodPtrOutput struct { - *pulumi.OutputState +// One shipping method in a project can be default +func (o ShippingMethodOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.BoolPtrOutput { return v.IsDefault }).(pulumi.BoolPtrOutput) } -func (ShippingMethodPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingMethod)(nil)) +// User-specific unique identifier for the shipping method +func (o ShippingMethodOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -func (o ShippingMethodPtrOutput) ToShippingMethodPtrOutput() ShippingMethodPtrOutput { - return o +// [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) +func (o ShippingMethodOutput) LocalizedDescription() pulumi.MapOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.MapOutput { return v.LocalizedDescription }).(pulumi.MapOutput) } -func (o ShippingMethodPtrOutput) ToShippingMethodPtrOutputWithContext(ctx context.Context) ShippingMethodPtrOutput { - return o +func (o ShippingMethodOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// A Cart predicate which can be used to more precisely select a shipping method for a cart +func (o ShippingMethodOutput) Predicate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.StringPtrOutput { return v.Predicate }).(pulumi.StringPtrOutput) +} + +// ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) +func (o ShippingMethodOutput) TaxCategoryId() pulumi.StringOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.StringOutput { return v.TaxCategoryId }).(pulumi.StringOutput) +} + +func (o ShippingMethodOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ShippingMethod) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ShippingMethodArrayOutput struct{ *pulumi.OutputState } func (ShippingMethodArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingMethod)(nil)) + return reflect.TypeOf((*[]*ShippingMethod)(nil)).Elem() } func (o ShippingMethodArrayOutput) ToShippingMethodArrayOutput() ShippingMethodArrayOutput { @@ -282,15 +277,15 @@ func (o ShippingMethodArrayOutput) ToShippingMethodArrayOutputWithContext(ctx co } func (o ShippingMethodArrayOutput) Index(i pulumi.IntInput) ShippingMethodOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingMethod { - return vs[0].([]ShippingMethod)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ShippingMethod { + return vs[0].([]*ShippingMethod)[vs[1].(int)] }).(ShippingMethodOutput) } type ShippingMethodMapOutput struct{ *pulumi.OutputState } func (ShippingMethodMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ShippingMethod)(nil)) + return reflect.TypeOf((*map[string]*ShippingMethod)(nil)).Elem() } func (o ShippingMethodMapOutput) ToShippingMethodMapOutput() ShippingMethodMapOutput { @@ -302,14 +297,16 @@ func (o ShippingMethodMapOutput) ToShippingMethodMapOutputWithContext(ctx contex } func (o ShippingMethodMapOutput) MapIndex(k pulumi.StringInput) ShippingMethodOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ShippingMethod { - return vs[0].(map[string]ShippingMethod)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ShippingMethod { + return vs[0].(map[string]*ShippingMethod)[vs[1].(string)] }).(ShippingMethodOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ShippingMethodInput)(nil)).Elem(), &ShippingMethod{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingMethodArrayInput)(nil)).Elem(), ShippingMethodArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingMethodMapInput)(nil)).Elem(), ShippingMethodMap{}) pulumi.RegisterOutputType(ShippingMethodOutput{}) - pulumi.RegisterOutputType(ShippingMethodPtrOutput{}) pulumi.RegisterOutputType(ShippingMethodArrayOutput{}) pulumi.RegisterOutputType(ShippingMethodMapOutput{}) } diff --git a/sdk/go/commercetools/shippingZone.go b/sdk/go/commercetools/shippingZone.go index 477b956..f380d5e 100644 --- a/sdk/go/commercetools/shippingZone.go +++ b/sdk/go/commercetools/shippingZone.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -16,7 +17,7 @@ type ShippingZone struct { Description pulumi.StringPtrOutput `pulumi:"description"` // User-specific unique identifier for a zone. Must be unique across a project Key pulumi.StringPtrOutput `pulumi:"key"` - // [Location](https://docs.commercetools.com/api/projects/zones#location) + // [Location](https://docs.commercetoolstools.pi/projects/zones#location) Locations ShippingZoneLocationArrayOutput `pulumi:"locations"` Name pulumi.StringOutput `pulumi:"name"` Version pulumi.IntOutput `pulumi:"version"` @@ -29,6 +30,7 @@ func NewShippingZone(ctx *pulumi.Context, args = &ShippingZoneArgs{} } + opts = internal.PkgResourceDefaultOpts(opts) var resource ShippingZone err := ctx.RegisterResource("commercetools:index/shippingZone:ShippingZone", name, args, &resource, opts...) if err != nil { @@ -54,7 +56,7 @@ type shippingZoneState struct { Description *string `pulumi:"description"` // User-specific unique identifier for a zone. Must be unique across a project Key *string `pulumi:"key"` - // [Location](https://docs.commercetools.com/api/projects/zones#location) + // [Location](https://docs.commercetoolstools.pi/projects/zones#location) Locations []ShippingZoneLocation `pulumi:"locations"` Name *string `pulumi:"name"` Version *int `pulumi:"version"` @@ -64,7 +66,7 @@ type ShippingZoneState struct { Description pulumi.StringPtrInput // User-specific unique identifier for a zone. Must be unique across a project Key pulumi.StringPtrInput - // [Location](https://docs.commercetools.com/api/projects/zones#location) + // [Location](https://docs.commercetoolstools.pi/projects/zones#location) Locations ShippingZoneLocationArrayInput Name pulumi.StringPtrInput Version pulumi.IntPtrInput @@ -78,7 +80,7 @@ type shippingZoneArgs struct { Description *string `pulumi:"description"` // User-specific unique identifier for a zone. Must be unique across a project Key *string `pulumi:"key"` - // [Location](https://docs.commercetools.com/api/projects/zones#location) + // [Location](https://docs.commercetoolstools.pi/projects/zones#location) Locations []ShippingZoneLocation `pulumi:"locations"` Name *string `pulumi:"name"` } @@ -88,7 +90,7 @@ type ShippingZoneArgs struct { Description pulumi.StringPtrInput // User-specific unique identifier for a zone. Must be unique across a project Key pulumi.StringPtrInput - // [Location](https://docs.commercetools.com/api/projects/zones#location) + // [Location](https://docs.commercetoolstools.pi/projects/zones#location) Locations ShippingZoneLocationArrayInput Name pulumi.StringPtrInput } @@ -105,7 +107,7 @@ type ShippingZoneInput interface { } func (*ShippingZone) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZone)(nil)) + return reflect.TypeOf((**ShippingZone)(nil)).Elem() } func (i *ShippingZone) ToShippingZoneOutput() ShippingZoneOutput { @@ -116,39 +118,10 @@ func (i *ShippingZone) ToShippingZoneOutputWithContext(ctx context.Context) Ship return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneOutput) } -func (i *ShippingZone) ToShippingZonePtrOutput() ShippingZonePtrOutput { - return i.ToShippingZonePtrOutputWithContext(context.Background()) -} - -func (i *ShippingZone) ToShippingZonePtrOutputWithContext(ctx context.Context) ShippingZonePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZonePtrOutput) -} - -type ShippingZonePtrInput interface { - pulumi.Input - - ToShippingZonePtrOutput() ShippingZonePtrOutput - ToShippingZonePtrOutputWithContext(ctx context.Context) ShippingZonePtrOutput -} - -type shippingZonePtrType ShippingZoneArgs - -func (*shippingZonePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZone)(nil)) -} - -func (i *shippingZonePtrType) ToShippingZonePtrOutput() ShippingZonePtrOutput { - return i.ToShippingZonePtrOutputWithContext(context.Background()) -} - -func (i *shippingZonePtrType) ToShippingZonePtrOutputWithContext(ctx context.Context) ShippingZonePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZonePtrOutput) -} - // ShippingZoneArrayInput is an input type that accepts ShippingZoneArray and ShippingZoneArrayOutput values. // You can construct a concrete instance of `ShippingZoneArrayInput` via: // -// ShippingZoneArray{ ShippingZoneArgs{...} } +// ShippingZoneArray{ ShippingZoneArgs{...} } type ShippingZoneArrayInput interface { pulumi.Input @@ -159,7 +132,7 @@ type ShippingZoneArrayInput interface { type ShippingZoneArray []ShippingZoneInput func (ShippingZoneArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ShippingZone)(nil)) + return reflect.TypeOf((*[]*ShippingZone)(nil)).Elem() } func (i ShippingZoneArray) ToShippingZoneArrayOutput() ShippingZoneArrayOutput { @@ -173,7 +146,7 @@ func (i ShippingZoneArray) ToShippingZoneArrayOutputWithContext(ctx context.Cont // ShippingZoneMapInput is an input type that accepts ShippingZoneMap and ShippingZoneMapOutput values. // You can construct a concrete instance of `ShippingZoneMapInput` via: // -// ShippingZoneMap{ "key": ShippingZoneArgs{...} } +// ShippingZoneMap{ "key": ShippingZoneArgs{...} } type ShippingZoneMapInput interface { pulumi.Input @@ -184,7 +157,7 @@ type ShippingZoneMapInput interface { type ShippingZoneMap map[string]ShippingZoneInput func (ShippingZoneMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ShippingZone)(nil)) + return reflect.TypeOf((*map[string]*ShippingZone)(nil)).Elem() } func (i ShippingZoneMap) ToShippingZoneMapOutput() ShippingZoneMapOutput { @@ -195,12 +168,10 @@ func (i ShippingZoneMap) ToShippingZoneMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneMapOutput) } -type ShippingZoneOutput struct { - *pulumi.OutputState -} +type ShippingZoneOutput struct{ *pulumi.OutputState } func (ShippingZoneOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZone)(nil)) + return reflect.TypeOf((**ShippingZone)(nil)).Elem() } func (o ShippingZoneOutput) ToShippingZoneOutput() ShippingZoneOutput { @@ -211,36 +182,32 @@ func (o ShippingZoneOutput) ToShippingZoneOutputWithContext(ctx context.Context) return o } -func (o ShippingZoneOutput) ToShippingZonePtrOutput() ShippingZonePtrOutput { - return o.ToShippingZonePtrOutputWithContext(context.Background()) +func (o ShippingZoneOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZone) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -func (o ShippingZoneOutput) ToShippingZonePtrOutputWithContext(ctx context.Context) ShippingZonePtrOutput { - return o.ApplyT(func(v ShippingZone) *ShippingZone { - return &v - }).(ShippingZonePtrOutput) +// User-specific unique identifier for a zone. Must be unique across a project +func (o ShippingZoneOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ShippingZone) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -type ShippingZonePtrOutput struct { - *pulumi.OutputState +// [Location](https://docs.commercetoolstools.pi/projects/zones#location) +func (o ShippingZoneOutput) Locations() ShippingZoneLocationArrayOutput { + return o.ApplyT(func(v *ShippingZone) ShippingZoneLocationArrayOutput { return v.Locations }).(ShippingZoneLocationArrayOutput) } -func (ShippingZonePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZone)(nil)) +func (o ShippingZoneOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ShippingZone) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -func (o ShippingZonePtrOutput) ToShippingZonePtrOutput() ShippingZonePtrOutput { - return o -} - -func (o ShippingZonePtrOutput) ToShippingZonePtrOutputWithContext(ctx context.Context) ShippingZonePtrOutput { - return o +func (o ShippingZoneOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *ShippingZone) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type ShippingZoneArrayOutput struct{ *pulumi.OutputState } func (ShippingZoneArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZone)(nil)) + return reflect.TypeOf((*[]*ShippingZone)(nil)).Elem() } func (o ShippingZoneArrayOutput) ToShippingZoneArrayOutput() ShippingZoneArrayOutput { @@ -252,15 +219,15 @@ func (o ShippingZoneArrayOutput) ToShippingZoneArrayOutputWithContext(ctx contex } func (o ShippingZoneArrayOutput) Index(i pulumi.IntInput) ShippingZoneOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZone { - return vs[0].([]ShippingZone)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ShippingZone { + return vs[0].([]*ShippingZone)[vs[1].(int)] }).(ShippingZoneOutput) } type ShippingZoneMapOutput struct{ *pulumi.OutputState } func (ShippingZoneMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ShippingZone)(nil)) + return reflect.TypeOf((*map[string]*ShippingZone)(nil)).Elem() } func (o ShippingZoneMapOutput) ToShippingZoneMapOutput() ShippingZoneMapOutput { @@ -272,14 +239,16 @@ func (o ShippingZoneMapOutput) ToShippingZoneMapOutputWithContext(ctx context.Co } func (o ShippingZoneMapOutput) MapIndex(k pulumi.StringInput) ShippingZoneOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ShippingZone { - return vs[0].(map[string]ShippingZone)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ShippingZone { + return vs[0].(map[string]*ShippingZone)[vs[1].(string)] }).(ShippingZoneOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneInput)(nil)).Elem(), &ShippingZone{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneArrayInput)(nil)).Elem(), ShippingZoneArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneMapInput)(nil)).Elem(), ShippingZoneMap{}) pulumi.RegisterOutputType(ShippingZoneOutput{}) - pulumi.RegisterOutputType(ShippingZonePtrOutput{}) pulumi.RegisterOutputType(ShippingZoneArrayOutput{}) pulumi.RegisterOutputType(ShippingZoneMapOutput{}) } diff --git a/sdk/go/commercetools/shippingZoneRate.go b/sdk/go/commercetools/shippingZoneRate.go index f7ddccb..c771d2a 100644 --- a/sdk/go/commercetools/shippingZoneRate.go +++ b/sdk/go/commercetools/shippingZoneRate.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -41,6 +42,7 @@ func NewShippingZoneRate(ctx *pulumi.Context, if args.ShippingZoneId == nil { return nil, errors.New("invalid value for required argument 'ShippingZoneId'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource ShippingZoneRate err := ctx.RegisterResource("commercetools:index/shippingZoneRate:ShippingZoneRate", name, args, &resource, opts...) if err != nil { @@ -127,7 +129,7 @@ type ShippingZoneRateInput interface { } func (*ShippingZoneRate) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRate)(nil)) + return reflect.TypeOf((**ShippingZoneRate)(nil)).Elem() } func (i *ShippingZoneRate) ToShippingZoneRateOutput() ShippingZoneRateOutput { @@ -138,39 +140,10 @@ func (i *ShippingZoneRate) ToShippingZoneRateOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateOutput) } -func (i *ShippingZoneRate) ToShippingZoneRatePtrOutput() ShippingZoneRatePtrOutput { - return i.ToShippingZoneRatePtrOutputWithContext(context.Background()) -} - -func (i *ShippingZoneRate) ToShippingZoneRatePtrOutputWithContext(ctx context.Context) ShippingZoneRatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePtrOutput) -} - -type ShippingZoneRatePtrInput interface { - pulumi.Input - - ToShippingZoneRatePtrOutput() ShippingZoneRatePtrOutput - ToShippingZoneRatePtrOutputWithContext(ctx context.Context) ShippingZoneRatePtrOutput -} - -type shippingZoneRatePtrType ShippingZoneRateArgs - -func (*shippingZoneRatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRate)(nil)) -} - -func (i *shippingZoneRatePtrType) ToShippingZoneRatePtrOutput() ShippingZoneRatePtrOutput { - return i.ToShippingZoneRatePtrOutputWithContext(context.Background()) -} - -func (i *shippingZoneRatePtrType) ToShippingZoneRatePtrOutputWithContext(ctx context.Context) ShippingZoneRatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRatePtrOutput) -} - // ShippingZoneRateArrayInput is an input type that accepts ShippingZoneRateArray and ShippingZoneRateArrayOutput values. // You can construct a concrete instance of `ShippingZoneRateArrayInput` via: // -// ShippingZoneRateArray{ ShippingZoneRateArgs{...} } +// ShippingZoneRateArray{ ShippingZoneRateArgs{...} } type ShippingZoneRateArrayInput interface { pulumi.Input @@ -181,7 +154,7 @@ type ShippingZoneRateArrayInput interface { type ShippingZoneRateArray []ShippingZoneRateInput func (ShippingZoneRateArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*ShippingZoneRate)(nil)) + return reflect.TypeOf((*[]*ShippingZoneRate)(nil)).Elem() } func (i ShippingZoneRateArray) ToShippingZoneRateArrayOutput() ShippingZoneRateArrayOutput { @@ -195,7 +168,7 @@ func (i ShippingZoneRateArray) ToShippingZoneRateArrayOutputWithContext(ctx cont // ShippingZoneRateMapInput is an input type that accepts ShippingZoneRateMap and ShippingZoneRateMapOutput values. // You can construct a concrete instance of `ShippingZoneRateMapInput` via: // -// ShippingZoneRateMap{ "key": ShippingZoneRateArgs{...} } +// ShippingZoneRateMap{ "key": ShippingZoneRateArgs{...} } type ShippingZoneRateMapInput interface { pulumi.Input @@ -206,7 +179,7 @@ type ShippingZoneRateMapInput interface { type ShippingZoneRateMap map[string]ShippingZoneRateInput func (ShippingZoneRateMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*ShippingZoneRate)(nil)) + return reflect.TypeOf((*map[string]*ShippingZoneRate)(nil)).Elem() } func (i ShippingZoneRateMap) ToShippingZoneRateMapOutput() ShippingZoneRateMapOutput { @@ -217,12 +190,10 @@ func (i ShippingZoneRateMap) ToShippingZoneRateMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ShippingZoneRateMapOutput) } -type ShippingZoneRateOutput struct { - *pulumi.OutputState -} +type ShippingZoneRateOutput struct{ *pulumi.OutputState } func (ShippingZoneRateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShippingZoneRate)(nil)) + return reflect.TypeOf((**ShippingZoneRate)(nil)).Elem() } func (o ShippingZoneRateOutput) ToShippingZoneRateOutput() ShippingZoneRateOutput { @@ -233,36 +204,36 @@ func (o ShippingZoneRateOutput) ToShippingZoneRateOutputWithContext(ctx context. return o } -func (o ShippingZoneRateOutput) ToShippingZoneRatePtrOutput() ShippingZoneRatePtrOutput { - return o.ToShippingZoneRatePtrOutputWithContext(context.Background()) +// The shipping is free if the sum of the (custom) line item prices reaches the freeAbove value +func (o ShippingZoneRateOutput) FreeAbove() ShippingZoneRateFreeAbovePtrOutput { + return o.ApplyT(func(v *ShippingZoneRate) ShippingZoneRateFreeAbovePtrOutput { return v.FreeAbove }).(ShippingZoneRateFreeAbovePtrOutput) } -func (o ShippingZoneRateOutput) ToShippingZoneRatePtrOutputWithContext(ctx context.Context) ShippingZoneRatePtrOutput { - return o.ApplyT(func(v ShippingZoneRate) *ShippingZoneRate { - return &v - }).(ShippingZoneRatePtrOutput) +func (o ShippingZoneRateOutput) Price() ShippingZoneRatePriceOutput { + return o.ApplyT(func(v *ShippingZoneRate) ShippingZoneRatePriceOutput { return v.Price }).(ShippingZoneRatePriceOutput) } -type ShippingZoneRatePtrOutput struct { - *pulumi.OutputState +func (o ShippingZoneRateOutput) ShippingMethodId() pulumi.StringOutput { + return o.ApplyT(func(v *ShippingZoneRate) pulumi.StringOutput { return v.ShippingMethodId }).(pulumi.StringOutput) } -func (ShippingZoneRatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShippingZoneRate)(nil)) +// A price tier is selected instead of the default price when a certain threshold or specific cart value is reached. If no +// tiered price is suitable for the cart, the base price of the shipping rate is used . See also [Shipping Rate Price Tier +// API Docs](https://docs.commercetools.com/api/projects/shippingMethods#shippingratepricetier) +func (o ShippingZoneRateOutput) ShippingRatePriceTiers() ShippingZoneRateShippingRatePriceTierArrayOutput { + return o.ApplyT(func(v *ShippingZoneRate) ShippingZoneRateShippingRatePriceTierArrayOutput { + return v.ShippingRatePriceTiers + }).(ShippingZoneRateShippingRatePriceTierArrayOutput) } -func (o ShippingZoneRatePtrOutput) ToShippingZoneRatePtrOutput() ShippingZoneRatePtrOutput { - return o -} - -func (o ShippingZoneRatePtrOutput) ToShippingZoneRatePtrOutputWithContext(ctx context.Context) ShippingZoneRatePtrOutput { - return o +func (o ShippingZoneRateOutput) ShippingZoneId() pulumi.StringOutput { + return o.ApplyT(func(v *ShippingZoneRate) pulumi.StringOutput { return v.ShippingZoneId }).(pulumi.StringOutput) } type ShippingZoneRateArrayOutput struct{ *pulumi.OutputState } func (ShippingZoneRateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShippingZoneRate)(nil)) + return reflect.TypeOf((*[]*ShippingZoneRate)(nil)).Elem() } func (o ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutput() ShippingZoneRateArrayOutput { @@ -274,15 +245,15 @@ func (o ShippingZoneRateArrayOutput) ToShippingZoneRateArrayOutputWithContext(ct } func (o ShippingZoneRateArrayOutput) Index(i pulumi.IntInput) ShippingZoneRateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShippingZoneRate { - return vs[0].([]ShippingZoneRate)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ShippingZoneRate { + return vs[0].([]*ShippingZoneRate)[vs[1].(int)] }).(ShippingZoneRateOutput) } type ShippingZoneRateMapOutput struct{ *pulumi.OutputState } func (ShippingZoneRateMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]ShippingZoneRate)(nil)) + return reflect.TypeOf((*map[string]*ShippingZoneRate)(nil)).Elem() } func (o ShippingZoneRateMapOutput) ToShippingZoneRateMapOutput() ShippingZoneRateMapOutput { @@ -294,14 +265,16 @@ func (o ShippingZoneRateMapOutput) ToShippingZoneRateMapOutputWithContext(ctx co } func (o ShippingZoneRateMapOutput) MapIndex(k pulumi.StringInput) ShippingZoneRateOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) ShippingZoneRate { - return vs[0].(map[string]ShippingZoneRate)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ShippingZoneRate { + return vs[0].(map[string]*ShippingZoneRate)[vs[1].(string)] }).(ShippingZoneRateOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateInput)(nil)).Elem(), &ShippingZoneRate{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateArrayInput)(nil)).Elem(), ShippingZoneRateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ShippingZoneRateMapInput)(nil)).Elem(), ShippingZoneRateMap{}) pulumi.RegisterOutputType(ShippingZoneRateOutput{}) - pulumi.RegisterOutputType(ShippingZoneRatePtrOutput{}) pulumi.RegisterOutputType(ShippingZoneRateArrayOutput{}) pulumi.RegisterOutputType(ShippingZoneRateMapOutput{}) } diff --git a/sdk/go/commercetools/state.go b/sdk/go/commercetools/state.go index 7f3209a..05c1edc 100644 --- a/sdk/go/commercetools/state.go +++ b/sdk/go/commercetools/state.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,30 +7,25 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) type State struct { pulumi.CustomResourceState - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description pulumi.MapOutput `pulumi:"description"` + // Description of the State as localized string. + Description pulumi.StringMapOutput `pulumi:"description"` // A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an // initial state - Initial pulumi.BoolPtrOutput `pulumi:"initial"` - // A unique identifier for the state - Key pulumi.StringOutput `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Name pulumi.MapOutput `pulumi:"name"` - // Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + Initial pulumi.BoolOutput `pulumi:"initial"` + // Timestamp of the last Terraform update of the order. + Key pulumi.StringPtrOutput `pulumi:"key"` + // Name of the State as localized string. + Name pulumi.StringMapOutput `pulumi:"name"` + // [State Role](https://docs.commercetools.com/api/projects/states#staterole) Roles pulumi.StringArrayOutput `pulumi:"roles"` - // Transitions are a way to describe possible transformations of the current state to other states of the same type (for - // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - // performing a transitionState update action, any other state of the same type can be transitioned to - Transitions pulumi.StringArrayOutput `pulumi:"transitions"` // [StateType](https://docs.commercetools.com/api/projects/states#statetype) Type pulumi.StringOutput `pulumi:"type"` Version pulumi.IntOutput `pulumi:"version"` @@ -43,12 +38,10 @@ func NewState(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.Key == nil { - return nil, errors.New("invalid value for required argument 'Key'") - } if args.Type == nil { return nil, errors.New("invalid value for required argument 'Type'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource State err := ctx.RegisterResource("commercetools:index/state:State", name, args, &resource, opts...) if err != nil { @@ -71,46 +64,34 @@ func GetState(ctx *pulumi.Context, // Input properties used for looking up and filtering State resources. type stateState struct { - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description map[string]interface{} `pulumi:"description"` + // Description of the State as localized string. + Description map[string]string `pulumi:"description"` // A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an // initial state Initial *bool `pulumi:"initial"` - // A unique identifier for the state + // Timestamp of the last Terraform update of the order. Key *string `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Name map[string]interface{} `pulumi:"name"` - // Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + // Name of the State as localized string. + Name map[string]string `pulumi:"name"` + // [State Role](https://docs.commercetools.com/api/projects/states#staterole) Roles []string `pulumi:"roles"` - // Transitions are a way to describe possible transformations of the current state to other states of the same type (for - // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - // performing a transitionState update action, any other state of the same type can be transitioned to - Transitions []string `pulumi:"transitions"` // [StateType](https://docs.commercetools.com/api/projects/states#statetype) Type *string `pulumi:"type"` Version *int `pulumi:"version"` } type StateState struct { - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description pulumi.MapInput + // Description of the State as localized string. + Description pulumi.StringMapInput // A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an // initial state Initial pulumi.BoolPtrInput - // A unique identifier for the state + // Timestamp of the last Terraform update of the order. Key pulumi.StringPtrInput - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Name pulumi.MapInput - // Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + // Name of the State as localized string. + Name pulumi.StringMapInput + // [State Role](https://docs.commercetools.com/api/projects/states#staterole) Roles pulumi.StringArrayInput - // Transitions are a way to describe possible transformations of the current state to other states of the same type (for - // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - // performing a transitionState update action, any other state of the same type can be transitioned to - Transitions pulumi.StringArrayInput // [StateType](https://docs.commercetools.com/api/projects/states#statetype) Type pulumi.StringPtrInput Version pulumi.IntPtrInput @@ -121,46 +102,34 @@ func (StateState) ElementType() reflect.Type { } type stateArgs struct { - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description map[string]interface{} `pulumi:"description"` + // Description of the State as localized string. + Description map[string]string `pulumi:"description"` // A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an // initial state Initial *bool `pulumi:"initial"` - // A unique identifier for the state - Key string `pulumi:"key"` - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Name map[string]interface{} `pulumi:"name"` - // Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + // Timestamp of the last Terraform update of the order. + Key *string `pulumi:"key"` + // Name of the State as localized string. + Name map[string]string `pulumi:"name"` + // [State Role](https://docs.commercetools.com/api/projects/states#staterole) Roles []string `pulumi:"roles"` - // Transitions are a way to describe possible transformations of the current state to other states of the same type (for - // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - // performing a transitionState update action, any other state of the same type can be transitioned to - Transitions []string `pulumi:"transitions"` // [StateType](https://docs.commercetools.com/api/projects/states#statetype) Type string `pulumi:"type"` } // The set of arguments for constructing a State resource. type StateArgs struct { - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Description pulumi.MapInput + // Description of the State as localized string. + Description pulumi.StringMapInput // A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an // initial state Initial pulumi.BoolPtrInput - // A unique identifier for the state - Key pulumi.StringInput - // [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - Name pulumi.MapInput - // Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + // Timestamp of the last Terraform update of the order. + Key pulumi.StringPtrInput + // Name of the State as localized string. + Name pulumi.StringMapInput + // [State Role](https://docs.commercetools.com/api/projects/states#staterole) Roles pulumi.StringArrayInput - // Transitions are a way to describe possible transformations of the current state to other states of the same type (for - // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - // performing a transitionState update action, any other state of the same type can be transitioned to - Transitions pulumi.StringArrayInput // [StateType](https://docs.commercetools.com/api/projects/states#statetype) Type pulumi.StringInput } @@ -177,7 +146,7 @@ type StateInput interface { } func (*State) ElementType() reflect.Type { - return reflect.TypeOf((*State)(nil)) + return reflect.TypeOf((**State)(nil)).Elem() } func (i *State) ToStateOutput() StateOutput { @@ -188,39 +157,10 @@ func (i *State) ToStateOutputWithContext(ctx context.Context) StateOutput { return pulumi.ToOutputWithContext(ctx, i).(StateOutput) } -func (i *State) ToStatePtrOutput() StatePtrOutput { - return i.ToStatePtrOutputWithContext(context.Background()) -} - -func (i *State) ToStatePtrOutputWithContext(ctx context.Context) StatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StatePtrOutput) -} - -type StatePtrInput interface { - pulumi.Input - - ToStatePtrOutput() StatePtrOutput - ToStatePtrOutputWithContext(ctx context.Context) StatePtrOutput -} - -type statePtrType StateArgs - -func (*statePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**State)(nil)) -} - -func (i *statePtrType) ToStatePtrOutput() StatePtrOutput { - return i.ToStatePtrOutputWithContext(context.Background()) -} - -func (i *statePtrType) ToStatePtrOutputWithContext(ctx context.Context) StatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StatePtrOutput) -} - // StateArrayInput is an input type that accepts StateArray and StateArrayOutput values. // You can construct a concrete instance of `StateArrayInput` via: // -// StateArray{ StateArgs{...} } +// StateArray{ StateArgs{...} } type StateArrayInput interface { pulumi.Input @@ -231,7 +171,7 @@ type StateArrayInput interface { type StateArray []StateInput func (StateArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*State)(nil)) + return reflect.TypeOf((*[]*State)(nil)).Elem() } func (i StateArray) ToStateArrayOutput() StateArrayOutput { @@ -245,7 +185,7 @@ func (i StateArray) ToStateArrayOutputWithContext(ctx context.Context) StateArra // StateMapInput is an input type that accepts StateMap and StateMapOutput values. // You can construct a concrete instance of `StateMapInput` via: // -// StateMap{ "key": StateArgs{...} } +// StateMap{ "key": StateArgs{...} } type StateMapInput interface { pulumi.Input @@ -256,7 +196,7 @@ type StateMapInput interface { type StateMap map[string]StateInput func (StateMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*State)(nil)) + return reflect.TypeOf((*map[string]*State)(nil)).Elem() } func (i StateMap) ToStateMapOutput() StateMapOutput { @@ -267,12 +207,10 @@ func (i StateMap) ToStateMapOutputWithContext(ctx context.Context) StateMapOutpu return pulumi.ToOutputWithContext(ctx, i).(StateMapOutput) } -type StateOutput struct { - *pulumi.OutputState -} +type StateOutput struct{ *pulumi.OutputState } func (StateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*State)(nil)) + return reflect.TypeOf((**State)(nil)).Elem() } func (o StateOutput) ToStateOutput() StateOutput { @@ -283,36 +221,45 @@ func (o StateOutput) ToStateOutputWithContext(ctx context.Context) StateOutput { return o } -func (o StateOutput) ToStatePtrOutput() StatePtrOutput { - return o.ToStatePtrOutputWithContext(context.Background()) +// Description of the State as localized string. +func (o StateOutput) Description() pulumi.StringMapOutput { + return o.ApplyT(func(v *State) pulumi.StringMapOutput { return v.Description }).(pulumi.StringMapOutput) } -func (o StateOutput) ToStatePtrOutputWithContext(ctx context.Context) StatePtrOutput { - return o.ApplyT(func(v State) *State { - return &v - }).(StatePtrOutput) +// A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an +// initial state +func (o StateOutput) Initial() pulumi.BoolOutput { + return o.ApplyT(func(v *State) pulumi.BoolOutput { return v.Initial }).(pulumi.BoolOutput) } -type StatePtrOutput struct { - *pulumi.OutputState +// Timestamp of the last Terraform update of the order. +func (o StateOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *State) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -func (StatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**State)(nil)) +// Name of the State as localized string. +func (o StateOutput) Name() pulumi.StringMapOutput { + return o.ApplyT(func(v *State) pulumi.StringMapOutput { return v.Name }).(pulumi.StringMapOutput) } -func (o StatePtrOutput) ToStatePtrOutput() StatePtrOutput { - return o +// [State Role](https://docs.commercetools.com/api/projects/states#staterole) +func (o StateOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *State) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) } -func (o StatePtrOutput) ToStatePtrOutputWithContext(ctx context.Context) StatePtrOutput { - return o +// [StateType](https://docs.commercetools.com/api/projects/states#statetype) +func (o StateOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *State) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func (o StateOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *State) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type StateArrayOutput struct{ *pulumi.OutputState } func (StateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]State)(nil)) + return reflect.TypeOf((*[]*State)(nil)).Elem() } func (o StateArrayOutput) ToStateArrayOutput() StateArrayOutput { @@ -324,15 +271,15 @@ func (o StateArrayOutput) ToStateArrayOutputWithContext(ctx context.Context) Sta } func (o StateArrayOutput) Index(i pulumi.IntInput) StateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) State { - return vs[0].([]State)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *State { + return vs[0].([]*State)[vs[1].(int)] }).(StateOutput) } type StateMapOutput struct{ *pulumi.OutputState } func (StateMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]State)(nil)) + return reflect.TypeOf((*map[string]*State)(nil)).Elem() } func (o StateMapOutput) ToStateMapOutput() StateMapOutput { @@ -344,14 +291,16 @@ func (o StateMapOutput) ToStateMapOutputWithContext(ctx context.Context) StateMa } func (o StateMapOutput) MapIndex(k pulumi.StringInput) StateOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) State { - return vs[0].(map[string]State)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *State { + return vs[0].(map[string]*State)[vs[1].(string)] }).(StateOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*StateInput)(nil)).Elem(), &State{}) + pulumi.RegisterInputType(reflect.TypeOf((*StateArrayInput)(nil)).Elem(), StateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*StateMapInput)(nil)).Elem(), StateMap{}) pulumi.RegisterOutputType(StateOutput{}) - pulumi.RegisterOutputType(StatePtrOutput{}) pulumi.RegisterOutputType(StateArrayOutput{}) pulumi.RegisterOutputType(StateMapOutput{}) } diff --git a/sdk/go/commercetools/stateTransitions.go b/sdk/go/commercetools/stateTransitions.go new file mode 100644 index 0000000..faf4ba1 --- /dev/null +++ b/sdk/go/commercetools/stateTransitions.go @@ -0,0 +1,260 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package commercetools + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type StateTransitions struct { + pulumi.CustomResourceState + + // ID of the state to transition from + From pulumi.StringOutput `pulumi:"from"` + // Transitions are a way to describe possible transformations of the current state to other states of the same type (for + // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + // performing a transitionState update action, any other state of the same type can be transitioned to + Tos pulumi.StringArrayOutput `pulumi:"tos"` +} + +// NewStateTransitions registers a new resource with the given unique name, arguments, and options. +func NewStateTransitions(ctx *pulumi.Context, + name string, args *StateTransitionsArgs, opts ...pulumi.ResourceOption) (*StateTransitions, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.From == nil { + return nil, errors.New("invalid value for required argument 'From'") + } + if args.Tos == nil { + return nil, errors.New("invalid value for required argument 'Tos'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource StateTransitions + err := ctx.RegisterResource("commercetools:index/stateTransitions:StateTransitions", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetStateTransitions gets an existing StateTransitions resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetStateTransitions(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *StateTransitionsState, opts ...pulumi.ResourceOption) (*StateTransitions, error) { + var resource StateTransitions + err := ctx.ReadResource("commercetools:index/stateTransitions:StateTransitions", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering StateTransitions resources. +type stateTransitionsState struct { + // ID of the state to transition from + From *string `pulumi:"from"` + // Transitions are a way to describe possible transformations of the current state to other states of the same type (for + // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + // performing a transitionState update action, any other state of the same type can be transitioned to + Tos []string `pulumi:"tos"` +} + +type StateTransitionsState struct { + // ID of the state to transition from + From pulumi.StringPtrInput + // Transitions are a way to describe possible transformations of the current state to other states of the same type (for + // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + // performing a transitionState update action, any other state of the same type can be transitioned to + Tos pulumi.StringArrayInput +} + +func (StateTransitionsState) ElementType() reflect.Type { + return reflect.TypeOf((*stateTransitionsState)(nil)).Elem() +} + +type stateTransitionsArgs struct { + // ID of the state to transition from + From string `pulumi:"from"` + // Transitions are a way to describe possible transformations of the current state to other states of the same type (for + // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + // performing a transitionState update action, any other state of the same type can be transitioned to + Tos []string `pulumi:"tos"` +} + +// The set of arguments for constructing a StateTransitions resource. +type StateTransitionsArgs struct { + // ID of the state to transition from + From pulumi.StringInput + // Transitions are a way to describe possible transformations of the current state to other states of the same type (for + // example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + // referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + // a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + // performing a transitionState update action, any other state of the same type can be transitioned to + Tos pulumi.StringArrayInput +} + +func (StateTransitionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*stateTransitionsArgs)(nil)).Elem() +} + +type StateTransitionsInput interface { + pulumi.Input + + ToStateTransitionsOutput() StateTransitionsOutput + ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput +} + +func (*StateTransitions) ElementType() reflect.Type { + return reflect.TypeOf((**StateTransitions)(nil)).Elem() +} + +func (i *StateTransitions) ToStateTransitionsOutput() StateTransitionsOutput { + return i.ToStateTransitionsOutputWithContext(context.Background()) +} + +func (i *StateTransitions) ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(StateTransitionsOutput) +} + +// StateTransitionsArrayInput is an input type that accepts StateTransitionsArray and StateTransitionsArrayOutput values. +// You can construct a concrete instance of `StateTransitionsArrayInput` via: +// +// StateTransitionsArray{ StateTransitionsArgs{...} } +type StateTransitionsArrayInput interface { + pulumi.Input + + ToStateTransitionsArrayOutput() StateTransitionsArrayOutput + ToStateTransitionsArrayOutputWithContext(context.Context) StateTransitionsArrayOutput +} + +type StateTransitionsArray []StateTransitionsInput + +func (StateTransitionsArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*StateTransitions)(nil)).Elem() +} + +func (i StateTransitionsArray) ToStateTransitionsArrayOutput() StateTransitionsArrayOutput { + return i.ToStateTransitionsArrayOutputWithContext(context.Background()) +} + +func (i StateTransitionsArray) ToStateTransitionsArrayOutputWithContext(ctx context.Context) StateTransitionsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(StateTransitionsArrayOutput) +} + +// StateTransitionsMapInput is an input type that accepts StateTransitionsMap and StateTransitionsMapOutput values. +// You can construct a concrete instance of `StateTransitionsMapInput` via: +// +// StateTransitionsMap{ "key": StateTransitionsArgs{...} } +type StateTransitionsMapInput interface { + pulumi.Input + + ToStateTransitionsMapOutput() StateTransitionsMapOutput + ToStateTransitionsMapOutputWithContext(context.Context) StateTransitionsMapOutput +} + +type StateTransitionsMap map[string]StateTransitionsInput + +func (StateTransitionsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*StateTransitions)(nil)).Elem() +} + +func (i StateTransitionsMap) ToStateTransitionsMapOutput() StateTransitionsMapOutput { + return i.ToStateTransitionsMapOutputWithContext(context.Background()) +} + +func (i StateTransitionsMap) ToStateTransitionsMapOutputWithContext(ctx context.Context) StateTransitionsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(StateTransitionsMapOutput) +} + +type StateTransitionsOutput struct{ *pulumi.OutputState } + +func (StateTransitionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**StateTransitions)(nil)).Elem() +} + +func (o StateTransitionsOutput) ToStateTransitionsOutput() StateTransitionsOutput { + return o +} + +func (o StateTransitionsOutput) ToStateTransitionsOutputWithContext(ctx context.Context) StateTransitionsOutput { + return o +} + +// ID of the state to transition from +func (o StateTransitionsOutput) From() pulumi.StringOutput { + return o.ApplyT(func(v *StateTransitions) pulumi.StringOutput { return v.From }).(pulumi.StringOutput) +} + +// Transitions are a way to describe possible transformations of the current state to other states of the same type (for +// example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently +// referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is +// a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When +// performing a transitionState update action, any other state of the same type can be transitioned to +func (o StateTransitionsOutput) Tos() pulumi.StringArrayOutput { + return o.ApplyT(func(v *StateTransitions) pulumi.StringArrayOutput { return v.Tos }).(pulumi.StringArrayOutput) +} + +type StateTransitionsArrayOutput struct{ *pulumi.OutputState } + +func (StateTransitionsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*StateTransitions)(nil)).Elem() +} + +func (o StateTransitionsArrayOutput) ToStateTransitionsArrayOutput() StateTransitionsArrayOutput { + return o +} + +func (o StateTransitionsArrayOutput) ToStateTransitionsArrayOutputWithContext(ctx context.Context) StateTransitionsArrayOutput { + return o +} + +func (o StateTransitionsArrayOutput) Index(i pulumi.IntInput) StateTransitionsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *StateTransitions { + return vs[0].([]*StateTransitions)[vs[1].(int)] + }).(StateTransitionsOutput) +} + +type StateTransitionsMapOutput struct{ *pulumi.OutputState } + +func (StateTransitionsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*StateTransitions)(nil)).Elem() +} + +func (o StateTransitionsMapOutput) ToStateTransitionsMapOutput() StateTransitionsMapOutput { + return o +} + +func (o StateTransitionsMapOutput) ToStateTransitionsMapOutputWithContext(ctx context.Context) StateTransitionsMapOutput { + return o +} + +func (o StateTransitionsMapOutput) MapIndex(k pulumi.StringInput) StateTransitionsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *StateTransitions { + return vs[0].(map[string]*StateTransitions)[vs[1].(string)] + }).(StateTransitionsOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*StateTransitionsInput)(nil)).Elem(), &StateTransitions{}) + pulumi.RegisterInputType(reflect.TypeOf((*StateTransitionsArrayInput)(nil)).Elem(), StateTransitionsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*StateTransitionsMapInput)(nil)).Elem(), StateTransitionsMap{}) + pulumi.RegisterOutputType(StateTransitionsOutput{}) + pulumi.RegisterOutputType(StateTransitionsArrayOutput{}) + pulumi.RegisterOutputType(StateTransitionsMapOutput{}) +} diff --git a/sdk/go/commercetools/store.go b/sdk/go/commercetools/store.go index 4d812ea..7ba1003 100644 --- a/sdk/go/commercetools/store.go +++ b/sdk/go/commercetools/store.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,13 +7,15 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) type Store struct { pulumi.CustomResourceState + Custom StoreCustomPtrOutput `pulumi:"custom"` // Set of ResourceIdentifier to a Channel with ProductDistribution DistributionChannels pulumi.StringArrayOutput `pulumi:"distributionChannels"` // User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store @@ -37,6 +39,7 @@ func NewStore(ctx *pulumi.Context, if args.Key == nil { return nil, errors.New("invalid value for required argument 'Key'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource Store err := ctx.RegisterResource("commercetools:index/store:Store", name, args, &resource, opts...) if err != nil { @@ -59,6 +62,7 @@ func GetStore(ctx *pulumi.Context, // Input properties used for looking up and filtering Store resources. type storeState struct { + Custom *StoreCustom `pulumi:"custom"` // Set of ResourceIdentifier to a Channel with ProductDistribution DistributionChannels []string `pulumi:"distributionChannels"` // User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store @@ -73,6 +77,7 @@ type storeState struct { } type StoreState struct { + Custom StoreCustomPtrInput // Set of ResourceIdentifier to a Channel with ProductDistribution DistributionChannels pulumi.StringArrayInput // User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store @@ -91,6 +96,7 @@ func (StoreState) ElementType() reflect.Type { } type storeArgs struct { + Custom *StoreCustom `pulumi:"custom"` // Set of ResourceIdentifier to a Channel with ProductDistribution DistributionChannels []string `pulumi:"distributionChannels"` // User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store @@ -105,6 +111,7 @@ type storeArgs struct { // The set of arguments for constructing a Store resource. type StoreArgs struct { + Custom StoreCustomPtrInput // Set of ResourceIdentifier to a Channel with ProductDistribution DistributionChannels pulumi.StringArrayInput // User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store @@ -129,7 +136,7 @@ type StoreInput interface { } func (*Store) ElementType() reflect.Type { - return reflect.TypeOf((*Store)(nil)) + return reflect.TypeOf((**Store)(nil)).Elem() } func (i *Store) ToStoreOutput() StoreOutput { @@ -140,39 +147,10 @@ func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput { return pulumi.ToOutputWithContext(ctx, i).(StoreOutput) } -func (i *Store) ToStorePtrOutput() StorePtrOutput { - return i.ToStorePtrOutputWithContext(context.Background()) -} - -func (i *Store) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorePtrOutput) -} - -type StorePtrInput interface { - pulumi.Input - - ToStorePtrOutput() StorePtrOutput - ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput -} - -type storePtrType StoreArgs - -func (*storePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Store)(nil)) -} - -func (i *storePtrType) ToStorePtrOutput() StorePtrOutput { - return i.ToStorePtrOutputWithContext(context.Background()) -} - -func (i *storePtrType) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(StorePtrOutput) -} - // StoreArrayInput is an input type that accepts StoreArray and StoreArrayOutput values. // You can construct a concrete instance of `StoreArrayInput` via: // -// StoreArray{ StoreArgs{...} } +// StoreArray{ StoreArgs{...} } type StoreArrayInput interface { pulumi.Input @@ -183,7 +161,7 @@ type StoreArrayInput interface { type StoreArray []StoreInput func (StoreArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*Store)(nil)) + return reflect.TypeOf((*[]*Store)(nil)).Elem() } func (i StoreArray) ToStoreArrayOutput() StoreArrayOutput { @@ -197,7 +175,7 @@ func (i StoreArray) ToStoreArrayOutputWithContext(ctx context.Context) StoreArra // StoreMapInput is an input type that accepts StoreMap and StoreMapOutput values. // You can construct a concrete instance of `StoreMapInput` via: // -// StoreMap{ "key": StoreArgs{...} } +// StoreMap{ "key": StoreArgs{...} } type StoreMapInput interface { pulumi.Input @@ -208,7 +186,7 @@ type StoreMapInput interface { type StoreMap map[string]StoreInput func (StoreMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*Store)(nil)) + return reflect.TypeOf((*map[string]*Store)(nil)).Elem() } func (i StoreMap) ToStoreMapOutput() StoreMapOutput { @@ -219,12 +197,10 @@ func (i StoreMap) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutpu return pulumi.ToOutputWithContext(ctx, i).(StoreMapOutput) } -type StoreOutput struct { - *pulumi.OutputState -} +type StoreOutput struct{ *pulumi.OutputState } func (StoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Store)(nil)) + return reflect.TypeOf((**Store)(nil)).Elem() } func (o StoreOutput) ToStoreOutput() StoreOutput { @@ -235,36 +211,43 @@ func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput { return o } -func (o StoreOutput) ToStorePtrOutput() StorePtrOutput { - return o.ToStorePtrOutputWithContext(context.Background()) +func (o StoreOutput) Custom() StoreCustomPtrOutput { + return o.ApplyT(func(v *Store) StoreCustomPtrOutput { return v.Custom }).(StoreCustomPtrOutput) } -func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput { - return o.ApplyT(func(v Store) *Store { - return &v - }).(StorePtrOutput) +// Set of ResourceIdentifier to a Channel with ProductDistribution +func (o StoreOutput) DistributionChannels() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Store) pulumi.StringArrayOutput { return v.DistributionChannels }).(pulumi.StringArrayOutput) } -type StorePtrOutput struct { - *pulumi.OutputState +// User-specific unique identifier for the store. The key is mandatory and immutable. It is used to reference the store +func (o StoreOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *Store) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) } -func (StorePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Store)(nil)) +// [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) +func (o StoreOutput) Languages() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Store) pulumi.StringArrayOutput { return v.Languages }).(pulumi.StringArrayOutput) } -func (o StorePtrOutput) ToStorePtrOutput() StorePtrOutput { - return o +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o StoreOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *Store) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) } -func (o StorePtrOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput { - return o +// Set of ResourceIdentifier of Channels with InventorySupply +func (o StoreOutput) SupplyChannels() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Store) pulumi.StringArrayOutput { return v.SupplyChannels }).(pulumi.StringArrayOutput) +} + +func (o StoreOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Store) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type StoreArrayOutput struct{ *pulumi.OutputState } func (StoreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]Store)(nil)) + return reflect.TypeOf((*[]*Store)(nil)).Elem() } func (o StoreArrayOutput) ToStoreArrayOutput() StoreArrayOutput { @@ -276,15 +259,15 @@ func (o StoreArrayOutput) ToStoreArrayOutputWithContext(ctx context.Context) Sto } func (o StoreArrayOutput) Index(i pulumi.IntInput) StoreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) Store { - return vs[0].([]Store)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Store { + return vs[0].([]*Store)[vs[1].(int)] }).(StoreOutput) } type StoreMapOutput struct{ *pulumi.OutputState } func (StoreMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]Store)(nil)) + return reflect.TypeOf((*map[string]*Store)(nil)).Elem() } func (o StoreMapOutput) ToStoreMapOutput() StoreMapOutput { @@ -296,14 +279,16 @@ func (o StoreMapOutput) ToStoreMapOutputWithContext(ctx context.Context) StoreMa } func (o StoreMapOutput) MapIndex(k pulumi.StringInput) StoreOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) Store { - return vs[0].(map[string]Store)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Store { + return vs[0].(map[string]*Store)[vs[1].(string)] }).(StoreOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*StoreInput)(nil)).Elem(), &Store{}) + pulumi.RegisterInputType(reflect.TypeOf((*StoreArrayInput)(nil)).Elem(), StoreArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*StoreMapInput)(nil)).Elem(), StoreMap{}) pulumi.RegisterOutputType(StoreOutput{}) - pulumi.RegisterOutputType(StorePtrOutput{}) pulumi.RegisterOutputType(StoreArrayOutput{}) pulumi.RegisterOutputType(StoreMapOutput{}) } diff --git a/sdk/go/commercetools/subscription.go b/sdk/go/commercetools/subscription.go index db3a022..98e707d 100644 --- a/sdk/go/commercetools/subscription.go +++ b/sdk/go/commercetools/subscription.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -14,13 +15,11 @@ type Subscription struct { pulumi.CustomResourceState // The change notifications subscribed to - Changes SubscriptionChangeArrayOutput `pulumi:"changes"` - // The Message Queue into which the notifications are to be sentSee also the [Destination API - // Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) + Changes SubscriptionChangeArrayOutput `pulumi:"changes"` Destination SubscriptionDestinationPtrOutput `pulumi:"destination"` // The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered Format SubscriptionFormatPtrOutput `pulumi:"format"` - // User-specific unique identifier for the subscription + // Timestamp of the last Terraform update of the order. Key pulumi.StringPtrOutput `pulumi:"key"` // The messages subscribed to Messages SubscriptionMessageArrayOutput `pulumi:"messages"` @@ -34,6 +33,7 @@ func NewSubscription(ctx *pulumi.Context, args = &SubscriptionArgs{} } + opts = internal.PkgResourceDefaultOpts(opts) var resource Subscription err := ctx.RegisterResource("commercetools:index/subscription:Subscription", name, args, &resource, opts...) if err != nil { @@ -57,13 +57,11 @@ func GetSubscription(ctx *pulumi.Context, // Input properties used for looking up and filtering Subscription resources. type subscriptionState struct { // The change notifications subscribed to - Changes []SubscriptionChange `pulumi:"changes"` - // The Message Queue into which the notifications are to be sentSee also the [Destination API - // Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) + Changes []SubscriptionChange `pulumi:"changes"` Destination *SubscriptionDestination `pulumi:"destination"` // The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered Format *SubscriptionFormat `pulumi:"format"` - // User-specific unique identifier for the subscription + // Timestamp of the last Terraform update of the order. Key *string `pulumi:"key"` // The messages subscribed to Messages []SubscriptionMessage `pulumi:"messages"` @@ -72,13 +70,11 @@ type subscriptionState struct { type SubscriptionState struct { // The change notifications subscribed to - Changes SubscriptionChangeArrayInput - // The Message Queue into which the notifications are to be sentSee also the [Destination API - // Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) + Changes SubscriptionChangeArrayInput Destination SubscriptionDestinationPtrInput // The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered Format SubscriptionFormatPtrInput - // User-specific unique identifier for the subscription + // Timestamp of the last Terraform update of the order. Key pulumi.StringPtrInput // The messages subscribed to Messages SubscriptionMessageArrayInput @@ -91,13 +87,11 @@ func (SubscriptionState) ElementType() reflect.Type { type subscriptionArgs struct { // The change notifications subscribed to - Changes []SubscriptionChange `pulumi:"changes"` - // The Message Queue into which the notifications are to be sentSee also the [Destination API - // Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) + Changes []SubscriptionChange `pulumi:"changes"` Destination *SubscriptionDestination `pulumi:"destination"` // The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered Format *SubscriptionFormat `pulumi:"format"` - // User-specific unique identifier for the subscription + // Timestamp of the last Terraform update of the order. Key *string `pulumi:"key"` // The messages subscribed to Messages []SubscriptionMessage `pulumi:"messages"` @@ -106,13 +100,11 @@ type subscriptionArgs struct { // The set of arguments for constructing a Subscription resource. type SubscriptionArgs struct { // The change notifications subscribed to - Changes SubscriptionChangeArrayInput - // The Message Queue into which the notifications are to be sentSee also the [Destination API - // Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) + Changes SubscriptionChangeArrayInput Destination SubscriptionDestinationPtrInput // The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered Format SubscriptionFormatPtrInput - // User-specific unique identifier for the subscription + // Timestamp of the last Terraform update of the order. Key pulumi.StringPtrInput // The messages subscribed to Messages SubscriptionMessageArrayInput @@ -130,7 +122,7 @@ type SubscriptionInput interface { } func (*Subscription) ElementType() reflect.Type { - return reflect.TypeOf((*Subscription)(nil)) + return reflect.TypeOf((**Subscription)(nil)).Elem() } func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput { @@ -141,39 +133,10 @@ func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) Subs return pulumi.ToOutputWithContext(ctx, i).(SubscriptionOutput) } -func (i *Subscription) ToSubscriptionPtrOutput() SubscriptionPtrOutput { - return i.ToSubscriptionPtrOutputWithContext(context.Background()) -} - -func (i *Subscription) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubscriptionPtrOutput) -} - -type SubscriptionPtrInput interface { - pulumi.Input - - ToSubscriptionPtrOutput() SubscriptionPtrOutput - ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput -} - -type subscriptionPtrType SubscriptionArgs - -func (*subscriptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Subscription)(nil)) -} - -func (i *subscriptionPtrType) ToSubscriptionPtrOutput() SubscriptionPtrOutput { - return i.ToSubscriptionPtrOutputWithContext(context.Background()) -} - -func (i *subscriptionPtrType) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SubscriptionPtrOutput) -} - // SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. // You can construct a concrete instance of `SubscriptionArrayInput` via: // -// SubscriptionArray{ SubscriptionArgs{...} } +// SubscriptionArray{ SubscriptionArgs{...} } type SubscriptionArrayInput interface { pulumi.Input @@ -184,7 +147,7 @@ type SubscriptionArrayInput interface { type SubscriptionArray []SubscriptionInput func (SubscriptionArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*Subscription)(nil)) + return reflect.TypeOf((*[]*Subscription)(nil)).Elem() } func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput { @@ -198,7 +161,7 @@ func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Cont // SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. // You can construct a concrete instance of `SubscriptionMapInput` via: // -// SubscriptionMap{ "key": SubscriptionArgs{...} } +// SubscriptionMap{ "key": SubscriptionArgs{...} } type SubscriptionMapInput interface { pulumi.Input @@ -209,7 +172,7 @@ type SubscriptionMapInput interface { type SubscriptionMap map[string]SubscriptionInput func (SubscriptionMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*Subscription)(nil)) + return reflect.TypeOf((*map[string]*Subscription)(nil)).Elem() } func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput { @@ -220,12 +183,10 @@ func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SubscriptionMapOutput) } -type SubscriptionOutput struct { - *pulumi.OutputState -} +type SubscriptionOutput struct{ *pulumi.OutputState } func (SubscriptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Subscription)(nil)) + return reflect.TypeOf((**Subscription)(nil)).Elem() } func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput { @@ -236,36 +197,38 @@ func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) return o } -func (o SubscriptionOutput) ToSubscriptionPtrOutput() SubscriptionPtrOutput { - return o.ToSubscriptionPtrOutputWithContext(context.Background()) +// The change notifications subscribed to +func (o SubscriptionOutput) Changes() SubscriptionChangeArrayOutput { + return o.ApplyT(func(v *Subscription) SubscriptionChangeArrayOutput { return v.Changes }).(SubscriptionChangeArrayOutput) } -func (o SubscriptionOutput) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput { - return o.ApplyT(func(v Subscription) *Subscription { - return &v - }).(SubscriptionPtrOutput) +func (o SubscriptionOutput) Destination() SubscriptionDestinationPtrOutput { + return o.ApplyT(func(v *Subscription) SubscriptionDestinationPtrOutput { return v.Destination }).(SubscriptionDestinationPtrOutput) } -type SubscriptionPtrOutput struct { - *pulumi.OutputState +// The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered +func (o SubscriptionOutput) Format() SubscriptionFormatPtrOutput { + return o.ApplyT(func(v *Subscription) SubscriptionFormatPtrOutput { return v.Format }).(SubscriptionFormatPtrOutput) } -func (SubscriptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Subscription)(nil)) +// Timestamp of the last Terraform update of the order. +func (o SubscriptionOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Subscription) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -func (o SubscriptionPtrOutput) ToSubscriptionPtrOutput() SubscriptionPtrOutput { - return o +// The messages subscribed to +func (o SubscriptionOutput) Messages() SubscriptionMessageArrayOutput { + return o.ApplyT(func(v *Subscription) SubscriptionMessageArrayOutput { return v.Messages }).(SubscriptionMessageArrayOutput) } -func (o SubscriptionPtrOutput) ToSubscriptionPtrOutputWithContext(ctx context.Context) SubscriptionPtrOutput { - return o +func (o SubscriptionOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Subscription) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type SubscriptionArrayOutput struct{ *pulumi.OutputState } func (SubscriptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]Subscription)(nil)) + return reflect.TypeOf((*[]*Subscription)(nil)).Elem() } func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput { @@ -277,15 +240,15 @@ func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx contex } func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) Subscription { - return vs[0].([]Subscription)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Subscription { + return vs[0].([]*Subscription)[vs[1].(int)] }).(SubscriptionOutput) } type SubscriptionMapOutput struct{ *pulumi.OutputState } func (SubscriptionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]Subscription)(nil)) + return reflect.TypeOf((*map[string]*Subscription)(nil)).Elem() } func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput { @@ -297,14 +260,16 @@ func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Co } func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) Subscription { - return vs[0].(map[string]Subscription)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Subscription { + return vs[0].(map[string]*Subscription)[vs[1].(string)] }).(SubscriptionOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionInput)(nil)).Elem(), &Subscription{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionArrayInput)(nil)).Elem(), SubscriptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubscriptionMapInput)(nil)).Elem(), SubscriptionMap{}) pulumi.RegisterOutputType(SubscriptionOutput{}) - pulumi.RegisterOutputType(SubscriptionPtrOutput{}) pulumi.RegisterOutputType(SubscriptionArrayOutput{}) pulumi.RegisterOutputType(SubscriptionMapOutput{}) } diff --git a/sdk/go/commercetools/taxCategory.go b/sdk/go/commercetools/taxCategory.go index 5505203..07519cb 100644 --- a/sdk/go/commercetools/taxCategory.go +++ b/sdk/go/commercetools/taxCategory.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,6 +7,7 @@ import ( "context" "reflect" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -27,6 +28,7 @@ func NewTaxCategory(ctx *pulumi.Context, args = &TaxCategoryArgs{} } + opts = internal.PkgResourceDefaultOpts(opts) var resource TaxCategory err := ctx.RegisterResource("commercetools:index/taxCategory:TaxCategory", name, args, &resource, opts...) if err != nil { @@ -95,7 +97,7 @@ type TaxCategoryInput interface { } func (*TaxCategory) ElementType() reflect.Type { - return reflect.TypeOf((*TaxCategory)(nil)) + return reflect.TypeOf((**TaxCategory)(nil)).Elem() } func (i *TaxCategory) ToTaxCategoryOutput() TaxCategoryOutput { @@ -106,39 +108,10 @@ func (i *TaxCategory) ToTaxCategoryOutputWithContext(ctx context.Context) TaxCat return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryOutput) } -func (i *TaxCategory) ToTaxCategoryPtrOutput() TaxCategoryPtrOutput { - return i.ToTaxCategoryPtrOutputWithContext(context.Background()) -} - -func (i *TaxCategory) ToTaxCategoryPtrOutputWithContext(ctx context.Context) TaxCategoryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryPtrOutput) -} - -type TaxCategoryPtrInput interface { - pulumi.Input - - ToTaxCategoryPtrOutput() TaxCategoryPtrOutput - ToTaxCategoryPtrOutputWithContext(ctx context.Context) TaxCategoryPtrOutput -} - -type taxCategoryPtrType TaxCategoryArgs - -func (*taxCategoryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TaxCategory)(nil)) -} - -func (i *taxCategoryPtrType) ToTaxCategoryPtrOutput() TaxCategoryPtrOutput { - return i.ToTaxCategoryPtrOutputWithContext(context.Background()) -} - -func (i *taxCategoryPtrType) ToTaxCategoryPtrOutputWithContext(ctx context.Context) TaxCategoryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryPtrOutput) -} - // TaxCategoryArrayInput is an input type that accepts TaxCategoryArray and TaxCategoryArrayOutput values. // You can construct a concrete instance of `TaxCategoryArrayInput` via: // -// TaxCategoryArray{ TaxCategoryArgs{...} } +// TaxCategoryArray{ TaxCategoryArgs{...} } type TaxCategoryArrayInput interface { pulumi.Input @@ -149,7 +122,7 @@ type TaxCategoryArrayInput interface { type TaxCategoryArray []TaxCategoryInput func (TaxCategoryArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*TaxCategory)(nil)) + return reflect.TypeOf((*[]*TaxCategory)(nil)).Elem() } func (i TaxCategoryArray) ToTaxCategoryArrayOutput() TaxCategoryArrayOutput { @@ -163,7 +136,7 @@ func (i TaxCategoryArray) ToTaxCategoryArrayOutputWithContext(ctx context.Contex // TaxCategoryMapInput is an input type that accepts TaxCategoryMap and TaxCategoryMapOutput values. // You can construct a concrete instance of `TaxCategoryMapInput` via: // -// TaxCategoryMap{ "key": TaxCategoryArgs{...} } +// TaxCategoryMap{ "key": TaxCategoryArgs{...} } type TaxCategoryMapInput interface { pulumi.Input @@ -174,7 +147,7 @@ type TaxCategoryMapInput interface { type TaxCategoryMap map[string]TaxCategoryInput func (TaxCategoryMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*TaxCategory)(nil)) + return reflect.TypeOf((*map[string]*TaxCategory)(nil)).Elem() } func (i TaxCategoryMap) ToTaxCategoryMapOutput() TaxCategoryMapOutput { @@ -185,12 +158,10 @@ func (i TaxCategoryMap) ToTaxCategoryMapOutputWithContext(ctx context.Context) T return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryMapOutput) } -type TaxCategoryOutput struct { - *pulumi.OutputState -} +type TaxCategoryOutput struct{ *pulumi.OutputState } func (TaxCategoryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TaxCategory)(nil)) + return reflect.TypeOf((**TaxCategory)(nil)).Elem() } func (o TaxCategoryOutput) ToTaxCategoryOutput() TaxCategoryOutput { @@ -201,36 +172,27 @@ func (o TaxCategoryOutput) ToTaxCategoryOutputWithContext(ctx context.Context) T return o } -func (o TaxCategoryOutput) ToTaxCategoryPtrOutput() TaxCategoryPtrOutput { - return o.ToTaxCategoryPtrOutputWithContext(context.Background()) +func (o TaxCategoryOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TaxCategory) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) } -func (o TaxCategoryOutput) ToTaxCategoryPtrOutputWithContext(ctx context.Context) TaxCategoryPtrOutput { - return o.ApplyT(func(v TaxCategory) *TaxCategory { - return &v - }).(TaxCategoryPtrOutput) +// User-specific unique identifier for the category +func (o TaxCategoryOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TaxCategory) pulumi.StringPtrOutput { return v.Key }).(pulumi.StringPtrOutput) } -type TaxCategoryPtrOutput struct { - *pulumi.OutputState +func (o TaxCategoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *TaxCategory) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -func (TaxCategoryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TaxCategory)(nil)) -} - -func (o TaxCategoryPtrOutput) ToTaxCategoryPtrOutput() TaxCategoryPtrOutput { - return o -} - -func (o TaxCategoryPtrOutput) ToTaxCategoryPtrOutputWithContext(ctx context.Context) TaxCategoryPtrOutput { - return o +func (o TaxCategoryOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *TaxCategory) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type TaxCategoryArrayOutput struct{ *pulumi.OutputState } func (TaxCategoryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TaxCategory)(nil)) + return reflect.TypeOf((*[]*TaxCategory)(nil)).Elem() } func (o TaxCategoryArrayOutput) ToTaxCategoryArrayOutput() TaxCategoryArrayOutput { @@ -242,15 +204,15 @@ func (o TaxCategoryArrayOutput) ToTaxCategoryArrayOutputWithContext(ctx context. } func (o TaxCategoryArrayOutput) Index(i pulumi.IntInput) TaxCategoryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaxCategory { - return vs[0].([]TaxCategory)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TaxCategory { + return vs[0].([]*TaxCategory)[vs[1].(int)] }).(TaxCategoryOutput) } type TaxCategoryMapOutput struct{ *pulumi.OutputState } func (TaxCategoryMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]TaxCategory)(nil)) + return reflect.TypeOf((*map[string]*TaxCategory)(nil)).Elem() } func (o TaxCategoryMapOutput) ToTaxCategoryMapOutput() TaxCategoryMapOutput { @@ -262,14 +224,16 @@ func (o TaxCategoryMapOutput) ToTaxCategoryMapOutputWithContext(ctx context.Cont } func (o TaxCategoryMapOutput) MapIndex(k pulumi.StringInput) TaxCategoryOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) TaxCategory { - return vs[0].(map[string]TaxCategory)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TaxCategory { + return vs[0].(map[string]*TaxCategory)[vs[1].(string)] }).(TaxCategoryOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryInput)(nil)).Elem(), &TaxCategory{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryArrayInput)(nil)).Elem(), TaxCategoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryMapInput)(nil)).Elem(), TaxCategoryMap{}) pulumi.RegisterOutputType(TaxCategoryOutput{}) - pulumi.RegisterOutputType(TaxCategoryPtrOutput{}) pulumi.RegisterOutputType(TaxCategoryArrayOutput{}) pulumi.RegisterOutputType(TaxCategoryMapOutput{}) } diff --git a/sdk/go/commercetools/taxCategoryRate.go b/sdk/go/commercetools/taxCategoryRate.go index 17afe11..d63e551 100644 --- a/sdk/go/commercetools/taxCategoryRate.go +++ b/sdk/go/commercetools/taxCategoryRate.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -44,6 +45,7 @@ func NewTaxCategoryRate(ctx *pulumi.Context, if args.TaxCategoryId == nil { return nil, errors.New("invalid value for required argument 'TaxCategoryId'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource TaxCategoryRate err := ctx.RegisterResource("commercetools:index/taxCategoryRate:TaxCategoryRate", name, args, &resource, opts...) if err != nil { @@ -142,7 +144,7 @@ type TaxCategoryRateInput interface { } func (*TaxCategoryRate) ElementType() reflect.Type { - return reflect.TypeOf((*TaxCategoryRate)(nil)) + return reflect.TypeOf((**TaxCategoryRate)(nil)).Elem() } func (i *TaxCategoryRate) ToTaxCategoryRateOutput() TaxCategoryRateOutput { @@ -153,39 +155,10 @@ func (i *TaxCategoryRate) ToTaxCategoryRateOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryRateOutput) } -func (i *TaxCategoryRate) ToTaxCategoryRatePtrOutput() TaxCategoryRatePtrOutput { - return i.ToTaxCategoryRatePtrOutputWithContext(context.Background()) -} - -func (i *TaxCategoryRate) ToTaxCategoryRatePtrOutputWithContext(ctx context.Context) TaxCategoryRatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryRatePtrOutput) -} - -type TaxCategoryRatePtrInput interface { - pulumi.Input - - ToTaxCategoryRatePtrOutput() TaxCategoryRatePtrOutput - ToTaxCategoryRatePtrOutputWithContext(ctx context.Context) TaxCategoryRatePtrOutput -} - -type taxCategoryRatePtrType TaxCategoryRateArgs - -func (*taxCategoryRatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TaxCategoryRate)(nil)) -} - -func (i *taxCategoryRatePtrType) ToTaxCategoryRatePtrOutput() TaxCategoryRatePtrOutput { - return i.ToTaxCategoryRatePtrOutputWithContext(context.Background()) -} - -func (i *taxCategoryRatePtrType) ToTaxCategoryRatePtrOutputWithContext(ctx context.Context) TaxCategoryRatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryRatePtrOutput) -} - // TaxCategoryRateArrayInput is an input type that accepts TaxCategoryRateArray and TaxCategoryRateArrayOutput values. // You can construct a concrete instance of `TaxCategoryRateArrayInput` via: // -// TaxCategoryRateArray{ TaxCategoryRateArgs{...} } +// TaxCategoryRateArray{ TaxCategoryRateArgs{...} } type TaxCategoryRateArrayInput interface { pulumi.Input @@ -196,7 +169,7 @@ type TaxCategoryRateArrayInput interface { type TaxCategoryRateArray []TaxCategoryRateInput func (TaxCategoryRateArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*TaxCategoryRate)(nil)) + return reflect.TypeOf((*[]*TaxCategoryRate)(nil)).Elem() } func (i TaxCategoryRateArray) ToTaxCategoryRateArrayOutput() TaxCategoryRateArrayOutput { @@ -210,7 +183,7 @@ func (i TaxCategoryRateArray) ToTaxCategoryRateArrayOutputWithContext(ctx contex // TaxCategoryRateMapInput is an input type that accepts TaxCategoryRateMap and TaxCategoryRateMapOutput values. // You can construct a concrete instance of `TaxCategoryRateMapInput` via: // -// TaxCategoryRateMap{ "key": TaxCategoryRateArgs{...} } +// TaxCategoryRateMap{ "key": TaxCategoryRateArgs{...} } type TaxCategoryRateMapInput interface { pulumi.Input @@ -221,7 +194,7 @@ type TaxCategoryRateMapInput interface { type TaxCategoryRateMap map[string]TaxCategoryRateInput func (TaxCategoryRateMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*TaxCategoryRate)(nil)) + return reflect.TypeOf((*map[string]*TaxCategoryRate)(nil)).Elem() } func (i TaxCategoryRateMap) ToTaxCategoryRateMapOutput() TaxCategoryRateMapOutput { @@ -232,12 +205,10 @@ func (i TaxCategoryRateMap) ToTaxCategoryRateMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(TaxCategoryRateMapOutput) } -type TaxCategoryRateOutput struct { - *pulumi.OutputState -} +type TaxCategoryRateOutput struct{ *pulumi.OutputState } func (TaxCategoryRateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TaxCategoryRate)(nil)) + return reflect.TypeOf((**TaxCategoryRate)(nil)).Elem() } func (o TaxCategoryRateOutput) ToTaxCategoryRateOutput() TaxCategoryRateOutput { @@ -248,36 +219,43 @@ func (o TaxCategoryRateOutput) ToTaxCategoryRateOutputWithContext(ctx context.Co return o } -func (o TaxCategoryRateOutput) ToTaxCategoryRatePtrOutput() TaxCategoryRatePtrOutput { - return o.ToTaxCategoryRatePtrOutputWithContext(context.Background()) +// Number Percentage in the range of [0..1]. The sum of the amounts of all subRates, if there are any +func (o TaxCategoryRateOutput) Amount() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.Float64PtrOutput { return v.Amount }).(pulumi.Float64PtrOutput) } -func (o TaxCategoryRateOutput) ToTaxCategoryRatePtrOutputWithContext(ctx context.Context) TaxCategoryRatePtrOutput { - return o.ApplyT(func(v TaxCategoryRate) *TaxCategoryRate { - return &v - }).(TaxCategoryRatePtrOutput) +// A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) +func (o TaxCategoryRateOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.StringOutput { return v.Country }).(pulumi.StringOutput) } -type TaxCategoryRatePtrOutput struct { - *pulumi.OutputState +func (o TaxCategoryRateOutput) IncludedInPrice() pulumi.BoolOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.BoolOutput { return v.IncludedInPrice }).(pulumi.BoolOutput) } -func (TaxCategoryRatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TaxCategoryRate)(nil)) +func (o TaxCategoryRateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -func (o TaxCategoryRatePtrOutput) ToTaxCategoryRatePtrOutput() TaxCategoryRatePtrOutput { - return o +// The state in the country +func (o TaxCategoryRateOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.StringPtrOutput { return v.State }).(pulumi.StringPtrOutput) } -func (o TaxCategoryRatePtrOutput) ToTaxCategoryRatePtrOutputWithContext(ctx context.Context) TaxCategoryRatePtrOutput { - return o +// For countries (for example the US) where the total tax is a combination of multiple taxes (for example state and local +// taxes) +func (o TaxCategoryRateOutput) SubRates() TaxCategoryRateSubRateArrayOutput { + return o.ApplyT(func(v *TaxCategoryRate) TaxCategoryRateSubRateArrayOutput { return v.SubRates }).(TaxCategoryRateSubRateArrayOutput) +} + +func (o TaxCategoryRateOutput) TaxCategoryId() pulumi.StringOutput { + return o.ApplyT(func(v *TaxCategoryRate) pulumi.StringOutput { return v.TaxCategoryId }).(pulumi.StringOutput) } type TaxCategoryRateArrayOutput struct{ *pulumi.OutputState } func (TaxCategoryRateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TaxCategoryRate)(nil)) + return reflect.TypeOf((*[]*TaxCategoryRate)(nil)).Elem() } func (o TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutput() TaxCategoryRateArrayOutput { @@ -289,15 +267,15 @@ func (o TaxCategoryRateArrayOutput) ToTaxCategoryRateArrayOutputWithContext(ctx } func (o TaxCategoryRateArrayOutput) Index(i pulumi.IntInput) TaxCategoryRateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TaxCategoryRate { - return vs[0].([]TaxCategoryRate)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *TaxCategoryRate { + return vs[0].([]*TaxCategoryRate)[vs[1].(int)] }).(TaxCategoryRateOutput) } type TaxCategoryRateMapOutput struct{ *pulumi.OutputState } func (TaxCategoryRateMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]TaxCategoryRate)(nil)) + return reflect.TypeOf((*map[string]*TaxCategoryRate)(nil)).Elem() } func (o TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutput() TaxCategoryRateMapOutput { @@ -309,14 +287,16 @@ func (o TaxCategoryRateMapOutput) ToTaxCategoryRateMapOutputWithContext(ctx cont } func (o TaxCategoryRateMapOutput) MapIndex(k pulumi.StringInput) TaxCategoryRateOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) TaxCategoryRate { - return vs[0].(map[string]TaxCategoryRate)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *TaxCategoryRate { + return vs[0].(map[string]*TaxCategoryRate)[vs[1].(string)] }).(TaxCategoryRateOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryRateInput)(nil)).Elem(), &TaxCategoryRate{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryRateArrayInput)(nil)).Elem(), TaxCategoryRateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TaxCategoryRateMapInput)(nil)).Elem(), TaxCategoryRateMap{}) pulumi.RegisterOutputType(TaxCategoryRateOutput{}) - pulumi.RegisterOutputType(TaxCategoryRatePtrOutput{}) pulumi.RegisterOutputType(TaxCategoryRateArrayOutput{}) pulumi.RegisterOutputType(TaxCategoryRateMapOutput{}) } diff --git a/sdk/go/commercetools/type.go b/sdk/go/commercetools/type.go index ae2992f..61585a7 100644 --- a/sdk/go/commercetools/type.go +++ b/sdk/go/commercetools/type.go @@ -1,5 +1,5 @@ -// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** -// *** Do not edit by hand unless you're certain you know what you are doing! *** +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** package commercetools @@ -7,7 +7,8 @@ import ( "context" "reflect" - "github.com/pkg/errors" + "errors" + "github.com/pulumi/pulumi-commercetools/sdk/go/commercetools/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) @@ -41,6 +42,7 @@ func NewType(ctx *pulumi.Context, if args.ResourceTypeIds == nil { return nil, errors.New("invalid value for required argument 'ResourceTypeIds'") } + opts = internal.PkgResourceDefaultOpts(opts) var resource Type err := ctx.RegisterResource("commercetools:index/type:Type", name, args, &resource, opts...) if err != nil { @@ -137,7 +139,7 @@ type TypeInput interface { } func (*Type) ElementType() reflect.Type { - return reflect.TypeOf((*Type)(nil)) + return reflect.TypeOf((**Type)(nil)).Elem() } func (i *Type) ToTypeOutput() TypeOutput { @@ -148,39 +150,10 @@ func (i *Type) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return pulumi.ToOutputWithContext(ctx, i).(TypeOutput) } -func (i *Type) ToTypePtrOutput() TypePtrOutput { - return i.ToTypePtrOutputWithContext(context.Background()) -} - -func (i *Type) ToTypePtrOutputWithContext(ctx context.Context) TypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TypePtrOutput) -} - -type TypePtrInput interface { - pulumi.Input - - ToTypePtrOutput() TypePtrOutput - ToTypePtrOutputWithContext(ctx context.Context) TypePtrOutput -} - -type typePtrType TypeArgs - -func (*typePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Type)(nil)) -} - -func (i *typePtrType) ToTypePtrOutput() TypePtrOutput { - return i.ToTypePtrOutputWithContext(context.Background()) -} - -func (i *typePtrType) ToTypePtrOutputWithContext(ctx context.Context) TypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TypePtrOutput) -} - // TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. // You can construct a concrete instance of `TypeArrayInput` via: // -// TypeArray{ TypeArgs{...} } +// TypeArray{ TypeArgs{...} } type TypeArrayInput interface { pulumi.Input @@ -191,7 +164,7 @@ type TypeArrayInput interface { type TypeArray []TypeInput func (TypeArray) ElementType() reflect.Type { - return reflect.TypeOf(([]*Type)(nil)) + return reflect.TypeOf((*[]*Type)(nil)).Elem() } func (i TypeArray) ToTypeArrayOutput() TypeArrayOutput { @@ -205,7 +178,7 @@ func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOu // TypeMapInput is an input type that accepts TypeMap and TypeMapOutput values. // You can construct a concrete instance of `TypeMapInput` via: // -// TypeMap{ "key": TypeArgs{...} } +// TypeMap{ "key": TypeArgs{...} } type TypeMapInput interface { pulumi.Input @@ -216,7 +189,7 @@ type TypeMapInput interface { type TypeMap map[string]TypeInput func (TypeMap) ElementType() reflect.Type { - return reflect.TypeOf((map[string]*Type)(nil)) + return reflect.TypeOf((*map[string]*Type)(nil)).Elem() } func (i TypeMap) ToTypeMapOutput() TypeMapOutput { @@ -227,12 +200,10 @@ func (i TypeMap) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOutput { return pulumi.ToOutputWithContext(ctx, i).(TypeMapOutput) } -type TypeOutput struct { - *pulumi.OutputState -} +type TypeOutput struct{ *pulumi.OutputState } func (TypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Type)(nil)) + return reflect.TypeOf((**Type)(nil)).Elem() } func (o TypeOutput) ToTypeOutput() TypeOutput { @@ -243,36 +214,40 @@ func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput { return o } -func (o TypeOutput) ToTypePtrOutput() TypePtrOutput { - return o.ToTypePtrOutputWithContext(context.Background()) +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o TypeOutput) Description() pulumi.MapOutput { + return o.ApplyT(func(v *Type) pulumi.MapOutput { return v.Description }).(pulumi.MapOutput) } -func (o TypeOutput) ToTypePtrOutputWithContext(ctx context.Context) TypePtrOutput { - return o.ApplyT(func(v Type) *Type { - return &v - }).(TypePtrOutput) +// [Field definition](https://docs.commercetools.com/api/projects/types#fielddefinition) +func (o TypeOutput) Fields() TypeFieldArrayOutput { + return o.ApplyT(func(v *Type) TypeFieldArrayOutput { return v.Fields }).(TypeFieldArrayOutput) } -type TypePtrOutput struct { - *pulumi.OutputState +// Identifier for the type (max. 256 characters) +func (o TypeOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *Type) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) } -func (TypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Type)(nil)) +// [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) +func (o TypeOutput) Name() pulumi.MapOutput { + return o.ApplyT(func(v *Type) pulumi.MapOutput { return v.Name }).(pulumi.MapOutput) } -func (o TypePtrOutput) ToTypePtrOutput() TypePtrOutput { - return o +// Defines for which [resources](https://docs.commercetools.com/api/projects/custom-fields#customizable-resources) the type +// is valid +func (o TypeOutput) ResourceTypeIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Type) pulumi.StringArrayOutput { return v.ResourceTypeIds }).(pulumi.StringArrayOutput) } -func (o TypePtrOutput) ToTypePtrOutputWithContext(ctx context.Context) TypePtrOutput { - return o +func (o TypeOutput) Version() pulumi.IntOutput { + return o.ApplyT(func(v *Type) pulumi.IntOutput { return v.Version }).(pulumi.IntOutput) } type TypeArrayOutput struct{ *pulumi.OutputState } func (TypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]Type)(nil)) + return reflect.TypeOf((*[]*Type)(nil)).Elem() } func (o TypeArrayOutput) ToTypeArrayOutput() TypeArrayOutput { @@ -284,15 +259,15 @@ func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeA } func (o TypeArrayOutput) Index(i pulumi.IntInput) TypeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) Type { - return vs[0].([]Type)[vs[1].(int)] + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Type { + return vs[0].([]*Type)[vs[1].(int)] }).(TypeOutput) } type TypeMapOutput struct{ *pulumi.OutputState } func (TypeMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]Type)(nil)) + return reflect.TypeOf((*map[string]*Type)(nil)).Elem() } func (o TypeMapOutput) ToTypeMapOutput() TypeMapOutput { @@ -304,14 +279,16 @@ func (o TypeMapOutput) ToTypeMapOutputWithContext(ctx context.Context) TypeMapOu } func (o TypeMapOutput) MapIndex(k pulumi.StringInput) TypeOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) Type { - return vs[0].(map[string]Type)[vs[1].(string)] + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Type { + return vs[0].(map[string]*Type)[vs[1].(string)] }).(TypeOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*TypeInput)(nil)).Elem(), &Type{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeArrayInput)(nil)).Elem(), TypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*TypeMapInput)(nil)).Elem(), TypeMap{}) pulumi.RegisterOutputType(TypeOutput{}) - pulumi.RegisterOutputType(TypePtrOutput{}) pulumi.RegisterOutputType(TypeArrayOutput{}) pulumi.RegisterOutputType(TypeMapOutput{}) } diff --git a/sdk/nodejs/README.md b/sdk/nodejs/README.md index b31e13b..b2a9a44 100644 --- a/sdk/nodejs/README.md +++ b/sdk/nodejs/README.md @@ -1,4 +1,4 @@ -> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-commercetools) +> This provider is a derived work of the [Terraform Provider](https://github.com/unplatform-io/terraform-provider-commercetools) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, -> first check the [`pulumi/pulumi-commercetools` repo](https://github.com/pulumi/pulumi-commercetools/issues); however, if that doesn't turn up anything, -> please consult the source [`terraform-providers/terraform-provider-commercetools` repo](https://github.com/terraform-providers/terraform-provider-commercetools/issues). +> first check the [`pulumi-commercetools` repo](https://github.com/unplatform-io/pulumi-commercetools/issues); however, if that doesn't turn up anything, +> please consult the source [`terraform-provider-commercetools` repo](https://github.com/unplatform-io/terraform-provider-commercetools/issues). diff --git a/sdk/nodejs/apiClient.ts b/sdk/nodejs/apiClient.ts index 0cbd980..7f8e15f 100644 --- a/sdk/nodejs/apiClient.ts +++ b/sdk/nodejs/apiClient.ts @@ -51,26 +51,26 @@ export class ApiClient extends pulumi.CustomResource { */ constructor(name: string, args: ApiClientArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ApiClientArgs | ApiClientState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ApiClientState | undefined; - inputs["name"] = state ? state.name : undefined; - inputs["scopes"] = state ? state.scopes : undefined; - inputs["secret"] = state ? state.secret : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["scopes"] = state ? state.scopes : undefined; + resourceInputs["secret"] = state ? state.secret : undefined; } else { const args = argsOrState as ApiClientArgs | undefined; if ((!args || args.scopes === undefined) && !opts.urn) { throw new Error("Missing required property 'scopes'"); } - inputs["name"] = args ? args.name : undefined; - inputs["scopes"] = args ? args.scopes : undefined; - inputs["secret"] = undefined /*out*/; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["scopes"] = args ? args.scopes : undefined; + resourceInputs["secret"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ApiClient.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["secret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(ApiClient.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/apiExtension.ts b/sdk/nodejs/apiExtension.ts index 884c4cc..6ed7413 100644 --- a/sdk/nodejs/apiExtension.ts +++ b/sdk/nodejs/apiExtension.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ApiExtension extends pulumi.CustomResource { @@ -62,15 +63,15 @@ export class ApiExtension extends pulumi.CustomResource { */ constructor(name: string, args: ApiExtensionArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ApiExtensionArgs | ApiExtensionState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ApiExtensionState | undefined; - inputs["destination"] = state ? state.destination : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["timeoutInMs"] = state ? state.timeoutInMs : undefined; - inputs["triggers"] = state ? state.triggers : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["destination"] = state ? state.destination : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["timeoutInMs"] = state ? state.timeoutInMs : undefined; + resourceInputs["triggers"] = state ? state.triggers : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ApiExtensionArgs | undefined; if ((!args || args.destination === undefined) && !opts.urn) { @@ -79,16 +80,14 @@ export class ApiExtension extends pulumi.CustomResource { if ((!args || args.triggers === undefined) && !opts.urn) { throw new Error("Missing required property 'triggers'"); } - inputs["destination"] = args ? args.destination : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["timeoutInMs"] = args ? args.timeoutInMs : undefined; - inputs["triggers"] = args ? args.triggers : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["destination"] = args ? args.destination : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["timeoutInMs"] = args ? args.timeoutInMs : undefined; + resourceInputs["triggers"] = args ? args.triggers : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ApiExtension.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ApiExtension.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/cartDiscount.ts b/sdk/nodejs/cartDiscount.ts index 26997a6..d0289e7 100644 --- a/sdk/nodejs/cartDiscount.ts +++ b/sdk/nodejs/cartDiscount.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class CartDiscount extends pulumi.CustomResource { @@ -91,23 +92,23 @@ export class CartDiscount extends pulumi.CustomResource { */ constructor(name: string, args: CartDiscountArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: CartDiscountArgs | CartDiscountState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as CartDiscountState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["isActive"] = state ? state.isActive : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["predicate"] = state ? state.predicate : undefined; - inputs["requiresDiscountCode"] = state ? state.requiresDiscountCode : undefined; - inputs["sortOrder"] = state ? state.sortOrder : undefined; - inputs["stackingMode"] = state ? state.stackingMode : undefined; - inputs["target"] = state ? state.target : undefined; - inputs["validFrom"] = state ? state.validFrom : undefined; - inputs["validUntil"] = state ? state.validUntil : undefined; - inputs["value"] = state ? state.value : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["isActive"] = state ? state.isActive : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["predicate"] = state ? state.predicate : undefined; + resourceInputs["requiresDiscountCode"] = state ? state.requiresDiscountCode : undefined; + resourceInputs["sortOrder"] = state ? state.sortOrder : undefined; + resourceInputs["stackingMode"] = state ? state.stackingMode : undefined; + resourceInputs["target"] = state ? state.target : undefined; + resourceInputs["validFrom"] = state ? state.validFrom : undefined; + resourceInputs["validUntil"] = state ? state.validUntil : undefined; + resourceInputs["value"] = state ? state.value : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as CartDiscountArgs | undefined; if ((!args || args.predicate === undefined) && !opts.urn) { @@ -119,24 +120,22 @@ export class CartDiscount extends pulumi.CustomResource { if ((!args || args.value === undefined) && !opts.urn) { throw new Error("Missing required property 'value'"); } - inputs["description"] = args ? args.description : undefined; - inputs["isActive"] = args ? args.isActive : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["predicate"] = args ? args.predicate : undefined; - inputs["requiresDiscountCode"] = args ? args.requiresDiscountCode : undefined; - inputs["sortOrder"] = args ? args.sortOrder : undefined; - inputs["stackingMode"] = args ? args.stackingMode : undefined; - inputs["target"] = args ? args.target : undefined; - inputs["validFrom"] = args ? args.validFrom : undefined; - inputs["validUntil"] = args ? args.validUntil : undefined; - inputs["value"] = args ? args.value : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["isActive"] = args ? args.isActive : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["predicate"] = args ? args.predicate : undefined; + resourceInputs["requiresDiscountCode"] = args ? args.requiresDiscountCode : undefined; + resourceInputs["sortOrder"] = args ? args.sortOrder : undefined; + resourceInputs["stackingMode"] = args ? args.stackingMode : undefined; + resourceInputs["target"] = args ? args.target : undefined; + resourceInputs["validFrom"] = args ? args.validFrom : undefined; + resourceInputs["validUntil"] = args ? args.validUntil : undefined; + resourceInputs["value"] = args ? args.value : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(CartDiscount.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(CartDiscount.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/category.ts b/sdk/nodejs/category.ts new file mode 100644 index 0000000..68a9cbf --- /dev/null +++ b/sdk/nodejs/category.ts @@ -0,0 +1,181 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export class Category extends pulumi.CustomResource { + /** + * Get an existing Category resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: CategoryState, opts?: pulumi.CustomResourceOptions): Category { + return new Category(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'commercetools:index/category:Category'; + + /** + * Returns true if the given object is an instance of Category. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Category { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Category.__pulumiType; + } + + /** + * Can be used to store images, icons or movies related to this category + */ + public readonly assets!: pulumi.Output; + public readonly custom!: pulumi.Output; + public readonly description!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly externalId!: pulumi.Output; + /** + * Category-specific unique identifier. Must be unique across a project + */ + public readonly key!: pulumi.Output; + public readonly metaDescription!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly metaKeywords!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly metaTitle!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly name!: pulumi.Output<{[key: string]: any}>; + /** + * An attribute as base for a custom category order in one level, filled with random value when left empty + */ + public readonly orderHint!: pulumi.Output; + /** + * A category that is the parent of this category in the category tree + */ + public readonly parent!: pulumi.Output; + /** + * Human readable identifiers, needs to be unique + */ + public readonly slug!: pulumi.Output<{[key: string]: any}>; + public /*out*/ readonly version!: pulumi.Output; + + /** + * Create a Category resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: CategoryArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CategoryArgs | CategoryState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as CategoryState | undefined; + resourceInputs["assets"] = state ? state.assets : undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["externalId"] = state ? state.externalId : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["metaDescription"] = state ? state.metaDescription : undefined; + resourceInputs["metaKeywords"] = state ? state.metaKeywords : undefined; + resourceInputs["metaTitle"] = state ? state.metaTitle : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["orderHint"] = state ? state.orderHint : undefined; + resourceInputs["parent"] = state ? state.parent : undefined; + resourceInputs["slug"] = state ? state.slug : undefined; + resourceInputs["version"] = state ? state.version : undefined; + } else { + const args = argsOrState as CategoryArgs | undefined; + if ((!args || args.slug === undefined) && !opts.urn) { + throw new Error("Missing required property 'slug'"); + } + resourceInputs["assets"] = args ? args.assets : undefined; + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["externalId"] = args ? args.externalId : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["metaDescription"] = args ? args.metaDescription : undefined; + resourceInputs["metaKeywords"] = args ? args.metaKeywords : undefined; + resourceInputs["metaTitle"] = args ? args.metaTitle : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["orderHint"] = args ? args.orderHint : undefined; + resourceInputs["parent"] = args ? args.parent : undefined; + resourceInputs["slug"] = args ? args.slug : undefined; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Category.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering Category resources. + */ +export interface CategoryState { + /** + * Can be used to store images, icons or movies related to this category + */ + assets?: pulumi.Input[]>; + custom?: pulumi.Input; + description?: pulumi.Input<{[key: string]: any}>; + externalId?: pulumi.Input; + /** + * Category-specific unique identifier. Must be unique across a project + */ + key?: pulumi.Input; + metaDescription?: pulumi.Input<{[key: string]: any}>; + metaKeywords?: pulumi.Input<{[key: string]: any}>; + metaTitle?: pulumi.Input<{[key: string]: any}>; + name?: pulumi.Input<{[key: string]: any}>; + /** + * An attribute as base for a custom category order in one level, filled with random value when left empty + */ + orderHint?: pulumi.Input; + /** + * A category that is the parent of this category in the category tree + */ + parent?: pulumi.Input; + /** + * Human readable identifiers, needs to be unique + */ + slug?: pulumi.Input<{[key: string]: any}>; + version?: pulumi.Input; +} + +/** + * The set of arguments for constructing a Category resource. + */ +export interface CategoryArgs { + /** + * Can be used to store images, icons or movies related to this category + */ + assets?: pulumi.Input[]>; + custom?: pulumi.Input; + description?: pulumi.Input<{[key: string]: any}>; + externalId?: pulumi.Input; + /** + * Category-specific unique identifier. Must be unique across a project + */ + key?: pulumi.Input; + metaDescription?: pulumi.Input<{[key: string]: any}>; + metaKeywords?: pulumi.Input<{[key: string]: any}>; + metaTitle?: pulumi.Input<{[key: string]: any}>; + name?: pulumi.Input<{[key: string]: any}>; + /** + * An attribute as base for a custom category order in one level, filled with random value when left empty + */ + orderHint?: pulumi.Input; + /** + * A category that is the parent of this category in the category tree + */ + parent?: pulumi.Input; + /** + * Human readable identifiers, needs to be unique + */ + slug: pulumi.Input<{[key: string]: any}>; +} diff --git a/sdk/nodejs/channel.ts b/sdk/nodejs/channel.ts index 8b8205d..2e03368 100644 --- a/sdk/nodejs/channel.ts +++ b/sdk/nodejs/channel.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class Channel extends pulumi.CustomResource { @@ -32,10 +34,13 @@ export class Channel extends pulumi.CustomResource { return obj['__pulumiType'] === Channel.__pulumiType; } + public readonly address!: pulumi.Output; + public readonly custom!: pulumi.Output; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ public readonly description!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly geolocation!: pulumi.Output; /** * Any arbitrary string key that uniquely identifies this channel within the project */ @@ -60,15 +65,18 @@ export class Channel extends pulumi.CustomResource { */ constructor(name: string, args: ChannelArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ChannelArgs | ChannelState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ChannelState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["roles"] = state ? state.roles : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["address"] = state ? state.address : undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["geolocation"] = state ? state.geolocation : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["roles"] = state ? state.roles : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ChannelArgs | undefined; if ((!args || args.key === undefined) && !opts.urn) { @@ -77,16 +85,17 @@ export class Channel extends pulumi.CustomResource { if ((!args || args.roles === undefined) && !opts.urn) { throw new Error("Missing required property 'roles'"); } - inputs["description"] = args ? args.description : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["roles"] = args ? args.roles : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["address"] = args ? args.address : undefined; + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["geolocation"] = args ? args.geolocation : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(Channel.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Channel.__pulumiType, name, resourceInputs, opts); } } @@ -94,10 +103,13 @@ export class Channel extends pulumi.CustomResource { * Input properties used for looking up and filtering Channel resources. */ export interface ChannelState { + address?: pulumi.Input; + custom?: pulumi.Input; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ description?: pulumi.Input<{[key: string]: any}>; + geolocation?: pulumi.Input; /** * Any arbitrary string key that uniquely identifies this channel within the project */ @@ -118,10 +130,13 @@ export interface ChannelState { * The set of arguments for constructing a Channel resource. */ export interface ChannelArgs { + address?: pulumi.Input; + custom?: pulumi.Input; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ description?: pulumi.Input<{[key: string]: any}>; + geolocation?: pulumi.Input; /** * Any arbitrary string key that uniquely identifies this channel within the project */ diff --git a/sdk/nodejs/config/vars.ts b/sdk/nodejs/config/vars.ts index 6eefa72..9b9bfa1 100644 --- a/sdk/nodejs/config/vars.ts +++ b/sdk/nodejs/config/vars.ts @@ -4,30 +4,73 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; -let __config = new pulumi.Config("commercetools"); +declare var exports: any; +const __config = new pulumi.Config("commercetools"); /** * The API URL of the commercetools platform. https://docs.commercetools.com/http-api */ -export let apiUrl: string | undefined = __config.get("apiUrl"); +export declare const apiUrl: string | undefined; +Object.defineProperty(exports, "apiUrl", { + get() { + return __config.get("apiUrl"); + }, + enumerable: true, +}); + /** * The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ -export let clientId: string | undefined = __config.get("clientId"); +export declare const clientId: string | undefined; +Object.defineProperty(exports, "clientId", { + get() { + return __config.get("clientId"); + }, + enumerable: true, +}); + /** * The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ -export let clientSecret: string | undefined = __config.get("clientSecret"); +export declare const clientSecret: string | undefined; +Object.defineProperty(exports, "clientSecret", { + get() { + return __config.get("clientSecret"); + }, + enumerable: true, +}); + /** * The project key of commercetools platform project. https://docs.commercetools.com/getting-started */ -export let projectKey: string | undefined = __config.get("projectKey"); +export declare const projectKey: string | undefined; +Object.defineProperty(exports, "projectKey", { + get() { + return __config.get("projectKey"); + }, + enumerable: true, +}); + /** * A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. * https://docs.commercetools.com/http-api-authorization */ -export let scopes: string | undefined = __config.get("scopes"); +export declare const scopes: string | undefined; +Object.defineProperty(exports, "scopes", { + get() { + return __config.get("scopes"); + }, + enumerable: true, +}); + /** * The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization */ -export let tokenUrl: string | undefined = __config.get("tokenUrl"); +export declare const tokenUrl: string | undefined; +Object.defineProperty(exports, "tokenUrl", { + get() { + return __config.get("tokenUrl"); + }, + enumerable: true, +}); + diff --git a/sdk/nodejs/customObject.ts b/sdk/nodejs/customObject.ts index d368f61..6ac7909 100644 --- a/sdk/nodejs/customObject.ts +++ b/sdk/nodejs/customObject.ts @@ -55,14 +55,14 @@ export class CustomObject extends pulumi.CustomResource { */ constructor(name: string, args: CustomObjectArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: CustomObjectArgs | CustomObjectState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as CustomObjectState | undefined; - inputs["container"] = state ? state.container : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["value"] = state ? state.value : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["container"] = state ? state.container : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["value"] = state ? state.value : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as CustomObjectArgs | undefined; if ((!args || args.container === undefined) && !opts.urn) { @@ -74,15 +74,13 @@ export class CustomObject extends pulumi.CustomResource { if ((!args || args.value === undefined) && !opts.urn) { throw new Error("Missing required property 'value'"); } - inputs["container"] = args ? args.container : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["value"] = args ? args.value : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["container"] = args ? args.container : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["value"] = args ? args.value : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(CustomObject.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(CustomObject.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/customerGroup.ts b/sdk/nodejs/customerGroup.ts new file mode 100644 index 0000000..44b3e28 --- /dev/null +++ b/sdk/nodejs/customerGroup.ts @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export class CustomerGroup extends pulumi.CustomResource { + /** + * Get an existing CustomerGroup resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: CustomerGroupState, opts?: pulumi.CustomResourceOptions): CustomerGroup { + return new CustomerGroup(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'commercetools:index/customerGroup:CustomerGroup'; + + /** + * Returns true if the given object is an instance of CustomerGroup. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is CustomerGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === CustomerGroup.__pulumiType; + } + + public readonly custom!: pulumi.Output; + /** + * User-specific unique identifier for the customer group + */ + public readonly key!: pulumi.Output; + /** + * Unique within the project + */ + public readonly name!: pulumi.Output; + public /*out*/ readonly version!: pulumi.Output; + + /** + * Create a CustomerGroup resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: CustomerGroupArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: CustomerGroupArgs | CustomerGroupState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as CustomerGroupState | undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["version"] = state ? state.version : undefined; + } else { + const args = argsOrState as CustomerGroupArgs | undefined; + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(CustomerGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering CustomerGroup resources. + */ +export interface CustomerGroupState { + custom?: pulumi.Input; + /** + * User-specific unique identifier for the customer group + */ + key?: pulumi.Input; + /** + * Unique within the project + */ + name?: pulumi.Input; + version?: pulumi.Input; +} + +/** + * The set of arguments for constructing a CustomerGroup resource. + */ +export interface CustomerGroupArgs { + custom?: pulumi.Input; + /** + * User-specific unique identifier for the customer group + */ + key?: pulumi.Input; + /** + * Unique within the project + */ + name?: pulumi.Input; +} diff --git a/sdk/nodejs/discountCode.ts b/sdk/nodejs/discountCode.ts index 5a00c4a..3589dd6 100644 --- a/sdk/nodejs/discountCode.ts +++ b/sdk/nodejs/discountCode.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class DiscountCode extends pulumi.CustomResource { @@ -41,6 +43,7 @@ export class DiscountCode extends pulumi.CustomResource { * cart */ public readonly code!: pulumi.Output; + public readonly custom!: pulumi.Output; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ @@ -85,22 +88,23 @@ export class DiscountCode extends pulumi.CustomResource { */ constructor(name: string, args: DiscountCodeArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: DiscountCodeArgs | DiscountCodeState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as DiscountCodeState | undefined; - inputs["cartDiscounts"] = state ? state.cartDiscounts : undefined; - inputs["code"] = state ? state.code : undefined; - inputs["description"] = state ? state.description : undefined; - inputs["groups"] = state ? state.groups : undefined; - inputs["isActive"] = state ? state.isActive : undefined; - inputs["maxApplications"] = state ? state.maxApplications : undefined; - inputs["maxApplicationsPerCustomer"] = state ? state.maxApplicationsPerCustomer : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["predicate"] = state ? state.predicate : undefined; - inputs["validFrom"] = state ? state.validFrom : undefined; - inputs["validUntil"] = state ? state.validUntil : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["cartDiscounts"] = state ? state.cartDiscounts : undefined; + resourceInputs["code"] = state ? state.code : undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["groups"] = state ? state.groups : undefined; + resourceInputs["isActive"] = state ? state.isActive : undefined; + resourceInputs["maxApplications"] = state ? state.maxApplications : undefined; + resourceInputs["maxApplicationsPerCustomer"] = state ? state.maxApplicationsPerCustomer : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["predicate"] = state ? state.predicate : undefined; + resourceInputs["validFrom"] = state ? state.validFrom : undefined; + resourceInputs["validUntil"] = state ? state.validUntil : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as DiscountCodeArgs | undefined; if ((!args || args.cartDiscounts === undefined) && !opts.urn) { @@ -109,23 +113,22 @@ export class DiscountCode extends pulumi.CustomResource { if ((!args || args.code === undefined) && !opts.urn) { throw new Error("Missing required property 'code'"); } - inputs["cartDiscounts"] = args ? args.cartDiscounts : undefined; - inputs["code"] = args ? args.code : undefined; - inputs["description"] = args ? args.description : undefined; - inputs["groups"] = args ? args.groups : undefined; - inputs["isActive"] = args ? args.isActive : undefined; - inputs["maxApplications"] = args ? args.maxApplications : undefined; - inputs["maxApplicationsPerCustomer"] = args ? args.maxApplicationsPerCustomer : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["predicate"] = args ? args.predicate : undefined; - inputs["validFrom"] = args ? args.validFrom : undefined; - inputs["validUntil"] = args ? args.validUntil : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["cartDiscounts"] = args ? args.cartDiscounts : undefined; + resourceInputs["code"] = args ? args.code : undefined; + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["groups"] = args ? args.groups : undefined; + resourceInputs["isActive"] = args ? args.isActive : undefined; + resourceInputs["maxApplications"] = args ? args.maxApplications : undefined; + resourceInputs["maxApplicationsPerCustomer"] = args ? args.maxApplicationsPerCustomer : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["predicate"] = args ? args.predicate : undefined; + resourceInputs["validFrom"] = args ? args.validFrom : undefined; + resourceInputs["validUntil"] = args ? args.validUntil : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(DiscountCode.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(DiscountCode.__pulumiType, name, resourceInputs, opts); } } @@ -142,6 +145,7 @@ export interface DiscountCodeState { * cart */ code?: pulumi.Input; + custom?: pulumi.Input; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ @@ -191,6 +195,7 @@ export interface DiscountCodeArgs { * cart */ code: pulumi.Input; + custom?: pulumi.Input; /** * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) */ diff --git a/sdk/nodejs/getType.ts b/sdk/nodejs/getType.ts new file mode 100644 index 0000000..6ee85dd --- /dev/null +++ b/sdk/nodejs/getType.ts @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export function getType(args: GetTypeArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("commercetools:index/getType:getType", { + "key": args.key, + }, opts); +} + +/** + * A collection of arguments for invoking getType. + */ +export interface GetTypeArgs { + key: string; +} + +/** + * A collection of values returned by getType. + */ +export interface GetTypeResult { + readonly id: string; + readonly key: string; +} +export function getTypeOutput(args: GetTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getType(a, opts)) +} + +/** + * A collection of arguments for invoking getType. + */ +export interface GetTypeOutputArgs { + key: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 8371011..e1478c5 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -5,24 +5,121 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: -export * from "./apiClient"; -export * from "./apiExtension"; -export * from "./cartDiscount"; -export * from "./channel"; -export * from "./customObject"; -export * from "./discountCode"; -export * from "./productType"; -export * from "./projectSettings"; -export * from "./provider"; -export * from "./shippingMethod"; -export * from "./shippingZone"; -export * from "./shippingZoneRate"; -export * from "./state"; -export * from "./store"; -export * from "./subscription"; -export * from "./taxCategory"; -export * from "./taxCategoryRate"; -export * from "./type"; +export { ApiClientArgs, ApiClientState } from "./apiClient"; +export type ApiClient = import("./apiClient").ApiClient; +export const ApiClient: typeof import("./apiClient").ApiClient = null as any; +utilities.lazyLoad(exports, ["ApiClient"], () => require("./apiClient")); + +export { ApiExtensionArgs, ApiExtensionState } from "./apiExtension"; +export type ApiExtension = import("./apiExtension").ApiExtension; +export const ApiExtension: typeof import("./apiExtension").ApiExtension = null as any; +utilities.lazyLoad(exports, ["ApiExtension"], () => require("./apiExtension")); + +export { CartDiscountArgs, CartDiscountState } from "./cartDiscount"; +export type CartDiscount = import("./cartDiscount").CartDiscount; +export const CartDiscount: typeof import("./cartDiscount").CartDiscount = null as any; +utilities.lazyLoad(exports, ["CartDiscount"], () => require("./cartDiscount")); + +export { CategoryArgs, CategoryState } from "./category"; +export type Category = import("./category").Category; +export const Category: typeof import("./category").Category = null as any; +utilities.lazyLoad(exports, ["Category"], () => require("./category")); + +export { ChannelArgs, ChannelState } from "./channel"; +export type Channel = import("./channel").Channel; +export const Channel: typeof import("./channel").Channel = null as any; +utilities.lazyLoad(exports, ["Channel"], () => require("./channel")); + +export { CustomObjectArgs, CustomObjectState } from "./customObject"; +export type CustomObject = import("./customObject").CustomObject; +export const CustomObject: typeof import("./customObject").CustomObject = null as any; +utilities.lazyLoad(exports, ["CustomObject"], () => require("./customObject")); + +export { CustomerGroupArgs, CustomerGroupState } from "./customerGroup"; +export type CustomerGroup = import("./customerGroup").CustomerGroup; +export const CustomerGroup: typeof import("./customerGroup").CustomerGroup = null as any; +utilities.lazyLoad(exports, ["CustomerGroup"], () => require("./customerGroup")); + +export { DiscountCodeArgs, DiscountCodeState } from "./discountCode"; +export type DiscountCode = import("./discountCode").DiscountCode; +export const DiscountCode: typeof import("./discountCode").DiscountCode = null as any; +utilities.lazyLoad(exports, ["DiscountCode"], () => require("./discountCode")); + +export { GetTypeArgs, GetTypeResult, GetTypeOutputArgs } from "./getType"; +export const getType: typeof import("./getType").getType = null as any; +export const getTypeOutput: typeof import("./getType").getTypeOutput = null as any; +utilities.lazyLoad(exports, ["getType","getTypeOutput"], () => require("./getType")); + +export { ProductDiscountArgs, ProductDiscountState } from "./productDiscount"; +export type ProductDiscount = import("./productDiscount").ProductDiscount; +export const ProductDiscount: typeof import("./productDiscount").ProductDiscount = null as any; +utilities.lazyLoad(exports, ["ProductDiscount"], () => require("./productDiscount")); + +export { ProductTypeArgs, ProductTypeState } from "./productType"; +export type ProductType = import("./productType").ProductType; +export const ProductType: typeof import("./productType").ProductType = null as any; +utilities.lazyLoad(exports, ["ProductType"], () => require("./productType")); + +export { ProjectSettingsArgs, ProjectSettingsState } from "./projectSettings"; +export type ProjectSettings = import("./projectSettings").ProjectSettings; +export const ProjectSettings: typeof import("./projectSettings").ProjectSettings = null as any; +utilities.lazyLoad(exports, ["ProjectSettings"], () => require("./projectSettings")); + +export { ProviderArgs } from "./provider"; +export type Provider = import("./provider").Provider; +export const Provider: typeof import("./provider").Provider = null as any; +utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); + +export { ShippingMethodArgs, ShippingMethodState } from "./shippingMethod"; +export type ShippingMethod = import("./shippingMethod").ShippingMethod; +export const ShippingMethod: typeof import("./shippingMethod").ShippingMethod = null as any; +utilities.lazyLoad(exports, ["ShippingMethod"], () => require("./shippingMethod")); + +export { ShippingZoneArgs, ShippingZoneState } from "./shippingZone"; +export type ShippingZone = import("./shippingZone").ShippingZone; +export const ShippingZone: typeof import("./shippingZone").ShippingZone = null as any; +utilities.lazyLoad(exports, ["ShippingZone"], () => require("./shippingZone")); + +export { ShippingZoneRateArgs, ShippingZoneRateState } from "./shippingZoneRate"; +export type ShippingZoneRate = import("./shippingZoneRate").ShippingZoneRate; +export const ShippingZoneRate: typeof import("./shippingZoneRate").ShippingZoneRate = null as any; +utilities.lazyLoad(exports, ["ShippingZoneRate"], () => require("./shippingZoneRate")); + +export { StateArgs, StateState } from "./state"; +export type State = import("./state").State; +export const State: typeof import("./state").State = null as any; +utilities.lazyLoad(exports, ["State"], () => require("./state")); + +export { StateTransitionsArgs, StateTransitionsState } from "./stateTransitions"; +export type StateTransitions = import("./stateTransitions").StateTransitions; +export const StateTransitions: typeof import("./stateTransitions").StateTransitions = null as any; +utilities.lazyLoad(exports, ["StateTransitions"], () => require("./stateTransitions")); + +export { StoreArgs, StoreState } from "./store"; +export type Store = import("./store").Store; +export const Store: typeof import("./store").Store = null as any; +utilities.lazyLoad(exports, ["Store"], () => require("./store")); + +export { SubscriptionArgs, SubscriptionState } from "./subscription"; +export type Subscription = import("./subscription").Subscription; +export const Subscription: typeof import("./subscription").Subscription = null as any; +utilities.lazyLoad(exports, ["Subscription"], () => require("./subscription")); + +export { TaxCategoryArgs, TaxCategoryState } from "./taxCategory"; +export type TaxCategory = import("./taxCategory").TaxCategory; +export const TaxCategory: typeof import("./taxCategory").TaxCategory = null as any; +utilities.lazyLoad(exports, ["TaxCategory"], () => require("./taxCategory")); + +export { TaxCategoryRateArgs, TaxCategoryRateState } from "./taxCategoryRate"; +export type TaxCategoryRate = import("./taxCategoryRate").TaxCategoryRate; +export const TaxCategoryRate: typeof import("./taxCategoryRate").TaxCategoryRate = null as any; +utilities.lazyLoad(exports, ["TaxCategoryRate"], () => require("./taxCategoryRate")); + +export { TypeArgs, TypeState } from "./type"; +export type Type = import("./type").Type; +export const Type: typeof import("./type").Type = null as any; +utilities.lazyLoad(exports, ["Type"], () => require("./type")); + // Export sub-modules: import * as config from "./config"; @@ -33,25 +130,6 @@ export { types, }; -// Import resources to register: -import { ApiClient } from "./apiClient"; -import { ApiExtension } from "./apiExtension"; -import { CartDiscount } from "./cartDiscount"; -import { Channel } from "./channel"; -import { CustomObject } from "./customObject"; -import { DiscountCode } from "./discountCode"; -import { ProductType } from "./productType"; -import { ProjectSettings } from "./projectSettings"; -import { ShippingMethod } from "./shippingMethod"; -import { ShippingZone } from "./shippingZone"; -import { ShippingZoneRate } from "./shippingZoneRate"; -import { State } from "./state"; -import { Store } from "./store"; -import { Subscription } from "./subscription"; -import { TaxCategory } from "./taxCategory"; -import { TaxCategoryRate } from "./taxCategoryRate"; -import { Type } from "./type"; - const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { @@ -62,12 +140,18 @@ const _module = { return new ApiExtension(name, undefined, { urn }) case "commercetools:index/cartDiscount:CartDiscount": return new CartDiscount(name, undefined, { urn }) + case "commercetools:index/category:Category": + return new Category(name, undefined, { urn }) case "commercetools:index/channel:Channel": return new Channel(name, undefined, { urn }) case "commercetools:index/customObject:CustomObject": return new CustomObject(name, undefined, { urn }) + case "commercetools:index/customerGroup:CustomerGroup": + return new CustomerGroup(name, undefined, { urn }) case "commercetools:index/discountCode:DiscountCode": return new DiscountCode(name, undefined, { urn }) + case "commercetools:index/productDiscount:ProductDiscount": + return new ProductDiscount(name, undefined, { urn }) case "commercetools:index/productType:ProductType": return new ProductType(name, undefined, { urn }) case "commercetools:index/projectSettings:ProjectSettings": @@ -80,6 +164,8 @@ const _module = { return new ShippingZoneRate(name, undefined, { urn }) case "commercetools:index/state:State": return new State(name, undefined, { urn }) + case "commercetools:index/stateTransitions:StateTransitions": + return new StateTransitions(name, undefined, { urn }) case "commercetools:index/store:Store": return new Store(name, undefined, { urn }) case "commercetools:index/subscription:Subscription": @@ -98,23 +184,24 @@ const _module = { pulumi.runtime.registerResourceModule("commercetools", "index/apiClient", _module) pulumi.runtime.registerResourceModule("commercetools", "index/apiExtension", _module) pulumi.runtime.registerResourceModule("commercetools", "index/cartDiscount", _module) +pulumi.runtime.registerResourceModule("commercetools", "index/category", _module) pulumi.runtime.registerResourceModule("commercetools", "index/channel", _module) pulumi.runtime.registerResourceModule("commercetools", "index/customObject", _module) +pulumi.runtime.registerResourceModule("commercetools", "index/customerGroup", _module) pulumi.runtime.registerResourceModule("commercetools", "index/discountCode", _module) +pulumi.runtime.registerResourceModule("commercetools", "index/productDiscount", _module) pulumi.runtime.registerResourceModule("commercetools", "index/productType", _module) pulumi.runtime.registerResourceModule("commercetools", "index/projectSettings", _module) pulumi.runtime.registerResourceModule("commercetools", "index/shippingMethod", _module) pulumi.runtime.registerResourceModule("commercetools", "index/shippingZone", _module) pulumi.runtime.registerResourceModule("commercetools", "index/shippingZoneRate", _module) pulumi.runtime.registerResourceModule("commercetools", "index/state", _module) +pulumi.runtime.registerResourceModule("commercetools", "index/stateTransitions", _module) pulumi.runtime.registerResourceModule("commercetools", "index/store", _module) pulumi.runtime.registerResourceModule("commercetools", "index/subscription", _module) pulumi.runtime.registerResourceModule("commercetools", "index/taxCategory", _module) pulumi.runtime.registerResourceModule("commercetools", "index/taxCategoryRate", _module) pulumi.runtime.registerResourceModule("commercetools", "index/type", _module) - -import { Provider } from "./provider"; - pulumi.runtime.registerResourcePackage("commercetools", { version: utilities.getVersion(), constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => { diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 7b2c458..a201905 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -10,16 +10,19 @@ "repository": "https://github.com/unplatform-io/pulumi-commercetools", "license": "Apache-2.0", "scripts": { - "build": "tsc" + "build": "tsc", + "install": "node scripts/install-pulumi-plugin.js resource commercetools ${VERSION}" }, "dependencies": { "@pulumi/pulumi": "^3.0.0" }, "devDependencies": { "@types/mime": "^2.0.0", - "@types/node": "^10.0.0" + "@types/node": "^10.0.0", + "typescript": "^4.3.5" }, "pulumi": { - "resource": true + "resource": true, + "name": "commercetools" } -} \ No newline at end of file +} diff --git a/sdk/nodejs/productDiscount.ts b/sdk/nodejs/productDiscount.ts new file mode 100644 index 0000000..fe5f815 --- /dev/null +++ b/sdk/nodejs/productDiscount.ts @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export class ProductDiscount extends pulumi.CustomResource { + /** + * Get an existing ProductDiscount resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: ProductDiscountState, opts?: pulumi.CustomResourceOptions): ProductDiscount { + return new ProductDiscount(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'commercetools:index/productDiscount:ProductDiscount'; + + /** + * Returns true if the given object is an instance of ProductDiscount. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is ProductDiscount { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === ProductDiscount.__pulumiType; + } + + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + public readonly description!: pulumi.Output<{[key: string]: any} | undefined>; + /** + * When set the product discount is applied to products matching the predicate + */ + public readonly isActive!: pulumi.Output; + /** + * User-defined unique identifier for the ProductDiscount. Must be unique across a project + */ + public readonly key!: pulumi.Output; + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + public readonly name!: pulumi.Output<{[key: string]: any}>; + /** + * A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + */ + public readonly predicate!: pulumi.Output; + /** + * The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + * defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + * The sort order is unambiguous among all product discounts + */ + public readonly sortOrder!: pulumi.Output; + public readonly validFrom!: pulumi.Output; + public readonly validUntil!: pulumi.Output; + /** + * Defines the effect the discount will have. + * [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + */ + public readonly value!: pulumi.Output; + public /*out*/ readonly version!: pulumi.Output; + + /** + * Create a ProductDiscount resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ProductDiscountArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: ProductDiscountArgs | ProductDiscountState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as ProductDiscountState | undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["isActive"] = state ? state.isActive : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["predicate"] = state ? state.predicate : undefined; + resourceInputs["sortOrder"] = state ? state.sortOrder : undefined; + resourceInputs["validFrom"] = state ? state.validFrom : undefined; + resourceInputs["validUntil"] = state ? state.validUntil : undefined; + resourceInputs["value"] = state ? state.value : undefined; + resourceInputs["version"] = state ? state.version : undefined; + } else { + const args = argsOrState as ProductDiscountArgs | undefined; + if ((!args || args.predicate === undefined) && !opts.urn) { + throw new Error("Missing required property 'predicate'"); + } + if ((!args || args.sortOrder === undefined) && !opts.urn) { + throw new Error("Missing required property 'sortOrder'"); + } + if ((!args || args.value === undefined) && !opts.urn) { + throw new Error("Missing required property 'value'"); + } + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["isActive"] = args ? args.isActive : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["predicate"] = args ? args.predicate : undefined; + resourceInputs["sortOrder"] = args ? args.sortOrder : undefined; + resourceInputs["validFrom"] = args ? args.validFrom : undefined; + resourceInputs["validUntil"] = args ? args.validUntil : undefined; + resourceInputs["value"] = args ? args.value : undefined; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ProductDiscount.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering ProductDiscount resources. + */ +export interface ProductDiscountState { + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + description?: pulumi.Input<{[key: string]: any}>; + /** + * When set the product discount is applied to products matching the predicate + */ + isActive?: pulumi.Input; + /** + * User-defined unique identifier for the ProductDiscount. Must be unique across a project + */ + key?: pulumi.Input; + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + name?: pulumi.Input<{[key: string]: any}>; + /** + * A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + */ + predicate?: pulumi.Input; + /** + * The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + * defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + * The sort order is unambiguous among all product discounts + */ + sortOrder?: pulumi.Input; + validFrom?: pulumi.Input; + validUntil?: pulumi.Input; + /** + * Defines the effect the discount will have. + * [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + */ + value?: pulumi.Input; + version?: pulumi.Input; +} + +/** + * The set of arguments for constructing a ProductDiscount resource. + */ +export interface ProductDiscountArgs { + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + description?: pulumi.Input<{[key: string]: any}>; + /** + * When set the product discount is applied to products matching the predicate + */ + isActive?: pulumi.Input; + /** + * User-defined unique identifier for the ProductDiscount. Must be unique across a project + */ + key?: pulumi.Input; + /** + * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + */ + name?: pulumi.Input<{[key: string]: any}>; + /** + * A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + */ + predicate: pulumi.Input; + /** + * The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + * defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + * The sort order is unambiguous among all product discounts + */ + sortOrder: pulumi.Input; + validFrom?: pulumi.Input; + validUntil?: pulumi.Input; + /** + * Defines the effect the discount will have. + * [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + */ + value: pulumi.Input; +} diff --git a/sdk/nodejs/productType.ts b/sdk/nodejs/productType.ts index fed085f..a91668c 100644 --- a/sdk/nodejs/productType.ts +++ b/sdk/nodejs/productType.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ProductType extends pulumi.CustomResource { @@ -54,27 +55,25 @@ export class ProductType extends pulumi.CustomResource { */ constructor(name: string, args?: ProductTypeArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ProductTypeArgs | ProductTypeState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ProductTypeState | undefined; - inputs["attributes"] = state ? state.attributes : undefined; - inputs["description"] = state ? state.description : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["attributes"] = state ? state.attributes : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ProductTypeArgs | undefined; - inputs["attributes"] = args ? args.attributes : undefined; - inputs["description"] = args ? args.description : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["attributes"] = args ? args.attributes : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ProductType.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ProductType.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/projectSettings.ts b/sdk/nodejs/projectSettings.ts index e78bd54..6669b3d 100644 --- a/sdk/nodejs/projectSettings.ts +++ b/sdk/nodejs/projectSettings.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ProjectSettings extends pulumi.CustomResource { @@ -40,11 +41,19 @@ export class ProjectSettings extends pulumi.CustomResource { /** * A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) */ - public readonly countries!: pulumi.Output; + public readonly countries!: pulumi.Output; /** * A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) */ - public readonly currencies!: pulumi.Output; + public readonly currencies!: pulumi.Output; + /** + * Enable the Search Indexing of orders + */ + public readonly enableSearchIndexOrders!: pulumi.Output; + /** + * Enable the Search Indexing of products + */ + public readonly enableSearchIndexProducts!: pulumi.Output; /** * [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) */ @@ -56,9 +65,9 @@ export class ProjectSettings extends pulumi.CustomResource { /** * [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) */ - public readonly languages!: pulumi.Output; + public readonly languages!: pulumi.Output; /** - * [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + * The change notifications subscribed to */ public readonly messages!: pulumi.Output; /** @@ -87,39 +96,41 @@ export class ProjectSettings extends pulumi.CustomResource { */ constructor(name: string, args?: ProjectSettingsArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ProjectSettingsArgs | ProjectSettingsState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ProjectSettingsState | undefined; - inputs["carts"] = state ? state.carts : undefined; - inputs["countries"] = state ? state.countries : undefined; - inputs["currencies"] = state ? state.currencies : undefined; - inputs["externalOauth"] = state ? state.externalOauth : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["languages"] = state ? state.languages : undefined; - inputs["messages"] = state ? state.messages : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["shippingRateCartClassificationValues"] = state ? state.shippingRateCartClassificationValues : undefined; - inputs["shippingRateInputType"] = state ? state.shippingRateInputType : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["carts"] = state ? state.carts : undefined; + resourceInputs["countries"] = state ? state.countries : undefined; + resourceInputs["currencies"] = state ? state.currencies : undefined; + resourceInputs["enableSearchIndexOrders"] = state ? state.enableSearchIndexOrders : undefined; + resourceInputs["enableSearchIndexProducts"] = state ? state.enableSearchIndexProducts : undefined; + resourceInputs["externalOauth"] = state ? state.externalOauth : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["languages"] = state ? state.languages : undefined; + resourceInputs["messages"] = state ? state.messages : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["shippingRateCartClassificationValues"] = state ? state.shippingRateCartClassificationValues : undefined; + resourceInputs["shippingRateInputType"] = state ? state.shippingRateInputType : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ProjectSettingsArgs | undefined; - inputs["carts"] = args ? args.carts : undefined; - inputs["countries"] = args ? args.countries : undefined; - inputs["currencies"] = args ? args.currencies : undefined; - inputs["externalOauth"] = args ? args.externalOauth : undefined; - inputs["languages"] = args ? args.languages : undefined; - inputs["messages"] = args ? args.messages : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["shippingRateCartClassificationValues"] = args ? args.shippingRateCartClassificationValues : undefined; - inputs["shippingRateInputType"] = args ? args.shippingRateInputType : undefined; - inputs["key"] = undefined /*out*/; - inputs["version"] = undefined /*out*/; + resourceInputs["carts"] = args ? args.carts : undefined; + resourceInputs["countries"] = args ? args.countries : undefined; + resourceInputs["currencies"] = args ? args.currencies : undefined; + resourceInputs["enableSearchIndexOrders"] = args ? args.enableSearchIndexOrders : undefined; + resourceInputs["enableSearchIndexProducts"] = args ? args.enableSearchIndexProducts : undefined; + resourceInputs["externalOauth"] = args ? args.externalOauth : undefined; + resourceInputs["languages"] = args ? args.languages : undefined; + resourceInputs["messages"] = args ? args.messages : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["shippingRateCartClassificationValues"] = args ? args.shippingRateCartClassificationValues : undefined; + resourceInputs["shippingRateInputType"] = args ? args.shippingRateInputType : undefined; + resourceInputs["key"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ProjectSettings.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ProjectSettings.__pulumiType, name, resourceInputs, opts); } } @@ -139,6 +150,14 @@ export interface ProjectSettingsState { * A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) */ currencies?: pulumi.Input[]>; + /** + * Enable the Search Indexing of orders + */ + enableSearchIndexOrders?: pulumi.Input; + /** + * Enable the Search Indexing of products + */ + enableSearchIndexProducts?: pulumi.Input; /** * [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) */ @@ -152,7 +171,7 @@ export interface ProjectSettingsState { */ languages?: pulumi.Input[]>; /** - * [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + * The change notifications subscribed to */ messages?: pulumi.Input; /** @@ -189,6 +208,14 @@ export interface ProjectSettingsArgs { * A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) */ currencies?: pulumi.Input[]>; + /** + * Enable the Search Indexing of orders + */ + enableSearchIndexOrders?: pulumi.Input; + /** + * Enable the Search Indexing of products + */ + enableSearchIndexProducts?: pulumi.Input; /** * [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) */ @@ -198,7 +225,7 @@ export interface ProjectSettingsArgs { */ languages?: pulumi.Input[]>; /** - * [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + * The change notifications subscribed to */ messages?: pulumi.Input; /** diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index df4e800..abb5378 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -22,34 +22,34 @@ export class Provider extends pulumi.ProviderResource { if (obj === undefined || obj === null) { return false; } - return obj['__pulumiType'] === Provider.__pulumiType; + return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType; } /** * The API URL of the commercetools platform. https://docs.commercetools.com/http-api */ - public readonly apiUrl!: pulumi.Output; + public readonly apiUrl!: pulumi.Output; /** * The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ - public readonly clientId!: pulumi.Output; + public readonly clientId!: pulumi.Output; /** * The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ - public readonly clientSecret!: pulumi.Output; + public readonly clientSecret!: pulumi.Output; /** * The project key of commercetools platform project. https://docs.commercetools.com/getting-started */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. * https://docs.commercetools.com/http-api-authorization */ - public readonly scopes!: pulumi.Output; + public readonly scopes!: pulumi.Output; /** * The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization */ - public readonly tokenUrl!: pulumi.Output; + public readonly tokenUrl!: pulumi.Output; /** * Create a Provider resource with the given unique name, arguments, and options. @@ -58,39 +58,21 @@ export class Provider extends pulumi.ProviderResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args: ProviderArgs, opts?: pulumi.ResourceOptions) { - let inputs: pulumi.Inputs = {}; + constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; { - if ((!args || args.apiUrl === undefined) && !opts.urn) { - throw new Error("Missing required property 'apiUrl'"); - } - if ((!args || args.clientId === undefined) && !opts.urn) { - throw new Error("Missing required property 'clientId'"); - } - if ((!args || args.clientSecret === undefined) && !opts.urn) { - throw new Error("Missing required property 'clientSecret'"); - } - if ((!args || args.projectKey === undefined) && !opts.urn) { - throw new Error("Missing required property 'projectKey'"); - } - if ((!args || args.scopes === undefined) && !opts.urn) { - throw new Error("Missing required property 'scopes'"); - } - if ((!args || args.tokenUrl === undefined) && !opts.urn) { - throw new Error("Missing required property 'tokenUrl'"); - } - inputs["apiUrl"] = args ? args.apiUrl : undefined; - inputs["clientId"] = args ? args.clientId : undefined; - inputs["clientSecret"] = args ? args.clientSecret : undefined; - inputs["projectKey"] = args ? args.projectKey : undefined; - inputs["scopes"] = args ? args.scopes : undefined; - inputs["tokenUrl"] = args ? args.tokenUrl : undefined; + resourceInputs["apiUrl"] = args ? args.apiUrl : undefined; + resourceInputs["clientId"] = args?.clientId ? pulumi.secret(args.clientId) : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; + resourceInputs["projectKey"] = args?.projectKey ? pulumi.secret(args.projectKey) : undefined; + resourceInputs["scopes"] = args ? args.scopes : undefined; + resourceInputs["tokenUrl"] = args ? args.tokenUrl : undefined; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(Provider.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientId", "clientSecret", "projectKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); + super(Provider.__pulumiType, name, resourceInputs, opts); } } @@ -101,26 +83,26 @@ export interface ProviderArgs { /** * The API URL of the commercetools platform. https://docs.commercetools.com/http-api */ - apiUrl: pulumi.Input; + apiUrl?: pulumi.Input; /** * The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ - clientId: pulumi.Input; + clientId?: pulumi.Input; /** * The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization */ - clientSecret: pulumi.Input; + clientSecret?: pulumi.Input; /** * The project key of commercetools platform project. https://docs.commercetools.com/getting-started */ - projectKey: pulumi.Input; + projectKey?: pulumi.Input; /** * A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. * https://docs.commercetools.com/http-api-authorization */ - scopes: pulumi.Input; + scopes?: pulumi.Input; /** * The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization */ - tokenUrl: pulumi.Input; + tokenUrl?: pulumi.Input; } diff --git a/sdk/nodejs/scripts/install-pulumi-plugin.js b/sdk/nodejs/scripts/install-pulumi-plugin.js new file mode 100644 index 0000000..fefc6e0 --- /dev/null +++ b/sdk/nodejs/scripts/install-pulumi-plugin.js @@ -0,0 +1,26 @@ +"use strict"; +var childProcess = require("child_process"); + +var args = process.argv.slice(2); + +if (args.indexOf("${VERSION}") !== -1) { + process.exit(0); +} + +var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), { + stdio: ["ignore", "inherit", "inherit"] +}); + +if (res.error && res.error.code === "ENOENT") { + console.error("\nThere was an error installing the resource provider plugin. " + + "It looks like `pulumi` is not installed on your system. " + + "Please visit https://pulumi.com/ to install the Pulumi CLI.\n" + + "You may try manually installing the plugin by running " + + "`pulumi plugin install " + args.join(" ") + "`"); +} else if (res.error || res.status !== 0) { + console.error("\nThere was an error installing the resource provider plugin. " + + "You may try to manually installing the plugin by running " + + "`pulumi plugin install " + args.join(" ") + "`"); +} + +process.exit(0); diff --git a/sdk/nodejs/shippingMethod.ts b/sdk/nodejs/shippingMethod.ts index a5f9204..182a36d 100644 --- a/sdk/nodejs/shippingMethod.ts +++ b/sdk/nodejs/shippingMethod.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ShippingMethod extends pulumi.CustomResource { @@ -32,6 +34,7 @@ export class ShippingMethod extends pulumi.CustomResource { return obj['__pulumiType'] === ShippingMethod.__pulumiType; } + public readonly custom!: pulumi.Output; public readonly description!: pulumi.Output; /** * One shipping method in a project can be default @@ -42,7 +45,7 @@ export class ShippingMethod extends pulumi.CustomResource { */ public readonly key!: pulumi.Output; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) */ public readonly localizedDescription!: pulumi.Output<{[key: string]: any} | undefined>; public readonly name!: pulumi.Output; @@ -51,9 +54,9 @@ export class ShippingMethod extends pulumi.CustomResource { */ public readonly predicate!: pulumi.Output; /** - * ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + * ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) */ - public readonly taxCategoryId!: pulumi.Output; + public readonly taxCategoryId!: pulumi.Output; public /*out*/ readonly version!: pulumi.Output; /** @@ -63,35 +66,38 @@ export class ShippingMethod extends pulumi.CustomResource { * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ - constructor(name: string, args?: ShippingMethodArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, args: ShippingMethodArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ShippingMethodArgs | ShippingMethodState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ShippingMethodState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["isDefault"] = state ? state.isDefault : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["localizedDescription"] = state ? state.localizedDescription : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["predicate"] = state ? state.predicate : undefined; - inputs["taxCategoryId"] = state ? state.taxCategoryId : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["isDefault"] = state ? state.isDefault : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["localizedDescription"] = state ? state.localizedDescription : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["predicate"] = state ? state.predicate : undefined; + resourceInputs["taxCategoryId"] = state ? state.taxCategoryId : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ShippingMethodArgs | undefined; - inputs["description"] = args ? args.description : undefined; - inputs["isDefault"] = args ? args.isDefault : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["localizedDescription"] = args ? args.localizedDescription : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["predicate"] = args ? args.predicate : undefined; - inputs["taxCategoryId"] = args ? args.taxCategoryId : undefined; - inputs["version"] = undefined /*out*/; + if ((!args || args.taxCategoryId === undefined) && !opts.urn) { + throw new Error("Missing required property 'taxCategoryId'"); + } + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["isDefault"] = args ? args.isDefault : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["localizedDescription"] = args ? args.localizedDescription : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["predicate"] = args ? args.predicate : undefined; + resourceInputs["taxCategoryId"] = args ? args.taxCategoryId : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ShippingMethod.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ShippingMethod.__pulumiType, name, resourceInputs, opts); } } @@ -99,6 +105,7 @@ export class ShippingMethod extends pulumi.CustomResource { * Input properties used for looking up and filtering ShippingMethod resources. */ export interface ShippingMethodState { + custom?: pulumi.Input; description?: pulumi.Input; /** * One shipping method in a project can be default @@ -109,7 +116,7 @@ export interface ShippingMethodState { */ key?: pulumi.Input; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) */ localizedDescription?: pulumi.Input<{[key: string]: any}>; name?: pulumi.Input; @@ -118,7 +125,7 @@ export interface ShippingMethodState { */ predicate?: pulumi.Input; /** - * ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + * ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) */ taxCategoryId?: pulumi.Input; version?: pulumi.Input; @@ -128,6 +135,7 @@ export interface ShippingMethodState { * The set of arguments for constructing a ShippingMethod resource. */ export interface ShippingMethodArgs { + custom?: pulumi.Input; description?: pulumi.Input; /** * One shipping method in a project can be default @@ -138,7 +146,7 @@ export interface ShippingMethodArgs { */ key?: pulumi.Input; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) */ localizedDescription?: pulumi.Input<{[key: string]: any}>; name?: pulumi.Input; @@ -147,7 +155,7 @@ export interface ShippingMethodArgs { */ predicate?: pulumi.Input; /** - * ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + * ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) */ - taxCategoryId?: pulumi.Input; + taxCategoryId: pulumi.Input; } diff --git a/sdk/nodejs/shippingZone.ts b/sdk/nodejs/shippingZone.ts index d1e8d6c..92e0507 100644 --- a/sdk/nodejs/shippingZone.ts +++ b/sdk/nodejs/shippingZone.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ShippingZone extends pulumi.CustomResource { @@ -39,7 +40,7 @@ export class ShippingZone extends pulumi.CustomResource { */ public readonly key!: pulumi.Output; /** - * [Location](https://docs.commercetools.com/api/projects/zones#location) + * [Location](https://docs.commercetoolstools.pi/projects/zones#location) */ public readonly locations!: pulumi.Output; public readonly name!: pulumi.Output; @@ -54,27 +55,25 @@ export class ShippingZone extends pulumi.CustomResource { */ constructor(name: string, args?: ShippingZoneArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ShippingZoneArgs | ShippingZoneState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ShippingZoneState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["locations"] = state ? state.locations : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["locations"] = state ? state.locations : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as ShippingZoneArgs | undefined; - inputs["description"] = args ? args.description : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["locations"] = args ? args.locations : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["locations"] = args ? args.locations : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ShippingZone.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ShippingZone.__pulumiType, name, resourceInputs, opts); } } @@ -88,7 +87,7 @@ export interface ShippingZoneState { */ key?: pulumi.Input; /** - * [Location](https://docs.commercetools.com/api/projects/zones#location) + * [Location](https://docs.commercetoolstools.pi/projects/zones#location) */ locations?: pulumi.Input[]>; name?: pulumi.Input; @@ -105,7 +104,7 @@ export interface ShippingZoneArgs { */ key?: pulumi.Input; /** - * [Location](https://docs.commercetools.com/api/projects/zones#location) + * [Location](https://docs.commercetoolstools.pi/projects/zones#location) */ locations?: pulumi.Input[]>; name?: pulumi.Input; diff --git a/sdk/nodejs/shippingZoneRate.ts b/sdk/nodejs/shippingZoneRate.ts index 1f37c74..453de45 100644 --- a/sdk/nodejs/shippingZoneRate.ts +++ b/sdk/nodejs/shippingZoneRate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class ShippingZoneRate extends pulumi.CustomResource { @@ -56,15 +57,15 @@ export class ShippingZoneRate extends pulumi.CustomResource { */ constructor(name: string, args: ShippingZoneRateArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: ShippingZoneRateArgs | ShippingZoneRateState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as ShippingZoneRateState | undefined; - inputs["freeAbove"] = state ? state.freeAbove : undefined; - inputs["price"] = state ? state.price : undefined; - inputs["shippingMethodId"] = state ? state.shippingMethodId : undefined; - inputs["shippingRatePriceTiers"] = state ? state.shippingRatePriceTiers : undefined; - inputs["shippingZoneId"] = state ? state.shippingZoneId : undefined; + resourceInputs["freeAbove"] = state ? state.freeAbove : undefined; + resourceInputs["price"] = state ? state.price : undefined; + resourceInputs["shippingMethodId"] = state ? state.shippingMethodId : undefined; + resourceInputs["shippingRatePriceTiers"] = state ? state.shippingRatePriceTiers : undefined; + resourceInputs["shippingZoneId"] = state ? state.shippingZoneId : undefined; } else { const args = argsOrState as ShippingZoneRateArgs | undefined; if ((!args || args.price === undefined) && !opts.urn) { @@ -76,16 +77,14 @@ export class ShippingZoneRate extends pulumi.CustomResource { if ((!args || args.shippingZoneId === undefined) && !opts.urn) { throw new Error("Missing required property 'shippingZoneId'"); } - inputs["freeAbove"] = args ? args.freeAbove : undefined; - inputs["price"] = args ? args.price : undefined; - inputs["shippingMethodId"] = args ? args.shippingMethodId : undefined; - inputs["shippingRatePriceTiers"] = args ? args.shippingRatePriceTiers : undefined; - inputs["shippingZoneId"] = args ? args.shippingZoneId : undefined; + resourceInputs["freeAbove"] = args ? args.freeAbove : undefined; + resourceInputs["price"] = args ? args.price : undefined; + resourceInputs["shippingMethodId"] = args ? args.shippingMethodId : undefined; + resourceInputs["shippingRatePriceTiers"] = args ? args.shippingRatePriceTiers : undefined; + resourceInputs["shippingZoneId"] = args ? args.shippingZoneId : undefined; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(ShippingZoneRate.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(ShippingZoneRate.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/state.ts b/sdk/nodejs/state.ts index 05d970e..918cb14 100644 --- a/sdk/nodejs/state.ts +++ b/sdk/nodejs/state.ts @@ -33,34 +33,26 @@ export class State extends pulumi.CustomResource { } /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Description of the State as localized string. */ - public readonly description!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly description!: pulumi.Output<{[key: string]: string} | undefined>; /** * A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an * initial state */ - public readonly initial!: pulumi.Output; + public readonly initial!: pulumi.Output; /** - * A unique identifier for the state + * Timestamp of the last Terraform update of the order. */ - public readonly key!: pulumi.Output; + public readonly key!: pulumi.Output; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Name of the State as localized string. */ - public readonly name!: pulumi.Output<{[key: string]: any}>; + public readonly name!: pulumi.Output<{[key: string]: string}>; /** - * Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + * [State Role](https://docs.commercetools.com/api/projects/states#staterole) */ public readonly roles!: pulumi.Output; - /** - * Transitions are a way to describe possible transformations of the current state to other states of the same type (for - * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - * performing a transitionState update action, any other state of the same type can be transitioned to - */ - public readonly transitions!: pulumi.Output; /** * [StateType](https://docs.commercetools.com/api/projects/states#statetype) */ @@ -76,39 +68,32 @@ export class State extends pulumi.CustomResource { */ constructor(name: string, args: StateArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: StateArgs | StateState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as StateState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["initial"] = state ? state.initial : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["roles"] = state ? state.roles : undefined; - inputs["transitions"] = state ? state.transitions : undefined; - inputs["type"] = state ? state.type : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["initial"] = state ? state.initial : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["roles"] = state ? state.roles : undefined; + resourceInputs["type"] = state ? state.type : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as StateArgs | undefined; - if ((!args || args.key === undefined) && !opts.urn) { - throw new Error("Missing required property 'key'"); - } if ((!args || args.type === undefined) && !opts.urn) { throw new Error("Missing required property 'type'"); } - inputs["description"] = args ? args.description : undefined; - inputs["initial"] = args ? args.initial : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["roles"] = args ? args.roles : undefined; - inputs["transitions"] = args ? args.transitions : undefined; - inputs["type"] = args ? args.type : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["initial"] = args ? args.initial : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["roles"] = args ? args.roles : undefined; + resourceInputs["type"] = args ? args.type : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(State.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(State.__pulumiType, name, resourceInputs, opts); } } @@ -117,34 +102,26 @@ export class State extends pulumi.CustomResource { */ export interface StateState { /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Description of the State as localized string. */ - description?: pulumi.Input<{[key: string]: any}>; + description?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an * initial state */ initial?: pulumi.Input; /** - * A unique identifier for the state + * Timestamp of the last Terraform update of the order. */ key?: pulumi.Input; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Name of the State as localized string. */ - name?: pulumi.Input<{[key: string]: any}>; + name?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + * [State Role](https://docs.commercetools.com/api/projects/states#staterole) */ roles?: pulumi.Input[]>; - /** - * Transitions are a way to describe possible transformations of the current state to other states of the same type (for - * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - * performing a transitionState update action, any other state of the same type can be transitioned to - */ - transitions?: pulumi.Input[]>; /** * [StateType](https://docs.commercetools.com/api/projects/states#statetype) */ @@ -157,34 +134,26 @@ export interface StateState { */ export interface StateArgs { /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Description of the State as localized string. */ - description?: pulumi.Input<{[key: string]: any}>; + description?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an * initial state */ initial?: pulumi.Input; /** - * A unique identifier for the state + * Timestamp of the last Terraform update of the order. */ - key: pulumi.Input; + key?: pulumi.Input; /** - * [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + * Name of the State as localized string. */ - name?: pulumi.Input<{[key: string]: any}>; + name?: pulumi.Input<{[key: string]: pulumi.Input}>; /** - * Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + * [State Role](https://docs.commercetools.com/api/projects/states#staterole) */ roles?: pulumi.Input[]>; - /** - * Transitions are a way to describe possible transformations of the current state to other states of the same type (for - * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - * performing a transitionState update action, any other state of the same type can be transitioned to - */ - transitions?: pulumi.Input[]>; /** * [StateType](https://docs.commercetools.com/api/projects/states#statetype) */ diff --git a/sdk/nodejs/stateTransitions.ts b/sdk/nodejs/stateTransitions.ts new file mode 100644 index 0000000..fac86b9 --- /dev/null +++ b/sdk/nodejs/stateTransitions.ts @@ -0,0 +1,113 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export class StateTransitions extends pulumi.CustomResource { + /** + * Get an existing StateTransitions resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: StateTransitionsState, opts?: pulumi.CustomResourceOptions): StateTransitions { + return new StateTransitions(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'commercetools:index/stateTransitions:StateTransitions'; + + /** + * Returns true if the given object is an instance of StateTransitions. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is StateTransitions { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === StateTransitions.__pulumiType; + } + + /** + * ID of the state to transition from + */ + public readonly from!: pulumi.Output; + /** + * Transitions are a way to describe possible transformations of the current state to other states of the same type (for + * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + * performing a transitionState update action, any other state of the same type can be transitioned to + */ + public readonly tos!: pulumi.Output; + + /** + * Create a StateTransitions resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: StateTransitionsArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: StateTransitionsArgs | StateTransitionsState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as StateTransitionsState | undefined; + resourceInputs["from"] = state ? state.from : undefined; + resourceInputs["tos"] = state ? state.tos : undefined; + } else { + const args = argsOrState as StateTransitionsArgs | undefined; + if ((!args || args.from === undefined) && !opts.urn) { + throw new Error("Missing required property 'from'"); + } + if ((!args || args.tos === undefined) && !opts.urn) { + throw new Error("Missing required property 'tos'"); + } + resourceInputs["from"] = args ? args.from : undefined; + resourceInputs["tos"] = args ? args.tos : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(StateTransitions.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering StateTransitions resources. + */ +export interface StateTransitionsState { + /** + * ID of the state to transition from + */ + from?: pulumi.Input; + /** + * Transitions are a way to describe possible transformations of the current state to other states of the same type (for + * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + * performing a transitionState update action, any other state of the same type can be transitioned to + */ + tos?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a StateTransitions resource. + */ +export interface StateTransitionsArgs { + /** + * ID of the state to transition from + */ + from: pulumi.Input; + /** + * Transitions are a way to describe possible transformations of the current state to other states of the same type (for + * example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + * referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + * a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + * performing a transitionState update action, any other state of the same type can be transitioned to + */ + tos: pulumi.Input[]>; +} diff --git a/sdk/nodejs/store.ts b/sdk/nodejs/store.ts index bceda60..7362160 100644 --- a/sdk/nodejs/store.ts +++ b/sdk/nodejs/store.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class Store extends pulumi.CustomResource { @@ -32,6 +34,7 @@ export class Store extends pulumi.CustomResource { return obj['__pulumiType'] === Store.__pulumiType; } + public readonly custom!: pulumi.Output; /** * Set of ResourceIdentifier to a Channel with ProductDistribution */ @@ -63,32 +66,32 @@ export class Store extends pulumi.CustomResource { */ constructor(name: string, args: StoreArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: StoreArgs | StoreState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as StoreState | undefined; - inputs["distributionChannels"] = state ? state.distributionChannels : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["languages"] = state ? state.languages : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["supplyChannels"] = state ? state.supplyChannels : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["custom"] = state ? state.custom : undefined; + resourceInputs["distributionChannels"] = state ? state.distributionChannels : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["languages"] = state ? state.languages : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["supplyChannels"] = state ? state.supplyChannels : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as StoreArgs | undefined; if ((!args || args.key === undefined) && !opts.urn) { throw new Error("Missing required property 'key'"); } - inputs["distributionChannels"] = args ? args.distributionChannels : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["languages"] = args ? args.languages : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["supplyChannels"] = args ? args.supplyChannels : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["custom"] = args ? args.custom : undefined; + resourceInputs["distributionChannels"] = args ? args.distributionChannels : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["languages"] = args ? args.languages : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["supplyChannels"] = args ? args.supplyChannels : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(Store.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Store.__pulumiType, name, resourceInputs, opts); } } @@ -96,6 +99,7 @@ export class Store extends pulumi.CustomResource { * Input properties used for looking up and filtering Store resources. */ export interface StoreState { + custom?: pulumi.Input; /** * Set of ResourceIdentifier to a Channel with ProductDistribution */ @@ -123,6 +127,7 @@ export interface StoreState { * The set of arguments for constructing a Store resource. */ export interface StoreArgs { + custom?: pulumi.Input; /** * Set of ResourceIdentifier to a Channel with ProductDistribution */ diff --git a/sdk/nodejs/subscription.ts b/sdk/nodejs/subscription.ts index a564dbd..fdb084c 100644 --- a/sdk/nodejs/subscription.ts +++ b/sdk/nodejs/subscription.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class Subscription extends pulumi.CustomResource { @@ -37,17 +38,13 @@ export class Subscription extends pulumi.CustomResource { * The change notifications subscribed to */ public readonly changes!: pulumi.Output; - /** - * The Message Queue into which the notifications are to be sentSee also the [Destination API - * Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - */ public readonly destination!: pulumi.Output; /** * The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered */ public readonly format!: pulumi.Output; /** - * User-specific unique identifier for the subscription + * Timestamp of the last Terraform update of the order. */ public readonly key!: pulumi.Output; /** @@ -65,29 +62,27 @@ export class Subscription extends pulumi.CustomResource { */ constructor(name: string, args?: SubscriptionArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: SubscriptionArgs | SubscriptionState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as SubscriptionState | undefined; - inputs["changes"] = state ? state.changes : undefined; - inputs["destination"] = state ? state.destination : undefined; - inputs["format"] = state ? state.format : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["messages"] = state ? state.messages : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["changes"] = state ? state.changes : undefined; + resourceInputs["destination"] = state ? state.destination : undefined; + resourceInputs["format"] = state ? state.format : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["messages"] = state ? state.messages : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as SubscriptionArgs | undefined; - inputs["changes"] = args ? args.changes : undefined; - inputs["destination"] = args ? args.destination : undefined; - inputs["format"] = args ? args.format : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["messages"] = args ? args.messages : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["changes"] = args ? args.changes : undefined; + resourceInputs["destination"] = args ? args.destination : undefined; + resourceInputs["format"] = args ? args.format : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["messages"] = args ? args.messages : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(Subscription.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Subscription.__pulumiType, name, resourceInputs, opts); } } @@ -99,17 +94,13 @@ export interface SubscriptionState { * The change notifications subscribed to */ changes?: pulumi.Input[]>; - /** - * The Message Queue into which the notifications are to be sentSee also the [Destination API - * Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - */ destination?: pulumi.Input; /** * The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered */ format?: pulumi.Input; /** - * User-specific unique identifier for the subscription + * Timestamp of the last Terraform update of the order. */ key?: pulumi.Input; /** @@ -127,17 +118,13 @@ export interface SubscriptionArgs { * The change notifications subscribed to */ changes?: pulumi.Input[]>; - /** - * The Message Queue into which the notifications are to be sentSee also the [Destination API - * Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - */ destination?: pulumi.Input; /** * The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered */ format?: pulumi.Input; /** - * User-specific unique identifier for the subscription + * Timestamp of the last Terraform update of the order. */ key?: pulumi.Input; /** diff --git a/sdk/nodejs/taxCategory.ts b/sdk/nodejs/taxCategory.ts index 6acd543..aff1a6d 100644 --- a/sdk/nodejs/taxCategory.ts +++ b/sdk/nodejs/taxCategory.ts @@ -49,25 +49,23 @@ export class TaxCategory extends pulumi.CustomResource { */ constructor(name: string, args?: TaxCategoryArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: TaxCategoryArgs | TaxCategoryState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as TaxCategoryState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as TaxCategoryArgs | undefined; - inputs["description"] = args ? args.description : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(TaxCategory.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(TaxCategory.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/taxCategoryRate.ts b/sdk/nodejs/taxCategoryRate.ts index 71d33be..4d3f32a 100644 --- a/sdk/nodejs/taxCategoryRate.ts +++ b/sdk/nodejs/taxCategoryRate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class TaxCategoryRate extends pulumi.CustomResource { @@ -63,17 +64,17 @@ export class TaxCategoryRate extends pulumi.CustomResource { */ constructor(name: string, args: TaxCategoryRateArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: TaxCategoryRateArgs | TaxCategoryRateState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as TaxCategoryRateState | undefined; - inputs["amount"] = state ? state.amount : undefined; - inputs["country"] = state ? state.country : undefined; - inputs["includedInPrice"] = state ? state.includedInPrice : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["state"] = state ? state.state : undefined; - inputs["subRates"] = state ? state.subRates : undefined; - inputs["taxCategoryId"] = state ? state.taxCategoryId : undefined; + resourceInputs["amount"] = state ? state.amount : undefined; + resourceInputs["country"] = state ? state.country : undefined; + resourceInputs["includedInPrice"] = state ? state.includedInPrice : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subRates"] = state ? state.subRates : undefined; + resourceInputs["taxCategoryId"] = state ? state.taxCategoryId : undefined; } else { const args = argsOrState as TaxCategoryRateArgs | undefined; if ((!args || args.country === undefined) && !opts.urn) { @@ -85,18 +86,16 @@ export class TaxCategoryRate extends pulumi.CustomResource { if ((!args || args.taxCategoryId === undefined) && !opts.urn) { throw new Error("Missing required property 'taxCategoryId'"); } - inputs["amount"] = args ? args.amount : undefined; - inputs["country"] = args ? args.country : undefined; - inputs["includedInPrice"] = args ? args.includedInPrice : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["state"] = args ? args.state : undefined; - inputs["subRates"] = args ? args.subRates : undefined; - inputs["taxCategoryId"] = args ? args.taxCategoryId : undefined; + resourceInputs["amount"] = args ? args.amount : undefined; + resourceInputs["country"] = args ? args.country : undefined; + resourceInputs["includedInPrice"] = args ? args.includedInPrice : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["state"] = args ? args.state : undefined; + resourceInputs["subRates"] = args ? args.subRates : undefined; + resourceInputs["taxCategoryId"] = args ? args.taxCategoryId : undefined; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(TaxCategoryRate.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(TaxCategoryRate.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index d067773..e6812df 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -16,12 +16,16 @@ "apiClient.ts", "apiExtension.ts", "cartDiscount.ts", + "category.ts", "channel.ts", "config/index.ts", "config/vars.ts", "customObject.ts", + "customerGroup.ts", "discountCode.ts", + "getType.ts", "index.ts", + "productDiscount.ts", "productType.ts", "projectSettings.ts", "provider.ts", @@ -29,6 +33,7 @@ "shippingZone.ts", "shippingZoneRate.ts", "state.ts", + "stateTransitions.ts", "store.ts", "subscription.ts", "taxCategory.ts", diff --git a/sdk/nodejs/type.ts b/sdk/nodejs/type.ts index b64140b..031a621 100644 --- a/sdk/nodejs/type.ts +++ b/sdk/nodejs/type.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export class Type extends pulumi.CustomResource { @@ -65,16 +66,16 @@ export class Type extends pulumi.CustomResource { */ constructor(name: string, args: TypeArgs, opts?: pulumi.CustomResourceOptions) constructor(name: string, argsOrState?: TypeArgs | TypeState, opts?: pulumi.CustomResourceOptions) { - let inputs: pulumi.Inputs = {}; + let resourceInputs: pulumi.Inputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState as TypeState | undefined; - inputs["description"] = state ? state.description : undefined; - inputs["fields"] = state ? state.fields : undefined; - inputs["key"] = state ? state.key : undefined; - inputs["name"] = state ? state.name : undefined; - inputs["resourceTypeIds"] = state ? state.resourceTypeIds : undefined; - inputs["version"] = state ? state.version : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["fields"] = state ? state.fields : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["name"] = state ? state.name : undefined; + resourceInputs["resourceTypeIds"] = state ? state.resourceTypeIds : undefined; + resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState as TypeArgs | undefined; if ((!args || args.key === undefined) && !opts.urn) { @@ -83,17 +84,15 @@ export class Type extends pulumi.CustomResource { if ((!args || args.resourceTypeIds === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceTypeIds'"); } - inputs["description"] = args ? args.description : undefined; - inputs["fields"] = args ? args.fields : undefined; - inputs["key"] = args ? args.key : undefined; - inputs["name"] = args ? args.name : undefined; - inputs["resourceTypeIds"] = args ? args.resourceTypeIds : undefined; - inputs["version"] = undefined /*out*/; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["fields"] = args ? args.fields : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["name"] = args ? args.name : undefined; + resourceInputs["resourceTypeIds"] = args ? args.resourceTypeIds : undefined; + resourceInputs["version"] = undefined /*out*/; } - if (!opts.version) { - opts = pulumi.mergeOptions(opts, { version: utilities.getVersion()}); - } - super(Type.__pulumiType, name, inputs, opts); + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Type.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/types/index.ts b/sdk/nodejs/types/index.ts index a6057c6..c7b9909 100644 --- a/sdk/nodejs/types/index.ts +++ b/sdk/nodejs/types/index.ts @@ -1,6 +1,8 @@ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** +import * as utilities from "../utilities"; + // Export sub-modules: import * as input from "./input"; import * as output from "./output"; diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 8d19f0b..22cfe12 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "../types"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; export interface ApiExtensionDestination { accessKey?: pulumi.Input; @@ -16,6 +17,7 @@ export interface ApiExtensionDestination { export interface ApiExtensionTrigger { actions: pulumi.Input[]>; + condition?: pulumi.Input; resourceTypeId: pulumi.Input; } @@ -39,6 +41,91 @@ export interface CartDiscountValueMoney { currencyCode: pulumi.Input; } +export interface CategoryAsset { + description?: pulumi.Input<{[key: string]: any}>; + id?: pulumi.Input; + key?: pulumi.Input; + name: pulumi.Input<{[key: string]: any}>; + sources?: pulumi.Input[]>; + tags?: pulumi.Input[]>; +} + +export interface CategoryAssetSource { + contentType?: pulumi.Input; + dimensions?: pulumi.Input; + key?: pulumi.Input; + uri: pulumi.Input; +} + +export interface CategoryAssetSourceDimensions { + h: pulumi.Input; + w: pulumi.Input; +} + +export interface CategoryCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; +} + +export interface ChannelAddress { + additionalAddressInfo?: pulumi.Input; + additionalStreetInfo?: pulumi.Input; + apartment?: pulumi.Input; + building?: pulumi.Input; + city?: pulumi.Input; + company?: pulumi.Input; + country: pulumi.Input; + department?: pulumi.Input; + email?: pulumi.Input; + externalId?: pulumi.Input; + fax?: pulumi.Input; + firstName?: pulumi.Input; + id?: pulumi.Input; + key?: pulumi.Input; + lastName?: pulumi.Input; + mobile?: pulumi.Input; + phone?: pulumi.Input; + poBox?: pulumi.Input; + postalCode?: pulumi.Input; + region?: pulumi.Input; + salutation?: pulumi.Input; + state?: pulumi.Input; + streetName?: pulumi.Input; + streetNumber?: pulumi.Input; + title?: pulumi.Input; +} + +export interface ChannelCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; +} + +export interface ChannelGeolocation { + coordinates: pulumi.Input[]>; +} + +export interface CustomerGroupCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; +} + +export interface DiscountCodeCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; +} + +export interface ProductDiscountValue { + monies?: pulumi.Input[]>; + permyriad?: pulumi.Input; + type: pulumi.Input; +} + +export interface ProductDiscountValueMoney { + centAmount: pulumi.Input; + currencyCode: pulumi.Input; + fractionDigits?: pulumi.Input; +} + export interface ProductTypeAttribute { constraint?: pulumi.Input; inputHint?: pulumi.Input; @@ -56,7 +143,7 @@ export interface ProductTypeAttributeType { name: pulumi.Input; referenceTypeId?: pulumi.Input; typeReference?: pulumi.Input; - values?: pulumi.Input<{[key: string]: any}>; + values?: pulumi.Input[]>; } export interface ProductTypeAttributeTypeElementType2 { @@ -64,7 +151,7 @@ export interface ProductTypeAttributeTypeElementType2 { name: pulumi.Input; referenceTypeId?: pulumi.Input; typeReference?: pulumi.Input; - values?: pulumi.Input<{[key: string]: any}>; + values?: pulumi.Input[]>; } export interface ProductTypeAttributeTypeElementType2LocalizedValue { @@ -72,28 +159,44 @@ export interface ProductTypeAttributeTypeElementType2LocalizedValue { label: pulumi.Input<{[key: string]: any}>; } +export interface ProductTypeAttributeTypeElementType2Value { + key: pulumi.Input; + label: pulumi.Input; +} + export interface ProductTypeAttributeTypeLocalizedValue { key: pulumi.Input; label: pulumi.Input<{[key: string]: any}>; } +export interface ProductTypeAttributeTypeValue { + key: pulumi.Input; + label: pulumi.Input; +} + export interface ProjectSettingsCarts { - countryTaxRateFallbackEnabled: pulumi.Input; + countryTaxRateFallbackEnabled?: pulumi.Input; deleteDaysAfterLastModification?: pulumi.Input; } export interface ProjectSettingsExternalOauth { - authorizationHeader: pulumi.Input; - url: pulumi.Input; + authorizationHeader?: pulumi.Input; + url?: pulumi.Input; } export interface ProjectSettingsMessages { - enabled: pulumi.Input; + deleteDaysAfterCreation?: pulumi.Input; + enabled?: pulumi.Input; } export interface ProjectSettingsShippingRateCartClassificationValue { key: pulumi.Input; - label?: pulumi.Input<{[key: string]: any}>; + label?: pulumi.Input<{[key: string]: pulumi.Input}>; +} + +export interface ShippingMethodCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; } export interface ShippingZoneLocation { @@ -113,7 +216,8 @@ export interface ShippingZoneRatePrice { export interface ShippingZoneRateShippingRatePriceTier { minimumCentAmount?: pulumi.Input; - price: pulumi.Input; + price?: pulumi.Input; + priceFunction?: pulumi.Input; score?: pulumi.Input; type: pulumi.Input; value?: pulumi.Input; @@ -124,31 +228,42 @@ export interface ShippingZoneRateShippingRatePriceTierPrice { currencyCode: pulumi.Input; } +export interface ShippingZoneRateShippingRatePriceTierPriceFunction { + currencyCode: pulumi.Input; + function: pulumi.Input; +} + +export interface StoreCustom { + fields?: pulumi.Input<{[key: string]: any}>; + typeId: pulumi.Input; +} + export interface SubscriptionChange { - resourceTypeIds?: pulumi.Input[]>; + resourceTypeIds: pulumi.Input[]>; } export interface SubscriptionDestination { accessKey?: pulumi.Input; accessSecret?: pulumi.Input; + accountId?: pulumi.Input; connectionString?: pulumi.Input; projectId?: pulumi.Input; queueUrl?: pulumi.Input; - region: pulumi.Input; + region?: pulumi.Input; topic?: pulumi.Input; topicArn?: pulumi.Input; type: pulumi.Input; - uri: pulumi.Input; + uri?: pulumi.Input; } export interface SubscriptionFormat { cloudEventsVersion?: pulumi.Input; - type: pulumi.Input; + type?: pulumi.Input; } export interface SubscriptionMessage { - resourceTypeId?: pulumi.Input; - types?: pulumi.Input[]>; + resourceTypeId: pulumi.Input; + types: pulumi.Input[]>; } export interface TaxCategoryRateSubRate { @@ -169,14 +284,14 @@ export interface TypeFieldType { localizedValues?: pulumi.Input[]>; name: pulumi.Input; referenceTypeId?: pulumi.Input; - values?: pulumi.Input<{[key: string]: any}>; + values?: pulumi.Input[]>; } export interface TypeFieldTypeElementType2 { localizedValues?: pulumi.Input[]>; name: pulumi.Input; referenceTypeId?: pulumi.Input; - values?: pulumi.Input<{[key: string]: any}>; + values?: pulumi.Input[]>; } export interface TypeFieldTypeElementType2LocalizedValue { @@ -184,7 +299,17 @@ export interface TypeFieldTypeElementType2LocalizedValue { label: pulumi.Input<{[key: string]: any}>; } +export interface TypeFieldTypeElementType2Value { + key: pulumi.Input; + label: pulumi.Input; +} + export interface TypeFieldTypeLocalizedValue { key: pulumi.Input; label: pulumi.Input<{[key: string]: any}>; } + +export interface TypeFieldTypeValue { + key: pulumi.Input; + label: pulumi.Input; +} diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 9c5be38..cdd65e6 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "../types"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; export interface ApiExtensionDestination { accessKey?: string; @@ -16,6 +17,7 @@ export interface ApiExtensionDestination { export interface ApiExtensionTrigger { actions: string[]; + condition?: string; resourceTypeId: string; } @@ -39,6 +41,91 @@ export interface CartDiscountValueMoney { currencyCode: string; } +export interface CategoryAsset { + description?: {[key: string]: any}; + id: string; + key?: string; + name: {[key: string]: any}; + sources?: outputs.CategoryAssetSource[]; + tags?: string[]; +} + +export interface CategoryAssetSource { + contentType?: string; + dimensions?: outputs.CategoryAssetSourceDimensions; + key?: string; + uri: string; +} + +export interface CategoryAssetSourceDimensions { + h: number; + w: number; +} + +export interface CategoryCustom { + fields?: {[key: string]: any}; + typeId: string; +} + +export interface ChannelAddress { + additionalAddressInfo?: string; + additionalStreetInfo?: string; + apartment?: string; + building?: string; + city?: string; + company?: string; + country: string; + department?: string; + email?: string; + externalId?: string; + fax?: string; + firstName?: string; + id: string; + key?: string; + lastName?: string; + mobile?: string; + phone?: string; + poBox?: string; + postalCode?: string; + region?: string; + salutation?: string; + state?: string; + streetName?: string; + streetNumber?: string; + title?: string; +} + +export interface ChannelCustom { + fields?: {[key: string]: any}; + typeId: string; +} + +export interface ChannelGeolocation { + coordinates: number[]; +} + +export interface CustomerGroupCustom { + fields?: {[key: string]: any}; + typeId: string; +} + +export interface DiscountCodeCustom { + fields?: {[key: string]: any}; + typeId: string; +} + +export interface ProductDiscountValue { + monies?: outputs.ProductDiscountValueMoney[]; + permyriad?: number; + type: string; +} + +export interface ProductDiscountValueMoney { + centAmount: number; + currencyCode: string; + fractionDigits: number; +} + export interface ProductTypeAttribute { constraint?: string; inputHint?: string; @@ -56,7 +143,7 @@ export interface ProductTypeAttributeType { name: string; referenceTypeId?: string; typeReference?: string; - values?: {[key: string]: any}; + values?: outputs.ProductTypeAttributeTypeValue[]; } export interface ProductTypeAttributeTypeElementType2 { @@ -64,7 +151,7 @@ export interface ProductTypeAttributeTypeElementType2 { name: string; referenceTypeId?: string; typeReference?: string; - values?: {[key: string]: any}; + values?: outputs.ProductTypeAttributeTypeElementType2Value[]; } export interface ProductTypeAttributeTypeElementType2LocalizedValue { @@ -72,28 +159,44 @@ export interface ProductTypeAttributeTypeElementType2LocalizedValue { label: {[key: string]: any}; } +export interface ProductTypeAttributeTypeElementType2Value { + key: string; + label: string; +} + export interface ProductTypeAttributeTypeLocalizedValue { key: string; label: {[key: string]: any}; } +export interface ProductTypeAttributeTypeValue { + key: string; + label: string; +} + export interface ProjectSettingsCarts { - countryTaxRateFallbackEnabled: boolean; + countryTaxRateFallbackEnabled?: boolean; deleteDaysAfterLastModification?: number; } export interface ProjectSettingsExternalOauth { - authorizationHeader: string; - url: string; + authorizationHeader?: string; + url?: string; } export interface ProjectSettingsMessages { - enabled: boolean; + deleteDaysAfterCreation?: number; + enabled?: boolean; } export interface ProjectSettingsShippingRateCartClassificationValue { key: string; - label?: {[key: string]: any}; + label?: {[key: string]: string}; +} + +export interface ShippingMethodCustom { + fields?: {[key: string]: any}; + typeId: string; } export interface ShippingZoneLocation { @@ -113,7 +216,8 @@ export interface ShippingZoneRatePrice { export interface ShippingZoneRateShippingRatePriceTier { minimumCentAmount?: number; - price: outputs.ShippingZoneRateShippingRatePriceTierPrice; + price?: outputs.ShippingZoneRateShippingRatePriceTierPrice; + priceFunction?: outputs.ShippingZoneRateShippingRatePriceTierPriceFunction; score?: number; type: string; value?: string; @@ -124,31 +228,42 @@ export interface ShippingZoneRateShippingRatePriceTierPrice { currencyCode: string; } +export interface ShippingZoneRateShippingRatePriceTierPriceFunction { + currencyCode: string; + function: string; +} + +export interface StoreCustom { + fields?: {[key: string]: any}; + typeId: string; +} + export interface SubscriptionChange { - resourceTypeIds?: string[]; + resourceTypeIds: string[]; } export interface SubscriptionDestination { accessKey?: string; accessSecret?: string; + accountId?: string; connectionString?: string; projectId?: string; queueUrl?: string; - region: string; + region?: string; topic?: string; topicArn?: string; type: string; - uri: string; + uri?: string; } export interface SubscriptionFormat { cloudEventsVersion?: string; - type: string; + type?: string; } export interface SubscriptionMessage { - resourceTypeId?: string; - types?: string[]; + resourceTypeId: string; + types: string[]; } export interface TaxCategoryRateSubRate { @@ -169,14 +284,14 @@ export interface TypeFieldType { localizedValues?: outputs.TypeFieldTypeLocalizedValue[]; name: string; referenceTypeId?: string; - values?: {[key: string]: any}; + values?: outputs.TypeFieldTypeValue[]; } export interface TypeFieldTypeElementType2 { localizedValues?: outputs.TypeFieldTypeElementType2LocalizedValue[]; name: string; referenceTypeId?: string; - values?: {[key: string]: any}; + values?: outputs.TypeFieldTypeElementType2Value[]; } export interface TypeFieldTypeElementType2LocalizedValue { @@ -184,7 +299,18 @@ export interface TypeFieldTypeElementType2LocalizedValue { label: {[key: string]: any}; } +export interface TypeFieldTypeElementType2Value { + key: string; + label: string; +} + export interface TypeFieldTypeLocalizedValue { key: string; label: {[key: string]: any}; } + +export interface TypeFieldTypeValue { + key: string; + label: string; +} + diff --git a/sdk/nodejs/utilities.ts b/sdk/nodejs/utilities.ts index a152dc1..2580a64 100644 --- a/sdk/nodejs/utilities.ts +++ b/sdk/nodejs/utilities.ts @@ -47,3 +47,20 @@ export function getVersion(): string { } return version; } + +/** @internal */ +export function resourceOptsDefaults(): any { + return { version: getVersion() }; +} + +/** @internal */ +export function lazyLoad(exports: any, props: string[], loadModule: any) { + for (let property of props) { + Object.defineProperty(exports, property, { + enumerable: true, + get: function() { + return loadModule()[property]; + }, + }); + } +} diff --git a/sdk/python/README.md b/sdk/python/README.md index 32553ce..bc659bb 100644 --- a/sdk/python/README.md +++ b/sdk/python/README.md @@ -7,15 +7,15 @@ # CommerceTools provider The CommerceTools resource provider for Pulumi lets you provision [CommerceTools](https://commercetools.com/) resources. -This provider is a [bridge] (https://github.com/pulumi/pulumi-terraform-bridge) to the excellent [CommerceTools Terraform Provider](https://github.com/labd/terraform-provider-commercetools) from the Labd folks. +This provider is a [bridge](https://github.com/pulumi/pulumi-terraform-bridge) to the excellent [CommerceTools Terraform Provider](https://github.com/labd/terraform-provider-commercetools) from the Labd folks. -To use this package, please [install the Pulumi CLI first](https://pulumi.io/).] +To use this package, please [install the Pulumi CLI first](https://pulumi.io/). ## Installing The plugin itself needs to be installed by running: - `pulumi plugin install --server https://github.com/unplatform-io/pulumi-commercetools/releases/download/v0.0.0 resource commercetools v0.0.0` + pulumi plugin install --server https://github.com/unplatform-io/pulumi-commercetools/releases/download/v0.0.0 resource commercetools v0.0.0 Where v0.0.0 is the desired version. @@ -65,3 +65,18 @@ The following configuration points are available for the `commercetools` provide For detailed reference documentation, please visit [the docs of the commerce tools terraform provider][1]. [1]: https://commercetools-terraform-provider.readthedocs.io/en/latest/ + + +## Upgrading the pulumi plugin +To upgrade the plugin to a never version of the upstream terraform client the following steps should be taken: +- Update the submodule: `git submodule update --remote --merge` +- Validate if the patches in `upstream_patches/` are still valid e.g. + - They might reference the wrong line of code + - They might be unneeded +- Validate if there are new mappings / changed mappings in `provider/resources.go` + - You can check if there are new items by reading the console output of `make tfgen` +- If upstream has stopped using terraform SDK and now fully uses terraform plugin framework: + - Remove the muxer in `provider/resources.go`, `provider/cmd/pulumi-*-commercetools/main.go` and the `provider/shim/shim.go` + - Validate the current implementation with the documentation on [How to Bridge a Provider](https://github.com/pulumi/pulumi-terraform-bridge/blob/master/pf/README.md) +- Rebuild the SDK's using `make build_sdks` +- Validate the functionality using the sample project, make sure to fill in valid credentials in `Pulumi.commercetools-test.yml` diff --git a/sdk/python/pulumi_commercetools/README.md b/sdk/python/pulumi_commercetools/README.md index ae953f0..3da0747 100644 --- a/sdk/python/pulumi_commercetools/README.md +++ b/sdk/python/pulumi_commercetools/README.md @@ -1,4 +1,4 @@ -> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-commercetools) +> This provider is a derived work of the [Terraform Provider](https://github.com/unplatform-io/terraform-provider-commercetools) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, -> first check the [`pulumi/pulumi-commercetools` repo](https://github.com/pulumi/pulumi-commercetools/issues); however, if that doesn't turn up anything, -> please consult the source [`terraform-providers/terraform-provider-commercetools` repo](https://github.com/terraform-providers/terraform-provider-commercetools/issues). \ No newline at end of file +> first check the [`pulumi-commercetools` repo](https://github.com/unplatform-io/pulumi-commercetools/issues); however, if that doesn't turn up anything, +> please consult the source [`terraform-provider-commercetools` repo](https://github.com/unplatform-io/terraform-provider-commercetools/issues). \ No newline at end of file diff --git a/sdk/python/pulumi_commercetools/__init__.py b/sdk/python/pulumi_commercetools/__init__.py index 4f07607..0b544ff 100644 --- a/sdk/python/pulumi_commercetools/__init__.py +++ b/sdk/python/pulumi_commercetools/__init__.py @@ -8,9 +8,13 @@ from .api_client import * from .api_extension import * from .cart_discount import * +from .category import * from .channel import * from .custom_object import * +from .customer_group import * from .discount_code import * +from .get_type import * +from .product_discount import * from .product_type import * from .project_settings import * from .provider import * @@ -18,6 +22,7 @@ from .shipping_zone import * from .shipping_zone_rate import * from .state import * +from .state_transitions import * from .store import * from .subscription import * from .tax_category import * @@ -28,7 +33,8 @@ # Make subpackages available: if typing.TYPE_CHECKING: - import pulumi_commercetools.config as config + import pulumi_commercetools.config as __config + config = __config else: config = _utilities.lazy_import('pulumi_commercetools.config') @@ -59,6 +65,14 @@ "commercetools:index/cartDiscount:CartDiscount": "CartDiscount" } }, + { + "pkg": "commercetools", + "mod": "index/category", + "fqn": "pulumi_commercetools", + "classes": { + "commercetools:index/category:Category": "Category" + } + }, { "pkg": "commercetools", "mod": "index/channel", @@ -75,6 +89,14 @@ "commercetools:index/customObject:CustomObject": "CustomObject" } }, + { + "pkg": "commercetools", + "mod": "index/customerGroup", + "fqn": "pulumi_commercetools", + "classes": { + "commercetools:index/customerGroup:CustomerGroup": "CustomerGroup" + } + }, { "pkg": "commercetools", "mod": "index/discountCode", @@ -83,6 +105,14 @@ "commercetools:index/discountCode:DiscountCode": "DiscountCode" } }, + { + "pkg": "commercetools", + "mod": "index/productDiscount", + "fqn": "pulumi_commercetools", + "classes": { + "commercetools:index/productDiscount:ProductDiscount": "ProductDiscount" + } + }, { "pkg": "commercetools", "mod": "index/productType", @@ -131,6 +161,14 @@ "commercetools:index/state:State": "State" } }, + { + "pkg": "commercetools", + "mod": "index/stateTransitions", + "fqn": "pulumi_commercetools", + "classes": { + "commercetools:index/stateTransitions:StateTransitions": "StateTransitions" + } + }, { "pkg": "commercetools", "mod": "index/store", diff --git a/sdk/python/pulumi_commercetools/_inputs.py b/sdk/python/pulumi_commercetools/_inputs.py index 439d682..8c85859 100644 --- a/sdk/python/pulumi_commercetools/_inputs.py +++ b/sdk/python/pulumi_commercetools/_inputs.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -14,20 +15,36 @@ 'CartDiscountTargetArgs', 'CartDiscountValueArgs', 'CartDiscountValueMoneyArgs', + 'CategoryAssetArgs', + 'CategoryAssetSourceArgs', + 'CategoryAssetSourceDimensionsArgs', + 'CategoryCustomArgs', + 'ChannelAddressArgs', + 'ChannelCustomArgs', + 'ChannelGeolocationArgs', + 'CustomerGroupCustomArgs', + 'DiscountCodeCustomArgs', + 'ProductDiscountValueArgs', + 'ProductDiscountValueMoneyArgs', 'ProductTypeAttributeArgs', 'ProductTypeAttributeTypeArgs', 'ProductTypeAttributeTypeElementType2Args', 'ProductTypeAttributeTypeElementType2LocalizedValueArgs', + 'ProductTypeAttributeTypeElementType2ValueArgs', 'ProductTypeAttributeTypeLocalizedValueArgs', + 'ProductTypeAttributeTypeValueArgs', 'ProjectSettingsCartsArgs', 'ProjectSettingsExternalOauthArgs', 'ProjectSettingsMessagesArgs', 'ProjectSettingsShippingRateCartClassificationValueArgs', + 'ShippingMethodCustomArgs', 'ShippingZoneLocationArgs', 'ShippingZoneRateFreeAboveArgs', 'ShippingZoneRatePriceArgs', 'ShippingZoneRateShippingRatePriceTierArgs', 'ShippingZoneRateShippingRatePriceTierPriceArgs', + 'ShippingZoneRateShippingRatePriceTierPriceFunctionArgs', + 'StoreCustomArgs', 'SubscriptionChangeArgs', 'SubscriptionDestinationArgs', 'SubscriptionFormatArgs', @@ -37,7 +54,9 @@ 'TypeFieldTypeArgs', 'TypeFieldTypeElementType2Args', 'TypeFieldTypeElementType2LocalizedValueArgs', + 'TypeFieldTypeElementType2ValueArgs', 'TypeFieldTypeLocalizedValueArgs', + 'TypeFieldTypeValueArgs', ] @pulumi.input_type @@ -132,9 +151,12 @@ def url(self, value: Optional[pulumi.Input[str]]): class ApiExtensionTriggerArgs: def __init__(__self__, *, actions: pulumi.Input[Sequence[pulumi.Input[str]]], - resource_type_id: pulumi.Input[str]): + resource_type_id: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None): pulumi.set(__self__, "actions", actions) pulumi.set(__self__, "resource_type_id", resource_type_id) + if condition is not None: + pulumi.set(__self__, "condition", condition) @property @pulumi.getter @@ -154,6 +176,15 @@ def resource_type_id(self) -> pulumi.Input[str]: def resource_type_id(self, value: pulumi.Input[str]): pulumi.set(self, "resource_type_id", value) + @property + @pulumi.getter + def condition(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "condition", value) + @pulumi.input_type class CartDiscountTargetArgs: @@ -227,11 +258,692 @@ def distribution_channel_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def monies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CartDiscountValueMoneyArgs']]]]: + def monies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CartDiscountValueMoneyArgs']]]]: + return pulumi.get(self, "monies") + + @monies.setter + def monies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CartDiscountValueMoneyArgs']]]]): + pulumi.set(self, "monies", value) + + @property + @pulumi.getter + def permyriad(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "permyriad") + + @permyriad.setter + def permyriad(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "permyriad", value) + + @property + @pulumi.getter(name="productId") + def product_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "product_id") + + @product_id.setter + def product_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "product_id", value) + + @property + @pulumi.getter(name="supplyChannelId") + def supply_channel_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "supply_channel_id") + + @supply_channel_id.setter + def supply_channel_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "supply_channel_id", value) + + @property + @pulumi.getter + def variant(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "variant") + + @variant.setter + def variant(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "variant", value) + + +@pulumi.input_type +class CartDiscountValueMoneyArgs: + def __init__(__self__, *, + cent_amount: pulumi.Input[int], + currency_code: pulumi.Input[str]): + pulumi.set(__self__, "cent_amount", cent_amount) + pulumi.set(__self__, "currency_code", currency_code) + + @property + @pulumi.getter(name="centAmount") + def cent_amount(self) -> pulumi.Input[int]: + return pulumi.get(self, "cent_amount") + + @cent_amount.setter + def cent_amount(self, value: pulumi.Input[int]): + pulumi.set(self, "cent_amount", value) + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> pulumi.Input[str]: + return pulumi.get(self, "currency_code") + + @currency_code.setter + def currency_code(self, value: pulumi.Input[str]): + pulumi.set(self, "currency_code", value) + + +@pulumi.input_type +class CategoryAssetArgs: + def __init__(__self__, *, + name: pulumi.Input[Mapping[str, Any]], + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetSourceArgs']]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if id is not None: + pulumi.set(__self__, "id", id) + if key is not None: + pulumi.set(__self__, "key", key) + if sources is not None: + pulumi.set(__self__, "sources", sources) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[Mapping[str, Any]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Mapping[str, Any]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetSourceArgs']]]]: + return pulumi.get(self, "sources") + + @sources.setter + def sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetSourceArgs']]]]): + pulumi.set(self, "sources", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +@pulumi.input_type +class CategoryAssetSourceArgs: + def __init__(__self__, *, + uri: pulumi.Input[str], + content_type: Optional[pulumi.Input[str]] = None, + dimensions: Optional[pulumi.Input['CategoryAssetSourceDimensionsArgs']] = None, + key: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "uri", uri) + if content_type is not None: + pulumi.set(__self__, "content_type", content_type) + if dimensions is not None: + pulumi.set(__self__, "dimensions", dimensions) + if key is not None: + pulumi.set(__self__, "key", key) + + @property + @pulumi.getter + def uri(self) -> pulumi.Input[str]: + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: pulumi.Input[str]): + pulumi.set(self, "uri", value) + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "content_type") + + @content_type.setter + def content_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_type", value) + + @property + @pulumi.getter + def dimensions(self) -> Optional[pulumi.Input['CategoryAssetSourceDimensionsArgs']]: + return pulumi.get(self, "dimensions") + + @dimensions.setter + def dimensions(self, value: Optional[pulumi.Input['CategoryAssetSourceDimensionsArgs']]): + pulumi.set(self, "dimensions", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + +@pulumi.input_type +class CategoryAssetSourceDimensionsArgs: + def __init__(__self__, *, + h: pulumi.Input[int], + w: pulumi.Input[int]): + pulumi.set(__self__, "h", h) + pulumi.set(__self__, "w", w) + + @property + @pulumi.getter + def h(self) -> pulumi.Input[int]: + return pulumi.get(self, "h") + + @h.setter + def h(self, value: pulumi.Input[int]): + pulumi.set(self, "h", value) + + @property + @pulumi.getter + def w(self) -> pulumi.Input[int]: + return pulumi.get(self, "w") + + @w.setter + def w(self, value: pulumi.Input[int]): + pulumi.set(self, "w", value) + + +@pulumi.input_type +class CategoryCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + +@pulumi.input_type +class ChannelAddressArgs: + def __init__(__self__, *, + country: pulumi.Input[str], + additional_address_info: Optional[pulumi.Input[str]] = None, + additional_street_info: Optional[pulumi.Input[str]] = None, + apartment: Optional[pulumi.Input[str]] = None, + building: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + company: Optional[pulumi.Input[str]] = None, + department: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + fax: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + mobile: Optional[pulumi.Input[str]] = None, + phone: Optional[pulumi.Input[str]] = None, + po_box: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + salutation: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "country", country) + if additional_address_info is not None: + pulumi.set(__self__, "additional_address_info", additional_address_info) + if additional_street_info is not None: + pulumi.set(__self__, "additional_street_info", additional_street_info) + if apartment is not None: + pulumi.set(__self__, "apartment", apartment) + if building is not None: + pulumi.set(__self__, "building", building) + if city is not None: + pulumi.set(__self__, "city", city) + if company is not None: + pulumi.set(__self__, "company", company) + if department is not None: + pulumi.set(__self__, "department", department) + if email is not None: + pulumi.set(__self__, "email", email) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if fax is not None: + pulumi.set(__self__, "fax", fax) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if id is not None: + pulumi.set(__self__, "id", id) + if key is not None: + pulumi.set(__self__, "key", key) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile is not None: + pulumi.set(__self__, "mobile", mobile) + if phone is not None: + pulumi.set(__self__, "phone", phone) + if po_box is not None: + pulumi.set(__self__, "po_box", po_box) + if postal_code is not None: + pulumi.set(__self__, "postal_code", postal_code) + if region is not None: + pulumi.set(__self__, "region", region) + if salutation is not None: + pulumi.set(__self__, "salutation", salutation) + if state is not None: + pulumi.set(__self__, "state", state) + if street_name is not None: + pulumi.set(__self__, "street_name", street_name) + if street_number is not None: + pulumi.set(__self__, "street_number", street_number) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def country(self) -> pulumi.Input[str]: + return pulumi.get(self, "country") + + @country.setter + def country(self, value: pulumi.Input[str]): + pulumi.set(self, "country", value) + + @property + @pulumi.getter(name="additionalAddressInfo") + def additional_address_info(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "additional_address_info") + + @additional_address_info.setter + def additional_address_info(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "additional_address_info", value) + + @property + @pulumi.getter(name="additionalStreetInfo") + def additional_street_info(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "additional_street_info") + + @additional_street_info.setter + def additional_street_info(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "additional_street_info", value) + + @property + @pulumi.getter + def apartment(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "apartment") + + @apartment.setter + def apartment(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apartment", value) + + @property + @pulumi.getter + def building(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "building") + + @building.setter + def building(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "building", value) + + @property + @pulumi.getter + def city(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "city") + + @city.setter + def city(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "city", value) + + @property + @pulumi.getter + def company(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "company") + + @company.setter + def company(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "company", value) + + @property + @pulumi.getter + def department(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "department") + + @department.setter + def department(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "department", value) + + @property + @pulumi.getter + def email(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "email") + + @email.setter + def email(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "email", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter + def fax(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "fax") + + @fax.setter + def fax(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fax", value) + + @property + @pulumi.getter(name="firstName") + def first_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "first_name") + + @first_name.setter + def first_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "first_name", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="lastName") + def last_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "last_name") + + @last_name.setter + def last_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "last_name", value) + + @property + @pulumi.getter + def mobile(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mobile") + + @mobile.setter + def mobile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mobile", value) + + @property + @pulumi.getter + def phone(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "phone") + + @phone.setter + def phone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "phone", value) + + @property + @pulumi.getter(name="poBox") + def po_box(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "po_box") + + @po_box.setter + def po_box(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "po_box", value) + + @property + @pulumi.getter(name="postalCode") + def postal_code(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "postal_code") + + @postal_code.setter + def postal_code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "postal_code", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + + @property + @pulumi.getter + def salutation(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "salutation") + + @salutation.setter + def salutation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "salutation", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="streetName") + def street_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "street_name") + + @street_name.setter + def street_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "street_name", value) + + @property + @pulumi.getter(name="streetNumber") + def street_number(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "street_number") + + @street_number.setter + def street_number(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "street_number", value) + + @property + @pulumi.getter + def title(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "title") + + @title.setter + def title(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "title", value) + + +@pulumi.input_type +class ChannelCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + +@pulumi.input_type +class ChannelGeolocationArgs: + def __init__(__self__, *, + coordinates: pulumi.Input[Sequence[pulumi.Input[float]]]): + pulumi.set(__self__, "coordinates", coordinates) + + @property + @pulumi.getter + def coordinates(self) -> pulumi.Input[Sequence[pulumi.Input[float]]]: + return pulumi.get(self, "coordinates") + + @coordinates.setter + def coordinates(self, value: pulumi.Input[Sequence[pulumi.Input[float]]]): + pulumi.set(self, "coordinates", value) + + +@pulumi.input_type +class CustomerGroupCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + +@pulumi.input_type +class DiscountCodeCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + +@pulumi.input_type +class ProductDiscountValueArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + monies: Optional[pulumi.Input[Sequence[pulumi.Input['ProductDiscountValueMoneyArgs']]]] = None, + permyriad: Optional[pulumi.Input[int]] = None): + pulumi.set(__self__, "type", type) + if monies is not None: + pulumi.set(__self__, "monies", monies) + if permyriad is not None: + pulumi.set(__self__, "permyriad", permyriad) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def monies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProductDiscountValueMoneyArgs']]]]: return pulumi.get(self, "monies") @monies.setter - def monies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CartDiscountValueMoneyArgs']]]]): + def monies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProductDiscountValueMoneyArgs']]]]): pulumi.set(self, "monies", value) @property @@ -243,41 +955,17 @@ def permyriad(self) -> Optional[pulumi.Input[int]]: def permyriad(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "permyriad", value) - @property - @pulumi.getter(name="productId") - def product_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "product_id") - - @product_id.setter - def product_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "product_id", value) - - @property - @pulumi.getter(name="supplyChannelId") - def supply_channel_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "supply_channel_id") - - @supply_channel_id.setter - def supply_channel_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "supply_channel_id", value) - - @property - @pulumi.getter - def variant(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "variant") - - @variant.setter - def variant(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "variant", value) - @pulumi.input_type -class CartDiscountValueMoneyArgs: +class ProductDiscountValueMoneyArgs: def __init__(__self__, *, cent_amount: pulumi.Input[int], - currency_code: pulumi.Input[str]): + currency_code: pulumi.Input[str], + fraction_digits: Optional[pulumi.Input[int]] = None): pulumi.set(__self__, "cent_amount", cent_amount) pulumi.set(__self__, "currency_code", currency_code) + if fraction_digits is not None: + pulumi.set(__self__, "fraction_digits", fraction_digits) @property @pulumi.getter(name="centAmount") @@ -297,6 +985,15 @@ def currency_code(self) -> pulumi.Input[str]: def currency_code(self, value: pulumi.Input[str]): pulumi.set(self, "currency_code", value) + @property + @pulumi.getter(name="fractionDigits") + def fraction_digits(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "fraction_digits") + + @fraction_digits.setter + def fraction_digits(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "fraction_digits", value) + @pulumi.input_type class ProductTypeAttributeArgs: @@ -404,7 +1101,7 @@ def __init__(__self__, *, localized_values: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeLocalizedValueArgs']]]] = None, reference_type_id: Optional[pulumi.Input[str]] = None, type_reference: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Mapping[str, Any]]] = None): + values: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeValueArgs']]]] = None): pulumi.set(__self__, "name", name) if element_type2 is not None: pulumi.set(__self__, "element_type2", element_type2) @@ -464,11 +1161,11 @@ def type_reference(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeValueArgs']]]]: return pulumi.get(self, "values") @values.setter - def values(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeValueArgs']]]]): pulumi.set(self, "values", value) @@ -479,7 +1176,7 @@ def __init__(__self__, *, localized_values: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeElementType2LocalizedValueArgs']]]] = None, reference_type_id: Optional[pulumi.Input[str]] = None, type_reference: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Mapping[str, Any]]] = None): + values: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeElementType2ValueArgs']]]] = None): pulumi.set(__self__, "name", name) if localized_values is not None: pulumi.set(__self__, "localized_values", localized_values) @@ -528,11 +1225,11 @@ def type_reference(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeElementType2ValueArgs']]]]: return pulumi.get(self, "values") @values.setter - def values(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ProductTypeAttributeTypeElementType2ValueArgs']]]]): pulumi.set(self, "values", value) @@ -563,6 +1260,33 @@ def label(self, value: pulumi.Input[Mapping[str, Any]]): pulumi.set(self, "label", value) +@pulumi.input_type +class ProductTypeAttributeTypeElementType2ValueArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + label: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def label(self) -> pulumi.Input[str]: + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[str]): + pulumi.set(self, "label", value) + + @pulumi.input_type class ProductTypeAttributeTypeLocalizedValueArgs: def __init__(__self__, *, @@ -590,22 +1314,50 @@ def label(self, value: pulumi.Input[Mapping[str, Any]]): pulumi.set(self, "label", value) +@pulumi.input_type +class ProductTypeAttributeTypeValueArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + label: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def label(self) -> pulumi.Input[str]: + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[str]): + pulumi.set(self, "label", value) + + @pulumi.input_type class ProjectSettingsCartsArgs: def __init__(__self__, *, - country_tax_rate_fallback_enabled: pulumi.Input[bool], + country_tax_rate_fallback_enabled: Optional[pulumi.Input[bool]] = None, delete_days_after_last_modification: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "country_tax_rate_fallback_enabled", country_tax_rate_fallback_enabled) + if country_tax_rate_fallback_enabled is not None: + pulumi.set(__self__, "country_tax_rate_fallback_enabled", country_tax_rate_fallback_enabled) if delete_days_after_last_modification is not None: pulumi.set(__self__, "delete_days_after_last_modification", delete_days_after_last_modification) @property @pulumi.getter(name="countryTaxRateFallbackEnabled") - def country_tax_rate_fallback_enabled(self) -> pulumi.Input[bool]: + def country_tax_rate_fallback_enabled(self) -> Optional[pulumi.Input[bool]]: return pulumi.get(self, "country_tax_rate_fallback_enabled") @country_tax_rate_fallback_enabled.setter - def country_tax_rate_fallback_enabled(self, value: pulumi.Input[bool]): + def country_tax_rate_fallback_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "country_tax_rate_fallback_enabled", value) @property @@ -621,43 +1373,58 @@ def delete_days_after_last_modification(self, value: Optional[pulumi.Input[int]] @pulumi.input_type class ProjectSettingsExternalOauthArgs: def __init__(__self__, *, - authorization_header: pulumi.Input[str], - url: pulumi.Input[str]): - pulumi.set(__self__, "authorization_header", authorization_header) - pulumi.set(__self__, "url", url) + authorization_header: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None): + if authorization_header is not None: + pulumi.set(__self__, "authorization_header", authorization_header) + if url is not None: + pulumi.set(__self__, "url", url) @property @pulumi.getter(name="authorizationHeader") - def authorization_header(self) -> pulumi.Input[str]: + def authorization_header(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "authorization_header") @authorization_header.setter - def authorization_header(self, value: pulumi.Input[str]): + def authorization_header(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "authorization_header", value) @property @pulumi.getter - def url(self) -> pulumi.Input[str]: + def url(self) -> Optional[pulumi.Input[str]]: return pulumi.get(self, "url") @url.setter - def url(self, value: pulumi.Input[str]): + def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) @pulumi.input_type class ProjectSettingsMessagesArgs: def __init__(__self__, *, - enabled: pulumi.Input[bool]): - pulumi.set(__self__, "enabled", enabled) + delete_days_after_creation: Optional[pulumi.Input[int]] = None, + enabled: Optional[pulumi.Input[bool]] = None): + if delete_days_after_creation is not None: + pulumi.set(__self__, "delete_days_after_creation", delete_days_after_creation) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="deleteDaysAfterCreation") + def delete_days_after_creation(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "delete_days_after_creation") + + @delete_days_after_creation.setter + def delete_days_after_creation(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "delete_days_after_creation", value) @property @pulumi.getter - def enabled(self) -> pulumi.Input[bool]: + def enabled(self) -> Optional[pulumi.Input[bool]]: return pulumi.get(self, "enabled") @enabled.setter - def enabled(self, value: pulumi.Input[bool]): + def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) @@ -665,7 +1432,7 @@ def enabled(self, value: pulumi.Input[bool]): class ProjectSettingsShippingRateCartClassificationValueArgs: def __init__(__self__, *, key: pulumi.Input[str], - label: Optional[pulumi.Input[Mapping[str, Any]]] = None): + label: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): pulumi.set(__self__, "key", key) if label is not None: pulumi.set(__self__, "label", label) @@ -681,14 +1448,42 @@ def key(self, value: pulumi.Input[str]): @property @pulumi.getter - def label(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def label(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: return pulumi.get(self, "label") @label.setter - def label(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def label(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "label", value) +@pulumi.input_type +class ShippingMethodCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + @pulumi.input_type class ShippingZoneLocationArgs: def __init__(__self__, *, @@ -774,29 +1569,24 @@ def currency_code(self, value: pulumi.Input[str]): @pulumi.input_type class ShippingZoneRateShippingRatePriceTierArgs: def __init__(__self__, *, - price: pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs'], type: pulumi.Input[str], minimum_cent_amount: Optional[pulumi.Input[int]] = None, - score: Optional[pulumi.Input[float]] = None, + price: Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs']] = None, + price_function: Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceFunctionArgs']] = None, + score: Optional[pulumi.Input[int]] = None, value: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "price", price) pulumi.set(__self__, "type", type) if minimum_cent_amount is not None: pulumi.set(__self__, "minimum_cent_amount", minimum_cent_amount) + if price is not None: + pulumi.set(__self__, "price", price) + if price_function is not None: + pulumi.set(__self__, "price_function", price_function) if score is not None: pulumi.set(__self__, "score", score) if value is not None: pulumi.set(__self__, "value", value) - @property - @pulumi.getter - def price(self) -> pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs']: - return pulumi.get(self, "price") - - @price.setter - def price(self, value: pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs']): - pulumi.set(self, "price", value) - @property @pulumi.getter def type(self) -> pulumi.Input[str]: @@ -817,11 +1607,29 @@ def minimum_cent_amount(self, value: Optional[pulumi.Input[int]]): @property @pulumi.getter - def score(self) -> Optional[pulumi.Input[float]]: + def price(self) -> Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs']]: + return pulumi.get(self, "price") + + @price.setter + def price(self, value: Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceArgs']]): + pulumi.set(self, "price", value) + + @property + @pulumi.getter(name="priceFunction") + def price_function(self) -> Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceFunctionArgs']]: + return pulumi.get(self, "price_function") + + @price_function.setter + def price_function(self, value: Optional[pulumi.Input['ShippingZoneRateShippingRatePriceTierPriceFunctionArgs']]): + pulumi.set(self, "price_function", value) + + @property + @pulumi.getter + def score(self) -> Optional[pulumi.Input[int]]: return pulumi.get(self, "score") @score.setter - def score(self, value: Optional[pulumi.Input[float]]): + def score(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "score", value) @property @@ -861,62 +1669,112 @@ def currency_code(self, value: pulumi.Input[str]): pulumi.set(self, "currency_code", value) +@pulumi.input_type +class ShippingZoneRateShippingRatePriceTierPriceFunctionArgs: + def __init__(__self__, *, + currency_code: pulumi.Input[str], + function: pulumi.Input[str]): + pulumi.set(__self__, "currency_code", currency_code) + pulumi.set(__self__, "function", function) + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> pulumi.Input[str]: + return pulumi.get(self, "currency_code") + + @currency_code.setter + def currency_code(self, value: pulumi.Input[str]): + pulumi.set(self, "currency_code", value) + + @property + @pulumi.getter + def function(self) -> pulumi.Input[str]: + return pulumi.get(self, "function") + + @function.setter + def function(self, value: pulumi.Input[str]): + pulumi.set(self, "function", value) + + +@pulumi.input_type +class StoreCustomArgs: + def __init__(__self__, *, + type_id: pulumi.Input[str], + fields: Optional[pulumi.Input[Mapping[str, Any]]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "type_id") + + @type_id.setter + def type_id(self, value: pulumi.Input[str]): + pulumi.set(self, "type_id", value) + + @property + @pulumi.getter + def fields(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "fields") + + @fields.setter + def fields(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "fields", value) + + @pulumi.input_type class SubscriptionChangeArgs: def __init__(__self__, *, - resource_type_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if resource_type_ids is not None: - pulumi.set(__self__, "resource_type_ids", resource_type_ids) + resource_type_ids: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(__self__, "resource_type_ids", resource_type_ids) @property @pulumi.getter(name="resourceTypeIds") - def resource_type_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def resource_type_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: return pulumi.get(self, "resource_type_ids") @resource_type_ids.setter - def resource_type_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + def resource_type_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "resource_type_ids", value) @pulumi.input_type class SubscriptionDestinationArgs: def __init__(__self__, *, - region: pulumi.Input[str], type: pulumi.Input[str], - uri: pulumi.Input[str], access_key: Optional[pulumi.Input[str]] = None, access_secret: Optional[pulumi.Input[str]] = None, + account_id: Optional[pulumi.Input[str]] = None, connection_string: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, queue_url: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, topic: Optional[pulumi.Input[str]] = None, - topic_arn: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "region", region) + topic_arn: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None): pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) if access_key is not None: pulumi.set(__self__, "access_key", access_key) if access_secret is not None: pulumi.set(__self__, "access_secret", access_secret) + if account_id is not None: + pulumi.set(__self__, "account_id", account_id) if connection_string is not None: pulumi.set(__self__, "connection_string", connection_string) if project_id is not None: pulumi.set(__self__, "project_id", project_id) if queue_url is not None: pulumi.set(__self__, "queue_url", queue_url) + if region is not None: + pulumi.set(__self__, "region", region) if topic is not None: pulumi.set(__self__, "topic", topic) if topic_arn is not None: pulumi.set(__self__, "topic_arn", topic_arn) - - @property - @pulumi.getter - def region(self) -> pulumi.Input[str]: - return pulumi.get(self, "region") - - @region.setter - def region(self, value: pulumi.Input[str]): - pulumi.set(self, "region", value) + if uri is not None: + pulumi.set(__self__, "uri", uri) @property @pulumi.getter @@ -927,15 +1785,6 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) - @property - @pulumi.getter - def uri(self) -> pulumi.Input[str]: - return pulumi.get(self, "uri") - - @uri.setter - def uri(self, value: pulumi.Input[str]): - pulumi.set(self, "uri", value) - @property @pulumi.getter(name="accessKey") def access_key(self) -> Optional[pulumi.Input[str]]: @@ -954,6 +1803,15 @@ def access_secret(self) -> Optional[pulumi.Input[str]]: def access_secret(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "access_secret", value) + @property + @pulumi.getter(name="accountId") + def account_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "account_id") + + @account_id.setter + def account_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "account_id", value) + @property @pulumi.getter(name="connectionString") def connection_string(self) -> Optional[pulumi.Input[str]]: @@ -981,6 +1839,15 @@ def queue_url(self) -> Optional[pulumi.Input[str]]: def queue_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "queue_url", value) + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + @property @pulumi.getter def topic(self) -> Optional[pulumi.Input[str]]: @@ -999,24 +1866,25 @@ def topic_arn(self) -> Optional[pulumi.Input[str]]: def topic_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "topic_arn", value) + @property + @pulumi.getter + def uri(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "uri") + + @uri.setter + def uri(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uri", value) + @pulumi.input_type class SubscriptionFormatArgs: def __init__(__self__, *, - type: pulumi.Input[str], - cloud_events_version: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "type", type) + cloud_events_version: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None): if cloud_events_version is not None: pulumi.set(__self__, "cloud_events_version", cloud_events_version) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="cloudEventsVersion") @@ -1027,33 +1895,40 @@ def cloud_events_version(self) -> Optional[pulumi.Input[str]]: def cloud_events_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cloud_events_version", value) + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + @pulumi.input_type class SubscriptionMessageArgs: def __init__(__self__, *, - resource_type_id: Optional[pulumi.Input[str]] = None, - types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - if resource_type_id is not None: - pulumi.set(__self__, "resource_type_id", resource_type_id) - if types is not None: - pulumi.set(__self__, "types", types) + resource_type_id: pulumi.Input[str], + types: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(__self__, "resource_type_id", resource_type_id) + pulumi.set(__self__, "types", types) @property @pulumi.getter(name="resourceTypeId") - def resource_type_id(self) -> Optional[pulumi.Input[str]]: + def resource_type_id(self) -> pulumi.Input[str]: return pulumi.get(self, "resource_type_id") @resource_type_id.setter - def resource_type_id(self, value: Optional[pulumi.Input[str]]): + def resource_type_id(self, value: pulumi.Input[str]): pulumi.set(self, "resource_type_id", value) @property @pulumi.getter - def types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + def types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: return pulumi.get(self, "types") @types.setter - def types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + def types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "types", value) @@ -1153,7 +2028,7 @@ def __init__(__self__, *, element_type2: Optional[pulumi.Input['TypeFieldTypeElementType2Args']] = None, localized_values: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeLocalizedValueArgs']]]] = None, reference_type_id: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Mapping[str, Any]]] = None): + values: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeValueArgs']]]] = None): pulumi.set(__self__, "name", name) if element_type2 is not None: pulumi.set(__self__, "element_type2", element_type2) @@ -1202,11 +2077,11 @@ def reference_type_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeValueArgs']]]]: return pulumi.get(self, "values") @values.setter - def values(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeValueArgs']]]]): pulumi.set(self, "values", value) @@ -1216,7 +2091,7 @@ def __init__(__self__, *, name: pulumi.Input[str], localized_values: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeElementType2LocalizedValueArgs']]]] = None, reference_type_id: Optional[pulumi.Input[str]] = None, - values: Optional[pulumi.Input[Mapping[str, Any]]] = None): + values: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeElementType2ValueArgs']]]] = None): pulumi.set(__self__, "name", name) if localized_values is not None: pulumi.set(__self__, "localized_values", localized_values) @@ -1254,11 +2129,11 @@ def reference_type_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def values(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeElementType2ValueArgs']]]]: return pulumi.get(self, "values") @values.setter - def values(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TypeFieldTypeElementType2ValueArgs']]]]): pulumi.set(self, "values", value) @@ -1289,6 +2164,33 @@ def label(self, value: pulumi.Input[Mapping[str, Any]]): pulumi.set(self, "label", value) +@pulumi.input_type +class TypeFieldTypeElementType2ValueArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + label: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def label(self) -> pulumi.Input[str]: + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[str]): + pulumi.set(self, "label", value) + + @pulumi.input_type class TypeFieldTypeLocalizedValueArgs: def __init__(__self__, *, @@ -1316,3 +2218,30 @@ def label(self, value: pulumi.Input[Mapping[str, Any]]): pulumi.set(self, "label", value) +@pulumi.input_type +class TypeFieldTypeValueArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + label: pulumi.Input[str]): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def label(self) -> pulumi.Input[str]: + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[str]): + pulumi.set(self, "label", value) + + diff --git a/sdk/python/pulumi_commercetools/_utilities.py b/sdk/python/pulumi_commercetools/_utilities.py index 5d37a15..2d9a3c8 100644 --- a/sdk/python/pulumi_commercetools/_utilities.py +++ b/sdk/python/pulumi_commercetools/_utilities.py @@ -3,11 +3,13 @@ # *** Do not edit by hand unless you're certain you know what you are doing! *** +import importlib.util +import inspect import json import os -import sys -import importlib.util import pkg_resources +import sys +import typing import pulumi import pulumi.runtime @@ -56,7 +58,7 @@ def get_env_float(*args): return None -def get_semver_version(): +def _get_semver_version(): # __name__ is set to the fully-qualified name of the current module, In our case, it will be # ._utilities. is the module we want to query the version for. root_package, *rest = __name__.split('.') @@ -88,9 +90,25 @@ def get_semver_version(): return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease) +# Determine the version once and cache the value, which measurably improves program performance. +_version = _get_semver_version() +_version_str = str(_version) + + def get_version(): - return str(get_semver_version()) + return _version_str + +def get_resource_opts_defaults() -> pulumi.ResourceOptions: + return pulumi.ResourceOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) +def get_invoke_opts_defaults() -> pulumi.InvokeOptions: + return pulumi.InvokeOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) def get_resource_args_opts(resource_args_type, resource_options_type, *args, **kwargs): """ @@ -160,14 +178,12 @@ def _lazy_import_temp(fullname): class Package(pulumi.runtime.ResourcePackage): - _version = get_semver_version() - def __init__(self, pkg_info): super().__init__() self.pkg_info = pkg_info def version(self): - return Package._version + return _version def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource: if typ != self.pkg_info['token']: @@ -177,14 +193,12 @@ def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderRe class Module(pulumi.runtime.ResourceModule): - _version = get_semver_version() - def __init__(self, mod_info): super().__init__() self.mod_info = mod_info def version(self): - return Module._version + return _version def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource: class_name = self.mod_info['classes'].get(typ, None) @@ -208,3 +222,29 @@ def register(resource_modules, resource_packages): mod_info['pkg'], mod_info['mod'], Module(mod_info)) + + +_F = typing.TypeVar('_F', bound=typing.Callable[..., typing.Any]) + + +def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]: + """Decorator internally used on {fn}_output lifted function versions + to implement them automatically from the un-lifted function.""" + + func_sig = inspect.signature(func) + + def lifted_func(*args, opts=None, **kwargs): + bound_args = func_sig.bind(*args, **kwargs) + # Convert tuple to list, see pulumi/pulumi#8172 + args_list = list(bound_args.args) + return pulumi.Output.from_input({ + 'args': args_list, + 'kwargs': bound_args.kwargs + }).apply(lambda resolved_args: func(*resolved_args['args'], + opts=opts, + **resolved_args['kwargs'])) + + return (lambda _: lifted_func) + +def get_plugin_download_url(): + return None diff --git a/sdk/python/pulumi_commercetools/api_client.py b/sdk/python/pulumi_commercetools/api_client.py index 0c244f0..3a880bf 100644 --- a/sdk/python/pulumi_commercetools/api_client.py +++ b/sdk/python/pulumi_commercetools/api_client.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -142,12 +143,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -158,6 +156,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'scopes'") __props__.__dict__["scopes"] = scopes __props__.__dict__["secret"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["secret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ApiClient, __self__).__init__( 'commercetools:index/apiClient:ApiClient', resource_name, diff --git a/sdk/python/pulumi_commercetools/api_extension.py b/sdk/python/pulumi_commercetools/api_extension.py index d0a1b78..5bca8bc 100644 --- a/sdk/python/pulumi_commercetools/api_extension.py +++ b/sdk/python/pulumi_commercetools/api_extension.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -223,12 +224,9 @@ def _internal_init(__self__, timeout_in_ms: Optional[pulumi.Input[int]] = None, triggers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ApiExtensionTriggerArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/cart_discount.py b/sdk/python/pulumi_commercetools/cart_discount.py index 56c1d3f..7dc1a36 100644 --- a/sdk/python/pulumi_commercetools/cart_discount.py +++ b/sdk/python/pulumi_commercetools/cart_discount.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -499,12 +500,9 @@ def _internal_init(__self__, valid_until: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[pulumi.InputType['CartDiscountValueArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/category.py b/sdk/python/pulumi_commercetools/category.py new file mode 100644 index 0000000..7a1b75b --- /dev/null +++ b/sdk/python/pulumi_commercetools/category.py @@ -0,0 +1,592 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CategoryArgs', 'Category'] + +@pulumi.input_type +class CategoryArgs: + def __init__(__self__, *, + slug: pulumi.Input[Mapping[str, Any]], + assets: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]] = None, + custom: Optional[pulumi.Input['CategoryCustomArgs']] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + meta_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_keywords: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_title: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + order_hint: Optional[pulumi.Input[str]] = None, + parent: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a Category resource. + :param pulumi.Input[Mapping[str, Any]] slug: Human readable identifiers, needs to be unique + :param pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]] assets: Can be used to store images, icons or movies related to this category + :param pulumi.Input[str] key: Category-specific unique identifier. Must be unique across a project + :param pulumi.Input[str] order_hint: An attribute as base for a custom category order in one level, filled with random value when left empty + :param pulumi.Input[str] parent: A category that is the parent of this category in the category tree + """ + pulumi.set(__self__, "slug", slug) + if assets is not None: + pulumi.set(__self__, "assets", assets) + if custom is not None: + pulumi.set(__self__, "custom", custom) + if description is not None: + pulumi.set(__self__, "description", description) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if key is not None: + pulumi.set(__self__, "key", key) + if meta_description is not None: + pulumi.set(__self__, "meta_description", meta_description) + if meta_keywords is not None: + pulumi.set(__self__, "meta_keywords", meta_keywords) + if meta_title is not None: + pulumi.set(__self__, "meta_title", meta_title) + if name is not None: + pulumi.set(__self__, "name", name) + if order_hint is not None: + pulumi.set(__self__, "order_hint", order_hint) + if parent is not None: + pulumi.set(__self__, "parent", parent) + + @property + @pulumi.getter + def slug(self) -> pulumi.Input[Mapping[str, Any]]: + """ + Human readable identifiers, needs to be unique + """ + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: pulumi.Input[Mapping[str, Any]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def assets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]]: + """ + Can be used to store images, icons or movies related to this category + """ + return pulumi.get(self, "assets") + + @assets.setter + def assets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]]): + pulumi.set(self, "assets", value) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['CategoryCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['CategoryCustomArgs']]): + pulumi.set(self, "custom", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + Category-specific unique identifier. Must be unique across a project + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="metaDescription") + def meta_description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_description") + + @meta_description.setter + def meta_description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_description", value) + + @property + @pulumi.getter(name="metaKeywords") + def meta_keywords(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_keywords") + + @meta_keywords.setter + def meta_keywords(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_keywords", value) + + @property + @pulumi.getter(name="metaTitle") + def meta_title(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_title") + + @meta_title.setter + def meta_title(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_title", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="orderHint") + def order_hint(self) -> Optional[pulumi.Input[str]]: + """ + An attribute as base for a custom category order in one level, filled with random value when left empty + """ + return pulumi.get(self, "order_hint") + + @order_hint.setter + def order_hint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_hint", value) + + @property + @pulumi.getter + def parent(self) -> Optional[pulumi.Input[str]]: + """ + A category that is the parent of this category in the category tree + """ + return pulumi.get(self, "parent") + + @parent.setter + def parent(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "parent", value) + + +@pulumi.input_type +class _CategoryState: + def __init__(__self__, *, + assets: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]] = None, + custom: Optional[pulumi.Input['CategoryCustomArgs']] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + meta_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_keywords: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_title: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + order_hint: Optional[pulumi.Input[str]] = None, + parent: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[Mapping[str, Any]]] = None, + version: Optional[pulumi.Input[int]] = None): + """ + Input properties used for looking up and filtering Category resources. + :param pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]] assets: Can be used to store images, icons or movies related to this category + :param pulumi.Input[str] key: Category-specific unique identifier. Must be unique across a project + :param pulumi.Input[str] order_hint: An attribute as base for a custom category order in one level, filled with random value when left empty + :param pulumi.Input[str] parent: A category that is the parent of this category in the category tree + :param pulumi.Input[Mapping[str, Any]] slug: Human readable identifiers, needs to be unique + """ + if assets is not None: + pulumi.set(__self__, "assets", assets) + if custom is not None: + pulumi.set(__self__, "custom", custom) + if description is not None: + pulumi.set(__self__, "description", description) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if key is not None: + pulumi.set(__self__, "key", key) + if meta_description is not None: + pulumi.set(__self__, "meta_description", meta_description) + if meta_keywords is not None: + pulumi.set(__self__, "meta_keywords", meta_keywords) + if meta_title is not None: + pulumi.set(__self__, "meta_title", meta_title) + if name is not None: + pulumi.set(__self__, "name", name) + if order_hint is not None: + pulumi.set(__self__, "order_hint", order_hint) + if parent is not None: + pulumi.set(__self__, "parent", parent) + if slug is not None: + pulumi.set(__self__, "slug", slug) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def assets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]]: + """ + Can be used to store images, icons or movies related to this category + """ + return pulumi.get(self, "assets") + + @assets.setter + def assets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CategoryAssetArgs']]]]): + pulumi.set(self, "assets", value) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['CategoryCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['CategoryCustomArgs']]): + pulumi.set(self, "custom", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_id", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + Category-specific unique identifier. Must be unique across a project + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="metaDescription") + def meta_description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_description") + + @meta_description.setter + def meta_description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_description", value) + + @property + @pulumi.getter(name="metaKeywords") + def meta_keywords(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_keywords") + + @meta_keywords.setter + def meta_keywords(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_keywords", value) + + @property + @pulumi.getter(name="metaTitle") + def meta_title(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "meta_title") + + @meta_title.setter + def meta_title(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "meta_title", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="orderHint") + def order_hint(self) -> Optional[pulumi.Input[str]]: + """ + An attribute as base for a custom category order in one level, filled with random value when left empty + """ + return pulumi.get(self, "order_hint") + + @order_hint.setter + def order_hint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "order_hint", value) + + @property + @pulumi.getter + def parent(self) -> Optional[pulumi.Input[str]]: + """ + A category that is the parent of this category in the category tree + """ + return pulumi.get(self, "parent") + + @parent.setter + def parent(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "parent", value) + + @property + @pulumi.getter + def slug(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Human readable identifiers, needs to be unique + """ + return pulumi.get(self, "slug") + + @slug.setter + def slug(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "slug", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +class Category(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + assets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CategoryAssetArgs']]]]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CategoryCustomArgs']]] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + meta_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_keywords: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_title: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + order_hint: Optional[pulumi.Input[str]] = None, + parent: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[Mapping[str, Any]]] = None, + __props__=None): + """ + Create a Category resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CategoryAssetArgs']]]] assets: Can be used to store images, icons or movies related to this category + :param pulumi.Input[str] key: Category-specific unique identifier. Must be unique across a project + :param pulumi.Input[str] order_hint: An attribute as base for a custom category order in one level, filled with random value when left empty + :param pulumi.Input[str] parent: A category that is the parent of this category in the category tree + :param pulumi.Input[Mapping[str, Any]] slug: Human readable identifiers, needs to be unique + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: CategoryArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Category resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param CategoryArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CategoryArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + assets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CategoryAssetArgs']]]]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CategoryCustomArgs']]] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + meta_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_keywords: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_title: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + order_hint: Optional[pulumi.Input[str]] = None, + parent: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[Mapping[str, Any]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CategoryArgs.__new__(CategoryArgs) + + __props__.__dict__["assets"] = assets + __props__.__dict__["custom"] = custom + __props__.__dict__["description"] = description + __props__.__dict__["external_id"] = external_id + __props__.__dict__["key"] = key + __props__.__dict__["meta_description"] = meta_description + __props__.__dict__["meta_keywords"] = meta_keywords + __props__.__dict__["meta_title"] = meta_title + __props__.__dict__["name"] = name + __props__.__dict__["order_hint"] = order_hint + __props__.__dict__["parent"] = parent + if slug is None and not opts.urn: + raise TypeError("Missing required property 'slug'") + __props__.__dict__["slug"] = slug + __props__.__dict__["version"] = None + super(Category, __self__).__init__( + 'commercetools:index/category:Category', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + assets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CategoryAssetArgs']]]]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CategoryCustomArgs']]] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + meta_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_keywords: Optional[pulumi.Input[Mapping[str, Any]]] = None, + meta_title: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + order_hint: Optional[pulumi.Input[str]] = None, + parent: Optional[pulumi.Input[str]] = None, + slug: Optional[pulumi.Input[Mapping[str, Any]]] = None, + version: Optional[pulumi.Input[int]] = None) -> 'Category': + """ + Get an existing Category resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CategoryAssetArgs']]]] assets: Can be used to store images, icons or movies related to this category + :param pulumi.Input[str] key: Category-specific unique identifier. Must be unique across a project + :param pulumi.Input[str] order_hint: An attribute as base for a custom category order in one level, filled with random value when left empty + :param pulumi.Input[str] parent: A category that is the parent of this category in the category tree + :param pulumi.Input[Mapping[str, Any]] slug: Human readable identifiers, needs to be unique + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CategoryState.__new__(_CategoryState) + + __props__.__dict__["assets"] = assets + __props__.__dict__["custom"] = custom + __props__.__dict__["description"] = description + __props__.__dict__["external_id"] = external_id + __props__.__dict__["key"] = key + __props__.__dict__["meta_description"] = meta_description + __props__.__dict__["meta_keywords"] = meta_keywords + __props__.__dict__["meta_title"] = meta_title + __props__.__dict__["name"] = name + __props__.__dict__["order_hint"] = order_hint + __props__.__dict__["parent"] = parent + __props__.__dict__["slug"] = slug + __props__.__dict__["version"] = version + return Category(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def assets(self) -> pulumi.Output[Optional[Sequence['outputs.CategoryAsset']]]: + """ + Can be used to store images, icons or movies related to this category + """ + return pulumi.get(self, "assets") + + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.CategoryCustom']]: + return pulumi.get(self, "custom") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "external_id") + + @property + @pulumi.getter + def key(self) -> pulumi.Output[Optional[str]]: + """ + Category-specific unique identifier. Must be unique across a project + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter(name="metaDescription") + def meta_description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + return pulumi.get(self, "meta_description") + + @property + @pulumi.getter(name="metaKeywords") + def meta_keywords(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + return pulumi.get(self, "meta_keywords") + + @property + @pulumi.getter(name="metaTitle") + def meta_title(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + return pulumi.get(self, "meta_title") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[Mapping[str, Any]]: + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="orderHint") + def order_hint(self) -> pulumi.Output[Optional[str]]: + """ + An attribute as base for a custom category order in one level, filled with random value when left empty + """ + return pulumi.get(self, "order_hint") + + @property + @pulumi.getter + def parent(self) -> pulumi.Output[Optional[str]]: + """ + A category that is the parent of this category in the category tree + """ + return pulumi.get(self, "parent") + + @property + @pulumi.getter + def slug(self) -> pulumi.Output[Mapping[str, Any]]: + """ + Human readable identifiers, needs to be unique + """ + return pulumi.get(self, "slug") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[int]: + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_commercetools/channel.py b/sdk/python/pulumi_commercetools/channel.py index af38d7b..40b8fe0 100644 --- a/sdk/python/pulumi_commercetools/channel.py +++ b/sdk/python/pulumi_commercetools/channel.py @@ -2,11 +2,14 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['ChannelArgs', 'Channel'] @@ -15,7 +18,10 @@ class ChannelArgs: def __init__(__self__, *, key: pulumi.Input[str], roles: pulumi.Input[Sequence[pulumi.Input[str]]], + address: Optional[pulumi.Input['ChannelAddressArgs']] = None, + custom: Optional[pulumi.Input['ChannelCustomArgs']] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + geolocation: Optional[pulumi.Input['ChannelGeolocationArgs']] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None): """ The set of arguments for constructing a Channel resource. @@ -27,8 +33,14 @@ def __init__(__self__, *, """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "roles", roles) + if address is not None: + pulumi.set(__self__, "address", address) + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) + if geolocation is not None: + pulumi.set(__self__, "geolocation", geolocation) if name is not None: pulumi.set(__self__, "name", name) @@ -57,6 +69,24 @@ def roles(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: def roles(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "roles", value) + @property + @pulumi.getter + def address(self) -> Optional[pulumi.Input['ChannelAddressArgs']]: + return pulumi.get(self, "address") + + @address.setter + def address(self, value: Optional[pulumi.Input['ChannelAddressArgs']]): + pulumi.set(self, "address", value) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['ChannelCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['ChannelCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -69,6 +99,15 @@ def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "description", value) + @property + @pulumi.getter + def geolocation(self) -> Optional[pulumi.Input['ChannelGeolocationArgs']]: + return pulumi.get(self, "geolocation") + + @geolocation.setter + def geolocation(self, value: Optional[pulumi.Input['ChannelGeolocationArgs']]): + pulumi.set(self, "geolocation", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -85,7 +124,10 @@ def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.input_type class _ChannelState: def __init__(__self__, *, + address: Optional[pulumi.Input['ChannelAddressArgs']] = None, + custom: Optional[pulumi.Input['ChannelCustomArgs']] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + geolocation: Optional[pulumi.Input['ChannelGeolocationArgs']] = None, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -98,8 +140,14 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: The [roles](https://docs.commercetools.com/api/projects/channels#channelroleenum) of this channel. Each channel must have at least one role """ + if address is not None: + pulumi.set(__self__, "address", address) + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) + if geolocation is not None: + pulumi.set(__self__, "geolocation", geolocation) if key is not None: pulumi.set(__self__, "key", key) if name is not None: @@ -109,6 +157,24 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) + @property + @pulumi.getter + def address(self) -> Optional[pulumi.Input['ChannelAddressArgs']]: + return pulumi.get(self, "address") + + @address.setter + def address(self, value: Optional[pulumi.Input['ChannelAddressArgs']]): + pulumi.set(self, "address", value) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['ChannelCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['ChannelCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -121,6 +187,15 @@ def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "description", value) + @property + @pulumi.getter + def geolocation(self) -> Optional[pulumi.Input['ChannelGeolocationArgs']]: + return pulumi.get(self, "geolocation") + + @geolocation.setter + def geolocation(self, value: Optional[pulumi.Input['ChannelGeolocationArgs']]): + pulumi.set(self, "geolocation", value) + @property @pulumi.getter def key(self) -> Optional[pulumi.Input[str]]: @@ -173,7 +248,10 @@ class Channel(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + address: Optional[pulumi.Input[pulumi.InputType['ChannelAddressArgs']]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ChannelCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + geolocation: Optional[pulumi.Input[pulumi.InputType['ChannelGeolocationArgs']]] = None, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -211,23 +289,26 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + address: Optional[pulumi.Input[pulumi.InputType['ChannelAddressArgs']]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ChannelCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + geolocation: Optional[pulumi.Input[pulumi.InputType['ChannelGeolocationArgs']]] = None, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ChannelArgs.__new__(ChannelArgs) + __props__.__dict__["address"] = address + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description + __props__.__dict__["geolocation"] = geolocation if key is None and not opts.urn: raise TypeError("Missing required property 'key'") __props__.__dict__["key"] = key @@ -246,7 +327,10 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + address: Optional[pulumi.Input[pulumi.InputType['ChannelAddressArgs']]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ChannelCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + geolocation: Optional[pulumi.Input[pulumi.InputType['ChannelGeolocationArgs']]] = None, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -268,13 +352,26 @@ def get(resource_name: str, __props__ = _ChannelState.__new__(_ChannelState) + __props__.__dict__["address"] = address + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description + __props__.__dict__["geolocation"] = geolocation __props__.__dict__["key"] = key __props__.__dict__["name"] = name __props__.__dict__["roles"] = roles __props__.__dict__["version"] = version return Channel(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter + def address(self) -> pulumi.Output[Optional['outputs.ChannelAddress']]: + return pulumi.get(self, "address") + + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.ChannelCustom']]: + return pulumi.get(self, "custom") + @property @pulumi.getter def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: @@ -283,6 +380,11 @@ def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: """ return pulumi.get(self, "description") + @property + @pulumi.getter + def geolocation(self) -> pulumi.Output[Optional['outputs.ChannelGeolocation']]: + return pulumi.get(self, "geolocation") + @property @pulumi.getter def key(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_commercetools/config/__init__.py b/sdk/python/pulumi_commercetools/config/__init__.py index 4085e5d..18853fc 100644 --- a/sdk/python/pulumi_commercetools/config/__init__.py +++ b/sdk/python/pulumi_commercetools/config/__init__.py @@ -2,7 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** -from .. import _utilities -import typing -# Export this package's modules as members: -from .vars import * +import sys +from .vars import _ExportableConfig + +sys.modules[__name__].__class__ = _ExportableConfig diff --git a/sdk/python/pulumi_commercetools/config/__init__.pyi b/sdk/python/pulumi_commercetools/config/__init__.pyi new file mode 100644 index 0000000..ad2768c --- /dev/null +++ b/sdk/python/pulumi_commercetools/config/__init__.pyi @@ -0,0 +1,42 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +apiUrl: Optional[str] +""" +The API URL of the commercetools platform. https://docs.commercetools.com/http-api +""" + +clientId: Optional[str] +""" +The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization +""" + +clientSecret: Optional[str] +""" +The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization +""" + +projectKey: Optional[str] +""" +The project key of commercetools platform project. https://docs.commercetools.com/getting-started +""" + +scopes: Optional[str] +""" +A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. +https://docs.commercetools.com/http-api-authorization +""" + +tokenUrl: Optional[str] +""" +The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization +""" + diff --git a/sdk/python/pulumi_commercetools/config/vars.py b/sdk/python/pulumi_commercetools/config/vars.py index 482ec07..addb66a 100644 --- a/sdk/python/pulumi_commercetools/config/vars.py +++ b/sdk/python/pulumi_commercetools/config/vars.py @@ -2,51 +2,59 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities -__all__ = [ - 'api_url', - 'client_id', - 'client_secret', - 'project_key', - 'scopes', - 'token_url', -] +import types __config__ = pulumi.Config('commercetools') -api_url = __config__.get('apiUrl') -""" -The API URL of the commercetools platform. https://docs.commercetools.com/http-api -""" - -client_id = __config__.get('clientId') -""" -The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization -""" - -client_secret = __config__.get('clientSecret') -""" -The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization -""" - -project_key = __config__.get('projectKey') -""" -The project key of commercetools platform project. https://docs.commercetools.com/getting-started -""" - -scopes = __config__.get('scopes') -""" -A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. -https://docs.commercetools.com/http-api-authorization -""" - -token_url = __config__.get('tokenUrl') -""" -The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization -""" + +class _ExportableConfig(types.ModuleType): + @property + def api_url(self) -> Optional[str]: + """ + The API URL of the commercetools platform. https://docs.commercetools.com/http-api + """ + return __config__.get('apiUrl') + + @property + def client_id(self) -> Optional[str]: + """ + The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization + """ + return __config__.get('clientId') + + @property + def client_secret(self) -> Optional[str]: + """ + The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization + """ + return __config__.get('clientSecret') + + @property + def project_key(self) -> Optional[str]: + """ + The project key of commercetools platform project. https://docs.commercetools.com/getting-started + """ + return __config__.get('projectKey') + + @property + def scopes(self) -> Optional[str]: + """ + A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. + https://docs.commercetools.com/http-api-authorization + """ + return __config__.get('scopes') + + @property + def token_url(self) -> Optional[str]: + """ + The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization + """ + return __config__.get('tokenUrl') diff --git a/sdk/python/pulumi_commercetools/custom_object.py b/sdk/python/pulumi_commercetools/custom_object.py index fbb4c58..00b94fd 100644 --- a/sdk/python/pulumi_commercetools/custom_object.py +++ b/sdk/python/pulumi_commercetools/custom_object.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -175,12 +176,9 @@ def _internal_init(__self__, key: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/customer_group.py b/sdk/python/pulumi_commercetools/customer_group.py new file mode 100644 index 0000000..ff5395d --- /dev/null +++ b/sdk/python/pulumi_commercetools/customer_group.py @@ -0,0 +1,246 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['CustomerGroupArgs', 'CustomerGroup'] + +@pulumi.input_type +class CustomerGroupArgs: + def __init__(__self__, *, + custom: Optional[pulumi.Input['CustomerGroupCustomArgs']] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a CustomerGroup resource. + :param pulumi.Input[str] key: User-specific unique identifier for the customer group + :param pulumi.Input[str] name: Unique within the project + """ + if custom is not None: + pulumi.set(__self__, "custom", custom) + if key is not None: + pulumi.set(__self__, "key", key) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['CustomerGroupCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['CustomerGroupCustomArgs']]): + pulumi.set(self, "custom", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + User-specific unique identifier for the customer group + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Unique within the project + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _CustomerGroupState: + def __init__(__self__, *, + custom: Optional[pulumi.Input['CustomerGroupCustomArgs']] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None): + """ + Input properties used for looking up and filtering CustomerGroup resources. + :param pulumi.Input[str] key: User-specific unique identifier for the customer group + :param pulumi.Input[str] name: Unique within the project + """ + if custom is not None: + pulumi.set(__self__, "custom", custom) + if key is not None: + pulumi.set(__self__, "key", key) + if name is not None: + pulumi.set(__self__, "name", name) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['CustomerGroupCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['CustomerGroupCustomArgs']]): + pulumi.set(self, "custom", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + User-specific unique identifier for the customer group + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Unique within the project + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +class CustomerGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CustomerGroupCustomArgs']]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a CustomerGroup resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] key: User-specific unique identifier for the customer group + :param pulumi.Input[str] name: Unique within the project + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[CustomerGroupArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a CustomerGroup resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param CustomerGroupArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(CustomerGroupArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CustomerGroupCustomArgs']]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = CustomerGroupArgs.__new__(CustomerGroupArgs) + + __props__.__dict__["custom"] = custom + __props__.__dict__["key"] = key + __props__.__dict__["name"] = name + __props__.__dict__["version"] = None + super(CustomerGroup, __self__).__init__( + 'commercetools:index/customerGroup:CustomerGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['CustomerGroupCustomArgs']]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None) -> 'CustomerGroup': + """ + Get an existing CustomerGroup resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] key: User-specific unique identifier for the customer group + :param pulumi.Input[str] name: Unique within the project + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _CustomerGroupState.__new__(_CustomerGroupState) + + __props__.__dict__["custom"] = custom + __props__.__dict__["key"] = key + __props__.__dict__["name"] = name + __props__.__dict__["version"] = version + return CustomerGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.CustomerGroupCustom']]: + return pulumi.get(self, "custom") + + @property + @pulumi.getter + def key(self) -> pulumi.Output[Optional[str]]: + """ + User-specific unique identifier for the customer group + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + Unique within the project + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[int]: + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_commercetools/discount_code.py b/sdk/python/pulumi_commercetools/discount_code.py index 08a0e13..7c30a70 100644 --- a/sdk/python/pulumi_commercetools/discount_code.py +++ b/sdk/python/pulumi_commercetools/discount_code.py @@ -2,11 +2,14 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['DiscountCodeArgs', 'DiscountCode'] @@ -15,6 +18,7 @@ class DiscountCodeArgs: def __init__(__self__, *, cart_discounts: pulumi.Input[Sequence[pulumi.Input[str]]], code: pulumi.Input[str], + custom: Optional[pulumi.Input['DiscountCodeCustomArgs']] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_active: Optional[pulumi.Input[bool]] = None, @@ -40,6 +44,8 @@ def __init__(__self__, *, """ pulumi.set(__self__, "cart_discounts", cart_discounts) pulumi.set(__self__, "code", code) + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) if groups is not None: @@ -84,6 +90,15 @@ def code(self) -> pulumi.Input[str]: def code(self, value: pulumi.Input[str]): pulumi.set(self, "code", value) + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['DiscountCodeCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['DiscountCodeCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -195,6 +210,7 @@ class _DiscountCodeState: def __init__(__self__, *, cart_discounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, code: Optional[pulumi.Input[str]] = None, + custom: Optional[pulumi.Input['DiscountCodeCustomArgs']] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_active: Optional[pulumi.Input[bool]] = None, @@ -223,6 +239,8 @@ def __init__(__self__, *, pulumi.set(__self__, "cart_discounts", cart_discounts) if code is not None: pulumi.set(__self__, "code", code) + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) if groups is not None: @@ -269,6 +287,15 @@ def code(self) -> Optional[pulumi.Input[str]]: def code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "code", value) + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['DiscountCodeCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['DiscountCodeCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -391,6 +418,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, cart_discounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, code: Optional[pulumi.Input[str]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['DiscountCodeCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_active: Optional[pulumi.Input[bool]] = None, @@ -442,6 +470,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, cart_discounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, code: Optional[pulumi.Input[str]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['DiscountCodeCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_active: Optional[pulumi.Input[bool]] = None, @@ -452,12 +481,9 @@ def _internal_init(__self__, valid_from: Optional[pulumi.Input[str]] = None, valid_until: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -469,6 +495,7 @@ def _internal_init(__self__, if code is None and not opts.urn: raise TypeError("Missing required property 'code'") __props__.__dict__["code"] = code + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description __props__.__dict__["groups"] = groups __props__.__dict__["is_active"] = is_active @@ -491,6 +518,7 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, cart_discounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, code: Optional[pulumi.Input[str]] = None, + custom: Optional[pulumi.Input[pulumi.InputType['DiscountCodeCustomArgs']]] = None, description: Optional[pulumi.Input[Mapping[str, Any]]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_active: Optional[pulumi.Input[bool]] = None, @@ -526,6 +554,7 @@ def get(resource_name: str, __props__.__dict__["cart_discounts"] = cart_discounts __props__.__dict__["code"] = code + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description __props__.__dict__["groups"] = groups __props__.__dict__["is_active"] = is_active @@ -555,6 +584,11 @@ def code(self) -> pulumi.Output[str]: """ return pulumi.get(self, "code") + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.DiscountCodeCustom']]: + return pulumi.get(self, "custom") + @property @pulumi.getter def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: diff --git a/sdk/python/pulumi_commercetools/get_type.py b/sdk/python/pulumi_commercetools/get_type.py new file mode 100644 index 0000000..3ff5be4 --- /dev/null +++ b/sdk/python/pulumi_commercetools/get_type.py @@ -0,0 +1,74 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = [ + 'GetTypeResult', + 'AwaitableGetTypeResult', + 'get_type', + 'get_type_output', +] + +@pulumi.output_type +class GetTypeResult: + """ + A collection of values returned by getType. + """ + def __init__(__self__, id=None, key=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if key and not isinstance(key, str): + raise TypeError("Expected argument 'key' to be a str") + pulumi.set(__self__, "key", key) + + @property + @pulumi.getter + def id(self) -> str: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + +class AwaitableGetTypeResult(GetTypeResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetTypeResult( + id=self.id, + key=self.key) + + +def get_type(key: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTypeResult: + """ + Use this data source to access information about an existing resource. + """ + __args__ = dict() + __args__['key'] = key + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('commercetools:index/getType:getType', __args__, opts=opts, typ=GetTypeResult).value + + return AwaitableGetTypeResult( + id=pulumi.get(__ret__, 'id'), + key=pulumi.get(__ret__, 'key')) + + +@_utilities.lift_output_func(get_type) +def get_type_output(key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTypeResult]: + """ + Use this data source to access information about an existing resource. + """ + ... diff --git a/sdk/python/pulumi_commercetools/outputs.py b/sdk/python/pulumi_commercetools/outputs.py index 78000ff..f1ddd13 100644 --- a/sdk/python/pulumi_commercetools/outputs.py +++ b/sdk/python/pulumi_commercetools/outputs.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -15,20 +16,36 @@ 'CartDiscountTarget', 'CartDiscountValue', 'CartDiscountValueMoney', + 'CategoryAsset', + 'CategoryAssetSource', + 'CategoryAssetSourceDimensions', + 'CategoryCustom', + 'ChannelAddress', + 'ChannelCustom', + 'ChannelGeolocation', + 'CustomerGroupCustom', + 'DiscountCodeCustom', + 'ProductDiscountValue', + 'ProductDiscountValueMoney', 'ProductTypeAttribute', 'ProductTypeAttributeType', 'ProductTypeAttributeTypeElementType2', 'ProductTypeAttributeTypeElementType2LocalizedValue', + 'ProductTypeAttributeTypeElementType2Value', 'ProductTypeAttributeTypeLocalizedValue', + 'ProductTypeAttributeTypeValue', 'ProjectSettingsCarts', 'ProjectSettingsExternalOauth', 'ProjectSettingsMessages', 'ProjectSettingsShippingRateCartClassificationValue', + 'ShippingMethodCustom', 'ShippingZoneLocation', 'ShippingZoneRateFreeAbove', 'ShippingZoneRatePrice', 'ShippingZoneRateShippingRatePriceTier', 'ShippingZoneRateShippingRatePriceTierPrice', + 'ShippingZoneRateShippingRatePriceTierPriceFunction', + 'StoreCustom', 'SubscriptionChange', 'SubscriptionDestination', 'SubscriptionFormat', @@ -38,7 +55,9 @@ 'TypeFieldType', 'TypeFieldTypeElementType2', 'TypeFieldTypeElementType2LocalizedValue', + 'TypeFieldTypeElementType2Value', 'TypeFieldTypeLocalizedValue', + 'TypeFieldTypeValue', ] @pulumi.output_type @@ -145,9 +164,12 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, actions: Sequence[str], - resource_type_id: str): + resource_type_id: str, + condition: Optional[str] = None): pulumi.set(__self__, "actions", actions) pulumi.set(__self__, "resource_type_id", resource_type_id) + if condition is not None: + pulumi.set(__self__, "condition", condition) @property @pulumi.getter @@ -159,6 +181,11 @@ def actions(self) -> Sequence[str]: def resource_type_id(self) -> str: return pulumi.get(self, "resource_type_id") + @property + @pulumi.getter + def condition(self) -> Optional[str]: + return pulumi.get(self, "condition") + @pulumi.output_type class CartDiscountTarget(dict): @@ -299,6 +326,603 @@ def currency_code(self) -> str: return pulumi.get(self, "currency_code") +@pulumi.output_type +class CategoryAsset(dict): + def __init__(__self__, *, + name: Mapping[str, Any], + description: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + key: Optional[str] = None, + sources: Optional[Sequence['outputs.CategoryAssetSource']] = None, + tags: Optional[Sequence[str]] = None): + pulumi.set(__self__, "name", name) + if description is not None: + pulumi.set(__self__, "description", description) + if id is not None: + pulumi.set(__self__, "id", id) + if key is not None: + pulumi.set(__self__, "key", key) + if sources is not None: + pulumi.set(__self__, "sources", sources) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def name(self) -> Mapping[str, Any]: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def description(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "description") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def sources(self) -> Optional[Sequence['outputs.CategoryAssetSource']]: + return pulumi.get(self, "sources") + + @property + @pulumi.getter + def tags(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "tags") + + +@pulumi.output_type +class CategoryAssetSource(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "contentType": + suggest = "content_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CategoryAssetSource. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CategoryAssetSource.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CategoryAssetSource.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uri: str, + content_type: Optional[str] = None, + dimensions: Optional['outputs.CategoryAssetSourceDimensions'] = None, + key: Optional[str] = None): + pulumi.set(__self__, "uri", uri) + if content_type is not None: + pulumi.set(__self__, "content_type", content_type) + if dimensions is not None: + pulumi.set(__self__, "dimensions", dimensions) + if key is not None: + pulumi.set(__self__, "key", key) + + @property + @pulumi.getter + def uri(self) -> str: + return pulumi.get(self, "uri") + + @property + @pulumi.getter(name="contentType") + def content_type(self) -> Optional[str]: + return pulumi.get(self, "content_type") + + @property + @pulumi.getter + def dimensions(self) -> Optional['outputs.CategoryAssetSourceDimensions']: + return pulumi.get(self, "dimensions") + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + +@pulumi.output_type +class CategoryAssetSourceDimensions(dict): + def __init__(__self__, *, + h: int, + w: int): + pulumi.set(__self__, "h", h) + pulumi.set(__self__, "w", w) + + @property + @pulumi.getter + def h(self) -> int: + return pulumi.get(self, "h") + + @property + @pulumi.getter + def w(self) -> int: + return pulumi.get(self, "w") + + +@pulumi.output_type +class CategoryCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CategoryCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CategoryCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CategoryCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + +@pulumi.output_type +class ChannelAddress(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalAddressInfo": + suggest = "additional_address_info" + elif key == "additionalStreetInfo": + suggest = "additional_street_info" + elif key == "externalId": + suggest = "external_id" + elif key == "firstName": + suggest = "first_name" + elif key == "lastName": + suggest = "last_name" + elif key == "poBox": + suggest = "po_box" + elif key == "postalCode": + suggest = "postal_code" + elif key == "streetName": + suggest = "street_name" + elif key == "streetNumber": + suggest = "street_number" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ChannelAddress. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ChannelAddress.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ChannelAddress.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + country: str, + additional_address_info: Optional[str] = None, + additional_street_info: Optional[str] = None, + apartment: Optional[str] = None, + building: Optional[str] = None, + city: Optional[str] = None, + company: Optional[str] = None, + department: Optional[str] = None, + email: Optional[str] = None, + external_id: Optional[str] = None, + fax: Optional[str] = None, + first_name: Optional[str] = None, + id: Optional[str] = None, + key: Optional[str] = None, + last_name: Optional[str] = None, + mobile: Optional[str] = None, + phone: Optional[str] = None, + po_box: Optional[str] = None, + postal_code: Optional[str] = None, + region: Optional[str] = None, + salutation: Optional[str] = None, + state: Optional[str] = None, + street_name: Optional[str] = None, + street_number: Optional[str] = None, + title: Optional[str] = None): + pulumi.set(__self__, "country", country) + if additional_address_info is not None: + pulumi.set(__self__, "additional_address_info", additional_address_info) + if additional_street_info is not None: + pulumi.set(__self__, "additional_street_info", additional_street_info) + if apartment is not None: + pulumi.set(__self__, "apartment", apartment) + if building is not None: + pulumi.set(__self__, "building", building) + if city is not None: + pulumi.set(__self__, "city", city) + if company is not None: + pulumi.set(__self__, "company", company) + if department is not None: + pulumi.set(__self__, "department", department) + if email is not None: + pulumi.set(__self__, "email", email) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if fax is not None: + pulumi.set(__self__, "fax", fax) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if id is not None: + pulumi.set(__self__, "id", id) + if key is not None: + pulumi.set(__self__, "key", key) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile is not None: + pulumi.set(__self__, "mobile", mobile) + if phone is not None: + pulumi.set(__self__, "phone", phone) + if po_box is not None: + pulumi.set(__self__, "po_box", po_box) + if postal_code is not None: + pulumi.set(__self__, "postal_code", postal_code) + if region is not None: + pulumi.set(__self__, "region", region) + if salutation is not None: + pulumi.set(__self__, "salutation", salutation) + if state is not None: + pulumi.set(__self__, "state", state) + if street_name is not None: + pulumi.set(__self__, "street_name", street_name) + if street_number is not None: + pulumi.set(__self__, "street_number", street_number) + if title is not None: + pulumi.set(__self__, "title", title) + + @property + @pulumi.getter + def country(self) -> str: + return pulumi.get(self, "country") + + @property + @pulumi.getter(name="additionalAddressInfo") + def additional_address_info(self) -> Optional[str]: + return pulumi.get(self, "additional_address_info") + + @property + @pulumi.getter(name="additionalStreetInfo") + def additional_street_info(self) -> Optional[str]: + return pulumi.get(self, "additional_street_info") + + @property + @pulumi.getter + def apartment(self) -> Optional[str]: + return pulumi.get(self, "apartment") + + @property + @pulumi.getter + def building(self) -> Optional[str]: + return pulumi.get(self, "building") + + @property + @pulumi.getter + def city(self) -> Optional[str]: + return pulumi.get(self, "city") + + @property + @pulumi.getter + def company(self) -> Optional[str]: + return pulumi.get(self, "company") + + @property + @pulumi.getter + def department(self) -> Optional[str]: + return pulumi.get(self, "department") + + @property + @pulumi.getter + def email(self) -> Optional[str]: + return pulumi.get(self, "email") + + @property + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[str]: + return pulumi.get(self, "external_id") + + @property + @pulumi.getter + def fax(self) -> Optional[str]: + return pulumi.get(self, "fax") + + @property + @pulumi.getter(name="firstName") + def first_name(self) -> Optional[str]: + return pulumi.get(self, "first_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def key(self) -> Optional[str]: + return pulumi.get(self, "key") + + @property + @pulumi.getter(name="lastName") + def last_name(self) -> Optional[str]: + return pulumi.get(self, "last_name") + + @property + @pulumi.getter + def mobile(self) -> Optional[str]: + return pulumi.get(self, "mobile") + + @property + @pulumi.getter + def phone(self) -> Optional[str]: + return pulumi.get(self, "phone") + + @property + @pulumi.getter(name="poBox") + def po_box(self) -> Optional[str]: + return pulumi.get(self, "po_box") + + @property + @pulumi.getter(name="postalCode") + def postal_code(self) -> Optional[str]: + return pulumi.get(self, "postal_code") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + @property + @pulumi.getter + def salutation(self) -> Optional[str]: + return pulumi.get(self, "salutation") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="streetName") + def street_name(self) -> Optional[str]: + return pulumi.get(self, "street_name") + + @property + @pulumi.getter(name="streetNumber") + def street_number(self) -> Optional[str]: + return pulumi.get(self, "street_number") + + @property + @pulumi.getter + def title(self) -> Optional[str]: + return pulumi.get(self, "title") + + +@pulumi.output_type +class ChannelCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ChannelCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ChannelCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ChannelCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + +@pulumi.output_type +class ChannelGeolocation(dict): + def __init__(__self__, *, + coordinates: Sequence[float]): + pulumi.set(__self__, "coordinates", coordinates) + + @property + @pulumi.getter + def coordinates(self) -> Sequence[float]: + return pulumi.get(self, "coordinates") + + +@pulumi.output_type +class CustomerGroupCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CustomerGroupCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CustomerGroupCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CustomerGroupCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + +@pulumi.output_type +class DiscountCodeCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DiscountCodeCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DiscountCodeCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DiscountCodeCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + +@pulumi.output_type +class ProductDiscountValue(dict): + def __init__(__self__, *, + type: str, + monies: Optional[Sequence['outputs.ProductDiscountValueMoney']] = None, + permyriad: Optional[int] = None): + pulumi.set(__self__, "type", type) + if monies is not None: + pulumi.set(__self__, "monies", monies) + if permyriad is not None: + pulumi.set(__self__, "permyriad", permyriad) + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + @property + @pulumi.getter + def monies(self) -> Optional[Sequence['outputs.ProductDiscountValueMoney']]: + return pulumi.get(self, "monies") + + @property + @pulumi.getter + def permyriad(self) -> Optional[int]: + return pulumi.get(self, "permyriad") + + +@pulumi.output_type +class ProductDiscountValueMoney(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "centAmount": + suggest = "cent_amount" + elif key == "currencyCode": + suggest = "currency_code" + elif key == "fractionDigits": + suggest = "fraction_digits" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ProductDiscountValueMoney. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ProductDiscountValueMoney.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ProductDiscountValueMoney.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cent_amount: int, + currency_code: str, + fraction_digits: Optional[int] = None): + pulumi.set(__self__, "cent_amount", cent_amount) + pulumi.set(__self__, "currency_code", currency_code) + if fraction_digits is not None: + pulumi.set(__self__, "fraction_digits", fraction_digits) + + @property + @pulumi.getter(name="centAmount") + def cent_amount(self) -> int: + return pulumi.get(self, "cent_amount") + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter(name="fractionDigits") + def fraction_digits(self) -> Optional[int]: + return pulumi.get(self, "fraction_digits") + + @pulumi.output_type class ProductTypeAttribute(dict): @staticmethod @@ -415,7 +1039,7 @@ def __init__(__self__, *, localized_values: Optional[Sequence['outputs.ProductTypeAttributeTypeLocalizedValue']] = None, reference_type_id: Optional[str] = None, type_reference: Optional[str] = None, - values: Optional[Mapping[str, Any]] = None): + values: Optional[Sequence['outputs.ProductTypeAttributeTypeValue']] = None): pulumi.set(__self__, "name", name) if element_type2 is not None: pulumi.set(__self__, "element_type2", element_type2) @@ -455,7 +1079,7 @@ def type_reference(self) -> Optional[str]: @property @pulumi.getter - def values(self) -> Optional[Mapping[str, Any]]: + def values(self) -> Optional[Sequence['outputs.ProductTypeAttributeTypeValue']]: return pulumi.get(self, "values") @@ -487,7 +1111,7 @@ def __init__(__self__, *, localized_values: Optional[Sequence['outputs.ProductTypeAttributeTypeElementType2LocalizedValue']] = None, reference_type_id: Optional[str] = None, type_reference: Optional[str] = None, - values: Optional[Mapping[str, Any]] = None): + values: Optional[Sequence['outputs.ProductTypeAttributeTypeElementType2Value']] = None): pulumi.set(__self__, "name", name) if localized_values is not None: pulumi.set(__self__, "localized_values", localized_values) @@ -520,7 +1144,7 @@ def type_reference(self) -> Optional[str]: @property @pulumi.getter - def values(self) -> Optional[Mapping[str, Any]]: + def values(self) -> Optional[Sequence['outputs.ProductTypeAttributeTypeElementType2Value']]: return pulumi.get(self, "values") @@ -543,6 +1167,25 @@ def label(self) -> Mapping[str, Any]: return pulumi.get(self, "label") +@pulumi.output_type +class ProductTypeAttributeTypeElementType2Value(dict): + def __init__(__self__, *, + key: str, + label: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + @pulumi.output_type class ProductTypeAttributeTypeLocalizedValue(dict): def __init__(__self__, *, @@ -562,6 +1205,25 @@ def label(self) -> Mapping[str, Any]: return pulumi.get(self, "label") +@pulumi.output_type +class ProductTypeAttributeTypeValue(dict): + def __init__(__self__, *, + key: str, + label: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + @pulumi.output_type class ProjectSettingsCarts(dict): @staticmethod @@ -584,15 +1246,16 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - country_tax_rate_fallback_enabled: bool, + country_tax_rate_fallback_enabled: Optional[bool] = None, delete_days_after_last_modification: Optional[int] = None): - pulumi.set(__self__, "country_tax_rate_fallback_enabled", country_tax_rate_fallback_enabled) + if country_tax_rate_fallback_enabled is not None: + pulumi.set(__self__, "country_tax_rate_fallback_enabled", country_tax_rate_fallback_enabled) if delete_days_after_last_modification is not None: pulumi.set(__self__, "delete_days_after_last_modification", delete_days_after_last_modification) @property @pulumi.getter(name="countryTaxRateFallbackEnabled") - def country_tax_rate_fallback_enabled(self) -> bool: + def country_tax_rate_fallback_enabled(self) -> Optional[bool]: return pulumi.get(self, "country_tax_rate_fallback_enabled") @property @@ -621,31 +1284,59 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - authorization_header: str, - url: str): - pulumi.set(__self__, "authorization_header", authorization_header) - pulumi.set(__self__, "url", url) + authorization_header: Optional[str] = None, + url: Optional[str] = None): + if authorization_header is not None: + pulumi.set(__self__, "authorization_header", authorization_header) + if url is not None: + pulumi.set(__self__, "url", url) @property @pulumi.getter(name="authorizationHeader") - def authorization_header(self) -> str: + def authorization_header(self) -> Optional[str]: return pulumi.get(self, "authorization_header") @property @pulumi.getter - def url(self) -> str: + def url(self) -> Optional[str]: return pulumi.get(self, "url") @pulumi.output_type class ProjectSettingsMessages(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "deleteDaysAfterCreation": + suggest = "delete_days_after_creation" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ProjectSettingsMessages. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ProjectSettingsMessages.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ProjectSettingsMessages.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - enabled: bool): - pulumi.set(__self__, "enabled", enabled) + delete_days_after_creation: Optional[int] = None, + enabled: Optional[bool] = None): + if delete_days_after_creation is not None: + pulumi.set(__self__, "delete_days_after_creation", delete_days_after_creation) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="deleteDaysAfterCreation") + def delete_days_after_creation(self) -> Optional[int]: + return pulumi.get(self, "delete_days_after_creation") @property @pulumi.getter - def enabled(self) -> bool: + def enabled(self) -> Optional[bool]: return pulumi.get(self, "enabled") @@ -653,7 +1344,7 @@ def enabled(self) -> bool: class ProjectSettingsShippingRateCartClassificationValue(dict): def __init__(__self__, *, key: str, - label: Optional[Mapping[str, Any]] = None): + label: Optional[Mapping[str, str]] = None): pulumi.set(__self__, "key", key) if label is not None: pulumi.set(__self__, "label", label) @@ -665,10 +1356,47 @@ def key(self) -> str: @property @pulumi.getter - def label(self) -> Optional[Mapping[str, Any]]: + def label(self) -> Optional[Mapping[str, str]]: return pulumi.get(self, "label") +@pulumi.output_type +class ShippingMethodCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ShippingMethodCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ShippingMethodCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ShippingMethodCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + @pulumi.output_type class ShippingZoneLocation(dict): def __init__(__self__, *, @@ -772,6 +1500,8 @@ def __key_warning(key: str): suggest = None if key == "minimumCentAmount": suggest = "minimum_cent_amount" + elif key == "priceFunction": + suggest = "price_function" if suggest: pulumi.log.warn(f"Key '{key}' not found in ShippingZoneRateShippingRatePriceTier. Access the value via the '{suggest}' property getter instead.") @@ -785,25 +1515,24 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - price: 'outputs.ShippingZoneRateShippingRatePriceTierPrice', type: str, minimum_cent_amount: Optional[int] = None, - score: Optional[float] = None, + price: Optional['outputs.ShippingZoneRateShippingRatePriceTierPrice'] = None, + price_function: Optional['outputs.ShippingZoneRateShippingRatePriceTierPriceFunction'] = None, + score: Optional[int] = None, value: Optional[str] = None): - pulumi.set(__self__, "price", price) pulumi.set(__self__, "type", type) if minimum_cent_amount is not None: pulumi.set(__self__, "minimum_cent_amount", minimum_cent_amount) + if price is not None: + pulumi.set(__self__, "price", price) + if price_function is not None: + pulumi.set(__self__, "price_function", price_function) if score is not None: pulumi.set(__self__, "score", score) if value is not None: pulumi.set(__self__, "value", value) - @property - @pulumi.getter - def price(self) -> 'outputs.ShippingZoneRateShippingRatePriceTierPrice': - return pulumi.get(self, "price") - @property @pulumi.getter def type(self) -> str: @@ -816,7 +1545,17 @@ def minimum_cent_amount(self) -> Optional[int]: @property @pulumi.getter - def score(self) -> Optional[float]: + def price(self) -> Optional['outputs.ShippingZoneRateShippingRatePriceTierPrice']: + return pulumi.get(self, "price") + + @property + @pulumi.getter(name="priceFunction") + def price_function(self) -> Optional['outputs.ShippingZoneRateShippingRatePriceTierPriceFunction']: + return pulumi.get(self, "price_function") + + @property + @pulumi.getter + def score(self) -> Optional[int]: return pulumi.get(self, "score") @property @@ -863,6 +1602,79 @@ def currency_code(self) -> str: return pulumi.get(self, "currency_code") +@pulumi.output_type +class ShippingZoneRateShippingRatePriceTierPriceFunction(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "currencyCode": + suggest = "currency_code" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ShippingZoneRateShippingRatePriceTierPriceFunction. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ShippingZoneRateShippingRatePriceTierPriceFunction.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ShippingZoneRateShippingRatePriceTierPriceFunction.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + currency_code: str, + function: str): + pulumi.set(__self__, "currency_code", currency_code) + pulumi.set(__self__, "function", function) + + @property + @pulumi.getter(name="currencyCode") + def currency_code(self) -> str: + return pulumi.get(self, "currency_code") + + @property + @pulumi.getter + def function(self) -> str: + return pulumi.get(self, "function") + + +@pulumi.output_type +class StoreCustom(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "typeId": + suggest = "type_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StoreCustom. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StoreCustom.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StoreCustom.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type_id: str, + fields: Optional[Mapping[str, Any]] = None): + pulumi.set(__self__, "type_id", type_id) + if fields is not None: + pulumi.set(__self__, "fields", fields) + + @property + @pulumi.getter(name="typeId") + def type_id(self) -> str: + return pulumi.get(self, "type_id") + + @property + @pulumi.getter + def fields(self) -> Optional[Mapping[str, Any]]: + return pulumi.get(self, "fields") + + @pulumi.output_type class SubscriptionChange(dict): @staticmethod @@ -883,13 +1695,12 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - resource_type_ids: Optional[Sequence[str]] = None): - if resource_type_ids is not None: - pulumi.set(__self__, "resource_type_ids", resource_type_ids) + resource_type_ids: Sequence[str]): + pulumi.set(__self__, "resource_type_ids", resource_type_ids) @property @pulumi.getter(name="resourceTypeIds") - def resource_type_ids(self) -> Optional[Sequence[str]]: + def resource_type_ids(self) -> Sequence[str]: return pulumi.get(self, "resource_type_ids") @@ -902,6 +1713,8 @@ def __key_warning(key: str): suggest = "access_key" elif key == "accessSecret": suggest = "access_secret" + elif key == "accountId": + suggest = "account_id" elif key == "connectionString": suggest = "connection_string" elif key == "projectId": @@ -923,49 +1736,44 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - region: str, type: str, - uri: str, access_key: Optional[str] = None, access_secret: Optional[str] = None, + account_id: Optional[str] = None, connection_string: Optional[str] = None, project_id: Optional[str] = None, queue_url: Optional[str] = None, + region: Optional[str] = None, topic: Optional[str] = None, - topic_arn: Optional[str] = None): - pulumi.set(__self__, "region", region) + topic_arn: Optional[str] = None, + uri: Optional[str] = None): pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) if access_key is not None: pulumi.set(__self__, "access_key", access_key) if access_secret is not None: pulumi.set(__self__, "access_secret", access_secret) + if account_id is not None: + pulumi.set(__self__, "account_id", account_id) if connection_string is not None: pulumi.set(__self__, "connection_string", connection_string) if project_id is not None: pulumi.set(__self__, "project_id", project_id) if queue_url is not None: pulumi.set(__self__, "queue_url", queue_url) + if region is not None: + pulumi.set(__self__, "region", region) if topic is not None: pulumi.set(__self__, "topic", topic) if topic_arn is not None: pulumi.set(__self__, "topic_arn", topic_arn) - - @property - @pulumi.getter - def region(self) -> str: - return pulumi.get(self, "region") + if uri is not None: + pulumi.set(__self__, "uri", uri) @property @pulumi.getter def type(self) -> str: return pulumi.get(self, "type") - @property - @pulumi.getter - def uri(self) -> str: - return pulumi.get(self, "uri") - @property @pulumi.getter(name="accessKey") def access_key(self) -> Optional[str]: @@ -976,6 +1784,11 @@ def access_key(self) -> Optional[str]: def access_secret(self) -> Optional[str]: return pulumi.get(self, "access_secret") + @property + @pulumi.getter(name="accountId") + def account_id(self) -> Optional[str]: + return pulumi.get(self, "account_id") + @property @pulumi.getter(name="connectionString") def connection_string(self) -> Optional[str]: @@ -991,6 +1804,11 @@ def project_id(self) -> Optional[str]: def queue_url(self) -> Optional[str]: return pulumi.get(self, "queue_url") + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + @property @pulumi.getter def topic(self) -> Optional[str]: @@ -1001,6 +1819,11 @@ def topic(self) -> Optional[str]: def topic_arn(self) -> Optional[str]: return pulumi.get(self, "topic_arn") + @property + @pulumi.getter + def uri(self) -> Optional[str]: + return pulumi.get(self, "uri") + @pulumi.output_type class SubscriptionFormat(dict): @@ -1022,22 +1845,23 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - type: str, - cloud_events_version: Optional[str] = None): - pulumi.set(__self__, "type", type) + cloud_events_version: Optional[str] = None, + type: Optional[str] = None): if cloud_events_version is not None: pulumi.set(__self__, "cloud_events_version", cloud_events_version) - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") + if type is not None: + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="cloudEventsVersion") def cloud_events_version(self) -> Optional[str]: return pulumi.get(self, "cloud_events_version") + @property + @pulumi.getter + def type(self) -> Optional[str]: + return pulumi.get(self, "type") + @pulumi.output_type class SubscriptionMessage(dict): @@ -1059,21 +1883,19 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - resource_type_id: Optional[str] = None, - types: Optional[Sequence[str]] = None): - if resource_type_id is not None: - pulumi.set(__self__, "resource_type_id", resource_type_id) - if types is not None: - pulumi.set(__self__, "types", types) + resource_type_id: str, + types: Sequence[str]): + pulumi.set(__self__, "resource_type_id", resource_type_id) + pulumi.set(__self__, "types", types) @property @pulumi.getter(name="resourceTypeId") - def resource_type_id(self) -> Optional[str]: + def resource_type_id(self) -> str: return pulumi.get(self, "resource_type_id") @property @pulumi.getter - def types(self) -> Optional[Sequence[str]]: + def types(self) -> Sequence[str]: return pulumi.get(self, "types") @@ -1183,7 +2005,7 @@ def __init__(__self__, *, element_type2: Optional['outputs.TypeFieldTypeElementType2'] = None, localized_values: Optional[Sequence['outputs.TypeFieldTypeLocalizedValue']] = None, reference_type_id: Optional[str] = None, - values: Optional[Mapping[str, Any]] = None): + values: Optional[Sequence['outputs.TypeFieldTypeValue']] = None): pulumi.set(__self__, "name", name) if element_type2 is not None: pulumi.set(__self__, "element_type2", element_type2) @@ -1216,7 +2038,7 @@ def reference_type_id(self) -> Optional[str]: @property @pulumi.getter - def values(self) -> Optional[Mapping[str, Any]]: + def values(self) -> Optional[Sequence['outputs.TypeFieldTypeValue']]: return pulumi.get(self, "values") @@ -1245,7 +2067,7 @@ def __init__(__self__, *, name: str, localized_values: Optional[Sequence['outputs.TypeFieldTypeElementType2LocalizedValue']] = None, reference_type_id: Optional[str] = None, - values: Optional[Mapping[str, Any]] = None): + values: Optional[Sequence['outputs.TypeFieldTypeElementType2Value']] = None): pulumi.set(__self__, "name", name) if localized_values is not None: pulumi.set(__self__, "localized_values", localized_values) @@ -1271,7 +2093,7 @@ def reference_type_id(self) -> Optional[str]: @property @pulumi.getter - def values(self) -> Optional[Mapping[str, Any]]: + def values(self) -> Optional[Sequence['outputs.TypeFieldTypeElementType2Value']]: return pulumi.get(self, "values") @@ -1294,6 +2116,25 @@ def label(self) -> Mapping[str, Any]: return pulumi.get(self, "label") +@pulumi.output_type +class TypeFieldTypeElementType2Value(dict): + def __init__(__self__, *, + key: str, + label: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + @pulumi.output_type class TypeFieldTypeLocalizedValue(dict): def __init__(__self__, *, @@ -1313,3 +2154,22 @@ def label(self) -> Mapping[str, Any]: return pulumi.get(self, "label") +@pulumi.output_type +class TypeFieldTypeValue(dict): + def __init__(__self__, *, + key: str, + label: str): + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "label", label) + + @property + @pulumi.getter + def key(self) -> str: + return pulumi.get(self, "key") + + @property + @pulumi.getter + def label(self) -> str: + return pulumi.get(self, "label") + + diff --git a/sdk/python/pulumi_commercetools/product_discount.py b/sdk/python/pulumi_commercetools/product_discount.py new file mode 100644 index 0000000..1492994 --- /dev/null +++ b/sdk/python/pulumi_commercetools/product_discount.py @@ -0,0 +1,539 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['ProductDiscountArgs', 'ProductDiscount'] + +@pulumi.input_type +class ProductDiscountArgs: + def __init__(__self__, *, + predicate: pulumi.Input[str], + sort_order: pulumi.Input[str], + value: pulumi.Input['ProductDiscountValueArgs'], + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a ProductDiscount resource. + :param pulumi.Input[str] predicate: A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + :param pulumi.Input[str] sort_order: The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + :param pulumi.Input['ProductDiscountValueArgs'] value: Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[bool] is_active: When set the product discount is applied to products matching the predicate + :param pulumi.Input[str] key: User-defined unique identifier for the ProductDiscount. Must be unique across a project + :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + pulumi.set(__self__, "predicate", predicate) + pulumi.set(__self__, "sort_order", sort_order) + pulumi.set(__self__, "value", value) + if description is not None: + pulumi.set(__self__, "description", description) + if is_active is not None: + pulumi.set(__self__, "is_active", is_active) + if key is not None: + pulumi.set(__self__, "key", key) + if name is not None: + pulumi.set(__self__, "name", name) + if valid_from is not None: + pulumi.set(__self__, "valid_from", valid_from) + if valid_until is not None: + pulumi.set(__self__, "valid_until", valid_until) + + @property + @pulumi.getter + def predicate(self) -> pulumi.Input[str]: + """ + A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + """ + return pulumi.get(self, "predicate") + + @predicate.setter + def predicate(self, value: pulumi.Input[str]): + pulumi.set(self, "predicate", value) + + @property + @pulumi.getter(name="sortOrder") + def sort_order(self) -> pulumi.Input[str]: + """ + The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + """ + return pulumi.get(self, "sort_order") + + @sort_order.setter + def sort_order(self, value: pulumi.Input[str]): + pulumi.set(self, "sort_order", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input['ProductDiscountValueArgs']: + """ + Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input['ProductDiscountValueArgs']): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[pulumi.Input[bool]]: + """ + When set the product discount is applied to products matching the predicate + """ + return pulumi.get(self, "is_active") + + @is_active.setter + def is_active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_active", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + User-defined unique identifier for the ProductDiscount. Must be unique across a project + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="validFrom") + def valid_from(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "valid_from") + + @valid_from.setter + def valid_from(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_from", value) + + @property + @pulumi.getter(name="validUntil") + def valid_until(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "valid_until") + + @valid_until.setter + def valid_until(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_until", value) + + +@pulumi.input_type +class _ProductDiscountState: + def __init__(__self__, *, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + predicate: Optional[pulumi.Input[str]] = None, + sort_order: Optional[pulumi.Input[str]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input['ProductDiscountValueArgs']] = None, + version: Optional[pulumi.Input[int]] = None): + """ + Input properties used for looking up and filtering ProductDiscount resources. + :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[bool] is_active: When set the product discount is applied to products matching the predicate + :param pulumi.Input[str] key: User-defined unique identifier for the ProductDiscount. Must be unique across a project + :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[str] predicate: A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + :param pulumi.Input[str] sort_order: The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + :param pulumi.Input['ProductDiscountValueArgs'] value: Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + if description is not None: + pulumi.set(__self__, "description", description) + if is_active is not None: + pulumi.set(__self__, "is_active", is_active) + if key is not None: + pulumi.set(__self__, "key", key) + if name is not None: + pulumi.set(__self__, "name", name) + if predicate is not None: + pulumi.set(__self__, "predicate", predicate) + if sort_order is not None: + pulumi.set(__self__, "sort_order", sort_order) + if valid_from is not None: + pulumi.set(__self__, "valid_from", valid_from) + if valid_until is not None: + pulumi.set(__self__, "valid_until", valid_until) + if value is not None: + pulumi.set(__self__, "value", value) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[pulumi.Input[bool]]: + """ + When set the product discount is applied to products matching the predicate + """ + return pulumi.get(self, "is_active") + + @is_active.setter + def is_active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_active", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + User-defined unique identifier for the ProductDiscount. Must be unique across a project + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def predicate(self) -> Optional[pulumi.Input[str]]: + """ + A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + """ + return pulumi.get(self, "predicate") + + @predicate.setter + def predicate(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "predicate", value) + + @property + @pulumi.getter(name="sortOrder") + def sort_order(self) -> Optional[pulumi.Input[str]]: + """ + The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + """ + return pulumi.get(self, "sort_order") + + @sort_order.setter + def sort_order(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sort_order", value) + + @property + @pulumi.getter(name="validFrom") + def valid_from(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "valid_from") + + @valid_from.setter + def valid_from(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_from", value) + + @property + @pulumi.getter(name="validUntil") + def valid_until(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "valid_until") + + @valid_until.setter + def valid_until(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "valid_until", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input['ProductDiscountValueArgs']]: + """ + Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input['ProductDiscountValueArgs']]): + pulumi.set(self, "value", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "version", value) + + +class ProductDiscount(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + predicate: Optional[pulumi.Input[str]] = None, + sort_order: Optional[pulumi.Input[str]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[pulumi.InputType['ProductDiscountValueArgs']]] = None, + __props__=None): + """ + Create a ProductDiscount resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[bool] is_active: When set the product discount is applied to products matching the predicate + :param pulumi.Input[str] key: User-defined unique identifier for the ProductDiscount. Must be unique across a project + :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[str] predicate: A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + :param pulumi.Input[str] sort_order: The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + :param pulumi.Input[pulumi.InputType['ProductDiscountValueArgs']] value: Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ProductDiscountArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a ProductDiscount resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ProductDiscountArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ProductDiscountArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + predicate: Optional[pulumi.Input[str]] = None, + sort_order: Optional[pulumi.Input[str]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[pulumi.InputType['ProductDiscountValueArgs']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ProductDiscountArgs.__new__(ProductDiscountArgs) + + __props__.__dict__["description"] = description + __props__.__dict__["is_active"] = is_active + __props__.__dict__["key"] = key + __props__.__dict__["name"] = name + if predicate is None and not opts.urn: + raise TypeError("Missing required property 'predicate'") + __props__.__dict__["predicate"] = predicate + if sort_order is None and not opts.urn: + raise TypeError("Missing required property 'sort_order'") + __props__.__dict__["sort_order"] = sort_order + __props__.__dict__["valid_from"] = valid_from + __props__.__dict__["valid_until"] = valid_until + if value is None and not opts.urn: + raise TypeError("Missing required property 'value'") + __props__.__dict__["value"] = value + __props__.__dict__["version"] = None + super(ProductDiscount, __self__).__init__( + 'commercetools:index/productDiscount:ProductDiscount', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + predicate: Optional[pulumi.Input[str]] = None, + sort_order: Optional[pulumi.Input[str]] = None, + valid_from: Optional[pulumi.Input[str]] = None, + valid_until: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[pulumi.InputType['ProductDiscountValueArgs']]] = None, + version: Optional[pulumi.Input[int]] = None) -> 'ProductDiscount': + """ + Get an existing ProductDiscount resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[bool] is_active: When set the product discount is applied to products matching the predicate + :param pulumi.Input[str] key: User-defined unique identifier for the ProductDiscount. Must be unique across a project + :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[str] predicate: A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + :param pulumi.Input[str] sort_order: The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + :param pulumi.Input[pulumi.InputType['ProductDiscountValueArgs']] value: Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _ProductDiscountState.__new__(_ProductDiscountState) + + __props__.__dict__["description"] = description + __props__.__dict__["is_active"] = is_active + __props__.__dict__["key"] = key + __props__.__dict__["name"] = name + __props__.__dict__["predicate"] = predicate + __props__.__dict__["sort_order"] = sort_order + __props__.__dict__["valid_from"] = valid_from + __props__.__dict__["valid_until"] = valid_until + __props__.__dict__["value"] = value + __props__.__dict__["version"] = version + return ProductDiscount(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> pulumi.Output[Optional[bool]]: + """ + When set the product discount is applied to products matching the predicate + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter + def key(self) -> pulumi.Output[Optional[str]]: + """ + User-defined unique identifier for the ProductDiscount. Must be unique across a project + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[Mapping[str, Any]]: + """ + [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def predicate(self) -> pulumi.Output[str]: + """ + A valid [Product Predicate](https://docs.commercetools.com/api/projects/predicates#product-predicates) + """ + return pulumi.get(self, "predicate") + + @property + @pulumi.getter(name="sortOrder") + def sort_order(self) -> pulumi.Output[str]: + """ + The string must contain a number between 0 and 1. All matching product discounts are applied to a product in the order + defined by this field. A discount with greater sort order is prioritized higher than a discount with lower sort order. + The sort order is unambiguous among all product discounts + """ + return pulumi.get(self, "sort_order") + + @property + @pulumi.getter(name="validFrom") + def valid_from(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "valid_from") + + @property + @pulumi.getter(name="validUntil") + def valid_until(self) -> pulumi.Output[Optional[str]]: + return pulumi.get(self, "valid_until") + + @property + @pulumi.getter + def value(self) -> pulumi.Output['outputs.ProductDiscountValue']: + """ + Defines the effect the discount will have. + [ProductDiscountValue](https://docs.commercetools.com/api/projects/productDiscounts#productdiscountvalue) + """ + return pulumi.get(self, "value") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[int]: + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_commercetools/product_type.py b/sdk/python/pulumi_commercetools/product_type.py index 671cc27..5e73e14 100644 --- a/sdk/python/pulumi_commercetools/product_type.py +++ b/sdk/python/pulumi_commercetools/product_type.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -197,12 +198,9 @@ def _internal_init(__self__, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/project_settings.py b/sdk/python/pulumi_commercetools/project_settings.py index a1c387f..a2220b5 100644 --- a/sdk/python/pulumi_commercetools/project_settings.py +++ b/sdk/python/pulumi_commercetools/project_settings.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -18,6 +19,8 @@ def __init__(__self__, *, carts: Optional[pulumi.Input['ProjectSettingsCartsArgs']] = None, countries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, currencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_search_index_orders: Optional[pulumi.Input[bool]] = None, + enable_search_index_products: Optional[pulumi.Input[bool]] = None, external_oauth: Optional[pulumi.Input['ProjectSettingsExternalOauthArgs']] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, messages: Optional[pulumi.Input['ProjectSettingsMessagesArgs']] = None, @@ -29,9 +32,11 @@ def __init__(__self__, *, :param pulumi.Input['ProjectSettingsCartsArgs'] carts: [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) :param pulumi.Input[Sequence[pulumi.Input[str]]] countries: A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) :param pulumi.Input[Sequence[pulumi.Input[str]]] currencies: A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) + :param pulumi.Input[bool] enable_search_index_orders: Enable the Search Indexing of orders + :param pulumi.Input[bool] enable_search_index_products: Enable the Search Indexing of products :param pulumi.Input['ProjectSettingsExternalOauthArgs'] external_oauth: [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) :param pulumi.Input[Sequence[pulumi.Input[str]]] languages: [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) - :param pulumi.Input['ProjectSettingsMessagesArgs'] messages: [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + :param pulumi.Input['ProjectSettingsMessagesArgs'] messages: The change notifications subscribed to :param pulumi.Input[str] name: The name of the project :param pulumi.Input[Sequence[pulumi.Input['ProjectSettingsShippingRateCartClassificationValueArgs']]] shipping_rate_cart_classification_values: If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys @@ -45,6 +50,10 @@ def __init__(__self__, *, pulumi.set(__self__, "countries", countries) if currencies is not None: pulumi.set(__self__, "currencies", currencies) + if enable_search_index_orders is not None: + pulumi.set(__self__, "enable_search_index_orders", enable_search_index_orders) + if enable_search_index_products is not None: + pulumi.set(__self__, "enable_search_index_products", enable_search_index_products) if external_oauth is not None: pulumi.set(__self__, "external_oauth", external_oauth) if languages is not None: @@ -94,6 +103,30 @@ def currencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def currencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "currencies", value) + @property + @pulumi.getter(name="enableSearchIndexOrders") + def enable_search_index_orders(self) -> Optional[pulumi.Input[bool]]: + """ + Enable the Search Indexing of orders + """ + return pulumi.get(self, "enable_search_index_orders") + + @enable_search_index_orders.setter + def enable_search_index_orders(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_search_index_orders", value) + + @property + @pulumi.getter(name="enableSearchIndexProducts") + def enable_search_index_products(self) -> Optional[pulumi.Input[bool]]: + """ + Enable the Search Indexing of products + """ + return pulumi.get(self, "enable_search_index_products") + + @enable_search_index_products.setter + def enable_search_index_products(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_search_index_products", value) + @property @pulumi.getter(name="externalOauth") def external_oauth(self) -> Optional[pulumi.Input['ProjectSettingsExternalOauthArgs']]: @@ -122,7 +155,7 @@ def languages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def messages(self) -> Optional[pulumi.Input['ProjectSettingsMessagesArgs']]: """ - [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + The change notifications subscribed to """ return pulumi.get(self, "messages") @@ -176,6 +209,8 @@ def __init__(__self__, *, carts: Optional[pulumi.Input['ProjectSettingsCartsArgs']] = None, countries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, currencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_search_index_orders: Optional[pulumi.Input[bool]] = None, + enable_search_index_products: Optional[pulumi.Input[bool]] = None, external_oauth: Optional[pulumi.Input['ProjectSettingsExternalOauthArgs']] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -189,10 +224,12 @@ def __init__(__self__, *, :param pulumi.Input['ProjectSettingsCartsArgs'] carts: [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) :param pulumi.Input[Sequence[pulumi.Input[str]]] countries: A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) :param pulumi.Input[Sequence[pulumi.Input[str]]] currencies: A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) + :param pulumi.Input[bool] enable_search_index_orders: Enable the Search Indexing of orders + :param pulumi.Input[bool] enable_search_index_products: Enable the Search Indexing of products :param pulumi.Input['ProjectSettingsExternalOauthArgs'] external_oauth: [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) :param pulumi.Input[str] key: The unique key of the project :param pulumi.Input[Sequence[pulumi.Input[str]]] languages: [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) - :param pulumi.Input['ProjectSettingsMessagesArgs'] messages: [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + :param pulumi.Input['ProjectSettingsMessagesArgs'] messages: The change notifications subscribed to :param pulumi.Input[str] name: The name of the project :param pulumi.Input[Sequence[pulumi.Input['ProjectSettingsShippingRateCartClassificationValueArgs']]] shipping_rate_cart_classification_values: If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys @@ -206,6 +243,10 @@ def __init__(__self__, *, pulumi.set(__self__, "countries", countries) if currencies is not None: pulumi.set(__self__, "currencies", currencies) + if enable_search_index_orders is not None: + pulumi.set(__self__, "enable_search_index_orders", enable_search_index_orders) + if enable_search_index_products is not None: + pulumi.set(__self__, "enable_search_index_products", enable_search_index_products) if external_oauth is not None: pulumi.set(__self__, "external_oauth", external_oauth) if key is not None: @@ -259,6 +300,30 @@ def currencies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def currencies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "currencies", value) + @property + @pulumi.getter(name="enableSearchIndexOrders") + def enable_search_index_orders(self) -> Optional[pulumi.Input[bool]]: + """ + Enable the Search Indexing of orders + """ + return pulumi.get(self, "enable_search_index_orders") + + @enable_search_index_orders.setter + def enable_search_index_orders(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_search_index_orders", value) + + @property + @pulumi.getter(name="enableSearchIndexProducts") + def enable_search_index_products(self) -> Optional[pulumi.Input[bool]]: + """ + Enable the Search Indexing of products + """ + return pulumi.get(self, "enable_search_index_products") + + @enable_search_index_products.setter + def enable_search_index_products(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_search_index_products", value) + @property @pulumi.getter(name="externalOauth") def external_oauth(self) -> Optional[pulumi.Input['ProjectSettingsExternalOauthArgs']]: @@ -299,7 +364,7 @@ def languages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def messages(self) -> Optional[pulumi.Input['ProjectSettingsMessagesArgs']]: """ - [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + The change notifications subscribed to """ return pulumi.get(self, "messages") @@ -364,6 +429,8 @@ def __init__(__self__, carts: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsCartsArgs']]] = None, countries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, currencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_search_index_orders: Optional[pulumi.Input[bool]] = None, + enable_search_index_products: Optional[pulumi.Input[bool]] = None, external_oauth: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsExternalOauthArgs']]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, messages: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']]] = None, @@ -378,9 +445,11 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['ProjectSettingsCartsArgs']] carts: [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) :param pulumi.Input[Sequence[pulumi.Input[str]]] countries: A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) :param pulumi.Input[Sequence[pulumi.Input[str]]] currencies: A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) + :param pulumi.Input[bool] enable_search_index_orders: Enable the Search Indexing of orders + :param pulumi.Input[bool] enable_search_index_products: Enable the Search Indexing of products :param pulumi.Input[pulumi.InputType['ProjectSettingsExternalOauthArgs']] external_oauth: [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) :param pulumi.Input[Sequence[pulumi.Input[str]]] languages: [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) - :param pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']] messages: [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + :param pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']] messages: The change notifications subscribed to :param pulumi.Input[str] name: The name of the project :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectSettingsShippingRateCartClassificationValueArgs']]]] shipping_rate_cart_classification_values: If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys @@ -414,6 +483,8 @@ def _internal_init(__self__, carts: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsCartsArgs']]] = None, countries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, currencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_search_index_orders: Optional[pulumi.Input[bool]] = None, + enable_search_index_products: Optional[pulumi.Input[bool]] = None, external_oauth: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsExternalOauthArgs']]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, messages: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']]] = None, @@ -421,12 +492,9 @@ def _internal_init(__self__, shipping_rate_cart_classification_values: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectSettingsShippingRateCartClassificationValueArgs']]]]] = None, shipping_rate_input_type: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -435,6 +503,8 @@ def _internal_init(__self__, __props__.__dict__["carts"] = carts __props__.__dict__["countries"] = countries __props__.__dict__["currencies"] = currencies + __props__.__dict__["enable_search_index_orders"] = enable_search_index_orders + __props__.__dict__["enable_search_index_products"] = enable_search_index_products __props__.__dict__["external_oauth"] = external_oauth __props__.__dict__["languages"] = languages __props__.__dict__["messages"] = messages @@ -456,6 +526,8 @@ def get(resource_name: str, carts: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsCartsArgs']]] = None, countries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, currencies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_search_index_orders: Optional[pulumi.Input[bool]] = None, + enable_search_index_products: Optional[pulumi.Input[bool]] = None, external_oauth: Optional[pulumi.Input[pulumi.InputType['ProjectSettingsExternalOauthArgs']]] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -474,10 +546,12 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['ProjectSettingsCartsArgs']] carts: [Carts Configuration](https://docs.commercetools.com/api/projects/project#carts-configuration) :param pulumi.Input[Sequence[pulumi.Input[str]]] countries: A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) :param pulumi.Input[Sequence[pulumi.Input[str]]] currencies: A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) + :param pulumi.Input[bool] enable_search_index_orders: Enable the Search Indexing of orders + :param pulumi.Input[bool] enable_search_index_products: Enable the Search Indexing of products :param pulumi.Input[pulumi.InputType['ProjectSettingsExternalOauthArgs']] external_oauth: [External OAUTH](https://docs.commercetools.com/api/projects/project#externaloauth) :param pulumi.Input[str] key: The unique key of the project :param pulumi.Input[Sequence[pulumi.Input[str]]] languages: [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) - :param pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']] messages: [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + :param pulumi.Input[pulumi.InputType['ProjectSettingsMessagesArgs']] messages: The change notifications subscribed to :param pulumi.Input[str] name: The name of the project :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectSettingsShippingRateCartClassificationValueArgs']]]] shipping_rate_cart_classification_values: If shipping_rate_input_type is set to CartClassification these values are used to create tiers . Only a key defined inside the values array can be used to create a tier, or to set a value for the shippingRateInput on the cart. The keys @@ -492,6 +566,8 @@ def get(resource_name: str, __props__.__dict__["carts"] = carts __props__.__dict__["countries"] = countries __props__.__dict__["currencies"] = currencies + __props__.__dict__["enable_search_index_orders"] = enable_search_index_orders + __props__.__dict__["enable_search_index_products"] = enable_search_index_products __props__.__dict__["external_oauth"] = external_oauth __props__.__dict__["key"] = key __props__.__dict__["languages"] = languages @@ -512,7 +588,7 @@ def carts(self) -> pulumi.Output[Optional['outputs.ProjectSettingsCarts']]: @property @pulumi.getter - def countries(self) -> pulumi.Output[Optional[Sequence[str]]]: + def countries(self) -> pulumi.Output[Sequence[str]]: """ A two-digit country code as per [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) """ @@ -520,12 +596,28 @@ def countries(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter - def currencies(self) -> pulumi.Output[Optional[Sequence[str]]]: + def currencies(self) -> pulumi.Output[Sequence[str]]: """ A three-digit currency code as per [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) """ return pulumi.get(self, "currencies") + @property + @pulumi.getter(name="enableSearchIndexOrders") + def enable_search_index_orders(self) -> pulumi.Output[bool]: + """ + Enable the Search Indexing of orders + """ + return pulumi.get(self, "enable_search_index_orders") + + @property + @pulumi.getter(name="enableSearchIndexProducts") + def enable_search_index_products(self) -> pulumi.Output[bool]: + """ + Enable the Search Indexing of products + """ + return pulumi.get(self, "enable_search_index_products") + @property @pulumi.getter(name="externalOauth") def external_oauth(self) -> pulumi.Output[Optional['outputs.ProjectSettingsExternalOauth']]: @@ -544,7 +636,7 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def languages(self) -> pulumi.Output[Optional[Sequence[str]]]: + def languages(self) -> pulumi.Output[Sequence[str]]: """ [IETF Language Tag](https://en.wikipedia.org/wiki/IETF_language_tag) """ @@ -554,7 +646,7 @@ def languages(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter def messages(self) -> pulumi.Output[Optional['outputs.ProjectSettingsMessages']]: """ - [Messages Configuration](https://docs.commercetools.com/api/projects/project#messages-configuration) + The change notifications subscribed to """ return pulumi.get(self, "messages") diff --git a/sdk/python/pulumi_commercetools/provider.py b/sdk/python/pulumi_commercetools/provider.py index 3d4ab52..ed5287a 100644 --- a/sdk/python/pulumi_commercetools/provider.py +++ b/sdk/python/pulumi_commercetools/provider.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -13,12 +14,12 @@ @pulumi.input_type class ProviderArgs: def __init__(__self__, *, - api_url: pulumi.Input[str], - client_id: pulumi.Input[str], - client_secret: pulumi.Input[str], - project_key: pulumi.Input[str], - scopes: pulumi.Input[str], - token_url: pulumi.Input[str]): + api_url: Optional[pulumi.Input[str]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + project_key: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[str]] = None, + token_url: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Provider resource. :param pulumi.Input[str] api_url: The API URL of the commercetools platform. https://docs.commercetools.com/http-api @@ -29,64 +30,70 @@ def __init__(__self__, *, https://docs.commercetools.com/http-api-authorization :param pulumi.Input[str] token_url: The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization """ - pulumi.set(__self__, "api_url", api_url) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "project_key", project_key) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "token_url", token_url) + if api_url is not None: + pulumi.set(__self__, "api_url", api_url) + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if client_secret is not None: + pulumi.set(__self__, "client_secret", client_secret) + if project_key is not None: + pulumi.set(__self__, "project_key", project_key) + if scopes is not None: + pulumi.set(__self__, "scopes", scopes) + if token_url is not None: + pulumi.set(__self__, "token_url", token_url) @property @pulumi.getter(name="apiUrl") - def api_url(self) -> pulumi.Input[str]: + def api_url(self) -> Optional[pulumi.Input[str]]: """ The API URL of the commercetools platform. https://docs.commercetools.com/http-api """ return pulumi.get(self, "api_url") @api_url.setter - def api_url(self, value: pulumi.Input[str]): + def api_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "api_url", value) @property @pulumi.getter(name="clientId") - def client_id(self) -> pulumi.Input[str]: + def client_id(self) -> Optional[pulumi.Input[str]]: """ The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization """ return pulumi.get(self, "client_id") @client_id.setter - def client_id(self, value: pulumi.Input[str]): + def client_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_id", value) @property @pulumi.getter(name="clientSecret") - def client_secret(self) -> pulumi.Input[str]: + def client_secret(self) -> Optional[pulumi.Input[str]]: """ The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization """ return pulumi.get(self, "client_secret") @client_secret.setter - def client_secret(self, value: pulumi.Input[str]): + def client_secret(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_secret", value) @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Input[str]: + def project_key(self) -> Optional[pulumi.Input[str]]: """ The project key of commercetools platform project. https://docs.commercetools.com/getting-started """ return pulumi.get(self, "project_key") @project_key.setter - def project_key(self, value: pulumi.Input[str]): + def project_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "project_key", value) @property @pulumi.getter - def scopes(self) -> pulumi.Input[str]: + def scopes(self) -> Optional[pulumi.Input[str]]: """ A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. https://docs.commercetools.com/http-api-authorization @@ -94,19 +101,19 @@ def scopes(self) -> pulumi.Input[str]: return pulumi.get(self, "scopes") @scopes.setter - def scopes(self, value: pulumi.Input[str]): + def scopes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "scopes", value) @property @pulumi.getter(name="tokenUrl") - def token_url(self) -> pulumi.Input[str]: + def token_url(self) -> Optional[pulumi.Input[str]]: """ The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization """ return pulumi.get(self, "token_url") @token_url.setter - def token_url(self, value: pulumi.Input[str]): + def token_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "token_url", value) @@ -142,7 +149,7 @@ def __init__(__self__, @overload def __init__(__self__, resource_name: str, - args: ProviderArgs, + args: Optional[ProviderArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ The provider type for the commercetools package. By default, resources use package-wide configuration @@ -172,35 +179,22 @@ def _internal_init(__self__, scopes: Optional[pulumi.Input[str]] = None, token_url: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ProviderArgs.__new__(ProviderArgs) - if api_url is None and not opts.urn: - raise TypeError("Missing required property 'api_url'") __props__.__dict__["api_url"] = api_url - if client_id is None and not opts.urn: - raise TypeError("Missing required property 'client_id'") - __props__.__dict__["client_id"] = client_id - if client_secret is None and not opts.urn: - raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret - if project_key is None and not opts.urn: - raise TypeError("Missing required property 'project_key'") - __props__.__dict__["project_key"] = project_key - if scopes is None and not opts.urn: - raise TypeError("Missing required property 'scopes'") + __props__.__dict__["client_id"] = None if client_id is None else pulumi.Output.secret(client_id) + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) + __props__.__dict__["project_key"] = None if project_key is None else pulumi.Output.secret(project_key) __props__.__dict__["scopes"] = scopes - if token_url is None and not opts.urn: - raise TypeError("Missing required property 'token_url'") __props__.__dict__["token_url"] = token_url + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientId", "clientSecret", "projectKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Provider, __self__).__init__( 'commercetools', resource_name, @@ -209,7 +203,7 @@ def _internal_init(__self__, @property @pulumi.getter(name="apiUrl") - def api_url(self) -> pulumi.Output[str]: + def api_url(self) -> pulumi.Output[Optional[str]]: """ The API URL of the commercetools platform. https://docs.commercetools.com/http-api """ @@ -217,7 +211,7 @@ def api_url(self) -> pulumi.Output[str]: @property @pulumi.getter(name="clientId") - def client_id(self) -> pulumi.Output[str]: + def client_id(self) -> pulumi.Output[Optional[str]]: """ The OAuth Client ID for a commercetools platform project. https://docs.commercetools.com/http-api-authorization """ @@ -225,7 +219,7 @@ def client_id(self) -> pulumi.Output[str]: @property @pulumi.getter(name="clientSecret") - def client_secret(self) -> pulumi.Output[str]: + def client_secret(self) -> pulumi.Output[Optional[str]]: """ The OAuth Client Secret for a commercetools platform project. https://docs.commercetools.com/http-api-authorization """ @@ -233,7 +227,7 @@ def client_secret(self) -> pulumi.Output[str]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[str]: + def project_key(self) -> pulumi.Output[Optional[str]]: """ The project key of commercetools platform project. https://docs.commercetools.com/getting-started """ @@ -241,7 +235,7 @@ def project_key(self) -> pulumi.Output[str]: @property @pulumi.getter - def scopes(self) -> pulumi.Output[str]: + def scopes(self) -> pulumi.Output[Optional[str]]: """ A list as string of OAuth scopes assigned to a project key, to access resources in a commercetools platform project. https://docs.commercetools.com/http-api-authorization @@ -250,7 +244,7 @@ def scopes(self) -> pulumi.Output[str]: @property @pulumi.getter(name="tokenUrl") - def token_url(self) -> pulumi.Output[str]: + def token_url(self) -> pulumi.Output[Optional[str]]: """ The authentication URL of the commercetools platform. https://docs.commercetools.com/http-api-authorization """ diff --git a/sdk/python/pulumi_commercetools/pulumi-plugin.json b/sdk/python/pulumi_commercetools/pulumi-plugin.json new file mode 100644 index 0000000..4d9add2 --- /dev/null +++ b/sdk/python/pulumi_commercetools/pulumi-plugin.json @@ -0,0 +1,4 @@ +{ + "resource": true, + "name": "commercetools" +} diff --git a/sdk/python/pulumi_commercetools/shipping_method.py b/sdk/python/pulumi_commercetools/shipping_method.py index 0c43407..d1b8858 100644 --- a/sdk/python/pulumi_commercetools/shipping_method.py +++ b/sdk/python/pulumi_commercetools/shipping_method.py @@ -2,32 +2,39 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['ShippingMethodArgs', 'ShippingMethod'] @pulumi.input_type class ShippingMethodArgs: def __init__(__self__, *, + tax_category_id: pulumi.Input[str], + custom: Optional[pulumi.Input['ShippingMethodCustomArgs']] = None, description: Optional[pulumi.Input[str]] = None, is_default: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, localized_description: Optional[pulumi.Input[Mapping[str, Any]]] = None, name: Optional[pulumi.Input[str]] = None, - predicate: Optional[pulumi.Input[str]] = None, - tax_category_id: Optional[pulumi.Input[str]] = None): + predicate: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a ShippingMethod resource. + :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) :param pulumi.Input[bool] is_default: One shipping method in a project can be default :param pulumi.Input[str] key: User-specific unique identifier for the shipping method - :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) :param pulumi.Input[str] predicate: A Cart predicate which can be used to more precisely select a shipping method for a cart - :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) """ + pulumi.set(__self__, "tax_category_id", tax_category_id) + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) if is_default is not None: @@ -40,8 +47,27 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if predicate is not None: pulumi.set(__self__, "predicate", predicate) - if tax_category_id is not None: - pulumi.set(__self__, "tax_category_id", tax_category_id) + + @property + @pulumi.getter(name="taxCategoryId") + def tax_category_id(self) -> pulumi.Input[str]: + """ + ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) + """ + return pulumi.get(self, "tax_category_id") + + @tax_category_id.setter + def tax_category_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tax_category_id", value) + + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['ShippingMethodCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['ShippingMethodCustomArgs']]): + pulumi.set(self, "custom", value) @property @pulumi.getter @@ -80,7 +106,7 @@ def key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="localizedDescription") def localized_description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) """ return pulumi.get(self, "localized_description") @@ -109,22 +135,11 @@ def predicate(self) -> Optional[pulumi.Input[str]]: def predicate(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "predicate", value) - @property - @pulumi.getter(name="taxCategoryId") - def tax_category_id(self) -> Optional[pulumi.Input[str]]: - """ - ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) - """ - return pulumi.get(self, "tax_category_id") - - @tax_category_id.setter - def tax_category_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tax_category_id", value) - @pulumi.input_type class _ShippingMethodState: def __init__(__self__, *, + custom: Optional[pulumi.Input['ShippingMethodCustomArgs']] = None, description: Optional[pulumi.Input[str]] = None, is_default: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, @@ -137,10 +152,12 @@ def __init__(__self__, *, Input properties used for looking up and filtering ShippingMethod resources. :param pulumi.Input[bool] is_default: One shipping method in a project can be default :param pulumi.Input[str] key: User-specific unique identifier for the shipping method - :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) :param pulumi.Input[str] predicate: A Cart predicate which can be used to more precisely select a shipping method for a cart - :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) """ + if custom is not None: + pulumi.set(__self__, "custom", custom) if description is not None: pulumi.set(__self__, "description", description) if is_default is not None: @@ -158,6 +175,15 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['ShippingMethodCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['ShippingMethodCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: @@ -195,7 +221,7 @@ def key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="localizedDescription") def localized_description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) """ return pulumi.get(self, "localized_description") @@ -228,7 +254,7 @@ def predicate(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="taxCategoryId") def tax_category_id(self) -> Optional[pulumi.Input[str]]: """ - ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) """ return pulumi.get(self, "tax_category_id") @@ -251,6 +277,7 @@ class ShippingMethod(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ShippingMethodCustomArgs']]] = None, description: Optional[pulumi.Input[str]] = None, is_default: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, @@ -265,15 +292,15 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] is_default: One shipping method in a project can be default :param pulumi.Input[str] key: User-specific unique identifier for the shipping method - :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) :param pulumi.Input[str] predicate: A Cart predicate which can be used to more precisely select a shipping method for a cart - :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) """ ... @overload def __init__(__self__, resource_name: str, - args: Optional[ShippingMethodArgs] = None, + args: ShippingMethodArgs, opts: Optional[pulumi.ResourceOptions] = None): """ Create a ShippingMethod resource with the given unique name, props, and options. @@ -292,6 +319,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ShippingMethodCustomArgs']]] = None, description: Optional[pulumi.Input[str]] = None, is_default: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, @@ -300,23 +328,23 @@ def _internal_init(__self__, predicate: Optional[pulumi.Input[str]] = None, tax_category_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ShippingMethodArgs.__new__(ShippingMethodArgs) + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description __props__.__dict__["is_default"] = is_default __props__.__dict__["key"] = key __props__.__dict__["localized_description"] = localized_description __props__.__dict__["name"] = name __props__.__dict__["predicate"] = predicate + if tax_category_id is None and not opts.urn: + raise TypeError("Missing required property 'tax_category_id'") __props__.__dict__["tax_category_id"] = tax_category_id __props__.__dict__["version"] = None super(ShippingMethod, __self__).__init__( @@ -329,6 +357,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['ShippingMethodCustomArgs']]] = None, description: Optional[pulumi.Input[str]] = None, is_default: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, @@ -346,14 +375,15 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[bool] is_default: One shipping method in a project can be default :param pulumi.Input[str] key: User-specific unique identifier for the shipping method - :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, Any]] localized_description: [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) :param pulumi.Input[str] predicate: A Cart predicate which can be used to more precisely select a shipping method for a cart - :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + :param pulumi.Input[str] tax_category_id: ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _ShippingMethodState.__new__(_ShippingMethodState) + __props__.__dict__["custom"] = custom __props__.__dict__["description"] = description __props__.__dict__["is_default"] = is_default __props__.__dict__["key"] = key @@ -364,6 +394,11 @@ def get(resource_name: str, __props__.__dict__["version"] = version return ShippingMethod(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.ShippingMethodCustom']]: + return pulumi.get(self, "custom") + @property @pulumi.getter def description(self) -> pulumi.Output[Optional[str]]: @@ -389,7 +424,7 @@ def key(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="localizedDescription") def localized_description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + [LocalizedString](https://docs.commercetoolstools.com/api/types#localizedstring) """ return pulumi.get(self, "localized_description") @@ -408,9 +443,9 @@ def predicate(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="taxCategoryId") - def tax_category_id(self) -> pulumi.Output[Optional[str]]: + def tax_category_id(self) -> pulumi.Output[str]: """ - ID of a [Tax Category](https://docs.commercetools.com/api/projects/taxCategories#taxcategory) + ID of a [Tax Category](https://docs.commercetoolstools.com/api/projects/taxCategories#taxcategory) """ return pulumi.get(self, "tax_category_id") diff --git a/sdk/python/pulumi_commercetools/shipping_zone.py b/sdk/python/pulumi_commercetools/shipping_zone.py index 44b7b4f..c20f5cc 100644 --- a/sdk/python/pulumi_commercetools/shipping_zone.py +++ b/sdk/python/pulumi_commercetools/shipping_zone.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -22,7 +23,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a ShippingZone resource. :param pulumi.Input[str] key: User-specific unique identifier for a zone. Must be unique across a project - :param pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]] locations: [Location](https://docs.commercetools.com/api/projects/zones#location) + :param pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]] locations: [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ if description is not None: pulumi.set(__self__, "description", description) @@ -58,7 +59,7 @@ def key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]]]: """ - [Location](https://docs.commercetools.com/api/projects/zones#location) + [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ return pulumi.get(self, "locations") @@ -87,7 +88,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering ShippingZone resources. :param pulumi.Input[str] key: User-specific unique identifier for a zone. Must be unique across a project - :param pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]] locations: [Location](https://docs.commercetools.com/api/projects/zones#location) + :param pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]] locations: [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ if description is not None: pulumi.set(__self__, "description", description) @@ -125,7 +126,7 @@ def key(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def locations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShippingZoneLocationArgs']]]]: """ - [Location](https://docs.commercetools.com/api/projects/zones#location) + [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ return pulumi.get(self, "locations") @@ -167,7 +168,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] key: User-specific unique identifier for a zone. Must be unique across a project - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneLocationArgs']]]] locations: [Location](https://docs.commercetools.com/api/projects/zones#location) + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneLocationArgs']]]] locations: [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ ... @overload @@ -197,12 +198,9 @@ def _internal_init(__self__, locations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneLocationArgs']]]]] = None, name: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -236,7 +234,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] key: User-specific unique identifier for a zone. Must be unique across a project - :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneLocationArgs']]]] locations: [Location](https://docs.commercetools.com/api/projects/zones#location) + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneLocationArgs']]]] locations: [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -266,7 +264,7 @@ def key(self) -> pulumi.Output[Optional[str]]: @pulumi.getter def locations(self) -> pulumi.Output[Optional[Sequence['outputs.ShippingZoneLocation']]]: """ - [Location](https://docs.commercetools.com/api/projects/zones#location) + [Location](https://docs.commercetoolstools.pi/projects/zones#location) """ return pulumi.get(self, "locations") diff --git a/sdk/python/pulumi_commercetools/shipping_zone_rate.py b/sdk/python/pulumi_commercetools/shipping_zone_rate.py index e9f1ab9..86feb9c 100644 --- a/sdk/python/pulumi_commercetools/shipping_zone_rate.py +++ b/sdk/python/pulumi_commercetools/shipping_zone_rate.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -218,12 +219,9 @@ def _internal_init(__self__, shipping_rate_price_tiers: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShippingZoneRateShippingRatePriceTierArgs']]]]] = None, shipping_zone_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/state.py b/sdk/python/pulumi_commercetools/state.py index 4db7d2d..8a2f4d1 100644 --- a/sdk/python/pulumi_commercetools/state.py +++ b/sdk/python/pulumi_commercetools/state.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -13,52 +14,33 @@ @pulumi.input_type class StateArgs: def __init__(__self__, *, - key: pulumi.Input[str], type: pulumi.Input[str], - description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, initial: Optional[pulumi.Input[bool]] = None, - name: Optional[pulumi.Input[Mapping[str, Any]]] = None, - roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ The set of arguments for constructing a State resource. - :param pulumi.Input[str] key: A unique identifier for the state :param pulumi.Input[str] type: [StateType](https://docs.commercetools.com/api/projects/states#statetype) - :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] description: Description of the State as localized string. :param pulumi.Input[bool] initial: A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state - :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) - :param pulumi.Input[Sequence[pulumi.Input[str]]] transitions: Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to - """ - pulumi.set(__self__, "key", key) + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] name: Name of the State as localized string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: [State Role](https://docs.commercetools.com/api/projects/states#staterole) + """ pulumi.set(__self__, "type", type) if description is not None: pulumi.set(__self__, "description", description) if initial is not None: pulumi.set(__self__, "initial", initial) + if key is not None: + pulumi.set(__self__, "key", key) if name is not None: pulumi.set(__self__, "name", name) if roles is not None: pulumi.set(__self__, "roles", roles) - if transitions is not None: - pulumi.set(__self__, "transitions", transitions) - - @property - @pulumi.getter - def key(self) -> pulumi.Input[str]: - """ - A unique identifier for the state - """ - return pulumi.get(self, "key") - - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) @property @pulumi.getter @@ -74,14 +56,14 @@ def type(self, value: pulumi.Input[str]): @property @pulumi.getter - def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def description(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description of the State as localized string. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def description(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "description", value) @property @@ -99,21 +81,33 @@ def initial(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def key(self) -> Optional[pulumi.Input[str]]: + """ + Timestamp of the last Terraform update of the order. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name of the State as localized string. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def name(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "name", value) @property @pulumi.getter def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + [State Role](https://docs.commercetools.com/api/projects/states#staterole) """ return pulumi.get(self, "roles") @@ -121,47 +115,25 @@ def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "roles", value) - @property - @pulumi.getter - def transitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to - """ - return pulumi.get(self, "transitions") - - @transitions.setter - def transitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "transitions", value) - @pulumi.input_type class _StateState: def __init__(__self__, *, - description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, initial: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[int]] = None): """ Input properties used for looking up and filtering State resources. - :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] description: Description of the State as localized string. :param pulumi.Input[bool] initial: A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state - :param pulumi.Input[str] key: A unique identifier for the state - :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) - :param pulumi.Input[Sequence[pulumi.Input[str]]] transitions: Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] name: Name of the State as localized string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: [State Role](https://docs.commercetools.com/api/projects/states#staterole) :param pulumi.Input[str] type: [StateType](https://docs.commercetools.com/api/projects/states#statetype) """ if description is not None: @@ -174,8 +146,6 @@ def __init__(__self__, *, pulumi.set(__self__, "name", name) if roles is not None: pulumi.set(__self__, "roles", roles) - if transitions is not None: - pulumi.set(__self__, "transitions", transitions) if type is not None: pulumi.set(__self__, "type", type) if version is not None: @@ -183,14 +153,14 @@ def __init__(__self__, *, @property @pulumi.getter - def description(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def description(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description of the State as localized string. """ return pulumi.get(self, "description") @description.setter - def description(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def description(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "description", value) @property @@ -210,7 +180,7 @@ def initial(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def key(self) -> Optional[pulumi.Input[str]]: """ - A unique identifier for the state + Timestamp of the last Terraform update of the order. """ return pulumi.get(self, "key") @@ -220,21 +190,21 @@ def key(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def name(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name of the State as localized string. """ return pulumi.get(self, "name") @name.setter - def name(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def name(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "name", value) @property @pulumi.getter def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + [State Role](https://docs.commercetools.com/api/projects/states#staterole) """ return pulumi.get(self, "roles") @@ -242,22 +212,6 @@ def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "roles", value) - @property - @pulumi.getter - def transitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to - """ - return pulumi.get(self, "transitions") - - @transitions.setter - def transitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "transitions", value) - @property @pulumi.getter def type(self) -> Optional[pulumi.Input[str]]: @@ -285,29 +239,23 @@ class State(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, initial: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, __props__=None): """ Create a State resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] description: Description of the State as localized string. :param pulumi.Input[bool] initial: A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state - :param pulumi.Input[str] key: A unique identifier for the state - :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) - :param pulumi.Input[Sequence[pulumi.Input[str]]] transitions: Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] name: Name of the State as localized string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: [State Role](https://docs.commercetools.com/api/projects/states#staterole) :param pulumi.Input[str] type: [StateType](https://docs.commercetools.com/api/projects/states#statetype) """ ... @@ -333,20 +281,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, initial: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -354,12 +298,9 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["initial"] = initial - if key is None and not opts.urn: - raise TypeError("Missing required property 'key'") __props__.__dict__["key"] = key __props__.__dict__["name"] = name __props__.__dict__["roles"] = roles - __props__.__dict__["transitions"] = transitions if type is None and not opts.urn: raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type @@ -374,12 +315,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - description: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, initial: Optional[pulumi.Input[bool]] = None, key: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - transitions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, type: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[int]] = None) -> 'State': """ @@ -389,17 +329,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] description: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] description: Description of the State as localized string. :param pulumi.Input[bool] initial: A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state - :param pulumi.Input[str] key: A unique identifier for the state - :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) - :param pulumi.Input[Sequence[pulumi.Input[str]]] transitions: Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] name: Name of the State as localized string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: [State Role](https://docs.commercetools.com/api/projects/states#staterole) :param pulumi.Input[str] type: [StateType](https://docs.commercetools.com/api/projects/states#statetype) """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -411,22 +346,21 @@ def get(resource_name: str, __props__.__dict__["key"] = key __props__.__dict__["name"] = name __props__.__dict__["roles"] = roles - __props__.__dict__["transitions"] = transitions __props__.__dict__["type"] = type __props__.__dict__["version"] = version return State(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + def description(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Description of the State as localized string. """ return pulumi.get(self, "description") @property @pulumi.getter - def initial(self) -> pulumi.Output[Optional[bool]]: + def initial(self) -> pulumi.Output[bool]: """ A state can be declared as an initial state for any state machine. When a workflow starts, this first state must be an initial state @@ -435,17 +369,17 @@ def initial(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter - def key(self) -> pulumi.Output[str]: + def key(self) -> pulumi.Output[Optional[str]]: """ - A unique identifier for the state + Timestamp of the last Terraform update of the order. """ return pulumi.get(self, "key") @property @pulumi.getter - def name(self) -> pulumi.Output[Mapping[str, Any]]: + def name(self) -> pulumi.Output[Mapping[str, str]]: """ - [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) + Name of the State as localized string. """ return pulumi.get(self, "name") @@ -453,22 +387,10 @@ def name(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter def roles(self) -> pulumi.Output[Optional[Sequence[str]]]: """ - Array of [State Role](https://docs.commercetools.com/api/projects/states#staterole) + [State Role](https://docs.commercetools.com/api/projects/states#staterole) """ return pulumi.get(self, "roles") - @property - @pulumi.getter - def transitions(self) -> pulumi.Output[Optional[Sequence[str]]]: - """ - Transitions are a way to describe possible transformations of the current state to other states of the same type (for - example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently - referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is - a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When - performing a transitionState update action, any other state of the same type can be transitioned to - """ - return pulumi.get(self, "transitions") - @property @pulumi.getter def type(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_commercetools/state_transitions.py b/sdk/python/pulumi_commercetools/state_transitions.py new file mode 100644 index 0000000..325d830 --- /dev/null +++ b/sdk/python/pulumi_commercetools/state_transitions.py @@ -0,0 +1,220 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['StateTransitionsArgs', 'StateTransitions'] + +@pulumi.input_type +class StateTransitionsArgs: + def __init__(__self__, *, + from_: pulumi.Input[str], + tos: pulumi.Input[Sequence[pulumi.Input[str]]]): + """ + The set of arguments for constructing a StateTransitions resource. + :param pulumi.Input[str] from_: ID of the state to transition from + :param pulumi.Input[Sequence[pulumi.Input[str]]] tos: Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + pulumi.set(__self__, "from_", from_) + pulumi.set(__self__, "tos", tos) + + @property + @pulumi.getter(name="from") + def from_(self) -> pulumi.Input[str]: + """ + ID of the state to transition from + """ + return pulumi.get(self, "from_") + + @from_.setter + def from_(self, value: pulumi.Input[str]): + pulumi.set(self, "from_", value) + + @property + @pulumi.getter + def tos(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + return pulumi.get(self, "tos") + + @tos.setter + def tos(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "tos", value) + + +@pulumi.input_type +class _StateTransitionsState: + def __init__(__self__, *, + from_: Optional[pulumi.Input[str]] = None, + tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Input properties used for looking up and filtering StateTransitions resources. + :param pulumi.Input[str] from_: ID of the state to transition from + :param pulumi.Input[Sequence[pulumi.Input[str]]] tos: Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + if from_ is not None: + pulumi.set(__self__, "from_", from_) + if tos is not None: + pulumi.set(__self__, "tos", tos) + + @property + @pulumi.getter(name="from") + def from_(self) -> Optional[pulumi.Input[str]]: + """ + ID of the state to transition from + """ + return pulumi.get(self, "from_") + + @from_.setter + def from_(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "from_", value) + + @property + @pulumi.getter + def tos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + return pulumi.get(self, "tos") + + @tos.setter + def tos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "tos", value) + + +class StateTransitions(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + from_: Optional[pulumi.Input[str]] = None, + tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + """ + Create a StateTransitions resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] from_: ID of the state to transition from + :param pulumi.Input[Sequence[pulumi.Input[str]]] tos: Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: StateTransitionsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a StateTransitions resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param StateTransitionsArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(StateTransitionsArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + from_: Optional[pulumi.Input[str]] = None, + tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = StateTransitionsArgs.__new__(StateTransitionsArgs) + + if from_ is None and not opts.urn: + raise TypeError("Missing required property 'from_'") + __props__.__dict__["from_"] = from_ + if tos is None and not opts.urn: + raise TypeError("Missing required property 'tos'") + __props__.__dict__["tos"] = tos + super(StateTransitions, __self__).__init__( + 'commercetools:index/stateTransitions:StateTransitions', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + from_: Optional[pulumi.Input[str]] = None, + tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'StateTransitions': + """ + Get an existing StateTransitions resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] from_: ID of the state to transition from + :param pulumi.Input[Sequence[pulumi.Input[str]]] tos: Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _StateTransitionsState.__new__(_StateTransitionsState) + + __props__.__dict__["from_"] = from_ + __props__.__dict__["tos"] = tos + return StateTransitions(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="from") + def from_(self) -> pulumi.Output[str]: + """ + ID of the state to transition from + """ + return pulumi.get(self, "from_") + + @property + @pulumi.getter + def tos(self) -> pulumi.Output[Sequence[str]]: + """ + Transitions are a way to describe possible transformations of the current state to other states of the same type (for + example: Initial -> Shipped). When performing a transitionState update action and transitions is set, the currently + referenced state must have a transition to the new state. If transitions is an empty list, it means the current state is + a final state and no further transitions are allowed. If transitions is not set, the validation is turned off. When + performing a transitionState update action, any other state of the same type can be transitioned to + """ + return pulumi.get(self, "tos") + diff --git a/sdk/python/pulumi_commercetools/store.py b/sdk/python/pulumi_commercetools/store.py index e568650..5cdf065 100644 --- a/sdk/python/pulumi_commercetools/store.py +++ b/sdk/python/pulumi_commercetools/store.py @@ -2,11 +2,14 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities +from . import outputs +from ._inputs import * __all__ = ['StoreArgs', 'Store'] @@ -14,6 +17,7 @@ class StoreArgs: def __init__(__self__, *, key: pulumi.Input[str], + custom: Optional[pulumi.Input['StoreCustomArgs']] = None, distribution_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -27,6 +31,8 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] supply_channels: Set of ResourceIdentifier of Channels with InventorySupply """ pulumi.set(__self__, "key", key) + if custom is not None: + pulumi.set(__self__, "custom", custom) if distribution_channels is not None: pulumi.set(__self__, "distribution_channels", distribution_channels) if languages is not None: @@ -48,6 +54,15 @@ def key(self) -> pulumi.Input[str]: def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['StoreCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['StoreCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter(name="distributionChannels") def distribution_channels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -100,6 +115,7 @@ def supply_channels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str @pulumi.input_type class _StoreState: def __init__(__self__, *, + custom: Optional[pulumi.Input['StoreCustomArgs']] = None, distribution_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -114,6 +130,8 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] name: [LocalizedString](https://docs.commercetools.com/api/types#localizedstring) :param pulumi.Input[Sequence[pulumi.Input[str]]] supply_channels: Set of ResourceIdentifier of Channels with InventorySupply """ + if custom is not None: + pulumi.set(__self__, "custom", custom) if distribution_channels is not None: pulumi.set(__self__, "distribution_channels", distribution_channels) if key is not None: @@ -127,6 +145,15 @@ def __init__(__self__, *, if version is not None: pulumi.set(__self__, "version", version) + @property + @pulumi.getter + def custom(self) -> Optional[pulumi.Input['StoreCustomArgs']]: + return pulumi.get(self, "custom") + + @custom.setter + def custom(self, value: Optional[pulumi.Input['StoreCustomArgs']]): + pulumi.set(self, "custom", value) + @property @pulumi.getter(name="distributionChannels") def distribution_channels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -202,6 +229,7 @@ class Store(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['StoreCustomArgs']]] = None, distribution_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -241,23 +269,22 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['StoreCustomArgs']]] = None, distribution_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, supply_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = StoreArgs.__new__(StoreArgs) + __props__.__dict__["custom"] = custom __props__.__dict__["distribution_channels"] = distribution_channels if key is None and not opts.urn: raise TypeError("Missing required property 'key'") @@ -276,6 +303,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + custom: Optional[pulumi.Input[pulumi.InputType['StoreCustomArgs']]] = None, distribution_channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, key: Optional[pulumi.Input[str]] = None, languages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, @@ -299,6 +327,7 @@ def get(resource_name: str, __props__ = _StoreState.__new__(_StoreState) + __props__.__dict__["custom"] = custom __props__.__dict__["distribution_channels"] = distribution_channels __props__.__dict__["key"] = key __props__.__dict__["languages"] = languages @@ -307,6 +336,11 @@ def get(resource_name: str, __props__.__dict__["version"] = version return Store(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter + def custom(self) -> pulumi.Output[Optional['outputs.StoreCustom']]: + return pulumi.get(self, "custom") + @property @pulumi.getter(name="distributionChannels") def distribution_channels(self) -> pulumi.Output[Optional[Sequence[str]]]: diff --git a/sdk/python/pulumi_commercetools/subscription.py b/sdk/python/pulumi_commercetools/subscription.py index 05df065..7c54ec8 100644 --- a/sdk/python/pulumi_commercetools/subscription.py +++ b/sdk/python/pulumi_commercetools/subscription.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -23,10 +24,8 @@ def __init__(__self__, *, """ The set of arguments for constructing a Subscription resource. :param pulumi.Input[Sequence[pulumi.Input['SubscriptionChangeArgs']]] changes: The change notifications subscribed to - :param pulumi.Input['SubscriptionDestinationArgs'] destination: The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) :param pulumi.Input['SubscriptionFormatArgs'] format: The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered - :param pulumi.Input[str] key: User-specific unique identifier for the subscription + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. :param pulumi.Input[Sequence[pulumi.Input['SubscriptionMessageArgs']]] messages: The messages subscribed to """ if changes is not None: @@ -55,10 +54,6 @@ def changes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Subscripti @property @pulumi.getter def destination(self) -> Optional[pulumi.Input['SubscriptionDestinationArgs']]: - """ - The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - """ return pulumi.get(self, "destination") @destination.setter @@ -81,7 +76,7 @@ def format(self, value: Optional[pulumi.Input['SubscriptionFormatArgs']]): @pulumi.getter def key(self) -> Optional[pulumi.Input[str]]: """ - User-specific unique identifier for the subscription + Timestamp of the last Terraform update of the order. """ return pulumi.get(self, "key") @@ -114,10 +109,8 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Subscription resources. :param pulumi.Input[Sequence[pulumi.Input['SubscriptionChangeArgs']]] changes: The change notifications subscribed to - :param pulumi.Input['SubscriptionDestinationArgs'] destination: The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) :param pulumi.Input['SubscriptionFormatArgs'] format: The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered - :param pulumi.Input[str] key: User-specific unique identifier for the subscription + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. :param pulumi.Input[Sequence[pulumi.Input['SubscriptionMessageArgs']]] messages: The messages subscribed to """ if changes is not None: @@ -148,10 +141,6 @@ def changes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Subscripti @property @pulumi.getter def destination(self) -> Optional[pulumi.Input['SubscriptionDestinationArgs']]: - """ - The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - """ return pulumi.get(self, "destination") @destination.setter @@ -174,7 +163,7 @@ def format(self, value: Optional[pulumi.Input['SubscriptionFormatArgs']]): @pulumi.getter def key(self) -> Optional[pulumi.Input[str]]: """ - User-specific unique identifier for the subscription + Timestamp of the last Terraform update of the order. """ return pulumi.get(self, "key") @@ -220,10 +209,8 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubscriptionChangeArgs']]]] changes: The change notifications subscribed to - :param pulumi.Input[pulumi.InputType['SubscriptionDestinationArgs']] destination: The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) :param pulumi.Input[pulumi.InputType['SubscriptionFormatArgs']] format: The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered - :param pulumi.Input[str] key: User-specific unique identifier for the subscription + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubscriptionMessageArgs']]]] messages: The messages subscribed to """ ... @@ -255,12 +242,9 @@ def _internal_init(__self__, key: Optional[pulumi.Input[str]] = None, messages: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubscriptionMessageArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -296,10 +280,8 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubscriptionChangeArgs']]]] changes: The change notifications subscribed to - :param pulumi.Input[pulumi.InputType['SubscriptionDestinationArgs']] destination: The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) :param pulumi.Input[pulumi.InputType['SubscriptionFormatArgs']] format: The [format](https://docs.commercetools.com/api/projects/subscriptions#format) in which the payload is delivered - :param pulumi.Input[str] key: User-specific unique identifier for the subscription + :param pulumi.Input[str] key: Timestamp of the last Terraform update of the order. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SubscriptionMessageArgs']]]] messages: The messages subscribed to """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -325,10 +307,6 @@ def changes(self) -> pulumi.Output[Optional[Sequence['outputs.SubscriptionChange @property @pulumi.getter def destination(self) -> pulumi.Output[Optional['outputs.SubscriptionDestination']]: - """ - The Message Queue into which the notifications are to be sentSee also the [Destination API - Docs](https://docs.commercetools.com/api/projects/subscriptions#destination) - """ return pulumi.get(self, "destination") @property @@ -343,7 +321,7 @@ def format(self) -> pulumi.Output[Optional['outputs.SubscriptionFormat']]: @pulumi.getter def key(self) -> pulumi.Output[Optional[str]]: """ - User-specific unique identifier for the subscription + Timestamp of the last Terraform update of the order. """ return pulumi.get(self, "key") diff --git a/sdk/python/pulumi_commercetools/tax_category.py b/sdk/python/pulumi_commercetools/tax_category.py index d15f848..5032e44 100644 --- a/sdk/python/pulumi_commercetools/tax_category.py +++ b/sdk/python/pulumi_commercetools/tax_category.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -160,12 +161,9 @@ def _internal_init(__self__, key: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/tax_category_rate.py b/sdk/python/pulumi_commercetools/tax_category_rate.py index 4db50a1..66a4ea6 100644 --- a/sdk/python/pulumi_commercetools/tax_category_rate.py +++ b/sdk/python/pulumi_commercetools/tax_category_rate.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -283,12 +284,9 @@ def _internal_init(__self__, sub_rates: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['TaxCategoryRateSubRateArgs']]]]] = None, tax_category_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_commercetools/type.py b/sdk/python/pulumi_commercetools/type.py index 38b83dd..fd2991f 100644 --- a/sdk/python/pulumi_commercetools/type.py +++ b/sdk/python/pulumi_commercetools/type.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -253,12 +254,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[Mapping[str, Any]]] = None, resource_type_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/setup.py b/sdk/python/setup.py index c67fee8..358b385 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -8,19 +8,22 @@ from subprocess import check_call +VERSION = "0.0.0" +PLUGIN_VERSION = "0.0.0" + class InstallPluginCommand(install): def run(self): install.run(self) try: - check_call(['pulumi', 'plugin', 'install', 'resource', 'commercetools', '${PLUGIN_VERSION}']) + check_call(['pulumi', 'plugin', 'install', 'resource', 'commercetools', PLUGIN_VERSION]) except OSError as error: if error.errno == errno.ENOENT: - print(""" + print(f""" There was an error installing the commercetools resource provider plugin. It looks like `pulumi` is not installed on your system. Please visit https://pulumi.com/ to install the Pulumi CLI. You may try manually installing the plugin by running - `pulumi plugin install resource commercetools ${PLUGIN_VERSION}` + `pulumi plugin install resource commercetools {PLUGIN_VERSION}` """) else: raise @@ -31,11 +34,12 @@ def readme(): with open('README.md', encoding='utf-8') as f: return f.read() except FileNotFoundError: - return "commercetools Pulumi Package - Development Version" + return "commercetools Pulumi Package - Development Version" setup(name='pulumi_commercetools', - version='${VERSION}', + python_requires='>=3.7', + version=VERSION, description="A Pulumi package for creating and managing commercetools cloud resources.", long_description=readme(), long_description_content_type='text/markdown', @@ -52,6 +56,7 @@ def readme(): package_data={ 'pulumi_commercetools': [ 'py.typed', + 'pulumi-plugin.json', ] }, install_requires=[ diff --git a/upstream b/upstream new file mode 160000 index 0000000..8a1c885 --- /dev/null +++ b/upstream @@ -0,0 +1 @@ +Subproject commit 8a1c885ca666743d58b8e1952bc204df58775390 diff --git a/upstream_patches/customtypes.patch b/upstream_patches/customtypes.patch new file mode 100644 index 0000000..4aef75a --- /dev/null +++ b/upstream_patches/customtypes.patch @@ -0,0 +1,27 @@ +diff --git a/internal/customtypes/localized_string.go b/internal/customtypes/localized_string.go +index 37dc32c..47874c4 100644 +--- a/internal/customtypes/localized_string.go ++++ b/internal/customtypes/localized_string.go +@@ -44,3 +44,3 @@ func LocalizedString(opts LocalizedStringOpts) schema.MapAttribute { + Optional: opts.Optional, +- CustomType: NewLocalizedStringType(), ++ ElementType: types.StringType, + Validators: []validator.Map{ +diff --git a/internal/resources/state/resource.go b/internal/resources/state/resource.go +index a290ef0..c0a637e 100644 +--- a/internal/resources/state/resource.go ++++ b/internal/resources/state/resource.go +@@ -20,3 +20,2 @@ import ( + +- "github.com/labd/terraform-provider-commercetools/internal/customtypes" + "github.com/labd/terraform-provider-commercetools/internal/utils" +@@ -64,3 +63,3 @@ func (r *stateResource) Schema(_ context.Context, _ resource.SchemaRequest, resp + "name": schema.MapAttribute{ +- CustomType: customtypes.NewLocalizedStringType(), ++ ElementType: types.StringType, + Description: "Name of the State as localized string.", +@@ -70,3 +69,3 @@ func (r *stateResource) Schema(_ context.Context, _ resource.SchemaRequest, resp + "description": schema.MapAttribute{ +- CustomType: customtypes.NewLocalizedStringType(), ++ ElementType: types.StringType, + Description: "Description of the State as localized string.",