@epilot/message-client 1.1.0 → 1.1.1

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.
package/dist/openapi.json CHANGED
@@ -274,38 +274,48 @@
274
274
  },
275
275
  "file": {
276
276
  "type": "object",
277
- "required": [
278
- "entity_id"
279
- ],
277
+ "description": "Message attachments",
280
278
  "properties": {
281
- "entity_id": {
282
- "type": "string",
283
- "description": "File entity ID",
284
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
285
- },
286
- "filename": {
287
- "type": "string",
288
- "description": "File name",
289
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
290
- },
291
- "is_message_attachment": {
292
- "type": "boolean",
293
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
294
- },
295
- "cid": {
296
- "type": "string",
297
- "description": "Content ID (for inline)",
298
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
299
- },
300
- "inline": {
301
- "type": "boolean",
302
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
303
- "default": false
304
- },
305
- "send_as_link": {
306
- "type": "boolean",
307
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
308
- "default": false
279
+ "$relation": {
280
+ "type": "array",
281
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
282
+ "items": {
283
+ "type": "object",
284
+ "required": [
285
+ "entity_id"
286
+ ],
287
+ "properties": {
288
+ "entity_id": {
289
+ "type": "string",
290
+ "description": "File entity ID",
291
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
292
+ },
293
+ "filename": {
294
+ "type": "string",
295
+ "description": "File name",
296
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
297
+ },
298
+ "is_message_attachment": {
299
+ "type": "boolean",
300
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
301
+ },
302
+ "cid": {
303
+ "type": "string",
304
+ "description": "Content ID (for inline)",
305
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
306
+ },
307
+ "inline": {
308
+ "type": "boolean",
309
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
310
+ "default": false
311
+ },
312
+ "send_as_link": {
313
+ "type": "boolean",
314
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
315
+ "default": false
316
+ }
317
+ }
318
+ }
309
319
  }
310
320
  }
311
321
  }
@@ -592,38 +602,48 @@
592
602
  },
593
603
  "file": {
594
604
  "type": "object",
595
- "required": [
596
- "entity_id"
597
- ],
605
+ "description": "Message attachments",
598
606
  "properties": {
599
- "entity_id": {
600
- "type": "string",
601
- "description": "File entity ID",
602
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
603
- },
604
- "filename": {
605
- "type": "string",
606
- "description": "File name",
607
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
608
- },
609
- "is_message_attachment": {
610
- "type": "boolean",
611
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
612
- },
613
- "cid": {
614
- "type": "string",
615
- "description": "Content ID (for inline)",
616
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
617
- },
618
- "inline": {
619
- "type": "boolean",
620
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
621
- "default": false
622
- },
623
- "send_as_link": {
624
- "type": "boolean",
625
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
626
- "default": false
607
+ "$relation": {
608
+ "type": "array",
609
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
610
+ "items": {
611
+ "type": "object",
612
+ "required": [
613
+ "entity_id"
614
+ ],
615
+ "properties": {
616
+ "entity_id": {
617
+ "type": "string",
618
+ "description": "File entity ID",
619
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
620
+ },
621
+ "filename": {
622
+ "type": "string",
623
+ "description": "File name",
624
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
625
+ },
626
+ "is_message_attachment": {
627
+ "type": "boolean",
628
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
629
+ },
630
+ "cid": {
631
+ "type": "string",
632
+ "description": "Content ID (for inline)",
633
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
634
+ },
635
+ "inline": {
636
+ "type": "boolean",
637
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
638
+ "default": false
639
+ },
640
+ "send_as_link": {
641
+ "type": "boolean",
642
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
643
+ "default": false
644
+ }
645
+ }
646
+ }
627
647
  }
628
648
  }
629
649
  },
@@ -979,38 +999,48 @@
979
999
  },
