@emilgroup/notification-sdk-node 1.4.0 → 1.4.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/default-api.ts +8 -4
- package/api/email-verifications-api.ts +8 -8
- package/api/layouts-api.ts +60 -60
- package/api/notification-templates-api.ts +60 -60
- package/api/notifications-api.ts +4 -4
- package/base.ts +47 -5
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/email-verifications-api.d.ts +8 -8
- package/dist/api/email-verifications-api.js +8 -8
- package/dist/api/layouts-api.d.ts +60 -60
- package/dist/api/layouts-api.js +41 -41
- package/dist/api/notification-templates-api.d.ts +60 -60
- package/dist/api/notification-templates-api.js +41 -41
- package/dist/api/notifications-api.d.ts +4 -4
- package/dist/api/notifications-api.js +4 -4
- package/dist/base.d.ts +11 -2
- package/dist/base.js +43 -4
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -97,7 +97,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* undefined **Required Permissions** none
|
|
101
101
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
102
102
|
* @param {string} [authorization] Bearer Token
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
@@ -145,7 +145,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* undefined **Required Permissions** none
|
|
149
149
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
150
150
|
* @param {string} [authorization] Bearer Token
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
@@ -203,7 +203,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
203
203
|
var localVarAxiosParamCreator = (0, exports.EmailVerificationsApiAxiosParamCreator)(configuration);
|
|
204
204
|
return {
|
|
205
205
|
/**
|
|
206
|
-
*
|
|
206
|
+
* undefined **Required Permissions** none
|
|
207
207
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
208
208
|
* @param {string} [authorization] Bearer Token
|
|
209
209
|
* @param {*} [options] Override http request option.
|
|
@@ -223,7 +223,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
223
223
|
});
|
|
224
224
|
},
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* undefined **Required Permissions** none
|
|
227
227
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
228
228
|
* @param {string} [authorization] Bearer Token
|
|
229
229
|
* @param {*} [options] Override http request option.
|
|
@@ -253,7 +253,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
253
253
|
var localVarFp = (0, exports.EmailVerificationsApiFp)(configuration);
|
|
254
254
|
return {
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* undefined **Required Permissions** none
|
|
257
257
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
258
258
|
* @param {string} [authorization] Bearer Token
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
@@ -263,7 +263,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
263
263
|
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
264
264
|
},
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
266
|
+
* undefined **Required Permissions** none
|
|
267
267
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
268
268
|
* @param {string} [authorization] Bearer Token
|
|
269
269
|
* @param {*} [options] Override http request option.
|
|
@@ -287,7 +287,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
287
287
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* undefined **Required Permissions** none
|
|
291
291
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
292
292
|
* @param {*} [options] Override http request option.
|
|
293
293
|
* @throws {RequiredError}
|
|
@@ -298,7 +298,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
298
298
|
return (0, exports.EmailVerificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
299
299
|
};
|
|
300
300
|
/**
|
|
301
|
-
*
|
|
301
|
+
* undefined **Required Permissions** none
|
|
302
302
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
303
303
|
* @param {*} [options] Override http request option.
|
|
304
304
|
* @throws {RequiredError}
|
|
@@ -24,7 +24,7 @@ import { UpdateLayoutResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
28
28
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
29
29
|
* @param {string} [authorization] Bearer Token
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
@@ -32,7 +32,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
32
|
*/
|
|
33
33
|
createLayout: (createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
36
36
|
* @param {number} id
|
|
37
37
|
* @param {string} [authorization] Bearer Token
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
@@ -40,7 +40,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
40
40
|
*/
|
|
41
41
|
deleteLayout: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
44
44
|
* @param {number} id
|
|
45
45
|
* @param {number} id2 Layout id
|
|
46
46
|
* @param {string} [authorization] Bearer Token
|
|
@@ -49,21 +49,21 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
49
49
|
*/
|
|
50
50
|
getLayout: (id: number, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
53
53
|
* @param {string} [authorization] Bearer Token
|
|
54
|
-
* @param {
|
|
55
|
-
* @param {
|
|
56
|
-
* @param {
|
|
57
|
-
* @param {
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
54
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
56
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
57
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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.
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
63
|
*/
|
|
64
|
-
listLayouts: (authorization?: string, pageSize?:
|
|
64
|
+
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
67
67
|
* @param {number} id
|
|
68
68
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
69
69
|
* @param {string} [authorization] Bearer Token
|
|
@@ -78,7 +78,7 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
82
82
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
83
83
|
* @param {string} [authorization] Bearer Token
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
@@ -86,7 +86,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
86
86
|
*/
|
|
87
87
|
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLayoutResponseClass>>;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
90
90
|
* @param {number} id
|
|
91
91
|
* @param {string} [authorization] Bearer Token
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
@@ -94,7 +94,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
94
94
|
*/
|
|
95
95
|
deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
98
98
|
* @param {number} id
|
|
99
99
|
* @param {number} id2 Layout id
|
|
100
100
|
* @param {string} [authorization] Bearer Token
|
|
@@ -103,21 +103,21 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
103
103
|
*/
|
|
104
104
|
getLayout(id: number, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLayoutResponseClass>>;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
107
107
|
* @param {string} [authorization] Bearer Token
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {
|
|
113
|
-
* @param {
|
|
114
|
-
* @param {
|
|
108
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
110
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
111
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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.
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
listLayouts(authorization?: string, pageSize?:
|
|
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>>;
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
121
121
|
* @param {number} id
|
|
122
122
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
123
123
|
* @param {string} [authorization] Bearer Token
|
|
@@ -132,7 +132,7 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
132
132
|
*/
|
|
133
133
|
export declare const LayoutsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
136
136
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
137
137
|
* @param {string} [authorization] Bearer Token
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
@@ -140,7 +140,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
140
140
|
*/
|
|
141
141
|
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLayoutResponseClass>;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
144
144
|
* @param {number} id
|
|
145
145
|
* @param {string} [authorization] Bearer Token
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
@@ -148,7 +148,7 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
148
148
|
*/
|
|
149
149
|
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
150
150
|
/**
|
|
151
|
-
*
|
|
151
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
152
152
|
* @param {number} id
|
|
153
153
|
* @param {number} id2 Layout id
|
|
154
154
|
* @param {string} [authorization] Bearer Token
|
|
@@ -157,21 +157,21 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
157
157
|
*/
|
|
158
158
|
getLayout(id: number, id2: number, authorization?: string, options?: any): AxiosPromise<GetLayoutResponseClass>;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
161
161
|
* @param {string} [authorization] Bearer Token
|
|
162
|
-
* @param {
|
|
163
|
-
* @param {
|
|
164
|
-
* @param {
|
|
165
|
-
* @param {
|
|
166
|
-
* @param {
|
|
167
|
-
* @param {
|
|
168
|
-
* @param {
|
|
162
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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.
|
|
164
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
165
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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.
|
|
169
169
|
* @param {*} [options] Override http request option.
|
|
170
170
|
* @throws {RequiredError}
|
|
171
171
|
*/
|
|
172
|
-
listLayouts(authorization?: string, pageSize?:
|
|
172
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
175
175
|
* @param {number} id
|
|
176
176
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
177
177
|
* @param {string} [authorization] Bearer Token
|
|
@@ -257,46 +257,46 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
257
257
|
readonly authorization?: string;
|
|
258
258
|
/**
|
|
259
259
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
260
|
-
* @type {
|
|
260
|
+
* @type {number}
|
|
261
261
|
* @memberof LayoutsApiListLayouts
|
|
262
262
|
*/
|
|
263
|
-
readonly pageSize?:
|
|
263
|
+
readonly pageSize?: number;
|
|
264
264
|
/**
|
|
265
|
-
* 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,
|
|
266
|
-
* @type {
|
|
265
|
+
* 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.
|
|
266
|
+
* @type {string}
|
|
267
267
|
* @memberof LayoutsApiListLayouts
|
|
268
268
|
*/
|
|
269
|
-
readonly pageToken?:
|
|
269
|
+
readonly pageToken?: string;
|
|
270
270
|
/**
|
|
271
271
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
272
|
-
* @type {
|
|
272
|
+
* @type {string}
|
|
273
273
|
* @memberof LayoutsApiListLayouts
|
|
274
274
|
*/
|
|
275
|
-
readonly filter?:
|
|
275
|
+
readonly filter?: string;
|
|
276
276
|
/**
|
|
277
277
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
278
|
-
* @type {
|
|
278
|
+
* @type {string}
|
|
279
279
|
* @memberof LayoutsApiListLayouts
|
|
280
280
|
*/
|
|
281
|
-
readonly search?:
|
|
281
|
+
readonly search?: string;
|
|
282
282
|
/**
|
|
283
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.
|
|
284
|
-
* @type {
|
|
284
|
+
* @type {string}
|
|
285
285
|
* @memberof LayoutsApiListLayouts
|
|
286
286
|
*/
|
|
287
|
-
readonly order?:
|
|
287
|
+
readonly order?: string;
|
|
288
288
|
/**
|
|
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
|
|
290
|
-
* @type {
|
|
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.
|
|
290
|
+
* @type {string}
|
|
291
291
|
* @memberof LayoutsApiListLayouts
|
|
292
292
|
*/
|
|
293
|
-
readonly expand?:
|
|
293
|
+
readonly expand?: string;
|
|
294
294
|
/**
|
|
295
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.
|
|
296
|
-
* @type {
|
|
296
|
+
* @type {string}
|
|
297
297
|
* @memberof LayoutsApiListLayouts
|
|
298
298
|
*/
|
|
299
|
-
readonly filters?:
|
|
299
|
+
readonly filters?: string;
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* Request parameters for updateLayout operation in LayoutsApi.
|
|
@@ -331,7 +331,7 @@ export interface LayoutsApiUpdateLayoutRequest {
|
|
|
331
331
|
*/
|
|
332
332
|
export declare class LayoutsApi extends BaseAPI {
|
|
333
333
|
/**
|
|
334
|
-
*
|
|
334
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
335
335
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
@@ -339,7 +339,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
339
339
|
*/
|
|
340
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.
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
@@ -347,7 +347,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
347
347
|
*/
|
|
348
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.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
@@ -355,7 +355,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
355
355
|
*/
|
|
356
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.
|
|
360
360
|
* @param {*} [options] Override http request option.
|
|
361
361
|
* @throws {RequiredError}
|
|
@@ -363,7 +363,7 @@ export declare class LayoutsApi extends BaseAPI {
|
|
|
363
363
|
*/
|
|
364
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.
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -97,7 +97,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
101
101
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
102
102
|
* @param {string} [authorization] Bearer Token
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
@@ -145,7 +145,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
},
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
149
149
|
* @param {number} id
|
|
150
150
|
* @param {string} [authorization] Bearer Token
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
@@ -192,7 +192,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
192
192
|
});
|
|
193
193
|
},
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
196
196
|
* @param {number} id
|
|
197
197
|
* @param {number} id2 Layout id
|
|
198
198
|
* @param {string} [authorization] Bearer Token
|
|
@@ -245,15 +245,15 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
});
|
|
246
246
|
},
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
249
249
|
* @param {string} [authorization] Bearer Token
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
250
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
|
+
* @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.
|
|
252
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
253
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
|
+
* @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.
|
|
255
|
+
* @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.
|
|
256
|
+
* @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.
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
@@ -316,7 +316,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
316
316
|
});
|
|
317
317
|
},
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
320
320
|
* @param {number} id
|
|
321
321
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
322
322
|
* @param {string} [authorization] Bearer Token
|
|
@@ -378,7 +378,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
378
378
|
var localVarAxiosParamCreator = (0, exports.LayoutsApiAxiosParamCreator)(configuration);
|
|
379
379
|
return {
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
382
382
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
383
383
|
* @param {string} [authorization] Bearer Token
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
@@ -398,7 +398,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
398
398
|
});
|
|
399
399
|
},
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
402
402
|
* @param {number} id
|
|
403
403
|
* @param {string} [authorization] Bearer Token
|
|
404
404
|
* @param {*} [options] Override http request option.
|
|
@@ -418,7 +418,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
418
418
|
});
|
|
419
419
|
},
|
|
420
420
|
/**
|
|
421
|
-
*
|
|
421
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
422
422
|
* @param {number} id
|
|
423
423
|
* @param {number} id2 Layout id
|
|
424
424
|
* @param {string} [authorization] Bearer Token
|
|
@@ -439,15 +439,15 @@ var LayoutsApiFp = function (configuration) {
|
|
|
439
439
|
});
|
|
440
440
|
},
|
|
441
441
|
/**
|
|
442
|
-
*
|
|
442
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
443
443
|
* @param {string} [authorization] Bearer Token
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {
|
|
446
|
-
* @param {
|
|
447
|
-
* @param {
|
|
448
|
-
* @param {
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {
|
|
444
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
445
|
+
* @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.
|
|
446
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
447
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
448
|
+
* @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.
|
|
449
|
+
* @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.
|
|
450
|
+
* @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.
|
|
451
451
|
* @param {*} [options] Override http request option.
|
|
452
452
|
* @throws {RequiredError}
|
|
453
453
|
*/
|
|
@@ -465,7 +465,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
465
465
|
});
|
|
466
466
|
},
|
|
467
467
|
/**
|
|
468
|
-
*
|
|
468
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
469
469
|
* @param {number} id
|
|
470
470
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
471
471
|
* @param {string} [authorization] Bearer Token
|
|
@@ -496,7 +496,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
496
496
|
var localVarFp = (0, exports.LayoutsApiFp)(configuration);
|
|
497
497
|
return {
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
500
500
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
501
501
|
* @param {string} [authorization] Bearer Token
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
@@ -506,7 +506,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
506
506
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
507
507
|
},
|
|
508
508
|
/**
|
|
509
|
-
*
|
|
509
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
510
510
|
* @param {number} id
|
|
511
511
|
* @param {string} [authorization] Bearer Token
|
|
512
512
|
* @param {*} [options] Override http request option.
|
|
@@ -516,7 +516,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
516
516
|
return localVarFp.deleteLayout(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
517
517
|
},
|
|
518
518
|
/**
|
|
519
|
-
*
|
|
519
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
520
520
|
* @param {number} id
|
|
521
521
|
* @param {number} id2 Layout id
|
|
522
522
|
* @param {string} [authorization] Bearer Token
|
|
@@ -527,15 +527,15 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
527
527
|
return localVarFp.getLayout(id, id2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
528
528
|
},
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
531
531
|
* @param {string} [authorization] Bearer Token
|
|
532
|
-
* @param {
|
|
533
|
-
* @param {
|
|
534
|
-
* @param {
|
|
535
|
-
* @param {
|
|
536
|
-
* @param {
|
|
537
|
-
* @param {
|
|
538
|
-
* @param {
|
|
532
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
533
|
+
* @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.
|
|
534
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
535
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
536
|
+
* @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.
|
|
537
|
+
* @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.
|
|
538
|
+
* @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.
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
*/
|
|
@@ -543,7 +543,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
543
543
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
544
544
|
},
|
|
545
545
|
/**
|
|
546
|
-
*
|
|
546
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
547
547
|
* @param {number} id
|
|
548
548
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
549
549
|
* @param {string} [authorization] Bearer Token
|
|
@@ -568,7 +568,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
568
568
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
|
-
*
|
|
571
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
572
572
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
573
573
|
* @param {*} [options] Override http request option.
|
|
574
574
|
* @throws {RequiredError}
|
|
@@ -579,7 +579,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
579
579
|
return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
580
580
|
};
|
|
581
581
|
/**
|
|
582
|
-
*
|
|
582
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
583
583
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
584
584
|
* @param {*} [options] Override http request option.
|
|
585
585
|
* @throws {RequiredError}
|
|
@@ -590,7 +590,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
590
590
|
return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
591
591
|
};
|
|
592
592
|
/**
|
|
593
|
-
*
|
|
593
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
594
594
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
595
595
|
* @param {*} [options] Override http request option.
|
|
596
596
|
* @throws {RequiredError}
|
|
@@ -601,7 +601,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
601
601
|
return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
602
|
};
|
|
603
603
|
/**
|
|
604
|
-
*
|
|
604
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
605
605
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
606
606
|
* @param {*} [options] Override http request option.
|
|
607
607
|
* @throws {RequiredError}
|
|
@@ -613,7 +613,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
613
613
|
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(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); });
|
|
614
614
|
};
|
|
615
615
|
/**
|
|
616
|
-
*
|
|
616
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
617
617
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
618
618
|
* @param {*} [options] Override http request option.
|
|
619
619
|
* @throws {RequiredError}
|