@free-drivers-ed-california/types 0.0.182 → 0.0.184
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/dist/emails/endpoints/admin/create-email-template/create-email-template-request.interface.d.ts +13 -0
- package/dist/emails/endpoints/admin/create-email-template/create-email-template-request.interface.d.ts.map +1 -0
- package/dist/emails/endpoints/admin/create-email-template/create-email-template-request.interface.js +0 -0
- package/dist/emails/endpoints/admin/create-email-template/create-email-template-response.interface.d.ts +9 -0
- package/dist/emails/endpoints/admin/create-email-template/create-email-template-response.interface.d.ts.map +1 -0
- package/dist/emails/endpoints/admin/create-email-template/create-email-template-response.interface.js +0 -0
- package/dist/emails/endpoints/admin/create-email-template/index.d.ts +3 -0
- package/dist/emails/endpoints/admin/create-email-template/index.d.ts.map +1 -0
- package/dist/emails/endpoints/admin/create-email-template/index.js +2 -0
- package/dist/emails/endpoints/admin/delete-email-template/delete-email-template-request.interface.d.ts +1 -1
- package/dist/emails/endpoints/admin/delete-email-template/delete-email-template-response.interface.d.ts +1 -1
- package/dist/emails/endpoints/admin/index.d.ts +1 -0
- package/dist/emails/endpoints/admin/index.d.ts.map +1 -1
- package/dist/emails/endpoints/admin/index.js +1 -0
- package/dist/emails/endpoints/admin/update-email-template/update-email-template-request.interface.d.ts +1 -1
- package/dist/emails/interfaces/database-email.interface.d.ts +1 -1
- package/dist/endpoints/admin-email-endpoints.enum.d.ts +1 -0
- package/dist/endpoints/admin-email-endpoints.enum.d.ts.map +1 -1
- package/dist/endpoints/admin-email-endpoints.enum.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EmailTriggers } from '../../../enums';
|
|
2
|
+
/**
|
|
3
|
+
* Request interface for create email template endpoint
|
|
4
|
+
*/
|
|
5
|
+
export interface CreateEmailTemplateRequest {
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
triggerEvent?: EmailTriggers;
|
|
9
|
+
sendTo?: string[];
|
|
10
|
+
subject: string;
|
|
11
|
+
html: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=create-email-template-request.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-email-template-request.interface.d.ts","sourceRoot":"","sources":["../../../../../src/emails/endpoints/admin/create-email-template/create-email-template-request.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
package/dist/emails/endpoints/admin/create-email-template/create-email-template-request.interface.js
ADDED
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseResponse } from "../../../../generics";
|
|
2
|
+
import { Email } from "../../../interfaces";
|
|
3
|
+
/**
|
|
4
|
+
* Response interface for create email template endpoint
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateEmailTemplateResponse extends BaseResponse {
|
|
7
|
+
email: Email;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=create-email-template-response.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-email-template-response.interface.d.ts","sourceRoot":"","sources":["../../../../../src/emails/endpoints/admin/create-email-template/create-email-template-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC7D,KAAK,EAAE,KAAK,CAAC;CAChB"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/emails/endpoints/admin/create-email-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-email-endpoints.enum.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-email-endpoints.enum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC3B,UAAU,uBAAuB;IACjC,UAAU,kBAAkB;IAC5B,qBAAqB,yBAAyB;IAC9C,qBAAqB,yBAAyB;CACjD"}
|
|
1
|
+
{"version":3,"file":"admin-email-endpoints.enum.d.ts","sourceRoot":"","sources":["../../src/endpoints/admin-email-endpoints.enum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAC3B,UAAU,uBAAuB;IACjC,UAAU,kBAAkB;IAC5B,qBAAqB,yBAAyB;IAC9C,qBAAqB,yBAAyB;IAC9C,qBAAqB,yBAAyB;CACjD"}
|
|
@@ -5,6 +5,7 @@ export var AdminEmailEndpoints;
|
|
|
5
5
|
(function (AdminEmailEndpoints) {
|
|
6
6
|
AdminEmailEndpoints["SEND_EMAIL"] = "/admin/emails/send";
|
|
7
7
|
AdminEmailEndpoints["GET_EMAILS"] = "/admin/emails";
|
|
8
|
+
AdminEmailEndpoints["CREATE_EMAIL_TEMPLATE"] = "/admin/emails/create";
|
|
8
9
|
AdminEmailEndpoints["UPDATE_EMAIL_TEMPLATE"] = "/admin/emails/update";
|
|
9
10
|
AdminEmailEndpoints["DELETE_EMAIL_TEMPLATE"] = "/admin/emails/delete";
|
|
10
11
|
})(AdminEmailEndpoints || (AdminEmailEndpoints = {}));
|