980
1000
  "file": {
981
1001
  "type": "object",
982
- "required": [
983
- "entity_id"
984
- ],
1002
+ "description": "Message attachments",
985
1003
  "properties": {
986
- "entity_id": {
987
- "type": "string",
988
- "description": "File entity ID",
989
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
990
- },
991
- "filename": {
992
- "type": "string",
993
- "description": "File name",
994
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
995
- },
996
- "is_message_attachment": {
997
- "type": "boolean",
998
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
999
- },
1000
- "cid": {
1001
- "type": "string",
1002
- "description": "Content ID (for inline)",
1003
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1004
- },
1005
- "inline": {
1006
- "type": "boolean",
1007
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1008
- "default": false
1009
- },
1010
- "send_as_link": {
1011
- "type": "boolean",
1012
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1013
- "default": false
1004
+ "$relation": {
1005
+ "type": "array",
1006
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
1007
+ "items": {
1008
+ "type": "object",
1009
+ "required": [
1010
+ "entity_id"
1011
+ ],
1012
+ "properties": {
1013
+ "entity_id": {
1014
+ "type": "string",
1015
+ "description": "File entity ID",
1016
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
1017
+ },
1018
+ "filename": {
1019
+ "type": "string",
1020
+ "description": "File name",
1021
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
1022
+ },
1023
+ "is_message_attachment": {
1024
+ "type": "boolean",
1025
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
1026
+ },
1027
+ "cid": {
1028
+ "type": "string",
1029
+ "description": "Content ID (for inline)",
1030
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1031
+ },
1032
+ "inline": {
1033
+ "type": "boolean",
1034
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1035
+ "default": false
1036
+ },
1037
+ "send_as_link": {
1038
+ "type": "boolean",
1039
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1040
+ "default": false
1041
+ }
1042
+ }
1043
+ }
1014
1044
  }
1015
1045
  }
1016
1046
  },
@@ -1590,38 +1620,48 @@
1590
1620
  },
1591
1621
  "file": {
1592
1622
  "type": "object",
1593
- "required": [
1594
- "entity_id"
1595
- ],
1623
+ "description": "Message attachments",
1596
1624
  "properties": {
1597
- "entity_id": {
1598
- "type": "string",
1599
- "description": "File entity ID",
1600
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
1601
- },
1602
- "filename": {
1603
- "type": "string",
1604
- "description": "File name",
1605
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
1606
- },
1607
- "is_message_attachment": {
1608
- "type": "boolean",
1609
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
1610
- },
1611
- "cid": {
1612
- "type": "string",
1613
- "description": "Content ID (for inline)",
1614
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1615
- },
1616
- "inline": {
1617
- "type": "boolean",
1618
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1619
- "default": false
1620
- },
1621
- "send_as_link": {
1622
- "type": "boolean",
1623
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1624
- "default": false
1625
+ "$relation": {
1626
+ "type": "array",
1627
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
1628
+ "items": {
1629
+ "type": "object",
1630
+ "required": [
1631
+ "entity_id"
1632
+ ],
1633
+ "properties": {
1634
+ "entity_id": {
1635
+ "type": "string",
1636
+ "description": "File entity ID",
1637
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
1638
+ },
1639
+ "filename": {
1640
+ "type": "string",
1641
+ "description": "File name",
1642
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
1643
+ },
1644
+ "is_message_attachment": {
1645
+ "type": "boolean",
1646
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
1647
+ },
1648
+ "cid": {
1649
+ "type": "string",
1650
+ "description": "Content ID (for inline)",
1651
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1652
+ },
1653
+ "inline": {
1654
+ "type": "boolean",
1655
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1656
+ "default": false
1657
+ },
1658
+ "send_as_link": {
1659
+ "type": "boolean",
1660
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1661
+ "default": false
1662
+ }
1663
+ }
1664
+ }
1625
1665
  }
1626
1666
  }
1627
1667
  },
@@ -1899,38 +1939,48 @@
1899
1939
  },
