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