@@ -102,77 +102,77 @@ function (ApiRequestBuilder $builder): RequestInterface {
102102 'post ' ,
103103 'test_projectKey/product-projections/search ' ,
104104 ],
105- 'ByProjectKeyProductProjectionsSearchGet_withFuzzy ' => [
105+ 'ByProjectKeyProductProjectionsSearchGet_withMarkMatchingVariants ' => [
106106 function (ApiRequestBuilder $ builder ): RequestInterface {
107107 return $ builder
108108 ->withProjectKey ('test_projectKey ' )
109109 ->productProjections ()
110110 ->search ()
111111 ->get ()
112- ->withFuzzy ( ' fuzzy ' );
112+ ->withMarkMatchingVariants ( ' markMatchingVariants ' );
113113 },
114114 'get ' ,
115- 'test_projectKey/product-projections/search?fuzzy=fuzzy ' ,
115+ 'test_projectKey/product-projections/search?markMatchingVariants=markMatchingVariants ' ,
116116 ],
117- 'ByProjectKeyProductProjectionsSearchGet_withFuzzyLevel ' => [
117+ 'ByProjectKeyProductProjectionsSearchGet_withText ' => [
118118 function (ApiRequestBuilder $ builder ): RequestInterface {
119119 return $ builder
120120 ->withProjectKey ('test_projectKey ' )
121121 ->productProjections ()
122122 ->search ()
123123 ->get ()
124- ->withFuzzyLevel ( ' fuzzyLevel ' );
124+ ->withText ( ' locale ' , ' text.locale ' );
125125 },
126126 'get ' ,
127- 'test_projectKey/product-projections/search?fuzzyLevel=fuzzyLevel ' ,
127+ 'test_projectKey/product-projections/search?text.locale=text.locale ' ,
128128 ],
129- 'ByProjectKeyProductProjectionsSearchGet_withMarkMatchingVariants ' => [
129+ 'ByProjectKeyProductProjectionsSearchGet_withFuzzy ' => [
130130 function (ApiRequestBuilder $ builder ): RequestInterface {
131131 return $ builder
132132 ->withProjectKey ('test_projectKey ' )
133133 ->productProjections ()
134134 ->search ()
135135 ->get ()
136- ->withMarkMatchingVariants ( ' markMatchingVariants ' );
136+ ->withFuzzy ( ' fuzzy ' );
137137 },
138138 'get ' ,
139- 'test_projectKey/product-projections/search?markMatchingVariants=markMatchingVariants ' ,
139+ 'test_projectKey/product-projections/search?fuzzy=fuzzy ' ,
140140 ],
141- 'ByProjectKeyProductProjectionsSearchGet_withFilter ' => [
141+ 'ByProjectKeyProductProjectionsSearchGet_withFuzzyLevel ' => [
142142 function (ApiRequestBuilder $ builder ): RequestInterface {
143143 return $ builder
144144 ->withProjectKey ('test_projectKey ' )
145145 ->productProjections ()
146146 ->search ()
147147 ->get ()
148- ->withFilter ( ' filter ' );
148+ ->withFuzzyLevel ( ' fuzzyLevel ' );
149149 },
150150 'get ' ,
151- 'test_projectKey/product-projections/search?filter=filter ' ,
151+ 'test_projectKey/product-projections/search?fuzzyLevel=fuzzyLevel ' ,
152152 ],
153- 'ByProjectKeyProductProjectionsSearchGet_withFilterFacets ' => [
153+ 'ByProjectKeyProductProjectionsSearchGet_withFilterQuery ' => [
154154 function (ApiRequestBuilder $ builder ): RequestInterface {
155155 return $ builder
156156 ->withProjectKey ('test_projectKey ' )
157157 ->productProjections ()
158158 ->search ()
159159 ->get ()
160- ->withFilterFacets ('filter.facets ' );
160+ ->withFilterQuery ('filter.query ' );
161161 },
162162 'get ' ,
163- 'test_projectKey/product-projections/search?filter.facets =filter.facets ' ,
163+ 'test_projectKey/product-projections/search?filter.query =filter.query ' ,
164164 ],
165- 'ByProjectKeyProductProjectionsSearchGet_withFilterQuery ' => [
165+ 'ByProjectKeyProductProjectionsSearchGet_withFilter ' => [
166166 function (ApiRequestBuilder $ builder ): RequestInterface {
167167 return $ builder
168168 ->withProjectKey ('test_projectKey ' )
169169 ->productProjections ()
170170 ->search ()
171171 ->get ()
172- ->withFilterQuery ('filter.query ' );
172+ ->withFilter ('filter ' );
173173 },
174174 'get ' ,
175- 'test_projectKey/product-projections/search?filter.query =filter.query ' ,
175+ 'test_projectKey/product-projections/search?filter=filter ' ,
176176 ],
177177 'ByProjectKeyProductProjectionsSearchGet_withFacet ' => [
178178 function (ApiRequestBuilder $ builder ): RequestInterface {
@@ -186,65 +186,65 @@ function (ApiRequestBuilder $builder): RequestInterface {
186186 'get ' ,
187187 'test_projectKey/product-projections/search?facet=facet ' ,
188188 ],
189- 'ByProjectKeyProductProjectionsSearchGet_withText ' => [
189+ 'ByProjectKeyProductProjectionsSearchGet_withFilterFacets ' => [
190190 function (ApiRequestBuilder $ builder ): RequestInterface {
191191 return $ builder
192192 ->withProjectKey ('test_projectKey ' )
193193 ->productProjections ()
194194 ->search ()
195195 ->get ()
196- ->withText ( ' locale ' , ' text.locale ' );
196+ ->withFilterFacets ( ' filter.facets ' );
197197 },
198198 'get ' ,
199- 'test_projectKey/product-projections/search?text.locale=text.locale ' ,
199+ 'test_projectKey/product-projections/search?filter.facets=filter.facets ' ,
200200 ],
201- 'ByProjectKeyProductProjectionsSearchGet_withSort ' => [
201+ 'ByProjectKeyProductProjectionsSearchGet_withExpand ' => [
202202 function (ApiRequestBuilder $ builder ): RequestInterface {
203203 return $ builder
204204 ->withProjectKey ('test_projectKey ' )
205205 ->productProjections ()
206206 ->search ()
207207 ->get ()
208- ->withSort ( ' sort ' );
208+ ->withExpand ( ' expand ' );
209209 },
210210 'get ' ,
211- 'test_projectKey/product-projections/search?sort=sort ' ,
211+ 'test_projectKey/product-projections/search?expand=expand ' ,
212212 ],
213- 'ByProjectKeyProductProjectionsSearchGet_withLimit ' => [
213+ 'ByProjectKeyProductProjectionsSearchGet_withSort ' => [
214214 function (ApiRequestBuilder $ builder ): RequestInterface {
215215 return $ builder
216216 ->withProjectKey ('test_projectKey ' )
217217 ->productProjections ()
218218 ->search ()
219219 ->get ()
220- ->withLimit ( ' limit ' );
220+ ->withSort ( ' sort ' );
221221 },
222222 'get ' ,
223- 'test_projectKey/product-projections/search?limit=limit ' ,
223+ 'test_projectKey/product-projections/search?sort=sort ' ,
224224 ],
225- 'ByProjectKeyProductProjectionsSearchGet_withOffset ' => [
225+ 'ByProjectKeyProductProjectionsSearchGet_withLimit ' => [
226226 function (ApiRequestBuilder $ builder ): RequestInterface {
227227 return $ builder
228228 ->withProjectKey ('test_projectKey ' )
229229 ->productProjections ()
230230 ->search ()
231231 ->get ()
232- ->withOffset ( ' offset ' );
232+ ->withLimit ( ' limit ' );
233233 },
234234 'get ' ,
235- 'test_projectKey/product-projections/search?offset=offset ' ,
235+ 'test_projectKey/product-projections/search?limit=limit ' ,
236236 ],
237- 'ByProjectKeyProductProjectionsSearchGet_withWithTotal ' => [
237+ 'ByProjectKeyProductProjectionsSearchGet_withOffset ' => [
238238 function (ApiRequestBuilder $ builder ): RequestInterface {
239239 return $ builder
240240 ->withProjectKey ('test_projectKey ' )
241241 ->productProjections ()
242242 ->search ()
243243 ->get ()
244- ->withWithTotal ( ' withTotal ' );
244+ ->withOffset ( ' offset ' );
245245 },
246246 'get ' ,
247- 'test_projectKey/product-projections/search?withTotal=withTotal ' ,
247+ 'test_projectKey/product-projections/search?offset=offset ' ,
248248 ],
249249 'ByProjectKeyProductProjectionsSearchGet_withStaged ' => [
250250 function (ApiRequestBuilder $ builder ): RequestInterface {
@@ -342,18 +342,6 @@ function (ApiRequestBuilder $builder): RequestInterface {
342342 'get ' ,
343343 'test_projectKey/product-projections/search?storeProjection=storeProjection ' ,
344344 ],
345- 'ByProjectKeyProductProjectionsSearchGet_withExpand ' => [
346- function (ApiRequestBuilder $ builder ): RequestInterface {
347- return $ builder
348- ->withProjectKey ('test_projectKey ' )
349- ->productProjections ()
350- ->search ()
351- ->get ()
352- ->withExpand ('expand ' );
353- },
354- 'get ' ,
355- 'test_projectKey/product-projections/search?expand=expand ' ,
356- ],
357345 'ByProjectKeyProductProjectionsSearchGet ' => [
358346 function (ApiRequestBuilder $ builder ): RequestInterface {
359347 return $ builder
0 commit comments