@emilgroup/notification-sdk-node 1.0.0-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/.openapi-generator/FILES +38 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/layouts-api.ts +663 -0
- package/api/notification-templates-api.ts +677 -0
- package/api/notifications-api.ts +165 -0
- package/api.ts +35 -0
- package/base.ts +284 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/layouts-api.d.ts +364 -0
- package/dist/api/layouts-api.js +622 -0
- package/dist/api/notification-templates-api.d.ts +373 -0
- package/dist/api/notification-templates-api.js +628 -0
- package/dist/api/notifications-api.d.ts +93 -0
- package/dist/api/notifications-api.js +224 -0
- package/dist/api.d.ts +14 -0
- package/dist/api.js +32 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +393 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-layout-request-dto.d.ts +48 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-notification-template-request-dto.d.ts +66 -0
- package/dist/models/create-notification-template-request-dto.js +15 -0
- package/dist/models/create-notification-template-response-class.d.ts +25 -0
- package/dist/models/create-notification-template-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-notification-template-request-dto.d.ts +24 -0
- package/dist/models/delete-notification-template-request-dto.js +15 -0
- package/dist/models/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-response-class.js +15 -0
- package/dist/models/get-notification-template-request-dto.d.ts +30 -0
- package/dist/models/get-notification-template-request-dto.js +15 -0
- package/dist/models/get-notification-template-response-class.d.ts +25 -0
- package/dist/models/get-notification-template-response-class.js +15 -0
- package/dist/models/html-template-class.d.ts +60 -0
- package/dist/models/html-template-class.js +15 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +38 -0
- package/dist/models/layout-class.d.ts +73 -0
- package/dist/models/layout-class.js +15 -0
- package/dist/models/list-layouts-response-class.d.ts +30 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-notification-templates-response-class.d.ts +30 -0
- package/dist/models/list-notification-templates-response-class.js +15 -0
- package/dist/models/notification-template-class.d.ts +98 -0
- package/dist/models/notification-template-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +66 -0
- package/dist/models/send-notification-request-dto.js +15 -0
- package/dist/models/send-notification-response-class.d.ts +24 -0
- package/dist/models/send-notification-response-class.js +15 -0
- package/dist/models/update-html-template-request-dto.d.ts +42 -0
- package/dist/models/update-html-template-request-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/dist/models/update-notification-template-request-dto.d.ts +73 -0
- package/dist/models/update-notification-template-request-dto.js +15 -0
- package/dist/models/update-notification-template-response-class.d.ts +25 -0
- package/dist/models/update-notification-template-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-layout-request-dto.ts +54 -0
- package/models/create-layout-response-class.ts +31 -0
- package/models/create-notification-template-request-dto.ts +72 -0
- package/models/create-notification-template-response-class.ts +31 -0
- package/models/delete-layout-request-dto.ts +30 -0
- package/models/delete-notification-template-request-dto.ts +30 -0
- package/models/get-layout-request-dto.ts +30 -0
- package/models/get-layout-response-class.ts +31 -0
- package/models/get-notification-template-request-dto.ts +36 -0
- package/models/get-notification-template-response-class.ts +31 -0
- package/models/html-template-class.ts +66 -0
- package/models/index.ts +22 -0
- package/models/layout-class.ts +79 -0
- package/models/list-layouts-response-class.ts +36 -0
- package/models/list-notification-templates-response-class.ts +36 -0
- package/models/notification-template-class.ts +104 -0
- package/models/send-notification-request-dto.ts +72 -0
- package/models/send-notification-response-class.ts +30 -0
- package/models/update-html-template-request-dto.ts +51 -0
- package/models/update-layout-request-dto.ts +61 -0
- package/models/update-layout-response-class.ts +31 -0
- package/models/update-notification-template-request-dto.ts +79 -0
- package/models/update-notification-template-response-class.ts +31 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL NotificationService
|
|
3
|
+
* The EMIL NotificationService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateNotificationTemplateRequestDto } from '../models';
|
|
16
|
+
import { CreateNotificationTemplateResponseClass } from '../models';
|
|
17
|
+
import { GetNotificationTemplateResponseClass } from '../models';
|
|
18
|
+
import { ListNotificationTemplatesResponseClass } from '../models';
|
|
19
|
+
import { UpdateNotificationTemplateRequestDto } from '../models';
|
|
20
|
+
import { UpdateNotificationTemplateResponseClass } from '../models';
|
|
21
|
+
/**
|
|
22
|
+
* NotificationTemplatesApi - axios parameter creator
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const NotificationTemplatesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
29
|
+
* @param {string} [authorization] Bearer Token
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
createNotificationTemplate: (createNotificationTemplateRequestDto: CreateNotificationTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param {number} id
|
|
37
|
+
* @param {string} [authorization] Bearer Token
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
deleteNotificationTemplate: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {number} id
|
|
45
|
+
* @param {number} id2
|
|
46
|
+
* @param {string} [authorization] Bearer Token
|
|
47
|
+
* @param {string} [expand]
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getNotificationTemplate: (id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param {string} [authorization] Bearer Token
|
|
55
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
56
|
+
* @param {any} [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.
|
|
57
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
58
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
59
|
+
* @param {any} [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.
|
|
60
|
+
* @param {any} [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.
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
listNotificationTemplates: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {number} id
|
|
68
|
+
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
69
|
+
* @param {string} [authorization] Bearer Token
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
updateNotificationTemplate: (id: number, updateNotificationTemplateRequestDto: UpdateNotificationTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* NotificationTemplatesApi - functional programming interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export declare const NotificationTemplatesApiFp: (configuration?: Configuration) => {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
83
|
+
* @param {string} [authorization] Bearer Token
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
createNotificationTemplate(createNotificationTemplateRequestDto: CreateNotificationTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNotificationTemplateResponseClass>>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @param {number} id
|
|
91
|
+
* @param {string} [authorization] Bearer Token
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
deleteNotificationTemplate(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @param {number} id
|
|
99
|
+
* @param {number} id2
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {string} [expand]
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getNotificationTemplate(id: number, id2: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationTemplateResponseClass>>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @param {string} [authorization] Bearer Token
|
|
109
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
110
|
+
* @param {any} [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.
|
|
111
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
112
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
113
|
+
* @param {any} [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.
|
|
114
|
+
* @param {any} [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.
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
listNotificationTemplates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListNotificationTemplatesResponseClass>>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @param {number} id
|
|
122
|
+
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
123
|
+
* @param {string} [authorization] Bearer Token
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
updateNotificationTemplate(id: number, updateNotificationTemplateRequestDto: UpdateNotificationTemplateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateNotificationTemplateResponseClass>>;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* NotificationTemplatesApi - factory interface
|
|
131
|
+
* @export
|
|
132
|
+
*/
|
|
133
|
+
export declare const NotificationTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
137
|
+
* @param {string} [authorization] Bearer Token
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
createNotificationTemplate(createNotificationTemplateRequestDto: CreateNotificationTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<CreateNotificationTemplateResponseClass>;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @param {number} id
|
|
145
|
+
* @param {string} [authorization] Bearer Token
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
deleteNotificationTemplate(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param {number} id
|
|
153
|
+
* @param {number} id2
|
|
154
|
+
* @param {string} [authorization] Bearer Token
|
|
155
|
+
* @param {string} [expand]
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
getNotificationTemplate(id: number, id2: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetNotificationTemplateResponseClass>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @param {string} [authorization] Bearer Token
|
|
163
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
164
|
+
* @param {any} [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.
|
|
165
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
166
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
167
|
+
* @param {any} [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.
|
|
168
|
+
* @param {any} [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.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
listNotificationTemplates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListNotificationTemplatesResponseClass>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @param {number} id
|
|
176
|
+
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
177
|
+
* @param {string} [authorization] Bearer Token
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
updateNotificationTemplate(id: number, updateNotificationTemplateRequestDto: UpdateNotificationTemplateRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateNotificationTemplateResponseClass>;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Request parameters for createNotificationTemplate operation in NotificationTemplatesApi.
|
|
185
|
+
* @export
|
|
186
|
+
* @interface NotificationTemplatesApiCreateNotificationTemplateRequest
|
|
187
|
+
*/
|
|
188
|
+
export interface NotificationTemplatesApiCreateNotificationTemplateRequest {
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {CreateNotificationTemplateRequestDto}
|
|
192
|
+
* @memberof NotificationTemplatesApiCreateNotificationTemplate
|
|
193
|
+
*/
|
|
194
|
+
readonly createNotificationTemplateRequestDto: CreateNotificationTemplateRequestDto;
|
|
195
|
+
/**
|
|
196
|
+
* Bearer Token
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof NotificationTemplatesApiCreateNotificationTemplate
|
|
199
|
+
*/
|
|
200
|
+
readonly authorization?: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Request parameters for deleteNotificationTemplate operation in NotificationTemplatesApi.
|
|
204
|
+
* @export
|
|
205
|
+
* @interface NotificationTemplatesApiDeleteNotificationTemplateRequest
|
|
206
|
+
*/
|
|
207
|
+
export interface NotificationTemplatesApiDeleteNotificationTemplateRequest {
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {number}
|
|
211
|
+
* @memberof NotificationTemplatesApiDeleteNotificationTemplate
|
|
212
|
+
*/
|
|
213
|
+
readonly id: number;
|
|
214
|
+
/**
|
|
215
|
+
* Bearer Token
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof NotificationTemplatesApiDeleteNotificationTemplate
|
|
218
|
+
*/
|
|
219
|
+
readonly authorization?: string;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Request parameters for getNotificationTemplate operation in NotificationTemplatesApi.
|
|
223
|
+
* @export
|
|
224
|
+
* @interface NotificationTemplatesApiGetNotificationTemplateRequest
|
|
225
|
+
*/
|
|
226
|
+
export interface NotificationTemplatesApiGetNotificationTemplateRequest {
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {number}
|
|
230
|
+
* @memberof NotificationTemplatesApiGetNotificationTemplate
|
|
231
|
+
*/
|
|
232
|
+
readonly id: number;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {number}
|
|
236
|
+
* @memberof NotificationTemplatesApiGetNotificationTemplate
|
|
237
|
+
*/
|
|
238
|
+
readonly id2: number;
|
|
239
|
+
/**
|
|
240
|
+
* Bearer Token
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof NotificationTemplatesApiGetNotificationTemplate
|
|
243
|
+
*/
|
|
244
|
+
readonly authorization?: string;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof NotificationTemplatesApiGetNotificationTemplate
|
|
249
|
+
*/
|
|
250
|
+
readonly expand?: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Request parameters for listNotificationTemplates operation in NotificationTemplatesApi.
|
|
254
|
+
* @export
|
|
255
|
+
* @interface NotificationTemplatesApiListNotificationTemplatesRequest
|
|
256
|
+
*/
|
|
257
|
+
export interface NotificationTemplatesApiListNotificationTemplatesRequest {
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
/**
|
|
265
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
266
|
+
* @type {any}
|
|
267
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
268
|
+
*/
|
|
269
|
+
readonly pageSize?: any;
|
|
270
|
+
/**
|
|
271
|
+
* 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.
|
|
272
|
+
* @type {any}
|
|
273
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
274
|
+
*/
|
|
275
|
+
readonly pageToken?: any;
|
|
276
|
+
/**
|
|
277
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
278
|
+
* @type {any}
|
|
279
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
280
|
+
*/
|
|
281
|
+
readonly filter?: any;
|
|
282
|
+
/**
|
|
283
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
284
|
+
* @type {any}
|
|
285
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
286
|
+
*/
|
|
287
|
+
readonly search?: any;
|
|
288
|
+
/**
|
|
289
|
+
* 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.
|
|
290
|
+
* @type {any}
|
|
291
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
292
|
+
*/
|
|
293
|
+
readonly order?: any;
|
|
294
|
+
/**
|
|
295
|
+
* 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.
|
|
296
|
+
* @type {any}
|
|
297
|
+
* @memberof NotificationTemplatesApiListNotificationTemplates
|
|
298
|
+
*/
|
|
299
|
+
readonly expand?: any;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Request parameters for updateNotificationTemplate operation in NotificationTemplatesApi.
|
|
303
|
+
* @export
|
|
304
|
+
* @interface NotificationTemplatesApiUpdateNotificationTemplateRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface NotificationTemplatesApiUpdateNotificationTemplateRequest {
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {number}
|
|
310
|
+
* @memberof NotificationTemplatesApiUpdateNotificationTemplate
|
|
311
|
+
*/
|
|
312
|
+
readonly id: number;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {UpdateNotificationTemplateRequestDto}
|
|
316
|
+
* @memberof NotificationTemplatesApiUpdateNotificationTemplate
|
|
317
|
+
*/
|
|
318
|
+
readonly updateNotificationTemplateRequestDto: UpdateNotificationTemplateRequestDto;
|
|
319
|
+
/**
|
|
320
|
+
* Bearer Token
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof NotificationTemplatesApiUpdateNotificationTemplate
|
|
323
|
+
*/
|
|
324
|
+
readonly authorization?: string;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* NotificationTemplatesApi - object-oriented interface
|
|
328
|
+
* @export
|
|
329
|
+
* @class NotificationTemplatesApi
|
|
330
|
+
* @extends {BaseAPI}
|
|
331
|
+
*/
|
|
332
|
+
export declare class NotificationTemplatesApi extends BaseAPI {
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @param {NotificationTemplatesApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
* @memberof NotificationTemplatesApi
|
|
339
|
+
*/
|
|
340
|
+
createNotificationTemplate(requestParameters: NotificationTemplatesApiCreateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNotificationTemplateResponseClass, any>>;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @param {NotificationTemplatesApiDeleteNotificationTemplateRequest} requestParameters Request parameters.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
* @memberof NotificationTemplatesApi
|
|
347
|
+
*/
|
|
348
|
+
deleteNotificationTemplate(requestParameters: NotificationTemplatesApiDeleteNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @param {NotificationTemplatesApiGetNotificationTemplateRequest} requestParameters Request parameters.
|
|
352
|
+
* @param {*} [options] Override http request option.
|
|
353
|
+
* @throws {RequiredError}
|
|
354
|
+
* @memberof NotificationTemplatesApi
|
|
355
|
+
*/
|
|
356
|
+
getNotificationTemplate(requestParameters: NotificationTemplatesApiGetNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNotificationTemplateResponseClass, any>>;
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @param {NotificationTemplatesApiListNotificationTemplatesRequest} requestParameters Request parameters.
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
* @memberof NotificationTemplatesApi
|
|
363
|
+
*/
|
|
364
|
+
listNotificationTemplates(requestParameters?: NotificationTemplatesApiListNotificationTemplatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListNotificationTemplatesResponseClass, any>>;
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @param {NotificationTemplatesApiUpdateNotificationTemplateRequest} requestParameters Request parameters.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
* @memberof NotificationTemplatesApi
|
|
371
|
+
*/
|
|
372
|
+
updateNotificationTemplate(requestParameters: NotificationTemplatesApiUpdateNotificationTemplateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateNotificationTemplateResponseClass, any>>;
|
|
373
|
+
}
|