@free-drivers-ed-california/types 0.0.174 → 0.0.177

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,7 @@
1
+ /**
2
+ * Request interface for get emails endpoint
3
+ * No request body needed for getting emails
4
+ */
5
+ export interface GetEmailsRequest {
6
+ }
7
+ //# sourceMappingURL=get-emails-request.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-emails-request.interface.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/get-emails/get-emails-request.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;CAChC"}
@@ -0,0 +1,10 @@
1
+ import { BaseResponse } from "../../../generics";
2
+ import { Email } from "../../interfaces";
3
+ /**
4
+ * Response interface for get emails endpoint
5
+ */
6
+ export interface GetEmailsResponse extends BaseResponse {
7
+ emails: Email[];
8
+ total: number;
9
+ }
10
+ //# sourceMappingURL=get-emails-response.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-emails-response.interface.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/get-emails/get-emails-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACnD,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ export * from './get-emails-request.interface';
2
+ export * from './get-emails-response.interface';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/emails/endpoints/get-emails/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './get-emails-request.interface';
2
+ export * from './get-emails-response.interface';
@@ -1,2 +1,3 @@
1
1
  export * from './send-email';
2
+ export * from './get-emails';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/emails/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/emails/endpoints/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './send-email';
2
+ export * from './get-emails';
@@ -2,6 +2,7 @@
2
2
  * Enum for admin email endpoints
3
3
  */
4
4
  export declare enum AdminEmailEndpoints {
5
- SEND_EMAIL = "/admin/emails/send"
5
+ SEND_EMAIL = "/admin/emails/send",
6
+ GET_EMAILS = "/admin/emails"
6
7
  }
7
8
  //# sourceMappingURL=admin-email-endpoints.enum.d.ts.map
@@ -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;CACpC"}
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;CAC/B"}
@@ -4,4 +4,5 @@
4
4
  export var AdminEmailEndpoints;
5
5
  (function (AdminEmailEndpoints) {
6
6
  AdminEmailEndpoints["SEND_EMAIL"] = "/admin/emails/send";
7
+ AdminEmailEndpoints["GET_EMAILS"] = "/admin/emails";
7
8
  })(AdminEmailEndpoints || (AdminEmailEndpoints = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@free-drivers-ed-california/types",
3
- "version": "0.0.174",
3
+ "version": "0.0.177",
4
4
  "private": false,
5
5
  "description": "Types and Interfaces for Free Drivers Ed California UI & API",
6
6
  "main": "dist/index.js",