express-sweet 1.0.44 → 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 +30 -14
  2. package/QUICK_START.md +149 -0
  3. package/README.md +52 -147
  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/database-class.hbs +1 -1
  9. package/docs/src/index.hbs +2 -2
  10. package/docs/src/install.hbs +12 -12
  11. package/docs/src/layout/default.hbs +145 -23
  12. package/docs/src/model-class.hbs +28 -28
  13. package/docs/src/rekognition-class.hbs +17 -17
  14. package/docs/src/ses-class.hbs +13 -13
  15. package/docs/src/view.hbs +66 -66
  16. package/docs/v1/authentication-overview.html +144 -22
  17. package/docs/v1/base-configuration.html +144 -22
  18. package/docs/v1/bounding-box-interface.html +144 -22
  19. package/docs/v1/changelog.html +144 -22
  20. package/docs/v1/css/app.css +21 -0
  21. package/docs/v1/database-class.html +145 -23
  22. package/docs/v1/download/templates/cjs/authentication.js +0 -14
  23. package/docs/v1/download/templates/cjs/database.js +3 -3
  24. package/docs/v1/download/templates/esm/authentication.js +0 -14
  25. package/docs/v1/download/templates/esm/database.js +3 -3
  26. package/docs/v1/environment-variable.html +144 -22
  27. package/docs/v1/face-details-emotions-interface.html +144 -22
  28. package/docs/v1/face-details-interface.html +144 -22
  29. package/docs/v1/face-match-interface.html +144 -22
  30. package/docs/v1/facial-recognition-overview.html +144 -22
  31. package/docs/v1/index-face-details-interface.html +144 -22
  32. package/docs/v1/index.html +146 -24
  33. package/docs/v1/install.html +156 -34
  34. package/docs/v1/login-procedure.html +144 -22
  35. package/docs/v1/logout-procedure.html +144 -22
  36. package/docs/v1/media/logos/default-dark.svg +1 -0
  37. package/docs/v1/media/logos/default-small-dark.svg +1 -0
  38. package/docs/v1/media/logos/default-small.svg +1 -1
  39. package/docs/v1/media/logos/default.svg +1 -1
  40. package/docs/v1/media/logos/favicon.svg +1 -1
  41. package/docs/v1/media/screencaps/login.jpg +0 -0
  42. package/docs/v1/media/screencaps/personal.jpg +0 -0
  43. package/docs/v1/media/screencaps/user-editing.jpg +0 -0
  44. package/docs/v1/media/screencaps/users.jpg +0 -0
  45. package/docs/v1/model-class.html +172 -50
  46. package/docs/v1/model-overview.html +144 -22
  47. package/docs/v1/rekognition-class.html +161 -39
  48. package/docs/v1/routing.html +144 -22
  49. package/docs/v1/ses-class.html +157 -35
  50. package/docs/v1/ses-overview.html +144 -22
  51. package/docs/v1/view.html +210 -88
  52. package/package.json +13 -17
  53. package/screencaps/login.jpg +0 -0
  54. package/screencaps/personal.jpg +0 -0
  55. package/screencaps/user-editing.jpg +0 -0
  56. package/screencaps/users.jpg +0 -0
  57. package/types/interfaces/AuthenticationConfig.d.ts +1 -0
  58. package/types/interfaces/BasicConfig.d.ts +1 -0
  59. package/types/interfaces/ViewConfig.d.ts +1 -0
  60. package/types/services/Authentication.d.ts +1 -0
  61. package/docs/v1/css/docs.css +0 -37
  62. package/docs/v1/media/screencaps/login.png +0 -0
  63. package/docs/v1/media/screencaps/personal-editing.png +0 -0
  64. package/docs/v1/media/screencaps/personal.png +0 -0
  65. package/docs/v1/media/screencaps/user-editing.png +0 -0
  66. package/docs/v1/media/screencaps/users.png +0 -0
  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
@@ -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">