1900
1940
  "file": {
1901
1941
  "type": "object",
1902
- "required": [
1903
- "entity_id"
1904
- ],
1942
+ "description": "Message attachments",
1905
1943
  "properties": {
1906
- "entity_id": {
1907
- "type": "string",
1908
- "description": "File entity ID",
1909
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
1910
- },
1911
- "filename": {
1912
- "type": "string",
1913
- "description": "File name",
1914
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
1915
- },
1916
- "is_message_attachment": {
1917
- "type": "boolean",
1918
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
1919
- },
1920
- "cid": {
1921
- "type": "string",
1922
- "description": "Content ID (for inline)",
1923
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1924
- },
1925
- "inline": {
1926
- "type": "boolean",
1927
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1928
- "default": false
1929
- },
1930
- "send_as_link": {
1931
- "type": "boolean",
1932
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1933
- "default": false
1944
+ "$relation": {
1945
+ "type": "array",
1946
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
1947
+ "items": {
1948
+ "type": "object",
1949
+ "required": [
1950
+ "entity_id"
1951
+ ],
1952
+ "properties": {
1953
+ "entity_id": {
1954
+ "type": "string",
1955
+ "description": "File entity ID",
1956
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
1957
+ },
1958
+ "filename": {
1959
+ "type": "string",
1960
+ "description": "File name",
1961
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
1962
+ },
1963
+ "is_message_attachment": {
1964
+ "type": "boolean",
1965
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
1966
+ },
1967
+ "cid": {
1968
+ "type": "string",
1969
+ "description": "Content ID (for inline)",
1970
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
1971
+ },
1972
+ "inline": {
1973
+ "type": "boolean",
1974
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
1975
+ "default": false
1976
+ },
1977
+ "send_as_link": {
1978
+ "type": "boolean",
1979
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
1980
+ "default": false
1981
+ }
1982
+ }
1983
+ }
1934
1984
  }
1935
1985
  }
1936
1986
  },
@@ -2327,38 +2377,48 @@
2327
2377
  },
2328
2378
  "file": {
2329
2379
  "type": "object",
2330
- "required": [
2331
- "entity_id"
2332
- ],
2380
+ "description": "Message attachments",
2333
2381
  "properties": {
2334
- "entity_id": {
2335
- "type": "string",
2336
- "description": "File entity ID",
2337
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
2338
- },
2339
- "filename": {
2340
- "type": "string",
2341
- "description": "File name",
2342
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
2343
- },
2344
- "is_message_attachment": {
2345
- "type": "boolean",
2346
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
2347
- },
2348
- "cid": {
2349
- "type": "string",
2350
- "description": "Content ID (for inline)",
2351
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
2352
- },
2353
- "inline": {
2354
- "type": "boolean",
2355
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
2356
- "default": false
2357
- },
2358
- "send_as_link": {
2359
- "type": "boolean",
2360
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
2361
- "default": false
2382
+ "$relation": {
2383
+ "type": "array",
2384
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
2385
+ "items": {
2386
+ "type": "object",
2387
+ "required": [
2388
+ "entity_id"
2389
+ ],
2390
+ "properties": {
2391
+ "entity_id": {
2392
+ "type": "string",
2393
+ "description": "File entity ID",
2394
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
2395
+ },
2396
+ "filename": {
2397
+ "type": "string",
2398
+ "description": "File name",
2399
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
2400
+ },
2401
+ "is_message_attachment": {
2402
+ "type": "boolean",
2403
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
2404
+ },
2405
+ "cid": {
2406
+ "type": "string",
2407
+ "description": "Content ID (for inline)",
2408
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
2409
+ },
2410
+ "inline": {
2411
+ "type": "boolean",
2412
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
2413
+ "default": false
2414
+ },
2415
+ "send_as_link": {
2416
+ "type": "boolean",
2417
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
2418
+ "default": false
2419
+ }
2420
+ }
2421
+ }
2362
2422
  }
2363
2423
  }
2364
2424
  },
@@ -2636,38 +2696,48 @@
2636
2696
  },
