@rapidrest/core 1.3.1 → 1.4.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 (82) hide show
  1. package/dist/lib/AlertUtils.js +7 -8
  2. package/dist/lib/AlertUtils.js.map +1 -1
  3. package/dist/lib/ClassLoader.js +7 -0
  4. package/dist/lib/ClassLoader.js.map +1 -1
  5. package/dist/lib/FileUtils.js +58 -79
  6. package/dist/lib/FileUtils.js.map +1 -1
  7. package/dist/lib/JWTUtils.js +26 -2
  8. package/dist/lib/JWTUtils.js.map +1 -1
  9. package/dist/lib/MessagingUtils.js +6 -3
  10. package/dist/lib/MessagingUtils.js.map +1 -1
  11. package/dist/lib/OASUtils.js +22 -1
  12. package/dist/lib/OASUtils.js.map +1 -1
  13. package/dist/lib/StringUtils.js +8 -5
  14. package/dist/lib/StringUtils.js.map +1 -1
  15. package/dist/lib/ValidationUtils.js +2 -2
  16. package/dist/lib/ValidationUtils.js.map +1 -1
  17. package/dist/types/FileUtils.d.ts +27 -9
  18. package/dist/types/JWTUtils.d.ts +9 -0
  19. package/dist/types/OASUtils.d.ts +17 -1
  20. package/dist/types/StringUtils.d.ts +3 -3
  21. package/package.json +2 -8
  22. package/docs/Makefile +0 -20
  23. package/docs/conf.py +0 -58
  24. package/docs/index.rst +0 -17
  25. package/docs/make.bat +0 -35
  26. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/README.md +0 -21
  27. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Config.md +0 -33
  28. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Destroy.md +0 -27
  29. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Init.md +0 -33
  30. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Inject.md +0 -33
  31. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Logger.md +0 -27
  32. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Nullable.md +0 -27
  33. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/functions/Validator.md +0 -25
  34. package/docs/reference/@rapidrest/namespaces/ObjectDecorators/type-aliases/ValidatorFunction.md +0 -31
  35. package/docs/reference/README.md +0 -35
  36. package/docs/reference/classes/AlertUtils.md +0 -158
  37. package/docs/reference/classes/ApiError.md +0 -251
  38. package/docs/reference/classes/ClassLoader.md +0 -224
  39. package/docs/reference/classes/Event.md +0 -109
  40. package/docs/reference/classes/EventUtils.md +0 -123
  41. package/docs/reference/classes/FileUtils.md +0 -193
  42. package/docs/reference/classes/JWTUtils.md +0 -139
  43. package/docs/reference/classes/MessagingUtils.md +0 -167
  44. package/docs/reference/classes/OASUtils.md +0 -227
  45. package/docs/reference/classes/ObjectFactory.md +0 -276
  46. package/docs/reference/classes/ObjectUtils.md +0 -60
  47. package/docs/reference/classes/StringUtils.md +0 -169
  48. package/docs/reference/classes/ThreadPool.md +0 -249
  49. package/docs/reference/classes/ThreadWorker.md +0 -91
  50. package/docs/reference/classes/UserUtils.md +0 -185
  51. package/docs/reference/classes/ValidationUtils.md +0 -294
  52. package/docs/reference/enumerations/AlertPriority.md +0 -61
  53. package/docs/reference/enumerations/JWTUtilsCompressionMethods.md +0 -21
  54. package/docs/reference/enumerations/WorkerMessageType.md +0 -43
  55. package/docs/reference/functions/sleep.md +0 -25
  56. package/docs/reference/globals.md +0 -73
  57. package/docs/reference/interfaces/Alert.md +0 -101
  58. package/docs/reference/interfaces/AlertAttachment.md +0 -51
  59. package/docs/reference/interfaces/AlertClose.md +0 -31
  60. package/docs/reference/interfaces/AlertUtilsAttachmentOptions.md +0 -42
  61. package/docs/reference/interfaces/AlertUtilsOptions.md +0 -41
  62. package/docs/reference/interfaces/InstanceOptions.md +0 -41
  63. package/docs/reference/interfaces/JWTPayload.md +0 -143
  64. package/docs/reference/interfaces/JWTUser.md +0 -55
  65. package/docs/reference/interfaces/JWTUtilsConfig.md +0 -45
  66. package/docs/reference/interfaces/JWTUtilsPayloadKeyOptions.md +0 -68
  67. package/docs/reference/interfaces/JWTUtilsPayloadOptions.md +0 -40
  68. package/docs/reference/interfaces/JWTUtilsPayloadPasswordOptions.md +0 -78
  69. package/docs/reference/interfaces/NewEvent.md +0 -25
  70. package/docs/reference/interfaces/OriginSettings.md +0 -25
  71. package/docs/reference/interfaces/SlackConfig.md +0 -33
  72. package/docs/reference/interfaces/SmtpAuth.md +0 -25
  73. package/docs/reference/interfaces/SmtpConfig.md +0 -41
  74. package/docs/reference/interfaces/Template.md +0 -105
  75. package/docs/reference/interfaces/TemplateMapBase.md +0 -13
  76. package/docs/reference/interfaces/TwilioConfig.md +0 -33
  77. package/docs/reference/interfaces/WorkerMessage.md +0 -31
  78. package/docs/reference/interfaces/WorkerOptions.md +0 -61
  79. package/docs/reference/type-aliases/BooleanFunc.md +0 -23
  80. package/docs/reference/type-aliases/TemplateMap.md +0 -17
  81. package/docs/reference/type-aliases/WorkerCallback.md +0 -31
  82. package/docs/reference/variables/Logger.md +0 -25
