@fiado/type-kit 1.0.47 → 1.0.48

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.
Files changed (43) hide show
  1. package/bin/address/dtos/OfficeDetails.d.ts +12 -0
  2. package/bin/address/dtos/OfficeDetails.js +2 -0
  3. package/bin/address/dtos/OperationSchedule.d.ts +7 -0
  4. package/bin/address/dtos/OperationSchedule.js +2 -0
  5. package/bin/address/index.d.ts +2 -0
  6. package/bin/address/index.js +2 -0
  7. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
  8. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
  9. package/package.json +1 -1
  10. package/src/address/dtos/OfficeDetails.ts +15 -0
  11. package/src/address/dtos/OperationSchedule.ts +9 -0
  12. package/src/address/index.ts +2 -0
  13. package/src/group/dtos/GroupCreateRequest.ts +9 -9
  14. package/.idea/aws.xml +0 -11
  15. package/.idea/fiado-type-kit.iml +0 -12
  16. package/.idea/modules.xml +0 -8
  17. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
  18. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  19. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  20. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  21. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  22. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  23. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  24. package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  25. package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  26. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  27. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  28. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  29. package/.idea/sonarlint/issuestore/index.pb +0 -25
  30. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  31. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  32. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  33. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  34. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  35. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  36. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  37. package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  38. package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  39. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  40. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  41. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  42. package/.idea/sonarlint/securityhotspotstore/index.pb +0 -25
  43. package/.idea/vcs.xml +0 -6
@@ -0,0 +1,12 @@
1
+ import { OperationSchedule } from "./OperationSchedule";
2
+ export type OfficeDetails = {
3
+ code: string;
4
+ name: string;
5
+ ownerName: string;
6
+ fullAddress: string;
7
+ latitude: string;
8
+ longitude: string;
9
+ distance: number;
10
+ phoneNumber: string;
11
+ OperationSchedule: OperationSchedule[];
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export type OperationSchedule = {
2
+ Weekday: string;
3
+ StartHourDay: string;
4
+ FinishHourDay: string;
5
+ StartHourLunchDay: string;
6
+ FinishHourLunchDay: string;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,5 +4,7 @@ export * from './dtos/AddressResponse';
4
4
  export * from './dtos/Geometry';
5
5
  export * from './dtos/Place';
6
6
  export * from './dtos/Timezone';
7
+ export * from './dtos/OfficeDetails';
8
+ export * from './dtos/OperationSchedule';
7
9
  export * from './enums/AddressStatus';
8
10
  export * from './enums/AddressProvider';
@@ -21,6 +21,8 @@ __exportStar(require("./dtos/AddressResponse"), exports);
21
21
  __exportStar(require("./dtos/Geometry"), exports);
22
22
  __exportStar(require("./dtos/Place"), exports);
23
23
  __exportStar(require("./dtos/Timezone"), exports);
24
+ __exportStar(require("./dtos/OfficeDetails"), exports);
25
+ __exportStar(require("./dtos/OperationSchedule"), exports);
24
26
  //enums
25
27
  __exportStar(require("./enums/AddressStatus"), exports);
26
28
  __exportStar(require("./enums/AddressProvider"), exports);
@@ -0,0 +1,3 @@
1
+ export declare class GroupDirectoryRetationsUpdateRequest {
2
+ agent: string;
3
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GroupDirectoryRetationsUpdateRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GroupDirectoryRetationsUpdateRequest {
15
+ }
16
+ exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsOptional)(),
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.Length)(1, 20),
21
+ __metadata("design:type", String)
22
+ ], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,15 @@
1
+ import { OperationSchedule } from "./OperationSchedule"
2
+
3
+
4
+
5
+ export type OfficeDetails = {
6
+ code:string
7
+ name:string
8
+ ownerName:string
9
+ fullAddress:string
10
+ latitude: string
11
+ longitude: string
12
+ distance: number
13
+ phoneNumber:string
14
+ OperationSchedule: OperationSchedule[]
15
+ }
@@ -0,0 +1,9 @@
1
+
2
+
3
+ export type OperationSchedule = {
4
+ Weekday: string
5
+ StartHourDay: string
6
+ FinishHourDay: string
7
+ StartHourLunchDay: string
8
+ FinishHourLunchDay: string
9
+ }
@@ -5,6 +5,8 @@ export * from './dtos/AddressResponse';
5
5
  export * from './dtos/Geometry';
6
6
  export * from './dtos/Place';
7
7
  export * from './dtos/Timezone';
8
+ export * from './dtos/OfficeDetails'
9
+ export * from './dtos/OperationSchedule'
8
10
 
9
11
  //enums
10
12
  export * from './enums/AddressStatus';
