@epilot/message-client 1.0.1 → 1.1.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.
package/dist/openapi.json CHANGED
@@ -274,48 +274,38 @@
274
274
  },
275
275
  "file": {
276
276
  "type": "object",
277
- "description": "Message attachments",
277
+ "required": [
278
+ "entity_id"
279
+ ],
278
280
  "properties": {
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."
301
- },
302
- "cid": {
303
- "type": "string",
304
- "description": "Content ID",
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
- }
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
319
309
  }
320
310
  }
321
311
  }
@@ -602,48 +592,38 @@
602
592
  },
603
593
  "file": {
604
594
  "type": "object",
605
- "description": "Message attachments",
595
+ "required": [
596
+ "entity_id"
597
+ ],
606
598
  "properties": {
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."
629
- },
630
- "cid": {
631
- "type": "string",
632
- "description": "Content ID",
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
- }
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
647
627
  }
648
628
  }
649
629
  },
@@ -999,48 +979,38 @@
999
979
  },
1000
980
  "file": {
1001
981
  "type": "object",
1002
- "description": "Message attachments",
982
+ "required": [
983
+ "entity_id"
984
+ ],
1003
985
  "properties": {
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."
1026
- },
1027
- "cid": {
1028
- "type": "string",
1029
- "description": "Content ID",
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
- }
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
1044
1014
  }
1045
1015
  }
1046
1016
  },
@@ -1620,48 +1590,38 @@
1620
1590
  },
1621
1591
  "file": {
1622
1592
  "type": "object",
1623
- "description": "Message attachments",
1593
+ "required": [
1594
+ "entity_id"
1595
+ ],
1624
1596
  "properties": {
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."
1647
- },
1648
- "cid": {
1649
- "type": "string",
1650
- "description": "Content ID",
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
- }
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
1665
1625
  }
1666
1626
  }
1667
1627
  },
@@ -1939,48 +1899,38 @@
1939
1899
  },
1940
1900
  "file": {
1941
1901
  "type": "object",
1942
- "description": "Message attachments",
1902
+ "required": [
1903
+ "entity_id"
1904
+ ],
1943
1905
  "properties": {
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."
1966
- },
1967
- "cid": {
1968
- "type": "string",
1969
- "description": "Content ID",
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
- }
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
1984
1934
  }
1985
1935
  }
1986
1936
  },
@@ -2377,48 +2327,38 @@
2377
2327
  },
2378
2328
  "file": {
2379
2329
  "type": "object",
2380
- "description": "Message attachments",
2330
+ "required": [
2331
+ "entity_id"
2332
+ ],
2381
2333
  "properties": {
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."
2404
- },
2405
- "cid": {
2406
- "type": "string",
2407
- "description": "Content ID",
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
- }
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
2422
2362
  }
2423
2363
  }
2424
2364
  },
@@ -2696,48 +2636,38 @@
2696
2636
  },
2697
2637
  "file": {
2698
2638
  "type": "object",
2699
- "description": "Message attachments",
2639
+ "required": [
2640
+ "entity_id"
2641
+ ],
2700
2642
  "properties": {
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."
2723
- },
2724
- "cid": {
2725
- "type": "string",
2726
- "description": "Content ID",
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
- }
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
2741
2671
  }
2742
2672
  }
2743
2673
  },
@@ -3206,48 +3136,38 @@
3206
3136
  },
3207
3137
  "file": {
3208
3138
  "type": "object",
3209
- "description": "Message attachments",
3139
+ "required": [
3140
+ "entity_id"
3141
+ ],
3210
3142
  "properties": {
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."
3233
- },
3234
- "cid": {
3235
- "type": "string",
3236
- "description": "Content ID",
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
- }
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
3251
3171
  }
3252
3172
  }
3253
3173
  }
@@ -3534,48 +3454,38 @@
3534
3454
  },
3535
3455
  "file": {
3536
3456
  "type": "object",
3537
- "description": "Message attachments",
3457
+ "required": [
3458
+ "entity_id"
3459
+ ],
3538
3460
  "properties": {
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."
3561
- },
3562
- "cid": {
3563
- "type": "string",
3564
- "description": "Content ID",
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
- }
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
3579
3489
  }
3580
3490
  }
3581
3491
  },
@@ -3933,48 +3843,38 @@
3933
3843
  },
3934
3844
  "file": {
3935
3845
  "type": "object",
3936
- "description": "Message attachments",
3846
+ "required": [
3847
+ "entity_id"
3848
+ ],
3937
3849
  "properties": {
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."
3960
- },
3961
- "cid": {
3962
- "type": "string",
3963
- "description": "Content ID",
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
- }
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
3978
3878
  }
3979
3879
  }
3980
3880
  },
@@ -4367,48 +4267,38 @@
4367
4267
  },
