@8ms/helpers 1.33.2 → 1.35.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.
Files changed (111) hide show
  1. package/api/ApiResponse.d.ts +2 -2
  2. package/api/ApiResponse.js +11 -11
  3. package/api/index.d.ts +8 -0
  4. package/api/index.js +12 -0
  5. package/api/isError.d.ts +2 -2
  6. package/api/isError.js +3 -6
  7. package/api/isSuccess.d.ts +1 -1
  8. package/api/isSuccess.js +3 -6
  9. package/api/response.d.ts +1 -1
  10. package/api/response.js +2 -5
  11. package/aws/s3/listFilesIteratively.d.ts +9 -0
  12. package/aws/s3/listFilesIteratively.js +44 -0
  13. package/aws/s3/readBuffer.d.ts +1 -1
  14. package/aws/s3/readBuffer.js +6 -19
  15. package/aws/s3/readFile.d.ts +3 -2
  16. package/aws/s3/readFile.js +13 -10
  17. package/aws/s3cache/getCache.d.ts +2 -2
  18. package/aws/s3cache/getCache.js +2 -2
  19. package/aws/s3cache/index.d.ts +6 -0
  20. package/aws/s3cache/updateCache.d.ts +1 -1
  21. package/brightData/webScraperIde/getRealtime.js +5 -5
  22. package/crud/index.d.ts +6 -0
  23. package/crud/index.js +10 -0
  24. package/date/getDate.d.ts +1 -1
  25. package/date/getDatesBetween.d.ts +1 -1
  26. package/date/getFinancialYear.d.ts +1 -1
  27. package/date/getFinancialYear.js +3 -6
  28. package/date/getFinancialYearToDate.d.ts +1 -1
  29. package/date/getFinancialYearToYesterday.d.ts +1 -1
  30. package/date/getFinancialYearWeeks.d.ts +1 -1
  31. package/date/getFinancialYearWeeks.js +1 -2
  32. package/date/getLastWeek.d.ts +1 -1
  33. package/date/getMax.d.ts +1 -1
  34. package/date/getMin.d.ts +1 -1
  35. package/date/getMonday.d.ts +3 -3
  36. package/date/getMonday.js +3 -5
  37. package/date/getPredefinedTimeframe.d.ts +2 -3
  38. package/date/getPredefinedTimeframe.js +4 -4
  39. package/date/getSunday.d.ts +1 -1
  40. package/date/getThisWeek.d.ts +1 -1
  41. package/date/getTwoWeeksAgo.d.ts +1 -1
  42. package/date/getWeeksAgo.d.ts +1 -1
  43. package/date/index.d.ts +55 -0
  44. package/date/index.js +36 -0
  45. package/date/isLastWeek.d.ts +1 -1
  46. package/date/isThisWeek.d.ts +2 -2
  47. package/date/isThisWeek.js +1 -1
  48. package/environment/getEnvironment.d.ts +1 -1
  49. package/environment/getEnvironment.js +8 -8
  50. package/environment/index.d.ts +9 -0
  51. package/environment/index.js +14 -0
  52. package/environment/isAws.js +2 -5
  53. package/environment/isDevelopment.js +2 -2
  54. package/environment/isProduction.js +2 -2
  55. package/environment/isStaging.js +2 -2
  56. package/googleAds/keywordPlanner/index.d.ts +238 -0
  57. package/googleAds/keywordPlanner/index.js +245 -0
  58. package/{google → googleAds}/keywordPlanner/request.d.ts +1 -3
  59. package/{google → googleAds}/keywordPlanner/request.js +2 -5
  60. package/{google → googleAds}/keywordPlanner/response.d.ts +1 -1
  61. package/littleWarden/index.d.ts +5 -0
  62. package/littleWarden/index.js +9 -0
  63. package/littleWarden/isAllGood.js +3 -6
  64. package/littleWarden/isDanger.js +2 -5
  65. package/littleWarden/isWarning.js +2 -5
  66. package/package.json +27 -26
  67. package/util/promiseChunks.d.ts +10 -0
  68. package/util/promiseChunks.js +18 -0
  69. package/webWorker/index.d.ts +5 -0
  70. package/webWorker/index.js +9 -0
  71. package/api/states.d.ts +0 -9
  72. package/api/states.js +0 -10
  73. package/api/unexpectedError.d.ts +0 -2
  74. package/api/unexpectedError.js +0 -4
  75. package/aws/s3cache/cache.d.ts +0 -7
  76. package/crud/actions.d.ts +0 -8
  77. package/crud/actions.js +0 -10
  78. package/date/date.d.ts +0 -4
  79. package/date/date.js +0 -2
  80. package/date/duration.d.ts +0 -5
  81. package/date/duration.js +0 -2
  82. package/date/durationComparisons.d.ts +0 -5
  83. package/date/durationComparisons.js +0 -7
  84. package/date/durations.d.ts +0 -8
  85. package/date/durations.js +0 -10
  86. package/date/financialYear.d.ts +0 -4
  87. package/date/financialYear.js +0 -2
  88. package/date/financialYearWeek.d.ts +0 -6
  89. package/date/financialYearWeek.js +0 -2
  90. package/date/predefinedTimeframes.d.ts +0 -7
  91. package/date/predefinedTimeframes.js +0 -9
  92. package/date/timeframe.d.ts +0 -8
  93. package/date/timeframe.js +0 -2
  94. package/date/timeframes.d.ts +0 -4
  95. package/date/timeframes.js +0 -7
  96. package/environment/environments.d.ts +0 -7
  97. package/environment/environments.js +0 -8
  98. package/environment/platforms.d.ts +0 -6
  99. package/environment/platforms.js +0 -7
  100. package/google/keywordPlanner/countries.d.ts +0 -222
  101. package/google/keywordPlanner/countries.js +0 -223
  102. package/google/keywordPlanner/months.d.ts +0 -16
  103. package/google/keywordPlanner/months.js +0 -17
  104. package/google/keywordPlanner/networks.d.ts +0 -6
  105. package/google/keywordPlanner/networks.js +0 -7
  106. package/littleWarden/states.d.ts +0 -7
  107. package/littleWarden/states.js +0 -8
  108. package/webWorker/states.d.ts +0 -7
  109. package/webWorker/states.js +0 -8
  110. /package/aws/s3cache/{cache.js → index.js} +0 -0
  111. /package/{google → googleAds}/keywordPlanner/response.js +0 -0
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.predefinedTimeframes = void 0;
4
- exports.predefinedTimeframes = {
5
- NONE: 'none',
6
- CUSTOM: 'custom',
7
- THIS_WEEK: 'thisWeek',
8
- LAST_WEEK: 'lastWeek',
9
- };
@@ -1,8 +0,0 @@
1
- import { DateType } from './date';
2
- /**
3
- * A timeframe has a start and an end date.
4
- */
5
- export type Timeframe = {
6
- end: DateType;
7
- start: DateType;
8
- };
package/date/timeframe.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export declare const timeframes: {
2
- CURRENT: string;
3
- COMPARISON: string;
4
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.timeframes = void 0;
4
- exports.timeframes = {
5
- CURRENT: 'current',
6
- COMPARISON: 'comparison',
7
- };
@@ -1,7 +0,0 @@
1
- declare const environments: {
2
- DEVELOPMENT: string;
3
- STAGING: string;
4
- PRODUCTION: string;
5
- };
6
- export type Environment = typeof environments.DEVELOPMENT | typeof environments.STAGING | typeof environments.PRODUCTION;
7
- export default environments;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const environments = {
4
- DEVELOPMENT: 'development',
5
- STAGING: 'staging',
6
- PRODUCTION: 'production',
7
- };
8
- exports.default = environments;
@@ -1,6 +0,0 @@
1
- declare const platforms: {
2
- AWS: string;
3
- VERCEL: string;
4
- };
5
- export type Platform = typeof platforms.AWS | typeof platforms.VERCEL;
6
- export default platforms;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const platforms = {
4
- AWS: 'aws',
5
- VERCEL: 'vercel',
6
- };
7
- exports.default = platforms;
@@ -1,222 +0,0 @@
1
- /**
2
- * As defined in:
3
- * https://docs.google.com/spreadsheets/d/1T2ObmYoo6BNzrqYKb2ts75A6IKfnXmnndr2wujgNpak/edit#gid=2146701026
4
- */
5
- declare const countries: {
6
- AFGHANISTAN: number;
7
- ALBANIA: number;
8
- ANTARCTICA: number;
9
- ALGERIA: number;
10
- AMERICAN_SAMOA: number;
11
- ANDORRA: number;
12
- ANGOLA: number;
13
- ANTIGUA_AND_BARBUDA: number;
14
- AZERBAIJAN: number;
15
- ARGENTINA: number;
16
- AUSTRALIA: number;
17
- AUSTRIA: number;
18
- THE_BAHAMAS: number;
19
- BAHRAIN: number;
20
- BANGLADESH: number;
21
- ARMENIA: number;
22
- BARBADOS: number;
23
- BELGIUM: number;
24
- BHUTAN: number;
25
- BOLIVIA: number;
26
- BOSNIA_AND_HERZEGOVINA: number;
27
- BOTSWANA: number;
28
- BRAZIL: number;
29
- BELIZE: number;
30
- SOLOMON_ISLANDS: number;
31
- BRUNEI: number;
32
- BULGARIA: number;
33
- MYANMAR_BURMA: number;
34
- BURUNDI: number;
35
- BELARUS: number;
36
- CAMBODIA: number;
37
- CAMEROON: number;
38
- CANADA: number;
39
- CAPE_VERDE: number;
40
- CENTRAL_AFRICAN_REPUBLIC: number;
41
- SRI_LANKA: number;
42
- CHAD: number;
43
- CHILE: number;
44
- CHINA: number;
45
- CHRISTMAS_ISLAND: number;
46
- COCOS_KEELING_ISLANDS: number;
47
- COLOMBIA: number;
48
- COMOROS: number;
49
- REPUBLIC_OF_THE_CONGO: number;
50
- DEMOCRATIC_REPUBLIC_OF_THE_CONGO: number;
51
- COOK_ISLANDS: number;
52
- COSTA_RICA: number;
53
- CROATIA: number;
54
- CYPRUS: number;
55
- CZECHIA: number;
56
- BENIN: number;
57
- DENMARK: number;
58
- DOMINICA: number;
59
- DOMINICAN_REPUBLIC: number;
60
- ECUADOR: number;
61
- EL_SALVADOR: number;
62
- EQUATORIAL_GUINEA: number;
63
- ETHIOPIA: number;
64
- ERITREA: number;
65
- ESTONIA: number;
66
- SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS: number;
67
- FIJI: number;
68
- FINLAND: number;
69
- FRANCE: number;
70
- FRENCH_POLYNESIA: number;
71
- FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS: number;
72
- DJIBOUTI: number;
73
- GABON: number;
74
- GEORGIA: number;
75
- THE_GAMBIA: number;
76
- GERMANY: number;
77
- GHANA: number;
78
- KIRIBATI: number;
79
- GREECE: number;
80
- GRENADA: number;
81
- GUAM: number;
82
- GUATEMALA: number;
83
- GUINEA: number;
84
- GUYANA: number;
85
- HAITI: number;
86
- HEARD_ISLAND_AND_MCDONALD_ISLANDS: number;
87
- VATICAN_CITY: number;
88
- HONDURAS: number;
89
- HUNGARY: number;
90
- ICELAND: number;
91
- INDIA: number;
92
- INDONESIA: number;
93
- IRAQ: number;
94
- IRELAND: number;
95
- ISRAEL: number;
96
- ITALY: number;
97
- COTE_DIVOIRE: number;
98
- JAMAICA: number;
99
- JAPAN: number;
100
- KAZAKHSTAN: number;
101
- JORDAN: number;
102
- KENYA: number;
103
- SOUTH_KOREA: number;
104
- KUWAIT: number;
105
- KYRGYZSTAN: number;
106
- LAOS: number;
107
- LEBANON: number;
108
- LESOTHO: number;
109
- LATVIA: number;
110
- LIBERIA: number;
111
- LIBYA: number;
112
- LIECHTENSTEIN: number;
113
- LITHUANIA: number;
114
- LUXEMBOURG: number;
115
- MADAGASCAR: number;
116
- MALAWI: number;
117
- MALAYSIA: number;
118
- MALDIVES: number;
119
- MALI: number;
120
- MALTA: number;
121
- MAURITANIA: number;
122
- MAURITIUS: number;
123
- MEXICO: number;
124
- MONACO: number;
125
- MONGOLIA: number;
126
- MOLDOVA: number;
127
- MONTENEGRO: number;
128
- MOROCCO: number;
129
- MOZAMBIQUE: number;
130
- OMAN: number;
131
- NAMIBIA: number;
132
- NAURU: number;
133
- NEPAL: number;
134
- NETHERLANDS: number;
135
- CURACAO: number;
136
- SINT_MAARTEN: number;
137
- CARIBBEAN_NETHERLANDS: number;
138
- NEW_CALEDONIA: number;
139
- VANUATU: number;
140
- NEW_ZEALAND: number;
141
- NICARAGUA: number;
142
- NIGER: number;
143
- NIGERIA: number;
144
- NIUE: number;
145
- NORFOLK_ISLAND: number;
146
- NORWAY: number;
147
- NORTHERN_MARIANA_ISLANDS: number;
148
- UNITED_STATES_MINOR_OUTLYING_ISLANDS: number;
149
- FEDERATED_STATES_OF_MICRONESIA: number;
150
- MARSHALL_ISLANDS: number;
151
- PALAU: number;
152
- PAKISTAN: number;
153
- PANAMA: number;
154
- PAPUA_NEW_GUINEA: number;
155
- PARAGUAY: number;
156
- PERU: number;
157
- PHILIPPINES: number;
158
- PITCAIRN_ISLANDS: number;
159
- POLAND: number;
160
- PORTUGAL: number;
161
- GUINEA_BISSAU: number;
162
- TIMOR_LESTE: number;
163
- QATAR: number;
164
- ROMANIA: number;
165
- RUSSIA: number;
166
- RWANDA: number;
167
- SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA: number;
168
- SAINT_KITTS_AND_NEVIS: number;
169
- SAINT_LUCIA: number;
170
- SAINT_PIERRE_AND_MIQUELON: number;
171
- SAINT_VINCENT_AND_THE_GRENADINES: number;
172
- SAN_MARINO: number;
173
- SAO_TOME_AND_PRINCIPE: number;
174
- SAUDI_ARABIA: number;
175
- SENEGAL: number;
176
- SERBIA: number;
177
- SEYCHELLES: number;
178
- SIERRA_LEONE: number;
179
- SINGAPORE: number;
180
- SLOVAKIA: number;
181
- VIETNAM: number;
182
- SLOVENIA: number;
183
- SOMALIA: number;
184
- SOUTH_AFRICA: number;
185
- ZIMBABWE: number;
186
- SPAIN: number;
187
- SUDAN: number;
188
- SURINAME: number;
189
- ESWATINI: number;
190
- SWEDEN: number;
191
- SWITZERLAND: number;
192
- TAJIKISTAN: number;
193
- THAILAND: number;
194
- TOGO: number;
195
- TOKELAU: number;
196
- TONGA: number;
197
- TRINIDAD_AND_TOBAGO: number;
198
- UNITED_ARAB_EMIRATES: number;
199
- TUNISIA: number;
200
- TURKEY: number;
201
- TURKMENISTAN: number;
202
- TUVALU: number;
203
- UGANDA: number;
204
- UKRAINE: number;
205
- NORTH_MACEDONIA: number;
206
- EGYPT: number;
207
- UNITED_KINGDOM: number;
208
- GUERNSEY: number;
209
- JERSEY: number;
210
- TANZANIA: number;
211
- UNITED_STATES: number;
212
- BURKINA_FASO: number;
213
- URUGUAY: number;
214
- UZBEKISTAN: number;
215
- VENEZUELA: number;
216
- WALLIS_AND_FUTUNA: number;
217
- SAMOA: number;
218
- YEMEN: number;
219
- ZAMBIA: number;
220
- };
221
- export type Country = typeof countries.AFGHANISTAN | typeof countries.ALBANIA | typeof countries.ANTARCTICA | typeof countries.ALGERIA | typeof countries.AMERICAN_SAMOA | typeof countries.ANDORRA | typeof countries.ANGOLA | typeof countries.ANTIGUA_AND_BARBUDA | typeof countries.AZERBAIJAN | typeof countries.ARGENTINA | typeof countries.AUSTRALIA | typeof countries.AUSTRIA | typeof countries.THE_BAHAMAS | typeof countries.BAHRAIN | typeof countries.BANGLADESH | typeof countries.ARMENIA | typeof countries.BARBADOS | typeof countries.BELGIUM | typeof countries.BHUTAN | typeof countries.BOLIVIA | typeof countries.BOSNIA_AND_HERZEGOVINA | typeof countries.BOTSWANA | typeof countries.BRAZIL | typeof countries.BELIZE | typeof countries.SOLOMON_ISLANDS | typeof countries.BRUNEI | typeof countries.BULGARIA | typeof countries.MYANMAR_BURMA | typeof countries.BURUNDI | typeof countries.BELARUS | typeof countries.CAMBODIA | typeof countries.CAMEROON | typeof countries.CANADA | typeof countries.CAPE_VERDE | typeof countries.CENTRAL_AFRICAN_REPUBLIC | typeof countries.SRI_LANKA | typeof countries.CHAD | typeof countries.CHILE | typeof countries.CHINA | typeof countries.CHRISTMAS_ISLAND | typeof countries.COCOS_KEELING_ISLANDS | typeof countries.COLOMBIA | typeof countries.COMOROS | typeof countries.REPUBLIC_OF_THE_CONGO | typeof countries.DEMOCRATIC_REPUBLIC_OF_THE_CONGO | typeof countries.COOK_ISLANDS | typeof countries.COSTA_RICA | typeof countries.CROATIA | typeof countries.CYPRUS | typeof countries.CZECHIA | typeof countries.BENIN | typeof countries.DENMARK | typeof countries.DOMINICA | typeof countries.DOMINICAN_REPUBLIC | typeof countries.ECUADOR | typeof countries.EL_SALVADOR | typeof countries.EQUATORIAL_GUINEA | typeof countries.ETHIOPIA | typeof countries.ERITREA | typeof countries.ESTONIA | typeof countries.SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS | typeof countries.FIJI | typeof countries.FINLAND | typeof countries.FRANCE | typeof countries.FRENCH_POLYNESIA | typeof countries.FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS | typeof countries.DJIBOUTI | typeof countries.GABON | typeof countries.GEORGIA | typeof countries.THE_GAMBIA | typeof countries.GERMANY | typeof countries.GHANA | typeof countries.KIRIBATI | typeof countries.GREECE | typeof countries.GRENADA | typeof countries.GUAM | typeof countries.GUATEMALA | typeof countries.GUINEA | typeof countries.GUYANA | typeof countries.HAITI | typeof countries.HEARD_ISLAND_AND_MCDONALD_ISLANDS | typeof countries.VATICAN_CITY | typeof countries.HONDURAS | typeof countries.HUNGARY | typeof countries.ICELAND | typeof countries.INDIA | typeof countries.INDONESIA | typeof countries.IRAQ | typeof countries.IRELAND | typeof countries.ISRAEL | typeof countries.ITALY | typeof countries.COTE_DIVOIRE | typeof countries.JAMAICA | typeof countries.JAPAN | typeof countries.KAZAKHSTAN | typeof countries.JORDAN | typeof countries.KENYA | typeof countries.SOUTH_KOREA | typeof countries.KUWAIT | typeof countries.KYRGYZSTAN | typeof countries.LAOS | typeof countries.LEBANON | typeof countries.LESOTHO | typeof countries.LATVIA | typeof countries.LIBERIA | typeof countries.LIBYA | typeof countries.LIECHTENSTEIN | typeof countries.LITHUANIA | typeof countries.LUXEMBOURG | typeof countries.MADAGASCAR | typeof countries.MALAWI | typeof countries.MALAYSIA | typeof countries.MALDIVES | typeof countries.MALI | typeof countries.MALTA | typeof countries.MAURITANIA | typeof countries.MAURITIUS | typeof countries.MEXICO | typeof countries.MONACO | typeof countries.MONGOLIA | typeof countries.MOLDOVA | typeof countries.MONTENEGRO | typeof countries.MOROCCO | typeof countries.MOZAMBIQUE | typeof countries.OMAN | typeof countries.NAMIBIA | typeof countries.NAURU | typeof countries.NEPAL | typeof countries.NETHERLANDS | typeof countries.CURACAO | typeof countries.SINT_MAARTEN | typeof countries.CARIBBEAN_NETHERLANDS | typeof countries.NEW_CALEDONIA | typeof countries.VANUATU | typeof countries.NEW_ZEALAND | typeof countries.NICARAGUA | typeof countries.NIGER | typeof countries.NIGERIA | typeof countries.NIUE | typeof countries.NORFOLK_ISLAND | typeof countries.NORWAY | typeof countries.NORTHERN_MARIANA_ISLANDS | typeof countries.UNITED_STATES_MINOR_OUTLYING_ISLANDS | typeof countries.FEDERATED_STATES_OF_MICRONESIA | typeof countries.MARSHALL_ISLANDS | typeof countries.PALAU | typeof countries.PAKISTAN | typeof countries.PANAMA | typeof countries.PAPUA_NEW_GUINEA | typeof countries.PARAGUAY | typeof countries.PERU | typeof countries.PHILIPPINES | typeof countries.PITCAIRN_ISLANDS | typeof countries.POLAND | typeof countries.PORTUGAL | typeof countries.GUINEA_BISSAU | typeof countries.TIMOR_LESTE | typeof countries.QATAR | typeof countries.ROMANIA | typeof countries.RUSSIA | typeof countries.RWANDA | typeof countries.SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA | typeof countries.SAINT_KITTS_AND_NEVIS | typeof countries.SAINT_LUCIA | typeof countries.SAINT_PIERRE_AND_MIQUELON | typeof countries.SAINT_VINCENT_AND_THE_GRENADINES | typeof countries.SAN_MARINO | typeof countries.SAO_TOME_AND_PRINCIPE | typeof countries.SAUDI_ARABIA | typeof countries.SENEGAL | typeof countries.SERBIA | typeof countries.SEYCHELLES | typeof countries.SIERRA_LEONE | typeof countries.SINGAPORE | typeof countries.SLOVAKIA | typeof countries.VIETNAM | typeof countries.SLOVENIA | typeof countries.SOMALIA | typeof countries.SOUTH_AFRICA | typeof countries.ZIMBABWE | typeof countries.SPAIN | typeof countries.SUDAN | typeof countries.SURINAME | typeof countries.ESWATINI | typeof countries.SWEDEN | typeof countries.SWITZERLAND | typeof countries.TAJIKISTAN | typeof countries.THAILAND | typeof countries.TOGO | typeof countries.TOKELAU | typeof countries.TONGA | typeof countries.TRINIDAD_AND_TOBAGO | typeof countries.UNITED_ARAB_EMIRATES | typeof countries.TUNISIA | typeof countries.TURKEY | typeof countries.TURKMENISTAN | typeof countries.TUVALU | typeof countries.UGANDA | typeof countries.UKRAINE | typeof countries.NORTH_MACEDONIA | typeof countries.EGYPT | typeof countries.UNITED_KINGDOM | typeof countries.GUERNSEY | typeof countries.JERSEY | typeof countries.TANZANIA | typeof countries.UNITED_STATES | typeof countries.BURKINA_FASO | typeof countries.URUGUAY | typeof countries.UZBEKISTAN | typeof countries.VENEZUELA | typeof countries.WALLIS_AND_FUTUNA | typeof countries.SAMOA | typeof countries.YEMEN | typeof countries.ZAMBIA;
222
- export default countries;
@@ -1,223 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /**
4
- * As defined in:
5
- * https://docs.google.com/spreadsheets/d/1T2ObmYoo6BNzrqYKb2ts75A6IKfnXmnndr2wujgNpak/edit#gid=2146701026
6
- */
7
- const countries = {
8
- AFGHANISTAN: 2004,
9
- ALBANIA: 2008,
10
- ANTARCTICA: 2010,
11
- ALGERIA: 2012,
12
- AMERICAN_SAMOA: 2016,
13
- ANDORRA: 2020,
14
- ANGOLA: 2024,
15
- ANTIGUA_AND_BARBUDA: 2028,
16
- AZERBAIJAN: 2031,
17
- ARGENTINA: 2032,
18
- AUSTRALIA: 2036,
19
- AUSTRIA: 2040,
20
- THE_BAHAMAS: 2044,
21
- BAHRAIN: 2048,
22
- BANGLADESH: 2050,
23
- ARMENIA: 2051,
24
- BARBADOS: 2052,
25
- BELGIUM: 2056,
26
- BHUTAN: 2064,
27
- BOLIVIA: 2068,
28
- BOSNIA_AND_HERZEGOVINA: 2070,
29
- BOTSWANA: 2072,
30
- BRAZIL: 2076,
31
- BELIZE: 2084,
32
- SOLOMON_ISLANDS: 2090,
33
- BRUNEI: 2096,
34
- BULGARIA: 2100,
35
- MYANMAR_BURMA: 2104,
36
- BURUNDI: 2108,
37
- BELARUS: 2112,
38
- CAMBODIA: 2116,
39
- CAMEROON: 2120,
40
- CANADA: 2124,
41
- CAPE_VERDE: 2132,
42
- CENTRAL_AFRICAN_REPUBLIC: 2140,
43
- SRI_LANKA: 2144,
44
- CHAD: 2148,
45
- CHILE: 2152,
46
- CHINA: 2156,
47
- CHRISTMAS_ISLAND: 2162,
48
- COCOS_KEELING_ISLANDS: 2166,
49
- COLOMBIA: 2170,
50
- COMOROS: 2174,
51
- REPUBLIC_OF_THE_CONGO: 2178,
52
- DEMOCRATIC_REPUBLIC_OF_THE_CONGO: 2180,
53
- COOK_ISLANDS: 2184,
54
- COSTA_RICA: 2188,
55
- CROATIA: 2191,
56
- CYPRUS: 2196,
57
- CZECHIA: 2203,
58
- BENIN: 2204,
59
- DENMARK: 2208,
60
- DOMINICA: 2212,
61
- DOMINICAN_REPUBLIC: 2214,
62
- ECUADOR: 2218,
63
- EL_SALVADOR: 2222,
64
- EQUATORIAL_GUINEA: 2226,
65
- ETHIOPIA: 2231,
66
- ERITREA: 2232,
67
- ESTONIA: 2233,
68
- SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS: 2239,
69
- FIJI: 2242,
70
- FINLAND: 2246,
71
- FRANCE: 2250,
72
- FRENCH_POLYNESIA: 2258,
73
- FRENCH_SOUTHERN_AND_ANTARCTIC_LANDS: 2260,
74
- DJIBOUTI: 2262,
75
- GABON: 2266,
76
- GEORGIA: 2268,
77
- THE_GAMBIA: 2270,
78
- GERMANY: 2276,
79
- GHANA: 2288,
80
- KIRIBATI: 2296,
81
- GREECE: 2300,
82
- GRENADA: 2308,
83
- GUAM: 2316,
84
- GUATEMALA: 2320,
85
- GUINEA: 2324,
86
- GUYANA: 2328,
87
- HAITI: 2332,
88
- HEARD_ISLAND_AND_MCDONALD_ISLANDS: 2334,
89
- VATICAN_CITY: 2336,
90
- HONDURAS: 2340,
91
- HUNGARY: 2348,
92
- ICELAND: 2352,
93
- INDIA: 2356,
94
- INDONESIA: 2360,
95
- IRAQ: 2368,
96
- IRELAND: 2372,
97
- ISRAEL: 2376,
98
- ITALY: 2380,
99
- COTE_DIVOIRE: 2384,
100
- JAMAICA: 2388,
101
- JAPAN: 2392,
102
- KAZAKHSTAN: 2398,
103
- JORDAN: 2400,
104
- KENYA: 2404,
105
- SOUTH_KOREA: 2410,
106
- KUWAIT: 2414,
107
- KYRGYZSTAN: 2417,
108
- LAOS: 2418,
109
- LEBANON: 2422,
110
- LESOTHO: 2426,
111
- LATVIA: 2428,
112
- LIBERIA: 2430,
113
- LIBYA: 2434,
114
- LIECHTENSTEIN: 2438,
115
- LITHUANIA: 2440,
116
- LUXEMBOURG: 2442,
117
- MADAGASCAR: 2450,
118
- MALAWI: 2454,
119
- MALAYSIA: 2458,
120
- MALDIVES: 2462,
121
- MALI: 2466,
122
- MALTA: 2470,
123
- MAURITANIA: 2478,
124
- MAURITIUS: 2480,
125
- MEXICO: 2484,
126
- MONACO: 2492,
127
- MONGOLIA: 2496,
128
- MOLDOVA: 2498,
129
- MONTENEGRO: 2499,
130
- MOROCCO: 2504,
131
- MOZAMBIQUE: 2508,
132
- OMAN: 2512,
133
- NAMIBIA: 2516,
134
- NAURU: 2520,
135
- NEPAL: 2524,
136
- NETHERLANDS: 2528,
137
- CURACAO: 2531,
138
- SINT_MAARTEN: 2534,
139
- CARIBBEAN_NETHERLANDS: 2535,
140
- NEW_CALEDONIA: 2540,
141
- VANUATU: 2548,
142
- NEW_ZEALAND: 2554,
143
- NICARAGUA: 2558,
144
- NIGER: 2562,
145
- NIGERIA: 2566,
146
- NIUE: 2570,
147
- NORFOLK_ISLAND: 2574,
148
- NORWAY: 2578,
149
- NORTHERN_MARIANA_ISLANDS: 2580,
150
- UNITED_STATES_MINOR_OUTLYING_ISLANDS: 2581,
151
- FEDERATED_STATES_OF_MICRONESIA: 2583,
152
- MARSHALL_ISLANDS: 2584,
153
- PALAU: 2585,
154
- PAKISTAN: 2586,
155
- PANAMA: 2591,
156
- PAPUA_NEW_GUINEA: 2598,
157
- PARAGUAY: 2600,
158
- PERU: 2604,
159
- PHILIPPINES: 2608,
160
- PITCAIRN_ISLANDS: 2612,
161
- POLAND: 2616,
162
- PORTUGAL: 2620,
163
- GUINEA_BISSAU: 2624,
164
- TIMOR_LESTE: 2626,
165
- QATAR: 2634,
166
- ROMANIA: 2642,
167
- RUSSIA: 2643,
168
- RWANDA: 2646,
169
- SAINT_HELENA__ASCENSION_AND_TRISTAN_DA_CUNHA: 2654,
170
- SAINT_KITTS_AND_NEVIS: 2659,
171
- SAINT_LUCIA: 2662,
172
- SAINT_PIERRE_AND_MIQUELON: 2666,
173
- SAINT_VINCENT_AND_THE_GRENADINES: 2670,
174
- SAN_MARINO: 2674,
175
- SAO_TOME_AND_PRINCIPE: 2678,
176
- SAUDI_ARABIA: 2682,
177
- SENEGAL: 2686,
178
- SERBIA: 2688,
179
- SEYCHELLES: 2690,
180
- SIERRA_LEONE: 2694,
181
- SINGAPORE: 2702,
182
- SLOVAKIA: 2703,
183
- VIETNAM: 2704,
184
- SLOVENIA: 2705,
185
- SOMALIA: 2706,
186
- SOUTH_AFRICA: 2710,
187
- ZIMBABWE: 2716,
188
- SPAIN: 2724,
189
- SUDAN: 2736,
190
- SURINAME: 2740,
191
- ESWATINI: 2748,
192
- SWEDEN: 2752,
193
- SWITZERLAND: 2756,
194
- TAJIKISTAN: 2762,
195
- THAILAND: 2764,
196
- TOGO: 2768,
197
- TOKELAU: 2772,
198
- TONGA: 2776,
199
- TRINIDAD_AND_TOBAGO: 2780,
200
- UNITED_ARAB_EMIRATES: 2784,
201
- TUNISIA: 2788,
202
- TURKEY: 2792,
203
- TURKMENISTAN: 2795,
204
- TUVALU: 2798,
205
- UGANDA: 2800,
206
- UKRAINE: 2804,
207
- NORTH_MACEDONIA: 2807,
208
- EGYPT: 2818,
209
- UNITED_KINGDOM: 2826,
210
- GUERNSEY: 2831,
211
- JERSEY: 2832,
212
- TANZANIA: 2834,
213
- UNITED_STATES: 2840,
214
- BURKINA_FASO: 2854,
215
- URUGUAY: 2858,
216
- UZBEKISTAN: 2860,
217
- VENEZUELA: 2862,
218
- WALLIS_AND_FUTUNA: 2876,
219
- SAMOA: 2882,
220
- YEMEN: 2887,
221
- ZAMBIA: 2894,
222
- };
223
- exports.default = countries;
@@ -1,16 +0,0 @@
1
- declare const months: {
2
- JANUARY: string;
3
- FEBRUARY: string;
4
- MARCH: string;
5
- APRIL: string;
6
- MAY: string;
7
- JUNE: string;
8
- JULY: string;
9
- AUGUST: string;
10
- SEPTEMBER: string;
11
- OCTOBER: string;
12
- NOVEMBER: string;
13
- DECEMBER: string;
14
- };
15
- export type Month = typeof months.JANUARY | typeof months.FEBRUARY | typeof months.MARCH | typeof months.APRIL | typeof months.MAY | typeof months.JUNE | typeof months.JULY | typeof months.AUGUST | typeof months.SEPTEMBER | typeof months.OCTOBER | typeof months.NOVEMBER | typeof months.DECEMBER;
16
- export default months;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const months = {
4
- JANUARY: 'JANUARY',
5
- FEBRUARY: 'FEBRUARY',
6
- MARCH: 'MARCH',
7
- APRIL: 'APRIL',
8
- MAY: 'MAY',
9
- JUNE: 'JUNE',
10
- JULY: 'JULY',
11
- AUGUST: 'AUGUST',
12
- SEPTEMBER: 'SEPTEMBER',
13
- OCTOBER: 'OCTOBER',
14
- NOVEMBER: 'NOVEMBER',
15
- DECEMBER: 'DECEMBER',
16
- };
17
- exports.default = months;
@@ -1,6 +0,0 @@
1
- declare const networks: {
2
- GOOGLE_SEARCH_ONLY: number;
3
- GOOGLE_SEARCH_AND_PARTNERS: number;
4
- };
5
- export type Network = typeof networks.GOOGLE_SEARCH_ONLY | typeof networks.GOOGLE_SEARCH_AND_PARTNERS;
6
- export default networks;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const networks = {
4
- GOOGLE_SEARCH_ONLY: 2,
5
- GOOGLE_SEARCH_AND_PARTNERS: 3,
6
- };
7
- exports.default = networks;
@@ -1,7 +0,0 @@
1
- declare const states: {
2
- ALL_GOOD: string;
3
- DANGER: string;
4
- WARNING: string;
5
- };
6
- export type State = typeof states.ALL_GOOD | typeof states.DANGER | typeof states.WARNING;
7
- export default states;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const states = {
4
- ALL_GOOD: 'all_good',
5
- DANGER: 'danger',
6
- WARNING: 'warning',
7
- };
8
- exports.default = states;
@@ -1,7 +0,0 @@
1
- declare const states: {
2
- ERROR: string;
3
- SUCCESS: string;
4
- PROGRESS: string;
5
- };
6
- export type State = typeof states.SUCCESS | typeof states.ERROR | typeof states.PROGRESS;
7
- export default states;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const states = {
4
- ERROR: 'error',
5
- SUCCESS: 'success',
6
- PROGRESS: 'progress',
7
- };
8
- exports.default = states;
File without changes