lob 6.0.6 → 6.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/Address.md +43 -46
- data/docs/CountryExtendedExpandedNoUs.md +15 -0
- data/docs/IntlAddress.md +54 -0
- data/docs/MultipleComponents.md +2 -2
- data/docs/UsAddress.md +54 -0
- data/docs/UsVerification.md +2 -2
- data/docs/UsVerificationOrError.md +2 -2
- data/docs/UsVerifications.md +2 -2
- data/docs/UsVerificationsWritable.md +2 -2
- data/lib/openapi_client/models/address.rb +76 -587
- data/lib/openapi_client/models/country_extended_expanded_no_us.rb +254 -0
- data/lib/openapi_client/models/intl_address.rb +624 -0
- data/lib/openapi_client/models/multiple_components.rb +9 -9
- data/lib/openapi_client/models/us_address.rb +644 -0
- data/lib/openapi_client/models/us_verification.rb +12 -12
- data/lib/openapi_client/models/us_verification_or_error.rb +10 -10
- data/lib/openapi_client/models/us_verifications.rb +5 -5
- data/lib/openapi_client/models/us_verifications_writable.rb +10 -10
- data/lib/openapi_client/version.rb +1 -1
- data/lib/openapi_client.rb +1 -1
- metadata +8 -2
@@ -0,0 +1,254 @@
|
|
1
|
+
=begin
|
2
|
+
#Lob
|
3
|
+
|
4
|
+
#The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)?
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.3.0
|
7
|
+
Contact: lob-openapi@lob.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Lob
|
17
|
+
class CountryExtendedExpandedNoUs
|
18
|
+
EMPTY = "".freeze
|
19
|
+
AFGHANISTAN = "AFGHANISTAN".freeze
|
20
|
+
ALBANIA = "ALBANIA".freeze
|
21
|
+
ALGERIA = "ALGERIA".freeze
|
22
|
+
AMERICAN_SAMOA = "AMERICAN SAMOA".freeze
|
23
|
+
ANDORRA = "ANDORRA".freeze
|
24
|
+
ANGOLA = "ANGOLA".freeze
|
25
|
+
ANGUILLA = "ANGUILLA".freeze
|
26
|
+
ANTARCTICA = "ANTARCTICA".freeze
|
27
|
+
ANTIGUA_AND_BARBUDA = "ANTIGUA AND BARBUDA".freeze
|
28
|
+
ARGENTINA = "ARGENTINA".freeze
|
29
|
+
ARUBA = "ARUBA".freeze
|
30
|
+
AUSTRALIA = "AUSTRALIA".freeze
|
31
|
+
AUSTRIA = "AUSTRIA".freeze
|
32
|
+
AZERBAIJAN = "AZERBAIJAN".freeze
|
33
|
+
BAHRAIN = "BAHRAIN".freeze
|
34
|
+
BANGLADESH = "BANGLADESH".freeze
|
35
|
+
BARBADOS = "BARBADOS".freeze
|
36
|
+
BELARUS = "BELARUS".freeze
|
37
|
+
BELGIUM = "BELGIUM".freeze
|
38
|
+
BELIZE = "BELIZE".freeze
|
39
|
+
BENIN = "BENIN".freeze
|
40
|
+
BERMUDA = "BERMUDA".freeze
|
41
|
+
BHUTAN = "BHUTAN".freeze
|
42
|
+
BOLIVIA__PLURINATIONAL_STATE_OF = "BOLIVIA (PLURINATIONAL STATE OF)".freeze
|
43
|
+
BONAIRE_SAINT_EUSTATIUS_AND_SABA = "BONAIRE, SAINT EUSTATIUS AND SABA".freeze
|
44
|
+
BOSNIA_AND_HERZEGOVINA = "BOSNIA AND HERZEGOVINA".freeze
|
45
|
+
BOTSWANA = "BOTSWANA".freeze
|
46
|
+
BRAZIL = "BRAZIL".freeze
|
47
|
+
BRITISH_INDIAN_OCEAN_TERRITORY = "BRITISH INDIAN OCEAN TERRITORY".freeze
|
48
|
+
BRITISH_VIRGIN_ISLANDS = "BRITISH VIRGIN ISLANDS".freeze
|
49
|
+
BRUNEI_DARUSSALAM = "BRUNEI DARUSSALAM".freeze
|
50
|
+
BULGARIA = "BULGARIA".freeze
|
51
|
+
BURKINA_FASO = "BURKINA FASO".freeze
|
52
|
+
BURUNDI = "BURUNDI".freeze
|
53
|
+
CABO_VERDE = "CABO VERDE".freeze
|
54
|
+
CAMBODIA = "CAMBODIA".freeze
|
55
|
+
CAMEROON = "CAMEROON".freeze
|
56
|
+
CANADA = "CANADA".freeze
|
57
|
+
CAYMAN_ISLANDS = "CAYMAN ISLANDS".freeze
|
58
|
+
CENTRAL_AFRICAN_REPUBLIC = "CENTRAL AFRICAN REPUBLIC".freeze
|
59
|
+
CHAD = "CHAD".freeze
|
60
|
+
CHILE = "CHILE".freeze
|
61
|
+
CHINA = "CHINA".freeze
|
62
|
+
COLOMBIA = "COLOMBIA".freeze
|
63
|
+
COMOROS = "COMOROS".freeze
|
64
|
+
CONGO = "CONGO".freeze
|
65
|
+
CONGO_DEMOCRATIC_REPUBLIC_OF_THE = "CONGO, DEMOCRATIC REPUBLIC OF THE".freeze
|
66
|
+
COOK_ISLANDS = "COOK ISLANDS".freeze
|
67
|
+
COSTA_RICA = "COSTA RICA".freeze
|
68
|
+
CTE_DIVOIRE = "CÔTE D`IVOIRE".freeze
|
69
|
+
CROATIA = "CROATIA".freeze
|
70
|
+
CUBA = "CUBA".freeze
|
71
|
+
CURAAO = "CURAÇAO".freeze
|
72
|
+
CYPRUS = "CYPRUS".freeze
|
73
|
+
CZECH_REPUBLIC = "CZECH REPUBLIC".freeze
|
74
|
+
DENMARK = "DENMARK".freeze
|
75
|
+
DJIBOUTI = "DJIBOUTI".freeze
|
76
|
+
DOMINICA = "DOMINICA".freeze
|
77
|
+
DOMINICAN_REPUBLIC = "DOMINICAN REPUBLIC".freeze
|
78
|
+
ECUADOR = "ECUADOR".freeze
|
79
|
+
EGYPT = "EGYPT".freeze
|
80
|
+
EL_SALVADOR = "EL SALVADOR".freeze
|
81
|
+
EQUATORIAL_GUINEA = "EQUATORIAL GUINEA".freeze
|
82
|
+
ERITREA = "ERITREA".freeze
|
83
|
+
ESTONIA = "ESTONIA".freeze
|
84
|
+
ESWATINI = "ESWATINI".freeze
|
85
|
+
ETHIOPIA = "ETHIOPIA".freeze
|
86
|
+
FALKLAND_ISLANDS__MALVINAS = "FALKLAND ISLANDS (MALVINAS)".freeze
|
87
|
+
FAROE_ISLANDS = "FAROE ISLANDS".freeze
|
88
|
+
FIJI = "FIJI".freeze
|
89
|
+
FINLAND = "FINLAND".freeze
|
90
|
+
FRANCE = "FRANCE".freeze
|
91
|
+
GABON = "GABON".freeze
|
92
|
+
GAMBIA = "GAMBIA".freeze
|
93
|
+
GEORGIA = "GEORGIA".freeze
|
94
|
+
GERMANY = "GERMANY".freeze
|
95
|
+
GHANA = "GHANA".freeze
|
96
|
+
GIBRALTAR = "GIBRALTAR".freeze
|
97
|
+
GREECE = "GREECE".freeze
|
98
|
+
GREENLAND = "GREENLAND".freeze
|
99
|
+
GRENADA = "GRENADA".freeze
|
100
|
+
GUATEMALA = "GUATEMALA".freeze
|
101
|
+
GUINEA = "GUINEA".freeze
|
102
|
+
GUINEA_BISSAU = "GUINEA-BISSAU".freeze
|
103
|
+
GUYANA = "GUYANA".freeze
|
104
|
+
HAITI = "HAITI".freeze
|
105
|
+
HOLY_SEE = "HOLY SEE".freeze
|
106
|
+
HONDURAS = "HONDURAS".freeze
|
107
|
+
HONG_KONG = "HONG KONG".freeze
|
108
|
+
HUNGARY = "HUNGARY".freeze
|
109
|
+
ICELAND = "ICELAND".freeze
|
110
|
+
INDIA = "INDIA".freeze
|
111
|
+
INDONESIA = "INDONESIA".freeze
|
112
|
+
IRAN__ISLAMIC_REPUBLIC_OF = "IRAN (ISLAMIC REPUBLIC OF)".freeze
|
113
|
+
IRAQ = "IRAQ".freeze
|
114
|
+
IRELAND = "IRELAND".freeze
|
115
|
+
ISRAEL = "ISRAEL".freeze
|
116
|
+
ITALY = "ITALY".freeze
|
117
|
+
JAMAICA = "JAMAICA".freeze
|
118
|
+
JAPAN = "JAPAN".freeze
|
119
|
+
JORDAN = "JORDAN".freeze
|
120
|
+
KAZAKHSTAN = "KAZAKHSTAN".freeze
|
121
|
+
KENYA = "KENYA".freeze
|
122
|
+
KIRIBATI = "KIRIBATI".freeze
|
123
|
+
KOREA__DEMOCRATIC_PEOPLES_REPUBLIC_OF = "KOREA (DEMOCRATIC PEOPLE’S REPUBLIC OF)".freeze
|
124
|
+
KOREA_REPUBLIC_OF = "KOREA, REPUBLIC OF".freeze
|
125
|
+
KUWAIT = "KUWAIT".freeze
|
126
|
+
KYRGYZSTAN = "KYRGYZSTAN".freeze
|
127
|
+
LAO_PEOPLES_DEMOCRATIC_REPUBLIC = "LAO PEOPLE’S DEMOCRATIC REPUBLIC".freeze
|
128
|
+
LATVIA = "LATVIA".freeze
|
129
|
+
LEBANON = "LEBANON".freeze
|
130
|
+
LESOTHO = "LESOTHO".freeze
|
131
|
+
LIBERIA = "LIBERIA".freeze
|
132
|
+
LIBYA = "LIBYA".freeze
|
133
|
+
LIECHTENSTEIN = "LIECHTENSTEIN".freeze
|
134
|
+
LITHUANIA = "LITHUANIA".freeze
|
135
|
+
LUXEMBOURG = "LUXEMBOURG".freeze
|
136
|
+
MACAO = "MACAO".freeze
|
137
|
+
MACEDONIA = "MACEDONIA".freeze
|
138
|
+
MADAGASCAR = "MADAGASCAR".freeze
|
139
|
+
MALAWI = "MALAWI".freeze
|
140
|
+
MALAYSIA = "MALAYSIA".freeze
|
141
|
+
MALDIVES = "MALDIVES".freeze
|
142
|
+
MALI = "MALI".freeze
|
143
|
+
MALTA = "MALTA".freeze
|
144
|
+
MAURITANIA = "MAURITANIA".freeze
|
145
|
+
MAURITIUS = "MAURITIUS".freeze
|
146
|
+
MEXICO = "MEXICO".freeze
|
147
|
+
MOLDOVA_REPUBLIC_OF = "MOLDOVA, REPUBLIC OF".freeze
|
148
|
+
MONACO = "MONACO".freeze
|
149
|
+
MONGOLIA = "MONGOLIA".freeze
|
150
|
+
MONTENEGRO = "MONTENEGRO".freeze
|
151
|
+
MONTSERRAT = "MONTSERRAT".freeze
|
152
|
+
MOROCCO = "MOROCCO".freeze
|
153
|
+
MOZAMBIQUE = "MOZAMBIQUE".freeze
|
154
|
+
MYANMAR = "MYANMAR".freeze
|
155
|
+
NAMIBIA = "NAMIBIA".freeze
|
156
|
+
NAURU = "NAURU".freeze
|
157
|
+
NEPAL = "NEPAL".freeze
|
158
|
+
NETHERLAND_ANTILLES = "NETHERLAND ANTILLES".freeze
|
159
|
+
NETHERLANDS = "NETHERLANDS".freeze
|
160
|
+
NEW_ZEALAND = "NEW ZEALAND".freeze
|
161
|
+
NICARAGUA = "NICARAGUA".freeze
|
162
|
+
NIGER = "NIGER".freeze
|
163
|
+
NIGERIA = "NIGERIA".freeze
|
164
|
+
NIUE = "NIUE".freeze
|
165
|
+
NORFOLK_ISLAND = "NORFOLK ISLAND".freeze
|
166
|
+
NORWAY = "NORWAY".freeze
|
167
|
+
OMAN = "OMAN".freeze
|
168
|
+
PAKISTAN = "PAKISTAN".freeze
|
169
|
+
PANAMA = "PANAMA".freeze
|
170
|
+
PAPUA_NEW_GUINEA = "PAPUA NEW GUINEA".freeze
|
171
|
+
PARAGUAY = "PARAGUAY".freeze
|
172
|
+
PERU = "PERU".freeze
|
173
|
+
PHILIPPINES = "PHILIPPINES".freeze
|
174
|
+
PITCAIRN = "PITCAIRN".freeze
|
175
|
+
POLAND = "POLAND".freeze
|
176
|
+
PORTUGAL = "PORTUGAL".freeze
|
177
|
+
QATAR = "QATAR".freeze
|
178
|
+
ROMANIA = "ROMANIA".freeze
|
179
|
+
RUSSIAN_FEDERATION = "RUSSIAN FEDERATION".freeze
|
180
|
+
RWANDA = "RWANDA".freeze
|
181
|
+
SAINT_HELENA = "SAINT HELENA".freeze
|
182
|
+
SAINT_KITTS_AND_NEVIS = "SAINT KITTS AND NEVIS".freeze
|
183
|
+
SAINT_LUCIA = "SAINT LUCIA".freeze
|
184
|
+
SAINT_VINCENT_AND_THE_GRENADINES = "SAINT VINCENT AND THE GRENADINES".freeze
|
185
|
+
SAMOA = "SAMOA".freeze
|
186
|
+
SAN_MARINO = "SAN MARINO".freeze
|
187
|
+
SAO_TOME_AND_PRINCIPE = "SAO TOME AND PRINCIPE".freeze
|
188
|
+
SAUDI_ARABIA = "SAUDI ARABIA".freeze
|
189
|
+
SENEGAL = "SENEGAL".freeze
|
190
|
+
SERBIA = "SERBIA".freeze
|
191
|
+
SEYCHELLES = "SEYCHELLES".freeze
|
192
|
+
SIERRA_LEONE = "SIERRA LEONE".freeze
|
193
|
+
SINGAPORE = "SINGAPORE".freeze
|
194
|
+
SINT_MAARTEN = "SINT MAARTEN".freeze
|
195
|
+
SLOVAKIA = "SLOVAKIA".freeze
|
196
|
+
SLOVENIA = "SLOVENIA".freeze
|
197
|
+
SOLOMON_ISLANDS = "SOLOMON ISLANDS".freeze
|
198
|
+
SOMALIA = "SOMALIA".freeze
|
199
|
+
SOUTH_AFRICA = "SOUTH AFRICA".freeze
|
200
|
+
SOUTH_GEORGIA_AND_THE_SOUTH_SANDWICH_ISLANDS = "SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS".freeze
|
201
|
+
SOUTH_SUDAN = "SOUTH SUDAN".freeze
|
202
|
+
SPAIN = "SPAIN".freeze
|
203
|
+
SRI_LANKA = "SRI LANKA".freeze
|
204
|
+
SUDAN = "SUDAN".freeze
|
205
|
+
SURINAME = "SURINAME".freeze
|
206
|
+
SWEDEN = "SWEDEN".freeze
|
207
|
+
SWITZERLAND = "SWITZERLAND".freeze
|
208
|
+
SYRIAN_ARAB_REPUBLIC = "SYRIAN ARAB REPUBLIC".freeze
|
209
|
+
TAIWAN = "TAIWAN".freeze
|
210
|
+
TAJIKISTAN = "TAJIKISTAN".freeze
|
211
|
+
TANZANIA = "TANZANIA".freeze
|
212
|
+
THAILAND = "THAILAND".freeze
|
213
|
+
THE_BAHAMAS = "THE BAHAMAS".freeze
|
214
|
+
TIMOR_LESTE = "TIMOR-LESTE".freeze
|
215
|
+
TOGO = "TOGO".freeze
|
216
|
+
TOKELAU = "TOKELAU".freeze
|
217
|
+
TONGA = "TONGA".freeze
|
218
|
+
TRINIDAD_AND_TOBAGO = "TRINIDAD AND TOBAGO".freeze
|
219
|
+
TUNISIA = "TUNISIA".freeze
|
220
|
+
TURKEY = "TURKEY".freeze
|
221
|
+
TURKMENISTAN = "TURKMENISTAN".freeze
|
222
|
+
TURKS_AND_CAICOS_ISLANDS = "TURKS AND CAICOS ISLANDS".freeze
|
223
|
+
TUVALU = "TUVALU".freeze
|
224
|
+
UGANDA = "UGANDA".freeze
|
225
|
+
UKRAINE = "UKRAINE".freeze
|
226
|
+
UNITED_ARAB_EMIRATES = "UNITED ARAB EMIRATES".freeze
|
227
|
+
UNITED_KINGDOM = "UNITED KINGDOM".freeze
|
228
|
+
URUGUAY = "URUGUAY".freeze
|
229
|
+
UZBEKISTAN = "UZBEKISTAN".freeze
|
230
|
+
VANUATU = "VANUATU".freeze
|
231
|
+
VENEZUELA = "VENEZUELA".freeze
|
232
|
+
VIET_NAM = "VIET NAM".freeze
|
233
|
+
WESTERN_SAHARA = "WESTERN SAHARA".freeze
|
234
|
+
YEMEN = "YEMEN".freeze
|
235
|
+
ZAMBIA = "ZAMBIA".freeze
|
236
|
+
ZIMBABWE = "ZIMBABWE".freeze
|
237
|
+
|
238
|
+
# Builds the enum from string
|
239
|
+
# @param [String] The enum value in the form of the string
|
240
|
+
# @return [String] The enum value
|
241
|
+
def self.build_from_hash(value)
|
242
|
+
new.build_from_hash(value)
|
243
|
+
end
|
244
|
+
|
245
|
+
# Builds the enum from string
|
246
|
+
# @param [String] The enum value in the form of the string
|
247
|
+
# @return [String] The enum value
|
248
|
+
def build_from_hash(value)
|
249
|
+
constantValues = CountryExtendedExpandedNoUs.constants.select { |c| CountryExtendedExpandedNoUs::const_get(c) == value }
|
250
|
+
raise "Invalid ENUM value #{value} for class #CountryExtendedExpandedNoUs" if constantValues.empty?
|
251
|
+
value
|
252
|
+
end
|
253
|
+
end
|
254
|
+
end
|