4368
4268
  "file": {
4369
4269
  "type": "object",
4370
- "description": "Message attachments",
4270
+ "required": [
4271
+ "entity_id"
4272
+ ],
4371
4273
  "properties": {
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."
4394
- },
4395
- "cid": {
4396
- "type": "string",
4397
- "description": "Content ID",
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
- }
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
4412
4302
  }
4413
4303
  }
4414
4304
  },
@@ -4686,48 +4576,38 @@
4686
4576
  },
4687
4577
  "file": {
4688
4578
  "type": "object",
4689
- "description": "Message attachments",
4579
+ "required": [
4580
+ "entity_id"
4581
+ ],
4690
4582
  "properties": {
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."
4713
- },
4714
- "cid": {
4715
- "type": "string",
4716
- "description": "Content ID",
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
- }
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
4731
4611
  }
4732
4612
  }
4733
4613
  },
@@ -5007,48 +4887,38 @@
5007
4887
  },
5008
4888
  "file": {
5009
4889
  "type": "object",
5010
- "description": "Message attachments",
4890
+ "required": [
4891
+ "entity_id"
4892
+ ],
5011
4893
  "properties": {
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."
5034
- },
5035
- "cid": {
5036
- "type": "string",
5037
- "description": "Content ID",
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
- }
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
5052
4922
  }
5053
4923
  }
5054
4924
  },
@@ -5143,7 +5013,7 @@
5143
5013
  }
5144
5014
  }
5145
5015
  },
5146
- "File": {
5016
+ "AttachmentsRelation": {
5147
5017
  "type": "object",
5148
5018
  "description": "Message attachments",
5149
5019
  "properties": {
@@ -5168,11 +5038,11 @@
5168
5038
  },
5169
5039
  "is_message_attachment": {
5170
5040
  "type": "boolean",
5171
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent."
5041
+ "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."
5172
5042
  },
5173
5043
  "cid": {
5174
5044
  "type": "string",
5175
- "description": "Content ID",
5045
+ "description": "Content ID (for inline)",
5176
5046
  "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5177
5047
  },
5178
5048
  "inline": {
@@ -5190,6 +5060,43 @@
5190
5060
  }
5191
5061
  }
5192
5062
  },
5063
+ "File": {
5064
+ "type": "object",
5065
+ "required": [
5066
+ "entity_id"
5067
+ ],
5068
+ "properties": {
5069
+ "entity_id": {
5070
+ "type": "string",
5071
+ "description": "File entity ID",
5072
+ "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
5073
+ },
5074
+ "filename": {
5075
+ "type": "string",
5076
+ "description": "File name",
5077
+ "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
5078
+ },
5079
+ "is_message_attachment": {
5080
+ "type": "boolean",
5081
+ "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."
5082
+ },
5083
+ "cid": {
5084
+ "type": "string",
5085
+ "description": "Content ID (for inline)",
5086
+ "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5087
+ },
5088
+ "inline": {
5089
+ "type": "boolean",
5090
+ "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",
5091
+ "default": false
5092
+ },
5093
+ "send_as_link": {
5094
+ "type": "boolean",
5095
+ "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",
5096
+ "default": false
5097
+ }
5098
+ }
5099
+ },
5193
5100
  "MessageRequestParams": {
5194
5101
  "required": [
5195
5102
  "subject",
@@ -5428,48 +5335,38 @@
5428
5335
  },
5429
5336
  "file": {
5430
5337
  "type": "object",
5431
- "description": "Message attachments",
5338
+ "required": [
5339
+ "entity_id"
5340
+ ],
5432
5341
  "properties": {
5433
- "$relation": {
5434
- "type": "array",
5435
- "description": "It's normal entity relation with some additional properties for sending message attachment.",
5436
- "items": {
5437
- "type": "object",
5438
- "required": [
5439
- "entity_id"
5440
- ],
5441
- "properties": {
5442
- "entity_id": {
5443
- "type": "string",
5444
- "description": "File entity ID",
5445
- "example": "f820ce3b-07b0-45ae-bcc6-babb2f53f79f"
5446
- },
5447
- "filename": {
5448
- "type": "string",
5449
- "description": "File name",
5450
- "example": "Produktinformationen_epilot360_Double_Opt_in.pdf"
5451
- },
5452
- "is_message_attachment": {
5453
- "type": "boolean",
5454
- "description": "To indicate this file relation is message attachment. If false then this file will not be sent."
5455
- },
5456
- "cid": {
5457
- "type": "string",
5458
- "description": "Content ID",
5459
- "example": "fb222496-a1a5-4639-94f2-07b5e35e4068"
5460
- },
5461
- "inline": {
5462
- "type": "boolean",
5463
- "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",
5464
- "default": false
5465
- },
5466
- "send_as_link": {
5467
- "type": "boolean",
5468
- "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",
5469
- "default": false
5470
- }
5471
- }
5472
- }
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
5473
5370
  }
5474
5371
  }
5475
5372
  }