@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,1219 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.datafeedsDescription = void 0;
4
+ exports.datafeedsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Datafeeds"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Content Datafeeds Custombatch",
20
+ "value": "Content Datafeeds Custombatch",
21
+ "action": "Content Datafeeds Custombatch",
22
+ "description": "Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/datafeeds/batch"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Content Datafeeds List",
32
+ "value": "Content Datafeeds List",
33
+ "action": "Content Datafeeds List",
34
+ "description": "Lists the configurations for datafeeds in your Merchant Center account.",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Content Datafeeds Insert",
44
+ "value": "Content Datafeeds Insert",
45
+ "action": "Content Datafeeds Insert",
46
+ "description": "Registers a datafeed configuration with your Merchant Center account.",
47
+ "routing": {
48
+ "request": {
49
+ "method": "POST",
50
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Content Datafeeds Delete",
56
+ "value": "Content Datafeeds Delete",
57
+ "action": "Content Datafeeds Delete",
58
+ "description": "Deletes a datafeed configuration from your Merchant Center account.",
59
+ "routing": {
60
+ "request": {
61
+ "method": "DELETE",
62
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds/{{$parameter[\"datafeedId\"]}}"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Content Datafeeds Get",
68
+ "value": "Content Datafeeds Get",
69
+ "action": "Content Datafeeds Get",
70
+ "description": "Retrieves a datafeed configuration from your Merchant Center account.",
71
+ "routing": {
72
+ "request": {
73
+ "method": "GET",
74
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds/{{$parameter[\"datafeedId\"]}}"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Content Datafeeds Update",
80
+ "value": "Content Datafeeds Update",
81
+ "action": "Content Datafeeds Update",
82
+ "description": "Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.",
83
+ "routing": {
84
+ "request": {
85
+ "method": "PUT",
86
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds/{{$parameter[\"datafeedId\"]}}"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Content Datafeeds Fetchnow",
92
+ "value": "Content Datafeeds Fetchnow",
93
+ "action": "Content Datafeeds Fetchnow",
94
+ "description": "Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the Products service to update your product data.",
95
+ "routing": {
96
+ "request": {
97
+ "method": "POST",
98
+ "url": "=/{{$parameter[\"merchantId\"]}}/datafeeds/{{$parameter[\"datafeedId\"]}}/fetchNow"
99
+ }
100
+ }
101
+ }
102
+ ],
103
+ "default": ""
104
+ },
105
+ {
106
+ "displayName": "POST /datafeeds/batch",
107
+ "name": "operation",
108
+ "type": "notice",
109
+ "typeOptions": {
110
+ "theme": "info"
111
+ },
112
+ "default": "",
113
+ "displayOptions": {
114
+ "show": {
115
+ "resource": [
116
+ "Datafeeds"
117
+ ],
118
+ "operation": [
119
+ "Content Datafeeds 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
+ "Datafeeds"
142
+ ],
143
+ "operation": [
144
+ "Content Datafeeds Custombatch"
145
+ ]
146
+ }
147
+ }
148
+ },
149
+ {
150
+ "displayName": "Entries",
151
+ "name": "entries",
152
+ "type": "json",
153
+ "default": "[\n {\n \"datafeed\": {\n \"fetchSchedule\": {},\n \"format\": {},\n \"intendedDestinations\": [\n null\n ],\n \"targets\": [\n {\n \"excludedDestinations\": [\n null\n ],\n \"includedDestinations\": [\n null\n ]\n }\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
+ "Datafeeds"
167
+ ],
168
+ "operation": [
169
+ "Content Datafeeds Custombatch"
170
+ ]
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "displayName": "GET /{merchantId}/datafeeds",
176
+ "name": "operation",
177
+ "type": "notice",
178
+ "typeOptions": {
179
+ "theme": "info"
180
+ },
181
+ "default": "",
182
+ "displayOptions": {
183
+ "show": {
184
+ "resource": [
185
+ "Datafeeds"
186
+ ],
187
+ "operation": [
188
+ "Content Datafeeds List"
189
+ ]
190
+ }
191
+ }
192
+ },
193
+ {
194
+ "displayName": "Merchant ID",
195
+ "name": "merchantId",
196
+ "required": true,
197
+ "description": "The ID of the account that manages the datafeeds. This account cannot be a multi-client account.",
198
+ "default": "",
199
+ "type": "string",
200
+ "displayOptions": {
201
+ "show": {
202
+ "resource": [
203
+ "Datafeeds"
204
+ ],
205
+ "operation": [
206
+ "Content Datafeeds List"
207
+ ]
208
+ }
209
+ }
210
+ },
211
+ {
212
+ "displayName": "Max Results",
213
+ "name": "maxResults",
214
+ "description": "The maximum number of products to return in the response, used for paging.",
215
+ "default": 0,
216
+ "type": "number",
217
+ "routing": {
218
+ "send": {
219
+ "type": "query",
220
+ "property": "maxResults",
221
+ "value": "={{ $value }}",
222
+ "propertyInDotNotation": false
223
+ }
224
+ },
225
+ "displayOptions": {
226
+ "show": {
227
+ "resource": [
228
+ "Datafeeds"
229
+ ],
230
+ "operation": [
231
+ "Content Datafeeds List"
232
+ ]
233
+ }
234
+ }
235
+ },
236
+ {
237
+ "displayName": "Page Token",
238
+ "name": "pageToken",
239
+ "description": "The token returned by the previous request.",
240
+ "default": "",
241
+ "type": "string",
242
+ "routing": {
243
+ "send": {
244
+ "type": "query",
245
+ "property": "pageToken",
246
+ "value": "={{ $value }}",
247
+ "propertyInDotNotation": false
248
+ }
249
+ },
250
+ "displayOptions": {
251
+ "show": {
252
+ "resource": [
253
+ "Datafeeds"
254
+ ],
255
+ "operation": [
256
+ "Content Datafeeds List"
257
+ ]
258
+ }
259
+ }
260
+ },
261
+ {
262
+ "displayName": "POST /{merchantId}/datafeeds",
263
+ "name": "operation",
264
+ "type": "notice",
265
+ "typeOptions": {
266
+ "theme": "info"
267
+ },
268
+ "default": "",
269
+ "displayOptions": {
270
+ "show": {
271
+ "resource": [
272
+ "Datafeeds"
273
+ ],
274
+ "operation": [
275
+ "Content Datafeeds Insert"
276
+ ]
277
+ }
278
+ }
279
+ },
280
+ {
281
+ "displayName": "Merchant ID",
282
+ "name": "merchantId",
283
+ "required": true,
284
+ "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
285
+ "default": "",
286
+ "type": "string",
287
+ "displayOptions": {
288
+ "show": {
289
+ "resource": [
290
+ "Datafeeds"
291
+ ],
292
+ "operation": [
293
+ "Content Datafeeds Insert"
294
+ ]
295
+ }
296
+ }
297
+ },
298
+ {
299
+ "displayName": "Dry Run",
300
+ "name": "dryRun",
301
+ "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).",
302
+ "default": true,
303
+ "type": "boolean",
304
+ "routing": {
305
+ "send": {
306
+ "type": "query",
307
+ "property": "dryRun",
308
+ "value": "={{ $value }}",
309
+ "propertyInDotNotation": false
310
+ }
311
+ },
312
+ "displayOptions": {
313
+ "show": {
314
+ "resource": [
315
+ "Datafeeds"
316
+ ],
317
+ "operation": [
318
+ "Content Datafeeds Insert"
319
+ ]
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "displayName": "Attribute Language",
325
+ "name": "attributeLanguage",
326
+ "type": "string",
327
+ "default": "",
328
+ "description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed.",
329
+ "routing": {
330
+ "send": {
331
+ "property": "attributeLanguage",
332
+ "propertyInDotNotation": false,
333
+ "type": "body",
334
+ "value": "={{ $value }}"
335
+ }
336
+ },
337
+ "displayOptions": {
338
+ "show": {
339
+ "resource": [
340
+ "Datafeeds"
341
+ ],
342
+ "operation": [
343
+ "Content Datafeeds Insert"
344
+ ]
345
+ }
346
+ }
347
+ },
348
+ {
349
+ "displayName": "Content Language",
350
+ "name": "contentLanguage",
351
+ "type": "string",
352
+ "default": "",
353
+ "description": "[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targetCountry`.",
354
+ "routing": {
355
+ "send": {
356
+ "property": "contentLanguage",
357
+ "propertyInDotNotation": false,
358
+ "type": "body",
359
+ "value": "={{ $value }}"
360
+ }
361
+ },
362
+ "displayOptions": {
363
+ "show": {
364
+ "resource": [
365
+ "Datafeeds"
366
+ ],
367
+ "operation": [
368
+ "Content Datafeeds Insert"
369
+ ]
370
+ }
371
+ }
372
+ },
373
+ {
374
+ "displayName": "Content Type",
375
+ "name": "contentType",
376
+ "type": "string",
377
+ "default": "",
378
+ "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - \"`local products`\" - \"`product inventory`\" - \"`products`\" ",
379
+ "routing": {
380
+ "send": {
381
+ "property": "contentType",
382
+ "propertyInDotNotation": false,
383
+ "type": "body",
384
+ "value": "={{ $value }}"
385
+ }
386
+ },
387
+ "displayOptions": {
388
+ "show": {
389
+ "resource": [
390
+ "Datafeeds"
391
+ ],
392
+ "operation": [
393
+ "Content Datafeeds Insert"
394
+ ]
395
+ }
396
+ }
397
+ },
398
+ {
399
+ "displayName": "Fetch Schedule",
400
+ "name": "fetchSchedule",
401
+ "type": "json",
402
+ "default": "{}",
403
+ "description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.",
404
+ "routing": {
405
+ "send": {
406
+ "property": "fetchSchedule",
407
+ "propertyInDotNotation": false,
408
+ "type": "body",
409
+ "value": "={{ JSON.parse($value) }}"
410
+ }
411
+ },
412
+ "displayOptions": {
413
+ "show": {
414
+ "resource": [
415
+ "Datafeeds"
416
+ ],
417
+ "operation": [
418
+ "Content Datafeeds Insert"
419
+ ]
420
+ }
421
+ }
422
+ },
423
+ {
424
+ "displayName": "File Name",
425
+ "name": "fileName",
426
+ "type": "string",
427
+ "default": "",
428
+ "description": "Required. The filename of the feed. All feeds must have a unique file name.",
429
+ "routing": {
430
+ "send": {
431
+ "property": "fileName",
432
+ "propertyInDotNotation": false,
433
+ "type": "body",
434
+ "value": "={{ $value }}"
435
+ }
436
+ },
437
+ "displayOptions": {
438
+ "show": {
439
+ "resource": [
440
+ "Datafeeds"
441
+ ],
442
+ "operation": [
443
+ "Content Datafeeds Insert"
444
+ ]
445
+ }
446
+ }
447
+ },
448
+ {
449
+ "displayName": "Format",
450
+ "name": "format",
451
+ "type": "json",
452
+ "default": "{}",
453
+ "description": "Format of the feed file.",
454
+ "routing": {
455
+ "send": {
456
+ "property": "format",
457
+ "propertyInDotNotation": false,
458
+ "type": "body",
459
+ "value": "={{ JSON.parse($value) }}"
460
+ }
461
+ },
462
+ "displayOptions": {
463
+ "show": {
464
+ "resource": [
465
+ "Datafeeds"
466
+ ],
467
+ "operation": [
468
+ "Content Datafeeds Insert"
469
+ ]
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "displayName": "ID",
475
+ "name": "id",
476
+ "type": "string",
477
+ "default": "",
478
+ "description": "Required for update. The ID of the data feed.",
479
+ "routing": {
480
+ "send": {
481
+ "property": "id",
482
+ "propertyInDotNotation": false,
483
+ "type": "body",
484
+ "value": "={{ $value }}"
485
+ }
486
+ },
487
+ "displayOptions": {
488
+ "show": {
489
+ "resource": [
490
+ "Datafeeds"
491
+ ],
492
+ "operation": [
493
+ "Content Datafeeds Insert"
494
+ ]
495
+ }
496
+ }
497
+ },
498
+ {
499
+ "displayName": "Intended Destinations",
500
+ "name": "intendedDestinations",
501
+ "type": "json",
502
+ "default": "[\n null\n]",
503
+ "description": "[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
504
+ "routing": {
505
+ "send": {
506
+ "property": "intendedDestinations",
507
+ "propertyInDotNotation": false,
508
+ "type": "body",
509
+ "value": "={{ JSON.parse($value) }}"
510
+ }
511
+ },
512
+ "displayOptions": {
513
+ "show": {
514
+ "resource": [
515
+ "Datafeeds"
516
+ ],
517
+ "operation": [
518
+ "Content Datafeeds Insert"
519
+ ]
520
+ }
521
+ }
522
+ },
523
+ {
524
+ "displayName": "Kind",
525
+ "name": "kind",
526
+ "type": "string",
527
+ "default": "",
528
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"",
529
+ "routing": {
530
+ "send": {
531
+ "property": "kind",
532
+ "propertyInDotNotation": false,
533
+ "type": "body",
534
+ "value": "={{ $value }}"
535
+ }
536
+ },
537
+ "displayOptions": {
538
+ "show": {
539
+ "resource": [
540
+ "Datafeeds"
541
+ ],
542
+ "operation": [
543
+ "Content Datafeeds Insert"
544
+ ]
545
+ }
546
+ }
547
+ },
548
+ {
549
+ "displayName": "Name",
550
+ "name": "name",
551
+ "type": "string",
552
+ "default": "",
553
+ "description": "Required for insert. A descriptive name of the data feed.",
554
+ "routing": {
555
+ "send": {
556
+ "property": "name",
557
+ "propertyInDotNotation": false,
558
+ "type": "body",
559
+ "value": "={{ $value }}"
560
+ }
561
+ },
562
+ "displayOptions": {
563
+ "show": {
564
+ "resource": [
565
+ "Datafeeds"
566
+ ],
567
+ "operation": [
568
+ "Content Datafeeds Insert"
569
+ ]
570
+ }
571
+ }
572
+ },
573
+ {
574
+ "displayName": "Target Country",
575
+ "name": "targetCountry",
576
+ "type": "string",
577
+ "default": "",
578
+ "description": "[DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.",
579
+ "routing": {
580
+ "send": {
581
+ "property": "targetCountry",
582
+ "propertyInDotNotation": false,
583
+ "type": "body",
584
+ "value": "={{ $value }}"
585
+ }
586
+ },
587
+ "displayOptions": {
588
+ "show": {
589
+ "resource": [
590
+ "Datafeeds"
591
+ ],
592
+ "operation": [
593
+ "Content Datafeeds Insert"
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ {
599
+ "displayName": "Targets",
600
+ "name": "targets",
601
+ "type": "json",
602
+ "default": "[\n {\n \"excludedDestinations\": [\n null\n ],\n \"includedDestinations\": [\n null\n ]\n }\n]",
603
+ "description": "The targets this feed should apply to (country, language, destinations).",
604
+ "routing": {
605
+ "send": {
606
+ "property": "targets",
607
+ "propertyInDotNotation": false,
608
+ "type": "body",
609
+ "value": "={{ JSON.parse($value) }}"
610
+ }
611
+ },
612
+ "displayOptions": {
613
+ "show": {
614
+ "resource": [
615
+ "Datafeeds"
616
+ ],
617
+ "operation": [
618
+ "Content Datafeeds Insert"
619
+ ]
620
+ }
621
+ }
622
+ },
623
+ {
624
+ "displayName": "DELETE /{merchantId}/datafeeds/{datafeedId}",
625
+ "name": "operation",
626
+ "type": "notice",
627
+ "typeOptions": {
628
+ "theme": "info"
629
+ },
630
+ "default": "",
631
+ "displayOptions": {
632
+ "show": {
633
+ "resource": [
634
+ "Datafeeds"
635
+ ],
636
+ "operation": [
637
+ "Content Datafeeds Delete"
638
+ ]
639
+ }
640
+ }
641
+ },
642
+ {
643
+ "displayName": "Merchant ID",
644
+ "name": "merchantId",
645
+ "required": true,
646
+ "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
647
+ "default": "",
648
+ "type": "string",
649
+ "displayOptions": {
650
+ "show": {
651
+ "resource": [
652
+ "Datafeeds"
653
+ ],
654
+ "operation": [
655
+ "Content Datafeeds Delete"
656
+ ]
657
+ }
658
+ }
659
+ },
660
+ {
661
+ "displayName": "Datafeed ID",
662
+ "name": "datafeedId",
663
+ "required": true,
664
+ "description": "The ID of the datafeed.",
665
+ "default": "",
666
+ "type": "string",
667
+ "displayOptions": {
668
+ "show": {
669
+ "resource": [
670
+ "Datafeeds"
671
+ ],
672
+ "operation": [
673
+ "Content Datafeeds Delete"
674
+ ]
675
+ }
676
+ }
677
+ },
678
+ {
679
+ "displayName": "Dry Run",
680
+ "name": "dryRun",
681
+ "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).",
682
+ "default": true,
683
+ "type": "boolean",
684
+ "routing": {
685
+ "send": {
686
+ "type": "query",
687
+ "property": "dryRun",
688
+ "value": "={{ $value }}",
689
+ "propertyInDotNotation": false
690
+ }
691
+ },
692
+ "displayOptions": {
693
+ "show": {
694
+ "resource": [
695
+ "Datafeeds"
696
+ ],
697
+ "operation": [
698
+ "Content Datafeeds Delete"
699
+ ]
700
+ }
701
+ }
702
+ },
703
+ {
704
+ "displayName": "GET /{merchantId}/datafeeds/{datafeedId}",
705
+ "name": "operation",
706
+ "type": "notice",
707
+ "typeOptions": {
708
+ "theme": "info"
709
+ },
710
+ "default": "",
711
+ "displayOptions": {
712
+ "show": {
713
+ "resource": [
714
+ "Datafeeds"
715
+ ],
716
+ "operation": [
717
+ "Content Datafeeds Get"
718
+ ]
719
+ }
720
+ }
721
+ },
722
+ {
723
+ "displayName": "Merchant ID",
724
+ "name": "merchantId",
725
+ "required": true,
726
+ "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
727
+ "default": "",
728
+ "type": "string",
729
+ "displayOptions": {
730
+ "show": {
731
+ "resource": [
732
+ "Datafeeds"
733
+ ],
734
+ "operation": [
735
+ "Content Datafeeds Get"
736
+ ]
737
+ }
738
+ }
739
+ },
740
+ {
741
+ "displayName": "Datafeed ID",
742
+ "name": "datafeedId",
743
+ "required": true,
744
+ "description": "The ID of the datafeed.",
745
+ "default": "",
746
+ "type": "string",
747
+ "displayOptions": {
748
+ "show": {
749
+ "resource": [
750
+ "Datafeeds"
751
+ ],
752
+ "operation": [
753
+ "Content Datafeeds Get"
754
+ ]
755
+ }
756
+ }
757
+ },
758
+ {
759
+ "displayName": "PUT /{merchantId}/datafeeds/{datafeedId}",
760
+ "name": "operation",
761
+ "type": "notice",
762
+ "typeOptions": {
763
+ "theme": "info"
764
+ },
765
+ "default": "",
766
+ "displayOptions": {
767
+ "show": {
768
+ "resource": [
769
+ "Datafeeds"
770
+ ],
771
+ "operation": [
772
+ "Content Datafeeds Update"
773
+ ]
774
+ }
775
+ }
776
+ },
777
+ {
778
+ "displayName": "Merchant ID",
779
+ "name": "merchantId",
780
+ "required": true,
781
+ "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
782
+ "default": "",
783
+ "type": "string",
784
+ "displayOptions": {
785
+ "show": {
786
+ "resource": [
787
+ "Datafeeds"
788
+ ],
789
+ "operation": [
790
+ "Content Datafeeds Update"
791
+ ]
792
+ }
793
+ }
794
+ },
795
+ {
796
+ "displayName": "Datafeed ID",
797
+ "name": "datafeedId",
798
+ "required": true,
799
+ "description": "The ID of the datafeed.",
800
+ "default": "",
801
+ "type": "string",
802
+ "displayOptions": {
803
+ "show": {
804
+ "resource": [
805
+ "Datafeeds"
806
+ ],
807
+ "operation": [
808
+ "Content Datafeeds Update"
809
+ ]
810
+ }
811
+ }
812
+ },
813
+ {
814
+ "displayName": "Dry Run",
815
+ "name": "dryRun",
816
+ "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).",
817
+ "default": true,
818
+ "type": "boolean",
819
+ "routing": {
820
+ "send": {
821
+ "type": "query",
822
+ "property": "dryRun",
823
+ "value": "={{ $value }}",
824
+ "propertyInDotNotation": false
825
+ }
826
+ },
827
+ "displayOptions": {
828
+ "show": {
829
+ "resource": [
830
+ "Datafeeds"
831
+ ],
832
+ "operation": [
833
+ "Content Datafeeds Update"
834
+ ]
835
+ }
836
+ }
837
+ },
838
+ {
839
+ "displayName": "Attribute Language",
840
+ "name": "attributeLanguage",
841
+ "type": "string",
842
+ "default": "",
843
+ "description": "The two-letter ISO 639-1 language in which the attributes are defined in the data feed.",
844
+ "routing": {
845
+ "send": {
846
+ "property": "attributeLanguage",
847
+ "propertyInDotNotation": false,
848
+ "type": "body",
849
+ "value": "={{ $value }}"
850
+ }
851
+ },
852
+ "displayOptions": {
853
+ "show": {
854
+ "resource": [
855
+ "Datafeeds"
856
+ ],
857
+ "operation": [
858
+ "Content Datafeeds Update"
859
+ ]
860
+ }
861
+ }
862
+ },
863
+ {
864
+ "displayName": "Content Language",
865
+ "name": "contentLanguage",
866
+ "type": "string",
867
+ "default": "",
868
+ "description": "[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targetCountry`.",
869
+ "routing": {
870
+ "send": {
871
+ "property": "contentLanguage",
872
+ "propertyInDotNotation": false,
873
+ "type": "body",
874
+ "value": "={{ $value }}"
875
+ }
876
+ },
877
+ "displayOptions": {
878
+ "show": {
879
+ "resource": [
880
+ "Datafeeds"
881
+ ],
882
+ "operation": [
883
+ "Content Datafeeds Update"
884
+ ]
885
+ }
886
+ }
887
+ },
888
+ {
889
+ "displayName": "Content Type",
890
+ "name": "contentType",
891
+ "type": "string",
892
+ "default": "",
893
+ "description": "Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - \"`local products`\" - \"`product inventory`\" - \"`products`\" ",
894
+ "routing": {
895
+ "send": {
896
+ "property": "contentType",
897
+ "propertyInDotNotation": false,
898
+ "type": "body",
899
+ "value": "={{ $value }}"
900
+ }
901
+ },
902
+ "displayOptions": {
903
+ "show": {
904
+ "resource": [
905
+ "Datafeeds"
906
+ ],
907
+ "operation": [
908
+ "Content Datafeeds Update"
909
+ ]
910
+ }
911
+ }
912
+ },
913
+ {
914
+ "displayName": "Fetch Schedule",
915
+ "name": "fetchSchedule",
916
+ "type": "json",
917
+ "default": "{}",
918
+ "description": "The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.",
919
+ "routing": {
920
+ "send": {
921
+ "property": "fetchSchedule",
922
+ "propertyInDotNotation": false,
923
+ "type": "body",
924
+ "value": "={{ JSON.parse($value) }}"
925
+ }
926
+ },
927
+ "displayOptions": {
928
+ "show": {
929
+ "resource": [
930
+ "Datafeeds"
931
+ ],
932
+ "operation": [
933
+ "Content Datafeeds Update"
934
+ ]
935
+ }
936
+ }
937
+ },
938
+ {
939
+ "displayName": "File Name",
940
+ "name": "fileName",
941
+ "type": "string",
942
+ "default": "",
943
+ "description": "Required. The filename of the feed. All feeds must have a unique file name.",
944
+ "routing": {
945
+ "send": {
946
+ "property": "fileName",
947
+ "propertyInDotNotation": false,
948
+ "type": "body",
949
+ "value": "={{ $value }}"
950
+ }
951
+ },
952
+ "displayOptions": {
953
+ "show": {
954
+ "resource": [
955
+ "Datafeeds"
956
+ ],
957
+ "operation": [
958
+ "Content Datafeeds Update"
959
+ ]
960
+ }
961
+ }
962
+ },
963
+ {
964
+ "displayName": "Format",
965
+ "name": "format",
966
+ "type": "json",
967
+ "default": "{}",
968
+ "description": "Format of the feed file.",
969
+ "routing": {
970
+ "send": {
971
+ "property": "format",
972
+ "propertyInDotNotation": false,
973
+ "type": "body",
974
+ "value": "={{ JSON.parse($value) }}"
975
+ }
976
+ },
977
+ "displayOptions": {
978
+ "show": {
979
+ "resource": [
980
+ "Datafeeds"
981
+ ],
982
+ "operation": [
983
+ "Content Datafeeds Update"
984
+ ]
985
+ }
986
+ }
987
+ },
988
+ {
989
+ "displayName": "ID",
990
+ "name": "id",
991
+ "type": "string",
992
+ "default": "",
993
+ "description": "Required for update. The ID of the data feed.",
994
+ "routing": {
995
+ "send": {
996
+ "property": "id",
997
+ "propertyInDotNotation": false,
998
+ "type": "body",
999
+ "value": "={{ $value }}"
1000
+ }
1001
+ },
1002
+ "displayOptions": {
1003
+ "show": {
1004
+ "resource": [
1005
+ "Datafeeds"
1006
+ ],
1007
+ "operation": [
1008
+ "Content Datafeeds Update"
1009
+ ]
1010
+ }
1011
+ }
1012
+ },
1013
+ {
1014
+ "displayName": "Intended Destinations",
1015
+ "name": "intendedDestinations",
1016
+ "type": "json",
1017
+ "default": "[\n null\n]",
1018
+ "description": "[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).",
1019
+ "routing": {
1020
+ "send": {
1021
+ "property": "intendedDestinations",
1022
+ "propertyInDotNotation": false,
1023
+ "type": "body",
1024
+ "value": "={{ JSON.parse($value) }}"
1025
+ }
1026
+ },
1027
+ "displayOptions": {
1028
+ "show": {
1029
+ "resource": [
1030
+ "Datafeeds"
1031
+ ],
1032
+ "operation": [
1033
+ "Content Datafeeds Update"
1034
+ ]
1035
+ }
1036
+ }
1037
+ },
1038
+ {
1039
+ "displayName": "Kind",
1040
+ "name": "kind",
1041
+ "type": "string",
1042
+ "default": "",
1043
+ "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#datafeed`\"",
1044
+ "routing": {
1045
+ "send": {
1046
+ "property": "kind",
1047
+ "propertyInDotNotation": false,
1048
+ "type": "body",
1049
+ "value": "={{ $value }}"
1050
+ }
1051
+ },
1052
+ "displayOptions": {
1053
+ "show": {
1054
+ "resource": [
1055
+ "Datafeeds"
1056
+ ],
1057
+ "operation": [
1058
+ "Content Datafeeds Update"
1059
+ ]
1060
+ }
1061
+ }
1062
+ },
1063
+ {
1064
+ "displayName": "Name",
1065
+ "name": "name",
1066
+ "type": "string",
1067
+ "default": "",
1068
+ "description": "Required for insert. A descriptive name of the data feed.",
1069
+ "routing": {
1070
+ "send": {
1071
+ "property": "name",
1072
+ "propertyInDotNotation": false,
1073
+ "type": "body",
1074
+ "value": "={{ $value }}"
1075
+ }
1076
+ },
1077
+ "displayOptions": {
1078
+ "show": {
1079
+ "resource": [
1080
+ "Datafeeds"
1081
+ ],
1082
+ "operation": [
1083
+ "Content Datafeeds Update"
1084
+ ]
1085
+ }
1086
+ }
1087
+ },
1088
+ {
1089
+ "displayName": "Target Country",
1090
+ "name": "targetCountry",
1091
+ "type": "string",
1092
+ "default": "",
1093
+ "description": "[DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.",
1094
+ "routing": {
1095
+ "send": {
1096
+ "property": "targetCountry",
1097
+ "propertyInDotNotation": false,
1098
+ "type": "body",
1099
+ "value": "={{ $value }}"
1100
+ }
1101
+ },
1102
+ "displayOptions": {
1103
+ "show": {
1104
+ "resource": [
1105
+ "Datafeeds"
1106
+ ],
1107
+ "operation": [
1108
+ "Content Datafeeds Update"
1109
+ ]
1110
+ }
1111
+ }
1112
+ },
1113
+ {
1114
+ "displayName": "Targets",
1115
+ "name": "targets",
1116
+ "type": "json",
1117
+ "default": "[\n {\n \"excludedDestinations\": [\n null\n ],\n \"includedDestinations\": [\n null\n ]\n }\n]",
1118
+ "description": "The targets this feed should apply to (country, language, destinations).",
1119
+ "routing": {
1120
+ "send": {
1121
+ "property": "targets",
1122
+ "propertyInDotNotation": false,
1123
+ "type": "body",
1124
+ "value": "={{ JSON.parse($value) }}"
1125
+ }
1126
+ },
1127
+ "displayOptions": {
1128
+ "show": {
1129
+ "resource": [
1130
+ "Datafeeds"
1131
+ ],
1132
+ "operation": [
1133
+ "Content Datafeeds Update"
1134
+ ]
1135
+ }
1136
+ }
1137
+ },
1138
+ {
1139
+ "displayName": "POST /{merchantId}/datafeeds/{datafeedId}/fetchNow",
1140
+ "name": "operation",
1141
+ "type": "notice",
1142
+ "typeOptions": {
1143
+ "theme": "info"
1144
+ },
1145
+ "default": "",
1146
+ "displayOptions": {
1147
+ "show": {
1148
+ "resource": [
1149
+ "Datafeeds"
1150
+ ],
1151
+ "operation": [
1152
+ "Content Datafeeds Fetchnow"
1153
+ ]
1154
+ }
1155
+ }
1156
+ },
1157
+ {
1158
+ "displayName": "Merchant ID",
1159
+ "name": "merchantId",
1160
+ "required": true,
1161
+ "description": "The ID of the account that manages the datafeed. This account cannot be a multi-client account.",
1162
+ "default": "",
1163
+ "type": "string",
1164
+ "displayOptions": {
1165
+ "show": {
1166
+ "resource": [
1167
+ "Datafeeds"
1168
+ ],
1169
+ "operation": [
1170
+ "Content Datafeeds Fetchnow"
1171
+ ]
1172
+ }
1173
+ }
1174
+ },
1175
+ {
1176
+ "displayName": "Datafeed ID",
1177
+ "name": "datafeedId",
1178
+ "required": true,
1179
+ "description": "The ID of the datafeed to be fetched.",
1180
+ "default": "",
1181
+ "type": "string",
1182
+ "displayOptions": {
1183
+ "show": {
1184
+ "resource": [
1185
+ "Datafeeds"
1186
+ ],
1187
+ "operation": [
1188
+ "Content Datafeeds Fetchnow"
1189
+ ]
1190
+ }
1191
+ }
1192
+ },
1193
+ {
1194
+ "displayName": "Dry Run",
1195
+ "name": "dryRun",
1196
+ "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).",
1197
+ "default": true,
1198
+ "type": "boolean",
1199
+ "routing": {
1200
+ "send": {
1201
+ "type": "query",
1202
+ "property": "dryRun",
1203
+ "value": "={{ $value }}",
1204
+ "propertyInDotNotation": false
1205
+ }
1206
+ },
1207
+ "displayOptions": {
1208
+ "show": {
1209
+ "resource": [
1210
+ "Datafeeds"
1211
+ ],
1212
+ "operation": [
1213
+ "Content Datafeeds Fetchnow"
1214
+ ]
1215
+ }
1216
+ }
1217
+ },
1218
+ ];
1219
+ //# sourceMappingURL=index.js.map