@@ -89,6 +89,16 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyImportOperations {
8989 ['projectKey ' => 'test_projectKey ' ],
9090 '/{projectKey}/import-operations '
9191 ],
92+ 'ResourceByProjectKeyBusinessUnits ' => [
93+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyBusinessUnits {
94+ return $ builder
95+ ->withProjectKeyValue ("test_projectKey " )
96+ ->businessUnits ();
97+ },
98+ ResourceByProjectKeyBusinessUnits::class,
99+ ['projectKey ' => 'test_projectKey ' ],
100+ '/{projectKey}/business-units '
101+ ],
92102 'ResourceByProjectKeyCategories ' => [
93103 function (ImportRequestBuilder $ builder ): ResourceByProjectKeyCategories {
94104 return $ builder
@@ -99,6 +109,26 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyCategories {
99109 ['projectKey ' => 'test_projectKey ' ],
100110 '/{projectKey}/categories '
101111 ],
112+ 'ResourceByProjectKeyCustomers ' => [
113+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyCustomers {
114+ return $ builder
115+ ->withProjectKeyValue ("test_projectKey " )
116+ ->customers ();
117+ },
118+ ResourceByProjectKeyCustomers::class,
119+ ['projectKey ' => 'test_projectKey ' ],
120+ '/{projectKey}/customers '
121+ ],
122+ 'ResourceByProjectKeyDiscountCodes ' => [
123+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyDiscountCodes {
124+ return $ builder
125+ ->withProjectKeyValue ("test_projectKey " )
126+ ->discountCodes ();
127+ },
128+ ResourceByProjectKeyDiscountCodes::class,
129+ ['projectKey ' => 'test_projectKey ' ],
130+ '/{projectKey}/discount-codes '
131+ ],
102132 'ResourceByProjectKeyPrices ' => [
103133 function (ImportRequestBuilder $ builder ): ResourceByProjectKeyPrices {
104134 return $ builder
@@ -109,15 +139,15 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyPrices {
109139 ['projectKey ' => 'test_projectKey ' ],
110140 '/{projectKey}/prices '
111141 ],
112- 'ResourceByProjectKeyStandalonePrices ' => [
113- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyStandalonePrices {
142+ 'ResourceByProjectKeyInventories ' => [
143+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyInventories {
114144 return $ builder
115145 ->withProjectKeyValue ("test_projectKey " )
116- ->standalonePrices ();
146+ ->inventories ();
117147 },
118- ResourceByProjectKeyStandalonePrices ::class,
148+ ResourceByProjectKeyInventories ::class,
119149 ['projectKey ' => 'test_projectKey ' ],
120- '/{projectKey}/standalone-prices '
150+ '/{projectKey}/inventories '
121151 ],
122152 'ResourceByProjectKeyProducts ' => [
123153 function (ImportRequestBuilder $ builder ): ResourceByProjectKeyProducts {
@@ -169,6 +199,16 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyProductVariantPatc
169199 ['projectKey ' => 'test_projectKey ' ],
170200 '/{projectKey}/product-variant-patches '
171201 ],
202+ 'ResourceByProjectKeyProductSelections ' => [
203+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyProductSelections {
204+ return $ builder
205+ ->withProjectKeyValue ("test_projectKey " )
206+ ->productSelections ();
207+ },
208+ ResourceByProjectKeyProductSelections::class,
209+ ['projectKey ' => 'test_projectKey ' ],
210+ '/{projectKey}/product-selections '
211+ ],
172212 'ResourceByProjectKeyOrders ' => [
173213 function (ImportRequestBuilder $ builder ): ResourceByProjectKeyOrders {
174214 return $ builder
@@ -189,25 +229,15 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyOrderPatches {
189229 ['projectKey ' => 'test_projectKey ' ],
190230 '/{projectKey}/order-patches '
191231 ],
192- 'ResourceByProjectKeyCustomers ' => [
193- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyCustomers {
194- return $ builder
195- ->withProjectKeyValue ("test_projectKey " )
196- ->customers ();
197- },
198- ResourceByProjectKeyCustomers::class,
199- ['projectKey ' => 'test_projectKey ' ],
200- '/{projectKey}/customers '
201- ],
202- 'ResourceByProjectKeyInventories ' => [
203- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyInventories {
232+ 'ResourceByProjectKeyStandalonePrices ' => [
233+ function (ImportRequestBuilder $ builder ): ResourceByProjectKeyStandalonePrices {
204234 return $ builder
205235 ->withProjectKeyValue ("test_projectKey " )
206- ->inventories ();
236+ ->standalonePrices ();
207237 },
208- ResourceByProjectKeyInventories ::class,
238+ ResourceByProjectKeyStandalonePrices ::class,
209239 ['projectKey ' => 'test_projectKey ' ],
210- '/{projectKey}/inventories '
240+ '/{projectKey}/standalone-prices '
211241 ],
212242 'ResourceByProjectKeyTypes ' => [
213243 function (ImportRequestBuilder $ builder ): ResourceByProjectKeyTypes {
@@ -218,36 +248,6 @@ function (ImportRequestBuilder $builder): ResourceByProjectKeyTypes {
218248 ResourceByProjectKeyTypes::class,
219249 ['projectKey ' => 'test_projectKey ' ],
220250 '/{projectKey}/types '
221- ],
222- 'ResourceByProjectKeyDiscountCodes ' => [
223- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyDiscountCodes {
224- return $ builder
225- ->withProjectKeyValue ("test_projectKey " )
226- ->discountCodes ();
227- },
228- ResourceByProjectKeyDiscountCodes::class,
229- ['projectKey ' => 'test_projectKey ' ],
230- '/{projectKey}/discount-codes '
231- ],
232- 'ResourceByProjectKeyProductSelections ' => [
233- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyProductSelections {
234- return $ builder
235- ->withProjectKeyValue ("test_projectKey " )
236- ->productSelections ();
237- },
238- ResourceByProjectKeyProductSelections::class,
239- ['projectKey ' => 'test_projectKey ' ],
240- '/{projectKey}/product-selections '
241- ],
242- 'ResourceByProjectKeyBusinessUnits ' => [
243- function (ImportRequestBuilder $ builder ): ResourceByProjectKeyBusinessUnits {
244- return $ builder
245- ->withProjectKeyValue ("test_projectKey " )
246- ->businessUnits ();
247- },
248- ResourceByProjectKeyBusinessUnits::class,
249- ['projectKey ' => 'test_projectKey ' ],
250- '/{projectKey}/business-units '
251251 ]
252252 ];
253253 }
0 commit comments