@emilgroup/notification-sdk 0.8.1-beta.59 → 0.8.1-beta.6
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/.openapi-generator/FILES +0 -23
- package/README.md +2 -2
- package/api/email-messages-api.ts +36 -56
- package/api/email-tracking-api.ts +48 -291
- package/api/email-verifications-api.ts +12 -24
- package/api/layouts-api.ts +46 -76
- package/api/notification-templates-api.ts +46 -76
- package/api/notifications-api.ts +6 -121
- package/api.ts +0 -6
- package/base.ts +41 -174
- package/configuration.ts +0 -20
- package/dist/api/email-messages-api.d.ts +28 -40
- package/dist/api/email-messages-api.js +40 -62
- package/dist/api/email-tracking-api.d.ts +40 -170
- package/dist/api/email-tracking-api.js +48 -261
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +16 -30
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +50 -81
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +50 -81
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +8 -111
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/email-message-class.d.ts +7 -73
- package/dist/models/email-message-class.js +3 -22
- package/dist/models/email-thread-class.d.ts +5 -37
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -20
- package/dist/models/send-notification-request-dto.d.ts +1 -10
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +8 -78
- package/models/email-thread-class.ts +5 -37
- package/models/index.ts +0 -20
- package/models/send-notification-request-dto.ts +2 -9
- package/package.json +1 -1
- package/api/email-mailboxes-api.ts +0 -150
- package/api/email-subscriptions-api.ts +0 -781
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/email-mailboxes-api.d.ts +0 -87
- package/dist/api/email-mailboxes-api.js +0 -221
- package/dist/api/email-subscriptions-api.d.ts +0 -432
- package/dist/api/email-subscriptions-api.js +0 -738
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
- package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
- package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/assign-email-thread-entity-response-class.js +0 -15
- package/dist/models/catch-up-email-subscription-response-class.d.ts +0 -24
- package/dist/models/catch-up-email-subscription-response-class.js +0 -15
- package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/catch-up-email-subscriptions-request-dto.js +0 -15
- package/dist/models/catch-up-email-subscriptions-response-class.d.ts +0 -30
- package/dist/models/catch-up-email-subscriptions-response-class.js +0 -15
- package/dist/models/email-mailbox-class.d.ts +0 -47
- package/dist/models/email-mailbox-class.js +0 -20
- package/dist/models/email-message-summary-class.d.ts +0 -98
- package/dist/models/email-message-summary-class.js +0 -33
- package/dist/models/email-subscription-class.d.ts +0 -110
- package/dist/models/email-subscription-class.js +0 -23
- package/dist/models/entity-ref-class.d.ts +0 -37
- package/dist/models/entity-ref-class.js +0 -22
- package/dist/models/get-email-subscription-response-class.d.ts +0 -25
- package/dist/models/get-email-subscription-response-class.js +0 -15
- package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
- package/dist/models/grpc-send-email-request-dto.js +0 -22
- package/dist/models/inline-attachment-dto.d.ts +0 -36
- package/dist/models/inline-attachment-dto.js +0 -15
- package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
- package/dist/models/list-email-mailboxes-response-class.js +0 -15
- package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
- package/dist/models/list-email-subscriptions-response-class.js +0 -15
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
- package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
- package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
- package/dist/models/renew-email-subscription-response-class.js +0 -15
- package/dist/models/send-email-request-dto.d.ts +0 -131
- package/dist/models/send-email-request-dto.js +0 -22
- package/dist/models/send-email-response-class.d.ts +0 -24
- package/dist/models/send-email-response-class.js +0 -15
- package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
- package/models/assign-email-thread-entity-body-dto.ts +0 -52
- package/models/assign-email-thread-entity-response-class.ts +0 -31
- package/models/catch-up-email-subscription-response-class.ts +0 -30
- package/models/catch-up-email-subscriptions-request-dto.ts +0 -30
- package/models/catch-up-email-subscriptions-response-class.ts +0 -36
- package/models/email-mailbox-class.ts +0 -56
- package/models/email-message-summary-class.ts +0 -109
- package/models/email-subscription-class.ts +0 -119
- package/models/entity-ref-class.ts +0 -46
- package/models/get-email-subscription-response-class.ts +0 -31
- package/models/grpc-send-email-request-dto.ts +0 -144
- package/models/inline-attachment-dto.ts +0 -42
- package/models/list-email-mailboxes-response-class.ts +0 -49
- package/models/list-email-subscriptions-response-class.ts +0 -49
- package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
- package/models/reconcile-email-subscriptions-response-class.ts +0 -54
- package/models/renew-email-subscription-response-class.ts +0 -31
- package/models/send-email-request-dto.ts +0 -138
- package/models/send-email-response-class.ts +0 -30
- package/models/unassign-email-thread-entity-response-class.ts +0 -31
|
@@ -22,8 +22,7 @@ import { InitiateEmailVerificationResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @summary Complete an email verification
|
|
25
|
+
* undefined **Required Permissions** none
|
|
27
26
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
28
27
|
* @param {string} [authorization] Bearer Token
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
@@ -31,8 +30,7 @@ export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Co
|
|
|
31
30
|
*/
|
|
32
31
|
completeEmailVerification: (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
32
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Initiate an email verification
|
|
33
|
+
* undefined **Required Permissions** none
|
|
36
34
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
37
35
|
* @param {string} [authorization] Bearer Token
|
|
38
36
|
* @param {*} [options] Override http request option.
|
|
@@ -46,8 +44,7 @@ export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Co
|
|
|
46
44
|
*/
|
|
47
45
|
export declare const EmailVerificationsApiFp: (configuration?: Configuration) => {
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary Complete an email verification
|
|
47
|
+
* undefined **Required Permissions** none
|
|
51
48
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
52
49
|
* @param {string} [authorization] Bearer Token
|
|
53
50
|
* @param {*} [options] Override http request option.
|
|
@@ -55,8 +52,7 @@ export declare const EmailVerificationsApiFp: (configuration?: Configuration) =>
|
|
|
55
52
|
*/
|
|
56
53
|
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>>;
|
|
57
54
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @summary Initiate an email verification
|
|
55
|
+
* undefined **Required Permissions** none
|
|
60
56
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
61
57
|
* @param {string} [authorization] Bearer Token
|
|
62
58
|
* @param {*} [options] Override http request option.
|
|
@@ -70,8 +66,7 @@ export declare const EmailVerificationsApiFp: (configuration?: Configuration) =>
|
|
|
70
66
|
*/
|
|
71
67
|
export declare const EmailVerificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
72
68
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @summary Complete an email verification
|
|
69
|
+
* undefined **Required Permissions** none
|
|
75
70
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
76
71
|
* @param {string} [authorization] Bearer Token
|
|
77
72
|
* @param {*} [options] Override http request option.
|
|
@@ -79,8 +74,7 @@ export declare const EmailVerificationsApiFactory: (configuration?: Configuratio
|
|
|
79
74
|
*/
|
|
80
75
|
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass>;
|
|
81
76
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @summary Initiate an email verification
|
|
77
|
+
* undefined **Required Permissions** none
|
|
84
78
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
85
79
|
* @param {string} [authorization] Bearer Token
|
|
86
80
|
* @param {*} [options] Override http request option.
|
|
@@ -134,8 +128,7 @@ export interface EmailVerificationsApiInitiateEmailVerificationRequest {
|
|
|
134
128
|
*/
|
|
135
129
|
export declare class EmailVerificationsApi extends BaseAPI {
|
|
136
130
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @summary Complete an email verification
|
|
131
|
+
* undefined **Required Permissions** none
|
|
139
132
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
140
133
|
* @param {*} [options] Override http request option.
|
|
141
134
|
* @throws {RequiredError}
|
|
@@ -143,8 +136,7 @@ export declare class EmailVerificationsApi extends BaseAPI {
|
|
|
143
136
|
*/
|
|
144
137
|
completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
|
|
145
138
|
/**
|
|
146
|
-
*
|
|
147
|
-
* @summary Initiate an email verification
|
|
139
|
+
* undefined **Required Permissions** none
|
|
148
140
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
149
141
|
* @param {*} [options] Override http request option.
|
|
150
142
|
* @throws {RequiredError}
|
|
@@ -93,8 +93,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Complete an email verification
|
|
96
|
+
* undefined **Required Permissions** none
|
|
98
97
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
99
98
|
* @param {string} [authorization] Bearer Token
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
@@ -103,7 +102,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
103
102
|
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
104
103
|
if (options === void 0) { options = {}; }
|
|
105
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
106
|
return __generator(this, function (_a) {
|
|
108
107
|
switch (_a.label) {
|
|
109
108
|
case 0:
|
|
@@ -120,16 +119,13 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
120
119
|
localVarQueryParameter = {};
|
|
121
120
|
// authentication bearer required
|
|
122
121
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
-
];
|
|
122
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
126
123
|
case 1:
|
|
127
124
|
// authentication bearer required
|
|
128
125
|
// http bearer authentication required
|
|
129
126
|
_a.sent();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
128
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
129
|
}
|
|
134
130
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
131
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -145,8 +141,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
145
141
|
});
|
|
146
142
|
},
|
|
147
143
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @summary Initiate an email verification
|
|
144
|
+
* undefined **Required Permissions** none
|
|
150
145
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
151
146
|
* @param {string} [authorization] Bearer Token
|
|
152
147
|
* @param {*} [options] Override http request option.
|
|
@@ -155,7 +150,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
155
150
|
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
156
151
|
if (options === void 0) { options = {}; }
|
|
157
152
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
153
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
154
|
return __generator(this, function (_a) {
|
|
160
155
|
switch (_a.label) {
|
|
161
156
|
case 0:
|
|
@@ -172,16 +167,13 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
172
167
|
localVarQueryParameter = {};
|
|
173
168
|
// authentication bearer required
|
|
174
169
|
// http bearer authentication required
|
|
175
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
177
|
-
];
|
|
170
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
171
|
case 1:
|
|
179
172
|
// authentication bearer required
|
|
180
173
|
// http bearer authentication required
|
|
181
174
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
185
177
|
}
|
|
186
178
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
187
179
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -207,8 +199,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
207
199
|
var localVarAxiosParamCreator = (0, exports.EmailVerificationsApiAxiosParamCreator)(configuration);
|
|
208
200
|
return {
|
|
209
201
|
/**
|
|
210
|
-
*
|
|
211
|
-
* @summary Complete an email verification
|
|
202
|
+
* undefined **Required Permissions** none
|
|
212
203
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
213
204
|
* @param {string} [authorization] Bearer Token
|
|
214
205
|
* @param {*} [options] Override http request option.
|
|
@@ -228,8 +219,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
228
219
|
});
|
|
229
220
|
},
|
|
230
221
|
/**
|
|
231
|
-
*
|
|
232
|
-
* @summary Initiate an email verification
|
|
222
|
+
* undefined **Required Permissions** none
|
|
233
223
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
234
224
|
* @param {string} [authorization] Bearer Token
|
|
235
225
|
* @param {*} [options] Override http request option.
|
|
@@ -259,8 +249,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
259
249
|
var localVarFp = (0, exports.EmailVerificationsApiFp)(configuration);
|
|
260
250
|
return {
|
|
261
251
|
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Complete an email verification
|
|
252
|
+
* undefined **Required Permissions** none
|
|
264
253
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
265
254
|
* @param {string} [authorization] Bearer Token
|
|
266
255
|
* @param {*} [options] Override http request option.
|
|
@@ -270,8 +259,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
270
259
|
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
271
260
|
},
|
|
272
261
|
/**
|
|
273
|
-
*
|
|
274
|
-
* @summary Initiate an email verification
|
|
262
|
+
* undefined **Required Permissions** none
|
|
275
263
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
276
264
|
* @param {string} [authorization] Bearer Token
|
|
277
265
|
* @param {*} [options] Override http request option.
|
|
@@ -295,8 +283,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
295
283
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
296
284
|
}
|
|
297
285
|
/**
|
|
298
|
-
*
|
|
299
|
-
* @summary Complete an email verification
|
|
286
|
+
* undefined **Required Permissions** none
|
|
300
287
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
301
288
|
* @param {*} [options] Override http request option.
|
|
302
289
|
* @throws {RequiredError}
|
|
@@ -307,8 +294,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
307
294
|
return (0, exports.EmailVerificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
308
295
|
};
|
|
309
296
|
/**
|
|
310
|
-
*
|
|
311
|
-
* @summary Initiate an email verification
|
|
297
|
+
* undefined **Required Permissions** none
|
|
312
298
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
313
299
|
* @param {*} [options] Override http request option.
|
|
314
300
|
* @throws {RequiredError}
|
|
@@ -24,8 +24,7 @@ import { UpdateLayoutResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @summary Create the layout
|
|
27
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
29
28
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
30
29
|
* @param {string} [authorization] Bearer Token
|
|
31
30
|
* @param {*} [options] Override http request option.
|
|
@@ -33,8 +32,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
33
32
|
*/
|
|
34
33
|
createLayout: (createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
34
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @summary Delete the layout
|
|
35
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
38
36
|
* @param {number} id
|
|
39
37
|
* @param {string} [authorization] Bearer Token
|
|
40
38
|
* @param {*} [options] Override http request option.
|
|
@@ -42,8 +40,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
42
40
|
*/
|
|
43
41
|
deleteLayout: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
42
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Retrieve the layout
|
|
43
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
47
44
|
* @param {number} id
|
|
48
45
|
* @param {number} id2 Layout id
|
|
49
46
|
* @param {string} [authorization] Bearer Token
|
|
@@ -52,23 +49,21 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
52
49
|
*/
|
|
53
50
|
getLayout: (id: number, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
51
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @summary List layouts
|
|
52
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
57
53
|
* @param {string} [authorization] Bearer Token
|
|
58
54
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
55
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
56
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
61
57
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
|
-
* @param {string} [order]
|
|
63
|
-
* @param {string} [expand]
|
|
64
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
58
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
59
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
60
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
65
61
|
* @param {*} [options] Override http request option.
|
|
66
62
|
* @throws {RequiredError}
|
|
67
63
|
*/
|
|
68
64
|
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @summary Update the layout
|
|
66
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
72
67
|
* @param {number} id
|
|
73
68
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
74
69
|
* @param {string} [authorization] Bearer Token
|
|
@@ -83,8 +78,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
83
78
|
*/
|
|
84
79
|
export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
85
80
|
/**
|
|
86
|
-
*
|
|
87
|
-
* @summary Create the layout
|
|
81
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
88
82
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
89
83
|
* @param {string} [authorization] Bearer Token
|
|
90
84
|
* @param {*} [options] Override http request option.
|
|
@@ -92,8 +86,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
92
86
|
*/
|
|
93
87
|
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLayoutResponseClass>>;
|
|
94
88
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @summary Delete the layout
|
|
89
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
97
90
|
* @param {number} id
|
|
98
91
|
* @param {string} [authorization] Bearer Token
|
|
99
92
|
* @param {*} [options] Override http request option.
|
|
@@ -101,8 +94,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
101
94
|
*/
|
|
102
95
|
deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
103
96
|
/**
|
|
104
|
-
*
|
|
105
|
-
* @summary Retrieve the layout
|
|
97
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
106
98
|
* @param {number} id
|
|
107
99
|
* @param {number} id2 Layout id
|
|
108
100
|
* @param {string} [authorization] Bearer Token
|
|
@@ -111,23 +103,21 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
111
103
|
*/
|
|
112
104
|
getLayout(id: number, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLayoutResponseClass>>;
|
|
113
105
|
/**
|
|
114
|
-
*
|
|
115
|
-
* @summary List layouts
|
|
106
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
116
107
|
* @param {string} [authorization] Bearer Token
|
|
117
108
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
109
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
110
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
120
111
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
|
-
* @param {string} [order]
|
|
122
|
-
* @param {string} [expand]
|
|
123
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
112
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
113
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
114
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
124
115
|
* @param {*} [options] Override http request option.
|
|
125
116
|
* @throws {RequiredError}
|
|
126
117
|
*/
|
|
127
118
|
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
|
|
128
119
|
/**
|
|
129
|
-
*
|
|
130
|
-
* @summary Update the layout
|
|
120
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
131
121
|
* @param {number} id
|
|
132
122
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
133
123
|
* @param {string} [authorization] Bearer Token
|
|
@@ -142,8 +132,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
142
132
|
*/
|
|
143
133
|
export declare const LayoutsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
134
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @summary Create the layout
|
|
135
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
147
136
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
148
137
|
* @param {string} [authorization] Bearer Token
|
|
149
138
|
* @param {*} [options] Override http request option.
|
|
@@ -151,8 +140,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
151
140
|
*/
|
|
152
141
|
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLayoutResponseClass>;
|
|
153
142
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @summary Delete the layout
|
|
143
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
156
144
|
* @param {number} id
|
|
157
145
|
* @param {string} [authorization] Bearer Token
|
|
158
146
|
* @param {*} [options] Override http request option.
|
|
@@ -160,8 +148,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
160
148
|
*/
|
|
161
149
|
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
162
150
|
/**
|
|
163
|
-
*
|
|
164
|
-
* @summary Retrieve the layout
|
|
151
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
165
152
|
* @param {number} id
|
|
166
153
|
* @param {number} id2 Layout id
|
|
167
154
|
* @param {string} [authorization] Bearer Token
|
|
@@ -170,23 +157,21 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
170
157
|
*/
|
|
171
158
|
getLayout(id: number, id2: number, authorization?: string, options?: any): AxiosPromise<GetLayoutResponseClass>;
|
|
172
159
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @summary List layouts
|
|
160
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
175
161
|
* @param {string} [authorization] Bearer Token
|
|
176
162
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
163
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
164
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
179
165
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
|
-
* @param {string} [order]
|
|
181
|
-
* @param {string} [expand]
|
|
182
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
166
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
167
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
168
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
183
169
|
* @param {*} [options] Override http request option.
|
|
184
170
|
* @throws {RequiredError}
|
|
185
171
|
*/
|
|
186
172
|
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
187
173
|
/**
|
|
188
|
-
*
|
|
189
|
-
* @summary Update the layout
|
|
174
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
190
175
|
* @param {number} id
|
|
191
176
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
192
177
|
* @param {string} [authorization] Bearer Token
|
|
@@ -283,7 +268,7 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
283
268
|
*/
|
|
284
269
|
readonly pageToken?: string;
|
|
285
270
|
/**
|
|
286
|
-
* Filter the response by one or multiple fields.
|
|
271
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
287
272
|
* @type {string}
|
|
288
273
|
* @memberof LayoutsApiListLayouts
|
|
289
274
|
*/
|
|
@@ -295,19 +280,19 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
295
280
|
*/
|
|
296
281
|
readonly search?: string;
|
|
297
282
|
/**
|
|
298
|
-
*
|
|
283
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
299
284
|
* @type {string}
|
|
300
285
|
* @memberof LayoutsApiListLayouts
|
|
301
286
|
*/
|
|
302
287
|
readonly order?: string;
|
|
303
288
|
/**
|
|
304
|
-
*
|
|
289
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
305
290
|
* @type {string}
|
|
306
291
|
* @memberof LayoutsApiListLayouts
|
|
307
292
|
*/
|
|
308
293
|
readonly expand?: string;
|
|
309
294
|
/**
|
|
310
|
-
* Filters the response by one or multiple fields.
|
|
295
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
311
296
|
* @type {string}
|
|
312
297
|
* @memberof LayoutsApiListLayouts
|
|
313
298
|
*/
|
|
@@ -346,8 +331,7 @@ export interface LayoutsApiUpdateLayoutRequest {
|
|
|
346
331
|
*/
|
|
347
332
|
export declare class LayoutsApi extends BaseAPI {
|
|
348
333
|
/**
|
|
349
|
-
*
|
|
350
|
-
* @summary Create the layout
|
|
334
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
351
335
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
352
336
|
* @param {*} [options] Override http request option.
|
|
353
337
|
* @throws {RequiredError}
|
|
@@ -355,8 +339,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
355
339
|
*/
|
|
356
340
|
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any, {}>>;
|
|
357
341
|
/**
|
|
358
|
-
*
|
|
359
|
-
* @summary Delete the layout
|
|
342
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
360
343
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
361
344
|
* @param {*} [options] Override http request option.
|
|
362
345
|
* @throws {RequiredError}
|
|
@@ -364,8 +347,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
364
347
|
*/
|
|
365
348
|
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
366
349
|
/**
|
|
367
|
-
*
|
|
368
|
-
* @summary Retrieve the layout
|
|
350
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
369
351
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
370
352
|
* @param {*} [options] Override http request option.
|
|
371
353
|
* @throws {RequiredError}
|
|
@@ -373,8 +355,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
373
355
|
*/
|
|
374
356
|
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any, {}>>;
|
|
375
357
|
/**
|
|
376
|
-
*
|
|
377
|
-
* @summary List layouts
|
|
358
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
378
359
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
379
360
|
* @param {*} [options] Override http request option.
|
|
380
361
|
* @throws {RequiredError}
|
|
@@ -382,8 +363,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
382
363
|
*/
|
|
383
364
|
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any, {}>>;
|
|
384
365
|
/**
|
|
385
|
-
*
|
|
386
|
-
* @summary Update the layout
|
|
366
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
387
367
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
388
368
|
* @param {*} [options] Override http request option.
|
|
389
369
|
* @throws {RequiredError}
|