@voyantjs/utils 0.1.0
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/LICENSE +109 -0
- package/README.md +42 -0
- package/dist/accounting-countries.d.ts +12 -0
- package/dist/accounting-countries.d.ts.map +1 -0
- package/dist/accounting-countries.js +307 -0
- package/dist/accounting-countries.js.map +1 -0
- package/dist/accounting-regions.d.ts +103 -0
- package/dist/accounting-regions.d.ts.map +1 -0
- package/dist/accounting-regions.js +38 -0
- package/dist/accounting-regions.js.map +1 -0
- package/dist/airlines.d.ts +960 -0
- package/dist/airlines.d.ts.map +1 -0
- package/dist/airlines.js +989 -0
- package/dist/airlines.js.map +1 -0
- package/dist/analytics/api-key-events.d.ts +89 -0
- package/dist/analytics/api-key-events.d.ts.map +1 -0
- package/dist/analytics/api-key-events.js +99 -0
- package/dist/analytics/api-key-events.js.map +1 -0
- package/dist/api-keys-client.d.ts +40 -0
- package/dist/api-keys-client.d.ts.map +1 -0
- package/dist/api-keys-client.js +63 -0
- package/dist/api-keys-client.js.map +1 -0
- package/dist/api-keys.d.ts +48 -0
- package/dist/api-keys.d.ts.map +1 -0
- package/dist/api-keys.js +108 -0
- package/dist/api-keys.js.map +1 -0
- package/dist/cache.d.ts +123 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +182 -0
- package/dist/cache.js.map +1 -0
- package/dist/checkout-signature.d.ts +15 -0
- package/dist/checkout-signature.d.ts.map +1 -0
- package/dist/checkout-signature.js +64 -0
- package/dist/checkout-signature.js.map +1 -0
- package/dist/conditions.d.ts +36 -0
- package/dist/conditions.d.ts.map +1 -0
- package/dist/conditions.js +396 -0
- package/dist/conditions.js.map +1 -0
- package/dist/countries.d.ts +5 -0
- package/dist/countries.d.ts.map +1 -0
- package/dist/countries.js +251 -0
- package/dist/countries.js.map +1 -0
- package/dist/currencies.d.ts +1011 -0
- package/dist/currencies.d.ts.map +1 -0
- package/dist/currencies.js +1011 -0
- package/dist/currencies.js.map +1 -0
- package/dist/email/send.d.ts +20 -0
- package/dist/email/send.d.ts.map +1 -0
- package/dist/email/send.js +53 -0
- package/dist/email/send.js.map +1 -0
- package/dist/form-runtime.d.ts +38 -0
- package/dist/form-runtime.d.ts.map +1 -0
- package/dist/form-runtime.js +174 -0
- package/dist/form-runtime.js.map +1 -0
- package/dist/gcs/storage.d.ts +23 -0
- package/dist/gcs/storage.d.ts.map +1 -0
- package/dist/gcs/storage.js +25 -0
- package/dist/gcs/storage.js.map +1 -0
- package/dist/geo.d.ts +85 -0
- package/dist/geo.d.ts.map +1 -0
- package/dist/geo.js +141 -0
- package/dist/geo.js.map +1 -0
- package/dist/geographic-regions.d.ts +66 -0
- package/dist/geographic-regions.d.ts.map +1 -0
- package/dist/geographic-regions.js +326 -0
- package/dist/geographic-regions.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/kms-aws.d.ts +26 -0
- package/dist/kms-aws.d.ts.map +1 -0
- package/dist/kms-aws.js +133 -0
- package/dist/kms-aws.js.map +1 -0
- package/dist/kms-crypto.d.ts +20 -0
- package/dist/kms-crypto.d.ts.map +1 -0
- package/dist/kms-crypto.js +108 -0
- package/dist/kms-crypto.js.map +1 -0
- package/dist/kms-env.d.ts +13 -0
- package/dist/kms-env.d.ts.map +1 -0
- package/dist/kms-env.js +13 -0
- package/dist/kms-env.js.map +1 -0
- package/dist/kms-gcp.d.ts +32 -0
- package/dist/kms-gcp.d.ts.map +1 -0
- package/dist/kms-gcp.js +116 -0
- package/dist/kms-gcp.js.map +1 -0
- package/dist/kms-local.d.ts +13 -0
- package/dist/kms-local.d.ts.map +1 -0
- package/dist/kms-local.js +13 -0
- package/dist/kms-local.js.map +1 -0
- package/dist/kms-symmetric.d.ts +14 -0
- package/dist/kms-symmetric.d.ts.map +1 -0
- package/dist/kms-symmetric.js +67 -0
- package/dist/kms-symmetric.js.map +1 -0
- package/dist/kms.d.ts +66 -0
- package/dist/kms.d.ts.map +1 -0
- package/dist/kms.js +169 -0
- package/dist/kms.js.map +1 -0
- package/dist/kv-codecs.d.ts +6 -0
- package/dist/kv-codecs.d.ts.map +1 -0
- package/dist/kv-codecs.js +4 -0
- package/dist/kv-codecs.js.map +1 -0
- package/dist/kv.d.ts +10 -0
- package/dist/kv.d.ts.map +1 -0
- package/dist/kv.js +18 -0
- package/dist/kv.js.map +1 -0
- package/dist/languages.d.ts +187 -0
- package/dist/languages.d.ts.map +1 -0
- package/dist/languages.js +187 -0
- package/dist/languages.js.map +1 -0
- package/dist/localized-countries-regions.d.ts +15 -0
- package/dist/localized-countries-regions.d.ts.map +1 -0
- package/dist/localized-countries-regions.js +674 -0
- package/dist/localized-countries-regions.js.map +1 -0
- package/dist/localized-regions.d.ts +33 -0
- package/dist/localized-regions.d.ts.map +1 -0
- package/dist/localized-regions.js +63 -0
- package/dist/localized-regions.js.map +1 -0
- package/dist/price/resolve.d.ts +91 -0
- package/dist/price/resolve.d.ts.map +1 -0
- package/dist/price/resolve.js +227 -0
- package/dist/price/resolve.js.map +1 -0
- package/dist/rate-limits.d.ts +39 -0
- package/dist/rate-limits.d.ts.map +1 -0
- package/dist/rate-limits.js +86 -0
- package/dist/rate-limits.js.map +1 -0
- package/dist/redis.d.ts +13 -0
- package/dist/redis.d.ts.map +1 -0
- package/dist/redis.js +16 -0
- package/dist/redis.js.map +1 -0
- package/dist/region-only.d.ts +11 -0
- package/dist/region-only.d.ts.map +1 -0
- package/dist/region-only.js +49 -0
- package/dist/region-only.js.map +1 -0
- package/dist/region.d.ts +11 -0
- package/dist/region.d.ts.map +1 -0
- package/dist/region.js +47 -0
- package/dist/region.js.map +1 -0
- package/dist/romania-bucharest-sectors.d.ts +6 -0
- package/dist/romania-bucharest-sectors.d.ts.map +1 -0
- package/dist/romania-bucharest-sectors.js +27 -0
- package/dist/romania-bucharest-sectors.js.map +1 -0
- package/dist/romania-counties.d.ts +6 -0
- package/dist/romania-counties.d.ts.map +1 -0
- package/dist/romania-counties.js +171 -0
- package/dist/romania-counties.js.map +1 -0
- package/dist/session-claims.d.ts +40 -0
- package/dist/session-claims.d.ts.map +1 -0
- package/dist/session-claims.js +184 -0
- package/dist/session-claims.js.map +1 -0
- package/dist/sms/provider.d.ts +28 -0
- package/dist/sms/provider.d.ts.map +1 -0
- package/dist/sms/provider.js +50 -0
- package/dist/sms/provider.js.map +1 -0
- package/dist/sms/segments.d.ts +3 -0
- package/dist/sms/segments.d.ts.map +1 -0
- package/dist/sms/segments.js +33 -0
- package/dist/sms/segments.js.map +1 -0
- package/dist/temporal.d.ts +2 -0
- package/dist/temporal.d.ts.map +1 -0
- package/dist/temporal.js +6 -0
- package/dist/temporal.js.map +1 -0
- package/dist/timezones.d.ts +9 -0
- package/dist/timezones.d.ts.map +1 -0
- package/dist/timezones.js +1217 -0
- package/dist/timezones.js.map +1 -0
- package/dist/twilio/client.d.ts +13 -0
- package/dist/twilio/client.d.ts.map +1 -0
- package/dist/twilio/client.js +26 -0
- package/dist/twilio/client.js.map +1 -0
- package/dist/usage/index.d.ts +34 -0
- package/dist/usage/index.d.ts.map +1 -0
- package/dist/usage/index.js +18 -0
- package/dist/usage/index.js.map +1 -0
- package/dist/usage/policy.d.ts +27 -0
- package/dist/usage/policy.d.ts.map +1 -0
- package/dist/usage/policy.js +17 -0
- package/dist/usage/policy.js.map +1 -0
- package/dist/validation/log.d.ts +10 -0
- package/dist/validation/log.d.ts.map +1 -0
- package/dist/validation/log.js +37 -0
- package/dist/validation/log.js.map +1 -0
- package/dist/with-timeout.d.ts +2 -0
- package/dist/with-timeout.d.ts.map +1 -0
- package/dist/with-timeout.js +15 -0
- package/dist/with-timeout.js.map +1 -0
- package/dist/zod-form-builder.d.ts +45 -0
- package/dist/zod-form-builder.d.ts.map +1 -0
- package/dist/zod-form-builder.js +216 -0
- package/dist/zod-form-builder.js.map +1 -0
- package/package.json +92 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Functional Source License, Version 1.1, Apache 2.0 Future License
|
|
2
|
+
|
|
3
|
+
## Abbreviation
|
|
4
|
+
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
6
|
+
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 PixelMakers Studio SRL
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly
|
|
28
|
+
display and redistribute the Software for any Permitted Purpose identified
|
|
29
|
+
below.
|
|
30
|
+
|
|
31
|
+
### Permitted Purpose
|
|
32
|
+
|
|
33
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing
|
|
34
|
+
Use means making the Software available to others in a commercial product or
|
|
35
|
+
service that:
|
|
36
|
+
|
|
37
|
+
1. substitutes for the Software;
|
|
38
|
+
|
|
39
|
+
2. substitutes for any other product or service we offer using the Software
|
|
40
|
+
that exists as of the date we make the Software available; or
|
|
41
|
+
|
|
42
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
43
|
+
|
|
44
|
+
Permitted Purposes specifically include using the Software:
|
|
45
|
+
|
|
46
|
+
1. for your internal use and access;
|
|
47
|
+
|
|
48
|
+
2. for non-commercial education;
|
|
49
|
+
|
|
50
|
+
3. for non-commercial research; and
|
|
51
|
+
|
|
52
|
+
4. in connection with professional services that you provide to a licensee
|
|
53
|
+
using the Software in accordance with these Terms and Conditions.
|
|
54
|
+
|
|
55
|
+
### Patents
|
|
56
|
+
|
|
57
|
+
To the extent your use for a Permitted Purpose would necessarily infringe
|
|
58
|
+
our patents, the license grant above includes a license under our patents.
|
|
59
|
+
If you make a claim against any party that the Software infringes or
|
|
60
|
+
contributes to the infringement of any patent, then your patent license to
|
|
61
|
+
the Software ends immediately.
|
|
62
|
+
|
|
63
|
+
### Redistribution
|
|
64
|
+
|
|
65
|
+
The Terms and Conditions apply to all copies, modifications and derivatives
|
|
66
|
+
of the Software.
|
|
67
|
+
|
|
68
|
+
If you redistribute any copies, modifications or derivatives of the
|
|
69
|
+
Software, you must include a copy of or a link to these Terms and Conditions
|
|
70
|
+
and not remove any copyright notices provided in or with the Software.
|
|
71
|
+
|
|
72
|
+
### Disclaimer
|
|
73
|
+
|
|
74
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS
|
|
75
|
+
OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A
|
|
76
|
+
PARTICULAR PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
77
|
+
|
|
78
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO
|
|
79
|
+
THE SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
|
80
|
+
DAMAGES, EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
81
|
+
|
|
82
|
+
### Trademarks
|
|
83
|
+
|
|
84
|
+
Except for displaying the License Details and identifying us as the origin
|
|
85
|
+
of the Software, you have no right under these Terms and Conditions to use
|
|
86
|
+
our trademarks, trade names, service marks or product names.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Grant of Future License
|
|
91
|
+
|
|
92
|
+
We hereby irrevocably grant you an additional license to use the Software
|
|
93
|
+
under the Apache License, Version 2.0 that is effective on the second
|
|
94
|
+
anniversary of the date we make the Software available. On or after that
|
|
95
|
+
date, you may use the Software under the Apache License, Version 2.0, in
|
|
96
|
+
which case the following will apply:
|
|
97
|
+
|
|
98
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
99
|
+
use this file except in compliance with the License.
|
|
100
|
+
|
|
101
|
+
You may obtain a copy of the License at
|
|
102
|
+
|
|
103
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
104
|
+
|
|
105
|
+
Unless required by applicable law or agreed to in writing, software
|
|
106
|
+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
107
|
+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
108
|
+
License for the specific language governing permissions and limitations
|
|
109
|
+
under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# @voyantjs/utils
|
|
2
|
+
|
|
3
|
+
Shared utility functions for Voyant. Caching, KMS, KV, rate limits, session claims, and localized geographic data (countries, currencies, languages, timezones, regions).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @voyantjs/utils
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { cached } from "@voyantjs/utils/cache"
|
|
15
|
+
import { COUNTRIES } from "@voyantjs/utils/countries"
|
|
16
|
+
import { CURRENCIES } from "@voyantjs/utils/currencies"
|
|
17
|
+
import { TIMEZONES } from "@voyantjs/utils/timezones"
|
|
18
|
+
|
|
19
|
+
const result = await cached(key, ttlSeconds, computeFn, kv)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Exports
|
|
23
|
+
|
|
24
|
+
| Entry | Description |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| `.` | Barrel re-exports |
|
|
27
|
+
| `./cache` | KV-backed `cached(key, ttl, fn, kv)` helper |
|
|
28
|
+
| `./kv` | KV wrapper utilities |
|
|
29
|
+
| `./kms` | KMS envelope encryption (GCP + local providers) |
|
|
30
|
+
| `./session-claims` | Session-claim helpers |
|
|
31
|
+
| `./rate-limits` | Rate-limit primitives |
|
|
32
|
+
| `./countries` | ISO country data |
|
|
33
|
+
| `./currencies` | ISO currency data |
|
|
34
|
+
| `./languages` | ISO language data |
|
|
35
|
+
| `./timezones` | IANA timezone data |
|
|
36
|
+
| `./geographic-regions` | Region taxonomies |
|
|
37
|
+
| `./localized-countries-regions` | Localized country/region data |
|
|
38
|
+
| `./localized-regions` | Localized region data |
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
FSL-1.1-Apache-2.0
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AccountingRegionCode } from "./accounting-regions.js";
|
|
2
|
+
export declare const accountingCountries: AccountingCountry[];
|
|
3
|
+
export type AccountingCountry = {
|
|
4
|
+
name: string;
|
|
5
|
+
code: string;
|
|
6
|
+
};
|
|
7
|
+
export type AccountingCountryWithRegions = AccountingCountry & {
|
|
8
|
+
accountingRegions: AccountingRegionCode[];
|
|
9
|
+
};
|
|
10
|
+
export declare const accountingCountriesWithRegions: AccountingCountryWithRegions[];
|
|
11
|
+
export declare const countryAccountingRegions: Record<string, AccountingRegionCode[]>;
|
|
12
|
+
//# sourceMappingURL=accounting-countries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounting-countries.d.ts","sourceRoot":"","sources":["../src/accounting-countries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAGnE,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,EAQ3C,CAAA;AAER,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,GAAG;IAC7D,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAA;AA8RD,eAAO,MAAM,8BAA8B,EAAE,4BAA4B,EAerE,CAAA;AAEJ,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAOzE,CAAA"}
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { countries } from "./countries.js";
|
|
2
|
+
export const accountingCountries = countries
|
|
3
|
+
.flat()
|
|
4
|
+
.reduce((acc, c) => {
|
|
5
|
+
acc.push({
|
|
6
|
+
name: c.name,
|
|
7
|
+
code: c.code,
|
|
8
|
+
});
|
|
9
|
+
return acc;
|
|
10
|
+
}, []);
|
|
11
|
+
// Membership lists for non-geographic/economic blocs and groupings
|
|
12
|
+
const regionMemberships = {
|
|
13
|
+
"eu-union": [
|
|
14
|
+
"AT",
|
|
15
|
+
"BE",
|
|
16
|
+
"BG",
|
|
17
|
+
"HR",
|
|
18
|
+
"CY",
|
|
19
|
+
"CZ",
|
|
20
|
+
"DK",
|
|
21
|
+
"EE",
|
|
22
|
+
"FI",
|
|
23
|
+
"FR",
|
|
24
|
+
"DE",
|
|
25
|
+
"GR",
|
|
26
|
+
"HU",
|
|
27
|
+
"IE",
|
|
28
|
+
"IT",
|
|
29
|
+
"LV",
|
|
30
|
+
"LT",
|
|
31
|
+
"LU",
|
|
32
|
+
"MT",
|
|
33
|
+
"NL",
|
|
34
|
+
"PL",
|
|
35
|
+
"PT",
|
|
36
|
+
"RO",
|
|
37
|
+
"SK",
|
|
38
|
+
"SI",
|
|
39
|
+
"ES",
|
|
40
|
+
"SE",
|
|
41
|
+
],
|
|
42
|
+
eea: [
|
|
43
|
+
// EU + EEA EFTA states
|
|
44
|
+
"AT",
|
|
45
|
+
"BE",
|
|
46
|
+
"BG",
|
|
47
|
+
"HR",
|
|
48
|
+
"CY",
|
|
49
|
+
"CZ",
|
|
50
|
+
"DK",
|
|
51
|
+
"EE",
|
|
52
|
+
"FI",
|
|
53
|
+
"FR",
|
|
54
|
+
"DE",
|
|
55
|
+
"GR",
|
|
56
|
+
"HU",
|
|
57
|
+
"IE",
|
|
58
|
+
"IT",
|
|
59
|
+
"LV",
|
|
60
|
+
"LT",
|
|
61
|
+
"LU",
|
|
62
|
+
"MT",
|
|
63
|
+
"NL",
|
|
64
|
+
"PL",
|
|
65
|
+
"PT",
|
|
66
|
+
"RO",
|
|
67
|
+
"SK",
|
|
68
|
+
"SI",
|
|
69
|
+
"ES",
|
|
70
|
+
"SE",
|
|
71
|
+
"IS",
|
|
72
|
+
"LI",
|
|
73
|
+
"NO",
|
|
74
|
+
],
|
|
75
|
+
schengen: [
|
|
76
|
+
"AT",
|
|
77
|
+
"BE",
|
|
78
|
+
"CZ",
|
|
79
|
+
"DK",
|
|
80
|
+
"EE",
|
|
81
|
+
"FI",
|
|
82
|
+
"FR",
|
|
83
|
+
"DE",
|
|
84
|
+
"GR",
|
|
85
|
+
"HU",
|
|
86
|
+
"IS",
|
|
87
|
+
"IT",
|
|
88
|
+
"LV",
|
|
89
|
+
"LI",
|
|
90
|
+
"LT",
|
|
91
|
+
"LU",
|
|
92
|
+
"MT",
|
|
93
|
+
"NL",
|
|
94
|
+
"NO",
|
|
95
|
+
"PL",
|
|
96
|
+
"PT",
|
|
97
|
+
"SK",
|
|
98
|
+
"SI",
|
|
99
|
+
"ES",
|
|
100
|
+
"SE",
|
|
101
|
+
"CH",
|
|
102
|
+
"HR",
|
|
103
|
+
],
|
|
104
|
+
nafta: ["US", "CA", "MX"],
|
|
105
|
+
us: ["US"],
|
|
106
|
+
gb: ["GB"],
|
|
107
|
+
cis: ["AM", "AZ", "BY", "KZ", "KG", "MD", "RU", "TJ", "UZ"],
|
|
108
|
+
gcc: ["AE", "BH", "KW", "OM", "QA", "SA"],
|
|
109
|
+
asean: ["BN", "KH", "ID", "LA", "MY", "MM", "PH", "SG", "TH", "VN"],
|
|
110
|
+
au: [
|
|
111
|
+
// African Union members present in our list
|
|
112
|
+
"DZ",
|
|
113
|
+
"AO",
|
|
114
|
+
"BJ",
|
|
115
|
+
"BW",
|
|
116
|
+
"BF",
|
|
117
|
+
"BI",
|
|
118
|
+
"CM",
|
|
119
|
+
"CV",
|
|
120
|
+
"CF",
|
|
121
|
+
"TD",
|
|
122
|
+
"KM",
|
|
123
|
+
"CG",
|
|
124
|
+
"CD",
|
|
125
|
+
"CI",
|
|
126
|
+
"DJ",
|
|
127
|
+
"EG",
|
|
128
|
+
"GQ",
|
|
129
|
+
"ER",
|
|
130
|
+
"ET",
|
|
131
|
+
"GA",
|
|
132
|
+
"GM",
|
|
133
|
+
"GH",
|
|
134
|
+
"GN",
|
|
135
|
+
"GW",
|
|
136
|
+
"KE",
|
|
137
|
+
"LS",
|
|
138
|
+
"LR",
|
|
139
|
+
"LY",
|
|
140
|
+
"MG",
|
|
141
|
+
"MW",
|
|
142
|
+
"ML",
|
|
143
|
+
"MR",
|
|
144
|
+
"MU",
|
|
145
|
+
"MA",
|
|
146
|
+
"MZ",
|
|
147
|
+
"NA",
|
|
148
|
+
"NE",
|
|
149
|
+
"NG",
|
|
150
|
+
"RW",
|
|
151
|
+
"ST",
|
|
152
|
+
"SN",
|
|
153
|
+
"SC",
|
|
154
|
+
"SL",
|
|
155
|
+
"SO",
|
|
156
|
+
"ZA",
|
|
157
|
+
"SD",
|
|
158
|
+
"SZ",
|
|
159
|
+
"TZ",
|
|
160
|
+
"TG",
|
|
161
|
+
"TN",
|
|
162
|
+
"UG",
|
|
163
|
+
"EH",
|
|
164
|
+
"ZM",
|
|
165
|
+
"ZW",
|
|
166
|
+
],
|
|
167
|
+
caricom: [
|
|
168
|
+
// Full members and associates
|
|
169
|
+
"AG",
|
|
170
|
+
"BS",
|
|
171
|
+
"BB",
|
|
172
|
+
"BZ",
|
|
173
|
+
"DM",
|
|
174
|
+
"GD",
|
|
175
|
+
"GY",
|
|
176
|
+
"HT",
|
|
177
|
+
"JM",
|
|
178
|
+
"KN",
|
|
179
|
+
"LC",
|
|
180
|
+
"VC",
|
|
181
|
+
"SR",
|
|
182
|
+
"TT",
|
|
183
|
+
"MS",
|
|
184
|
+
// Associates
|
|
185
|
+
"AI",
|
|
186
|
+
"BM",
|
|
187
|
+
"VG",
|
|
188
|
+
"KY",
|
|
189
|
+
"TC",
|
|
190
|
+
],
|
|
191
|
+
mercosur: [
|
|
192
|
+
// Full members (incl. suspended VE) and associates
|
|
193
|
+
"AR",
|
|
194
|
+
"BR",
|
|
195
|
+
"PY",
|
|
196
|
+
"UY",
|
|
197
|
+
"VE",
|
|
198
|
+
"BO",
|
|
199
|
+
"CL",
|
|
200
|
+
"CO",
|
|
201
|
+
"EC",
|
|
202
|
+
"PE",
|
|
203
|
+
"GY",
|
|
204
|
+
"SR",
|
|
205
|
+
],
|
|
206
|
+
pa: ["CL", "CO", "MX", "PE"],
|
|
207
|
+
brics: ["BR", "RU", "IN", "CN", "ZA"],
|
|
208
|
+
g7: ["US", "CA", "GB", "FR", "DE", "IT", "JP"],
|
|
209
|
+
g20: [
|
|
210
|
+
"AR",
|
|
211
|
+
"AU",
|
|
212
|
+
"BR",
|
|
213
|
+
"CA",
|
|
214
|
+
"CN",
|
|
215
|
+
"FR",
|
|
216
|
+
"DE",
|
|
217
|
+
"IN",
|
|
218
|
+
"ID",
|
|
219
|
+
"IT",
|
|
220
|
+
"JP",
|
|
221
|
+
"MX",
|
|
222
|
+
"RU",
|
|
223
|
+
"SA",
|
|
224
|
+
"ZA",
|
|
225
|
+
"KR",
|
|
226
|
+
"TR",
|
|
227
|
+
"GB",
|
|
228
|
+
"US",
|
|
229
|
+
],
|
|
230
|
+
oecd: [
|
|
231
|
+
"AU",
|
|
232
|
+
"AT",
|
|
233
|
+
"BE",
|
|
234
|
+
"CA",
|
|
235
|
+
"CL",
|
|
236
|
+
"CO",
|
|
237
|
+
"CR",
|
|
238
|
+
"CZ",
|
|
239
|
+
"DK",
|
|
240
|
+
"EE",
|
|
241
|
+
"FI",
|
|
242
|
+
"FR",
|
|
243
|
+
"DE",
|
|
244
|
+
"GR",
|
|
245
|
+
"HU",
|
|
246
|
+
"IS",
|
|
247
|
+
"IE",
|
|
248
|
+
"IL",
|
|
249
|
+
"IT",
|
|
250
|
+
"JP",
|
|
251
|
+
"KR",
|
|
252
|
+
"LV",
|
|
253
|
+
"LT",
|
|
254
|
+
"LU",
|
|
255
|
+
"MX",
|
|
256
|
+
"NL",
|
|
257
|
+
"NZ",
|
|
258
|
+
"NO",
|
|
259
|
+
"PL",
|
|
260
|
+
"PT",
|
|
261
|
+
"SK",
|
|
262
|
+
"SI",
|
|
263
|
+
"ES",
|
|
264
|
+
"SE",
|
|
265
|
+
"CH",
|
|
266
|
+
"TR",
|
|
267
|
+
"GB",
|
|
268
|
+
"US",
|
|
269
|
+
],
|
|
270
|
+
me: [
|
|
271
|
+
// Middle East countries
|
|
272
|
+
"AE", // United Arab Emirates
|
|
273
|
+
"BH", // Bahrain
|
|
274
|
+
"CY", // Cyprus
|
|
275
|
+
"EG", // Egypt
|
|
276
|
+
"IL", // Israel
|
|
277
|
+
"IQ", // Iraq
|
|
278
|
+
"IR", // Iran
|
|
279
|
+
"JO", // Jordan
|
|
280
|
+
"KW", // Kuwait
|
|
281
|
+
"LB", // Lebanon
|
|
282
|
+
"OM", // Oman
|
|
283
|
+
"PS", // Palestine
|
|
284
|
+
"QA", // Qatar
|
|
285
|
+
"SA", // Saudi Arabia
|
|
286
|
+
"SY", // Syria
|
|
287
|
+
"TR", // Turkey
|
|
288
|
+
"YE", // Yemen
|
|
289
|
+
],
|
|
290
|
+
};
|
|
291
|
+
export const accountingCountriesWithRegions = accountingCountries.map((country) => {
|
|
292
|
+
const additional = [];
|
|
293
|
+
for (const [regionCode, members] of Object.entries(regionMemberships)) {
|
|
294
|
+
if (members.includes(country.code)) {
|
|
295
|
+
additional.push(regionCode);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return {
|
|
299
|
+
...country,
|
|
300
|
+
accountingRegions: [...additional],
|
|
301
|
+
};
|
|
302
|
+
});
|
|
303
|
+
export const countryAccountingRegions = accountingCountriesWithRegions.reduce((acc, country) => {
|
|
304
|
+
acc[country.code] = country.accountingRegions;
|
|
305
|
+
return acc;
|
|
306
|
+
}, {});
|
|
307
|
+
//# sourceMappingURL=accounting-countries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounting-countries.js","sourceRoot":"","sources":["../src/accounting-countries.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAwB,SAAS;KAC9D,IAAI,EAAE;KACN,MAAM,CAAsB,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;IACtC,GAAG,CAAC,IAAI,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,IAAI,EAAE,CAAC,CAAC,IAAI;KACb,CAAC,CAAA;IACF,OAAO,GAAG,CAAA;AACZ,CAAC,EAAE,EAAE,CAAC,CAAA;AAcR,mEAAmE;AACnE,MAAM,iBAAiB,GAAuD;IAC5E,UAAU,EAAE;QACV,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;KACL;IACD,GAAG,EAAE;QACH,uBAAuB;QACvB,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QAC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GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;IAClC,MAAM,UAAU,GAA2B,EAAE,CAAA;IAC7C,KAAK,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAGjE,EAAE,CAAC;QACJ,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACnC,UAAU,CAAC,IAAI,CAAC,UAAkC,CAAC,CAAA;QACrD,CAAC;IACH,CAAC;IACD,OAAO;QACL,GAAG,OAAO;QACV,iBAAiB,EAAE,CAAC,GAAG,UAAU,CAAC;KACnC,CAAA;AACH,CAAC,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,wBAAwB,GACnC,8BAA8B,CAAC,MAAM,CACnC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;IACf,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAA;IAC7C,OAAO,GAAG,CAAA;AACZ,CAAC,EACD,EAA4C,CAC7C,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export declare const accountingRegions: readonly [{
|
|
2
|
+
readonly name: "Africa";
|
|
3
|
+
readonly code: "af";
|
|
4
|
+
readonly slug: "africa";
|
|
5
|
+
}, {
|
|
6
|
+
readonly name: "Antarctica";
|
|
7
|
+
readonly code: "an";
|
|
8
|
+
readonly slug: "antarctica";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "Asia";
|
|
11
|
+
readonly code: "as";
|
|
12
|
+
readonly slug: "asia";
|
|
13
|
+
}, {
|
|
14
|
+
readonly name: "Europe";
|
|
15
|
+
readonly code: "eu";
|
|
16
|
+
readonly slug: "europe";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "North America";
|
|
19
|
+
readonly code: "na";
|
|
20
|
+
readonly slug: "north-america";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "Oceania";
|
|
23
|
+
readonly code: "oc";
|
|
24
|
+
readonly slug: "oceania";
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "South America";
|
|
27
|
+
readonly code: "sa";
|
|
28
|
+
readonly slug: "south-america";
|
|
29
|
+
}, {
|
|
30
|
+
readonly name: "Middle East";
|
|
31
|
+
readonly code: "me";
|
|
32
|
+
readonly slug: "middle-east";
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "European Union";
|
|
35
|
+
readonly code: "eu-union";
|
|
36
|
+
readonly slug: "european-union";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "European Economic Area";
|
|
39
|
+
readonly code: "eea";
|
|
40
|
+
readonly slug: "european-economic-area";
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "Schengen Area";
|
|
43
|
+
readonly code: "schengen";
|
|
44
|
+
readonly slug: "schengen-area";
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "North American Free Trade Agreement";
|
|
47
|
+
readonly code: "nafta";
|
|
48
|
+
readonly slug: "nafta";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "United States";
|
|
51
|
+
readonly code: "us";
|
|
52
|
+
readonly slug: "united-states";
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "United Kingdom";
|
|
55
|
+
readonly code: "gb";
|
|
56
|
+
readonly slug: "united-kingdom";
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "Commonwealth of Independent States";
|
|
59
|
+
readonly code: "cis";
|
|
60
|
+
readonly slug: "cis";
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "Gulf Cooperation Council";
|
|
63
|
+
readonly code: "gcc";
|
|
64
|
+
readonly slug: "gcc";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "Association of Southeast Asian Nations";
|
|
67
|
+
readonly code: "asean";
|
|
68
|
+
readonly slug: "asean";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "African Union";
|
|
71
|
+
readonly code: "au";
|
|
72
|
+
readonly slug: "african-union";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "Caribbean Community";
|
|
75
|
+
readonly code: "caricom";
|
|
76
|
+
readonly slug: "caricom";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "Mercosur";
|
|
79
|
+
readonly code: "mercosur";
|
|
80
|
+
readonly slug: "mercosur";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "Pacific Alliance";
|
|
83
|
+
readonly code: "pa";
|
|
84
|
+
readonly slug: "pacific-alliance";
|
|
85
|
+
}, {
|
|
86
|
+
readonly name: "BRICS";
|
|
87
|
+
readonly code: "brics";
|
|
88
|
+
readonly slug: "brics";
|
|
89
|
+
}, {
|
|
90
|
+
readonly name: "G7";
|
|
91
|
+
readonly code: "g7";
|
|
92
|
+
readonly slug: "g7";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "G20";
|
|
95
|
+
readonly code: "g20";
|
|
96
|
+
readonly slug: "g20";
|
|
97
|
+
}, {
|
|
98
|
+
readonly name: "OECD";
|
|
99
|
+
readonly code: "oecd";
|
|
100
|
+
readonly slug: "oecd";
|
|
101
|
+
}];
|
|
102
|
+
export type AccountingRegionCode = (typeof accountingRegions)[number]["code"];
|
|
103
|
+
//# sourceMappingURL=accounting-regions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounting-regions.d.ts","sourceRoot":"","sources":["../src/accounting-regions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCpB,CAAA;AAEV,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const accountingRegions = [
|
|
2
|
+
// Geographic regions
|
|
3
|
+
{ name: "Africa", code: "af", slug: "africa" },
|
|
4
|
+
{ name: "Antarctica", code: "an", slug: "antarctica" },
|
|
5
|
+
{ name: "Asia", code: "as", slug: "asia" },
|
|
6
|
+
{ name: "Europe", code: "eu", slug: "europe" },
|
|
7
|
+
{ name: "North America", code: "na", slug: "north-america" },
|
|
8
|
+
{ name: "Oceania", code: "oc", slug: "oceania" },
|
|
9
|
+
{ name: "South America", code: "sa", slug: "south-america" },
|
|
10
|
+
{ name: "Middle East", code: "me", slug: "middle-east" },
|
|
11
|
+
// Economic and accounting regions
|
|
12
|
+
{ name: "European Union", code: "eu-union", slug: "european-union" },
|
|
13
|
+
{
|
|
14
|
+
name: "European Economic Area",
|
|
15
|
+
code: "eea",
|
|
16
|
+
slug: "european-economic-area",
|
|
17
|
+
},
|
|
18
|
+
{ name: "Schengen Area", code: "schengen", slug: "schengen-area" },
|
|
19
|
+
{ name: "North American Free Trade Agreement", code: "nafta", slug: "nafta" },
|
|
20
|
+
{ name: "United States", code: "us", slug: "united-states" },
|
|
21
|
+
{ name: "United Kingdom", code: "gb", slug: "united-kingdom" },
|
|
22
|
+
{ name: "Commonwealth of Independent States", code: "cis", slug: "cis" },
|
|
23
|
+
{ name: "Gulf Cooperation Council", code: "gcc", slug: "gcc" },
|
|
24
|
+
{
|
|
25
|
+
name: "Association of Southeast Asian Nations",
|
|
26
|
+
code: "asean",
|
|
27
|
+
slug: "asean",
|
|
28
|
+
},
|
|
29
|
+
{ name: "African Union", code: "au", slug: "african-union" },
|
|
30
|
+
{ name: "Caribbean Community", code: "caricom", slug: "caricom" },
|
|
31
|
+
{ name: "Mercosur", code: "mercosur", slug: "mercosur" },
|
|
32
|
+
{ name: "Pacific Alliance", code: "pa", slug: "pacific-alliance" },
|
|
33
|
+
{ name: "BRICS", code: "brics", slug: "brics" },
|
|
34
|
+
{ name: "G7", code: "g7", slug: "g7" },
|
|
35
|
+
{ name: "G20", code: "g20", slug: "g20" },
|
|
36
|
+
{ name: "OECD", code: "oecd", slug: "oecd" },
|
|
37
|
+
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