@emilgroup/notification-sdk 0.8.1-beta.48 → 0.8.1-beta.5
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 -20
- package/README.md +2 -2
- package/api/email-messages-api.ts +28 -40
- package/api/email-tracking-api.ts +40 -271
- package/api/email-verifications-api.ts +8 -16
- package/api/layouts-api.ts +36 -56
- package/api/notification-templates-api.ts +36 -56
- package/api/notifications-api.ts +4 -115
- package/api.ts +0 -6
- package/base.ts +15 -36
- package/configuration.ts +0 -11
- package/dist/api/email-messages-api.d.ts +28 -40
- package/dist/api/email-messages-api.js +25 -37
- package/dist/api/email-tracking-api.d.ts +40 -170
- package/dist/api/email-tracking-api.js +34 -233
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +8 -16
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +32 -52
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +32 -52
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +4 -101
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.d.ts +0 -1
- package/dist/base.js +16 -36
- package/dist/configuration.d.ts +0 -9
- package/dist/configuration.js +0 -1
- 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 -17
- package/dist/models/index.js +0 -17
- 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 -17
- package/models/send-notification-request-dto.ts +2 -9
- package/package.json +1 -1
- package/api/email-mailboxes-api.ts +0 -148
- package/api/email-subscriptions-api.ts +0 -559
- 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 -218
- package/dist/api/email-subscriptions-api.d.ts +0 -319
- package/dist/api/email-subscriptions-api.js +0 -537
- 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/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 -104
- 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/email-mailbox-class.ts +0 -56
- package/models/email-message-summary-class.ts +0 -109
- package/models/email-subscription-class.ts +0 -113
- 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
|
@@ -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}
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -93,8 +93,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Create the layout
|
|
96
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
98
97
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
99
98
|
* @param {string} [authorization] Bearer Token
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
@@ -142,8 +141,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
});
|
|
143
142
|
},
|
|
144
143
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @summary Delete the layout
|
|
144
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
147
145
|
* @param {number} id
|
|
148
146
|
* @param {string} [authorization] Bearer Token
|
|
149
147
|
* @param {*} [options] Override http request option.
|
|
@@ -190,8 +188,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
190
188
|
});
|
|
191
189
|
},
|
|
192
190
|
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary Retrieve the layout
|
|
191
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
195
192
|
* @param {number} id
|
|
196
193
|
* @param {number} id2 Layout id
|
|
197
194
|
* @param {string} [authorization] Bearer Token
|
|
@@ -244,16 +241,15 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
244
241
|
});
|
|
245
242
|
},
|
|
246
243
|
/**
|
|
247
|
-
*
|
|
248
|
-
* @summary List layouts
|
|
244
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
249
245
|
* @param {string} [authorization] Bearer Token
|
|
250
246
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
247
|
* @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.
|
|
248
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
253
249
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
|
-
* @param {string} [order]
|
|
255
|
-
* @param {string} [expand]
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
250
|
+
* @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.
|
|
251
|
+
* @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.
|
|
252
|
+
* @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
253
|
* @param {*} [options] Override http request option.
|
|
258
254
|
* @throws {RequiredError}
|
|
259
255
|
*/
|
|
@@ -316,8 +312,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
316
312
|
});
|
|
317
313
|
},
|
|
318
314
|
/**
|
|
319
|
-
*
|
|
320
|
-
* @summary Update the layout
|
|
315
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
321
316
|
* @param {number} id
|
|
322
317
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
323
318
|
* @param {string} [authorization] Bearer Token
|
|
@@ -379,8 +374,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
379
374
|
var localVarAxiosParamCreator = (0, exports.LayoutsApiAxiosParamCreator)(configuration);
|
|
380
375
|
return {
|
|
381
376
|
/**
|
|
382
|
-
*
|
|
383
|
-
* @summary Create the layout
|
|
377
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
384
378
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
385
379
|
* @param {string} [authorization] Bearer Token
|
|
386
380
|
* @param {*} [options] Override http request option.
|
|
@@ -400,8 +394,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
400
394
|
});
|
|
401
395
|
},
|
|
402
396
|
/**
|
|
403
|
-
*
|
|
404
|
-
* @summary Delete the layout
|
|
397
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
405
398
|
* @param {number} id
|
|
406
399
|
* @param {string} [authorization] Bearer Token
|
|
407
400
|
* @param {*} [options] Override http request option.
|
|
@@ -421,8 +414,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
421
414
|
});
|
|
422
415
|
},
|
|
423
416
|
/**
|
|
424
|
-
*
|
|
425
|
-
* @summary Retrieve the layout
|
|
417
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
426
418
|
* @param {number} id
|
|
427
419
|
* @param {number} id2 Layout id
|
|
428
420
|
* @param {string} [authorization] Bearer Token
|
|
@@ -443,16 +435,15 @@ var LayoutsApiFp = function (configuration) {
|
|
|
443
435
|
});
|
|
444
436
|
},
|
|
445
437
|
/**
|
|
446
|
-
*
|
|
447
|
-
* @summary List layouts
|
|
438
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
448
439
|
* @param {string} [authorization] Bearer Token
|
|
449
440
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
450
441
|
* @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.
|
|
451
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
442
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
452
443
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
453
|
-
* @param {string} [order]
|
|
454
|
-
* @param {string} [expand]
|
|
455
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
444
|
+
* @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.
|
|
445
|
+
* @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.
|
|
446
|
+
* @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.
|
|
456
447
|
* @param {*} [options] Override http request option.
|
|
457
448
|
* @throws {RequiredError}
|
|
458
449
|
*/
|
|
@@ -470,8 +461,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
470
461
|
});
|
|
471
462
|
},
|
|
472
463
|
/**
|
|
473
|
-
*
|
|
474
|
-
* @summary Update the layout
|
|
464
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
475
465
|
* @param {number} id
|
|
476
466
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
477
467
|
* @param {string} [authorization] Bearer Token
|
|
@@ -502,8 +492,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
502
492
|
var localVarFp = (0, exports.LayoutsApiFp)(configuration);
|
|
503
493
|
return {
|
|
504
494
|
/**
|
|
505
|
-
*
|
|
506
|
-
* @summary Create the layout
|
|
495
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
507
496
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
508
497
|
* @param {string} [authorization] Bearer Token
|
|
509
498
|
* @param {*} [options] Override http request option.
|
|
@@ -513,8 +502,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
513
502
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
503
|
},
|
|
515
504
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @summary Delete the layout
|
|
505
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
518
506
|
* @param {number} id
|
|
519
507
|
* @param {string} [authorization] Bearer Token
|
|
520
508
|
* @param {*} [options] Override http request option.
|
|
@@ -524,8 +512,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
524
512
|
return localVarFp.deleteLayout(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
525
513
|
},
|
|
526
514
|
/**
|
|
527
|
-
*
|
|
528
|
-
* @summary Retrieve the layout
|
|
515
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
529
516
|
* @param {number} id
|
|
530
517
|
* @param {number} id2 Layout id
|
|
531
518
|
* @param {string} [authorization] Bearer Token
|
|
@@ -536,16 +523,15 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
536
523
|
return localVarFp.getLayout(id, id2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
537
524
|
},
|
|
538
525
|
/**
|
|
539
|
-
*
|
|
540
|
-
* @summary List layouts
|
|
526
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
541
527
|
* @param {string} [authorization] Bearer Token
|
|
542
528
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
543
529
|
* @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.
|
|
544
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
530
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
545
531
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
546
|
-
* @param {string} [order]
|
|
547
|
-
* @param {string} [expand]
|
|
548
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
532
|
+
* @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.
|
|
533
|
+
* @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.
|
|
534
|
+
* @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.
|
|
549
535
|
* @param {*} [options] Override http request option.
|
|
550
536
|
* @throws {RequiredError}
|
|
551
537
|
*/
|
|
@@ -553,8 +539,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
553
539
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
554
540
|
},
|
|
555
541
|
/**
|
|
556
|
-
*
|
|
557
|
-
* @summary Update the layout
|
|
542
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
558
543
|
* @param {number} id
|
|
559
544
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
560
545
|
* @param {string} [authorization] Bearer Token
|
|
@@ -579,8 +564,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
579
564
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
580
565
|
}
|
|
581
566
|
/**
|
|
582
|
-
*
|
|
583
|
-
* @summary Create the layout
|
|
567
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
584
568
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
585
569
|
* @param {*} [options] Override http request option.
|
|
586
570
|
* @throws {RequiredError}
|
|
@@ -591,8 +575,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
591
575
|
return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
576
|
};
|
|
593
577
|
/**
|
|
594
|
-
*
|
|
595
|
-
* @summary Delete the layout
|
|
578
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
596
579
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
597
580
|
* @param {*} [options] Override http request option.
|
|
598
581
|
* @throws {RequiredError}
|
|
@@ -603,8 +586,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
603
586
|
return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
587
|
};
|
|
605
588
|
/**
|
|
606
|
-
*
|
|
607
|
-
* @summary Retrieve the layout
|
|
589
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
608
590
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
609
591
|
* @param {*} [options] Override http request option.
|
|
610
592
|
* @throws {RequiredError}
|
|
@@ -615,8 +597,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
615
597
|
return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
616
598
|
};
|
|
617
599
|
/**
|
|
618
|
-
*
|
|
619
|
-
* @summary List layouts
|
|
600
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
620
601
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
621
602
|
* @param {*} [options] Override http request option.
|
|
622
603
|
* @throws {RequiredError}
|
|
@@ -628,8 +609,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
628
609
|
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); });
|
|
629
610
|
};
|
|
630
611
|
/**
|
|
631
|
-
*
|
|
632
|
-
* @summary Update the layout
|
|
612
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
633
613
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
634
614
|
* @param {*} [options] Override http request option.
|
|
635
615
|
* @throws {RequiredError}
|