@oatfi/oatfi-sdk-ts 0.6.0 → 0.6.2

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 (96) hide show
  1. package/README.md +2 -2
  2. package/dist/commonjs/funcs/{authenticationLogin.d.ts → authenticationsToken.d.ts} +2 -2
  3. package/dist/commonjs/funcs/authenticationsToken.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/{authenticationLogin.js → authenticationsToken.js} +3 -3
  5. package/dist/commonjs/funcs/authenticationsToken.js.map +1 -0
  6. package/dist/commonjs/lib/config.d.ts +2 -2
  7. package/dist/commonjs/lib/config.js +2 -2
  8. package/dist/commonjs/models/authresponsedto.d.ts +44 -2
  9. package/dist/commonjs/models/authresponsedto.d.ts.map +1 -1
  10. package/dist/commonjs/models/authresponsedto.js +29 -3
  11. package/dist/commonjs/models/authresponsedto.js.map +1 -1
  12. package/dist/commonjs/models/businesslistresponsedto.d.ts +48 -0
  13. package/dist/commonjs/models/businesslistresponsedto.d.ts.map +1 -0
  14. package/dist/commonjs/models/businesslistresponsedto.js +85 -0
  15. package/dist/commonjs/models/businesslistresponsedto.js.map +1 -0
  16. package/dist/commonjs/models/index.d.ts +1 -0
  17. package/dist/commonjs/models/index.d.ts.map +1 -1
  18. package/dist/commonjs/models/index.js +1 -0
  19. package/dist/commonjs/models/index.js.map +1 -1
  20. package/dist/commonjs/models/operations/businessescontrollerfindall.d.ts +2 -2
  21. package/dist/commonjs/models/operations/businessescontrollerfindall.d.ts.map +1 -1
  22. package/dist/commonjs/models/operations/businessescontrollerfindall.js +2 -2
  23. package/dist/commonjs/models/operations/businessescontrollerfindall.js.map +1 -1
  24. package/dist/commonjs/models/userprofiledto.d.ts +8 -8
  25. package/dist/commonjs/models/userprofiledto.d.ts.map +1 -1
  26. package/dist/commonjs/models/userprofiledto.js +13 -13
  27. package/dist/commonjs/models/userprofiledto.js.map +1 -1
  28. package/dist/commonjs/sdk/authentication.d.ts +0 -4
  29. package/dist/commonjs/sdk/authentication.d.ts.map +1 -1
  30. package/dist/commonjs/sdk/authentication.js +0 -7
  31. package/dist/commonjs/sdk/authentication.js.map +1 -1
  32. package/dist/commonjs/sdk/authentications.d.ts +4 -0
  33. package/dist/commonjs/sdk/authentications.d.ts.map +1 -1
  34. package/dist/commonjs/sdk/authentications.js +7 -0
  35. package/dist/commonjs/sdk/authentications.js.map +1 -1
  36. package/dist/commonjs/sdk/sdk.d.ts +2 -2
  37. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  38. package/dist/commonjs/sdk/sdk.js +3 -3
  39. package/dist/commonjs/sdk/sdk.js.map +1 -1
  40. package/dist/esm/funcs/{authenticationLogin.d.ts → authenticationsToken.d.ts} +2 -2
  41. package/dist/esm/funcs/authenticationsToken.d.ts.map +1 -0
  42. package/dist/esm/funcs/{authenticationLogin.js → authenticationsToken.js} +2 -2
  43. package/dist/esm/funcs/authenticationsToken.js.map +1 -0
  44. package/dist/esm/lib/config.d.ts +2 -2
  45. package/dist/esm/lib/config.js +2 -2
  46. package/dist/esm/models/authresponsedto.d.ts +44 -2
  47. package/dist/esm/models/authresponsedto.d.ts.map +1 -1
  48. package/dist/esm/models/authresponsedto.js +28 -2
  49. package/dist/esm/models/authresponsedto.js.map +1 -1
  50. package/dist/esm/models/businesslistresponsedto.d.ts +48 -0
  51. package/dist/esm/models/businesslistresponsedto.d.ts.map +1 -0
  52. package/dist/esm/models/businesslistresponsedto.js +47 -0
  53. package/dist/esm/models/businesslistresponsedto.js.map +1 -0
  54. package/dist/esm/models/index.d.ts +1 -0
  55. package/dist/esm/models/index.d.ts.map +1 -1
  56. package/dist/esm/models/index.js +1 -0
  57. package/dist/esm/models/index.js.map +1 -1
  58. package/dist/esm/models/operations/businessescontrollerfindall.d.ts +2 -2
  59. package/dist/esm/models/operations/businessescontrollerfindall.d.ts.map +1 -1
  60. package/dist/esm/models/operations/businessescontrollerfindall.js +2 -2
  61. package/dist/esm/models/operations/businessescontrollerfindall.js.map +1 -1
  62. package/dist/esm/models/userprofiledto.d.ts +8 -8
  63. package/dist/esm/models/userprofiledto.d.ts.map +1 -1
  64. package/dist/esm/models/userprofiledto.js +12 -12
  65. package/dist/esm/models/userprofiledto.js.map +1 -1
  66. package/dist/esm/sdk/authentication.d.ts +0 -4
  67. package/dist/esm/sdk/authentication.d.ts.map +1 -1
  68. package/dist/esm/sdk/authentication.js +0 -7
  69. package/dist/esm/sdk/authentication.js.map +1 -1
  70. package/dist/esm/sdk/authentications.d.ts +4 -0
  71. package/dist/esm/sdk/authentications.d.ts.map +1 -1
  72. package/dist/esm/sdk/authentications.js +7 -0
  73. package/dist/esm/sdk/authentications.js.map +1 -1
  74. package/dist/esm/sdk/sdk.d.ts +2 -2
  75. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  76. package/dist/esm/sdk/sdk.js +3 -3
  77. package/dist/esm/sdk/sdk.js.map +1 -1
  78. package/docs/sdks/authentication/README.md +0 -74
  79. package/docs/sdks/authentications/README.md +74 -0
  80. package/examples/package-lock.json +1 -1
  81. package/jsr.json +1 -1
  82. package/package.json +1 -1
  83. package/src/funcs/{authenticationLogin.ts → authenticationsToken.ts} +1 -1
  84. package/src/lib/config.ts +2 -2
  85. package/src/models/authresponsedto.ts +52 -4
  86. package/src/models/businesslistresponsedto.ts +105 -0
  87. package/src/models/index.ts +1 -0
  88. package/src/models/operations/businessescontrollerfindall.ts +4 -4
  89. package/src/models/userprofiledto.ts +16 -15
  90. package/src/sdk/authentication.ts +0 -15
  91. package/src/sdk/authentications.ts +15 -0
  92. package/src/sdk/sdk.ts +5 -5
  93. package/dist/commonjs/funcs/authenticationLogin.d.ts.map +0 -1
  94. package/dist/commonjs/funcs/authenticationLogin.js.map +0 -1
  95. package/dist/esm/funcs/authenticationLogin.d.ts.map +0 -1
  96. package/dist/esm/funcs/authenticationLogin.js.map +0 -1
