@temboplus/frontend-core 1.0.1-beta.2 → 1.0.1-beta.3

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.
@@ -10,10 +10,10 @@ export declare const AmountJSONSchema: z.ZodObject<{
10
10
  text: z.ZodString;
11
11
  /** The ISO currency code */
12
12
  currencyCode: z.ZodString;
13
- /** Version for future compatibility */
14
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13
+ /** Model JSON schema version for future compatibility. */
14
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15
15
  }, "strip", z.ZodTypeAny, {
16
- version: string;
16
+ _version: string;
17
17
  value: number;
18
18
  text: string;
19
19
  currencyCode: string;
@@ -21,7 +21,7 @@ export declare const AmountJSONSchema: z.ZodObject<{
21
21
  value: number;
22
22
  text: string;
23
23
  currencyCode: string;
24
- version?: string | undefined;
24
+ _version?: string | undefined;
25
25
  }>;
26
26
  /**
27
27
  * Compact JSON identity for an Amount, sufficient to reconstruct the value via
@@ -14,26 +14,26 @@ export declare const BankJSONSchema: z.ZodEffects<z.ZodObject<{
14
14
  swiftCode: z.ZodOptional<z.ZodString>;
15
15
  /** The ISO 3166-1 alpha-2 country code */
16
16
  countryCode: z.ZodString;
17
- /** Version for future compatibility */
18
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17
+ /** Model JSON schema version for future compatibility. */
18
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- version: string;
20
+ _version: string;
21
21
  countryCode: string;
22
22
  bic?: string | undefined;
23
23
  swiftCode?: string | undefined;
24
24
  }, {
25
25
  countryCode: string;
26
- version?: string | undefined;
26
+ _version?: string | undefined;
27
27
  bic?: string | undefined;
28
28
  swiftCode?: string | undefined;
29
29
  }>, {
30
- version: string;
30
+ _version: string;
31
31
  countryCode: string;
32
32
  bic?: string | undefined;
33
33
  swiftCode?: string | undefined;
34
34
  }, {
35
35
  countryCode: string;
36
- version?: string | undefined;
36
+ _version?: string | undefined;
37
37
  bic?: string | undefined;
38
38
  swiftCode?: string | undefined;
39
39
  }>;
@@ -6,14 +6,14 @@ import { z } from "zod";
6
6
  export declare const CountryJSONSchema: z.ZodObject<{
7
7
  /** The ISO 3166-1 alpha-2 country code */
8
8
  code: z.ZodString;
9
- /** Version for future compatibility */
10
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9
+ /** Model JSON schema version for future compatibility. */
10
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  code: string;
13
- version: string;
13
+ _version: string;
14
14
  }, {
15
15
  code: string;
16
- version?: string | undefined;
16
+ _version?: string | undefined;
17
17
  }>;
18
18
  /**
19
19
  * Zod schema for validating ISO 3166-1 alpha-2 country codes.
@@ -62,12 +62,12 @@ export declare const ISO3CountryCodeSchema: z.ZodEffects<z.ZodString, string, st
62
62
  export declare const CountryCodeSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
63
63
  /** The ISO 3166-1 alpha-2 country code */
64
64
  code: z.ZodString;
65
- /** Version for future compatibility */
66
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
65
+ /** Model JSON schema version for future compatibility. */
66
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  code: string;
69
- version: string;
69
+ _version: string;
70
70
  }, {
71
71
  code: string;
72
- version?: string | undefined;
72
+ _version?: string | undefined;
73
73
  }>]>;
@@ -13,12 +13,12 @@ export declare const CurrencyCodeSchema: z.ZodEffects<z.ZodString, string, strin
13
13
  export declare const CurrencyJSONSchema: z.ZodObject<{
14
14
  /** The ISO 4217 currency code */
15
15
  code: z.ZodString;
16
- /** Version for future compatibility */
17
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16
+ /** Model JSON schema version for future compatibility. */
17
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  code: string;
20
- version: string;
20
+ _version: string;
21
21
  }, {
22
22
  code: string;
23
- version?: string | undefined;
23
+ _version?: string | undefined;
24
24
  }>;
@@ -5,9 +5,9 @@ export declare const MobileMoneyProviderJSONSchema: z.ZodObject<{
5
5
  countryCode: z.ZodString;
6
6
  channelType: z.ZodDefault<z.ZodLiteral<ChannelType.MOBILE_MONEY>>;
7
7
  direction: z.ZodOptional<z.ZodNativeEnum<typeof TransactionDirection>>;
8
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- version: string;
10
+ _version: string;
11
11
  countryCode: string;
12
12
  id: string;
13
13
  channelType: ChannelType.MOBILE_MONEY;
@@ -15,7 +15,7 @@ export declare const MobileMoneyProviderJSONSchema: z.ZodObject<{
15
15
  }, {
16
16
  countryCode: string;
17
17
  id: string;
18
- version?: string | undefined;
18
+ _version?: string | undefined;
19
19
  channelType?: ChannelType.MOBILE_MONEY | undefined;
20
20
  direction?: TransactionDirection | undefined;
21
21
  }>;
@@ -10,12 +10,12 @@ import { z } from "zod";
10
10
  */
11
11
  export declare const PhoneNumberJSONSchema: z.ZodObject<{
12
12
  e164Format: z.ZodString;
13
- version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13
+ _version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14
14
  }, "strip", z.ZodTypeAny, {
15
- version: string;
15
+ _version: string;
16
16
  e164Format: string;
17
17
  }, {
18
18
  e164Format: string;
19
- version?: string | undefined;
19
+ _version?: string | undefined;
20
20
  }>;
21
21
  export type PhoneNumberJSON = z.infer<typeof PhoneNumberJSONSchema>;