@emilgroup/notification-sdk 0.8.1-beta.60 → 0.8.1-beta.61
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 +2 -2
- package/api/email-mailboxes-api.ts +2 -4
- package/api/email-messages-api.ts +8 -16
- package/api/email-subscriptions-api.ts +12 -24
- package/api/email-tracking-api.ts +12 -24
- package/api/email-verifications-api.ts +4 -8
- package/api/layouts-api.ts +10 -20
- package/api/notification-templates-api.ts +10 -20
- package/api/notifications-api.ts +4 -8
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/email-mailboxes-api.d.ts +1 -1
- package/dist/api/email-mailboxes-api.js +4 -7
- package/dist/api/email-messages-api.d.ts +4 -4
- package/dist/api/email-messages-api.js +15 -25
- package/dist/api/email-subscriptions-api.d.ts +6 -6
- package/dist/api/email-subscriptions-api.js +23 -39
- package/dist/api/email-tracking-api.d.ts +6 -6
- package/dist/api/email-tracking-api.js +22 -36
- package/dist/api/email-verifications-api.d.ts +2 -2
- package/dist/api/email-verifications-api.js +8 -14
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +18 -29
- package/dist/api/msgraph-webhooks-api.d.ts +2 -2
- package/dist/api/notification-templates-api.d.ts +5 -5
- package/dist/api/notification-templates-api.js +18 -29
- package/dist/api/notifications-api.d.ts +2 -2
- package/dist/api/notifications-api.js +8 -14
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.61 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.61
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -54,10 +54,8 @@ export const EmailMailboxesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
54
54
|
// http bearer authentication required
|
|
55
55
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (authorizationValue) {
|
|
60
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
57
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
58
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
|
|
@@ -68,10 +68,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
68
68
|
// http bearer authentication required
|
|
69
69
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (authorizationValue) {
|
|
74
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
71
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
72
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
|
|
@@ -115,10 +113,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
115
113
|
// http bearer authentication required
|
|
116
114
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
115
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
if (authorizationValue) {
|
|
121
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
116
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
117
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
122
118
|
}
|
|
123
119
|
|
|
124
120
|
|
|
@@ -162,10 +158,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
162
158
|
// http bearer authentication required
|
|
163
159
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
164
160
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
if (authorizationValue) {
|
|
168
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
161
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
162
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
169
163
|
}
|
|
170
164
|
|
|
171
165
|
|
|
@@ -240,10 +234,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
240
234
|
localVarQueryParameter['filters'] = filters;
|
|
241
235
|
}
|
|
242
236
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
if (authorizationValue) {
|
|
246
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
237
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
238
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
247
239
|
}
|
|
248
240
|
|
|
249
241
|
|
|
@@ -72,10 +72,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
72
72
|
// http bearer authentication required
|
|
73
73
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
if (authorizationValue) {
|
|
78
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
75
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
76
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
|
|
@@ -118,10 +116,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
118
116
|
// http bearer authentication required
|
|
119
117
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
118
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
if (authorizationValue) {
|
|
124
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
119
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
120
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
125
121
|
}
|
|
126
122
|
|
|
127
123
|
|
|
@@ -168,10 +164,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
168
164
|
// http bearer authentication required
|
|
169
165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (authorizationValue) {
|
|
174
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
|
|
@@ -246,10 +240,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
246
240
|
localVarQueryParameter['filters'] = filters;
|
|
247
241
|
}
|
|
248
242
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
if (authorizationValue) {
|
|
252
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
243
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
245
|
}
|
|
254
246
|
|
|
255
247
|
|
|
@@ -292,10 +284,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
292
284
|
// http bearer authentication required
|
|
293
285
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
294
286
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
if (authorizationValue) {
|
|
298
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
287
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
288
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
289
|
}
|
|
300
290
|
|
|
301
291
|
|
|
@@ -342,10 +332,8 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
342
332
|
// http bearer authentication required
|
|
343
333
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
344
334
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
if (authorizationValue) {
|
|
348
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
335
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
336
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
349
337
|
}
|
|
350
338
|
|
|
351
339
|
|
|
@@ -71,10 +71,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (authorizationValue) {
|
|
77
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
|
|
@@ -121,10 +119,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
121
119
|
// http bearer authentication required
|
|
122
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (authorizationValue) {
|
|
127
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
|
|
@@ -168,10 +164,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
168
164
|
// http bearer authentication required
|
|
169
165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (authorizationValue) {
|
|
174
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
|
|
@@ -235,10 +229,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
235
229
|
localVarQueryParameter['expand'] = expand;
|
|
236
230
|
}
|
|
237
231
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
if (authorizationValue) {
|
|
241
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
232
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
233
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
242
234
|
}
|
|
243
235
|
|
|
244
236
|
|
|
@@ -313,10 +305,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
313
305
|
localVarQueryParameter['filters'] = filters;
|
|
314
306
|
}
|
|
315
307
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
if (authorizationValue) {
|
|
319
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
308
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
309
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
320
310
|
}
|
|
321
311
|
|
|
322
312
|
|
|
@@ -360,10 +350,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
360
350
|
// http bearer authentication required
|
|
361
351
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
362
352
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
if (authorizationValue) {
|
|
366
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
353
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
354
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
367
355
|
}
|
|
368
356
|
|
|
369
357
|
|
|
@@ -63,10 +63,8 @@ export const EmailVerificationsApiAxiosParamCreator = function (configuration?:
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -112,10 +110,8 @@ export const EmailVerificationsApiAxiosParamCreator = function (configuration?:
|
|
|
112
110
|
// http bearer authentication required
|
|
113
111
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (authorizationValue) {
|
|
118
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
113
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
114
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
|
package/api/layouts-api.ts
CHANGED
|
@@ -67,10 +67,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (authorizationValue) {
|
|
73
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
|
|
@@ -117,10 +115,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
117
115
|
// http bearer authentication required
|
|
118
116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (authorizationValue) {
|
|
123
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
118
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
119
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
|
|
@@ -171,10 +167,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
171
167
|
localVarQueryParameter['id'] = id2;
|
|
172
168
|
}
|
|
173
169
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
if (authorizationValue) {
|
|
177
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
170
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
178
172
|
}
|
|
179
173
|
|
|
180
174
|
|
|
@@ -249,10 +243,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
249
243
|
localVarQueryParameter['filters'] = filters;
|
|
250
244
|
}
|
|
251
245
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
if (authorizationValue) {
|
|
255
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
246
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
248
|
}
|
|
257
249
|
|
|
258
250
|
|
|
@@ -299,10 +291,8 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
299
291
|
// http bearer authentication required
|
|
300
292
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
301
293
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
if (authorizationValue) {
|
|
305
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
294
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
296
|
}
|
|
307
297
|
|
|
308
298
|
|
|
@@ -67,10 +67,8 @@ export const NotificationTemplatesApiAxiosParamCreator = function (configuration
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (authorizationValue) {
|
|
73
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
|
|
@@ -117,10 +115,8 @@ export const NotificationTemplatesApiAxiosParamCreator = function (configuration
|
|
|
117
115
|
// http bearer authentication required
|
|
118
116
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (authorizationValue) {
|
|
123
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
118
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
119
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
124
120
|
}
|
|
125
121
|
|
|
126
122
|
|
|
@@ -176,10 +172,8 @@ export const NotificationTemplatesApiAxiosParamCreator = function (configuration
|
|
|
176
172
|
localVarQueryParameter['expand'] = expand;
|
|
177
173
|
}
|
|
178
174
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
if (authorizationValue) {
|
|
182
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
177
|
}
|
|
184
178
|
|
|
185
179
|
|
|
@@ -254,10 +248,8 @@ export const NotificationTemplatesApiAxiosParamCreator = function (configuration
|
|
|
254
248
|
localVarQueryParameter['filters'] = filters;
|
|
255
249
|
}
|
|
256
250
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
if (authorizationValue) {
|
|
260
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
251
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
261
253
|
}
|
|
262
254
|
|
|
263
255
|
|
|
@@ -304,10 +296,8 @@ export const NotificationTemplatesApiAxiosParamCreator = function (configuration
|
|
|
304
296
|
// http bearer authentication required
|
|
305
297
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
306
298
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
if (authorizationValue) {
|
|
310
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
299
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
300
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
311
301
|
}
|
|
312
302
|
|
|
313
303
|
|
package/api/notifications-api.ts
CHANGED
|
@@ -63,10 +63,8 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (authorizationValue) {
|
|
69
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
66
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
67
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
|
|
@@ -112,10 +110,8 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
112
110
|
// http bearer authentication required
|
|
113
111
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
114
112
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
if (authorizationValue) {
|
|
118
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
113
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
114
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
|