@free-drivers-ed-california/types 0.0.171 → 0.0.172

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.
@@ -0,0 +1,2 @@
1
+ export * from './send-email';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/emails/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './send-email';
@@ -0,0 +1,3 @@
1
+ export * from './send-email-request.interface';
2
+ export * from './send-email-response.interface';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/send-email/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './send-email-request.interface';
2
+ export * from './send-email-response.interface';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Request interface for send email endpoint
3
+ */
4
+ export interface SendEmailRequest {
5
+ sendTo: string[];
6
+ subject: string;
7
+ html: string;
8
+ fromEmail?: string;
9
+ fromName?: string;
10
+ }
11
+ //# sourceMappingURL=send-email-request.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-email-request.interface.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/send-email/send-email-request.interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,9 @@
1
+ import { BaseResponse } from "../../../generics";
2
+ /**
3
+ * Response interface for send email endpoint
4
+ */
5
+ export interface SendEmailResponse extends BaseResponse {
6
+ success: boolean;
7
+ emailSent: boolean;
8
+ }
9
+ //# sourceMappingURL=send-email-response.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-email-response.interface.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/send-email/send-email-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB"}
@@ -1,3 +1,4 @@
1
+ export * from './endpoints';
1
2
  export * from './enums';
2
3
  export * from './interfaces';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/emails/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/emails/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
@@ -1,2 +1,3 @@
1
+ export * from './endpoints';
1
2
  export * from './enums';
2
3
  export * from './interfaces';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Enum for email endpoints
3
+ */
4
+ export declare enum EmailEndpoints {
5
+ SEND_EMAIL = "/emails/send"
6
+ }
7
+ //# sourceMappingURL=email-endpoints.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-endpoints.enum.d.ts","sourceRoot":"","sources":["../../src/endpoints/email-endpoints.enum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,cAAc;IACtB,UAAU,iBAAiB;CAC9B"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Enum for email endpoints
3
+ */
4
+ export var EmailEndpoints;
5
+ (function (EmailEndpoints) {
6
+ EmailEndpoints["SEND_EMAIL"] = "/emails/send";
7
+ })(EmailEndpoints || (EmailEndpoints = {}));
@@ -1,6 +1,7 @@
1
1
  export * from './admin-user-endpoints.enum';
2
2
  export * from './admin-student-endpoints.enum';
3
3
  export * from './admin-curriculum-endpoints.enum';
4
+ export * from './email-endpoints.enum';
4
5
  export * from './student-endpoints.enum';
5
6
  export * from './public-endpoints.enum';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/endpoints/index.ts"],"names":[],"mappings":"AACA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,0BAA0B,CAAC;AAGzC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/endpoints/index.ts"],"names":[],"mappings":"AACA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,wBAAwB,CAAC;AAGvC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,yBAAyB,CAAC"}
@@ -2,6 +2,8 @@
2
2
  export * from './admin-user-endpoints.enum';
3
3
  export * from './admin-student-endpoints.enum';
4
4
  export * from './admin-curriculum-endpoints.enum';
5
+ // Email Endpoints
6
+ export * from './email-endpoints.enum';
5
7
  // Student Endpoints
6
8
  export * from './student-endpoints.enum';
7
9
  // Public Endpoints
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@free-drivers-ed-california/types",
3
- "version": "0.0.171",
3
+ "version": "0.0.172",
4
4
  "private": false,
5
5
  "description": "Types and Interfaces for Free Drivers Ed California UI & API",
6
6
  "main": "dist/index.js",