@@ -1,6 +1,6 @@
1
- import { IsEmail, IsEnum, IsNotEmpty, IsOptional, IsString, IsUUID, Length } from "class-validator";
2
- import { Transform } from "class-transformer";
3
- import { GroupStatus } from "../enums/GroupStatus";
1
+ import {IsEnum, IsNotEmpty, IsOptional, IsString, Length} from "class-validator";
2
+ import {Transform} from "class-transformer";
3
+ import {GroupStatus} from "../enums/GroupStatus";
4
4
 
5
5
  export class GroupCreateRequest {
6
6
  @IsNotEmpty()
@@ -19,11 +19,11 @@ export class GroupCreateRequest {
19
19
  description: string;
20
20
 
21
21
  @IsOptional()
22
- @Transform(({ value }) => value ?? null)
22
+ @Transform(({value}) => value ?? null)
23
23
  leaderEmail?: string | null;
24
24
 
25
25
  @IsOptional()
26
- @Transform(({ value }) => value ?? null)
26
+ @Transform(({value}) => value ?? null)
27
27
  leaderDirectoryId?: string | null;
28
28
 
29
29
  @IsEnum(GroupStatus)
@@ -31,24 +31,24 @@ export class GroupCreateRequest {
31
31
 
32
32
  @IsOptional()
33
33
  @Length(0, 20)
34
- @Transform(({ value }) => value ?? null)
34
+ @Transform(({value}) => value ?? null)
35
35
  codeToRefer: string | null;
36
36
 
37
37
  @IsOptional()
38
38
  @IsString()
39
39
  @Length(0, 100)
40
- @Transform(({ value }) => value ?? null)
40
+ @Transform(({value}) => value ?? null)
41
41
  leaderNames?: string | null;
42
42
 
43
43
  @IsOptional()
44
44
  @IsString()
45
45
  @Length(0, 15)
46
- @Transform(({ value }) => value ?? null)
46
+ @Transform(({value}) => value ?? null)
47
47
  phoneNumber?: string | null;
48
48
 
49
49
  @IsOptional()
50
50
  @IsString()
51
51
  @Length(0, 100)
52
- @Transform(({ value }) => value ?? null)
52
+ @Transform(({value}) => value ?? null)
53
53
  category?: string | null;
54
54
  }
package/.idea/aws.xml DELETED
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="accountSettings">
4
- <option name="activeRegion" value="us-east-1" />
5
- <option name="recentlyUsedRegions">
6
- <list>
7
- <option value="us-east-1" />
8
- </list>
9
- </option>
10
- </component>
11
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
- <excludeFolder url="file://$MODULE_DIR$/temp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/fiado-type-kit.iml" filepath="$PROJECT_DIR$/.idea/fiado-type-kit.iml" />
6
- </modules>
7
- </component>
8
- </project>
@@ -1,25 +0,0 @@
1
-
2
- 9
3
- README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
4
- A
5
- src/card/index.ts,1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd
6
- <
7
- src/index.ts,c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1
8
- Q
9
- !src/notificationMessages/index.ts,6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54
10
- p
11
- @src/notificationMessages/dtos/NotificationQueueMessageRequest.ts,3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d
12
- h
13
- 8src/notificationMessages/dtos/QueueMessageDestination.ts,2/5/25497cc140764f84080ed16d4d408b09b411525a
14
- k
15
- ;src/notificationMessages/dtos/QueueMessageVariableValues.ts,7/3/73eee44012dacbb17c6d2e2d988e6def209267b8
16
- <
17
- package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
18
- K
19
- src/servicePayment/index.ts,8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec
20
- 6
21
- .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
22
- T
23
- $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
24
- T
25
- $src/group/dtos/GroupUpdateRequest.ts,7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99
@@ -1,25 +0,0 @@
1
-
2
- 9
3
- README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
4
- A
5
- src/card/index.ts,1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd
6
- <
7
- src/index.ts,c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1
8
- Q
9
- !src/notificationMessages/index.ts,6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54
10
- p
11
- @src/notificationMessages/dtos/NotificationQueueMessageRequest.ts,3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d
12
- h
13
- 8src/notificationMessages/dtos/QueueMessageDestination.ts,2/5/25497cc140764f84080ed16d4d408b09b411525a
14
- k
15
- ;src/notificationMessages/dtos/QueueMessageVariableValues.ts,7/3/73eee44012dacbb17c6d2e2d988e6def209267b8
16
- <
17
- package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
18
- K
19
- src/servicePayment/index.ts,8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec
20
- 6
21
- .npmrc,1/2/12453d06e6e35287172e482940b954ba12dc25a2
22
- T
23
- $src/group/dtos/GroupCreateRequest.ts,7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401
24
- T
25
- $src/group/dtos/GroupUpdateRequest.ts,7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>