From ef59840245b743e31d0c43acfa28b945e639aa2a Mon Sep 17 00:00:00 2001 From: Torbjorn van Heeswijck Date: Tue, 22 Jul 2025 15:06:00 +0930 Subject: [PATCH 1/3] Bump minor and patch dependencies --- package.json | 20 +-- yarn.lock | 454 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 279 insertions(+), 195 deletions(-) diff --git a/package.json b/package.json index 6e13cf7..ec34c5b 100644 --- a/package.json +++ b/package.json @@ -47,24 +47,24 @@ "author": "Aligent", "license": "MIT", "devDependencies": { - "@aligent/ts-code-standards": "^4.0.0", - "@types/node": "^22.13.14", - "diff": "^8.0.0-beta", - "eslint": "^9.25.1", - "openapi-typescript": "^7.6.1", - "prettier": "^3.5.3", + "@aligent/ts-code-standards": "^4.0.2", + "@types/node": "^22.16.5", + "diff": "^8.0.2", + "eslint": "^9.31.0", + "openapi-typescript": "^7.8.0", + "prettier": "^3.6.2", "rimraf": "^6.0.1", - "simple-git": "^3.27.0", + "simple-git": "^3.28.0", "ts-morph": "^26.0.0", "tsd": "^0.32.0", "tshy": "^3.0.2", - "typescript": "^5.8.2", + "typescript": "^5.8.3", "uuid": "^11.1.0" }, "dependencies": { - "form-data": "^4.0.2", + "form-data": "^4.0.4", "node-fetch": "^3.3.2", - "query-string": "^9.1.1" + "query-string": "^9.2.2" }, "packageManager": "yarn@4.9.2" } diff --git a/yarn.lock b/yarn.lock index bf05c2f..85dfa44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,40 +9,40 @@ __metadata: version: 0.0.0-use.local resolution: "@aligent/bigcommerce-api@workspace:." dependencies: - "@aligent/ts-code-standards": "npm:^4.0.0" - "@types/node": "npm:^22.13.14" - diff: "npm:^8.0.0-beta" - eslint: "npm:^9.25.1" - form-data: "npm:^4.0.2" + "@aligent/ts-code-standards": "npm:^4.0.2" + "@types/node": "npm:^22.16.5" + diff: "npm:^8.0.2" + eslint: "npm:^9.31.0" + form-data: "npm:^4.0.4" node-fetch: "npm:^3.3.2" - openapi-typescript: "npm:^7.6.1" - prettier: "npm:^3.5.3" - query-string: "npm:^9.1.1" + openapi-typescript: "npm:^7.8.0" + prettier: "npm:^3.6.2" + query-string: "npm:^9.2.2" rimraf: "npm:^6.0.1" - simple-git: "npm:^3.27.0" + simple-git: "npm:^3.28.0" ts-morph: "npm:^26.0.0" tsd: "npm:^0.32.0" tshy: "npm:^3.0.2" - typescript: "npm:^5.8.2" + typescript: "npm:^5.8.3" uuid: "npm:^11.1.0" languageName: unknown linkType: soft -"@aligent/ts-code-standards@npm:^4.0.0": - version: 4.0.1 - resolution: "@aligent/ts-code-standards@npm:4.0.1" +"@aligent/ts-code-standards@npm:^4.0.2": + version: 4.0.2 + resolution: "@aligent/ts-code-standards@npm:4.0.2" dependencies: - "@eslint/compat": "npm:^1.2.7" - "@eslint/js": "npm:^9.23.0" - eslint-config-prettier: "npm:^10.1.1" + "@eslint/compat": "npm:^1.3.1" + "@eslint/js": "npm:^9.30.0" + eslint-config-prettier: "npm:^10.1.8" eslint-plugin-jsx-a11y: "npm:^6.10.2" - eslint-plugin-prettier: "npm:^5.2.5" - eslint-plugin-react: "npm:^7.37.4" + eslint-plugin-prettier: "npm:^5.5.3" + eslint-plugin-react: "npm:^7.37.5" eslint-plugin-react-hooks: "npm:^5.2.0" prettier-plugin-organize-imports: "npm:^4.1.0" - prettier-plugin-tailwindcss: "npm:^0.6.11" - typescript-eslint: "npm:^8.29.0" - checksum: 10c0/a22d83a2ad47153bbf8fdb8e416eb8a972641e759b13569743fe2b26bfd30191c253c069a0b220d5b0fb289b48d42bd1586916046466c5626d78db0c2ada9679 + prettier-plugin-tailwindcss: "npm:^0.6.13" + typescript-eslint: "npm:^8.35.1" + checksum: 10c0/a1f0e78f3aa7c700df67efafd59a8b67eb16158733721c86140ee4648ce2a98cf91061ca10ddaa87a1d326f6df06d9ea6b5ade2ab3486ef9ad57cf8942874ceb languageName: node linkType: hard @@ -64,7 +64,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": +"@eslint-community/eslint-utils@npm:^4.2.0": version: 4.6.1 resolution: "@eslint-community/eslint-utils@npm:4.6.1" dependencies: @@ -75,6 +75,17 @@ __metadata: languageName: node linkType: hard +"@eslint-community/eslint-utils@npm:^4.7.0": + version: 4.7.0 + resolution: "@eslint-community/eslint-utils@npm:4.7.0" + dependencies: + eslint-visitor-keys: "npm:^3.4.3" + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + checksum: 10c0/c0f4f2bd73b7b7a9de74b716a664873d08ab71ab439e51befe77d61915af41a81ecec93b408778b3a7856185244c34c2c8ee28912072ec14def84ba2dec70adf + languageName: node + linkType: hard + "@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1": version: 4.12.1 resolution: "@eslint-community/regexpp@npm:4.12.1" @@ -82,33 +93,33 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:^1.2.7": - version: 1.2.8 - resolution: "@eslint/compat@npm:1.2.8" +"@eslint/compat@npm:^1.3.1": + version: 1.3.1 + resolution: "@eslint/compat@npm:1.3.1" peerDependencies: - eslint: ^9.10.0 + eslint: ^8.40 || 9 peerDependenciesMeta: eslint: optional: true - checksum: 10c0/1e004c6917220ff1731fdc562ada9ddcbcecc6f3ba2e4b0433fb6d8eddf2a443e009f1f9796b78128b78a0a588c723b78021319055ac6e5dda55c0ace346496b + checksum: 10c0/8dfcea5ecb854111f9c0acc23a469e0a25cdaddceb5fb40c47988c247d6e32ec199bcd00f1b8ba9ed779228526552703c4b74948169e78b78b5fd814e04b042b languageName: node linkType: hard -"@eslint/config-array@npm:^0.20.0": - version: 0.20.0 - resolution: "@eslint/config-array@npm:0.20.0" +"@eslint/config-array@npm:^0.21.0": + version: 0.21.0 + resolution: "@eslint/config-array@npm:0.21.0" dependencies: "@eslint/object-schema": "npm:^2.1.6" debug: "npm:^4.3.1" minimatch: "npm:^3.1.2" - checksum: 10c0/94bc5d0abb96dc5295ff559925242ff75a54eacfb3576677e95917e42f7175e1c4b87bf039aa2a872f949b4852ad9724bf2f7529aaea6b98f28bb3fca7f1d659 + checksum: 10c0/0ea801139166c4aa56465b309af512ef9b2d3c68f9198751bbc3e21894fe70f25fbf26e1b0e9fffff41857bc21bfddeee58649ae6d79aadcd747db0c5dca771f languageName: node linkType: hard -"@eslint/config-helpers@npm:^0.2.1": - version: 0.2.1 - resolution: "@eslint/config-helpers@npm:0.2.1" - checksum: 10c0/3e829a78b0bb4f7c44384ba1df3986e5de24b7f440ad5c6bb3cfc366ded773a869ca9ee8d212b5a563ae94596c5940dea6fd2ea1ee53a84c6241ac953dcb8bb7 +"@eslint/config-helpers@npm:^0.3.0": + version: 0.3.0 + resolution: "@eslint/config-helpers@npm:0.3.0" + checksum: 10c0/013ae7b189eeae8b30cc2ee87bc5c9c091a9cd615579003290eb28bebad5d78806a478e74ba10b3fe08ed66975b52af7d2cd4b4b43990376412b14e5664878c8 languageName: node linkType: hard @@ -121,6 +132,15 @@ __metadata: languageName: node linkType: hard +"@eslint/core@npm:^0.15.0": + version: 0.15.1 + resolution: "@eslint/core@npm:0.15.1" + dependencies: + "@types/json-schema": "npm:^7.0.15" + checksum: 10c0/abaf641940776638b8c15a38d99ce0dac551a8939310ec81b9acd15836a574cf362588eaab03ab11919bc2a0f9648b19ea8dee33bf12675eb5b6fd38bda6f25e + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^3.3.1": version: 3.3.1 resolution: "@eslint/eslintrc@npm:3.3.1" @@ -138,17 +158,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.28.0": - version: 9.28.0 - resolution: "@eslint/js@npm:9.28.0" - checksum: 10c0/5a6759542490dd9f778993edfbc8d2f55168fd0f7336ceed20fe3870c65499d72fc0bca8d1ae00ea246b0923ea4cba2e0758a8a5507a3506ddcf41c92282abb8 - languageName: node - linkType: hard - -"@eslint/js@npm:^9.23.0": - version: 9.25.1 - resolution: "@eslint/js@npm:9.25.1" - checksum: 10c0/87d86b512ab109bfd3b9317ced3220ea3d444ac3bfa7abd853ca7f724d72c36e213062f9def16a632365d97dc29e0094312e3682a9767590ee6f43b3d5d873fd +"@eslint/js@npm:9.31.0, @eslint/js@npm:^9.30.0": + version: 9.31.0 + resolution: "@eslint/js@npm:9.31.0" + checksum: 10c0/f9d4c73d0fafe70679a418cbb25ab7ebcc8f1dba6c32456d6f8ba5a137d583ecff233cfe10f61f41d7d4d2220e94cff1f39fc7ed1fa3819d1888dee1cad678ea languageName: node linkType: hard @@ -311,10 +324,10 @@ __metadata: languageName: node linkType: hard -"@pkgr/core@npm:^0.2.3": - version: 0.2.4 - resolution: "@pkgr/core@npm:0.2.4" - checksum: 10c0/2528a443bbbef5d4686614e1d73f834f19ccbc975f62b2a64974a6b97bcdf677b9c5e8948e04808ac4f0d853e2f422adfaae2a06e9e9f4f5cf8af76f1adf8dc1 +"@pkgr/core@npm:^0.2.9": + version: 0.2.9 + resolution: "@pkgr/core@npm:0.2.9" + checksum: 10c0/ac8e4e8138b1a7a4ac6282873aef7389c352f1f8b577b4850778f5182e4a39a5241facbe48361fec817f56d02b51691b383010843fb08b34a8e8ea3614688fd5 languageName: node linkType: hard @@ -410,12 +423,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.13.14": - version: 22.15.29 - resolution: "@types/node@npm:22.15.29" +"@types/node@npm:^22.16.5": + version: 22.16.5 + resolution: "@types/node@npm:22.16.5" dependencies: undici-types: "npm:~6.21.0" - checksum: 10c0/602cc88c6150780cd9b5b44604754e0ce13983ae876a538861d6ecfb1511dff289e5576fffd26c841cde2142418d4bb76e2a72a382b81c04557ccb17cff29e1d + checksum: 10c0/93a245e96a01f4a6aa38475000070292a9299e17b95bc1fc8180c652fb3a62f9b3b9ec0b78f9fc6a78b9274d3dfce456e80c7bb68b5357c8f7dbf581df4408c1 languageName: node linkType: hard @@ -426,115 +439,140 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.31.0" +"@typescript-eslint/eslint-plugin@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.38.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.31.0" - "@typescript-eslint/type-utils": "npm:8.31.0" - "@typescript-eslint/utils": "npm:8.31.0" - "@typescript-eslint/visitor-keys": "npm:8.31.0" + "@typescript-eslint/scope-manager": "npm:8.38.0" + "@typescript-eslint/type-utils": "npm:8.38.0" + "@typescript-eslint/utils": "npm:8.38.0" + "@typescript-eslint/visitor-keys": "npm:8.38.0" graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" + ignore: "npm:^7.0.0" natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^2.0.1" + ts-api-utils: "npm:^2.1.0" peerDependencies: - "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + "@typescript-eslint/parser": ^8.38.0 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/7d78e0cdcc967742752d49d2d38986ee38d0b7ca64af247e5fe0816cea9ae5f1bfa5c126154acc0846af515c4fb1c52c96926ee25c73b4c3f7e6fd73cb6d2b0e + checksum: 10c0/199b82e9f0136baecf515df7c31bfed926a7c6d4e6298f64ee1a77c8bdd7a8cb92a2ea55a5a345c9f2948a02f7be6d72530efbe803afa1892b593fbd529d0c27 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/parser@npm:8.31.0" +"@typescript-eslint/parser@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/parser@npm:8.38.0" dependencies: - "@typescript-eslint/scope-manager": "npm:8.31.0" - "@typescript-eslint/types": "npm:8.31.0" - "@typescript-eslint/typescript-estree": "npm:8.31.0" - "@typescript-eslint/visitor-keys": "npm:8.31.0" + "@typescript-eslint/scope-manager": "npm:8.38.0" + "@typescript-eslint/types": "npm:8.38.0" + "@typescript-eslint/typescript-estree": "npm:8.38.0" + "@typescript-eslint/visitor-keys": "npm:8.38.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/9bd903b3ea4e24bfeb444d7a5c2ed82e591ef5cffc0874c609de854c05d34935cd85543e66678ecdb8e0e3eae2cda2df5c1ba66eb72010632cb9f8779031d56d + checksum: 10c0/5580c2a328f0c15f85e4a0961a07584013cc0aca85fe868486187f7c92e9e3f6602c6e3dab917b092b94cd492ed40827c6f5fea42730bef88eb17592c947adf4 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/scope-manager@npm:8.31.0" +"@typescript-eslint/project-service@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/project-service@npm:8.38.0" dependencies: - "@typescript-eslint/types": "npm:8.31.0" - "@typescript-eslint/visitor-keys": "npm:8.31.0" - checksum: 10c0/eae758a24cc578fa351b8bf0c30c50de384292c0b05a58762f9b632d65a009bd5d902d806eccb6b678cc0b09686289fb4f1fd67da7f12d59ad43ff033b35cc4f + "@typescript-eslint/tsconfig-utils": "npm:^8.38.0" + "@typescript-eslint/types": "npm:^8.38.0" + debug: "npm:^4.3.4" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/87d2f55521e289bbcdc666b1f4587ee2d43039cee927310b05abaa534b528dfb1b5565c1545bb4996d7fbdf9d5a3b0aa0e6c93a8f1289e3fcfd60d246364a884 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/type-utils@npm:8.31.0" +"@typescript-eslint/scope-manager@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/scope-manager@npm:8.38.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.31.0" - "@typescript-eslint/utils": "npm:8.31.0" + "@typescript-eslint/types": "npm:8.38.0" + "@typescript-eslint/visitor-keys": "npm:8.38.0" + checksum: 10c0/ceaf489ea1f005afb187932a7ee363dfe1e0f7cc3db921283991e20e4c756411a5e25afbec72edd2095d6a4384f73591f4c750cf65b5eaa650c90f64ef9fe809 + languageName: node + linkType: hard + +"@typescript-eslint/tsconfig-utils@npm:8.38.0, @typescript-eslint/tsconfig-utils@npm:^8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.38.0" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/1a90da16bf1f7cfbd0303640a8ead64a0080f2b1d5969994bdac3b80abfa1177f0c6fbf61250bae082e72cf5014308f2f5cc98edd6510202f13420a7ffd07a84 + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/type-utils@npm:8.38.0" + dependencies: + "@typescript-eslint/types": "npm:8.38.0" + "@typescript-eslint/typescript-estree": "npm:8.38.0" + "@typescript-eslint/utils": "npm:8.38.0" debug: "npm:^4.3.4" - ts-api-utils: "npm:^2.0.1" + ts-api-utils: "npm:^2.1.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/f6938413a583430468b259f6823bb2ab1b5cd77cd6d4e21e1803df70e329046b9579aed5bdc9bdcf4046c8091615a911ac3990859db78d00210bb867915ba37f + checksum: 10c0/27795c4bd0be395dda3424e57d746639c579b7522af1c17731b915298a6378fd78869e8e141526064b6047db2c86ba06444469ace19c98cda5779d06f4abd37c languageName: node linkType: hard -"@typescript-eslint/types@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/types@npm:8.31.0" - checksum: 10c0/04130a30aac477d36d6a155399b27773457aeb9b485ef8fb56fee05725b6e36768c9fac7e4d1f073fd16988de0eb7dffc743c3f834ae907cf918cabb075e5cd8 +"@typescript-eslint/types@npm:8.38.0, @typescript-eslint/types@npm:^8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/types@npm:8.38.0" + checksum: 10c0/f0ac0060c98c0f3d1871f107177b6ae25a0f1846ca8bd8cfc7e1f1dd0ddce293cd8ac4a5764d6a767de3503d5d01defcd68c758cb7ba6de52f82b209a918d0d2 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.31.0" +"@typescript-eslint/typescript-estree@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.38.0" dependencies: - "@typescript-eslint/types": "npm:8.31.0" - "@typescript-eslint/visitor-keys": "npm:8.31.0" + "@typescript-eslint/project-service": "npm:8.38.0" + "@typescript-eslint/tsconfig-utils": "npm:8.38.0" + "@typescript-eslint/types": "npm:8.38.0" + "@typescript-eslint/visitor-keys": "npm:8.38.0" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" minimatch: "npm:^9.0.4" semver: "npm:^7.6.0" - ts-api-utils: "npm:^2.0.1" + ts-api-utils: "npm:^2.1.0" peerDependencies: typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/0ec074b2b9c49f80fafea716aa0cc4b05085e65730a3ef7c7d2d39db1657a40b38abe83f22bbe15ac4f6fdf576692f47d2d057347242e6cef5be81d070f55064 + checksum: 10c0/00a00f6549877f4ae5c2847fa5ac52bf42cbd59a87533856c359e2746e448ed150b27a6137c92fd50c06e6a4b39e386d6b738fac97d80d05596e81ce55933230 languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/utils@npm:8.31.0" +"@typescript-eslint/utils@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/utils@npm:8.38.0" dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.31.0" - "@typescript-eslint/types": "npm:8.31.0" - "@typescript-eslint/typescript-estree": "npm:8.31.0" + "@eslint-community/eslint-utils": "npm:^4.7.0" + "@typescript-eslint/scope-manager": "npm:8.38.0" + "@typescript-eslint/types": "npm:8.38.0" + "@typescript-eslint/typescript-estree": "npm:8.38.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/1fd4f62e16a44a5be2de501f70ba4b2d64479e014370bde7bbc6de6897cf1699766a8b7be4deb9b0328e74c2b4171839336ede4e3c60fec6ac8378b623a75275 + checksum: 10c0/e97a45bf44f315f9ed8c2988429e18c88e3369c9ee3227ee86446d2d49f7325abebbbc9ce801e178f676baa986d3e1fd4b5391f1640c6eb8944c123423ae43bb languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.31.0": - version: 8.31.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.31.0" +"@typescript-eslint/visitor-keys@npm:8.38.0": + version: 8.38.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.38.0" dependencies: - "@typescript-eslint/types": "npm:8.31.0" - eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/e41e2a9e287d11232cda6126377d1df4de69c6e9dc2a14058819cff15280ec654a3877886a6806728196f299766cfbb0b299eb021c2ce168eb15dff5eb07b51b + "@typescript-eslint/types": "npm:8.38.0" + eslint-visitor-keys: "npm:^4.2.1" + checksum: 10c0/071a756e383f41a6c9e51d78c8c64bd41cd5af68b0faef5fbaec4fa5dbd65ec9e4cd610c2e2cdbe9e2facc362995f202850622b78e821609a277b5b601a1d4ec languageName: node linkType: hard @@ -563,6 +601,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.15.0": + version: 8.15.0 + resolution: "acorn@npm:8.15.0" + bin: + acorn: bin/acorn + checksum: 10c0/dec73ff59b7d6628a01eebaece7f2bdb8bb62b9b5926dcad0f8931f2b8b79c2be21f6c68ac095592adb5adb15831a3635d9343e6a91d028bbe85d564875ec3ec + languageName: node + linkType: hard + "agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": version: 7.1.3 resolution: "agent-base@npm:7.1.3" @@ -1080,7 +1127,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5": +"debug@npm:4, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4": version: 4.4.0 resolution: "debug@npm:4.4.0" dependencies: @@ -1092,6 +1139,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.4.0": + version: 4.4.1 + resolution: "debug@npm:4.4.1" + dependencies: + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10c0/d2b44bc1afd912b49bb7ebb0d50a860dc93a4dd7d946e8de94abc957bb63726b7dd5aa48c18c2386c379ec024c46692e15ed3ed97d481729f929201e671fcd55 + languageName: node + linkType: hard + "decamelize-keys@npm:^1.1.0": version: 1.1.1 resolution: "decamelize-keys@npm:1.1.1" @@ -1159,7 +1218,7 @@ __metadata: languageName: node linkType: hard -"diff@npm:^8.0.0-beta": +"diff@npm:^8.0.2": version: 8.0.2 resolution: "diff@npm:8.0.2" checksum: 10c0/abfb387f033e089df3ec3be960205d17b54df8abf0924d982a7ced3a94c557a4e6cbff2e78b121f216b85f466b3d8d041673a386177c311aaea41459286cc9bc @@ -1393,14 +1452,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^10.1.1": - version: 10.1.2 - resolution: "eslint-config-prettier@npm:10.1.2" +"eslint-config-prettier@npm:^10.1.8": + version: 10.1.8 + resolution: "eslint-config-prettier@npm:10.1.8" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 10c0/c22c8e29193cc8fd70becf1c2dd072513f2b3004a175c2a49404c79d1745ba4dc0edc2afd00d16b0e26d24f95813a0469e7445a25104aec218f6d84cdb1697e9 + checksum: 10c0/e1bcfadc9eccd526c240056b1e59c5cd26544fe59feb85f38f4f1f116caed96aea0b3b87868e68b3099e55caaac3f2e5b9f58110f85db893e83a332751192682 languageName: node linkType: hard @@ -1445,12 +1504,12 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^5.2.5": - version: 5.2.6 - resolution: "eslint-plugin-prettier@npm:5.2.6" +"eslint-plugin-prettier@npm:^5.5.3": + version: 5.5.3 + resolution: "eslint-plugin-prettier@npm:5.5.3" dependencies: prettier-linter-helpers: "npm:^1.0.0" - synckit: "npm:^0.11.0" + synckit: "npm:^0.11.7" peerDependencies: "@types/eslint": ">=8.0.0" eslint: ">=8.0.0" @@ -1461,7 +1520,7 @@ __metadata: optional: true eslint-config-prettier: optional: true - checksum: 10c0/9911740a5edac7933d92671381908671c61ffa32a3cee7aed667ebab89831ee2c0b69eb9530f68dbe172ca9d4b3fa3d47350762dc1eb096a3ce125fa31c0e616 + checksum: 10c0/7524e381b400fec67dd2bd1a71779c220a5410f0063cd220d144431f291ec800bee1985709ef0dd38d666d01e0e53bec93824063912784d4021db8473fafe73e languageName: node linkType: hard @@ -1474,7 +1533,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.37.4": +"eslint-plugin-react@npm:^7.37.5": version: 7.37.5 resolution: "eslint-plugin-react@npm:7.37.5" dependencies: @@ -1509,13 +1568,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^8.3.0": - version: 8.3.0 - resolution: "eslint-scope@npm:8.3.0" +"eslint-scope@npm:^8.4.0": + version: 8.4.0 + resolution: "eslint-scope@npm:8.4.0" dependencies: esrecurse: "npm:^4.3.0" estraverse: "npm:^5.2.0" - checksum: 10c0/23bf54345573201fdf06d29efa345ab508b355492f6c6cc9e2b9f6d02b896f369b6dd5315205be94b8853809776c4d13353b85c6b531997b164ff6c3328ecf5b + checksum: 10c0/407f6c600204d0f3705bd557f81bd0189e69cd7996f408f8971ab5779c0af733d1af2f1412066b40ee1588b085874fc37a2333986c6521669cdbdd36ca5058e0 languageName: node linkType: hard @@ -1533,17 +1592,24 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.25.1": - version: 9.28.0 - resolution: "eslint@npm:9.28.0" +"eslint-visitor-keys@npm:^4.2.1": + version: 4.2.1 + resolution: "eslint-visitor-keys@npm:4.2.1" + checksum: 10c0/fcd43999199d6740db26c58dbe0c2594623e31ca307e616ac05153c9272f12f1364f5a0b1917a8e962268fdecc6f3622c1c2908b4fcc2e047a106fe6de69dc43 + languageName: node + linkType: hard + +"eslint@npm:^9.31.0": + version: 9.31.0 + resolution: "eslint@npm:9.31.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.12.1" - "@eslint/config-array": "npm:^0.20.0" - "@eslint/config-helpers": "npm:^0.2.1" - "@eslint/core": "npm:^0.14.0" + "@eslint/config-array": "npm:^0.21.0" + "@eslint/config-helpers": "npm:^0.3.0" + "@eslint/core": "npm:^0.15.0" "@eslint/eslintrc": "npm:^3.3.1" - "@eslint/js": "npm:9.28.0" + "@eslint/js": "npm:9.31.0" "@eslint/plugin-kit": "npm:^0.3.1" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" @@ -1555,9 +1621,9 @@ __metadata: cross-spawn: "npm:^7.0.6" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^8.3.0" - eslint-visitor-keys: "npm:^4.2.0" - espree: "npm:^10.3.0" + eslint-scope: "npm:^8.4.0" + eslint-visitor-keys: "npm:^4.2.1" + espree: "npm:^10.4.0" esquery: "npm:^1.5.0" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" @@ -1579,11 +1645,11 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/513ea7e69d88a0905d4ed35cef3a8f31ebce7ca9f2cdbda3474495c63ad6831d52357aad65094be7a144d6e51850980ced7d25efb807e8ab06a427241f7cd730 + checksum: 10c0/3fd1cd5b38b907ecb3f5e7537ab91204efb38bc1ad0ca6e46fc4112f13b594272ff56e641b41580049bc333fbcb5b1b99ca9a542e8406e7da5e951068cbaec77 languageName: node linkType: hard -"espree@npm:^10.0.1, espree@npm:^10.3.0": +"espree@npm:^10.0.1": version: 10.3.0 resolution: "espree@npm:10.3.0" dependencies: @@ -1594,6 +1660,17 @@ __metadata: languageName: node linkType: hard +"espree@npm:^10.4.0": + version: 10.4.0 + resolution: "espree@npm:10.4.0" + dependencies: + acorn: "npm:^8.15.0" + acorn-jsx: "npm:^5.3.2" + eslint-visitor-keys: "npm:^4.2.1" + checksum: 10c0/c63fe06131c26c8157b4083313cb02a9a54720a08e21543300e55288c40e06c3fc284bdecf108d3a1372c5934a0a88644c98714f38b6ae8ed272b40d9ea08d6b + languageName: node + linkType: hard + "esquery@npm:^1.5.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" @@ -1786,15 +1863,16 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^4.0.2": - version: 4.0.2 - resolution: "form-data@npm:4.0.2" +"form-data@npm:^4.0.4": + version: 4.0.4 + resolution: "form-data@npm:4.0.4" dependencies: asynckit: "npm:^0.4.0" combined-stream: "npm:^1.0.8" es-set-tostringtag: "npm:^2.1.0" + hasown: "npm:^2.0.2" mime-types: "npm:^2.1.12" - checksum: 10c0/e534b0cf025c831a0929bf4b9bbe1a9a6b03e273a8161f9947286b9b13bf8fb279c6944aae0070c4c311100c6d6dbb815cd955dc217728caf73fad8dc5b8ee9c + checksum: 10c0/373525a9a034b9d57073e55eab79e501a714ffac02e7a9b01be1c820780652b16e4101819785e1e18f8d98f0aee866cc654d660a435c378e16a72f2e7cac9695 languageName: node linkType: hard @@ -2120,13 +2198,20 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.2.0, ignore@npm:^5.3.1": +"ignore@npm:^5.2.0": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 languageName: node linkType: hard +"ignore@npm:^7.0.0": + version: 7.0.5 + resolution: "ignore@npm:7.0.5" + checksum: 10c0/ae00db89fe873064a093b8999fe4cc284b13ef2a178636211842cceb650b9c3e390d3339191acb145d81ed5379d2074840cf0c33a20bdbd6f32821f79eb4ad5d + languageName: node + linkType: hard + "import-fresh@npm:^3.2.1": version: 3.3.1 resolution: "import-fresh@npm:3.3.1" @@ -3125,7 +3210,7 @@ __metadata: languageName: node linkType: hard -"openapi-typescript@npm:^7.6.1": +"openapi-typescript@npm:^7.8.0": version: 7.8.0 resolution: "openapi-typescript@npm:7.8.0" dependencies: @@ -3393,11 +3478,13 @@ __metadata: languageName: node linkType: hard -"prettier-plugin-tailwindcss@npm:^0.6.11": - version: 0.6.11 - resolution: "prettier-plugin-tailwindcss@npm:0.6.11" +"prettier-plugin-tailwindcss@npm:^0.6.13": + version: 0.6.14 + resolution: "prettier-plugin-tailwindcss@npm:0.6.14" peerDependencies: "@ianvs/prettier-plugin-sort-imports": "*" + "@prettier/plugin-hermes": "*" + "@prettier/plugin-oxc": "*" "@prettier/plugin-pug": "*" "@shopify/prettier-plugin-liquid": "*" "@trivago/prettier-plugin-sort-imports": "*" @@ -3417,6 +3504,10 @@ __metadata: peerDependenciesMeta: "@ianvs/prettier-plugin-sort-imports": optional: true + "@prettier/plugin-hermes": + optional: true + "@prettier/plugin-oxc": + optional: true "@prettier/plugin-pug": optional: true "@shopify/prettier-plugin-liquid": @@ -3447,16 +3538,16 @@ __metadata: optional: true prettier-plugin-svelte: optional: true - checksum: 10c0/e5688a86f457b4eaa682d83a86702826d2d828db4cfc153b8b1f0b8409c94530a4bde8deb3e819497ba8e4bd0eda08ed55468a41a8138f82db43d633cf332121 + checksum: 10c0/1bf635be28b30b3f171a184497eecf512601d19328e402dd2eb1ede52aa57b4f5b605eae2929f4916de9ba22526f3d730d9afa90334db09d17c59f463f7b26d8 languageName: node linkType: hard -"prettier@npm:^3.5.3": - version: 3.5.3 - resolution: "prettier@npm:3.5.3" +"prettier@npm:^3.6.2": + version: 3.6.2 + resolution: "prettier@npm:3.6.2" bin: prettier: bin/prettier.cjs - checksum: 10c0/3880cb90b9dc0635819ab52ff571518c35bd7f15a6e80a2054c05dbc8a3aa6e74f135519e91197de63705bcb38388ded7e7230e2178432a1468005406238b877 + checksum: 10c0/488cb2f2b99ec13da1e50074912870217c11edaddedeadc649b1244c749d15ba94e846423d062e2c4c9ae683e2d65f754de28889ba06e697ac4f988d44f45812 languageName: node linkType: hard @@ -3506,14 +3597,14 @@ __metadata: languageName: node linkType: hard -"query-string@npm:^9.1.1": - version: 9.2.0 - resolution: "query-string@npm:9.2.0" +"query-string@npm:^9.2.2": + version: 9.2.2 + resolution: "query-string@npm:9.2.2" dependencies: decode-uri-component: "npm:^0.4.1" filter-obj: "npm:^5.1.0" split-on-first: "npm:^3.0.0" - checksum: 10c0/111cdc184c35d75f08c2dcb260c3cb038e7112d888a872dcbafd015d0ee790e57fd5ad8ebcad9c7a964f130c3711fef21ed2c28eb2dbf9c163bc56c144cac926 + checksum: 10c0/2e3cbee52622ac9dd299237d617c922cb2a238e70d58a08eb3ad0be814642578948f58e85376b10bef1c64df04bdde94ca8aad3f319451ee3aba2f553278ed2b languageName: node linkType: hard @@ -3904,14 +3995,14 @@ __metadata: languageName: node linkType: hard -"simple-git@npm:^3.27.0": - version: 3.27.0 - resolution: "simple-git@npm:3.27.0" +"simple-git@npm:^3.28.0": + version: 3.28.0 + resolution: "simple-git@npm:3.28.0" dependencies: "@kwsites/file-exists": "npm:^1.1.1" "@kwsites/promise-deferred": "npm:^1.1.1" - debug: "npm:^4.3.5" - checksum: 10c0/ef56cabea585377d3e0ca30e4e93447f465d91f23eaf751693cc31f366b5f7636facf52ad5bcd598bfdf295fa60732e7a394303d378995b52e2d221d92e5f9f4 + debug: "npm:^4.4.0" + checksum: 10c0/d78b8f5884967513efa3d3ee419be421207367c65b680ee45f4c9571f909ba89933ffa27d6d7972fbb759bb30b00e435e35ade2b9e788661feb996da6f461932 languageName: node linkType: hard @@ -4191,13 +4282,12 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.11.0": - version: 0.11.4 - resolution: "synckit@npm:0.11.4" +"synckit@npm:^0.11.7": + version: 0.11.11 + resolution: "synckit@npm:0.11.11" dependencies: - "@pkgr/core": "npm:^0.2.3" - tslib: "npm:^2.8.1" - checksum: 10c0/dd2965a37c93c0b652bf07b1fd8d1639a803b65cf34c0cb1b827b8403044fc3b09ec87f681d922a324825127ee95b2e0394e7caccb502f407892d63e903c5276 + "@pkgr/core": "npm:^0.2.9" + checksum: 10c0/f0761495953d12d94a86edf6326b3a565496c72f9b94c02549b6961fb4d999f4ca316ce6b3eb8ed2e4bfc5056a8de65cda0bd03a233333a35221cd2fdc0e196b languageName: node linkType: hard @@ -4241,7 +4331,7 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^2.0.1": +"ts-api-utils@npm:^2.1.0": version: 2.1.0 resolution: "ts-api-utils@npm:2.1.0" peerDependencies: @@ -4298,13 +4388,6 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.8.1": - version: 2.8.1 - resolution: "tslib@npm:2.8.1" - checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -4402,21 +4485,22 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.29.0": - version: 8.31.0 - resolution: "typescript-eslint@npm:8.31.0" +"typescript-eslint@npm:^8.35.1": + version: 8.38.0 + resolution: "typescript-eslint@npm:8.38.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.31.0" - "@typescript-eslint/parser": "npm:8.31.0" - "@typescript-eslint/utils": "npm:8.31.0" + "@typescript-eslint/eslint-plugin": "npm:8.38.0" + "@typescript-eslint/parser": "npm:8.38.0" + "@typescript-eslint/typescript-estree": "npm:8.38.0" + "@typescript-eslint/utils": "npm:8.38.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/8545887f70c4f40c4aee51d224326368f67ef5f770ba5ae9e67bfd36f4d9ab5f3414569ffaaec311893a312539934ea367a68135c6f2b0a3e175c3de59507338 + checksum: 10c0/486b9862ee08f7827d808a2264ce03b58087b11c4c646c0da3533c192a67ae3fcb4e68d7a1e69d0f35a1edc274371a903a50ecfe74012d5eaa896cb9d5a81e0b languageName: node linkType: hard -"typescript@npm:^5.5.3, typescript@npm:^5.8.2": +"typescript@npm:^5.5.3, typescript@npm:^5.8.3": version: 5.8.3 resolution: "typescript@npm:5.8.3" bin: @@ -4426,7 +4510,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin, typescript@patch:typescript@npm%3A^5.8.2#optional!builtin": +"typescript@patch:typescript@npm%3A^5.5.3#optional!builtin, typescript@patch:typescript@npm%3A^5.8.3#optional!builtin": version: 5.8.3 resolution: "typescript@patch:typescript@npm%3A5.8.3#optional!builtin::version=5.8.3&hash=5786d5" bin: From 870543cbf8d53c7d53de2ece1048286a77aab46a Mon Sep 17 00:00:00 2001 From: Torbjorn van Heeswijck Date: Tue, 22 Jul 2025 15:19:01 +0930 Subject: [PATCH 2/3] Rebuild reference files for 1.1.0 Includes an updated test for PUT /catalog/products/{product_id} --- docs/changelog/1.1.0.md | 421 ++++++++++++++++++ package.json | 2 +- .../generated/catalog/products_catalog.v3.ts | 7 +- .../reference/generated/checkouts.v3.ts | 107 ++++- .../reference/generated/orders.v2.oas2.ts | 8 +- src/internal/reference/generated/pages.v3.ts | 24 +- .../payments/access_tokens_payments.v3.ts | 4 - .../reference/generated/promotions.v3.ts | 122 ++++- .../reference/generated/store_content.v2.ts | 36 +- .../reference/generated/tax_properties.v3.ts | 4 + test-d/v3/catalog/product-put.ts | 142 +----- 11 files changed, 683 insertions(+), 194 deletions(-) create mode 100644 docs/changelog/1.1.0.md diff --git a/docs/changelog/1.1.0.md b/docs/changelog/1.1.0.md new file mode 100644 index 0000000..fcc94cd --- /dev/null +++ b/docs/changelog/1.1.0.md @@ -0,0 +1,421 @@ +# Interface Change Summary: 1.1.0 + +## Modified files +### `catalog/products_catalog.v3.ts` + +operations.updateProduct.parameters.query: +```diff +- readonly include_fields?: components["parameters"]["IncludeFieldsEnumParam"]; ++ readonly include?: components["parameters"]["IncludeParamGetProducts"]; ++ readonly include_fields?: components["parameters"]["IncludeFieldsParam"]; +``` + +### `checkouts.v3.ts` + +paths: +```diff ++ readonly "/checkouts/settings/channels/{channelId}": { ++ readonly parameters: { ++ readonly query?: never; ++ readonly path: { ++ readonly channelId: number; ++ }; ++ readonly cookie?: never; ++ }; ++ readonly get: operations["get-channel-checkout-settings"]; ++ readonly put: operations["put-channel-checkout-settings"]; ++ }; +``` + +components.schemas: +```diff ++ readonly ChannelCheckoutsSettings: { ++ readonly checkout_type?: string; ++ readonly guest_checkout_type?: string; ++ readonly guest_checkout_for_existing_accounts?: string; ++ readonly policy_consent?: string; ++ readonly order_confirmation_contact_email?: string; ++ readonly is_order_terms_and_conditions_enabled?: boolean; ++ readonly order_terms_and_conditions_type?: string; ++ readonly order_terms_and_conditions_link?: string; ++ readonly order_terms_and_conditions_textarea?: string; ++ readonly should_redirect_to_storefront_for_auth?: boolean; ++ } & components["schemas"]["CheckoutsSettings"]; +``` + +operations.addCheckoutDiscount.requestBody.content."application/json".cart.discounts: +```diff +- readonly name?: string; +``` + +operations: +```diff ++ readonly "get-channel-checkout-settings": { ++ readonly parameters: { ++ readonly query?: never; ++ readonly header?: never; ++ readonly path: { ++ readonly channelId: number; ++ }; ++ readonly cookie?: never; ++ }; ++ readonly requestBody?: never; ++ readonly responses: { ++ readonly 200: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": { ++ readonly data?: components["schemas"]["ChannelCheckoutsSettings"]; ++ readonly meta?: components["schemas"]["MetaOpen"]; ++ }; ++ }; ++ }; ++ readonly 422: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content?: never; ++ }; ++ }; ++ }; ++ readonly "put-channel-checkout-settings": { ++ readonly parameters: { ++ readonly query?: never; ++ readonly header?: never; ++ readonly path: { ++ readonly channelId: number; ++ }; ++ readonly cookie?: never; ++ }; ++ readonly requestBody?: { ++ readonly content: { ++ readonly "application/json": components["schemas"]["ChannelCheckoutsSettings"]; ++ }; ++ }; ++ readonly responses: { ++ readonly 200: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": { ++ readonly data?: components["schemas"]["ChannelCheckoutsSettings"]; ++ readonly meta?: components["schemas"]["MetaOpen"]; ++ }; ++ }; ++ }; ++ readonly 422: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content?: never; ++ }; ++ }; ++ }; +``` + +### `pages.v3.ts` + +components.schemas.PagesCollectionResponse: +```diff +- readonly data?: readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; ++ readonly data?: readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; +``` + +components.schemas.SinglePageResponse: +```diff +- readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; ++ readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; +``` + +components.schemas.PagePutObj: +```diff +- readonly type?: "page" | "raw" | "contact_form" | "feed" | "link" | "blog"; ++ readonly type?: "page" | "raw" | "contact_form" | "link" | "blog"; +- readonly feed?: string; +``` + +components.schemas.anyTypePage: +```diff +- readonly type: "page" | "raw" | "contact_form" | "feed" | "link" | "blog"; ++ readonly type: "page" | "raw" | "contact_form" | "link" | "blog"; +``` + +components.schemas: +```diff +- readonly typeFeed: components["schemas"]["anyTypePage"] & components["schemas"]["pageMeta"] & components["schemas"]["searchKeywords"] & { +- readonly feed: string; +- }; +``` + +components.schemas.pageMeta: +```diff +- readonly meta_keywords: string; ++ readonly meta_keywords: string | null; +- readonly meta_description: string; ++ readonly meta_description: string | null; +``` + +components.schemas.searchKeywords: +```diff +- readonly search_keywords: string; ++ readonly search_keywords: string | null; +``` + +components.responses.HTTP201CreatePages.content."application/json": +```diff +- readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; ++ readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; +``` + +operations.createPages.requestBody.content: +```diff +- readonly "application/json": (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]) | readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; ++ readonly "application/json": (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]) | readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; +``` + +### `promotions.v3.ts` + +paths: +```diff ++ readonly "/promotions/{promotion_id}/codegen": { ++ readonly parameters: { ++ readonly query?: never; ++ readonly path?: never; ++ readonly cookie?: never; ++ }; ++ readonly post: operations["generatePromotionCodesBatch"]; ++ }; +``` + +components.schemas: +```diff ++ readonly CreatedFrom: "react_ui" | "legacy_ui" | "api"; +- readonly PromotionCoupon: components["schemas"]["PromotionBase"] & { ++ readonly PatchCouponPromotion: components["schemas"]["PromotionBase"] & { +- readonly PromotionAutomatic: components["schemas"]["PromotionBase"]; ++ readonly DraftCouponPromotion: components["schemas"]["PromotionBase"] & { ++ readonly BulkCouponCode: { ++ readonly code?: string; ++ }; +``` + +components.schemas.PromotionBase: +```diff +- readonly name: string; ++ readonly name?: string; +- readonly rules: readonly components["schemas"]["Rule"][]; ++ readonly rules?: readonly components["schemas"]["Rule"][]; +``` + +components.schemas.PatchCouponPromotion: +```diff ++ readonly codes?: components["schemas"]["CouponCode"]; +``` + +components.schemas.DraftCouponPromotion: +```diff ++ readonly codes?: components["schemas"]["CouponCode"]; ++ readonly coupon_overrides_automatic_when_offering_higher_discounts: boolean; ++ readonly redemption_type: "COUPON"; ++ }; ++ readonly SavedCouponPromotion: WithRequired & { ++ readonly id: number; ++ readonly created_from: components["schemas"]["CreatedFrom"]; ++ readonly codes?: components["schemas"]["CouponCode"]; ++ readonly coupon_overrides_automatic_when_offering_higher_discounts: boolean; ++ readonly redemption_type: "COUPON"; ++ readonly multiple_codes?: { ++ readonly has_multiple_codes: boolean; ++ }; ++ }; ++ readonly PatchAutomaticPromotion: components["schemas"]["PromotionBase"]; ++ readonly DraftAutomaticPromotion: WithRequired & { ++ readonly redemption_type: "AUTOMATIC"; ++ }; ++ readonly SavedAutomaticPromotion: WithRequired & { ++ readonly redemption_type: "AUTOMATIC"; ++ readonly id: number; ++ readonly created_from: components["schemas"]["CreatedFrom"]; ++ }; +``` + +components.schemas.CollectionMeta: +```diff +- readonly pagination?: components["schemas"]["Pagination"]; ++ readonly pagination: components["schemas"]["Pagination"]; +``` + +components.schemas.Pagination: +```diff +- readonly total?: number; ++ readonly total: number; +- readonly count?: number; ++ readonly count: number; +- readonly per_page?: number; ++ readonly per_page: number; +- readonly current_page?: number; ++ readonly current_page: number; +- readonly total_pages?: number; ++ readonly total_pages: number; +- readonly links?: { ++ readonly links: { +``` + +components.schemas.CouponCode: +```diff +- readonly id?: number; ++ readonly id: number; +- readonly current_uses?: number; ++ readonly current_uses: number; +- readonly created?: string; ++ readonly created: string; +``` + +components.responses: +```diff ++ readonly BulkCouponCodesResponse: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": { ++ readonly data?: { ++ readonly created?: string; ++ readonly max_uses?: number; ++ readonly max_uses_per_customer?: number; ++ readonly batch_size?: number; ++ readonly codes?: readonly components["schemas"]["BulkCouponCode"][]; ++ }; ++ readonly meta?: Record; ++ }; ++ }; ++ }; +``` + +components.responses.PromotionsCollectionResponse.content."application/json": +```diff +- readonly data?: readonly (components["schemas"]["PromotionAutomatic"] | components["schemas"]["PromotionCoupon"])[]; ++ readonly data: readonly (components["schemas"]["SavedAutomaticPromotion"] | components["schemas"]["SavedCouponPromotion"])[]; +- readonly meta?: components["schemas"]["CollectionMeta"]; ++ readonly meta: components["schemas"]["CollectionMeta"]; +``` + +components.responses.PromotionsResponse.content."application/json": +```diff +- readonly data?: components["schemas"]["PromotionCoupon"] | components["schemas"]["PromotionAutomatic"]; ++ readonly data?: components["schemas"]["SavedCouponPromotion"] | components["schemas"]["SavedAutomaticPromotion"]; +``` + +components.parameters: +```diff ++ readonly Query: string; +``` + +operations.getPromotions.parameters.query: +```diff ++ readonly query?: components["parameters"]["Query"]; +``` + +operations.createPromotion.requestBody.content: +```diff +- readonly "application/json": components["schemas"]["PromotionCoupon"] | components["schemas"]["PromotionAutomatic"]; ++ readonly "application/json": components["schemas"]["DraftCouponPromotion"] | components["schemas"]["DraftAutomaticPromotion"]; +``` + +operations.updatePromotion.requestBody.content: +```diff +- readonly "application/json": components["schemas"]["PromotionCoupon"] | components["schemas"]["PromotionAutomatic"]; ++ readonly "application/json": components["schemas"]["PatchCouponPromotion"] | components["schemas"]["PatchAutomaticPromotion"]; +``` + +operations: +```diff ++ readonly generatePromotionCodesBatch: { ++ readonly parameters: { ++ readonly query?: never; ++ readonly header?: { ++ readonly "Content-Type"?: components["parameters"]["ContentType"]; ++ readonly Accept?: components["parameters"]["Accept"]; ++ }; ++ readonly path: { ++ readonly promotion_id: components["parameters"]["PromotionIdPath"]; ++ }; ++ readonly cookie?: never; ++ }; ++ readonly requestBody: { ++ readonly content: { ++ readonly "application/json": { ++ readonly batch_size: number; ++ readonly max_uses?: number; ++ readonly max_uses_per_customer?: number; ++ }; ++ }; ++ }; ++ readonly responses: { ++ readonly 201: components["responses"]["BulkCouponCodesResponse"]; ++ readonly 400: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": components["schemas"]["ErrorResponse400"]; ++ }; ++ }; ++ readonly 403: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": components["schemas"]["ErrorResponse403"]; ++ }; ++ }; ++ readonly 422: { ++ headers: { ++ readonly [name: string]: unknown; ++ }; ++ content: { ++ readonly "application/json": components["schemas"]["ErrorResponse"]; ++ }; ++ }; ++ }; ++ }; +``` + +: +```diff ++ type WithRequired = T & { ++ [P in K]-?: T[P]; ++ }; +``` + +### `store_content.v2.ts` + +components.schemas.page_Base: +```diff +- readonly type: "page" | "rss_feed" | "contact_form" | "raw" | "link"; ++ readonly type: "page" | "contact_form" | "raw" | "link"; +- readonly feed?: string; +``` + +components.schemas.page_Base_Res: +```diff +- readonly type?: "page" | "rss_feed" | "contact_form" | "raw" | "link"; ++ readonly type?: "page" | "contact_form" | "raw" | "link"; +- readonly feed?: string; +``` + +### `tax_properties.v3.ts` + +components.parameters: +```diff ++ readonly typein: readonly string[]; +``` + +operations.getTaxProperties.parameters.query: +```diff ++ readonly "type:in"?: components["parameters"]["typein"]; +``` + diff --git a/package.json b/package.json index ec34c5b..e855f07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aligent/bigcommerce-api", - "version": "1.0.0", + "version": "1.1.0", "type": "module", "scripts": { "test": "tsd", diff --git a/src/internal/reference/generated/catalog/products_catalog.v3.ts b/src/internal/reference/generated/catalog/products_catalog.v3.ts index 0202f4a..4acf1f9 100644 --- a/src/internal/reference/generated/catalog/products_catalog.v3.ts +++ b/src/internal/reference/generated/catalog/products_catalog.v3.ts @@ -4637,8 +4637,11 @@ export interface operations { readonly updateProduct: { readonly parameters: { readonly query?: { - /** @description Sub-resources to include on a product, in a comma-separated list. If `options` or `modifiers` is used, results are limited to 10 per page. The ID and the specified fields will be returned. */ - readonly include_fields?: components["parameters"]["IncludeFieldsEnumParam"]; + /** @description A comma-separated list of sub-resources to return with a product object. + * When you specify `options` or `modifiers`, results are limited to 10 per page. */ + readonly include?: components["parameters"]["IncludeParamGetProducts"]; + /** @description Fields to include, in a comma-separated list. The ID and the specified fields will be returned. */ + readonly include_fields?: components["parameters"]["IncludeFieldsParam"]; }; readonly header?: { /** @description The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body. */ diff --git a/src/internal/reference/generated/checkouts.v3.ts b/src/internal/reference/generated/checkouts.v3.ts index f880fc7..561c915 100644 --- a/src/internal/reference/generated/checkouts.v3.ts +++ b/src/internal/reference/generated/checkouts.v3.ts @@ -270,6 +270,27 @@ export interface paths { */ readonly put: operations["updateCheckoutSettings"]; }; + readonly "/checkouts/settings/channels/{channelId}": { + readonly parameters: { + readonly query?: never; + readonly path: { + readonly channelId: number; + }; + readonly cookie?: never; + }; + /** + * Get Channel-Specific Checkout Settings + * @description Returns the checkout settings for a given channel (storefront) by channelId. + */ + readonly get: operations["get-channel-checkout-settings"]; + /** + * Update Channel-Specific Checkout Settings + * @description Updates the checkout settings for a given channel (storefront) by channelId. + * + * This endpoint will update all settings included in the request body. Any settings excluded will remain unchanged. All non-boolean + */ + readonly put: operations["put-channel-checkout-settings"]; + }; readonly "/checkouts/{checkoutId}/token": { readonly parameters: { readonly query?: never; @@ -1086,6 +1107,19 @@ export interface components { readonly custom_checkout_sri_hash?: string; readonly custom_order_confirmation_sri_hash?: string; }; + /** Channel-Specific Checkouts Settings */ + readonly ChannelCheckoutsSettings: { + readonly checkout_type?: string; + readonly guest_checkout_type?: string; + readonly guest_checkout_for_existing_accounts?: string; + readonly policy_consent?: string; + readonly order_confirmation_contact_email?: string; + readonly is_order_terms_and_conditions_enabled?: boolean; + readonly order_terms_and_conditions_type?: string; + readonly order_terms_and_conditions_link?: string; + readonly order_terms_and_conditions_textarea?: string; + readonly should_redirect_to_storefront_for_auth?: boolean; + } & components["schemas"]["CheckoutsSettings"]; /** Checkouts settings request */ readonly CheckoutsSettingsRequest: { /** @description Custom checkout script URL to replace our default checkout. To reset a store to optimized one-page checkout, pass an empty string for `custom_checkout_script_url` and `custom_order_confirmation_script_url`. */ @@ -4162,8 +4196,7 @@ export interface operations { * "cart": { * "discounts": [ * { - * "discounted_amount": 10, - * "name": "manual-discount" + * "discounted_amount": 10 * } * ] * }, @@ -4174,8 +4207,6 @@ export interface operations { readonly discounts?: readonly { /** @example 10 */ readonly discounted_amount: number; - /** @example manual */ - readonly name?: string; }[]; readonly line_items?: readonly { /** @example 8edef915-8e8e-4ebd-bece-31fbb1191a7e */ @@ -12087,6 +12118,74 @@ export interface operations { }; }; }; + readonly "get-channel-checkout-settings": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + readonly channelId: number; + }; + readonly cookie?: never; + }; + readonly requestBody?: never; + readonly responses: { + /** @description Channel checkout settings retrieved successfully */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly data?: components["schemas"]["ChannelCheckoutsSettings"]; + readonly meta?: components["schemas"]["MetaOpen"]; + }; + }; + }; + /** @description Invalid channelId or invalid request */ + readonly 422: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; + readonly "put-channel-checkout-settings": { + readonly parameters: { + readonly query?: never; + readonly header?: never; + readonly path: { + readonly channelId: number; + }; + readonly cookie?: never; + }; + readonly requestBody?: { + readonly content: { + readonly "application/json": components["schemas"]["ChannelCheckoutsSettings"]; + }; + }; + readonly responses: { + /** @description Channel checkout settings updated successfully */ + readonly 200: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly data?: components["schemas"]["ChannelCheckoutsSettings"]; + readonly meta?: components["schemas"]["MetaOpen"]; + }; + }; + }; + /** @description Invalid channelId or invalid request */ + readonly 422: { + headers: { + readonly [name: string]: unknown; + }; + content?: never; + }; + }; + }; readonly createCheckoutToken: { readonly parameters: { readonly query?: never; diff --git a/src/internal/reference/generated/orders.v2.oas2.ts b/src/internal/reference/generated/orders.v2.oas2.ts index f2c0eff..5df8656 100644 --- a/src/internal/reference/generated/orders.v2.oas2.ts +++ b/src/internal/reference/generated/orders.v2.oas2.ts @@ -170,6 +170,8 @@ export interface paths { * * The V2 Orders API will not trigger the typical [Order Email](https://support.bigcommerce.com/s/article/Customizing-Emails?language=en_US) when creating orders. To create an order that does trigger this email, you can instead [create a cart](/docs/rest-management/carts/carts-single#create-a-cart) and [convert that cart into an order](/docs/rest-management/checkouts/checkout-orders#create-an-order). * + * If you are building an app that creates orders, it must include your app's ID in the `external_source` field of new orders to be approved for the App Marketplace. See [App Store Approval Requirements](/docs/integrations/apps/guide/requirements#functionality) to learn more. + * * > #### Note * > * If historical orders processed on another eCommerce platform are being migrated to BigCommerce, supply the `external_source` field with the code **M-MIG**. This code will exclude the historical orders from the store’s GMV/order count, which factors into pricing. */ @@ -1830,7 +1832,11 @@ export interface components { readonly id?: number; /** @description A read-only value representing the last modification of the order. Do not attempt to modify or set this value in a POST or PUT request. RFC-2822 */ readonly date_modified?: string; - /** @description A read-only value representing the date of shipment. Do not attempt to modify or set this value in a POST or PUT request. RFC-2822 */ + /** + * @description A read-only value representing the date when the order is fully shipped. Do not attempt to modify or set this value in a POST or PUT request. RFC-2822 + * + * @example Wed, 25 Jun 2025 05:22:10 +0000 + */ readonly date_shipped?: string; /** * @description The cart ID from which this order originated, if applicable. Correlates with the Cart API. This is a read-only field; do not set or modify its value in a POST or PUT request. diff --git a/src/internal/reference/generated/pages.v3.ts b/src/internal/reference/generated/pages.v3.ts index dce0f7d..3eca3fa 100644 --- a/src/internal/reference/generated/pages.v3.ts +++ b/src/internal/reference/generated/pages.v3.ts @@ -154,7 +154,7 @@ export interface components { * */ readonly PagesCollectionResponse: { - readonly data?: readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; + readonly data?: readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; readonly meta?: components["schemas"]["ResponseMeta"]; }; /** @@ -163,7 +163,7 @@ export interface components { * */ readonly SinglePageResponse: { - readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; + readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; readonly meta?: components["schemas"]["ResponseMeta"]; }; /** @description Properties of the page modification request body. */ @@ -205,7 +205,7 @@ export interface components { * @example page * @enum {string} */ - readonly type?: "page" | "raw" | "contact_form" | "feed" | "link" | "blog"; + readonly type?: "page" | "raw" | "contact_form" | "link" | "blog"; /** * @description HTML or variable that populates the element of this page, in default/desktop view. Required in a `POST` request if the page type is `raw`. * @@ -221,9 +221,6 @@ export interface components { /** @description Applicable when the page type is `contact_form`: contact email address that receives messages sent via the form. Must be unique. */ readonly email?: string; readonly meta_title?: string | null; - /** @description The URL of the RSS feed. Required in a `POST` request if the page type is `feed`. - * */ - readonly feed?: string; /** @description Required in a `POST` request to create a link if the page type is `link`. * */ readonly link?: string; @@ -300,7 +297,7 @@ export interface components { * @example page * @enum {string} */ - readonly type: "page" | "raw" | "contact_form" | "feed" | "link" | "blog"; + readonly type: "page" | "raw" | "contact_form" | "link" | "blog"; /** * @description Determines whether this page loads at the siteʼs root route. For example, at `https://example.com/`. * @default false @@ -358,15 +355,6 @@ export interface components { */ readonly contact_fields?: string; }; - /** - * feed - * @description `type: feed`. Makes RSS-syndicated content feeds available in the menu of other pages that contain markup. No page body. - */ - readonly typeFeed: components["schemas"]["anyTypePage"] & components["schemas"]["pageMeta"] & components["schemas"]["searchKeywords"] & { - /** @description The URL of the RSS feed. Required in a `POST` request if the page type is `feed`. - * */ - readonly feed: string; - }; /** * raw * @description `type: raw`. A user-defined page with a body that contains HTML markup or other stringified code. @@ -440,7 +428,7 @@ export interface components { }; content: { readonly "application/json": { - readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; + readonly data?: components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]; readonly meta?: components["schemas"]["ResponseMeta"]; }; }; @@ -606,7 +594,7 @@ export interface operations { }; readonly requestBody: { readonly content: { - readonly "application/json": (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]) | readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeFeed"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; + readonly "application/json": (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"]) | readonly (components["schemas"]["typePage"] | components["schemas"]["typeBlog"] | components["schemas"]["typeContactForm"] | components["schemas"]["typeRaw"] | components["schemas"]["typeLink"])[]; }; }; readonly responses: { diff --git a/src/internal/reference/generated/payments/access_tokens_payments.v3.ts b/src/internal/reference/generated/payments/access_tokens_payments.v3.ts index cd228fd..4ee693f 100644 --- a/src/internal/reference/generated/payments/access_tokens_payments.v3.ts +++ b/src/internal/reference/generated/payments/access_tokens_payments.v3.ts @@ -18,10 +18,6 @@ export interface paths { * Create Payment Access Token * @description Use this endpoint to create a payment access token. A payment access token is required to process payments with the BigCommerce API. * - * You can also generate a payment access token during checkout by using the `completeCheckout` mutation in the [GraphQL Storefront API](/docs/storefront/cart-checkout/guide/graphql-storefront#handling-payments). - * - * After the token is created, use the token to [Process a payment](/docs/rest-payments/processing#process-payment). The token is valid for one hour. - * * **Required Fields** * * order_id */ diff --git a/src/internal/reference/generated/promotions.v3.ts b/src/internal/reference/generated/promotions.v3.ts index ef777ff..b654714 100644 --- a/src/internal/reference/generated/promotions.v3.ts +++ b/src/internal/reference/generated/promotions.v3.ts @@ -95,7 +95,7 @@ export interface paths { * @description Get codes for a particular promotion. * * **Note:** - * The default rate limit for this endpoint is 40 concurrent requests. + * The default rate limit for this endpoint is 10 concurrent requests. */ readonly get: operations["getPromotionCodes"]; /** @@ -116,6 +116,22 @@ export interface paths { */ readonly delete: operations["deleteCouponCodes"]; }; + readonly "/promotions/{promotion_id}/codegen": { + readonly parameters: { + readonly query?: never; + readonly path?: never; + readonly cookie?: never; + }; + /** + * Generate Multiple Coupon Codes + * @description Generate a batch of coupon codes for a particular bulk coupon promotion. + * + * **Note:** + * * batch_size (number of codes generated per request) is limited to 250. If batch_size is not an integer or larger than 250, it will return a 422 error code. + * * The default rate limit for this endpoint is 10 concurrent requests. + */ + readonly post: operations["generatePromotionCodesBatch"]; + }; readonly "/promotions/{promotion_id}/codes/{code_id}": { readonly parameters: { readonly query?: never; @@ -237,6 +253,10 @@ export interface components { */ readonly coupon_overrides_automatic_when_offering_higher_discounts: boolean; }; + /** + * Draft Coupon Promotion + * @description A draft **Coupon Promotion** to be created. A shopper must manually apply a *coupon promotion* to their cart. + */ readonly DraftCouponPromotion: components["schemas"]["PromotionBase"] & { readonly codes?: components["schemas"]["CouponCode"]; /** @@ -912,6 +932,13 @@ export interface components { */ readonly created: string; }; + readonly BulkCouponCode: { + /** + * @description A unique, 16-character code that can be used to manually apply a discount. The code consists of randomly generated capital letters and numbers. + * @example OMHYFQ4S26EY63UW + */ + readonly code?: string; + }; /** * Bulk Action Response Meta * @description Contains data about the bulk action response including the number of total, failed and success. @@ -1110,6 +1137,32 @@ export interface components { readonly "422 - Error Deleting": unknown; }; }; + readonly BulkCouponCodesResponse: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": { + readonly data?: { + /** + * Format: date-time + * @description The date and time when the codes were created. + * @example 2019-01-20T22:00:00+00:00 + */ + readonly created?: string; + /** @description The maximum number of times each code can be used. */ + readonly max_uses?: number; + /** @description The maximum number of times each customer can use a code. */ + readonly max_uses_per_customer?: number; + /** @description The number of codes generated in the batch. */ + readonly batch_size?: number; + readonly codes?: readonly components["schemas"]["BulkCouponCode"][]; + }; + /** @description Empty meta object, which may be used at a later time. */ + readonly meta?: Record; + }; + }; + }; readonly PromotionCodeResponse: { headers: { readonly [name: string]: unknown; @@ -1528,6 +1581,73 @@ export interface operations { readonly 422: components["responses"]["BulkDeleteResponse"]; }; }; + readonly generatePromotionCodesBatch: { + readonly parameters: { + readonly query?: never; + readonly header?: { + /** @description The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body. */ + readonly "Content-Type"?: components["parameters"]["ContentType"]; + /** @description The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body. */ + readonly Accept?: components["parameters"]["Accept"]; + }; + readonly path: { + /** @description The ID of the associated promotion. */ + readonly promotion_id: components["parameters"]["PromotionIdPath"]; + }; + readonly cookie?: never; + }; + readonly requestBody: { + readonly content: { + readonly "application/json": { + /** + * @description The number of coupon codes to generate in each batch. The maximum value is 250. + * @example 5 + */ + readonly batch_size: number; + /** + * @description The maximum number of times each coupon code can be used. The default value is 1. The value 0 means unlimited usage. + * @example 10 + */ + readonly max_uses?: number; + /** + * @description The maximum number of times a specific customer can use each coupon code. The default value is 1. The value 0 means unlimited usage. + * @example 5 + */ + readonly max_uses_per_customer?: number; + }; + }; + }; + readonly responses: { + readonly 201: components["responses"]["BulkCouponCodesResponse"]; + /** @description Invalid request. */ + readonly 400: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["ErrorResponse400"]; + }; + }; + /** @description Forbidden. */ + readonly 403: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["ErrorResponse403"]; + }; + }; + /** @description The request payload is invalid. */ + readonly 422: { + headers: { + readonly [name: string]: unknown; + }; + content: { + readonly "application/json": components["schemas"]["ErrorResponse"]; + }; + }; + }; + }; readonly deleteCouponCode: { readonly parameters: { readonly query?: never; diff --git a/src/internal/reference/generated/store_content.v2.ts b/src/internal/reference/generated/store_content.v2.ts index 5886285..a08313a 100644 --- a/src/internal/reference/generated/store_content.v2.ts +++ b/src/internal/reference/generated/store_content.v2.ts @@ -138,7 +138,6 @@ export interface paths { * * `type` * * `name` * * `link` (for a page of `type: link`) - * * `feed` (for a page of `type: rss_feed`) * * `body` (for a page of `type: raw`) * * **Read Only Fields** @@ -873,12 +872,11 @@ export interface components { /** * @description `page`: free-text page * `link`: link to another web address - * `rss_feed`: syndicated content from an RSS feed * `contact_form`: When the store’s contact form is used * * @enum {string} */ - readonly type: "page" | "rss_feed" | "contact_form" | "raw" | "link"; + readonly type: "page" | "contact_form" | "raw" | "link"; /** @description Description contained within this page’s `` element. */ readonly meta_description?: string; /** @@ -923,8 +921,6 @@ export interface components { * @example page.html */ readonly layout_file?: string; - /** @description If page type is `rss_feed` then this field is visible. Required in POST required for `rss page` type. */ - readonly feed?: string; /** @description If page type is `link` this field is returned. Required in POST to create a `link` page. */ readonly link?: string; /** @@ -977,12 +973,11 @@ export interface components { /** * @description `page`: free-text page * `link`: link to another web address - * `rss_feed`: syndicated content from an RSS feed * `contact_form`: When the store’s contact form is used * * @enum {string} */ - readonly type?: "page" | "rss_feed" | "contact_form" | "raw" | "link"; + readonly type?: "page" | "contact_form" | "raw" | "link"; /** * @description Where the page’s type is a contact form - object whose members are the fields enabled (in the control panel) for storefront display. Possible members are:`fullname` - full name of the customer submitting the form; `phone` - customer’s phone number, as submitted on the form; `companyname`- customer’s submitted company name; `orderno`- customer’s submitted order number; `rma` - customer’s submitted RMA (Return Merchandise Authorization) number. * @example fullname,companyname,phone,orderno,rma @@ -1030,8 +1025,6 @@ export interface components { * @example /contact-us/ */ readonly url?: string; - /** @description If page type is `rss_feed`, then this field is visible. */ - readonly feed?: string; /** @description If page type is `link`, this field is returned. */ readonly link?: string; }; @@ -1582,26 +1575,24 @@ export interface operations { }; content: { /** @example { - * "id": 1, + * "id": 6, * "channel_id": 11, - * "name": "RSS Syndication", + * "name": "Contact Form", * "meta_title": "", - * "body": "%%Syndicate%%", + * "body": "We're happy to answer questions or help you with returns.
Please fill out the form below if you need assistance.", * "is_visible": true, - * "parent_id": 0, - * "sort_order": 5, - * "meta_keywords": "0", + * "parent_id": 5, + * "sort_order": 3, + * "meta_keywords": "", * "type": "page", * "meta_description": "", * "is_homepage": false, - * "layout_file": "", - * "is_customers_only": false, - * "search_keywords": "0", + * "layout_file": "page.html", + * "is_customers_only": true, + * "search_keywords": "", * "has_mobile_version": false, - * "feed": "", - * "link": "", - * "mobile_body": "0", - * "url": "/rss-syndication/" + * "mobile_body": "", + * "url": "/contact-us/" * } */ readonly "application/json": components["schemas"]["page_Full"]; }; @@ -1651,7 +1642,6 @@ export interface operations { * "is_customers_only": false, * "search_keywords": "", * "has_mobile_version": false, - * "feed": "", * "link": "", * "mobile_body": "", * "url": "/shipping-returns/" diff --git a/src/internal/reference/generated/tax_properties.v3.ts b/src/internal/reference/generated/tax_properties.v3.ts index 0502a75..e5ae42a 100644 --- a/src/internal/reference/generated/tax_properties.v3.ts +++ b/src/internal/reference/generated/tax_properties.v3.ts @@ -188,6 +188,8 @@ export interface components { readonly idin: readonly number[]; /** @description ID of tax property. To target multiple tax properties, provide a comma-separated list of IDs such as `12,34,56`. */ readonly idin_required: readonly number[]; + /** @description Filter result by the type of tax property. To target multiple types, provide a comma-separated list of types such as `customer,product`. */ + readonly typein: readonly string[]; }; requestBodies: never; headers: never; @@ -200,6 +202,8 @@ export interface operations { readonly query?: { /** @description ID of tax property. To target multiple tax properties, provide a comma-separated list of IDs such as `12,34,56`. */ readonly "id:in"?: components["parameters"]["idin"]; + /** @description Filter result by the type of tax property. To target multiple types, provide a comma-separated list of types such as `customer,product`. */ + readonly "type:in"?: components["parameters"]["typein"]; }; readonly header?: { /** @description The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body. */ diff --git a/test-d/v3/catalog/product-put.ts b/test-d/v3/catalog/product-put.ts index 99c706a..858b16a 100644 --- a/test-d/v3/catalog/product-put.ts +++ b/test-d/v3/catalog/product-put.ts @@ -21,52 +21,6 @@ type Expected = { readonly id: number; readonly height: number; readonly width: number; - readonly options: ReadonlyArray<{ - readonly id?: number | null; - readonly product_id?: number; - readonly display_name?: string; - readonly type?: - | 'radio_buttons' - | 'rectangles' - | 'dropdown' - | 'product_list' - | 'product_list_with_images' - | 'swatch'; - readonly config?: { - readonly default_value?: string; - readonly checked_by_default?: boolean; - readonly checkbox_label?: string; - readonly date_limited?: boolean; - readonly date_limit_mode?: 'earliest' | 'range' | 'latest'; - readonly date_earliest_value?: string; - readonly date_latest_value?: string; - readonly file_types_mode?: 'specific' | 'all'; - readonly file_types_supported?: readonly string[]; - readonly file_types_other?: readonly string[]; - readonly file_max_size?: number; - readonly text_characters_limited?: boolean; - readonly text_min_length?: number; - readonly text_max_length?: number; - readonly text_lines_limited?: boolean; - readonly text_max_lines?: number; - readonly number_limited?: boolean; - readonly number_limit_mode?: 'lowest' | 'highest' | 'range'; - readonly number_lowest_value?: number; - readonly number_highest_value?: number; - readonly number_integers_only?: boolean; - readonly product_list_adjusts_inventory?: boolean; - readonly product_list_adjusts_pricing?: boolean; - readonly product_list_shipping_calc?: 'none' | 'weight' | 'package'; - }; - readonly sort_order?: number; - readonly option_values?: ReadonlyArray<{ - readonly is_default?: boolean; - readonly label: string; - readonly sort_order: number; - readonly value_data?: { [x: string]: unknown } | null; - readonly id?: number; - }>; - }>; readonly description: string; readonly price: number; readonly date_created: string; @@ -79,98 +33,6 @@ type Expected = { readonly layout_file: string; readonly is_visible: boolean; readonly search_keywords: string; - readonly bulk_pricing_rules: ReadonlyArray<{ - readonly id: number; - readonly quantity_min: number; - readonly quantity_max: number; - readonly type: 'price' | 'percent' | 'fixed'; - readonly amount: number | string; - }>; - readonly modifiers: ReadonlyArray<{ - readonly type: - | 'date' - | 'checkbox' - | 'file' - | 'text' - | 'multi_line_text' - | 'numbers_only_text' - | 'radio_buttons' - | 'rectangles' - | 'dropdown' - | 'product_list' - | 'product_list_with_images' - | 'swatch'; - readonly required: boolean; - readonly sort_order?: number; - readonly config?: { - readonly default_value?: string; - readonly checked_by_default?: boolean; - readonly checkbox_label?: string; - readonly date_limited?: boolean; - readonly date_limit_mode?: 'earliest' | 'range' | 'latest'; - readonly date_earliest_value?: string; - readonly date_latest_value?: string; - readonly file_types_mode?: 'specific' | 'all'; - readonly file_types_supported?: readonly string[]; - readonly file_types_other?: readonly string[]; - readonly file_max_size?: number; - readonly text_characters_limited?: boolean; - readonly text_min_length?: number; - readonly text_max_length?: number; - readonly text_lines_limited?: boolean; - readonly text_max_lines?: number; - readonly number_limited?: boolean; - readonly number_limit_mode?: 'lowest' | 'highest' | 'range'; - readonly number_lowest_value?: number; - readonly number_highest_value?: number; - readonly number_integers_only?: boolean; - readonly product_list_adjusts_inventory?: boolean; - readonly product_list_adjusts_pricing?: boolean; - readonly product_list_shipping_calc?: 'none' | 'weight' | 'package'; - }; - readonly display_name?: string; - readonly id?: number; - readonly product_id?: number; - readonly name?: string; - readonly option_values?: ReadonlyArray<{ - readonly is_default?: boolean; - readonly label: string; - readonly sort_order: number; - readonly value_data?: { [x: string]: unknown } | null; - readonly adjusters?: { - readonly price?: { - readonly adjuster?: 'relative' | 'percentage' | null; - readonly adjuster_value?: number; - }; - readonly weight?: { - readonly adjuster?: 'relative' | 'percentage' | null; - readonly adjuster_value?: number; - }; - readonly image_url?: string; - readonly purchasing_disabled?: { - readonly status?: boolean; - readonly message?: string; - }; - }; - readonly id?: number; - readonly option_id?: number; - }>; - }>; - readonly custom_fields: ReadonlyArray<{ - readonly id?: number; - readonly name: string; - readonly value: string; - }>; - readonly videos: ReadonlyArray<{ - readonly title?: string; - readonly description?: string; - readonly sort_order?: number; - readonly type?: 'youtube'; - readonly video_id?: string; - readonly id?: number; - readonly product_id?: number; - readonly length?: string; - }>; readonly sku: string; readonly date_last_imported: string; readonly inventory_level: number; @@ -233,7 +95,7 @@ type Expected = { readonly open_graph_use_meta_description: boolean; readonly open_graph_use_product_name: boolean; readonly open_graph_use_image: boolean; - readonly images: ReadonlyArray<{ + readonly images: readonly { readonly is_thumbnail?: boolean; readonly sort_order?: number; readonly description?: string; @@ -245,7 +107,7 @@ type Expected = { readonly url_standard?: string; readonly url_thumbnail?: string; readonly url_tiny?: string; - }>; + }[]; readonly primary_image: { readonly id?: number; readonly product_id?: number; From dbbc5fad76fc11c373f4a6d9f5eb3415ea60b5d6 Mon Sep 17 00:00:00 2001 From: Torbjorn van Heeswijck Date: Tue, 22 Jul 2025 15:47:41 +0930 Subject: [PATCH 3/3] fix readonly array lint error --- test-d/v3/catalog/product-put.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-d/v3/catalog/product-put.ts b/test-d/v3/catalog/product-put.ts index 858b16a..9455d72 100644 --- a/test-d/v3/catalog/product-put.ts +++ b/test-d/v3/catalog/product-put.ts @@ -95,7 +95,7 @@ type Expected = { readonly open_graph_use_meta_description: boolean; readonly open_graph_use_product_name: boolean; readonly open_graph_use_image: boolean; - readonly images: readonly { + readonly images: ReadonlyArray<{ readonly is_thumbnail?: boolean; readonly sort_order?: number; readonly description?: string; @@ -107,7 +107,7 @@ type Expected = { readonly url_standard?: string; readonly url_thumbnail?: string; readonly url_tiny?: string; - }[]; + }>; readonly primary_image: { readonly id?: number; readonly product_id?: number;