express-sweet 1.0.43 → 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.
Files changed (73) hide show
  1. package/CHANGELOG.md +44 -6
  2. package/QUICK_START.md +149 -0
  3. package/README.md +53 -149
  4. package/dist/build.common.js +28 -22
  5. package/dist/build.esm.js +28 -22
  6. package/docs/package-lock.json +1243 -35
  7. package/docs/package.json +1 -1
  8. package/docs/src/authentication-overview.hbs +14 -0
  9. package/docs/src/database-class.hbs +1 -1
  10. package/docs/src/index.hbs +2 -2
  11. package/docs/src/install.hbs +12 -12
  12. package/docs/src/layout/default.hbs +145 -23
  13. package/docs/src/model-class.hbs +28 -28
  14. package/docs/src/rekognition-class.hbs +17 -17
  15. package/docs/src/ses-class.hbs +13 -13
  16. package/docs/src/view.hbs +66 -66
  17. package/docs/v1/authentication-overview.html +158 -22
  18. package/docs/v1/base-configuration.html +144 -22
  19. package/docs/v1/bounding-box-interface.html +144 -22
  20. package/docs/v1/changelog.html +144 -22
  21. package/docs/v1/css/app.css +21 -0
  22. package/docs/v1/database-class.html +145 -23
  23. package/docs/v1/download/templates/cjs/database.js +3 -3
  24. package/docs/v1/download/templates/esm/database.js +3 -3
  25. package/docs/v1/environment-variable.html +144 -22
  26. package/docs/v1/face-details-emotions-interface.html +144 -22
  27. package/docs/v1/face-details-interface.html +144 -22
  28. package/docs/v1/face-match-interface.html +144 -22
  29. package/docs/v1/facial-recognition-overview.html +144 -22
  30. package/docs/v1/index-face-details-interface.html +144 -22
  31. package/docs/v1/index.html +146 -24
  32. package/docs/v1/install.html +156 -34
  33. package/docs/v1/login-procedure.html +144 -22
  34. package/docs/v1/logout-procedure.html +144 -22
  35. package/docs/v1/media/logos/default-dark.svg +1 -0
  36. package/docs/v1/media/logos/default-small-dark.svg +1 -0
  37. package/docs/v1/media/logos/default-small.svg +1 -1
  38. package/docs/v1/media/logos/default.svg +1 -1
  39. package/docs/v1/media/logos/favicon.svg +1 -1
  40. package/docs/v1/media/screencaps/login.jpg +0 -0
  41. package/docs/v1/media/screencaps/personal.jpg +0 -0
  42. package/docs/v1/media/screencaps/user-editing.jpg +0 -0
  43. package/docs/v1/media/screencaps/users.jpg +0 -0
  44. package/docs/v1/model-class.html +172 -50
  45. package/docs/v1/model-overview.html +144 -22
  46. package/docs/v1/rekognition-class.html +161 -39
  47. package/docs/v1/routing.html +144 -22
  48. package/docs/v1/ses-class.html +157 -35
  49. package/docs/v1/ses-overview.html +144 -22
  50. package/docs/v1/view.html +210 -88
  51. package/package.json +14 -19
  52. package/screencaps/login.jpg +0 -0
  53. package/screencaps/personal.jpg +0 -0
  54. package/screencaps/user-editing.jpg +0 -0
  55. package/screencaps/users.jpg +0 -0
  56. package/types/interfaces/AuthenticationConfig.d.ts +13 -0
  57. package/types/interfaces/BasicConfig.d.ts +1 -0
  58. package/types/interfaces/ViewConfig.d.ts +1 -0
  59. package/types/services/Authentication.d.ts +1 -0
  60. package/docs/v1/css/docs.css +0 -37
  61. package/docs/v1/media/screencaps/login.png +0 -0
  62. package/docs/v1/media/screencaps/personal-editing.png +0 -0
  63. package/docs/v1/media/screencaps/personal.png +0 -0
  64. package/docs/v1/media/screencaps/user-editing.png +0 -0
  65. package/docs/v1/media/screencaps/users.png +0 -0
  66. package/hero.svg +0 -1
  67. package/screencaps/login.png +0 -0
  68. package/screencaps/personal-editing.png +0 -0
  69. package/screencaps/personal.png +0 -0
  70. package/screencaps/user-editing.png +0 -0
  71. package/screencaps/users.png +0 -0
  72. /package/docs/{compile-documentation.js → generate-documentation.js} +0 -0
  73. /package/docs/v1/js/{docs.js → app.js} +0 -0
