@mitreka/coreflow-types 0.0.20 → 0.0.22

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/coreflow.ts CHANGED
@@ -14,7 +14,7 @@ export interface CoreFlowOptions {
14
14
  export interface EndpointList {
15
15
  auth?: string;
16
16
  company?: string;
17
- subscription?: string;
17
+ imager?: string;
18
18
  task?: string;
19
19
  user?: string;
20
20
  }
package/imager.ts ADDED
@@ -0,0 +1,8 @@
1
+ export type CreateAvatarOptions = {
2
+ raw?: boolean
3
+ }
4
+
5
+ export type CreateAvatarResponse = {
6
+ mime: string;
7
+ data: string;
8
+ }
package/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './entity.js';
8
8
  export * from './error.js';
9
9
  export * from './find.js';
10
10
  export * from './filter.js';
11
+ export * from './imager.js';
11
12
  export * from './plan.js';
12
13
  export * from './task.js';
13
14
  export * from './user.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitreka/coreflow-types",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "CoreFlow Types Definition",
5
5
  "author": {
6
6
  "name": "Riyan Widiyanto",
package/user.ts CHANGED
@@ -62,7 +62,7 @@ export interface UserEntity extends BaseEntity {
62
62
 
63
63
  export type User = Omit<UserEntity, 'id' | keyof BaseEntity>;
64
64
  export type UserRequest = QueryFilters & BaseEntityFilters &
65
- Omit<User, 'password' | 'meta' | keyof BaseEntity>;
65
+ Omit<UserEntity, 'password' | 'meta' | keyof BaseEntity>;
66
66
 
67
67
  export interface UserCompanyEntity extends RelationEntity {
68
68
  id: string;