1 package visualsearch
2
3
4
5
6
7
8
9
10 type Currency string
11
12 const (
13
14 AED Currency = "AED"
15
16 AFN Currency = "AFN"
17
18 ALL Currency = "ALL"
19
20 AMD Currency = "AMD"
21
22 ANG Currency = "ANG"
23
24 AOA Currency = "AOA"
25
26 ARS Currency = "ARS"
27
28 AUD Currency = "AUD"
29
30 AWG Currency = "AWG"
31
32 AZN Currency = "AZN"
33
34 BAM Currency = "BAM"
35
36 BBD Currency = "BBD"
37
38 BDT Currency = "BDT"
39
40 BGN Currency = "BGN"
41
42 BHD Currency = "BHD"
43
44 BIF Currency = "BIF"
45
46 BMD Currency = "BMD"
47
48 BND Currency = "BND"
49
50 BOB Currency = "BOB"
51
52 BOV Currency = "BOV"
53
54 BRL Currency = "BRL"
55
56 BSD Currency = "BSD"
57
58 BTN Currency = "BTN"
59
60 BWP Currency = "BWP"
61
62 BYR Currency = "BYR"
63
64 BZD Currency = "BZD"
65
66 CAD Currency = "CAD"
67
68 CDF Currency = "CDF"
69
70 CHE Currency = "CHE"
71
72 CHF Currency = "CHF"
73
74 CHW Currency = "CHW"
75
76 CLF Currency = "CLF"
77
78 CLP Currency = "CLP"
79
80 CNY Currency = "CNY"
81
82 COP Currency = "COP"
83
84 COU Currency = "COU"
85
86 CRC Currency = "CRC"
87
88 CUC Currency = "CUC"
89
90 CUP Currency = "CUP"
91
92 CVE Currency = "CVE"
93
94 CZK Currency = "CZK"
95
96 DJF Currency = "DJF"
97
98 DKK Currency = "DKK"
99
100 DOP Currency = "DOP"
101
102 DZD Currency = "DZD"
103
104 EGP Currency = "EGP"
105
106 ERN Currency = "ERN"
107
108 ETB Currency = "ETB"
109
110 EUR Currency = "EUR"
111
112 FJD Currency = "FJD"
113
114 FKP Currency = "FKP"
115
116 GBP Currency = "GBP"
117
118 GEL Currency = "GEL"
119
120 GHS Currency = "GHS"
121
122 GIP Currency = "GIP"
123
124 GMD Currency = "GMD"
125
126 GNF Currency = "GNF"
127
128 GTQ Currency = "GTQ"
129
130 GYD Currency = "GYD"
131
132 HKD Currency = "HKD"
133
134 HNL Currency = "HNL"
135
136 HRK Currency = "HRK"
137
138 HTG Currency = "HTG"
139
140 HUF Currency = "HUF"
141
142 IDR Currency = "IDR"
143
144 ILS Currency = "ILS"
145
146 INR Currency = "INR"
147
148 IQD Currency = "IQD"
149
150 IRR Currency = "IRR"
151
152 ISK Currency = "ISK"
153
154 JMD Currency = "JMD"
155
156 JOD Currency = "JOD"
157
158 JPY Currency = "JPY"
159
160 KES Currency = "KES"
161
162 KGS Currency = "KGS"
163
164 KHR Currency = "KHR"
165
166 KMF Currency = "KMF"
167
168 KPW Currency = "KPW"
169
170 KRW Currency = "KRW"
171
172 KWD Currency = "KWD"
173
174 KYD Currency = "KYD"
175
176 KZT Currency = "KZT"
177
178 LAK Currency = "LAK"
179
180 LBP Currency = "LBP"
181
182 LKR Currency = "LKR"
183
184 LRD Currency = "LRD"
185
186 LSL Currency = "LSL"
187
188 LYD Currency = "LYD"
189
190 MAD Currency = "MAD"
191
192 MDL Currency = "MDL"
193
194 MGA Currency = "MGA"
195
196 MKD Currency = "MKD"
197
198 MMK Currency = "MMK"
199
200 MNT Currency = "MNT"
201
202 MOP Currency = "MOP"
203
204 MRO Currency = "MRO"
205
206 MUR Currency = "MUR"
207
208 MVR Currency = "MVR"
209
210 MWK Currency = "MWK"
211
212 MXN Currency = "MXN"
213
214 MXV Currency = "MXV"
215
216 MYR Currency = "MYR"
217
218 MZN Currency = "MZN"
219
220 NAD Currency = "NAD"
221
222 NGN Currency = "NGN"
223
224 NIO Currency = "NIO"
225
226 NOK Currency = "NOK"
227
228 NPR Currency = "NPR"
229
230 NZD Currency = "NZD"
231
232 OMR Currency = "OMR"
233
234 PAB Currency = "PAB"
235
236 PEN Currency = "PEN"
237
238 PGK Currency = "PGK"
239
240 PHP Currency = "PHP"
241
242 PKR Currency = "PKR"
243
244 PLN Currency = "PLN"
245
246 PYG Currency = "PYG"
247
248 QAR Currency = "QAR"
249
250 RON Currency = "RON"
251
252 RSD Currency = "RSD"
253
254 RUB Currency = "RUB"
255
256 RWF Currency = "RWF"
257
258 SAR Currency = "SAR"
259
260 SBD Currency = "SBD"
261
262 SCR Currency = "SCR"
263
264 SDG Currency = "SDG"
265
266 SEK Currency = "SEK"
267
268 SGD Currency = "SGD"
269
270 SHP Currency = "SHP"
271
272 SLL Currency = "SLL"
273
274 SOS Currency = "SOS"
275
276 SRD Currency = "SRD"
277
278 SSP Currency = "SSP"
279
280 STD Currency = "STD"
281
282 SYP Currency = "SYP"
283
284 SZL Currency = "SZL"
285
286 THB Currency = "THB"
287
288 TJS Currency = "TJS"
289
290 TMT Currency = "TMT"
291
292 TND Currency = "TND"
293
294 TOP Currency = "TOP"
295
296 TRY Currency = "TRY"
297
298 TTD Currency = "TTD"
299
300 TWD Currency = "TWD"
301
302 TZS Currency = "TZS"
303
304 UAH Currency = "UAH"
305
306 UGX Currency = "UGX"
307
308 USD Currency = "USD"
309
310 UYU Currency = "UYU"
311
312 UZS Currency = "UZS"
313
314 VEF Currency = "VEF"
315
316 VND Currency = "VND"
317
318 VUV Currency = "VUV"
319
320 WST Currency = "WST"
321
322 XAF Currency = "XAF"
323
324 XCD Currency = "XCD"
325
326 XOF Currency = "XOF"
327
328 XPF Currency = "XPF"
329
330 YER Currency = "YER"
331
332 ZAR Currency = "ZAR"
333
334 ZMW Currency = "ZMW"
335 )
336
337
338 func PossibleCurrencyValues() []Currency {
339 return []Currency{AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYR, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW}
340 }
341
342
343 type ErrorCode string
344
345 const (
346
347 InsufficientAuthorization ErrorCode = "InsufficientAuthorization"
348
349 InvalidAuthorization ErrorCode = "InvalidAuthorization"
350
351 InvalidRequest ErrorCode = "InvalidRequest"
352
353 None ErrorCode = "None"
354
355 RateLimitExceeded ErrorCode = "RateLimitExceeded"
356
357 ServerError ErrorCode = "ServerError"
358 )
359
360
361 func PossibleErrorCodeValues() []ErrorCode {
362 return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError}
363 }
364
365
366 type ErrorSubCode string
367
368 const (
369
370 AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled"
371
372 AuthorizationExpired ErrorSubCode = "AuthorizationExpired"
373
374 AuthorizationMissing ErrorSubCode = "AuthorizationMissing"
375
376 AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy"
377
378 Blocked ErrorSubCode = "Blocked"
379
380 HTTPNotAllowed ErrorSubCode = "HttpNotAllowed"
381
382 NotImplemented ErrorSubCode = "NotImplemented"
383
384 ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue"
385
386 ParameterMissing ErrorSubCode = "ParameterMissing"
387
388 ResourceError ErrorSubCode = "ResourceError"
389
390 UnexpectedError ErrorSubCode = "UnexpectedError"
391 )
392
393
394 func PossibleErrorSubCodeValues() []ErrorSubCode {
395 return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError}
396 }
397
398
399 type ItemAvailability string
400
401 const (
402
403 Discontinued ItemAvailability = "Discontinued"
404
405 InStock ItemAvailability = "InStock"
406
407 InStoreOnly ItemAvailability = "InStoreOnly"
408
409 LimitedAvailability ItemAvailability = "LimitedAvailability"
410
411 OnlineOnly ItemAvailability = "OnlineOnly"
412
413 OutOfStock ItemAvailability = "OutOfStock"
414
415 PreOrder ItemAvailability = "PreOrder"
416
417 SoldOut ItemAvailability = "SoldOut"
418 )
419
420
421 func PossibleItemAvailabilityValues() []ItemAvailability {
422 return []ItemAvailability{Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut}
423 }
424
425
426 type SafeSearch string
427
428 const (
429
430 Moderate SafeSearch = "Moderate"
431
432 Off SafeSearch = "Off"
433
434 Strict SafeSearch = "Strict"
435 )
436
437
438 func PossibleSafeSearchValues() []SafeSearch {
439 return []SafeSearch{Moderate, Off, Strict}
440 }
441
442
443 type Type string
444
445 const (
446
447 TypeAction Type = "Action"
448
449 TypeAggregateOffer Type = "AggregateOffer"
450
451 TypeCreativeWork Type = "CreativeWork"
452
453 TypeErrorResponse Type = "ErrorResponse"
454
455 TypeIdentifiable Type = "Identifiable"
456
457 TypeImageAction Type = "ImageAction"
458
459 TypeImageEntityAction Type = "ImageEntityAction"
460
461 TypeImageKnowledge Type = "ImageKnowledge"
462
463 TypeImageModuleAction Type = "ImageModuleAction"
464
465 TypeImageObject Type = "ImageObject"
466
467 TypeImageRecipesAction Type = "ImageRecipesAction"
468
469 TypeImageRelatedSearchesAction Type = "ImageRelatedSearchesAction"
470
471 TypeImageShoppingSourcesAction Type = "ImageShoppingSourcesAction"
472
473 TypeImageTag Type = "ImageTag"
474
475 TypeIntangible Type = "Intangible"
476
477 TypeMediaObject Type = "MediaObject"
478
479 TypeNormalizedQuadrilateral Type = "NormalizedQuadrilateral"
480
481 TypeOffer Type = "Offer"
482
483 TypeOrganization Type = "Organization"
484
485 TypePerson Type = "Person"
486
487 TypePoint2D Type = "Point2D"
488
489 TypeRecipe Type = "Recipe"
490
491 TypeResponse Type = "Response"
492
493 TypeResponseBase Type = "ResponseBase"
494
495 TypeStructuredValue Type = "StructuredValue"
496
497 TypeThing Type = "Thing"
498 )
499
500
501 func PossibleTypeValues() []Type {
502 return []Type{TypeAction, TypeAggregateOffer, TypeCreativeWork, TypeErrorResponse, TypeIdentifiable, TypeImageAction, TypeImageEntityAction, TypeImageKnowledge, TypeImageModuleAction, TypeImageObject, TypeImageRecipesAction, TypeImageRelatedSearchesAction, TypeImageShoppingSourcesAction, TypeImageTag, TypeIntangible, TypeMediaObject, TypeNormalizedQuadrilateral, TypeOffer, TypeOrganization, TypePerson, TypePoint2D, TypeRecipe, TypeResponse, TypeResponseBase, TypeStructuredValue, TypeThing}
503 }
504
505
506 type TypeBasicPropertiesItem string
507
508 const (
509
510 TypeAggregateRating TypeBasicPropertiesItem = "AggregateRating"
511
512 TypePropertiesItem TypeBasicPropertiesItem = "Properties/Item"
513
514 TypeRating TypeBasicPropertiesItem = "Rating"
515 )
516
517
518 func PossibleTypeBasicPropertiesItemValues() []TypeBasicPropertiesItem {
519 return []TypeBasicPropertiesItem{TypeAggregateRating, TypePropertiesItem, TypeRating}
520 }
521
View as plain text