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