@things-factory/integration-sellercraft 4.2.5 → 4.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/dist-server/constants/order-status-mapping.js +11 -1
  2. package/dist-server/constants/order-status-mapping.js.map +1 -1
  3. package/dist-server/constants/platform.js +2 -1
  4. package/dist-server/constants/platform.js.map +1 -1
  5. package/dist-server/controllers/sellercraft-channel-integration/apis/ingest-channel-order.js +1 -1
  6. package/dist-server/controllers/sellercraft-channel-integration/apis/ingest-channel-order.js.map +1 -1
  7. package/dist-server/controllers/sellercraft-channel-integration/apis/ingest-channel-product.js +5 -4
  8. package/dist-server/controllers/sellercraft-channel-integration/apis/ingest-channel-product.js.map +1 -1
  9. package/dist-server/controllers/sellercraft-channel-integration/sellercraft-channel-integration.js +8 -4
  10. package/dist-server/controllers/sellercraft-channel-integration/sellercraft-channel-integration.js.map +1 -1
  11. package/dist-server/service/marketplace-channel/marketplace-channel-order-mutation.js +253 -243
  12. package/dist-server/service/marketplace-channel/marketplace-channel-order-mutation.js.map +1 -1
  13. package/dist-server/service/marketplace-channel/marketplace-channel-product-mutation.js +30 -16
  14. package/dist-server/service/marketplace-channel/marketplace-channel-product-mutation.js.map +1 -1
  15. package/package.json +3 -3
  16. package/server/constants/order-status-mapping.ts +11 -1
  17. package/server/constants/platform.ts +2 -1
  18. package/server/controllers/sellercraft-channel-integration/apis/ingest-channel-order.ts +1 -1
  19. package/server/controllers/sellercraft-channel-integration/apis/ingest-channel-product.ts +13 -11
  20. package/server/controllers/sellercraft-channel-integration/sellercraft-channel-integration.ts +8 -4
  21. package/server/service/marketplace-channel/marketplace-channel-order-mutation.ts +303 -282
  22. package/server/service/marketplace-channel/marketplace-channel-product-mutation.ts +30 -28
@@ -15,265 +15,275 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.MarketplaceChannelOrderMutation = void 0;
16
16
  const type_graphql_1 = require("type-graphql");
17
17
  const typeorm_1 = require("typeorm");
18
- const marketplace_channel_1 = require("./marketplace-channel");
19
18
  const env_1 = require("@things-factory/env");
20
19
  const integration_marketplace_1 = require("@things-factory/integration-marketplace");
21
20
  const sellercraft_channel_integration_api_1 = require("../../controllers/sellercraft-channel-integration-api");