@@ -5,17 +5,38 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
+ import { ClosedEnum } from "../types/enums.js";
8
9
  import { Result as SafeParseResult } from "../types/fp.js";
9
10
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
10
11
 
11
12
  export type AuthResponseDtoUser = {};
12
13
 
14
+ /**
15
+ * API mode (production or sandbox)
16
+ */
17
+ export const AuthResponseDtoMode = {
18
+ Production: "production",
19
+ Sandbox: "sandbox",
20
+ } as const;
21
+ /**
22
+ * API mode (production or sandbox)
23
+ */
24
+ export type AuthResponseDtoMode = ClosedEnum<typeof AuthResponseDtoMode>;
25
+
13
26
  export type AuthResponseDto = {
14
27
  accessToken: string;
15
28
  refreshToken: string;
16
29
  expiresIn: number;
17
30
  tokenType: string;
18
- user: AuthResponseDtoUser;
31
+ user?: AuthResponseDtoUser | undefined;
32
+ /**
33
+ * Granted scopes for the token
34
+ */
35
+ scopes?: Array<string> | undefined;
36
+ /**
37
+ * API mode (production or sandbox)
38
+ */
39
+ mode?: AuthResponseDtoMode | undefined;
19
40
  };
20
41
 
21
42
  /** @internal */
