@n8n-dev/n8n-nodes-googleapis-shoppingcontent 1.0.0

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 (61) hide show
  1. package/README.md +263 -0
  2. package/dist/banner.svg +126 -0
  3. package/dist/credentials/GoogleapisShoppingcontentApi.credentials.d.ts +9 -0
  4. package/dist/credentials/GoogleapisShoppingcontentApi.credentials.js +49 -0
  5. package/dist/credentials/GoogleapisShoppingcontentApi.credentials.js.map +1 -0
  6. package/dist/icons/googleapis-shoppingcontent.dark.svg +21 -0
  7. package/dist/icons/googleapis-shoppingcontent.svg +21 -0
  8. package/dist/nodes/GoogleapisShoppingcontent/GoogleapisShoppingcontent.node.d.ts +4 -0
  9. package/dist/nodes/GoogleapisShoppingcontent/GoogleapisShoppingcontent.node.js +145 -0
  10. package/dist/nodes/GoogleapisShoppingcontent/GoogleapisShoppingcontent.node.js.map +1 -0
  11. package/dist/nodes/GoogleapisShoppingcontent/GoogleapisShoppingcontent.node.json +20 -0
  12. package/dist/nodes/GoogleapisShoppingcontent/googleapis-shoppingcontent.dark.svg +21 -0
  13. package/dist/nodes/GoogleapisShoppingcontent/googleapis-shoppingcontent.svg +21 -0
  14. package/dist/nodes/GoogleapisShoppingcontent/resources/accounts/index.d.ts +2 -0
  15. package/dist/nodes/GoogleapisShoppingcontent/resources/accounts/index.js +1417 -0
  16. package/dist/nodes/GoogleapisShoppingcontent/resources/accounts/index.js.map +1 -0
  17. package/dist/nodes/GoogleapisShoppingcontent/resources/accountstatuses/index.d.ts +2 -0
  18. package/dist/nodes/GoogleapisShoppingcontent/resources/accountstatuses/index.js +294 -0
  19. package/dist/nodes/GoogleapisShoppingcontent/resources/accountstatuses/index.js.map +1 -0
  20. package/dist/nodes/GoogleapisShoppingcontent/resources/accounttax/index.d.ts +2 -0
  21. package/dist/nodes/GoogleapisShoppingcontent/resources/accounttax/index.js +436 -0
  22. package/dist/nodes/GoogleapisShoppingcontent/resources/accounttax/index.js.map +1 -0
  23. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeeds/index.d.ts +2 -0
  24. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeeds/index.js +1219 -0
  25. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeeds/index.js.map +1 -0
  26. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeedstatuses/index.d.ts +2 -0
  27. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeedstatuses/index.js +294 -0
  28. package/dist/nodes/GoogleapisShoppingcontent/resources/datafeedstatuses/index.js.map +1 -0
  29. package/dist/nodes/GoogleapisShoppingcontent/resources/index.d.ts +14 -0
  30. package/dist/nodes/GoogleapisShoppingcontent/resources/index.js +32 -0
  31. package/dist/nodes/GoogleapisShoppingcontent/resources/index.js.map +1 -0
  32. package/dist/nodes/GoogleapisShoppingcontent/resources/liasettings/index.d.ts +2 -0
  33. package/dist/nodes/GoogleapisShoppingcontent/resources/liasettings/index.js +1026 -0
  34. package/dist/nodes/GoogleapisShoppingcontent/resources/liasettings/index.js.map +1 -0
  35. package/dist/nodes/GoogleapisShoppingcontent/resources/orderinvoices/index.d.ts +2 -0
  36. package/dist/nodes/GoogleapisShoppingcontent/resources/orderinvoices/index.js +406 -0
  37. package/dist/nodes/GoogleapisShoppingcontent/resources/orderinvoices/index.js.map +1 -0
  38. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreports/index.d.ts +2 -0
  39. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreports/index.js +338 -0
  40. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreports/index.js.map +1 -0
  41. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreturns/index.d.ts +2 -0
  42. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreturns/index.js +273 -0
  43. package/dist/nodes/GoogleapisShoppingcontent/resources/orderreturns/index.js.map +1 -0
  44. package/dist/nodes/GoogleapisShoppingcontent/resources/orders/index.d.ts +2 -0
  45. package/dist/nodes/GoogleapisShoppingcontent/resources/orders/index.js +3570 -0
  46. package/dist/nodes/GoogleapisShoppingcontent/resources/orders/index.js.map +1 -0
  47. package/dist/nodes/GoogleapisShoppingcontent/resources/pos/index.d.ts +2 -0
  48. package/dist/nodes/GoogleapisShoppingcontent/resources/pos/index.js +1266 -0
  49. package/dist/nodes/GoogleapisShoppingcontent/resources/pos/index.js.map +1 -0
  50. package/dist/nodes/GoogleapisShoppingcontent/resources/products/index.d.ts +2 -0
  51. package/dist/nodes/GoogleapisShoppingcontent/resources/products/index.js +2435 -0
  52. package/dist/nodes/GoogleapisShoppingcontent/resources/products/index.js.map +1 -0
  53. package/dist/nodes/GoogleapisShoppingcontent/resources/productstatuses/index.d.ts +2 -0
  54. package/dist/nodes/GoogleapisShoppingcontent/resources/productstatuses/index.js +394 -0
  55. package/dist/nodes/GoogleapisShoppingcontent/resources/productstatuses/index.js.map +1 -0
  56. package/dist/nodes/GoogleapisShoppingcontent/resources/shippingsettings/index.d.ts +2 -0
  57. package/dist/nodes/GoogleapisShoppingcontent/resources/shippingsettings/index.js +608 -0
  58. package/dist/nodes/GoogleapisShoppingcontent/resources/shippingsettings/index.js.map +1 -0
  59. package/dist/package.json +62 -0
  60. package/dist/tsconfig.tsbuildinfo +1 -0
  61. package/package.json +62 -0