2637
2697
  "file": {
2638
2698
  "type": "object",
2639
- "required": [
2640
- "entity_id"
2641
- ],
2699
+ "description": "Message attachments",
2642
2700
  "properties": {
2643
- "entity_id": {
2644
- "type": "string",
2645
- "description": "File entity ID",
2646
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
2647
- },
2648
- "filename": {
2649
- "type": "string",
2650
- "description": "File name",
2651
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
2652
- },
2653
- "is_message_attachment": {
2654
- "type": "boolean",
2655
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
2656
- },
2657
- "cid": {
2658
- "type": "string",
2659
- "description": "Content ID (for inline)",
2660
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
2661
- },
2662
- "inline": {
2663
- "type": "boolean",
2664
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
2665
- "default": false
2666
- },
2667
- "send_as_link": {
2668
- "type": "boolean",
2669
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
2670
- "default": false
2701
+ "$relation": {
2702
+ "type": "array",
2703
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
2704
+ "items": {
2705
+ "type": "object",
2706
+ "required": [
2707
+ "entity_id"
2708
+ ],
2709
+ "properties": {
2710
+ "entity_id": {
2711
+ "type": "string",
2712
+ "description": "File entity ID",
2713
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
2714
+ },
2715
+ "filename": {
2716
+ "type": "string",
2717
+ "description": "File name",
2718
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
2719
+ },
2720
+ "is_message_attachment": {
2721
+ "type": "boolean",
2722
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
2723
+ },
2724
+ "cid": {
2725
+ "type": "string",
2726
+ "description": "Content ID (for inline)",
2727
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
2728
+ },
2729
+ "inline": {
2730
+ "type": "boolean",
2731
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
2732
+ "default": false
2733
+ },
2734
+ "send_as_link": {
2735
+ "type": "boolean",
2736
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
2737
+ "default": false
2738
+ }
2739
+ }
2740
+ }
2671
2741
  }
2672
2742
  }
2673
2743
  },
@@ -3136,38 +3206,48 @@
3136
3206
  },
3137
3207
  "file": {
3138
3208
  "type": "object",
3139
- "required": [
3140
- "entity_id"
3141
- ],
3209
+ "description": "Message attachments",
3142
3210
  "properties": {
3143
- "entity_id": {
3144
- "type": "string",
3145
- "description": "File entity ID",
3146
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3147
- },
3148
- "filename": {
3149
- "type": "string",
3150
- "description": "File name",
3151
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3152
- },
3153
- "is_message_attachment": {
3154
- "type": "boolean",
3155
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3156
- },
3157
- "cid": {
3158
- "type": "string",
3159
- "description": "Content ID (for inline)",
3160
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3161
- },
3162
- "inline": {
3163
- "type": "boolean",
3164
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3165
- "default": false
3166
- },
3167
- "send_as_link": {
3168
- "type": "boolean",
3169
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3170
- "default": false
3211
+ "$relation": {
3212
+ "type": "array",
3213
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
3214
+ "items": {
3215
+ "type": "object",
3216
+ "required": [
3217
+ "entity_id"
3218
+ ],
3219
+ "properties": {
3220
+ "entity_id": {
3221
+ "type": "string",
3222
+ "description": "File entity ID",
3223
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3224
+ },
3225
+ "filename": {
3226
+ "type": "string",
3227
+ "description": "File name",
3228
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3229
+ },
3230
+ "is_message_attachment": {
3231
+ "type": "boolean",
3232
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3233
+ },
3234
+ "cid": {
3235
+ "type": "string",
3236
+ "description": "Content ID (for inline)",
3237
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3238
+ },
3239
+ "inline": {
3240
+ "type": "boolean",
3241
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3242
+ "default": false
3243
+ },
3244
+ "send_as_link": {
3245
+ "type": "boolean",
3246
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3247
+ "default": false
3248
+ }
3249
+ }
3250
+ }
3171
3251
  }
3172
3252
  }
3173
3253
  }
@@ -3454,38 +3534,48 @@
3454
3534
  },