@@ -635,7 +635,7 @@ module.exports = class extends Model {
635
635
  This is an alias for the <code>"sequelize.Sequelize.transaction()"</code> method.<br>
636
636
  See <a href="https://sequelize.org/api/v6/class/src/sequelize.js~sequelize#instance-method-transaction" class="fw-semibold" target="_blank">here</a> for details.
637
637
  <!--begin::Heading-->
638
- <div class="py-3 text-gray-700">Parameters:</div>
638
+ <h5 class="py-2 mb-0">Parameters:</h5>
639
639
  <!--end::Heading-->
640
640
  <!--begin::Parameters-->
641
641
  <ul>
@@ -647,7 +647,7 @@ module.exports = class extends Model {
647
647
  </ul>
648
648
  <!--end::Parameters-->
649
649
  <!--begin::Heading-->
650
- <div class="py-3 text-gray-700">Return value:</div>
650
+ <h5 class="py-2 mb-0">Return:</h5>
651
651
  <!--end::Heading-->
652
652
  <!--begin::Return-->
653
653
  <ul class="list-style-none">
@@ -748,7 +748,7 @@ try {
748
748
  Builds a new model instance and calls <code>save</code> on it.<br>
749
749
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-create" class="fw-semibold" target="_blank">here</a> for details.
750
750
  <!--begin::Heading-->
751
- <div class="py-3 text-gray-700">Parameters:</div>
751
+ <h5 class="py-2 mb-0">Parameters:</h5>
752
752
  <!--end::Heading-->
753
753
  <!--begin::Parameters-->
754
754
  <ul>
@@ -765,7 +765,7 @@ try {
765
765
  </ul>
766
766
  <!--end::Parameters-->
767
767
  <!--begin::Heading-->
768
- <div class="py-3 text-gray-700">Return value:</div>
768
+ <h5 class="py-2 mb-0">Return:</h5>
769
769
  <!--end::Heading-->
770
770
  <!--begin::Return-->
771
771
  <ul class="list-style-none">
@@ -811,7 +811,7 @@ await BookModel.create({title: &#039;Beautiful&#039;});</code></pre>
811
811
  Validates this instance, and if the validation passes, persists it to the database.<br>
812
812
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#instance-method-save" class="fw-semibold" target="_blank">here</a> for details.
813
813
  <!--begin::Heading-->
814
- <div class="py-3 text-gray-700">Parameters:</div>
814
+ <h5 class="py-2 mb-0">Parameters:</h5>
815
815
  <!--end::Heading-->
816
816
  <!--begin::Parameters-->
817
817
  <ul>
@@ -823,7 +823,7 @@ await BookModel.create({title: &#039;Beautiful&#039;});</code></pre>
823
823
  </ul>
824
824
  <!--end::Parameters-->
825
825
  <!--begin::Heading-->
826
- <div class="py-3 text-gray-700">Return value:</div>
826
+ <h5 class="py-2 mb-0">Return:</h5>
827
827
  <!--end::Heading-->
828
828
  <!--begin::Return-->
829
829
  <ul class="list-style-none">
@@ -880,7 +880,7 @@ await book.save();</code></pre>
880
880
  Returns the first instance found, or null if none can be found.<br>
881
881
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-findOne" class="fw-semibold" target="_blank">here</a> for details.
882
882
  <!--begin::Heading-->
883
- <div class="py-3 text-gray-700">Parameters:</div>
883
+ <h5 class="py-2 mb-0">Parameters:</h5>
884
884
  <!--end::Heading-->
885
885
  <!--begin::Parameters-->
886
886
  <ul>
@@ -892,7 +892,7 @@ await book.save();</code></pre>
892
892
  </ul>
893
893
  <!--end::Parameters-->
894
894
  <!--begin::Heading-->
895
- <div class="py-3 text-gray-700">Return value:</div>
895
+ <h5 class="py-2 mb-0">Return:</h5>
896
896
  <!--end::Heading-->
897
897
  <!--begin::Return-->
898
898
  <ul class="list-style-none">
@@ -938,7 +938,7 @@ await BookModel.findOne();</code></pre>
938
938
  Search for multiple instances.<br>
939
939
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-findAll" class="fw-semibold" target="_blank">here</a> for details.
940
940
  <!--begin::Heading-->
941
- <div class="py-3 text-gray-700">Parameters:</div>
941
+ <h5 class="py-2 mb-0">Parameters:</h5>
942
942
  <!--end::Heading-->
943
943
  <!--begin::Parameters-->
944
944
  <ul>
@@ -950,7 +950,7 @@ await BookModel.findOne();</code></pre>
950
950
  </ul>
951
951
  <!--end::Parameters-->
952
952
  <!--begin::Heading-->
953
- <div class="py-3 text-gray-700">Return value:</div>
953
+ <h5 class="py-2 mb-0">Return:</h5>
954
954
  <!--end::Heading-->
955
955
  <!--begin::Return-->
956
956
  <ul class="list-style-none">
@@ -1008,7 +1008,7 @@ await BookModel.findAll({
1008
1008
  Count the number of records matching the provided where clause.<br>
1009
1009
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-count" class="fw-semibold" target="_blank">here</a> for details.
1010
1010
  <!--begin::Heading-->
1011
- <div class="py-3 text-gray-700">Parameters:</div>
1011
+ <h5 class="py-2 mb-0">Parameters:</h5>
1012
1012
  <!--end::Heading-->
1013
1013
  <!--begin::Parameters-->
1014
1014
  <ul>
@@ -1020,7 +1020,7 @@ await BookModel.findAll({
1020
1020
  </ul>
1021
1021
  <!--end::Parameters-->
1022
1022
  <!--begin::Heading-->
1023
- <div class="py-3 text-gray-700">Return value:</div>
1023
+ <h5 class="py-2 mb-0">Return:</h5>
1024
1024
  <!--end::Heading-->
1025
1025
  <!--begin::Return-->
1026
1026
  <ul class="list-style-none">
@@ -1066,7 +1066,7 @@ await BookModel.count();</code></pre>
1066
1066
  Update multiple instances that match the where options.<br>
1067
1067
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-update" class="fw-semibold" target="_blank">here</a> for details.
1068
1068
  <!--begin::Heading-->
1069
- <div class="py-3 text-gray-700">Parameters:</div>
1069
+ <h5 class="py-2 mb-0">Parameters:</h5>
1070
1070
  <!--end::Heading-->
1071
1071
  <!--begin::Parameters-->
1072
1072
  <ul>
@@ -1083,7 +1083,7 @@ await BookModel.count();</code></pre>
1083
1083
  </ul>
1084
1084
  <!--end::Parameters-->
1085
1085
  <!--begin::Heading-->
1086
- <div class="py-3 text-gray-700">Return value:</div>
1086
+ <h5 class="py-2 mb-0">Return:</h5>
1087
1087
  <!--end::Heading-->
1088
1088
  <!--begin::Return-->
1089
1089
  <ul class="list-style-none">
@@ -1132,7 +1132,7 @@ await BookModel.update({title: &#039;Lose Yourself&#039;}, {where: {id: 1}});</c
1132
1132
  Otherwise you may experience a unique constraint violation, because sequelize fails to identify the row that should be updated.<br>
1133
1133
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-upsert" class="fw-semibold" target="_blank">here</a> for details.
1134
1134
  <!--begin::Heading-->
1135
- <div class="py-3 text-gray-700">Parameters:</div>
1135
+ <h5 class="py-2 mb-0">Parameters:</h5>
1136
1136
  <!--end::Heading-->
1137
1137
  <!--begin::Parameters-->
1138
1138
  <ul>
@@ -1149,7 +1149,7 @@ await BookModel.update({title: &#039;Lose Yourself&#039;}, {where: {id: 1}});</c
1149
1149
  </ul>
1150
1150
  <!--end::Parameters-->
1151
1151
  <!--begin::Heading-->
1152
- <div class="py-3 text-gray-700">Return value:</div>
1152
+ <h5 class="py-2 mb-0">Return:</h5>
1153
1153
  <!--end::Heading-->
1154
1154
  <!--begin::Return-->
1155
1155
  <ul class="list-style-none">
@@ -1195,7 +1195,7 @@ await BookModel.upsert({title: &#039;Lose Yourself&#039;});</code></pre>
1195
1195
  Delete multiple instances, or set their deletedAt timestamp to the current time if paranoid is enabled.<br>
1196
1196
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-destroy" class="fw-semibold" target="_blank">here</a> for details.
1197
1197
  <!--begin::Heading-->
1198
- <div class="py-3 text-gray-700">Parameters:</div>
1198
+ <h5 class="py-2 mb-0">Parameters:</h5>
1199
1199
  <!--end::Heading-->
1200
1200
  <!--begin::Parameters-->
1201
1201
  <ul>
@@ -1207,7 +1207,7 @@ await BookModel.upsert({title: &#039;Lose Yourself&#039;});</code></pre>
1207
1207
  </ul>
1208
1208
  <!--end::Parameters-->
1209
1209
  <!--begin::Heading-->
1210
- <div class="py-3 text-gray-700">Return value:</div>
1210
+ <h5 class="py-2 mb-0">Return:</h5>
1211
1211
  <!--end::Heading-->
1212
1212
  <!--begin::Return-->
1213
1213
  <ul class="list-style-none">
@@ -1254,7 +1254,7 @@ await BookModel.destroy({where: {id :1}});</code></pre>
1254
1254
  The foreign key is added on the target.<br>
1255
1255
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-hasOne" class="fw-semibold" target="_blank">here</a> for details.
1256
1256
  <!--begin::Heading-->
1257
- <div class="py-3 text-gray-700">Parameters:</div>
1257
+ <h5 class="py-2 mb-0">Parameters:</h5>
1258
1258
  <!--end::Heading-->
1259
1259
  <!--begin::Parameters-->
1260
1260
  <ul>
@@ -1271,7 +1271,7 @@ await BookModel.destroy({where: {id :1}});</code></pre>
1271
1271
  </ul>
1272
1272
  <!--end::Parameters-->
1273
1273
  <!--begin::Heading-->
1274
- <div class="py-3 text-gray-700">Return value:</div>
1274
+ <h5 class="py-2 mb-0">Return:</h5>
1275
1275
  <!--end::Heading-->
1276
1276
  <!--begin::Return-->
1277
1277
  <ul class="list-style-none">
@@ -1434,7 +1434,7 @@ await UserModel.findAll({
1434
1434
  The foreign key is added on the source.<br>
1435
1435
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-belongsTo" class="fw-semibold" target="_blank">here</a> for details.
1436
1436
  <!--begin::Heading-->
1437
- <div class="py-3 text-gray-700">Parameters:</div>
1437
+ <h5 class="py-2 mb-0">Parameters:</h5>
1438
1438
  <!--end::Heading-->
1439
1439
  <!--begin::Parameters-->
1440
1440
  <ul>
@@ -1451,7 +1451,7 @@ await UserModel.findAll({
1451
1451
  </ul>
1452
1452
  <!--end::Parameters-->
1453
1453
  <!--begin::Heading-->
1454
- <div class="py-3 text-gray-700">Return value:</div>
1454
+ <h5 class="py-2 mb-0">Return:</h5>
1455
1455
  <!--end::Heading-->
1456
1456
  <!--begin::Return-->
1457
1457
  <ul class="list-style-none">
@@ -1614,7 +1614,7 @@ await ProfileModel.findAll({
1614
1614
  The foreign key is added on the target.<br>
1615
1615
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-hasMany" class="fw-semibold" target="_blank">here</a> for details.
1616
1616
  <!--begin::Heading-->
1617
- <div class="py-3 text-gray-700">Parameters:</div>
1617
+ <h5 class="py-2 mb-0">Parameters:</h5>
1618
1618
  <!--end::Heading-->
1619
1619
  <!--begin::Parameters-->
1620
1620
  <ul>
@@ -1631,7 +1631,7 @@ await ProfileModel.findAll({
1631
1631
  </ul>
1632
1632
  <!--end::Parameters-->
1633
1633
  <!--begin::Heading-->
1634
- <div class="py-3 text-gray-700">Return value:</div>
1634
+ <h5 class="py-2 mb-0">Return:</h5>
1635
1635
  <!--end::Heading-->
1636
1636
  <!--begin::Return-->
1637
1637
  <ul class="list-style-none">
@@ -1800,7 +1800,7 @@ await UserModel.findAll({
1800
1800
  Defining through is required.<br>
1801
1801
  See <a href="https://sequelize.org/api/v6/class/src/model.js~model#static-method-belongsToMany" class="fw-semibold" target="_blank">here</a> for details.
1802
1802
  <!--begin::Heading-->
1803
- <div class="py-3 text-gray-700">Parameters:</div>
1803
+ <h5 class="py-2 mb-0">Parameters:</h5>
1804
1804
  <!--end::Heading-->
1805
1805
  <!--begin::Parameters-->
1806
1806
  <ul>
@@ -1817,7 +1817,7 @@ await UserModel.findAll({
1817
1817
  </ul>
1818
1818
  <!--end::Parameters-->
1819
1819
  <!--begin::Heading-->
1820
- <div class="py-3 text-gray-700">Return value:</div>
1820
+ <h5 class="py-2 mb-0">Return:</h5>
1821
1821
  <!--end::Heading-->
1822
1822
  <!--begin::Return-->
1823
1823
  <ul class="list-style-none">
@@ -1988,7 +1988,7 @@ await UserModel.findAll({
1988
1988
  This is an alias for the <code>"sequelize.Sequelize.query()"</code> method.<br>
1989
1989
  See <a href="https://sequelize.org/api/v6/class/src/sequelize.js~sequelize#instance-method-query" class="fw-semibold" target="_blank">here</a> for details.
1990
1990
  <!--begin::Heading-->
1991
- <div class="py-3 text-gray-700">Parameters:</div>
1991
+ <h5 class="py-2 mb-0">Parameters:</h5>
1992
1992
  <!--end::Heading-->
1993
1993
  <!--begin::Parameters-->
1994
1994
  <ul>
@@ -2005,7 +2005,7 @@ await UserModel.findAll({
2005
2005
  </ul>
2006
2006
  <!--end::Parameters-->
2007
2007
  <!--begin::Heading-->
2008
- <div class="py-3 text-gray-700">Return value:</div>
2008
+ <h5 class="py-2 mb-0">Return:</h5>
2009
2009
  <!--end::Heading-->
2010
2010
  <!--begin::Return-->
2011
2011
  <ul class="list-style-none">
@@ -66,7 +66,7 @@
66
66
  <td>
67
67
  Constructs a rekognition client object.
68
68
  <!--begin::Heading-->
69
- <div class="py-3 text-gray-700">Parameters:</div>
69
+ <h5 class="py-2 mb-0">Parameters:</h5>
70
70
  <!--end::Heading-->
71
71
  <!--begin::Parameters-->
72
72
  <ul>
@@ -149,7 +149,7 @@ const client = new sweet.services.AWSRekognitionClient({
149
149
  Detects faces within an image that is provided as input.<br>
150
150
  For each face detected, the operation returns a bounding box of the face.
151
151
  <!--begin::Heading-->
152
- <div class="py-3 text-gray-700">Parameters:</div>
152
+ <h5 class="py-2 mb-0">Parameters:</h5>
153
153
  <!--end::Heading-->
154
154
  <!--begin::Parameters-->
155
155
  <ul>
@@ -171,7 +171,7 @@ const client = new sweet.services.AWSRekognitionClient({
171
171
  </ul>
172
172
  <!--end::Parameters-->
173
173
  <!--begin::Heading-->
174
- <div class="py-3 text-gray-700">Return value:</div>
174
+ <h5 class="py-2 mb-0">Return:</h5>
175
175
  <!--end::Heading-->
176
176
  <!--begin::Return-->
177
177
  <ul class="list-style-none">
@@ -328,7 +328,7 @@ await client.detectFaces(fs.readFileSync(&#039;img.jpg&#039;));</code></pre>
328
328
  <td>
329
329
  Compare the similarity of two faces.
330
330
  <!--begin::Heading-->
331
- <div class="py-3 text-gray-700">Parameters:</div>
331
+ <h5 class="py-2 mb-0">Parameters:</h5>
332
332
  <!--end::Heading-->
333
333
  <!--begin::Parameters-->
334
334
  <ul>
@@ -345,7 +345,7 @@ await client.detectFaces(fs.readFileSync(&#039;img.jpg&#039;));</code></pre>
345
345
  </ul>
346
346
  <!--end::Parameters-->
347
347
  <!--begin::Heading-->
348
- <div class="py-3 text-gray-700">Return value:</div>
348
+ <h5 class="py-2 mb-0">Return:</h5>
349
349
  <!--end::Heading-->
350
350
  <!--begin::Return-->
351
351
  <ul class="list-style-none">
@@ -449,7 +449,7 @@ await client.compareFaces(fs.readFileSync(&#039;img1.jpg&#039;), fs.readFileSync
449
449
  </div>
450
450
  <!--end::Block-->
451
451
  <!--begin::Heading-->
452
- <div class="py-3 text-gray-700">Parameters:</div>
452
+ <h5 class="py-2 mb-0">Parameters:</h5>
453
453
  <!--end::Heading-->
454
454
  <!--begin::Parameters-->
455
455
  <ul>
@@ -522,7 +522,7 @@ await client.createCollection(&#039;MyCollection&#039;);</code></pre>
522
522
  <td>
523
523
  Returns list of collection IDs.
524
524
  <!--begin::Heading-->
525
- <div class="py-3 text-gray-700">Return value:</div>
525
+ <h5 class="py-2 mb-0">Return:</h5>
526
526
  <!--end::Heading-->
527
527
  <!--begin::Return-->
528
528
  <ul class="list-style-none">
@@ -601,7 +601,7 @@ await client.listCollections();</code></pre>
601
601
  Deletes the specified collection.<br>
602
602
  Note that this operation removes all faces in the collection.
603
603
  <!--begin::Heading-->
604
- <div class="py-3 text-gray-700">Parameters:</div>
604
+ <h5 class="py-2 mb-0">Parameters:</h5>
605
605
  <!--end::Heading-->
606
606
  <!--begin::Parameters-->
607
607
  <ul>
@@ -613,7 +613,7 @@ await client.listCollections();</code></pre>
613
613
  </ul>
614
614
  <!--end::Parameters-->
615
615
  <!--begin::Heading-->
616
- <div class="py-3 text-gray-700">Return value:</div>
616
+ <h5 class="py-2 mb-0">Return:</h5>
617
617
  <!--end::Heading-->
618
618
  <!--begin::Return-->
619
619
  <ul class="list-style-none">
@@ -700,7 +700,7 @@ await client.deleteCollection(&#039;MyCollection&#039;);</code></pre>
700
700
  </div>
701
701
  <!--end::Block-->
702
702
  <!--begin::Heading-->
703
- <div class="py-3 text-gray-700">Parameters:</div>
703
+ <h5 class="py-2 mb-0">Parameters:</h5>
704
704
  <!--end::Heading-->
705
705
  <!--begin::Parameters-->
706
706
  <ul>
@@ -736,7 +736,7 @@ await client.deleteCollection(&#039;MyCollection&#039;);</code></pre>
736
736
  </ul>
737
737
  <!--end::Parameters-->
738
738
  <!--begin::Heading-->
739
- <div class="py-3 text-gray-700">Return value:</div>
739
+ <h5 class="py-2 mb-0">Return:</h5>
740
740
  <!--end::Heading-->
741
741
  <!--begin::Return-->
742
742
  <ul class="list-style-none">
@@ -869,7 +869,7 @@ await client.indexFace(&#039;MyCollection&#039;, fs.readFileSync(&#039;img.jpg&#
869
869
  For a given input image, first detects the largest face in the image, and then searches the specified collection for matching faces.<br>
870
870
  The operation compares the features of the input face with faces in the specified collection.
871
871
  <!--begin::Heading-->
872
- <div class="py-3 text-gray-700">Parameters:</div>
872
+ <h5 class="py-2 mb-0">Parameters:</h5>
873
873
  <!--end::Heading-->
874
874
  <!--begin::Parameters-->
875
875
  <ul>
@@ -913,7 +913,7 @@ await client.indexFace(&#039;MyCollection&#039;, fs.readFileSync(&#039;img.jpg&#
913
913
  </ul>
914
914
  <!--end::Parameters-->
915
915
  <!--begin::Heading-->
916
- <div class="py-3 text-gray-700">Return value:</div>
916
+ <h5 class="py-2 mb-0">Return:</h5>
917
917
  <!--end::Heading-->
918
918
  <!--begin::Return-->
919
919
  <ul class="list-style-none">
@@ -1063,7 +1063,7 @@ await client.searchFaces(&#039;MyCollection&#039;, fs.readFileSync(&#039;img.jpg
1063
1063
  Returns metadata for faces in the specified collection.<br>
1064
1064
  This metadata includes information such as the bounding box coordinates, and face ID.
1065
1065
  <!--begin::Heading-->
1066
- <div class="py-3 text-gray-700">Parameters:</div>
1066
+ <h5 class="py-2 mb-0">Parameters:</h5>
1067
1067
  <!--end::Heading-->
1068
1068
  <!--begin::Parameters-->
1069
1069
  <ul>
@@ -1080,7 +1080,7 @@ await client.searchFaces(&#039;MyCollection&#039;, fs.readFileSync(&#039;img.jpg
1080
1080
  </ul>
1081
1081
  <!--end::Parameters-->
1082
1082
  <!--begin::Heading-->
1083
- <div class="py-3 text-gray-700">Return value:</div>
1083
+ <h5 class="py-2 mb-0">Return:</h5>
1084
1084
  <!--end::Heading-->
1085
1085
  <!--begin::Return-->
1086
1086
  <ul class="list-style-none">
@@ -1176,7 +1176,7 @@ console.log(result);</code></pre>
1176
1176
  Deletes faces from a collection.<br>
1177
1177
  You specify a collection ID and an array of face IDs to remove from the collection.
1178
1178
  <!--begin::Heading-->
1179
- <div class="py-3 text-gray-700">Parameters:</div>
1179
+ <h5 class="py-2 mb-0">Parameters:</h5>
1180
1180
  <!--end::Heading-->
1181
1181
  <!--begin::Parameters-->
1182
1182
  <ul>
@@ -1193,7 +1193,7 @@ console.log(result);</code></pre>
1193
1193
  </ul>
1194
1194
  <!--end::Parameters-->
1195
1195
  <!--begin::Heading-->
1196
- <div class="py-3 text-gray-700">Return value:</div>
1196
+ <h5 class="py-2 mb-0">Return:</h5>
1197
1197
  <!--end::Heading-->
1198
1198
  <!--begin::Return-->
1199
1199
  <ul class="list-style-none">
@@ -66,7 +66,7 @@
66
66
  <td>
67
67
  Constructs a SES client object.
68
68
  <!--begin::Heading-->
69
- <div class="py-3 text-gray-700">Parameters:</div>
69
+ <h5 class="py-2 mb-0">Parameters:</h5>
70
70
  <!--end::Heading-->
71
71
  <!--begin::Parameters-->
72
72
  <ul>
@@ -150,7 +150,7 @@ const client = new sweet.services.AWSSesClient({
150
150
  <td>
151
151
  Send email.
152
152
  <!--begin::Heading-->
153
- <div class="py-3 text-gray-700">Parameters:</div>
153
+ <h5 class="py-2 mb-0">Parameters:</h5>
154
154
  <!--end::Heading-->
155
155
  <!--begin::Parameters-->
156
156
  <ul>
@@ -162,7 +162,7 @@ const client = new sweet.services.AWSSesClient({
162
162
  </ul>
163
163
  <!--end::Parameters-->
164
164
  <!--begin::Heading-->
165
- <div class="py-3 text-gray-700">Return value:</div>
165
+ <h5 class="py-2 mb-0">Return:</h5>
166
166
  <!--end::Heading-->
167
167
  <!--begin::Return-->
168
168
  <ul class="list-style-none">
@@ -261,7 +261,7 @@ await client
261
261
  <td>
262
262
  Set the sender's email address.
263
263
  <!--begin::Heading-->
264
- <div class="py-3 text-gray-700">Parameters:</div>
264
+ <h5 class="py-2 mb-0">Parameters:</h5>
265
265
  <!--end::Heading-->
266
266
  <!--begin::Parameters-->
267
267
  <ul>
@@ -278,7 +278,7 @@ await client
278
278
  </ul>
279
279
  <!--end::Parameters-->
280
280
  <!--begin::Heading-->
281
- <div class="py-3 text-gray-700">Return value:</div>
281
+ <h5 class="py-2 mb-0">Return:</h5>
282
282
  <!--end::Heading-->
283
283
  <!--begin::Return-->
284
284
  <ul class="list-style-none">
@@ -292,7 +292,7 @@ await client
292
292
  <td>
293
293
  Set the destination email address.
294
294
  <!--begin::Heading-->
295
- <div class="py-3 text-gray-700">Parameters:</div>
295
+ <h5 class="py-2 mb-0">Parameters:</h5>
296
296
  <!--end::Heading-->
297
297
  <!--begin::Parameters-->
298
298
  <ul>
@@ -304,7 +304,7 @@ await client
304
304
  </ul>
305
305
  <!--end::Parameters-->
306
306
  <!--begin::Heading-->
307
- <div class="py-3 text-gray-700">Return value:</div>
307
+ <h5 class="py-2 mb-0">Return:</h5>
308
308
  <!--end::Heading-->
309
309
  <!--begin::Return-->
310
310
  <ul class="list-style-none">
@@ -318,7 +318,7 @@ await client
318
318
  <td>
319
319
  Set CC email address.
320
320
  <!--begin::Heading-->
321
- <div class="py-3 text-gray-700">Parameters:</div>
321
+ <h5 class="py-2 mb-0">Parameters:</h5>
322
322
  <!--end::Heading-->
323
323
  <!--begin::Parameters-->
324
324
  <ul>
@@ -330,7 +330,7 @@ await client
330
330
  </ul>
331
331
  <!--end::Parameters-->
332
332
  <!--begin::Heading-->
333
- <div class="py-3 text-gray-700">Return value:</div>
333
+ <h5 class="py-2 mb-0">Return:</h5>
334
334
  <!--end::Heading-->
335
335
  <!--begin::Return-->
336
336
  <ul class="list-style-none">
@@ -344,7 +344,7 @@ await client
344
344
  <td>
345
345
  Set the email subject.
346
346
  <!--begin::Heading-->
347
- <div class="py-3 text-gray-700">Parameters:</div>
347
+ <h5 class="py-2 mb-0">Parameters:</h5>
348
348
  <!--end::Heading-->
349
349
  <!--begin::Parameters-->
350
350
  <ul>
@@ -356,7 +356,7 @@ await client
356
356
  </ul>
357
357
  <!--end::Parameters-->
358
358
  <!--begin::Heading-->
359
- <div class="py-3 text-gray-700">Return value:</div>
359
+ <h5 class="py-2 mb-0">Return:</h5>
360
360
  <!--end::Heading-->
361
361
  <!--begin::Return-->
362
362
  <ul class="list-style-none">
@@ -370,7 +370,7 @@ await client
370
370
  <td>
371
371
  Set the body of the email.
372
372
  <!--begin::Heading-->
373
- <div class="py-3 text-gray-700">Parameters:</div>
373
+ <h5 class="py-2 mb-0">Parameters:</h5>
374
374
  <!--end::Heading-->
375
375
  <!--begin::Parameters-->
376
376
  <ul>
@@ -387,7 +387,7 @@ await client
387
387
  </ul>
388
388
  <!--end::Parameters-->
389
389
  <!--begin::Heading-->
390
- <div class="py-3 text-gray-700">Return value:</div>
390
+ <h5 class="py-2 mb-0">Return:</h5>
391
391
  <!--end::Heading-->
392
392
  <!--begin::Return-->
393
393
  <ul class="list-style-none">