diff --git a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-add-address-to-the-customer b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-add-address-to-the-customer index cf5b6c12c..c0f0852c3 100644 --- a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-add-address-to-the-customer +++ b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-add-address-to-the-customer @@ -13,31 +13,31 @@ }, "status": 200, "response": [ - "1f8b0800000000000003558fc90e82301445ffa56b63c4080e3b83628a3e71284857a4423165166b180cff2eeacadd4dce599cfb4201930c2d5ee8c6335e32c9f5e743e6292f491ef3ec03e46f20de9825bb1c8525708d4525e8a5ce70948bb301cd9e50111e87bda27c95c8aea0a944e09e547f93c4bdd6ee74b3a0ee87adc7d60a1488fc3110fb815367e2eb58034227d0da2d105cefddd110ebc154582668c675da1ee0be4dd6851d1bd1c9b4545acf9de52cbc3b128c30add000799e6c0a9eb194f7a5ff17baae7b03dee3d9c1e6000000" + "1f8b0800000000000003558fcd8e82301845dfa56b358ea813dd19fc2b998a455458995a3f4d8b1406aa5808ef2eeacadd4dce599c5ba113d30c8d2b74010519d360df729dc490f94904ea05f46720304ec6f654b8023fb02844b87f282c13b19913b3f24371a69d46f9792b725b10538853e00df8e21a355af9673b6918bcd8cc22536e11492d5246398e777d6ee321f179b12ab971a7a474836e47de97f9e077a253cf64b7f648d0f8f82f472ca09eb33ca60a8674ddef458e0f32442d7438689382623134a5df17eaba7e02b462c276e6000000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Mon, 08 May 2023 06:33:35 GMT", + "Mon, 12 Feb 2024 07:58:59 GMT", "Content-Type", "application/json", "Content-Length", - "211", + "213", "Connection", "keep-alive", "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=r64ot585t6fm9a4qfp4l2heg12; expires=Mon, 08-May-2023 07:33:35 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=n320g25t5oj0td0v2e7v5eq0o8; expires=Mon, 12-Feb-2024 08:58:59 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=bfec8bcadffdc2c85ef14414ea0e1ef8; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=ac38a874179b8fcc160952447fe3399a; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", "form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=magento2-instance.vuestorefront.io; SameSite=Lax", "Set-Cookie", - "private_content_version=008b87e2719c6bd28f7d94b683ba9335; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=c6504323a2e05c25aa5cc914299dd641; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=6313f7ad0d71eef370f7e1586740defc; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=ff3fbc177004924a9af6b6565178ac0c; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -49,7 +49,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "12515897", + "45932775", "Age", "0", "Pragma", @@ -89,33 +89,33 @@ } } }, - "query": "mutation createCustomerAddress($input: CustomerAddressInput!) {\n createCustomerAddress(input: $input) {\n id\n region {\n region\n region_id\n region_code\n __typename\n }\n country_code\n street\n telephone\n postcode\n city\n default_shipping\n default_billing\n vat_id\n __typename\n }\n}" + "query": "mutation createCustomerAddress($input: CustomerAddressInput!) {\n createCustomerAddress(input: $input) {\n firstname\n lastname\n prefix\n suffix\n id\n region {\n region\n region_id\n region_code\n __typename\n }\n country_code\n street\n telephone\n postcode\n city\n default_shipping\n default_billing\n vat_id\n __typename\n }\n}" }, "status": 200, "response": [ - "1f8b08000000000000037d8f3f0bc23010c5bf8adc5cc15a17bb895b0707c549a4c4e66a03691292ab524abfbb49ffa8380817eef2deef255c079c1183b483c22223dc378e748d76c7b945e7822138a4c96a1b81c5bbd02a48f304077c2e32b40e5b98fd3cf09bf87d2d34c740669ec8736a0d2a5607e5e7abe3f8661f41a11b45b69d93e7934f3ab28804e9659eae11104a349556018ad7c9589e35dad194f5c2723ade2804b55e1c5a041c4bd648ca5d258c11ea0e69c9a4c38f7113527eeb0f46c372aa91f2ff2ed0f7fd0b8b014eac5a010000" + "1f8b08000000000000037d503d6f03210cfd2b956732a4972c6c55b70c195a758aaa133d4c82440061d3f614dd7f2fe43e7aea50098be7f79e6dcc0db46205f2065d42c5f89c89c315d393d60989aa606c22f6ea8a20575880530bbd400131a1b1df207d764e0065b3caac06d9ec1b0109cf36f8da7c4670c4af870326c21e66bdadfedd7649bba0ebb0e3a138da96fb88d3f83f8f7e197b0e02ba903da77eae7c7b2d95c40991419e66f42e80d161bc045f4ddbc7663c7599403cd516623345113acb7d21ef97008d4665c72d5d6c8cd69f411ae5087f850febdc9aff547c5f6efc96ff768161187e00f53fb803a4010000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Mon, 08 May 2023 06:33:35 GMT", + "Mon, 12 Feb 2024 07:58:59 GMT", "Content-Type", "application/json", "Content-Length", - "213", + "242", "Connection", "keep-alive", "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=vf1rlslp447h0bt62l8qp67qaf; expires=Mon, 08-May-2023 07:33:35 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=sraop0vfbjnlbje3h1qbvobo5l; expires=Mon, 12-Feb-2024 08:58:59 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=d241a92d1b3a3f5e719680998ec4a72b; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=4e8e5564ca189e58cea66b96418e2420; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=abbd789932ea2dc73884fdd3aabe3245; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=dfcd14fa2eda1cf73dccdc353cb95a91; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=381cc8c7f3f14c108ac8c252f1eb1e99; expires=Thu, 05-May-2033 06:33:35 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=c99288ab9269c98f67bb6cd05b793b35; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -127,7 +127,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "12481923", + "45901253", "Age", "0", "Pragma", diff --git a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-create-an-address-using-custom-query b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-create-an-address-using-custom-query index 1d0efe054..b38f383a9 100644 --- a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-create-an-address-using-custom-query +++ b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-createCustomerAddress-should-create-an-address-using-custom-query @@ -13,13 +13,13 @@ }, "status": 200, "response": [ - "1f8b0800000000000003558fcb0e82301405ffa56b63c06770a7205af59628a0e28654ac5a9047a08ac5f0efa2aedc9d646631e7854e5450347aa10b4b584e05d3ef854863963b69c4920f10bf81985ce474b7e616c74fcc4beeed9e090e536e9b2089e3f1f3badd28ea5709dd1264c94ffb4d3f98dda246ab56fa22f3f61f36ed5806a810460a318202c7db5ea0e301385e0f2ab7826aac90aed28e97d788407f42b5b39b0def9a6dabb3c2d0ccc1dceacc0fe408c279a4d2da1eb1825ac8f785cc584263d694fe5fa8ebfa0d428a29a5e6000000" + "1f8b0800000000000003558fcd8e82301845dfa56b358ea813dd19fc2b998a455458995a3f4d8b1406aa5808ef2eeacadd4dce599c5ba113d30c8d2b74010519d360df729dc490f94904ea05f46720304ec6f654b8023fb02844b87f282c13b19913b3f24371a69d46f9792b725b10538853e00df8e21a355af9673b6918bcd8cc22536e11492d5246398e777d6ee321f179b12ab971a7a474836e47de97f9e077a253cf64b7f648d0f8f82f472ca09eb33ca60a8674ddef458e0f32442d7438689382623134a5df17eaba7e02b462c276e6000000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Mon, 08 May 2023 07:04:07 GMT", + "Mon, 12 Feb 2024 07:58:59 GMT", "Content-Type", "application/json", "Content-Length", @@ -29,15 +29,15 @@ "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=si5smad1ljnoib49fecf0425vq; expires=Mon, 08-May-2023 08:04:06 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=5fuf8af0ua35erskjestonu6a9; expires=Mon, 12-Feb-2024 08:58:59 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=bf429b7c642767c513aec7d657053e49; expires=Thu, 05-May-2033 07:04:06 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=77f079ae083bca7653014880ed5a22a6; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", "form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=magento2-instance.vuestorefront.io; SameSite=Lax", "Set-Cookie", - "private_content_version=0ebfbe5379ced2a64582e795f43ea374; expires=Thu, 05-May-2033 07:04:07 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=9e0d433b3d2abe83813b525488926f76; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=5184edcfc7bd1a60ff6c95a88d9d071a; expires=Thu, 05-May-2033 07:04:07 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=7a25515b0aba821198f51a09437b490d; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -49,7 +49,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "12714031", + "45932781", "Age", "0", "Pragma", @@ -93,13 +93,13 @@ }, "status": 200, "response": [ - "1f8b0800000000000003ab564a492c4954b2aa564a2e4a4d2c49752e2d2ec9cf4d2d724c49294a2d2e064964a62859191b1ae828256796542a5941281da5f8f892ca82d4bcc4dc54a018bab6dada5a00c0e7e7035a000000" + "1f8b0800000000000003ab564a492c4954b2aa564a2e4a4d2c49752e2d2ec9cf4d2d724c49294a2d2e064964a62859199b9ae828256796542a5941281da5f8f892ca82d4bcc4dc54a018bab6dada5a00483c432e5a000000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Mon, 08 May 2023 07:04:07 GMT", + "Mon, 12 Feb 2024 07:58:59 GMT", "Content-Type", "application/json", "Content-Length", @@ -109,13 +109,13 @@ "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=j9v2lg3asclfaqeievmobp8pnp; expires=Mon, 08-May-2023 08:04:07 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=dpiqavoee228rp3dnoagasn0do; expires=Mon, 12-Feb-2024 08:58:59 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=af972a7c724a523222dba75c1e96ace8; expires=Thu, 05-May-2033 07:04:07 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=72ffb6be801dd79887d0e5523af49269; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=d81f2a18d0d928e83d4208b10b0c3c9c; expires=Thu, 05-May-2033 07:04:07 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=f7ad4ad4170b057fe128cf1ae0b7d56c; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=bb916f07eb6a34e37cead0d50732cf07; expires=Thu, 05-May-2033 07:04:07 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=acff244b968c2dde285e006cb60efa37; expires=Thu, 09-Feb-2034 07:58:59 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -127,7 +127,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "12714034", + "45901256", "Age", "0", "Pragma", diff --git a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-removes-address-of-the-customer b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-removes-address-of-the-customer index 01ba54953..1d72dadd2 100644 --- a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-removes-address-of-the-customer +++ b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-removes-address-of-the-customer @@ -13,31 +13,31 @@ }, "status": 200, "response": [ - "1f8b0800000000000003558fc18e82301445ffa56b6390a0c9b823e0982245ab38d015e9c8c3b40cc56011aae1df0775e5ee26e72cce7da09c6b8e960f7406050dd7e0b5575d57d0c47509ea09f47b203041c3132ab602f758748225bdc2b216876f62a29889824e4765f652e4b123a61379ba9f9fd67fe5a8dd432fb8b0f4c956f6d62776e46387c8d515573fcec9c30b123387dc9915496a486a4dbfe6096426d885a9670945835f6e6605f7cf9bf0e8d29c96852b5bc35b7c5bbb6882b24c9b0b285ec158fa796118867fa0c67ae5e6000000" + "1f8b0800000000000003558f418f82301844ff4bcfc660ca2af15a404b2c84b52e72324dfd3405290835580cff7d713ded6d32ef1d665ee82c8c40eb17ba82865618208fced415b4bc2e41bf81f90404366a4596aa44d12755bdcab3a7a645adf621b331cfd5259d4fcae24f290e3db3bd3a1fbfbfe4e6564edab02351931fdf2cc0cc979815294e7cd6d1eac795842e19977d3c483b752ec3ce7cb5a0256f7c2f129d4ef68f03614d96c59ebb09b197bb8e130604ee66cbcd10a0193a9d8c6d408b0aa6a5ff2f8ce3f80b18523d6ae6000000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Tue, 09 May 2023 14:33:41 GMT", + "Mon, 12 Feb 2024 07:59:43 GMT", "Content-Type", "application/json", "Content-Length", - "212", + "211", "Connection", "keep-alive", "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=denlrvclr67l49u118qlpcpq9o; expires=Tue, 09-May-2023 15:33:41 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=vctba4esl3kv3isk1emml6fpa9; expires=Mon, 12-Feb-2024 08:59:42 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=32fc8ab337440e653763255d29aabff8; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=a0172a128d84d5418be607e084cb8f4d; expires=Thu, 09-Feb-2034 07:59:42 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", "form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=magento2-instance.vuestorefront.io; SameSite=Lax", "Set-Cookie", - "private_content_version=11c299e9834cc8bf439d673184e3eb4e; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=0917da2af56a1c208d0080024b5d7c69; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=e2fdef7683594a46a01ae6291a4aaf89; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=2d2e7a3b9359e628c578360aa9697f5f; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -49,7 +49,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "13502738", + "45932810", "Age", "0", "Pragma", @@ -89,33 +89,33 @@ } } }, - "query": "mutation createCustomerAddress($input: CustomerAddressInput!) {\n createCustomerAddress(input: $input) {\n id\n region {\n region\n region_id\n region_code\n __typename\n }\n country_code\n street\n telephone\n postcode\n city\n default_shipping\n default_billing\n vat_id\n __typename\n }\n}" + "query": "mutation createCustomerAddress($input: CustomerAddressInput!) {\n createCustomerAddress(input: $input) {\n firstname\n lastname\n prefix\n suffix\n id\n region {\n region\n region_id\n region_code\n __typename\n }\n country_code\n street\n telephone\n postcode\n city\n default_shipping\n default_billing\n vat_id\n __typename\n }\n}" }, "status": 200, "response": [ - "1f8b08000000000000037d8f3f0bc23010c5bf8adc5c875a71e8266e1d1c142791129b6b1b4893905c9552fadd4dfa47c541b87097f77e2fe17ae08c18a43d141619e1a175a41bb47bce2d3a170cc1214de25d04162ba1559096098ef85c65681d76b0f879e0b7f1fb5a688e81cc3c91e7d41954ac09cacf57a7e9cd218242b78a6cb7242f679f74641109d2eb32dd222094686aad02146f92a93c6bb4a339eb85f57cbc5108eabc38b6083896ac9594bb5a1823540569c9a4c38f7117527eeb0f46e372aa95f2ff2e300cc30b6f6dbf7b5a010000" + "1f8b08000000000000037d503d6f03210cfd2b95673aa44916b6aa5b860c8d3255d5891c26412280b0697b8aeebf07721f3d75a884c5f37bcf36e6065ab102798336a1627ccbc4e18ae955eb8444553036117b7545900b2cc0a9999ea18098d0d81f903e3b2780b2596456835c6fb702129e6df0b5f984608fdf4f3b4c841d4c7a53fd9bd59cb641d761fb5d71340d7711c7f17f1efd3ef4ec05b4217b4edd54793c944ae284c8203f26f42980d161bc045f4dab97f570ea328178ac2dc4f31845682d77857c5c02341a951d3774b1315a7f06699423fc154ed6b925ffa5f8b1dcf02dffed027ddfdf01cd9574e0a4010000" ], "rawHeaders": [ "Server", "nginx/1.14.2", "Date", - "Tue, 09 May 2023 14:33:41 GMT", + "Mon, 12 Feb 2024 07:59:43 GMT", "Content-Type", "application/json", "Content-Length", - "213", + "242", "Connection", "keep-alive", "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=36okl8h3tkh2hut32udbomoqtd; expires=Tue, 09-May-2023 15:33:41 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=t604k3j3p5gnig2mi9ha6eajjt; expires=Mon, 12-Feb-2024 08:59:43 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=33c49cad768a74b4cafb1085f221908d; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=75f22e403ec3ee6809a87336e2bb7395; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=55e8b3a19e11d31dde37ddaf89247ea8; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=2a58b802245752f190eeef43d749d4d3; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=daff457c023555ca4fea8d87bd57481c; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=59cae69fce248b571a4fe0d74c91e84a; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -127,7 +127,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "13128200", + "45871301", "Age", "0", "Pragma", @@ -148,7 +148,7 @@ "body": { "operationName": "deleteCustomerAddress", "variables": { - "id": 316 + "id": 355 }, "query": "mutation deleteCustomerAddress($id: Int!) {\n deleteCustomerAddress(id: $id)\n}" }, @@ -160,7 +160,7 @@ "Server", "nginx/1.14.2", "Date", - "Tue, 09 May 2023 14:33:41 GMT", + "Mon, 12 Feb 2024 07:59:43 GMT", "Content-Type", "application/json", "Content-Length", @@ -170,13 +170,13 @@ "Vary", "Accept-Encoding", "Set-Cookie", - "PHPSESSID=qcddr3ecvi9b9q122be2sfuc6q; expires=Tue, 09-May-2023 15:33:41 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", + "PHPSESSID=vr91pf3t16m17g2tbc7ptv7o91; expires=Mon, 12-Feb-2024 08:59:43 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", "Set-Cookie", - "private_content_version=86a05c5a27f138bf42a436bf1db8ea42; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=a89844d1717bb5d4911442c0550168ae; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=ec5d34d2c7019294ddc83cc256ace90c; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=076782c3ed9e8befa2cb5fa14293074f; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "Set-Cookie", - "private_content_version=752f8c75620a1b856b04b02e29a156f2; expires=Fri, 06-May-2033 14:33:41 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", + "private_content_version=f4c58641e4c6dcc08e1bffa9f88f86f1; expires=Thu, 09-Feb-2034 07:59:43 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", "X-Magento-Cache-Id", "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", "X-Content-Type-Options", @@ -188,7 +188,7 @@ "Content-Encoding", "gzip", "X-Varnish", - "13128203", + "45932813", "Age", "0", "Pragma", diff --git a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-should-remove-address-from-the-customer b/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-should-remove-address-from-the-customer deleted file mode 100644 index c09202103..000000000 --- a/packages/sdk/__tests__/integration/__nock-fixtures__/[SDK][Integration-Tests]-deleteCustomerAddress-should-remove-address-from-the-customer +++ /dev/null @@ -1,205 +0,0 @@ -[ - { - "scope": "https://magento2-instance.vuestorefront.io:443", - "method": "POST", - "path": "/graphql", - "body": { - "operationName": "generateCustomerToken", - "variables": { - "email": "vsf.magento.integration.test.user@gmail.com", - "password": "9uvPv!Vvn2!Uaz.yNy4a" - }, - "query": "mutation generateCustomerToken($email: String!, $password: String!) {\n generateCustomerToken(email: $email, password: $password) {\n token\n __typename\n }\n}" - }, - "status": 200, - "response": [ - "1f8b0800000000000003558fbb0e82300045ffa5b33160c0889ba1626a2c44e539998a15cba3985a054af8775127b79b9c339cdb830b91042c7b90514e0591d47e3e645d51e1d705e51f207f03d06e2b48b4671e432d620d4ba296a3bc66470777ae9fb0eb7e3a2afa57c98306770dbbc40733dd94c5a8a99dbdbd27f187ad671ec4ba0b0385e1fa81aad0486d34c77e626015681e2c1a1c6b53e7aa16a844ba73340bedcc3da8d2cd2d24eecdd8ad324d94af99106da8b0656560024e27d9dd2927151d4bff2f0cc3f006cdc242d3e6000000" - ], - "rawHeaders": [ - "Server", - "nginx/1.14.2", - "Date", - "Mon, 08 May 2023 11:28:21 GMT", - "Content-Type", - "application/json", - "Content-Length", - "211", - "Connection", - "keep-alive", - "Vary", - "Accept-Encoding", - "Set-Cookie", - "PHPSESSID=3a94v1693qp141uekdh8118d0o; expires=Mon, 08-May-2023 12:28:21 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", - "Set-Cookie", - "private_content_version=193b6e44398d5e8e850003257c3dd384; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; domain=magento2-instance.vuestorefront.io; SameSite=Lax", - "Set-Cookie", - "private_content_version=68707ac3a5f9fb71923ea5a03f8f4704; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "private_content_version=4dc70f7b65518a396b62917b9015c9e4; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "X-Magento-Cache-Id", - "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", - "X-Content-Type-Options", - "nosniff", - "X-XSS-Protection", - "1; mode=block", - "X-Frame-Options", - "SAMEORIGIN", - "Content-Encoding", - "gzip", - "X-Varnish", - "12699471", - "Age", - "0", - "Pragma", - "no-cache", - "Expires", - "-1", - "Cache-Control", - "no-store, no-cache, must-revalidate, max-age=0", - "Accept-Ranges", - "bytes" - ], - "responseIsBinary": false - }, - { - "scope": "https://magento2-instance.vuestorefront.io:443", - "method": "POST", - "path": "/graphql", - "body": { - "operationName": "createCustomerAddress", - "variables": { - "input": { - "city": "city", - "country_code": "US", - "default_billing": false, - "default_shipping": false, - "firstname": "firstname", - "lastname": "lastname", - "postcode": "123-123-123", - "street": [ - "street" - ], - "telephone": "123123123", - "region": { - "region_code": "NJ", - "region_id": 41, - "region": "New Jersey" - } - } - }, - "query": "mutation createCustomerAddress($input: CustomerAddressInput!) {\n createCustomerAddress(input: $input) {\n id\n region {\n region\n region_id\n region_code\n __typename\n }\n country_code\n street\n telephone\n postcode\n city\n default_shipping\n default_billing\n vat_id\n __typename\n }\n}" - }, - "status": 200, - "response": [ - "1f8b08000000000000037d8f3f0bc23010c5bf8adc5c875a5dba895b0707c549a4c4e6da06d2242457a5947e7793fe5171102edce5bddf4bb81e382306690f85454678681de906ed9e738bce0543704893781781c54a6815a46582233e57195a871d2c7e1ef86dfcbe169a6320334fe4397506156b82f2f3d5697a7388a0d0ad22db2dc9cbd9271d594482f4ba4cb70808259a5aab00c59b642acf1aed68ce7a613d1f6f14823a2f8e2d028e256b25e5ae16c60855415a32e9f063dc8594dffa83d1b89c6aa5fcbf0b0cc3f0027338590a5a010000" - ], - "rawHeaders": [ - "Server", - "nginx/1.14.2", - "Date", - "Mon, 08 May 2023 11:28:21 GMT", - "Content-Type", - "application/json", - "Content-Length", - "213", - "Connection", - "keep-alive", - "Vary", - "Accept-Encoding", - "Set-Cookie", - "PHPSESSID=cg3sai3u45su6m2dnh8hmbj23t; expires=Mon, 08-May-2023 12:28:21 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", - "Set-Cookie", - "private_content_version=258d4addd54c808b990802ebc6129152; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "private_content_version=5127afe8869bcb7214c1e48b02948ba2; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "private_content_version=3a1e4a5815d4d72ee6353f4fb14b686f; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "X-Magento-Cache-Id", - "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", - "X-Content-Type-Options", - "nosniff", - "X-XSS-Protection", - "1; mode=block", - "X-Frame-Options", - "SAMEORIGIN", - "Content-Encoding", - "gzip", - "X-Varnish", - "12642670", - "Age", - "0", - "Pragma", - "no-cache", - "Expires", - "-1", - "Cache-Control", - "no-store, no-cache, must-revalidate, max-age=0", - "Accept-Ranges", - "bytes" - ], - "responseIsBinary": false - }, - { - "scope": "https://magento2-instance.vuestorefront.io:443", - "method": "POST", - "path": "/graphql", - "body": { - "operationName": "deleteCustomerAddress", - "variables": { - "id": 315 - }, - "query": "mutation deleteCustomerAddress($id: Int!) {\n deleteCustomerAddress(id: $id)\n}" - }, - "status": 200, - "response": [ - "1f8b0800000000000003ab564a492c4954b2aa564a49cd492d49752e2d2ec9cf4d2d724c49294a2d2e56b22a292a4dadad05003a62debc27000000" - ], - "rawHeaders": [ - "Server", - "nginx/1.14.2", - "Date", - "Mon, 08 May 2023 11:28:21 GMT", - "Content-Type", - "application/json", - "Content-Length", - "59", - "Connection", - "keep-alive", - "Vary", - "Accept-Encoding", - "Set-Cookie", - "PHPSESSID=j7p19l25p9q41aa0tqqp1udh24; expires=Mon, 08-May-2023 12:28:21 GMT; Max-Age=3600; path=/; domain=magento2-instance.vuestorefront.io; secure; HttpOnly; SameSite=Lax", - "Set-Cookie", - "private_content_version=0be823dd76efbfbd6b5d1cd4a1b5ee48; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "private_content_version=4a6d85975a1e96ea819054d7fcd502f2; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "Set-Cookie", - "private_content_version=d6b01f55e8806b4a5a50c90df9445dd4; expires=Thu, 05-May-2033 11:28:21 GMT; Max-Age=315360000; path=/; secure; SameSite=Lax", - "X-Magento-Cache-Id", - "d8e7c9b3ded8b483e0bf9f08863ddae5bf723650af654f3d9c4ddc2176190f1f", - "X-Content-Type-Options", - "nosniff", - "X-XSS-Protection", - "1; mode=block", - "X-Frame-Options", - "SAMEORIGIN", - "Content-Encoding", - "gzip", - "X-Varnish", - "12699474", - "Age", - "0", - "Pragma", - "no-cache", - "Expires", - "-1", - "Cache-Control", - "no-store, no-cache, must-revalidate, max-age=0", - "Accept-Ranges", - "bytes" - ], - "responseIsBinary": false - } -] \ No newline at end of file diff --git a/packages/sdk/__tests__/integration/createCustomerAddress.integration.spec.ts b/packages/sdk/__tests__/integration/createCustomerAddress.integration.spec.ts index af6620d30..c70e67fa2 100644 --- a/packages/sdk/__tests__/integration/createCustomerAddress.integration.spec.ts +++ b/packages/sdk/__tests__/integration/createCustomerAddress.integration.spec.ts @@ -56,7 +56,7 @@ describe(describeGroup('createCustomerAddress'), () => { }, }; - const expected = { data: { createCustomerAddress: { __typename: 'CustomerAddress', city: 'city', id: 310 } } }; + const expected = { data: { createCustomerAddress: { __typename: 'CustomerAddress', city: 'city', id: 354 } } }; const result = await sdk.magento.createCustomerAddress(address, { customQuery,