@emilgroup/notification-sdk-node 1.4.1-beta.1 → 1.4.1-beta.14
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 +11 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +372 -0
- package/api/email-tracking-api.ts +541 -0
- package/api.ts +4 -0
- package/base.ts +0 -1
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/email-messages-api.d.ts +205 -0
- package/dist/api/email-messages-api.js +405 -0
- package/dist/api/email-tracking-api.d.ts +301 -0
- package/dist/api/email-tracking-api.js +524 -0
- package/dist/api/email-verifications-api.d.ts +2 -2
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/notification-templates-api.d.ts +5 -5
- package/dist/api/notifications-api.d.ts +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/common.d.ts +1 -1
- package/dist/models/download-attachment-response-class.d.ts +36 -0
- package/dist/models/download-attachment-response-class.js +15 -0
- package/dist/models/email-attachment-class.d.ts +84 -0
- package/dist/models/email-attachment-class.js +15 -0
- package/dist/models/email-message-class.d.ts +140 -0
- package/dist/models/email-message-class.js +27 -0
- package/dist/models/email-thread-class.d.ts +83 -0
- package/dist/models/email-thread-class.js +20 -0
- package/dist/models/get-email-message-response-class.d.ts +25 -0
- package/dist/models/get-email-message-response-class.js +15 -0
- package/dist/models/get-email-thread-response-class.d.ts +25 -0
- package/dist/models/get-email-thread-response-class.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-email-attachments-response-class.d.ts +25 -0
- package/dist/models/list-email-attachments-response-class.js +15 -0
- package/dist/models/list-email-messages-response-class.d.ts +43 -0
- package/dist/models/list-email-messages-response-class.js +15 -0
- package/dist/models/list-email-threads-response-class.d.ts +43 -0
- package/dist/models/list-email-threads-response-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +44 -2
- package/dist/models/send-notification-request-dto.js +6 -0
- package/models/download-attachment-response-class.ts +42 -0
- package/models/email-attachment-class.ts +90 -0
- package/models/email-message-class.ts +150 -0
- package/models/email-thread-class.ts +92 -0
- package/models/get-email-message-response-class.ts +31 -0
- package/models/get-email-thread-response-class.ts +31 -0
- package/models/index.ts +9 -0
- package/models/list-email-attachments-response-class.ts +31 -0
- package/models/list-email-messages-response-class.ts +49 -0
- package/models/list-email-threads-response-class.ts +49 -0
- package/models/send-notification-request-dto.ts +47 -2
- package/package.json +3 -3
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL NotificationService
|
|
6
|
+
* The EMIL NotificationService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.EmailTrackingApi = exports.EmailTrackingApiFactory = exports.EmailTrackingApiFp = exports.EmailTrackingApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* EmailTrackingApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* undefined **Required Permissions** none
|
|
101
|
+
* @param {string} code
|
|
102
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
closeThread: function (code, authorization, options) {
|
|
107
|
+
if (options === void 0) { options = {}; }
|
|
108
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
109
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
return __generator(this, function (_a) {
|
|
111
|
+
switch (_a.label) {
|
|
112
|
+
case 0:
|
|
113
|
+
// verify required parameter 'code' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('closeThread', 'code', code);
|
|
115
|
+
localVarPath = "/notificationservice/v1/email-threads/{code}/close"
|
|
116
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
117
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
136
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
+
return [2 /*return*/, {
|
|
139
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
}];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* undefined **Required Permissions** none
|
|
148
|
+
* @param {string} code
|
|
149
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
getThread: function (code, authorization, options) {
|
|
154
|
+
if (options === void 0) { options = {}; }
|
|
155
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0:
|
|
160
|
+
// verify required parameter 'code' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('getThread', 'code', code);
|
|
162
|
+
localVarPath = "/notificationservice/v1/email-threads/{code}"
|
|
163
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
164
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
165
|
+
if (configuration) {
|
|
166
|
+
baseOptions = configuration.baseOptions;
|
|
167
|
+
baseAccessToken = configuration.accessToken;
|
|
168
|
+
}
|
|
169
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
170
|
+
localVarHeaderParameter = {};
|
|
171
|
+
localVarQueryParameter = {};
|
|
172
|
+
// authentication bearer required
|
|
173
|
+
// http bearer authentication required
|
|
174
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
175
|
+
case 1:
|
|
176
|
+
// authentication bearer required
|
|
177
|
+
// http bearer authentication required
|
|
178
|
+
_a.sent();
|
|
179
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
181
|
+
}
|
|
182
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
183
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
185
|
+
return [2 /*return*/, {
|
|
186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* undefined **Required Permissions** none
|
|
195
|
+
* @param {string} code
|
|
196
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
listMessages: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
203
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
204
|
+
return __generator(this, function (_a) {
|
|
205
|
+
switch (_a.label) {
|
|
206
|
+
case 0:
|
|
207
|
+
// verify required parameter 'code' is not null or undefined
|
|
208
|
+
(0, common_1.assertParamExists)('listMessages', 'code', code);
|
|
209
|
+
localVarPath = "/notificationservice/v1/email-threads/{code}/messages"
|
|
210
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
211
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
baseAccessToken = configuration.accessToken;
|
|
215
|
+
}
|
|
216
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
217
|
+
localVarHeaderParameter = {};
|
|
218
|
+
localVarQueryParameter = {};
|
|
219
|
+
// authentication bearer required
|
|
220
|
+
// http bearer authentication required
|
|
221
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
222
|
+
case 1:
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
_a.sent();
|
|
226
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
227
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
228
|
+
}
|
|
229
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
232
|
+
return [2 /*return*/, {
|
|
233
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
234
|
+
options: localVarRequestOptions,
|
|
235
|
+
}];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
},
|
|
240
|
+
/**
|
|
241
|
+
* undefined **Required Permissions** none
|
|
242
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
243
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
244
|
+
* @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.
|
|
245
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
246
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
247
|
+
* @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.
|
|
248
|
+
* @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.
|
|
249
|
+
* @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.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
if (options === void 0) { options = {}; }
|
|
255
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
256
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
257
|
+
return __generator(this, function (_a) {
|
|
258
|
+
switch (_a.label) {
|
|
259
|
+
case 0:
|
|
260
|
+
localVarPath = "/notificationservice/v1/email-threads";
|
|
261
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
262
|
+
if (configuration) {
|
|
263
|
+
baseOptions = configuration.baseOptions;
|
|
264
|
+
baseAccessToken = configuration.accessToken;
|
|
265
|
+
}
|
|
266
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
267
|
+
localVarHeaderParameter = {};
|
|
268
|
+
localVarQueryParameter = {};
|
|
269
|
+
// authentication bearer required
|
|
270
|
+
// http bearer authentication required
|
|
271
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
272
|
+
case 1:
|
|
273
|
+
// authentication bearer required
|
|
274
|
+
// http bearer authentication required
|
|
275
|
+
_a.sent();
|
|
276
|
+
if (pageSize !== undefined) {
|
|
277
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
278
|
+
}
|
|
279
|
+
if (pageToken !== undefined) {
|
|
280
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
281
|
+
}
|
|
282
|
+
if (filter !== undefined) {
|
|
283
|
+
localVarQueryParameter['filter'] = filter;
|
|
284
|
+
}
|
|
285
|
+
if (search !== undefined) {
|
|
286
|
+
localVarQueryParameter['search'] = search;
|
|
287
|
+
}
|
|
288
|
+
if (order !== undefined) {
|
|
289
|
+
localVarQueryParameter['order'] = order;
|
|
290
|
+
}
|
|
291
|
+
if (expand !== undefined) {
|
|
292
|
+
localVarQueryParameter['expand'] = expand;
|
|
293
|
+
}
|
|
294
|
+
if (filters !== undefined) {
|
|
295
|
+
localVarQueryParameter['filters'] = filters;
|
|
296
|
+
}
|
|
297
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
298
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
|
+
}
|
|
300
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
301
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
303
|
+
return [2 /*return*/, {
|
|
304
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
305
|
+
options: localVarRequestOptions,
|
|
306
|
+
}];
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
});
|
|
310
|
+
},
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
exports.EmailTrackingApiAxiosParamCreator = EmailTrackingApiAxiosParamCreator;
|
|
314
|
+
/**
|
|
315
|
+
* EmailTrackingApi - functional programming interface
|
|
316
|
+
* @export
|
|
317
|
+
*/
|
|
318
|
+
var EmailTrackingApiFp = function (configuration) {
|
|
319
|
+
var localVarAxiosParamCreator = (0, exports.EmailTrackingApiAxiosParamCreator)(configuration);
|
|
320
|
+
return {
|
|
321
|
+
/**
|
|
322
|
+
* undefined **Required Permissions** none
|
|
323
|
+
* @param {string} code
|
|
324
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
closeThread: function (code, authorization, options) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
330
|
+
var localVarAxiosArgs;
|
|
331
|
+
return __generator(this, function (_a) {
|
|
332
|
+
switch (_a.label) {
|
|
333
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.closeThread(code, authorization, options)];
|
|
334
|
+
case 1:
|
|
335
|
+
localVarAxiosArgs = _a.sent();
|
|
336
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
* undefined **Required Permissions** none
|
|
343
|
+
* @param {string} code
|
|
344
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
getThread: function (code, authorization, options) {
|
|
349
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
350
|
+
var localVarAxiosArgs;
|
|
351
|
+
return __generator(this, function (_a) {
|
|
352
|
+
switch (_a.label) {
|
|
353
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getThread(code, authorization, options)];
|
|
354
|
+
case 1:
|
|
355
|
+
localVarAxiosArgs = _a.sent();
|
|
356
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
},
|
|
361
|
+
/**
|
|
362
|
+
* undefined **Required Permissions** none
|
|
363
|
+
* @param {string} code
|
|
364
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
listMessages: function (code, authorization, options) {
|
|
369
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
370
|
+
var localVarAxiosArgs;
|
|
371
|
+
return __generator(this, function (_a) {
|
|
372
|
+
switch (_a.label) {
|
|
373
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, options)];
|
|
374
|
+
case 1:
|
|
375
|
+
localVarAxiosArgs = _a.sent();
|
|
376
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
});
|
|
380
|
+
},
|
|
381
|
+
/**
|
|
382
|
+
* undefined **Required Permissions** none
|
|
383
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
385
|
+
* @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.
|
|
386
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
387
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
388
|
+
* @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.
|
|
389
|
+
* @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.
|
|
390
|
+
* @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.
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
395
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
396
|
+
var localVarAxiosArgs;
|
|
397
|
+
return __generator(this, function (_a) {
|
|
398
|
+
switch (_a.label) {
|
|
399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listThreads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
400
|
+
case 1:
|
|
401
|
+
localVarAxiosArgs = _a.sent();
|
|
402
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
},
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
exports.EmailTrackingApiFp = EmailTrackingApiFp;
|
|
410
|
+
/**
|
|
411
|
+
* EmailTrackingApi - factory interface
|
|
412
|
+
* @export
|
|
413
|
+
*/
|
|
414
|
+
var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
415
|
+
var localVarFp = (0, exports.EmailTrackingApiFp)(configuration);
|
|
416
|
+
return {
|
|
417
|
+
/**
|
|
418
|
+
* undefined **Required Permissions** none
|
|
419
|
+
* @param {string} code
|
|
420
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
*/
|
|
424
|
+
closeThread: function (code, authorization, options) {
|
|
425
|
+
return localVarFp.closeThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
426
|
+
},
|
|
427
|
+
/**
|
|
428
|
+
* undefined **Required Permissions** none
|
|
429
|
+
* @param {string} code
|
|
430
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
431
|
+
* @param {*} [options] Override http request option.
|
|
432
|
+
* @throws {RequiredError}
|
|
433
|
+
*/
|
|
434
|
+
getThread: function (code, authorization, options) {
|
|
435
|
+
return localVarFp.getThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
436
|
+
},
|
|
437
|
+
/**
|
|
438
|
+
* undefined **Required Permissions** none
|
|
439
|
+
* @param {string} code
|
|
440
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
listMessages: function (code, authorization, options) {
|
|
445
|
+
return localVarFp.listMessages(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
446
|
+
},
|
|
447
|
+
/**
|
|
448
|
+
* undefined **Required Permissions** none
|
|
449
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
450
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
451
|
+
* @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.
|
|
452
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
453
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
454
|
+
* @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.
|
|
455
|
+
* @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.
|
|
456
|
+
* @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.
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
461
|
+
return localVarFp.listThreads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
462
|
+
},
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
exports.EmailTrackingApiFactory = EmailTrackingApiFactory;
|
|
466
|
+
/**
|
|
467
|
+
* EmailTrackingApi - object-oriented interface
|
|
468
|
+
* @export
|
|
469
|
+
* @class EmailTrackingApi
|
|
470
|
+
* @extends {BaseAPI}
|
|
471
|
+
*/
|
|
472
|
+
var EmailTrackingApi = /** @class */ (function (_super) {
|
|
473
|
+
__extends(EmailTrackingApi, _super);
|
|
474
|
+
function EmailTrackingApi() {
|
|
475
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* undefined **Required Permissions** none
|
|
479
|
+
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
* @memberof EmailTrackingApi
|
|
483
|
+
*/
|
|
484
|
+
EmailTrackingApi.prototype.closeThread = function (requestParameters, options) {
|
|
485
|
+
var _this = this;
|
|
486
|
+
return (0, exports.EmailTrackingApiFp)(this.configuration).closeThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* undefined **Required Permissions** none
|
|
490
|
+
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
* @memberof EmailTrackingApi
|
|
494
|
+
*/
|
|
495
|
+
EmailTrackingApi.prototype.getThread = function (requestParameters, options) {
|
|
496
|
+
var _this = this;
|
|
497
|
+
return (0, exports.EmailTrackingApiFp)(this.configuration).getThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* undefined **Required Permissions** none
|
|
501
|
+
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @throws {RequiredError}
|
|
504
|
+
* @memberof EmailTrackingApi
|
|
505
|
+
*/
|
|
506
|
+
EmailTrackingApi.prototype.listMessages = function (requestParameters, options) {
|
|
507
|
+
var _this = this;
|
|
508
|
+
return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* undefined **Required Permissions** none
|
|
512
|
+
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
* @memberof EmailTrackingApi
|
|
516
|
+
*/
|
|
517
|
+
EmailTrackingApi.prototype.listThreads = function (requestParameters, options) {
|
|
518
|
+
var _this = this;
|
|
519
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
520
|
+
return (0, exports.EmailTrackingApiFp)(this.configuration).listThreads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
521
|
+
};
|
|
522
|
+
return EmailTrackingApi;
|
|
523
|
+
}(base_1.BaseAPI));
|
|
524
|
+
exports.EmailTrackingApi = EmailTrackingApi;
|
|
@@ -134,7 +134,7 @@ export declare class EmailVerificationsApi extends BaseAPI {
|
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
* @memberof EmailVerificationsApi
|
|
136
136
|
*/
|
|
137
|
-
completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
|
|
137
|
+
completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
|
|
138
138
|
/**
|
|
139
139
|
* undefined **Required Permissions** none
|
|
140
140
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
@@ -142,5 +142,5 @@ export declare class EmailVerificationsApi extends BaseAPI {
|
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
* @memberof EmailVerificationsApi
|
|
144
144
|
*/
|
|
145
|
-
initiateEmailVerification(requestParameters: EmailVerificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
|
|
145
|
+
initiateEmailVerification(requestParameters: EmailVerificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}>>;
|
|
146
146
|
}
|
|
@@ -337,7 +337,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
337
337
|
* @throws {RequiredError}
|
|
338
338
|
* @memberof LayoutsApi
|
|
339
339
|
*/
|
|
340
|
-
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any>>;
|
|
340
|
+
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any, {}>>;
|
|
341
341
|
/**
|
|
342
342
|
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
343
343
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
@@ -345,7 +345,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
345
345
|
* @throws {RequiredError}
|
|
346
346
|
* @memberof LayoutsApi
|
|
347
347
|
*/
|
|
348
|
-
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
348
|
+
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
349
349
|
/**
|
|
350
350
|
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
351
351
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
@@ -353,7 +353,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof LayoutsApi
|
|
355
355
|
*/
|
|
356
|
-
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any>>;
|
|
356
|
+
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
359
359
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
@@ -361,7 +361,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
361
361
|
* @throws {RequiredError}
|
|
362
362
|
* @memberof LayoutsApi
|
|
363
363
|
*/
|
|
364
|
-
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any>>;
|
|
364
|
+
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any, {}>>;
|
|
365
365
|
/**
|
|
366
366
|
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
367
367
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
@@ -369,5 +369,5 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
* @memberof LayoutsApi
|
|
371
371
|
*/
|
|
372
|
-
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLayoutResponseClass, any>>;
|
|
372
|
+
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLayoutResponseClass, any, {}>>;
|
|
373
373
|
}
|
|
@@ -346,7 +346,7 @@ export declare class NotificationTemplatesApi extends BaseAPI {
|
|
|
346
346
|
* @throws {RequiredError}
|
|
347
347
|
* @memberof NotificationTemplatesApi
|
|
348
348
|
*/
|
|
349
|
-
createNotificationTemplate(requestParameters: NotificationTemplatesApiCreateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNotificationTemplateResponseClass, any>>;
|
|
349
|
+
createNotificationTemplate(requestParameters: NotificationTemplatesApiCreateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNotificationTemplateResponseClass, any, {}>>;
|
|
350
350
|
/**
|
|
351
351
|
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
352
352
|
* @param {NotificationTemplatesApiDeleteNotificationTemplateRequest} requestParameters Request parameters.
|
|
@@ -354,7 +354,7 @@ export declare class NotificationTemplatesApi extends BaseAPI {
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
* @memberof NotificationTemplatesApi
|
|
356
356
|
*/
|
|
357
|
-
deleteNotificationTemplate(requestParameters: NotificationTemplatesApiDeleteNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
357
|
+
deleteNotificationTemplate(requestParameters: NotificationTemplatesApiDeleteNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
358
358
|
/**
|
|
359
359
|
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
360
360
|
* @param {NotificationTemplatesApiGetNotificationTemplateRequest} requestParameters Request parameters.
|
|
@@ -362,7 +362,7 @@ export declare class NotificationTemplatesApi extends BaseAPI {
|
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
* @memberof NotificationTemplatesApi
|
|
364
364
|
*/
|
|
365
|
-
getNotificationTemplate(requestParameters: NotificationTemplatesApiGetNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNotificationTemplateResponseClass, any>>;
|
|
365
|
+
getNotificationTemplate(requestParameters: NotificationTemplatesApiGetNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNotificationTemplateResponseClass, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
368
368
|
* @param {NotificationTemplatesApiListNotificationTemplatesRequest} requestParameters Request parameters.
|
|
@@ -370,7 +370,7 @@ export declare class NotificationTemplatesApi extends BaseAPI {
|
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
* @memberof NotificationTemplatesApi
|
|
372
372
|
*/
|
|
373
|
-
listNotificationTemplates(requestParameters?: NotificationTemplatesApiListNotificationTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListNotificationTemplatesResponseClass, any>>;
|
|
373
|
+
listNotificationTemplates(requestParameters?: NotificationTemplatesApiListNotificationTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListNotificationTemplatesResponseClass, any, {}>>;
|
|
374
374
|
/**
|
|
375
375
|
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
376
376
|
* @param {NotificationTemplatesApiUpdateNotificationTemplateRequest} requestParameters Request parameters.
|
|
@@ -378,5 +378,5 @@ export declare class NotificationTemplatesApi extends BaseAPI {
|
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
* @memberof NotificationTemplatesApi
|
|
380
380
|
*/
|
|
381
|
-
updateNotificationTemplate(requestParameters: NotificationTemplatesApiUpdateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateNotificationTemplateResponseClass, any>>;
|
|
381
|
+
updateNotificationTemplate(requestParameters: NotificationTemplatesApiUpdateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateNotificationTemplateResponseClass, any, {}>>;
|
|
382
382
|
}
|
|
@@ -89,5 +89,5 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
* @memberof NotificationsApi
|
|
91
91
|
*/
|
|
92
|
-
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any>>;
|
|
92
|
+
sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any, {}>>;
|
|
93
93
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/default-api';
|
|
13
|
+
export * from './api/email-messages-api';
|
|
14
|
+
export * from './api/email-tracking-api';
|
|
13
15
|
export * from './api/email-verifications-api';
|
|
14
16
|
export * from './api/layouts-api';
|
|
15
17
|
export * from './api/notification-templates-api';
|