3455
3535
  "file": {
3456
3536
  "type": "object",
3457
- "required": [
3458
- "entity_id"
3459
- ],
3537
+ "description": "Message attachments",
3460
3538
  "properties": {
3461
- "entity_id": {
3462
- "type": "string",
3463
- "description": "File entity ID",
3464
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3465
- },
3466
- "filename": {
3467
- "type": "string",
3468
- "description": "File name",
3469
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3470
- },
3471
- "is_message_attachment": {
3472
- "type": "boolean",
3473
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3474
- },
3475
- "cid": {
3476
- "type": "string",
3477
- "description": "Content ID (for inline)",
3478
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3479
- },
3480
- "inline": {
3481
- "type": "boolean",
3482
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3483
- "default": false
3484
- },
3485
- "send_as_link": {
3486
- "type": "boolean",
3487
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3488
- "default": false
3539
+ "$relation": {
3540
+ "type": "array",
3541
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
3542
+ "items": {
3543
+ "type": "object",
3544
+ "required": [
3545
+ "entity_id"
3546
+ ],
3547
+ "properties": {
3548
+ "entity_id": {
3549
+ "type": "string",
3550
+ "description": "File entity ID",
3551
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3552
+ },
3553
+ "filename": {
3554
+ "type": "string",
3555
+ "description": "File name",
3556
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3557
+ },
3558
+ "is_message_attachment": {
3559
+ "type": "boolean",
3560
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3561
+ },
3562
+ "cid": {
3563
+ "type": "string",
3564
+ "description": "Content ID (for inline)",
3565
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3566
+ },
3567
+ "inline": {
3568
+ "type": "boolean",
3569
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3570
+ "default": false
3571
+ },
3572
+ "send_as_link": {
3573
+ "type": "boolean",
3574
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3575
+ "default": false
3576
+ }
3577
+ }
3578
+ }
3489
3579
  }
3490
3580
  }
3491
3581
  },
@@ -3843,38 +3933,48 @@
3843
3933
  },
3844
3934
  "file": {
3845
3935
  "type": "object",
3846
- "required": [
3847
- "entity_id"
3848
- ],
3936
+ "description": "Message attachments",
3849
3937
  "properties": {
3850
- "entity_id": {
3851
- "type": "string",
3852
- "description": "File entity ID",
3853
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3854
- },
3855
- "filename": {
3856
- "type": "string",
3857
- "description": "File name",
3858
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3859
- },
3860
- "is_message_attachment": {
3861
- "type": "boolean",
3862
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3863
- },
3864
- "cid": {
3865
- "type": "string",
3866
- "description": "Content ID (for inline)",
3867
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3868
- },
3869
- "inline": {
3870
- "type": "boolean",
3871
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3872
- "default": false
3873
- },
3874
- "send_as_link": {
3875
- "type": "boolean",
3876
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3877
- "default": false
3938
+ "$relation": {
3939
+ "type": "array",
3940
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
3941
+ "items": {
3942
+ "type": "object",
3943
+ "required": [
3944
+ "entity_id"
3945
+ ],
3946
+ "properties": {
3947
+ "entity_id": {
3948
+ "type": "string",
3949
+ "description": "File entity ID",
3950
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
3951
+ },
3952
+ "filename": {
3953
+ "type": "string",
3954
+ "description": "File name",
3955
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
3956
+ },
3957
+ "is_message_attachment": {
3958
+ "type": "boolean",
3959
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
3960
+ },
3961
+ "cid": {
3962
+ "type": "string",
3963
+ "description": "Content ID (for inline)",
3964
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
3965
+ },
3966
+ "inline": {
3967
+ "type": "boolean",
3968
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
3969
+ "default": false
3970
+ },
3971
+ "send_as_link": {
3972
+ "type": "boolean",
3973
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
3974
+ "default": false
3975
+ }
3976
+ }
3977
+ }
3878
3978
  }
3879
3979
  }
3880
3980
  },
@@ -4267,38 +4367,48 @@
4267
4367
  },
