@novu/api 3.14.4 → 3.15.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/README.md +6 -6
- package/funcs/activityTrack.d.ts +1 -1
- package/funcs/activityTrack.js +1 -1
- package/funcs/environmentVariablesDelete.d.ts +3 -3
- package/funcs/environmentVariablesDelete.d.ts.map +1 -1
- package/funcs/environmentVariablesDelete.js +8 -8
- package/funcs/environmentVariablesDelete.js.map +1 -1
- package/funcs/environmentVariablesRetrieve.d.ts +3 -3
- package/funcs/environmentVariablesRetrieve.d.ts.map +1 -1
- package/funcs/environmentVariablesRetrieve.js +8 -8
- package/funcs/environmentVariablesRetrieve.js.map +1 -1
- package/funcs/environmentVariablesUpdate.d.ts +1 -1
- package/funcs/environmentVariablesUpdate.d.ts.map +1 -1
- package/funcs/environmentVariablesUpdate.js +6 -6
- package/funcs/environmentVariablesUpdate.js.map +1 -1
- package/funcs/environmentVariablesUsage.d.ts +1 -1
- package/funcs/environmentVariablesUsage.d.ts.map +1 -1
- package/funcs/environmentVariablesUsage.js +6 -6
- package/funcs/environmentVariablesUsage.js.map +1 -1
- package/funcs/subscribersNotificationsList.js +0 -1
- package/funcs/subscribersNotificationsList.js.map +1 -1
- package/funcs/translationsMasterUpload.js +3 -2
- package/funcs/translationsMasterUpload.js.map +1 -1
- package/funcs/translationsUpload.js +3 -2
- package/funcs/translationsUpload.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +7 -0
- package/lib/encodings.js.map +1 -1
- package/models/components/marksubscribernotificationsasseendto.d.ts +12 -3
- package/models/components/marksubscribernotificationsasseendto.d.ts.map +1 -1
- package/models/components/marksubscribernotificationsasseendto.js +9 -2
- package/models/components/marksubscribernotificationsasseendto.js.map +1 -1
- package/models/components/updateallsubscribernotificationsdto.d.ts +12 -3
- package/models/components/updateallsubscribernotificationsdto.d.ts.map +1 -1
- package/models/components/updateallsubscribernotificationsdto.js +8 -2
- package/models/components/updateallsubscribernotificationsdto.js.map +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts +5 -2
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js +1 -1
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js.map +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts +5 -2
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts.map +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js +1 -1
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts +0 -5
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.js +0 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.js.map +1 -1
- package/package.json +1 -1
- package/sdk/activity.d.ts +1 -1
- package/sdk/activity.js +1 -1
- package/sdk/environmentvariables.d.ts +8 -8
- package/sdk/environmentvariables.d.ts.map +1 -1
- package/sdk/environmentvariables.js +12 -12
- package/sdk/environmentvariables.js.map +1 -1
- package/src/funcs/activityTrack.ts +1 -1
- package/src/funcs/environmentVariablesDelete.ts +10 -8
- package/src/funcs/environmentVariablesRetrieve.ts +10 -8
- package/src/funcs/environmentVariablesUpdate.ts +8 -6
- package/src/funcs/environmentVariablesUsage.ts +6 -6
- package/src/funcs/subscribersNotificationsList.ts +0 -1
- package/src/funcs/translationsMasterUpload.ts +4 -3
- package/src/funcs/translationsUpload.ts +4 -3
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +9 -0
- package/src/models/components/marksubscribernotificationsasseendto.ts +31 -4
- package/src/models/components/updateallsubscribernotificationsdto.ts +20 -4
- package/src/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.ts +6 -3
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariable.ts +6 -3
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariableusage.ts +6 -3
- package/src/models/operations/environmentvariablescontrollerupdateenvironmentvariable.ts +6 -3
- package/src/models/operations/subscriberscontrollergetsubscribernotifications.ts +0 -6
- package/src/sdk/activity.ts +1 -1
- package/src/sdk/environmentvariables.ts +12 -12
|
@@ -58,13 +58,13 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Get environment variable
|
|
62
62
|
*
|
|
63
63
|
* @remarks
|
|
64
|
-
* Returns a single environment variable by
|
|
64
|
+
* Returns a single environment variable by key. Secret values are masked.
|
|
65
65
|
*/
|
|
66
66
|
async retrieve(
|
|
67
|
-
|
|
67
|
+
variableKey: string,
|
|
68
68
|
idempotencyKey?: string | undefined,
|
|
69
69
|
options?: RequestOptions,
|
|
70
70
|
): Promise<
|
|
@@ -72,7 +72,7 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
72
72
|
> {
|
|
73
73
|
return unwrapAsync(environmentVariablesRetrieve(
|
|
74
74
|
this,
|
|
75
|
-
|
|
75
|
+
variableKey,
|
|
76
76
|
idempotencyKey,
|
|
77
77
|
options,
|
|
78
78
|
));
|
|
@@ -87,7 +87,7 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
87
87
|
async update(
|
|
88
88
|
updateEnvironmentVariableRequestDto:
|
|
89
89
|
components.UpdateEnvironmentVariableRequestDto,
|
|
90
|
-
|
|
90
|
+
variableKey: string,
|
|
91
91
|
idempotencyKey?: string | undefined,
|
|
92
92
|
options?: RequestOptions,
|
|
93
93
|
): Promise<
|
|
@@ -96,20 +96,20 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
96
96
|
return unwrapAsync(environmentVariablesUpdate(
|
|
97
97
|
this,
|
|
98
98
|
updateEnvironmentVariableRequestDto,
|
|
99
|
-
|
|
99
|
+
variableKey,
|
|
100
100
|
idempotencyKey,
|
|
101
101
|
options,
|
|
102
102
|
));
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* Delete
|
|
106
|
+
* Delete environment variable
|
|
107
107
|
*
|
|
108
108
|
* @remarks
|
|
109
|
-
* Deletes an environment variable by
|
|
109
|
+
* Deletes an environment variable by key.
|
|
110
110
|
*/
|
|
111
111
|
async delete(
|
|
112
|
-
|
|
112
|
+
variableKey: string,
|
|
113
113
|
idempotencyKey?: string | undefined,
|
|
114
114
|
options?: RequestOptions,
|
|
115
115
|
): Promise<
|
|
@@ -118,7 +118,7 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
118
118
|
> {
|
|
119
119
|
return unwrapAsync(environmentVariablesDelete(
|
|
120
120
|
this,
|
|
121
|
-
|
|
121
|
+
variableKey,
|
|
122
122
|
idempotencyKey,
|
|
123
123
|
options,
|
|
124
124
|
));
|
|
@@ -131,7 +131,7 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
131
131
|
* Returns the workflows that reference this environment variable via `{{env.KEY}}` in their step controls. **variableId** is required.
|
|
132
132
|
*/
|
|
133
133
|
async usage(
|
|
134
|
-
|
|
134
|
+
variableKey: string,
|
|
135
135
|
idempotencyKey?: string | undefined,
|
|
136
136
|
options?: RequestOptions,
|
|
137
137
|
): Promise<
|
|
@@ -139,7 +139,7 @@ export class EnvironmentVariables extends ClientSDK {
|
|
|
139
139
|
> {
|
|
140
140
|
return unwrapAsync(environmentVariablesUsage(
|
|
141
141
|
this,
|
|
142
|
-
|
|
142
|
+
variableKey,
|
|
143
143
|
idempotencyKey,
|
|
144
144
|
options,
|
|
145
145
|
));
|