@@ -66,6 +87,27 @@ export function authResponseDtoUserFromJSON(
66
87
  );
67
88
  }
68
89
 
90
+ /** @internal */
91
+ export const AuthResponseDtoMode$inboundSchema: z.ZodNativeEnum<
92
+ typeof AuthResponseDtoMode
93
+ > = z.nativeEnum(AuthResponseDtoMode);
94
+
95
+ /** @internal */
96
+ export const AuthResponseDtoMode$outboundSchema: z.ZodNativeEnum<
97
+ typeof AuthResponseDtoMode
98
+ > = AuthResponseDtoMode$inboundSchema;
99
+
100
+ /**
101
+ * @internal
102
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
103
+ */
104
+ export namespace AuthResponseDtoMode$ {
105
+ /** @deprecated use `AuthResponseDtoMode$inboundSchema` instead. */
106
+ export const inboundSchema = AuthResponseDtoMode$inboundSchema;
107
+ /** @deprecated use `AuthResponseDtoMode$outboundSchema` instead. */
108
+ export const outboundSchema = AuthResponseDtoMode$outboundSchema;
109
+ }
110
+
69
111
  /** @internal */
70
112
  export const AuthResponseDto$inboundSchema: z.ZodType<
71
113
  AuthResponseDto,
@@ -76,7 +118,9 @@ export const AuthResponseDto$inboundSchema: z.ZodType<
76
118
  refresh_token: z.string(),
77
119
  expires_in: z.number(),
78
120
  token_type: z.string(),