4268
4368
  "file": {
4269
4369
  "type": "object",
4270
- "required": [
4271
- "entity_id"
4272
- ],
4370
+ "description": "Message attachments",
4273
4371
  "properties": {
4274
- "entity_id": {
4275
- "type": "string",
4276
- "description": "File entity ID",
4277
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
4278
- },
4279
- "filename": {
4280
- "type": "string",
4281
- "description": "File name",
4282
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
4283
- },
4284
- "is_message_attachment": {
4285
- "type": "boolean",
4286
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
4287
- },
4288
- "cid": {
4289
- "type": "string",
4290
- "description": "Content ID (for inline)",
4291
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
4292
- },
4293
- "inline": {
4294
- "type": "boolean",
4295
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
4296
- "default": false
4297
- },
4298
- "send_as_link": {
4299
- "type": "boolean",
4300
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
4301
- "default": false
4372
+ "$relation": {
4373
+ "type": "array",
4374
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
4375
+ "items": {
4376
+ "type": "object",
4377
+ "required": [
4378
+ "entity_id"
4379
+ ],
4380
+ "properties": {
4381
+ "entity_id": {
4382
+ "type": "string",
4383
+ "description": "File entity ID",
4384
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
4385
+ },
4386
+ "filename": {
4387
+ "type": "string",
4388
+ "description": "File name",
4389
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
4390
+ },
4391
+ "is_message_attachment": {
4392
+ "type": "boolean",
4393
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
4394
+ },
4395
+ "cid": {
4396
+ "type": "string",
4397
+ "description": "Content ID (for inline)",
4398
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
4399
+ },
4400
+ "inline": {
4401
+ "type": "boolean",
4402
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
4403
+ "default": false
4404
+ },
4405
+ "send_as_link": {
4406
+ "type": "boolean",
4407
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
4408
+ "default": false
4409
+ }
4410
+ }
4411
+ }
4302
4412
  }
4303
4413
  }
4304
4414
  },
@@ -4576,38 +4686,48 @@
4576
4686
  },
4577
4687
  "file": {
4578
4688
  "type": "object",
4579
- "required": [
4580
- "entity_id"
4581
- ],
4689
+ "description": "Message attachments",
4582
4690
  "properties": {
4583
- "entity_id": {
4584
- "type": "string",
4585
- "description": "File entity ID",
4586
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
4587
- },
4588
- "filename": {
4589
- "type": "string",
4590
- "description": "File name",
4591
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
4592
- },
4593
- "is_message_attachment": {
4594
- "type": "boolean",
4595
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
4596
- },
4597
- "cid": {
4598
- "type": "string",
4599
- "description": "Content ID (for inline)",
4600
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
4601
- },
4602
- "inline": {
4603
- "type": "boolean",
4604
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
4605
- "default": false
4606
- },
4607
- "send_as_link": {
4608
- "type": "boolean",
4609
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
4610
- "default": false
4691
+ "$relation": {
4692
+ "type": "array",
4693
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
4694
+ "items": {
4695
+ "type": "object",
4696
+ "required": [
4697
+ "entity_id"
4698
+ ],
4699
+ "properties": {
4700
+ "entity_id": {
4701
+ "type": "string",
4702
+ "description": "File entity ID",
4703
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
4704
+ },
4705
+ "filename": {
4706
+ "type": "string",
4707
+ "description": "File name",
4708
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
4709
+ },
4710
+ "is_message_attachment": {
4711
+ "type": "boolean",
4712
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
4713
+ },
4714
+ "cid": {
4715
+ "type": "string",
4716
+ "description": "Content ID (for inline)",
4717
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
4718
+ },
4719
+ "inline": {
4720
+ "type": "boolean",
4721
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
4722
+ "default": false
4723
+ },
4724
+ "send_as_link": {
4725
+ "type": "boolean",
4726
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
4727
+ "default": false
4728
+ }
4729
+ }
4730
+ }
4611
4731
  }
4612
4732
  }
4613
4733
  },
@@ -4887,38 +5007,48 @@
4887
5007
  },