@@ -0,0 +1,1266 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.posDescription = void 0;
4
+ exports.posDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Pos"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Content Pos Custombatch",
20
+ "value": "Content Pos Custombatch",
21
+ "action": "Content Pos Custombatch",
22
+ "description": "Batches multiple POS-related calls in a single request.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/pos/batch"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Content Pos Inventory",
32
+ "value": "Content Pos Inventory",
33
+ "action": "Content Pos Inventory",
34
+ "description": "Submit inventory for the given merchant.",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/inventory"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Content Pos Sale",
44
+ "value": "Content Pos Sale",
45
+ "action": "Content Pos Sale",
46
+ "description": "Submit a sale event for the given merchant.",
47
+ "routing": {
48
+ "request": {
49
+ "method": "POST",
50
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/sale"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Content Pos List",
56
+ "value": "Content Pos List",
57
+ "action": "Content Pos List",
58
+ "description": "Lists the stores of the target merchant.",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/store"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Content Pos Insert",
68
+ "value": "Content Pos Insert",
69
+ "action": "Content Pos Insert",
70
+ "description": "Creates a store for the given merchant.",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/store"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Content Pos Delete",
80
+ "value": "Content Pos Delete",
81
+ "action": "Content Pos Delete",
82
+ "description": "Deletes a store for the given merchant.",
83
+ "routing": {
84
+ "request": {
85
+ "method": "DELETE",
86
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/store/{{$parameter[\"storeCode\"]}}"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Content Pos Get",
92
+ "value": "Content Pos Get",
93
+ "action": "Content Pos Get",
94
+ "description": "Retrieves information about the given store.",
95
+ "routing": {
96
+ "request": {
97
+ "method": "GET",
98
+ "url": "=/{{$parameter[\"merchantId\"]}}/pos/{{$parameter[\"targetMerchantId\"]}}/store/{{$parameter[\"storeCode\"]}}"
99
+ }
100
+ }
101
+ }
102
+ ],
103
+ "default": ""
104
+ },
105
+ {
106
+ "displayName": "POST /pos/batch",
107
+ "name": "operation",
108
+ "type": "notice",
109
+ "typeOptions": {
110
+ "theme": "info"
111
+ },
112
+ "default": "",
113
+ "displayOptions": {
114
+ "show": {
115
+ "resource": [
116
+ "Pos"
117
+ ],
118
+ "operation": [
119
+ "Content Pos Custombatch"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ {
125
+ "displayName": "Dry Run",
126
+ "name": "dryRun",
127
+ "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).",
128
+ "default": true,
129
+ "type": "boolean",
130
+ "routing": {
131
+ "send": {
132
+ "type": "query",
133
+ "property": "dryRun",
134
+ "value": "={{ $value }}",
135
+ "propertyInDotNotation": false
136
+ }
137
+ },
138
+ "displayOptions": {
139
+ "show": {
140
+ "resource": [
141
+ "Pos"
142
+ ],
143
+ "operation": [
144
+ "Content Pos Custombatch"
145
+ ]
146
+ }
147
+ }
148
+ },
149
+ {
150
+ "displayName": "Entries",
151
+ "name": "entries",
152
+ "type": "json",
153
+ "default": "[\n {\n \"inventory\": {\n \"price\": {}\n },\n \"sale\": {\n \"price\": {}\n },\n \"store\": {\n \"gcidCategory\": [\n null\n ]\n }\n }\n]",
154
+ "description": "The request entries to be processed in the batch.",
155
+ "routing": {
156
+ "send": {
157
+ "property": "entries",
158
+ "propertyInDotNotation": false,
159
+ "type": "body",
160
+ "value": "={{ JSON.parse($value) }}"
161
+ }
162
+ },
163
+ "displayOptions": {
164
+ "show": {
165
+ "resource": [
166
+ "Pos"
167
+ ],
168
+ "operation": [
169
+ "Content Pos Custombatch"
170
+ ]
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "displayName": "POST /{merchantId}/pos/{targetMerchantId}/inventory",
176
+ "name": "operation",
177
+ "type": "notice",
178
+ "typeOptions": {
179
+ "theme": "info"
180
+ },
181
+ "default": "",
182
+ "displayOptions": {
183
+ "show": {
184
+ "resource": [
185
+ "Pos"
186
+ ],
187
+ "operation": [
188
+ "Content Pos Inventory"
189
+ ]
190
+ }
191
+ }
192
+ },
193
+ {
194
+ "displayName": "Merchant ID",
195
+ "name": "merchantId",
196
+ "required": true,
197
+ "description": "The ID of the POS or inventory data provider.",
198
+ "default": "",
199
+ "type": "string",
200
+ "displayOptions": {
201
+ "show": {
202
+ "resource": [
203
+ "Pos"
204
+ ],
205
+ "operation": [
206
+ "Content Pos Inventory"
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ {
212
+ "displayName": "Target Merchant ID",
213
+ "name": "targetMerchantId",
214
+ "required": true,
215
+ "description": "The ID of the target merchant.",
216
+ "default": "",
217
+ "type": "string",
218
+ "displayOptions": {
219
+ "show": {
220
+ "resource": [
221
+ "Pos"
222
+ ],
223
+ "operation": [
224
+ "Content Pos Inventory"
225
+ ]
226
+ }
227
+ }
228
+ },
229
+ {
230
+ "displayName": "Dry Run",
231
+ "name": "dryRun",
232
+ "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).",
233
+ "default": true,
234
+ "type": "boolean",
235
+ "routing": {
236
+ "send": {
237
+ "type": "query",
238
+ "property": "dryRun",
239
+ "value": "={{ $value }}",
240
+ "propertyInDotNotation": false
241
+ }
242
+ },
243
+ "displayOptions": {
244
+ "show": {
245
+ "resource": [
246
+ "Pos"
247
+ ],
248
+ "operation": [
249
+ "Content Pos Inventory"
250
+ ]
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "displayName": "Content Language",
256
+ "name": "contentLanguage",
257
+ "type": "string",
258
+ "default": "",
259
+ "description": "Required. The two-letter ISO 639-1 language code for the item.",
260
+ "routing": {
261
+ "send": {
262
+ "property": "contentLanguage",
263
+ "propertyInDotNotation": false,
264
+ "type": "body",
265
+ "value": "={{ $value }}"
266
+ }
267
+ },
268
+ "displayOptions": {
269
+ "show": {
270
+ "resource": [
271
+ "Pos"
272
+ ],
273
+ "operation": [
274
+ "Content Pos Inventory"
275
+ ]
276
+ }
277
+ }
278
+ },
279
+ {
280
+ "displayName": "Gtin",
281
+ "name": "gtin",
282
+ "type": "string",
283
+ "default": "",
284
+ "description": "Global Trade Item Number.",
285
+ "routing": {
286
+ "send": {
287
+ "property": "gtin",
288
+ "propertyInDotNotation": false,
289
+ "type": "body",
290
+ "value": "={{ $value }}"
291
+ }
292
+ },
293
+ "displayOptions": {
294
+ "show": {
295
+ "resource": [
296
+ "Pos"
297
+ ],
298
+ "operation": [
299
+ "Content Pos Inventory"
300
+ ]
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "displayName": "Item ID",
306
+ "name": "itemId",
307
+ "type": "string",
308
+ "default": "",
309
+ "description": "Required. A unique identifier for the item.",
310
+ "routing": {
311
+ "send": {
312
+ "property": "itemId",
313
+ "propertyInDotNotation": false,
314
+ "type": "body",
315
+ "value": "={{ $value }}"
316
+ }
317
+ },
318
+ "displayOptions": {
319
+ "show": {
320
+ "resource": [
321
+ "Pos"
322
+ ],
323
+ "operation": [
324
+ "Content Pos Inventory"
325
+ ]
326
+ }
327
+ }
328
+ },
329
+ {
330
+ "displayName": "Price",
331
+ "name": "price",
332
+ "type": "json",
333
+ "default": "{}",
334
+ "description": "Required. The current price of the item.",
335
+ "routing": {
336
+ "send": {
337
+ "property": "price",
338
+ "propertyInDotNotation": false,
339
+ "type": "body",
340
+ "value": "={{ JSON.parse($value) }}"
341
+ }
342
+ },
343
+ "displayOptions": {
344
+ "show": {
345
+ "resource": [
346
+ "Pos"
347
+ ],
348
+ "operation": [
349
+ "Content Pos Inventory"
350
+ ]
351
+ }
352
+ }
353
+ },
354
+ {
355
+ "displayName": "Quantity",
356
+ "name": "quantity",
357
+ "type": "string",
358
+ "default": "",
359
+ "description": "Required. The available quantity of the item.",
360
+ "routing": {
361
+ "send": {
362
+ "property": "quantity",
363
+ "propertyInDotNotation": false,
364
+ "type": "body",
365
+ "value": "={{ $value }}"
366
+ }
367
+ },
368
+ "displayOptions": {
369
+ "show": {
370
+ "resource": [
371
+ "Pos"
372
+ ],
373
+ "operation": [
374
+ "Content Pos Inventory"
375
+ ]
376
+ }
377
+ }
378
+ },
379
+ {
380
+ "displayName": "Store Code",
381
+ "name": "storeCode",
382
+ "type": "string",
383
+ "default": "",
384
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
385
+ "routing": {
386
+ "send": {
387
+ "property": "storeCode",
388
+ "propertyInDotNotation": false,
389
+ "type": "body",
390
+ "value": "={{ $value }}"
391
+ }
392
+ },
393
+ "displayOptions": {
394
+ "show": {
395
+ "resource": [
396
+ "Pos"
397
+ ],
398
+ "operation": [
399
+ "Content Pos Inventory"
400
+ ]
401
+ }
402
+ }
403
+ },
404
+ {
405
+ "displayName": "Target Country",
406
+ "name": "targetCountry",
407
+ "type": "string",
408
+ "default": "",
409
+ "description": "Required. The CLDR territory code for the item.",
410
+ "routing": {
411
+ "send": {
412
+ "property": "targetCountry",
413
+ "propertyInDotNotation": false,
414
+ "type": "body",
415
+ "value": "={{ $value }}"
416
+ }
417
+ },
418
+ "displayOptions": {
419
+ "show": {
420
+ "resource": [
421
+ "Pos"
422
+ ],
423
+ "operation": [
424
+ "Content Pos Inventory"
425
+ ]
426
+ }
427
+ }
428
+ },
429
+ {
430
+ "displayName": "Timestamp",
431
+ "name": "timestamp",
432
+ "type": "string",
433
+ "default": "",
434
+ "description": "Required. The inventory timestamp, in ISO 8601 format.",
435
+ "routing": {
436
+ "send": {
437
+ "property": "timestamp",
438
+ "propertyInDotNotation": false,
439
+ "type": "body",
440
+ "value": "={{ $value }}"
441
+ }
442
+ },
443
+ "displayOptions": {
444
+ "show": {
445
+ "resource": [
446
+ "Pos"
447
+ ],
448
+ "operation": [
449
+ "Content Pos Inventory"
450
+ ]
451
+ }
452
+ }
453
+ },
454
+ {
455
+ "displayName": "POST /{merchantId}/pos/{targetMerchantId}/sale",
456
+ "name": "operation",
457
+ "type": "notice",
458
+ "typeOptions": {
459
+ "theme": "info"
460
+ },
461
+ "default": "",
462
+ "displayOptions": {
463
+ "show": {
464
+ "resource": [
465
+ "Pos"
466
+ ],
467
+ "operation": [
468
+ "Content Pos Sale"
469
+ ]
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "displayName": "Merchant ID",
475
+ "name": "merchantId",
476
+ "required": true,
477
+ "description": "The ID of the POS or inventory data provider.",
478
+ "default": "",
479
+ "type": "string",
480
+ "displayOptions": {
481
+ "show": {
482
+ "resource": [
483
+ "Pos"
484
+ ],
485
+ "operation": [
486
+ "Content Pos Sale"
487
+ ]
488
+ }
489
+ }
490
+ },
491
+ {
492
+ "displayName": "Target Merchant ID",
493
+ "name": "targetMerchantId",
494
+ "required": true,
495
+ "description": "The ID of the target merchant.",
496
+ "default": "",
497
+ "type": "string",
498
+ "displayOptions": {
499
+ "show": {
500
+ "resource": [
501
+ "Pos"
502
+ ],
503
+ "operation": [
504
+ "Content Pos Sale"
505
+ ]
506
+ }
507
+ }
508
+ },
509
+ {
510
+ "displayName": "Dry Run",
511
+ "name": "dryRun",
512
+ "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).",
513
+ "default": true,
514
+ "type": "boolean",
515
+ "routing": {
516
+ "send": {
517
+ "type": "query",
518
+ "property": "dryRun",
519
+ "value": "={{ $value }}",
520
+ "propertyInDotNotation": false
521
+ }
522
+ },
523
+ "displayOptions": {
524
+ "show": {
525
+ "resource": [
526
+ "Pos"
527
+ ],
528
+ "operation": [
529
+ "Content Pos Sale"
530
+ ]
531
+ }
532
+ }
533
+ },
534
+ {
535
+ "displayName": "Content Language",
536
+ "name": "contentLanguage",
537
+ "type": "string",
538
+ "default": "",
539
+ "description": "Required. The two-letter ISO 639-1 language code for the item.",
540
+ "routing": {
541
+ "send": {
542
+ "property": "contentLanguage",
543
+ "propertyInDotNotation": false,
544
+ "type": "body",
545
+ "value": "={{ $value }}"
546
+ }
547
+ },
548
+ "displayOptions": {
549
+ "show": {
550
+ "resource": [
551
+ "Pos"
552
+ ],
553
+ "operation": [
554
+ "Content Pos Sale"
555
+ ]
556
+ }
557
+ }
558
+ },
559
+ {
560
+ "displayName": "Gtin",
561
+ "name": "gtin",
562
+ "type": "string",
563
+ "default": "",
564
+ "description": "Global Trade Item Number.",
565
+ "routing": {
566
+ "send": {
567
+ "property": "gtin",
568
+ "propertyInDotNotation": false,
569
+ "type": "body",
570
+ "value": "={{ $value }}"
571
+ }
572
+ },
573
+ "displayOptions": {
574
+ "show": {
575
+ "resource": [
576
+ "Pos"
577
+ ],
578
+ "operation": [
579
+ "Content Pos Sale"
580
+ ]
581
+ }
582
+ }
583
+ },
584
+ {
585
+ "displayName": "Item ID",
586
+ "name": "itemId",
587
+ "type": "string",
588
+ "default": "",
589
+ "description": "Required. A unique identifier for the item.",
590
+ "routing": {
591
+ "send": {
592
+ "property": "itemId",
593
+ "propertyInDotNotation": false,
594
+ "type": "body",
595
+ "value": "={{ $value }}"
596
+ }
597
+ },
598
+ "displayOptions": {
599
+ "show": {
600
+ "resource": [
601
+ "Pos"
602
+ ],
603
+ "operation": [
604
+ "Content Pos Sale"
605
+ ]
606
+ }
607
+ }
608
+ },
609
+ {
610
+ "displayName": "Price",
611
+ "name": "price",
612
+ "type": "json",
613
+ "default": "{}",
614
+ "description": "Required. The price of the item.",
615
+ "routing": {
616
+ "send": {
617
+ "property": "price",
618
+ "propertyInDotNotation": false,
619
+ "type": "body",
620
+ "value": "={{ JSON.parse($value) }}"
621
+ }
622
+ },
623
+ "displayOptions": {
624
+ "show": {
625
+ "resource": [
626
+ "Pos"
627
+ ],
628
+ "operation": [
629
+ "Content Pos Sale"
630
+ ]
631
+ }
632
+ }
633
+ },
634
+ {
635
+ "displayName": "Quantity",
636
+ "name": "quantity",
637
+ "type": "string",
638
+ "default": "",
639
+ "description": "Required. The relative change of the available quantity. Negative for items returned.",
640
+ "routing": {
641
+ "send": {
642
+ "property": "quantity",
643
+ "propertyInDotNotation": false,
644
+ "type": "body",
645
+ "value": "={{ $value }}"
646
+ }
647
+ },
648
+ "displayOptions": {
649
+ "show": {
650
+ "resource": [
651
+ "Pos"
652
+ ],
653
+ "operation": [
654
+ "Content Pos Sale"
655
+ ]
656
+ }
657
+ }
658
+ },
659
+ {
660
+ "displayName": "Sale ID",
661
+ "name": "saleId",
662
+ "type": "string",
663
+ "default": "",
664
+ "description": "A unique ID to group items from the same sale event.",
665
+ "routing": {
666
+ "send": {
667
+ "property": "saleId",
668
+ "propertyInDotNotation": false,
669
+ "type": "body",
670
+ "value": "={{ $value }}"
671
+ }
672
+ },
673
+ "displayOptions": {
674
+ "show": {
675
+ "resource": [
676
+ "Pos"
677
+ ],
678
+ "operation": [
679
+ "Content Pos Sale"
680
+ ]
681
+ }
682
+ }
683
+ },
684
+ {
685
+ "displayName": "Store Code",
686
+ "name": "storeCode",
687
+ "type": "string",
688
+ "default": "",
689
+ "description": "Required. The identifier of the merchant's store. Either a `storeCode` inserted via the API or the code of the store in Google My Business.",
690
+ "routing": {
691
+ "send": {
692
+ "property": "storeCode",
693
+ "propertyInDotNotation": false,
694
+ "type": "body",
695
+ "value": "={{ $value }}"
696
+ }
697
+ },
698
+ "displayOptions": {
699
+ "show": {
700
+ "resource": [
701
+ "Pos"
702
+ ],
703
+ "operation": [
704
+ "Content Pos Sale"
705
+ ]
706
+ }
707
+ }
708
+ },
709
+ {
710
+ "displayName": "Target Country",
711
+ "name": "targetCountry",
712
+ "type": "string",
713
+ "default": "",
714
+ "description": "Required. The CLDR territory code for the item.",
715
+ "routing": {
716
+ "send": {
717
+ "property": "targetCountry",
718
+ "propertyInDotNotation": false,
719
+ "type": "body",
720
+ "value": "={{ $value }}"
721
+ }
722
+ },
723
+ "displayOptions": {
724
+ "show": {
725
+ "resource": [
726
+ "Pos"
727
+ ],
728
+ "operation": [
729
+ "Content Pos Sale"
730
+ ]
731
+ }
732
+ }
733
+ },
734
+ {
735
+ "displayName": "Timestamp",
736
+ "name": "timestamp",
737
+ "type": "string",
738
+ "default": "",
739
+ "description": "Required. The inventory timestamp, in ISO 8601 format.",
740
+ "routing": {
741
+ "send": {
742
+ "property": "timestamp",
743
+ "propertyInDotNotation": false,
744
+ "type": "body",
745
+ "value": "={{ $value }}"
746
+ }
747
+ },
748
+ "displayOptions": {
749
+ "show": {
750
+ "resource": [
751
+ "Pos"
752
+ ],
753
+ "operation": [
754
+ "Content Pos Sale"
755
+ ]
756
+ }
757
+ }
758
+ },
759
+ {
760
+ "displayName": "GET /{merchantId}/pos/{targetMerchantId}/store",
761
+ "name": "operation",
762
+ "type": "notice",
763
+ "typeOptions": {
764
+ "theme": "info"
765
+ },
766
+ "default": "",
767
+ "displayOptions": {
768
+ "show": {
769
+ "resource": [
770
+ "Pos"
771
+ ],
772
+ "operation": [
773
+ "Content Pos List"
774
+ ]
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "displayName": "Merchant ID",
780
+ "name": "merchantId",
781
+ "required": true,
782
+ "description": "The ID of the POS or inventory data provider.",
783
+ "default": "",
784
+ "type": "string",
785
+ "displayOptions": {
786
+ "show": {
787
+ "resource": [
788
+ "Pos"
789
+ ],
790
+ "operation": [
791
+ "Content Pos List"
792
+ ]
793
+ }
794
+ }
795
+ },
796
+ {
797
+ "displayName": "Target Merchant ID",
798
+ "name": "targetMerchantId",
799
+ "required": true,
800
+ "description": "The ID of the target merchant.",
801
+ "default": "",
802
+ "type": "string",
803
+ "displayOptions": {
804
+ "show": {
805
+ "resource": [
806
+ "Pos"
807
+ ],
808
+ "operation": [
809
+ "Content Pos List"
810
+ ]
811
+ }
812
+ }
813
+ },
814
+ {
815
+ "displayName": "POST /{merchantId}/pos/{targetMerchantId}/store",
816
+ "name": "operation",
817
+ "type": "notice",
818
+ "typeOptions": {
819
+ "theme": "info"
820
+ },
821
+ "default": "",
822
+ "displayOptions": {
823
+ "show": {
824
+ "resource": [
825
+ "Pos"
826
+ ],
827
+ "operation": [
828
+ "Content Pos Insert"
829
+ ]
830
+ }
831
+ }
832
+ },
833
+ {
834
+ "displayName": "Merchant ID",
835
+ "name": "merchantId",
836
+ "required": true,
837
+ "description": "The ID of the POS or inventory data provider.",
838
+ "default": "",
839
+ "type": "string",
840
+ "displayOptions": {
841
+ "show": {
842
+ "resource": [
843
+ "Pos"
844
+ ],
845
+ "operation": [
846
+ "Content Pos Insert"
847
+ ]
848
+ }
849
+ }
850
+ },
851
+ {
852
+ "displayName": "Target Merchant ID",
853
+ "name": "targetMerchantId",
854
+ "required": true,
855
+ "description": "The ID of the target merchant.",
856
+ "default": "",
857
+ "type": "string",
858
+ "displayOptions": {
859
+ "show": {
860
+ "resource": [
861
+ "Pos"
862
+ ],
863
+ "operation": [
864
+ "Content Pos Insert"
865
+ ]
866
+ }
867
+ }
868
+ },
869
+ {
870
+ "displayName": "Dry Run",
871
+ "name": "dryRun",
872
+ "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).",
873
+ "default": true,
874
+ "type": "boolean",
875
+ "routing": {
876
+ "send": {
877
+ "type": "query",
878
+ "property": "dryRun",
879
+ "value": "={{ $value }}",
880
+ "propertyInDotNotation": false
881
+ }
882
+ },
883
+ "displayOptions": {
884
+ "show": {
885
+ "resource": [
886
+ "Pos"
887
+ ],
888
+ "operation": [
889
+ "Content Pos Insert"
890
+ ]
891
+ }
892
+ }
893
+ },
894
+ {
895
+ "displayName": "Gcid Category",
896
+ "name": "gcidCategory",
897
+ "type": "json",
898
+ "default": "[\n null\n]",
899
+ "description": "The business type of the store.",
900
+ "routing": {
901
+ "send": {
902
+ "property": "gcidCategory",
903
+ "propertyInDotNotation": false,
904
+ "type": "body",
905
+ "value": "={{ JSON.parse($value) }}"
906
+ }
907
+ },
908
+ "displayOptions": {
909
+ "show": {
910
+ "resource": [
911
+ "Pos"
912
+ ],
913
+ "operation": [
914
+ "Content Pos Insert"
915
+ ]
916
+ }
917
+ }
918
+ },
919
+ {
920
+ "displayName": "Kind",
921
+ "name": "kind",
922
+ "type": "string",
923
+ "default": "",
924
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#posStore`\"",
925
+ "routing": {
926
+ "send": {
927
+ "property": "kind",
928
+ "propertyInDotNotation": false,
929
+ "type": "body",
930
+ "value": "={{ $value }}"
931
+ }
932
+ },
933
+ "displayOptions": {
934
+ "show": {
935
+ "resource": [
936
+ "Pos"
937
+ ],
938
+ "operation": [
939
+ "Content Pos Insert"
940
+ ]
941
+ }
942
+ }
943
+ },
944
+ {
945
+ "displayName": "Phone Number",
946
+ "name": "phoneNumber",
947
+ "type": "string",
948
+ "default": "",
949
+ "description": "The store phone number.",
950
+ "routing": {
951
+ "send": {
952
+ "property": "phoneNumber",
953
+ "propertyInDotNotation": false,
954
+ "type": "body",
955
+ "value": "={{ $value }}"
956
+ }
957
+ },
958
+ "displayOptions": {
959
+ "show": {
960
+ "resource": [
961
+ "Pos"
962
+ ],
963
+ "operation": [
964
+ "Content Pos Insert"
965
+ ]
966
+ }
967
+ }
968
+ },
969
+ {
970
+ "displayName": "Place ID",
971
+ "name": "placeId",
972
+ "type": "string",
973
+ "default": "",
974
+ "description": "The Google Place Id of the store location.",
975
+ "routing": {
976
+ "send": {
977
+ "property": "placeId",
978
+ "propertyInDotNotation": false,
979
+ "type": "body",
980
+ "value": "={{ $value }}"
981
+ }
982
+ },
983
+ "displayOptions": {
984
+ "show": {
985
+ "resource": [
986
+ "Pos"
987
+ ],
988
+ "operation": [
989
+ "Content Pos Insert"
990
+ ]
991
+ }
992
+ }
993
+ },
994
+ {
995
+ "displayName": "Store Address",
996
+ "name": "storeAddress",
997
+ "type": "string",
998
+ "default": "",
999
+ "description": "Required. The street address of the store.",
1000
+ "routing": {
1001
+ "send": {
1002
+ "property": "storeAddress",
1003
+ "propertyInDotNotation": false,
1004
+ "type": "body",
1005
+ "value": "={{ $value }}"
1006
+ }
1007
+ },
1008
+ "displayOptions": {
1009
+ "show": {
1010
+ "resource": [
1011
+ "Pos"
1012
+ ],
1013
+ "operation": [
1014
+ "Content Pos Insert"
1015
+ ]
1016
+ }
1017
+ }
1018
+ },
1019
+ {
1020
+ "displayName": "Store Code",
1021
+ "name": "storeCode",
1022
+ "type": "string",
1023
+ "default": "",
1024
+ "description": "Required. A store identifier that is unique for the given merchant.",
1025
+ "routing": {
1026
+ "send": {
1027
+ "property": "storeCode",
1028
+ "propertyInDotNotation": false,
1029
+ "type": "body",
1030
+ "value": "={{ $value }}"
1031
+ }
1032
+ },
1033
+ "displayOptions": {
1034
+ "show": {
1035
+ "resource": [
1036
+ "Pos"
1037
+ ],
1038
+ "operation": [
1039
+ "Content Pos Insert"
1040
+ ]
1041
+ }
1042
+ }
1043
+ },
1044
+ {
1045
+ "displayName": "Store Name",
1046
+ "name": "storeName",
1047
+ "type": "string",
1048
+ "default": "",
1049
+ "description": "The merchant or store name.",
1050
+ "routing": {
1051
+ "send": {
1052
+ "property": "storeName",
1053
+ "propertyInDotNotation": false,
1054
+ "type": "body",
1055
+ "value": "={{ $value }}"
1056
+ }
1057
+ },
1058
+ "displayOptions": {
1059
+ "show": {
1060
+ "resource": [
1061
+ "Pos"
1062
+ ],
1063
+ "operation": [
1064
+ "Content Pos Insert"
1065
+ ]
1066
+ }
1067
+ }
1068
+ },
1069
+ {
1070
+ "displayName": "Website URL",
1071
+ "name": "websiteUrl",
1072
+ "type": "string",
1073
+ "default": "",
1074
+ "description": "The website url for the store or merchant.",
1075
+ "routing": {
1076
+ "send": {
1077
+ "property": "websiteUrl",
1078
+ "propertyInDotNotation": false,
1079
+ "type": "body",
1080
+ "value": "={{ $value }}"
1081
+ }
1082
+ },
1083
+ "displayOptions": {
1084
+ "show": {
1085
+ "resource": [
1086
+ "Pos"
1087
+ ],
1088
+ "operation": [
1089
+ "Content Pos Insert"
1090
+ ]
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "displayName": "DELETE /{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
1096
+ "name": "operation",
1097
+ "type": "notice",
1098
+ "typeOptions": {
1099
+ "theme": "info"
1100
+ },
1101
+ "default": "",
1102
+ "displayOptions": {
1103
+ "show": {
1104
+ "resource": [
1105
+ "Pos"
1106
+ ],
1107
+ "operation": [
1108
+ "Content Pos Delete"
1109
+ ]
1110
+ }
1111
+ }
1112
+ },
1113
+ {
1114
+ "displayName": "Merchant ID",
1115
+ "name": "merchantId",
1116
+ "required": true,
1117
+ "description": "The ID of the POS or inventory data provider.",
1118
+ "default": "",
1119
+ "type": "string",
1120
+ "displayOptions": {
1121
+ "show": {
1122
+ "resource": [
1123
+ "Pos"
1124
+ ],
1125
+ "operation": [
1126
+ "Content Pos Delete"
1127
+ ]
1128
+ }
1129
+ }
1130
+ },
1131
+ {
1132
+ "displayName": "Target Merchant ID",
1133
+ "name": "targetMerchantId",
1134
+ "required": true,
1135
+ "description": "The ID of the target merchant.",
1136
+ "default": "",
1137
+ "type": "string",
1138
+ "displayOptions": {
1139
+ "show": {
1140
+ "resource": [
1141
+ "Pos"
1142
+ ],
1143
+ "operation": [
1144
+ "Content Pos Delete"
1145
+ ]
1146
+ }
1147
+ }
1148
+ },
1149
+ {
1150
+ "displayName": "Store Code",
1151
+ "name": "storeCode",
1152
+ "required": true,
1153
+ "description": "A store code that is unique per merchant.",
1154
+ "default": "",
1155
+ "type": "string",
1156
+ "displayOptions": {
1157
+ "show": {
1158
+ "resource": [
1159
+ "Pos"
1160
+ ],
1161
+ "operation": [
1162
+ "Content Pos Delete"
1163
+ ]
1164
+ }
1165
+ }
1166
+ },
1167
+ {
1168
+ "displayName": "Dry Run",
1169
+ "name": "dryRun",
1170
+ "description": "Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any).",
1171
+ "default": true,
1172
+ "type": "boolean",
1173
+ "routing": {
1174
+ "send": {
1175
+ "type": "query",
1176
+ "property": "dryRun",
1177
+ "value": "={{ $value }}",
1178
+ "propertyInDotNotation": false
1179
+ }
1180
+ },
1181
+ "displayOptions": {
1182
+ "show": {
1183
+ "resource": [
1184
+ "Pos"
1185
+ ],
1186
+ "operation": [
1187
+ "Content Pos Delete"
1188
+ ]
1189
+ }
1190
+ }
1191
+ },
1192
+ {
1193
+ "displayName": "GET /{merchantId}/pos/{targetMerchantId}/store/{storeCode}",
1194
+ "name": "operation",
1195
+ "type": "notice",
1196
+ "typeOptions": {
1197
+ "theme": "info"
1198
+ },
1199
+ "default": "",
1200
+ "displayOptions": {
1201
+ "show": {
1202
+ "resource": [
1203
+ "Pos"
1204
+ ],
1205
+ "operation": [
1206
+ "Content Pos Get"
1207
+ ]
1208
+ }
1209
+ }
1210
+ },
1211
+ {
1212
+ "displayName": "Merchant ID",
1213
+ "name": "merchantId",
1214
+ "required": true,
1215
+ "description": "The ID of the POS or inventory data provider.",
1216
+ "default": "",
1217
+ "type": "string",
1218
+ "displayOptions": {
1219
+ "show": {
1220
+ "resource": [
1221
+ "Pos"
1222
+ ],
1223
+ "operation": [
1224
+ "Content Pos Get"
1225
+ ]
1226
+ }
1227
+ }
1228
+ },
1229
+ {
1230
+ "displayName": "Target Merchant ID",
1231
+ "name": "targetMerchantId",
1232
+ "required": true,
1233
+ "description": "The ID of the target merchant.",
1234
+ "default": "",
1235
+ "type": "string",
1236
+ "displayOptions": {
1237
+ "show": {
1238
+ "resource": [
1239
+ "Pos"
1240
+ ],
1241
+ "operation": [
1242
+ "Content Pos Get"
1243
+ ]
1244
+ }
1245
+ }
1246
+ },
1247
+ {
1248
+ "displayName": "Store Code",
1249
+ "name": "storeCode",
1250
+ "required": true,
1251
+ "description": "A store code that is unique per merchant.",
1252
+ "default": "",
1253
+ "type": "string",
1254
+ "displayOptions": {
1255
+ "show": {
1256
+ "resource": [
1257
+ "Pos"
1258
+ ],
1259
+ "operation": [
1260
+ "Content Pos Get"
1261
+ ]
1262
+ }
1263
+ }
1264
+ },
1265
+ ];
1266
+ //# sourceMappingURL=index.js.map