@@ -1,42 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / AlertUtilsAttachmentOptions
6
-
7
- # Interface: AlertUtilsAttachmentOptions
8
-
9
- Defined in: [src/AlertUtils.ts:100](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L100)
10
-
11
- Describes the alert attachment options to use when creating an alert.
12
-
13
- ## Properties
14
-
15
- ### files
16
-
17
- > **files**: [`AlertAttachment`](AlertAttachment.md)[]
18
-
19
- Defined in: [src/AlertUtils.ts:102](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L102)
20
-
21
- The attachment files to upload with the alert.
22
-
23
- ***
24
-
25
- ### indexFile?
26
-
27
- > `optional` **indexFile?**: `string`
28
-
29
- Defined in: [src/AlertUtils.ts:104](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L104)
30
-
31
- The name of the index file when the attachment is a zip file.
32
-
33
- ***
34
-
35
- ### zip?
36
-
37
- > `optional` **zip?**: `boolean`
38
-
39
- Defined in: [src/AlertUtils.ts:109](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L109)
40
-
41
- Set to `true` to to package all files into a single zip before being uploaded, otherwise set to `false` to
42
- upload each file individually.
@@ -1,41 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / AlertUtilsOptions
6
-
7
- # Interface: AlertUtilsOptions
8
-
9
- Defined in: [src/AlertUtils.ts:88](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L88)
10
-
11
- The set of configuration options to pass to AlertUtils when creating an instance.
12
-
13
- ## Properties
14
-
15
- ### auth
16
-
17
- > **auth**: `string`
18
-
19
- Defined in: [src/AlertUtils.ts:90](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L90)
20
-
21
- The value of the Authorization header to apply to all outgoing HTTP requests.
22
-
23
- ***
24
-
25
- ### logger?
26
-
27
- > `optional` **logger?**: `any`
28
-
29
- Defined in: [src/AlertUtils.ts:94](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L94)
30
-
31
- The logging utility to use.
32
-
33
- ***
34
-
35
- ### serviceUrl
36
-
37
- > **serviceUrl**: `string`
38
-
39
- Defined in: [src/AlertUtils.ts:92](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/AlertUtils.ts#L92)
40
-
41
- The full url of the REST API service that alerts will be sent to.
@@ -1,41 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / InstanceOptions
6
-
7
- # Interface: InstanceOptions
8
-
9
- Defined in: [src/ObjectFactory.ts:11](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L11)
10
-
11
- The set of options to use when creating new instances of objects.
12
-
13
- ## Properties
14
-
15
- ### args?
16
-
17
- > `optional` **args?**: `any`[]
18
-
19
- Defined in: [src/ObjectFactory.ts:13](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L13)
20
-
21
- The list of arguments to pass to the class constructor.
22
-
23
- ***
24
-
25
- ### initialize?
26
-
27
- > `optional` **initialize?**: `boolean`
28
-
29
- Defined in: [src/ObjectFactory.ts:17](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L17)
30
-
31
- Set to `true` to perform initialization of the object after creation, otherwise set to `false`. Default is `true`.
32
-
33
- ***
34
-
35
- ### name?
36
-
37
- > `optional` **name?**: `string`
38
-
39
- Defined in: [src/ObjectFactory.ts:15](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/ObjectFactory.ts#L15)
40
-
41
- The unique name of the object instance.
@@ -1,143 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTPayload
6
-
7
- # Interface: JWTPayload
8
-
9
- Defined in: [src/JWTUtils.ts:38](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L38)
10
-
11
- Describes the payload data structure of signed JWT tokens.
12
-
13
- ## Extends
14
-
15
- - `JwtPayload`
16
-
17
- ## Indexable
18
-
19
- > \[`key`: `string`\]: `any`
20
-
21
- ## Properties
22
-
23
- ### aud?
24
-
25
- > `optional` **aud?**: `string` \| `string`[]
26
-
27
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:115
28
-
29
- #### Inherited from
30
-
31
- `jwt.JwtPayload.aud`
32
-
33
- ***
34
-
35
- ### compression?
36
-
37
- > `optional` **compression?**: `"zlib"`
38
-
39
- Defined in: [src/JWTUtils.ts:40](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L40)
40
-
41
- Indicates if the payload profile has been compressed and with what method.
42
-
43
- ***
44
-
45
- ### encryption?
46
-
47
- > `optional` **encryption?**: `boolean`
48
-
49
- Defined in: [src/JWTUtils.ts:43](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L43)
50
-
51
- Indicates if the payload profile has been encrypted.
52
-
53
- ***
54
-
55
- ### exp?
56
-
57
- > `optional` **exp?**: `number`
58
-
59
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:116
60
-
61
- #### Inherited from
62
-
63
- `jwt.JwtPayload.exp`
64
-
65
- ***
66
-
67
- ### iat?
68
-
69
- > `optional` **iat?**: `number`
70
-
71
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:118
72
-
73
- #### Inherited from
74
-
75
- `jwt.JwtPayload.iat`
76
-
77
- ***
78
-
79
- ### iss?
80
-
81
- > `optional` **iss?**: `string`
82
-
83
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:113
84
-
85
- #### Inherited from
86
-
87
- `jwt.JwtPayload.iss`
88
-
89
- ***
90
-
91
- ### jti?
92
-
93
- > `optional` **jti?**: `string`
94
-
95
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:119
96
-
97
- #### Inherited from
98
-
99
- `jwt.JwtPayload.jti`
100
-
101
- ***
102
-
103
- ### nbf?
104
-
105
- > `optional` **nbf?**: `number`
106
-
107
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:117
108
-
109
- #### Inherited from
110
-
111
- `jwt.JwtPayload.nbf`
112
-
113
- ***
114
-
115
- ### profile
116
-
117
- > **profile**: `string` \| [`JWTUser`](JWTUser.md)
118
-
119
- Defined in: [src/JWTUtils.ts:46](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L46)
120
-
121
- The user profile of the authenticated user the token is valid for.
122
-
123
- ***
124
-
125
- ### sessionUid
126
-
127
- > **sessionUid**: `string`
128
-
129
- Defined in: [src/JWTUtils.ts:49](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L49)
130
-
131
- The unique identifier of the user's authentication session.
132
-
133
- ***
134
-
135
- ### sub?
136
-
137
- > `optional` **sub?**: `string`
138
-
139
- Defined in: node\_modules/@types/jsonwebtoken/index.d.ts:114
140
-
141
- #### Inherited from
142
-
143
- `jwt.JwtPayload.sub`
@@ -1,55 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTUser
6
-
7
- # Interface: JWTUser
8
-
9
- Defined in: [src/JWTUtils.ts:13](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L13)
10
-
11
- Describes user data that is encoded in the payload of a JWT token.
12
-
13
- ## Author
14
-
15
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
16
-
17
- ## Properties
18
-
19
- ### name
20
-
21
- > **name**: `string`
22
-
23
- Defined in: [src/JWTUtils.ts:22](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L22)
24
-
25
- The unique name of the user.
26
-
27
- ***
28
-
29
- ### roles
30
-
31
- > **roles**: `string`[]
32
-
33
- Defined in: [src/JWTUtils.ts:27](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L27)
34
-
35
- The list of roles (by name) that the user is apart of and will assume privileges for.
36
-
37
- ***
38
-
39
- ### uid
40
-
41
- > **uid**: `string`
42
-
43
- Defined in: [src/JWTUtils.ts:17](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L17)
44
-
45
- The universally unique identifier of the user.
46
-
47
- ***
48
-
49
- ### verified?
50
-
51
- > `optional` **verified?**: `boolean`
52
-
53
- Defined in: [src/JWTUtils.ts:32](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L32)
54
-
55
- Indicates if the user's e-mail address has been verified.
@@ -1,45 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTUtilsConfig
6
-
7
- # Interface: JWTUtilsConfig
8
-
9
- Defined in: [src/JWTUtils.ts:123](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L123)
10
-
11
- Describes the configuration options to be used with `JWTUtils` functions.
12
-
13
- ## Author
14
-
15
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
16
-
17
- ## Properties
18
-
19
- ### options?
20
-
21
- > `optional` **options?**: `VerifyOptions`
22
-
23
- Defined in: [src/JWTUtils.ts:132](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L132)
24
-
25
- The options to use when performing JWT signing or verification.
26
-
27
- ***
28
-
29
- ### payload?
30
-
31
- > `optional` **payload?**: [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md) \| [`JWTUtilsPayloadPasswordOptions`](JWTUtilsPayloadPasswordOptions.md) \| [`JWTUtilsPayloadKeyOptions`](JWTUtilsPayloadKeyOptions.md)
32
-
33
- Defined in: [src/JWTUtils.ts:137](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L137)
34
-
35
- The options that determine how JWT token payloads will be handled.
36
-
37
- ***
38
-
39
- ### secret
40
-
41
- > **secret**: `Secret`
42
-
43
- Defined in: [src/JWTUtils.ts:127](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L127)
44
-
45
- The secret to use for signing and verifying JWT tokens.
@@ -1,68 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTUtilsPayloadKeyOptions
6
-
7
- # Interface: JWTUtilsPayloadKeyOptions
8
-
9
- Defined in: [src/JWTUtils.ts:106](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L106)
10
-
11
- Describes the configuration options to be used with the `JWTUtilsConfig.payload` property when performing
12
- key-based encryption.
13
-
14
- ## Author
15
-
16
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
17
-
18
- ## Extends
19
-
20
- - [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md)
21
-
22
- ## Properties
23
-
24
- ### compress?
25
-
26
- > `optional` **compress?**: [`ZLIB`](../enumerations/JWTUtilsCompressionMethods.md#zlib)
27
-
28
- Defined in: [src/JWTUtils.ts:69](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L69)
29
-
30
- Set the method to use for compressing the payload profile, otherwise set to `null` for no compression.
31
-
32
- #### Inherited from
33
-
34
- [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md).[`compress`](JWTUtilsPayloadOptions.md#compress)
35
-
36
- ***
37
-
38
- ### encrypt?
39
-
40
- > `optional` **encrypt?**: `boolean`
41
-
42
- Defined in: [src/JWTUtils.ts:74](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L74)
43
-
44
- Set to `true` to indicate that the JWT token payload is encrypted, otherwise set to `false`.
45
-
46
- #### Inherited from
47
-
48
- [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md).[`encrypt`](JWTUtilsPayloadOptions.md#encrypt)
49
-
50
- ***
51
-
52
- ### private\_key
53
-
54
- > **private\_key**: `string`
55
-
56
- Defined in: [src/JWTUtils.ts:110](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L110)
57
-
58
- The private key used to encrypt JWT token payloads.
59
-
60
- ***
61
-
62
- ### public\_key
63
-
64
- > **public\_key**: `string`
65
-
66
- Defined in: [src/JWTUtils.ts:115](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L115)
67
-
68
- The public key used to decrypt JWT token payloads.
@@ -1,40 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTUtilsPayloadOptions
6
-
7
- # Interface: JWTUtilsPayloadOptions
8
-
9
- Defined in: [src/JWTUtils.ts:65](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L65)
10
-
11
- Describes the configuration options to be used with the `JWTUtilsConfig.payload` property.
12
-
13
- ## Author
14
-
15
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
16
-
17
- ## Extended by
18
-
19
- - [`JWTUtilsPayloadPasswordOptions`](JWTUtilsPayloadPasswordOptions.md)
20
- - [`JWTUtilsPayloadKeyOptions`](JWTUtilsPayloadKeyOptions.md)
21
-
22
- ## Properties
23
-
24
- ### compress?
25
-
26
- > `optional` **compress?**: [`ZLIB`](../enumerations/JWTUtilsCompressionMethods.md#zlib)
27
-
28
- Defined in: [src/JWTUtils.ts:69](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L69)
29
-
30
- Set the method to use for compressing the payload profile, otherwise set to `null` for no compression.
31
-
32
- ***
33
-
34
- ### encrypt?
35
-
36
- > `optional` **encrypt?**: `boolean`
37
-
38
- Defined in: [src/JWTUtils.ts:74](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L74)
39
-
40
- Set to `true` to indicate that the JWT token payload is encrypted, otherwise set to `false`.
@@ -1,78 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / JWTUtilsPayloadPasswordOptions
6
-
7
- # Interface: JWTUtilsPayloadPasswordOptions
8
-
9
- Defined in: [src/JWTUtils.ts:83](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L83)
10
-
11
- Describes the configuration options to be used with the `JWTUtilsConfig.payload` property when performing password
12
- based encryption.
13
-
14
- ## Author
15
-
16
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
17
-
18
- ## Extends
19
-
20
- - [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md)
21
-
22
- ## Properties
23
-
24
- ### algorithm
25
-
26
- > **algorithm**: `string`
27
-
28
- Defined in: [src/JWTUtils.ts:87](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L87)
29
-
30
- The cryptographic cipher algorithm to use during encryption/decryption of a JWT token payload.
31
-
32
- ***
33
-
34
- ### compress?
35
-
36
- > `optional` **compress?**: [`ZLIB`](../enumerations/JWTUtilsCompressionMethods.md#zlib)
37
-
38
- Defined in: [src/JWTUtils.ts:69](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L69)
39
-
40
- Set the method to use for compressing the payload profile, otherwise set to `null` for no compression.
41
-
42
- #### Inherited from
43
-
44
- [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md).[`compress`](JWTUtilsPayloadOptions.md#compress)
45
-
46
- ***
47
-
48
- ### encrypt?
49
-
50
- > `optional` **encrypt?**: `boolean`
51
-
52
- Defined in: [src/JWTUtils.ts:74](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L74)
53
-
54
- Set to `true` to indicate that the JWT token payload is encrypted, otherwise set to `false`.
55
-
56
- #### Inherited from
57
-
58
- [`JWTUtilsPayloadOptions`](JWTUtilsPayloadOptions.md).[`encrypt`](JWTUtilsPayloadOptions.md#encrypt)
59
-
60
- ***
61
-
62
- ### iv
63
-
64
- > **iv**: `Buffer`
65
-
66
- Defined in: [src/JWTUtils.ts:92](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L92)
67
-
68
- The initialization vector to use during encryption and decryption.
69
-
70
- ***
71
-
72
- ### password
73
-
74
- > **password**: `string`
75
-
76
- Defined in: [src/JWTUtils.ts:97](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/JWTUtils.ts#L97)
77
-
78
- The password to use when encrypting or decrypting JWT token payloads.
@@ -1,25 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / NewEvent
6
-
7
- # Interface: NewEvent
8
-
9
- Defined in: [src/TelemetryUtils.ts:13](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/TelemetryUtils.ts#L13)
10
-
11
- Describes the required fields when creating a new telemetry event.
12
-
13
- ## Author
14
-
15
- Jean-Philippe Steinmetz <rapidrests@gmail.com>
16
-
17
- ## Properties
18
-
19
- ### type
20
-
21
- > **type**: `string`
22
-
23
- Defined in: [src/TelemetryUtils.ts:15](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/TelemetryUtils.ts#L15)
24
-
25
- The type of event begin recorded.
@@ -1,25 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / OriginSettings
6
-
7
- # Interface: OriginSettings
8
-
9
- Defined in: [src/MessagingUtils.ts:8](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L8)
10
-
11
- ## Properties
12
-
13
- ### email
14
-
15
- > **email**: `string`
16
-
17
- Defined in: [src/MessagingUtils.ts:9](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L9)
18
-
19
- ***
20
-
21
- ### sms
22
-
23
- > **sms**: `string`
24
-
25
- Defined in: [src/MessagingUtils.ts:10](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L10)
@@ -1,33 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / SlackConfig
6
-
7
- # Interface: SlackConfig
8
-
9
- Defined in: [src/MessagingUtils.ts:48](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L48)
10
-
11
- ## Properties
12
-
13
- ### name
14
-
15
- > **name**: `string`
16
-
17
- Defined in: [src/MessagingUtils.ts:49](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L49)
18
-
19
- ***
20
-
21
- ### signingSecret
22
-
23
- > **signingSecret**: `string`
24
-
25
- Defined in: [src/MessagingUtils.ts:51](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L51)
26
-
27
- ***
28
-
29
- ### token
30
-
31
- > **token**: `string`
32
-
33
- Defined in: [src/MessagingUtils.ts:50](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L50)
@@ -1,25 +0,0 @@
1
- [**@rapidrest/core**](../README.md)
2
-
3
- ***
4
-
5
- [@rapidrest/core](../globals.md) / SmtpAuth
6
-
7
- # Interface: SmtpAuth
8
-
9
- Defined in: [src/MessagingUtils.ts:54](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L54)
10
-
11
- ## Properties
12
-
13
- ### pass
14
-
15
- > **pass**: `string`
16
-
17
- Defined in: [src/MessagingUtils.ts:56](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L56)
18
-
19
- ***
20
-
21
- ### user
22
-
23
- > **user**: `string`
24
-
25
- Defined in: [src/MessagingUtils.ts:55](https://github.com/rapidrest/core/blob/a4c031c9927a28230ae2f4bc0d881f4d5a54cdeb/src/MessagingUtils.ts#L55)