79
- user: z.lazy(() => AuthResponseDtoUser$inboundSchema),
121
+ user: z.lazy(() => AuthResponseDtoUser$inboundSchema).optional(),
122
+ scopes: z.array(z.string()).optional(),
123
+ mode: AuthResponseDtoMode$inboundSchema.optional(),
80
124
  }).transform((v) => {
81
125
  return remap$(v, {
82
126
  "access_token": "accessToken",
@@ -92,7 +136,9 @@ export type AuthResponseDto$Outbound = {
92
136
  refresh_token: string;
93
137
  expires_in: number;
94
138
  token_type: string;
95
- user: AuthResponseDtoUser$Outbound;
139
+ user?: AuthResponseDtoUser$Outbound | undefined;
140
+ scopes?: Array<string> | undefined;
141
+ mode?: string | undefined;
96
142
  };
97
143
 
98
144
  /** @internal */
@@ -105,7 +151,9 @@ export const AuthResponseDto$outboundSchema: z.ZodType<
105
151
  refreshToken: z.string(),
106
152
  expiresIn: z.number(),
107
153
  tokenType: z.string(),
108
- user: z.lazy(() => AuthResponseDtoUser$outboundSchema),
154
+ user: z.lazy(() => AuthResponseDtoUser$outboundSchema).optional(),
155
+ scopes: z.array(z.string()).optional(),
156
+ mode: AuthResponseDtoMode$outboundSchema.optional(),
109
157
  }).transform((v) => {
110
158
  return remap$(v, {
111
159
  accessToken: "access_token",
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ import { safeParse } from "../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../types/fp.js";
9
+ import {
10
+ BusinessDto,
11
+ BusinessDto$inboundSchema,
12
+ BusinessDto$Outbound,
13
+ BusinessDto$outboundSchema,
14
+ } from "./businessdto.js";
15
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
16
+
17
+ export type BusinessListResponseDto = {
18
+ /**
19
+ * Type of the response
20
+ */
21
+ object?: string | undefined;
22
+ /**
23
+ * Array of business objects
24
+ */
25
+ data: Array<BusinessDto>;
26
+ /**
27
+ * Whether there are more items to fetch
28
+ */
29
+ hasMore: boolean;
30
+ /**
31
+ * Total number of items
32
+ */
33
+ total: number;
34
+ };
35
+
36
+ /** @internal */
37
+ export const BusinessListResponseDto$inboundSchema: z.ZodType<
38
+ BusinessListResponseDto,
39
+ z.ZodTypeDef,
40
+ unknown
41
+ > = z.object({
42
+ object: z.string().default("list"),
43
+ data: z.array(BusinessDto$inboundSchema),
44
+ has_more: z.boolean(),
45
+ total: z.number(),
46
+ }).transform((v) => {
47
+ return remap$(v, {
48
+ "has_more": "hasMore",
49
+ });
50
+ });
51
+
52
+ /** @internal */
53
+ export type BusinessListResponseDto$Outbound = {
54
+ object: string;
55
+ data: Array<BusinessDto$Outbound>;
56
+ has_more: boolean;
57
+ total: number;
58
+ };
59
+
60
+ /** @internal */
61
+ export const BusinessListResponseDto$outboundSchema: z.ZodType<
62
+ BusinessListResponseDto$Outbound,
63
+ z.ZodTypeDef,
64
+ BusinessListResponseDto
65
+ > = z.object({
66
+ object: z.string().default("list"),
67
+ data: z.array(BusinessDto$outboundSchema),
68
+ hasMore: z.boolean(),
69
+ total: z.number(),
70
+ }).transform((v) => {
71
+ return remap$(v, {
72
+ hasMore: "has_more",
73
+ });
74
+ });
75
+
76
+ /**
77
+ * @internal
78
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
+ */
80
+ export namespace BusinessListResponseDto$ {
81
+ /** @deprecated use `BusinessListResponseDto$inboundSchema` instead. */
82
+ export const inboundSchema = BusinessListResponseDto$inboundSchema;
83
+ /** @deprecated use `BusinessListResponseDto$outboundSchema` instead. */
84
+ export const outboundSchema = BusinessListResponseDto$outboundSchema;
85
+ /** @deprecated use `BusinessListResponseDto$Outbound` instead. */
86
+ export type Outbound = BusinessListResponseDto$Outbound;
87
+ }
88
+
89
+ export function businessListResponseDtoToJSON(
90
+ businessListResponseDto: BusinessListResponseDto,
91
+ ): string {
92
+ return JSON.stringify(
93
+ BusinessListResponseDto$outboundSchema.parse(businessListResponseDto),
94
+ );
95
+ }
96
+
97
+ export function businessListResponseDtoFromJSON(
98
+ jsonString: string,
99
+ ): SafeParseResult<BusinessListResponseDto, SDKValidationError> {
100
+ return safeParse(
101
+ jsonString,
102
+ (x) => BusinessListResponseDto$inboundSchema.parse(JSON.parse(x)),
103
+ `Failed to parse 'BusinessListResponseDto' from JSON`,
104
+ );
105
+ }
@@ -21,6 +21,7 @@ export * from "./bulkcreatebusinessresponsedto.js";
21
21
  export * from "./businessdto.js";
22
22
  export * from "./businessentityenum.js";
23
23
  export * from "./businessinformationdto.js";
24
+ export * from "./businesslistresponsedto.js";
24
25
  export * from "./businessmetadatadto.js";
25
26
  export * from "./businesspaymentmethoddto.js";
26
27
  export * from "./changepassworddto.js";
@@ -33,7 +33,7 @@ export type BusinessesControllerFindAllRequest = {
33
33
  };
34
34
 
35
35
  export type BusinessesControllerFindAllResponse = {
36
- result: models.ListResponseDto;
36
+ result: models.BusinessListResponseDto;
37
37
  };
38
38
 
39
39
  /** @internal */
@@ -122,7 +122,7 @@ export const BusinessesControllerFindAllResponse$inboundSchema: z.ZodType<
122
122
  z.ZodTypeDef,
123
123
  unknown
124
124
  > = z.object({
125
- Result: models.ListResponseDto$inboundSchema,
125
+ Result: models.BusinessListResponseDto$inboundSchema,
126
126
  }).transform((v) => {
127
127
  return remap$(v, {
128
128
  "Result": "result",
@@ -131,7 +131,7 @@ export const BusinessesControllerFindAllResponse$inboundSchema: z.ZodType<
131
131
 
132
132
  /** @internal */
133
133
  export type BusinessesControllerFindAllResponse$Outbound = {
134
- Result: models.ListResponseDto$Outbound;
134
+ Result: models.BusinessListResponseDto$Outbound;
135
135
  };
136
136
 
137
137
  /** @internal */
@@ -140,7 +140,7 @@ export const BusinessesControllerFindAllResponse$outboundSchema: z.ZodType<
140
140
  z.ZodTypeDef,
141
141
  BusinessesControllerFindAllResponse
142
142
  > = z.object({
143
- result: models.ListResponseDto$outboundSchema,
143
+ result: models.BusinessListResponseDto$outboundSchema,
144
144
  }).transform((v) => {
145
145
  return remap$(v, {
146
146
  result: "Result",
@@ -12,14 +12,14 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
12
12
  /**
13
13
  * Authentication mode
14
14
  */
15
- export const Mode = {
15
+ export const UserProfileDtoMode = {
16
16
  Live: "live",
17
17
  Test: "test",
18
18
  } as const;
19
19
  /**
20
20
  * Authentication mode
21
21
  */
22
- export type Mode = ClosedEnum<typeof Mode>;
22
+ export type UserProfileDtoMode = ClosedEnum<typeof UserProfileDtoMode>;
23
23
 
24
24
  export type UserProfileDto = {
25
25
  /**
@@ -41,7 +41,7 @@ export type UserProfileDto = {
41
41
  /**
42
42
  * Authentication mode
43
43
  */
44
- mode?: Mode | undefined;
44
+ mode?: UserProfileDtoMode | undefined;
45
45
  /**
46
46
  * Authentication timestamp
47
47
  */
@@ -49,23 +49,24 @@ export type UserProfileDto = {
49
49
  };
50
50
 
51
51
  /** @internal */
52
- export const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode> = z.nativeEnum(
53
- Mode,
54
- );
52
+ export const UserProfileDtoMode$inboundSchema: z.ZodNativeEnum<
53
+ typeof UserProfileDtoMode
54
+ > = z.nativeEnum(UserProfileDtoMode);
55
55
 
56
56
  /** @internal */
57
- export const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode> =
58
- Mode$inboundSchema;
57
+ export const UserProfileDtoMode$outboundSchema: z.ZodNativeEnum<
58
+ typeof UserProfileDtoMode
59
+ > = UserProfileDtoMode$inboundSchema;
59
60
 
60
61
  /**
61
62
  * @internal
62
63
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
64
  */
64
- export namespace Mode$ {
65
- /** @deprecated use `Mode$inboundSchema` instead. */
66
- export const inboundSchema = Mode$inboundSchema;
67
- /** @deprecated use `Mode$outboundSchema` instead. */
68
- export const outboundSchema = Mode$outboundSchema;
65
+ export namespace UserProfileDtoMode$ {
66
+ /** @deprecated use `UserProfileDtoMode$inboundSchema` instead. */
67
+ export const inboundSchema = UserProfileDtoMode$inboundSchema;
68
+ /** @deprecated use `UserProfileDtoMode$outboundSchema` instead. */
69
+ export const outboundSchema = UserProfileDtoMode$outboundSchema;
69
70
  }
70
71
 
71
72
  /** @internal */
@@ -78,7 +79,7 @@ export const UserProfileDto$inboundSchema: z.ZodType<
78
79
  email: z.string(),
79
80
  scopes: z.array(z.string()),
80
81
  partner_id: z.string().optional(),
81
- mode: Mode$inboundSchema.optional(),
82
+ mode: UserProfileDtoMode$inboundSchema.optional(),
82
83
  auth_time: z.number(),
83
84
  }).transform((v) => {
84
85
  return remap$(v, {
@@ -107,7 +108,7 @@ export const UserProfileDto$outboundSchema: z.ZodType<
107
108
  email: z.string(),
108
109
  scopes: z.array(z.string()),
109
110
  partnerId: z.string().optional(),
110
- mode: Mode$outboundSchema.optional(),
111
+ mode: UserProfileDtoMode$outboundSchema.optional(),
111
112
  authTime: z.number(),
112
113
  }).transform((v) => {
113
114
  return remap$(v, {
@@ -4,7 +4,6 @@
4
4
 
5
5
  import { authenticationChangePassword } from "../funcs/authenticationChangePassword.js";
6
6
  import { authenticationGetProfile } from "../funcs/authenticationGetProfile.js";
7
- import { authenticationLogin } from "../funcs/authenticationLogin.js";
8
7
  import { authenticationRefreshToken } from "../funcs/authenticationRefreshToken.js";
9
8
  import { authenticationResetPassword } from "../funcs/authenticationResetPassword.js";
10
9
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
@@ -12,20 +11,6 @@ import * as models from "../models/index.js";
12
11
  import { unwrapAsync } from "../types/fp.js";
13
12
 
14
13
  export class Authentication extends ClientSDK {
15
- /**
16
- * Login with API Key
17
- */
18
- async login(
19
- request: models.LoginDto,
20
- options?: RequestOptions,
21
- ): Promise<models.AuthResponseDto> {
22
- return unwrapAsync(authenticationLogin(
23
- this,
24
- request,
25
- options,
26
- ));
27
- }
28
-
29
14
  /**
30
15
  * Refresh access token
31
16
  */
@@ -3,11 +3,26 @@
3
3
  */
4
4
 
5
5
  import { authenticationsLogin } from "../funcs/authenticationsLogin.js";
6
+ import { authenticationsToken } from "../funcs/authenticationsToken.js";
6
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
8
  import * as models from "../models/index.js";
8
9
  import { unwrapAsync } from "../types/fp.js";
9
10
 
10
11
  export class Authentications extends ClientSDK {
12
+ /**
13
+ * Login with API Key
14
+ */
15
+ async token(
16
+ request: models.LoginDto,
17
+ options?: RequestOptions,
18
+ ): Promise<models.AuthResponseDto> {
19
+ return unwrapAsync(authenticationsToken(
20
+ this,
21
+ request,
22
+ options,
23
+ ));
24
+ }
25
+
11
26
  /**
12
27
  * Login with email and password (Admin users only)
13
28
  */
package/src/sdk/sdk.ts CHANGED
@@ -39,16 +39,16 @@ export class OatFiSDK extends ClientSDK {
39
39
  return (this._applications ??= new Applications(this._options));
40
40
  }
41
41
 
42
- private _authentication?: Authentication;
43
- get authentication(): Authentication {
44
- return (this._authentication ??= new Authentication(this._options));
45
- }
46
-
47
42
  private _authentications?: Authentications;
48
43
  get authentications(): Authentications {
49
44
  return (this._authentications ??= new Authentications(this._options));
50
45
  }
51
46
 
47
+ private _authentication?: Authentication;
48
+ get authentication(): Authentication {
49
+ return (this._authentication ??= new Authentication(this._options));
50
+ }
51
+
52
52
  private _auth?: Auth;
53
53
  get auth(): Auth {
54
54
  return (this._auth ??= new Auth(this._options));
@@ -1 +0,0 @@
1
- {"version":3,"file":"authenticationLogin.d.ts","sourceRoot":"","sources":["../../../src/funcs/authenticationLogin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAK1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,CAAC,QAAQ,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"authenticationLogin.js","sourceRoot":"","sources":["../../../src/funcs/authenticationLogin.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BH,kDAsBC;AA9CD,sDAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAW3C,2DAA6C;AAC7C,gDAAwD;AAGxD;;GAEG;AACH,SAAgB,mBAAmB,CACjC,MAAoB,EACpB,OAAwB,EACxB,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAoB,EACpB,OAAwB,EACxB,OAAwB;I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7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,MAAM,CAAC,QAAQ,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"authenticationLogin.js","sourceRoot":"","sources":["../../../src/funcs/authenticationLogin.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,MAAoB,EACpB,OAAwB,EACxB,OAAwB;IAcxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAoB,EACpB,OAAwB,EACxB,OAAwB;IAiBxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAA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