@emilgroup/notification-sdk 0.8.1-beta.27 → 0.8.1-beta.28
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/email-messages-api.ts +28 -16
- package/api/email-tracking-api.ts +24 -16
- package/api/email-verifications-api.ts +16 -8
- package/api/layouts-api.ts +56 -36
- package/api/notification-templates-api.ts +56 -36
- package/api/notifications-api.ts +8 -4
- package/dist/api/email-messages-api.d.ts +28 -16
- package/dist/api/email-messages-api.js +28 -16
- package/dist/api/email-tracking-api.d.ts +24 -16
- package/dist/api/email-tracking-api.js +24 -16
- package/dist/api/email-verifications-api.d.ts +16 -8
- package/dist/api/email-verifications-api.js +16 -8
- package/dist/api/layouts-api.d.ts +56 -36
- package/dist/api/layouts-api.js +52 -32
- package/dist/api/notification-templates-api.d.ts +56 -36
- package/dist/api/notification-templates-api.js +52 -32
- package/dist/api/notifications-api.d.ts +8 -4
- package/dist/api/notifications-api.js +8 -4
- package/package.json +1 -1
|
@@ -93,7 +93,8 @@ var NotificationTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Creates a notification template that defines the subject and body of an email. Templates are referenced by their `slug` when sending notifications. **Required Permissions** \"notification-management.email-templates.create\"
|
|
97
|
+
* @summary Create the notification template
|
|
97
98
|
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
98
99
|
* @param {string} [authorization] Bearer Token
|
|
99
100
|
* @param {*} [options] Override http request option.
|
|
@@ -141,7 +142,8 @@ var NotificationTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
141
142
|
});
|
|
142
143
|
},
|
|
143
144
|
/**
|
|
144
|
-
*
|
|
145
|
+
* Permanently deletes the notification template with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
|
|
146
|
+
* @summary Delete the notification template
|
|
145
147
|
* @param {number} id
|
|
146
148
|
* @param {string} [authorization] Bearer Token
|
|
147
149
|
* @param {*} [options] Override http request option.
|
|
@@ -188,7 +190,8 @@ var NotificationTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
188
190
|
});
|
|
189
191
|
},
|
|
190
192
|
/**
|
|
191
|
-
*
|
|
193
|
+
* Retrieves the details of the notification template with the given id. **Required Permissions** \"notification-management.email-templates.view\"
|
|
194
|
+
* @summary Retrieve the notification template
|
|
192
195
|
* @param {number} id
|
|
193
196
|
* @param {number} id2
|
|
194
197
|
* @param {string} [authorization] Bearer Token
|
|
@@ -245,15 +248,16 @@ var NotificationTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
245
248
|
});
|
|
246
249
|
},
|
|
247
250
|
/**
|
|
248
|
-
*
|
|
251
|
+
* Returns a list of notification templates. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
|
|
252
|
+
* @summary List notification templates
|
|
249
253
|
* @param {string} [authorization] Bearer Token
|
|
250
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
255
|
* @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.
|
|
256
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
253
257
|
* @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.
|
|
258
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, createdAt</i>
|
|
259
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bodyTemplateAlias, headerTemplateAlias, footerTemplateAlias<i>
|
|
260
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
257
261
|
* @param {*} [options] Override http request option.
|
|
258
262
|
* @throws {RequiredError}
|
|
259
263
|
*/
|
|
@@ -316,7 +320,8 @@ var NotificationTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
316
320
|
});
|
|
317
321
|
},
|
|
318
322
|
/**
|
|
319
|
-
*
|
|
323
|
+
* Updates the specified notification template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
|
|
324
|
+
* @summary Update the notification template
|
|
320
325
|
* @param {number} id
|
|
321
326
|
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
322
327
|
* @param {string} [authorization] Bearer Token
|
|
@@ -378,7 +383,8 @@ var NotificationTemplatesApiFp = function (configuration) {
|
|
|
378
383
|
var localVarAxiosParamCreator = (0, exports.NotificationTemplatesApiAxiosParamCreator)(configuration);
|
|
379
384
|
return {
|
|
380
385
|
/**
|
|
381
|
-
*
|
|
386
|
+
* Creates a notification template that defines the subject and body of an email. Templates are referenced by their `slug` when sending notifications. **Required Permissions** \"notification-management.email-templates.create\"
|
|
387
|
+
* @summary Create the notification template
|
|
382
388
|
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
383
389
|
* @param {string} [authorization] Bearer Token
|
|
384
390
|
* @param {*} [options] Override http request option.
|
|
@@ -398,7 +404,8 @@ var NotificationTemplatesApiFp = function (configuration) {
|
|
|
398
404
|
});
|
|
399
405
|
},
|
|
400
406
|
/**
|
|
401
|
-
*
|
|
407
|
+
* Permanently deletes the notification template with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
|
|
408
|
+
* @summary Delete the notification template
|
|
402
409
|
* @param {number} id
|
|
403
410
|
* @param {string} [authorization] Bearer Token
|
|
404
411
|
* @param {*} [options] Override http request option.
|
|
@@ -418,7 +425,8 @@ var NotificationTemplatesApiFp = function (configuration) {
|
|
|
418
425
|
});
|
|
419
426
|
},
|
|
420
427
|
/**
|
|
421
|
-
*
|
|
428
|
+
* Retrieves the details of the notification template with the given id. **Required Permissions** \"notification-management.email-templates.view\"
|
|
429
|
+
* @summary Retrieve the notification template
|
|
422
430
|
* @param {number} id
|
|
423
431
|
* @param {number} id2
|
|
424
432
|
* @param {string} [authorization] Bearer Token
|
|
@@ -440,15 +448,16 @@ var NotificationTemplatesApiFp = function (configuration) {
|
|
|
440
448
|
});
|
|
441
449
|
},
|
|
442
450
|
/**
|
|
443
|
-
*
|
|
451
|
+
* Returns a list of notification templates. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
|
|
452
|
+
* @summary List notification templates
|
|
444
453
|
* @param {string} [authorization] Bearer Token
|
|
445
454
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
446
455
|
* @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.
|
|
447
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
456
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
448
457
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
449
|
-
* @param {string} [order]
|
|
450
|
-
* @param {string} [expand]
|
|
451
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
458
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, createdAt</i>
|
|
459
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bodyTemplateAlias, headerTemplateAlias, footerTemplateAlias<i>
|
|
460
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
452
461
|
* @param {*} [options] Override http request option.
|
|
453
462
|
* @throws {RequiredError}
|
|
454
463
|
*/
|
|
@@ -466,7 +475,8 @@ var NotificationTemplatesApiFp = function (configuration) {
|
|
|
466
475
|
});
|
|
467
476
|
},
|
|
468
477
|
/**
|
|
469
|
-
*
|
|
478
|
+
* Updates the specified notification template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
|
|
479
|
+
* @summary Update the notification template
|
|
470
480
|
* @param {number} id
|
|
471
481
|
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
472
482
|
* @param {string} [authorization] Bearer Token
|
|
@@ -497,7 +507,8 @@ var NotificationTemplatesApiFactory = function (configuration, basePath, axios)
|
|
|
497
507
|
var localVarFp = (0, exports.NotificationTemplatesApiFp)(configuration);
|
|
498
508
|
return {
|
|
499
509
|
/**
|
|
500
|
-
*
|
|
510
|
+
* Creates a notification template that defines the subject and body of an email. Templates are referenced by their `slug` when sending notifications. **Required Permissions** \"notification-management.email-templates.create\"
|
|
511
|
+
* @summary Create the notification template
|
|
501
512
|
* @param {CreateNotificationTemplateRequestDto} createNotificationTemplateRequestDto
|
|
502
513
|
* @param {string} [authorization] Bearer Token
|
|
503
514
|
* @param {*} [options] Override http request option.
|
|
@@ -507,7 +518,8 @@ var NotificationTemplatesApiFactory = function (configuration, basePath, axios)
|
|
|
507
518
|
return localVarFp.createNotificationTemplate(createNotificationTemplateRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
508
519
|
},
|
|
509
520
|
/**
|
|
510
|
-
*
|
|
521
|
+
* Permanently deletes the notification template with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
|
|
522
|
+
* @summary Delete the notification template
|
|
511
523
|
* @param {number} id
|
|
512
524
|
* @param {string} [authorization] Bearer Token
|
|
513
525
|
* @param {*} [options] Override http request option.
|
|
@@ -517,7 +529,8 @@ var NotificationTemplatesApiFactory = function (configuration, basePath, axios)
|
|
|
517
529
|
return localVarFp.deleteNotificationTemplate(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
518
530
|
},
|
|
519
531
|
/**
|
|
520
|
-
*
|
|
532
|
+
* Retrieves the details of the notification template with the given id. **Required Permissions** \"notification-management.email-templates.view\"
|
|
533
|
+
* @summary Retrieve the notification template
|
|
521
534
|
* @param {number} id
|
|
522
535
|
* @param {number} id2
|
|
523
536
|
* @param {string} [authorization] Bearer Token
|
|
@@ -529,15 +542,16 @@ var NotificationTemplatesApiFactory = function (configuration, basePath, axios)
|
|
|
529
542
|
return localVarFp.getNotificationTemplate(id, id2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
530
543
|
},
|
|
531
544
|
/**
|
|
532
|
-
*
|
|
545
|
+
* Returns a list of notification templates. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
|
|
546
|
+
* @summary List notification templates
|
|
533
547
|
* @param {string} [authorization] Bearer Token
|
|
534
548
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
535
549
|
* @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.
|
|
536
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
550
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
537
551
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
538
|
-
* @param {string} [order]
|
|
539
|
-
* @param {string} [expand]
|
|
540
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
552
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, createdAt</i>
|
|
553
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bodyTemplateAlias, headerTemplateAlias, footerTemplateAlias<i>
|
|
554
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: name, slug</i>
|
|
541
555
|
* @param {*} [options] Override http request option.
|
|
542
556
|
* @throws {RequiredError}
|
|
543
557
|
*/
|
|
@@ -545,7 +559,8 @@ var NotificationTemplatesApiFactory = function (configuration, basePath, axios)
|
|
|
545
559
|
return localVarFp.listNotificationTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
546
560
|
},
|
|
547
561
|
/**
|
|
548
|
-
*
|
|
562
|
+
* Updates the specified notification template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
|
|
563
|
+
* @summary Update the notification template
|
|
549
564
|
* @param {number} id
|
|
550
565
|
* @param {UpdateNotificationTemplateRequestDto} updateNotificationTemplateRequestDto
|
|
551
566
|
* @param {string} [authorization] Bearer Token
|
|
@@ -570,7 +585,8 @@ var NotificationTemplatesApi = /** @class */ (function (_super) {
|
|
|
570
585
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
571
586
|
}
|
|
572
587
|
/**
|
|
573
|
-
*
|
|
588
|
+
* Creates a notification template that defines the subject and body of an email. Templates are referenced by their `slug` when sending notifications. **Required Permissions** \"notification-management.email-templates.create\"
|
|
589
|
+
* @summary Create the notification template
|
|
574
590
|
* @param {NotificationTemplatesApiCreateNotificationTemplateRequest} requestParameters Request parameters.
|
|
575
591
|
* @param {*} [options] Override http request option.
|
|
576
592
|
* @throws {RequiredError}
|
|
@@ -581,7 +597,8 @@ var NotificationTemplatesApi = /** @class */ (function (_super) {
|
|
|
581
597
|
return (0, exports.NotificationTemplatesApiFp)(this.configuration).createNotificationTemplate(requestParameters.createNotificationTemplateRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
582
598
|
};
|
|
583
599
|
/**
|
|
584
|
-
*
|
|
600
|
+
* Permanently deletes the notification template with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
|
|
601
|
+
* @summary Delete the notification template
|
|
585
602
|
* @param {NotificationTemplatesApiDeleteNotificationTemplateRequest} requestParameters Request parameters.
|
|
586
603
|
* @param {*} [options] Override http request option.
|
|
587
604
|
* @throws {RequiredError}
|
|
@@ -592,7 +609,8 @@ var NotificationTemplatesApi = /** @class */ (function (_super) {
|
|
|
592
609
|
return (0, exports.NotificationTemplatesApiFp)(this.configuration).deleteNotificationTemplate(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
593
610
|
};
|
|
594
611
|
/**
|
|
595
|
-
*
|
|
612
|
+
* Retrieves the details of the notification template with the given id. **Required Permissions** \"notification-management.email-templates.view\"
|
|
613
|
+
* @summary Retrieve the notification template
|
|
596
614
|
* @param {NotificationTemplatesApiGetNotificationTemplateRequest} requestParameters Request parameters.
|
|
597
615
|
* @param {*} [options] Override http request option.
|
|
598
616
|
* @throws {RequiredError}
|
|
@@ -603,7 +621,8 @@ var NotificationTemplatesApi = /** @class */ (function (_super) {
|
|
|
603
621
|
return (0, exports.NotificationTemplatesApiFp)(this.configuration).getNotificationTemplate(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
622
|
};
|
|
605
623
|
/**
|
|
606
|
-
*
|
|
624
|
+
* Returns a list of notification templates. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
|
|
625
|
+
* @summary List notification templates
|
|
607
626
|
* @param {NotificationTemplatesApiListNotificationTemplatesRequest} requestParameters Request parameters.
|
|
608
627
|
* @param {*} [options] Override http request option.
|
|
609
628
|
* @throws {RequiredError}
|
|
@@ -615,7 +634,8 @@ var NotificationTemplatesApi = /** @class */ (function (_super) {
|
|
|
615
634
|
return (0, exports.NotificationTemplatesApiFp)(this.configuration).listNotificationTemplates(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); });
|
|
616
635
|
};
|
|
617
636
|
/**
|
|
618
|
-
*
|
|
637
|
+
* Updates the specified notification template by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
|
|
638
|
+
* @summary Update the notification template
|
|
619
639
|
* @param {NotificationTemplatesApiUpdateNotificationTemplateRequest} requestParameters Request parameters.
|
|
620
640
|
* @param {*} [options] Override http request option.
|
|
621
641
|
* @throws {RequiredError}
|
|
@@ -20,7 +20,8 @@ import { SendNotificationResponseClass } from '../models';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
24
|
+
* @summary Send a notification
|
|
24
25
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
25
26
|
* @param {string} [authorization] Bearer Token
|
|
26
27
|
* @param {*} [options] Override http request option.
|
|
@@ -34,7 +35,8 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
34
35
|
*/
|
|
35
36
|
export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
39
|
+
* @summary Send a notification
|
|
38
40
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
39
41
|
* @param {string} [authorization] Bearer Token
|
|
40
42
|
* @param {*} [options] Override http request option.
|
|
@@ -48,7 +50,8 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
|
|
|
48
50
|
*/
|
|
49
51
|
export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
50
52
|
/**
|
|
51
|
-
*
|
|
53
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
54
|
+
* @summary Send a notification
|
|
52
55
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
53
56
|
* @param {string} [authorization] Bearer Token
|
|
54
57
|
* @param {*} [options] Override http request option.
|
|
@@ -83,7 +86,8 @@ export interface NotificationsApiSendNotificationRequest {
|
|
|
83
86
|
*/
|
|
84
87
|
export declare class NotificationsApi extends BaseAPI {
|
|
85
88
|
/**
|
|
86
|
-
*
|
|
89
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
90
|
+
* @summary Send a notification
|
|
87
91
|
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
88
92
|
* @param {*} [options] Override http request option.
|
|
89
93
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,8 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
97
|
+
* @summary Send a notification
|
|
97
98
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
98
99
|
* @param {string} [authorization] Bearer Token
|
|
99
100
|
* @param {*} [options] Override http request option.
|
|
@@ -151,7 +152,8 @@ var NotificationsApiFp = function (configuration) {
|
|
|
151
152
|
var localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
152
153
|
return {
|
|
153
154
|
/**
|
|
154
|
-
*
|
|
155
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
156
|
+
* @summary Send a notification
|
|
155
157
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
156
158
|
* @param {string} [authorization] Bearer Token
|
|
157
159
|
* @param {*} [options] Override http request option.
|
|
@@ -181,7 +183,8 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
181
183
|
var localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
182
184
|
return {
|
|
183
185
|
/**
|
|
184
|
-
*
|
|
186
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
187
|
+
* @summary Send a notification
|
|
185
188
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
186
189
|
* @param {string} [authorization] Bearer Token
|
|
187
190
|
* @param {*} [options] Override http request option.
|
|
@@ -205,7 +208,8 @@ var NotificationsApi = /** @class */ (function (_super) {
|
|
|
205
208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
206
209
|
}
|
|
207
210
|
/**
|
|
208
|
-
*
|
|
211
|
+
* Sends an email using the notification template identified by `templateSlug`. Provide `entityType` and `entityCode` to track replies in an email thread. **Required Permissions** none
|
|
212
|
+
* @summary Send a notification
|
|
209
213
|
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
210
214
|
* @param {*} [options] Override http request option.
|
|
211
215
|
* @throws {RequiredError}
|