4888
5008
  "file": {
4889
5009
  "type": "object",
4890
- "required": [
4891
- "entity_id"
4892
- ],
5010
+ "description": "Message attachments",
4893
5011
  "properties": {
4894
- "entity_id": {
4895
- "type": "string",
4896
- "description": "File entity ID",
4897
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
4898
- },
4899
- "filename": {
4900
- "type": "string",
4901
- "description": "File name",
4902
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
4903
- },
4904
- "is_message_attachment": {
4905
- "type": "boolean",
4906
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
4907
- },
4908
- "cid": {
4909
- "type": "string",
4910
- "description": "Content ID (for inline)",
4911
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
4912
- },
4913
- "inline": {
4914
- "type": "boolean",
4915
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
4916
- "default": false
4917
- },
4918
- "send_as_link": {
4919
- "type": "boolean",
4920
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
4921
- "default": false
5012
+ "$relation": {
5013
+ "type": "array",
5014
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
5015
+ "items": {
5016
+ "type": "object",
5017
+ "required": [
5018
+ "entity_id"
5019
+ ],
5020
+ "properties": {
5021
+ "entity_id": {
5022
+ "type": "string",
5023
+ "description": "File entity ID",
5024
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
5025
+ },
5026
+ "filename": {
5027
+ "type": "string",
5028
+ "description": "File name",
5029
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
5030
+ },
5031
+ "is_message_attachment": {
5032
+ "type": "boolean",
5033
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
5034
+ },
5035
+ "cid": {
5036
+ "type": "string",
5037
+ "description": "Content ID (for inline)",
5038
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5039
+ },
5040
+ "inline": {
5041
+ "type": "boolean",
5042
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
5043
+ "default": false
5044
+ },
5045
+ "send_as_link": {
5046
+ "type": "boolean",
5047
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
5048
+ "default": false
5049
+ }
5050
+ }
5051
+ }
4922
5052
  }
4923
5053
  }
4924
5054
  },
@@ -5335,38 +5465,48 @@
5335
5465
  },
5336
5466
  "file": {
5337
5467
  "type": "object",
5338
- "required": [
5339
- "entity_id"
5340
- ],
5468
+ "description": "Message attachments",
5341
5469
  "properties": {
5342
- "entity_id": {
5343
- "type": "string",
5344
- "description": "File entity ID",
5345
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
5346
- },
5347
- "filename": {
5348
- "type": "string",
5349
- "description": "File name",
5350
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
5351
- },
5352
- "is_message_attachment": {
5353
- "type": "boolean",
5354
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
5355
- },
5356
- "cid": {
5357
- "type": "string",
5358
- "description": "Content ID (for inline)",
5359
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5360
- },
5361
- "inline": {
5362
- "type": "boolean",
5363
- "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
5364
- "default": false
5365
- },
5366
- "send_as_link": {
5367
- "type": "boolean",
5368
- "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
5369
- "default": false
5470
+ "$relation": {
5471
+ "type": "array",
5472
+ "description": "It's normal entity relation with some additional properties for sending message attachment.",
5473
+ "items": {
5474
+ "type": "object",
5475
+ "required": [
5476
+ "entity_id"
5477
+ ],
5478
+ "properties": {
5479
+ "entity_id": {
5480
+ "type": "string",
5481
+ "description": "File entity ID",
5482
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
5483
+ },
5484
+ "filename": {
5485
+ "type": "string",
5486
+ "description": "File name",
5487
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
5488
+ },
5489
+ "is_message_attachment": {
5490
+ "type": "boolean",
5491
+ "description": "To indicate this file relation is message attachment. If false then this file will not be sent and simply kept as a file relation."
5492
+ },
5493
+ "cid": {
5494
+ "type": "string",
5495
+ "description": "Content ID (for inline)",
5496
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5497
+ },
5498
+ "inline": {
5499
+ "type": "boolean",
5500
+ "description": "If true then this attachment should not be offered for download (at least not in the main attachments list).\\\nThe usecase is CID embedded image (aka inline image).\n",
5501
+ "default": false
5502
+ },
5503
+ "send_as_link": {
5504
+ "type": "boolean",
5505
+ "description": "If true then this attachment is sent via link. The link have to be inserted to email body by API caller.\\\nIn this case, service doesn't process this attachment.\n",
5506
+ "default": false
5507
+ }
5508
+ }
5509
+ }
5370
5510
  }
5371
5511
  }
5372
5512
  }