21
+ const marketplace_channel_1 = require("./marketplace-channel");
22
22
  let MarketplaceChannelOrderMutation = class MarketplaceChannelOrderMutation {
23
23
  async syncAllMarketplaceChannelOrders(fromDate, toDate, context) {
24
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
24
25
  const sellercraftChannelIntegrationConfig = env_1.config.get('sellercraftChannelIntegrationConfig', {});
25
26
  const { tokenCraftApiKey: apiKey, getShopsTokenCraftUrl } = sellercraftChannelIntegrationConfig;
26
27
  const channels = await (0, typeorm_1.getRepository)(marketplace_channel_1.MarketplaceChannel).find();
27
28
  for (var i = 0; i < channels.length; i++) {
28
- var channelsFullPath = getShopsTokenCraftUrl + '?channel_id=' + channels[i].channelId;
29
- const channelResponse = await fetch(channelsFullPath, {
30
- method: 'get',
31
- headers: {
32
- 'Content-Type': 'application/json',
33
- 'x-api-key': apiKey
34
- }
35
- });
36
- if (!channelResponse.ok) {
37
- throw new Error(channelResponse);
38
- }
39
- var shopsResponse = await channelResponse.json();
40
- var shops = shopsResponse.shops;
41
- for (var j = 0; j < shops.length; j++) {
42
- var store = {
43
- accessKey: shops[j].credential.consumer_key,
44
- accessSecret: shops[j].credential.consumer_secret,
45
- storeURL: shops[j].credential.store_url,
46
- platform: channels[i].name,
47
- accessToken: shops[j].credential.access_token // Magento+
48
- };
49
- // let countryCode = shops[j].country_code
50
- // let channelCode = shops[j].org_prefix
51
- let organisationId = shops[j].account_id;
52
- let channelShopId = shops[j].channel_shop_id;
53
- let orderResult = [];
54
- let page = 1;
55
- let hasMorePage = true;
56
- let lastOrderId;
57
- var limit = 100;
58
- while (hasMorePage) {
59
- const { results: marketplaceOrders, more } = await integration_marketplace_1.StoreAPI.getStoreOrders(store, {
60
- fromDate,
61
- toDate,
62
- pagination: { page, limit },
63
- lastOrderId
64
- });
65
- orderResult.push(...marketplaceOrders);
66
- if (more)
67
- page++;
68
- hasMorePage = more;
29
+ try {
30
+ var channelsFullPath = getShopsTokenCraftUrl + '?channel_id=' + channels[i].channelId;
31
+ const channelResponse = await fetch(channelsFullPath, {
32
+ method: 'get',
33
+ headers: {
34
+ 'Content-Type': 'application/json',
35
+ 'x-api-key': apiKey
36
+ }
37
+ });
38
+ if (!channelResponse.ok) {
39
+ throw new Error(channelResponse);
69
40
  }
70
- var sellercraftStore = Object.assign(Object.assign({}, store), { platform: 'sellercraftChannelIntegration' });
71
- let mappedOrderResult = orderResult.map(order => {
72
- let { firstName: custFirstName, lastName: custLastName, orderCreatedAt: createdAt, orderUpdatedAt: updatedAt, orderNo: id, status } = order;
73
- let { first_name: billFirstName, last_name: billLastName, address_1: billAddress1, address_2: billAddress2, address_3: billAddress3, address_4: billAddress4, address_5: billAddress5, city: billCity, postcode: billPostalCode, country: billCountry, phone: billPhone1, phone_2: billPhone2 } = order === null || order === void 0 ? void 0 : order.billing;
74
- let { first_name: shipFirstName, last_name: shipLastName, address_1: shipAddress1, address_2: shipAddress2, address_3: shipAddress3, address_4: shipAddress4, address_5: shipAddress5, city: shipCity, postcode: shipPostalCode, country: shipCountry, phone: shipPhone1, phone_2: shipPhone2 } = order.shipping;
75
- let orderItems = order.orderItems.map(item => {
76
- let { name: id, variationId: variationId, slaExpiresAt, total, totalTax, subtotal, subtotalTax, qty } = item;
41
+ var shopsResponse = await channelResponse.json();
42
+ var shops = shopsResponse.shops;
43
+ for (var j = 0; j < shops.length; j++) {
44
+ var store = {
45
+ accessKey: ((_b = (_a = shops[j]) === null || _a === void 0 ? void 0 : _a.credential) === null || _b === void 0 ? void 0 : _b.consumer_key) || '',
46
+ accessSecret: ((_d = (_c = shops[j]) === null || _c === void 0 ? void 0 : _c.credential) === null || _d === void 0 ? void 0 : _d.consumer_secret) || '',
47
+ storeURL: ((_f = (_e = shops[j]) === null || _e === void 0 ? void 0 : _e.credential) === null || _f === void 0 ? void 0 : _f.store_url) || '',
48
+ platform: channels[i].name,
49
+ accessToken: (_h = (_g = shops[j]) === null || _g === void 0 ? void 0 : _g.credential) === null || _h === void 0 ? void 0 : _h.access_token,
50
+ channelShopId: (_j = shops[j]) === null || _j === void 0 ? void 0 : _j.channel_shop_id
51
+ };
52
+ // let countryCode = shops[j].country_code
53
+ // let channelCode = shops[j].org_prefix
54
+ let organisationId = shops[j].account_id;
55
+ let channelShopId = shops[j].channel_shop_id;
56
+ let orderResult = [];
57
+ let page = 1;
58
+ let hasMorePage = true;
59
+ let lastOrderId;
60
+ let nextCursor;
61
+ var limit = 50;
62
+ while (hasMorePage) {
63
+ const { results: marketplaceOrders, more, nextCursor } = await integration_marketplace_1.StoreAPI.getStoreOrders(store, {
64
+ fromDate,
65
+ toDate,
66
+ pagination: { page, limit },
67
+ lastOrderId,
68
+ nextCursor: lastOrderId
69
+ });
70
+ orderResult.push(...marketplaceOrders);
71
+ if (more)
72
+ page++;
73
+ hasMorePage = more;
74
+ lastOrderId = nextCursor;
75
+ }
76
+ var sellercraftStore = Object.assign(Object.assign({}, store), { platform: 'sellercraftChannelIntegration' });
77
+ let mappedOrderResult = orderResult.map(order => {
78
+ let { firstName: custFirstName, lastName: custLastName, orderCreatedAt: createdAt, orderUpdatedAt: updatedAt, orderNo: id, status } = order;
79
+ let { first_name: billFirstName, last_name: billLastName, address_1: billAddress1, address_2: billAddress2, address_3: billAddress3, address_4: billAddress4, address_5: billAddress5, city: billCity, postcode: billPostalCode, country: billCountry, phone: billPhone1, phone_2: billPhone2 } = order === null || order === void 0 ? void 0 : order.billing;
80
+ let { first_name: shipFirstName, last_name: shipLastName, address_1: shipAddress1, address_2: shipAddress2, address_3: shipAddress3, address_4: shipAddress4, address_5: shipAddress5, city: shipCity, postcode: shipPostalCode, country: shipCountry, phone: shipPhone1, phone_2: shipPhone2 } = order.shipping;
81
+ let orderItems = order.orderItems.map(item => {
82
+ let { name: id, variationId: variationId, slaExpiresAt, total, totalTax, subtotal, subtotalTax, qty } = item;
83
+ return {
84
+ id,
85
+ variationId,
86
+ currency: order.orderShipping.collectionCurrency,
87
+ createdAt: order.orderCreatedAt,
88
+ updatedAt: order.orderUpdatedAt,
89
+ charges: [
90
+ {
91
+ name: 'CHARGES_MARKETING',
92
+ grossAmount: 0,
93
+ nettAmount: 0
94
+ },
95
+ {
96
+ name: 'CLAIMS_DAMAGE',
97
+ grossAmount: 0,
98
+ nettAmount: 0
99
+ },
100
+ {
101
+ name: 'CLAIMS_LOST',
102
+ grossAmount: 0,
103
+ nettAmount: 0
104
+ },
105
+ {
106
+ name: 'COMMISSION_PLATFORM',
107
+ grossAmount: 0,
108
+ nettAmount: 0
109
+ },
110
+ {
111
+ name: 'DEPOSIT_PRESALE',
112
+ grossAmount: 0,
113
+ nettAmount: 0
114
+ },
115
+ {
116
+ name: 'FEE_MISCELLANEOUS',
117
+ grossAmount: 0,
118
+ nettAmount: 0
119
+ },
120
+ {
121
+ name: 'FEE_TRANSACTION',
122
+ grossAmount: 0,
123
+ nettAmount: 0
124
+ },
125
+ {
126
+ name: 'PRICE_NORMAL_SELLING',
127
+ grossAmount: total,
128
+ nettAmount: subtotal
129
+ },
130
+ {
131
+ name: 'PRICE_RECOMMENDED_RETAIL',
132
+ grossAmount: 0,
133
+ nettAmount: 0
134
+ },
135
+ {
136
+ name: 'PROMOTIONS_CUSTOMER_RECEIVED',
137
+ grossAmount: 0,
138
+ nettAmount: 0
139
+ },
140
+ {
141
+ name: 'PROMOTIONS_REBATE_PLATFORM',
142
+ grossAmount: 0,
143
+ nettAmount: 0
144
+ },
145
+ {
146
+ name: 'PROMOTIONS_REBATE_SELLER',
147
+ grossAmount: 0,
148
+ nettAmount: 0
149
+ },
150
+ {
151
+ name: 'REVERSAL_CHARGES_MARKETING',
152
+ grossAmount: 0,
153
+ nettAmount: 0
154
+ },
155
+ {
156
+ name: 'REVERSAL_COMMISSION',
157
+ grossAmount: 0,
158
+ nettAmount: 0
159
+ },
160
+ {
161
+ name: 'REVERSAL_FEE_MISCELLANEOUS',
162
+ grossAmount: 0,
163
+ nettAmount: 0
164
+ },
165
+ {
166
+ name: 'REVERSAL_PROMOTIONS_CUSTOMER_RECEIVED',
167
+ grossAmount: 0,
168
+ nettAmount: 0
169
+ },
170
+ {
171
+ name: 'REVERSAL_SELLER_RETURN_REFUND_AMOUNT',
172
+ grossAmount: 0,
173
+ nettAmount: 0
174
+ },
175
+ {
176
+ name: 'REVERSAL_SHIPPING_CUSTOMER_PAID',
177
+ grossAmount: 0,
178
+ nettAmount: 0
179
+ },
180
+ {
181
+ name: 'REVERSAL_SHIPPING_REBATE_PLATFORM',
182
+ grossAmount: 0,
183
+ nettAmount: 0
184
+ },
185
+ {
186
+ name: 'REVERSAL_SHIPPING_SELLER_PAID',
187
+ grossAmount: 0,
188
+ nettAmount: 0
189
+ },
190
+ {
191
+ name: 'SHIPPING_COST_TOTAL',
192
+ grossAmount: 0,
193
+ nettAmount: 0
194
+ },
195
+ {
196
+ name: 'SHIPPING_CUSTOMER_PAID',
197
+ grossAmount: 0,
198
+ nettAmount: 0
199
+ },
200
+ {
201
+ name: 'SHIPPING_REBATE_PLATFORM',
202
+ grossAmount: 0,
203
+ nettAmount: 0
204
+ },
205
+ {
206
+ name: 'SHIPPING_SELLER_PAID',
207
+ grossAmount: 0,
208
+ nettAmount: 0
209
+ },
210
+ {
211
+ name: 'TAXES',
212
+ grossAmount: totalTax,
213
+ nettAmount: subtotalTax
214
+ },
215
+ {
216
+ name: 'VOUCHERS_CUSTOMER_RECEIVED',
217
+ grossAmount: 0,
218
+ nettAmount: 0
219
+ },
220
+ {
221
+ name: 'VOUCHERS_REBATE_PLATFORM',
222
+ grossAmount: 0,
223
+ nettAmount: 0
224
+ },
225
+ {
226
+ name: 'VOUCHERS_REBATE_SELLER',
227
+ grossAmount: 0,
228
+ nettAmount: 0
229
+ }
230
+ ],
231
+ slaExpiresAt,
232
+ qty
233
+ };
234
+ });
235
+ let mappedOrderItems = [];
236
+ orderItems.map(oi => {
237
+ for (let i = 0; i < oi.qty; i++) {
238
+ mappedOrderItems.push(Object.assign(Object.assign({}, oi), { id: `${oi.id}-${i + 1}` }));
239
+ }
240
+ });
77
241
  return {
242
+ custFirstName,
243
+ custLastName,
244
+ createdAt,
245
+ updatedAt,
78
246
  id,
79
- variationId,
80
- currency: order.orderShipping.collectionCurrency,
81
- createdAt: order.orderCreatedAt,
82
- updatedAt: order.orderUpdatedAt,
83
- charges: [
84
- {
85
- name: 'CHARGES_MARKETING',
86
- grossAmount: 0,
87
- nettAmount: 0
88
- },
89
- {
90
- name: 'CLAIMS_DAMAGE',
91
- grossAmount: 0,
92
- nettAmount: 0
93
- },
94
- {
95
- name: 'CLAIMS_LOST',
96
- grossAmount: 0,
97
- nettAmount: 0
98
- },
99
- {
100
- name: 'COMMISSION_PLATFORM',
101
- grossAmount: 0,
102
- nettAmount: 0
103
- },
104
- {
105
- name: 'DEPOSIT_PRESALE',
106
- grossAmount: 0,
107
- nettAmount: 0
108
- },
109
- {
110
- name: 'FEE_MISCELLANEOUS',
111
- grossAmount: 0,
112
- nettAmount: 0
113
- },
114
- {
115
- name: 'FEE_TRANSACTION',
116
- grossAmount: 0,
117
- nettAmount: 0
118
- },
119
- {
120
- name: 'PRICE_NORMAL_SELLING',
121
- grossAmount: total,
122
- nettAmount: subtotal
123
- },
124
- {
125
- name: 'PRICE_RECOMMENDED_RETAIL',
126
- grossAmount: 0,
127
- nettAmount: 0
128
- },
129
- {
130
- name: 'PROMOTIONS_CUSTOMER_RECEIVED',
131
- grossAmount: 0,
132
- nettAmount: 0
133
- },
134
- {
135
- name: 'PROMOTIONS_REBATE_PLATFORM',
136
- grossAmount: 0,
137
- nettAmount: 0
138
- },
139
- {
140
- name: 'PROMOTIONS_REBATE_SELLER',
141
- grossAmount: 0,
142
- nettAmount: 0
143
- },
144
- {
145
- name: 'REVERSAL_CHARGES_MARKETING',
146
- grossAmount: 0,
147
- nettAmount: 0
148
- },
149
- {
150
- name: 'REVERSAL_COMMISSION',
151
- grossAmount: 0,
152
- nettAmount: 0
153
- },
154
- {
155
- name: 'REVERSAL_FEE_MISCELLANEOUS',
156
- grossAmount: 0,
157
- nettAmount: 0
158
- },
159
- {
160
- name: 'REVERSAL_PROMOTIONS_CUSTOMER_RECEIVED',
161
- grossAmount: 0,
162
- nettAmount: 0
163
- },
164
- {
165
- name: 'REVERSAL_SELLER_RETURN_REFUND_AMOUNT',
166
- grossAmount: 0,
167
- nettAmount: 0
168
- },
169
- {
170
- name: 'REVERSAL_SHIPPING_CUSTOMER_PAID',
171
- grossAmount: 0,
172
- nettAmount: 0
173
- },
174
- {
175
- name: 'REVERSAL_SHIPPING_REBATE_PLATFORM',
176
- grossAmount: 0,
177
- nettAmount: 0
178
- },
179
- {
180
- name: 'REVERSAL_SHIPPING_SELLER_PAID',
181
- grossAmount: 0,
182
- nettAmount: 0
183
- },
184
- {
185
- name: 'SHIPPING_COST_TOTAL',
186
- grossAmount: 0,
187
- nettAmount: 0
188
- },
189
- {
190
- name: 'SHIPPING_CUSTOMER_PAID',
191
- grossAmount: 0,
192
- nettAmount: 0
193
- },
194
- {
195
- name: 'SHIPPING_REBATE_PLATFORM',
196
- grossAmount: 0,
197
- nettAmount: 0
198
- },
199
- {
200
- name: 'SHIPPING_SELLER_PAID',
201
- grossAmount: 0,
202
- nettAmount: 0
203
- },
204
- {
205
- name: 'TAXES',
206
- grossAmount: totalTax,
207
- nettAmount: subtotalTax
208
- },
209
- {
210
- name: 'VOUCHERS_CUSTOMER_RECEIVED',
211
- grossAmount: 0,
212
- nettAmount: 0
213
- },
214
- {
215
- name: 'VOUCHERS_REBATE_PLATFORM',
216
- grossAmount: 0,
217
- nettAmount: 0
218
- },
219
- {
220
- name: 'VOUCHERS_REBATE_SELLER',
221
- grossAmount: 0,
222
- nettAmount: 0
223
- }
224
- ],
225
- slaExpiresAt,
226
- qty
247
+ billFirstName,
248
+ billLastName,
249
+ billAddress1: billAddress1.toString() || shipAddress1.toString(),
250
+ billAddress2: billAddress2 || shipAddress2,
251
+ billAddress3: billAddress3 || shipAddress3,
252
+ billAddress4: billAddress4 || shipAddress4,
253
+ billAddress5: billAddress5 || shipAddress5,
254
+ billCity: billCity || shipCity,
255
+ billPostalCode: billPostalCode || shipPostalCode,
256
+ billCountry: billCountry || shipCountry,
257
+ billPhone1: billPhone1 || shipPhone1,
258
+ billPhone2: billPhone2 || shipPhone2,
259
+ shipFirstName,
260
+ shipLastName,
261
+ shipAddress1: shipAddress1.toString(),
262
+ shipAddress2,
263
+ shipAddress3,
264
+ shipAddress4,
265
+ shipAddress5,
266
+ shipCity,
267
+ shipPostalCode,
268
+ shipCountry,
269
+ shipPhone1,
270
+ shipPhone2,
271
+ mappedOrderItems,
272
+ channelShopId,
273
+ organisationId,
274
+ status,
275
+ charges: getOrderCharges(mappedOrderItems)
227
276
  };
228
277
  });
229
- let mappedOrderItems = [];
230
- orderItems.map(oi => {
231
- for (let i = 0; i < oi.qty; i++) {
232
- mappedOrderItems.push(Object.assign(Object.assign({}, oi), { id: `${oi.id}-${i + 1}` }));
233
- }
234
- });
235
- return {
236
- custFirstName,
237
- custLastName,
238
- createdAt,
239
- updatedAt,
240
- id,
241
- billFirstName,
242
- billLastName,
243
- billAddress1: billAddress1.toString() || shipAddress1.toString(),
244
- billAddress2: billAddress2 || shipAddress2,
245
- billAddress3: billAddress3 || shipAddress3,
246
- billAddress4: billAddress4 || shipAddress4,
247
- billAddress5: billAddress5 || shipAddress5,
248
- billCity: billCity || shipCity,
249
- billPostalCode: billPostalCode || shipPostalCode,
250
- billCountry: billCountry || shipCountry,
251
- billPhone1: billPhone1 || shipPhone1,
252
- billPhone2: billPhone2 || shipPhone2,
253
- shipFirstName,
254
- shipLastName,
255
- shipAddress1: shipAddress1.toString(),
256
- shipAddress2,
257
- shipAddress3,
258
- shipAddress4,
259
- shipAddress5,
260
- shipCity,
261
- shipPostalCode,
262
- shipCountry,
263
- shipPhone1,
264
- shipPhone2,
265
- mappedOrderItems,
266
- channelShopId,
267
- organisationId,
268
- status,
269
- charges: getOrderCharges(mappedOrderItems)
270
- };
271
- });
272
- if (mappedOrderResult.length > 0) {
273
- await sellercraft_channel_integration_api_1.SellercraftChannelIntegrationAPI.ingestChannelOrder(sellercraftStore, { orders: mappedOrderResult });
278
+ if (mappedOrderResult.length > 0) {
279
+ await sellercraft_channel_integration_api_1.SellercraftChannelIntegrationAPI.ingestChannelOrder(sellercraftStore, { orders: mappedOrderResult });
280
+ }
274
281
  }
282
+ return true;
283
+ }
284
+ catch (e) {
285
+ debugger;
275
286
  }
276
- return true;
277
287
  }
278
288
  }
279
289
  };
@@ -1 +1 @@
1
- {"version":3,"file":"marketplace-channel-order-mutation.js","sourceRoot":"","sources":["../../../server/service/marketplace-channel/marketplace-channel-order-mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA2D;AAC3D,qCAAuC;AAEvC,+DAA0D;AAE1D,6CAA4C;AAC5C,qFAAkE;AAClE,+GAAwG;AAGxG,IAAa,+BAA+B,GAA5C,MAAa,+BAA+B;IAE1C,KAAK,CAAC,+BAA+B,CAClB,QAAgB,EAClB,MAAc,EACtB,OAAY;QAEnB,MAAM,mCAAmC,GAAG,YAAM,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,CAAC,CAAA;QACjG,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,qBAAqB,EAAE,GAAG,mCAAmC,CAAA;QAE/F,MAAM,QAAQ,GAAyB,MAAM,IAAA,uBAAa,EAAC,wCAAkB,CAAC,CAAC,IAAI,EAAE,CAAA;QAErF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACxC,IAAI,gBAAgB,GAAG,qBAAqB,GAAG,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;YACrF,MA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AAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAChD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC3D,IAAI,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;YAC3C,IAAI,WAAW,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;YAChE,IAAI,WAAW,EAAE;gBACf,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAA;gBACtE,WAAW,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAA;gBACnE,WAAW,GAAG,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,CAAA;aAC/D;iBAAM;gBACL,WAAW,GAAG;oBACZ,IAAI,EAAE,MAAM,CAAC,IAAI;oBACjB,WAAW,EAAE,MAAM,CAAC,WAAW;oBAC/B,UAAU,EAAE,MAAM,CAAC,UAAU;iBAC9B,CAAA;aACF;YACD,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;SAC9B;KACF;IACD,OAAO,WAAW,CAAA;AACpB,CAAC"}
1
+ {"version":3,"file":"marketplace-channel-order-mutation.js","sourceRoot":"","sources":["../../../server/service/marketplace-channel/marketplace-channel-order-mutation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAA2D;AAC3D,qCAAuC;AAEvC,6CAA4C;AAC5C,qFAAkE;AAElE,+GAAwG;AACxG,+DAA0D;AAG1D,IAAa,+BAA+B,GAA5C,MAAa,+BAA+B;IAE1C,KAAK,CAAC,+BAA+B,CAClB,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