@wix/atlas 1.0.17 → 1.0.19

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.
@@ -59,23 +59,27 @@ interface GetPlaceRequest$1 {
59
59
  interface GetPlaceResponse$1 {
60
60
  place?: Place$1;
61
61
  }
62
+ interface StreetAddressNonNullableFields$3 {
63
+ number: string;
64
+ name: string;
65
+ apt: string;
66
+ }
67
+ interface SubdivisionNonNullableFields$1 {
68
+ code: string;
69
+ name: string;
70
+ type: SubdivisionType$1;
71
+ }
72
+ interface AddressNonNullableFields$3 {
73
+ streetAddress?: StreetAddressNonNullableFields$3;
74
+ subdivisions: SubdivisionNonNullableFields$1[];
75
+ }
76
+ interface PlaceNonNullableFields$1 {
77
+ placeId: string;
78
+ address?: AddressNonNullableFields$3;
79
+ types: string[];
80
+ }
62
81
  interface GetPlaceResponseNonNullableFields$1 {
63
- place?: {
64
- placeId: string;
65
- address?: {
66
- streetAddress?: {
67
- number: string;
68
- name: string;
69
- apt: string;
70
- };
71
- subdivisions: {
72
- code: string;
73
- name: string;
74
- type: SubdivisionType$1;
75
- }[];
76
- };
77
- types: string[];
78
- };
82
+ place?: PlaceNonNullableFields$1;
79
83
  }
80
84
 
81
85
  interface Place {
@@ -124,11 +128,21 @@ interface GetPlaceRequest {
124
128
  interface GetPlaceResponse {
125
129
  place?: Place;
126
130
  }
131
+ interface StreetAddressNonNullableFields$2 {
132
+ number: string;
133
+ name: string;
134
+ apt: string;
135
+ }
136
+ interface AddressNonNullableFields$2 {
137
+ streetAddress?: StreetAddressNonNullableFields$2;
138
+ }
139
+ interface PlaceNonNullableFields {
140
+ placeId: string;
141
+ address?: AddressNonNullableFields$2;
142
+ types: string[];
143
+ }
127
144
  interface GetPlaceResponseNonNullableFields {
128
- place?: {
129
- placeId: string;
130
- types: string[];
131
- };
145
+ place?: PlaceNonNullableFields;
132
146
  }
133
147
 
134
148
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -195,23 +209,23 @@ interface PredictRequest$1 {
195
209
  interface PredictResponse$1 {
196
210
  predictions?: Prediction$1[];
197
211
  }
212
+ interface MatchedSubstringsNonNullableFields$1 {
213
+ length: number;
214
+ offset: number;
215
+ }
216
+ interface TextStructureNonNullableFields$1 {
217
+ mainText: string;
218
+ secondaryText: string;
219
+ mainTextMatchedSubstrings: MatchedSubstringsNonNullableFields$1[];
220
+ }
221
+ interface PredictionNonNullableFields$1 {
222
+ description: string;
223
+ searchId: string;
224
+ matchedSubstrings: MatchedSubstringsNonNullableFields$1[];
225
+ textStructure?: TextStructureNonNullableFields$1;
226
+ }
198
227
  interface PredictResponseNonNullableFields$1 {
199
- predictions: {
200
- description: string;
201
- searchId: string;
202
- matchedSubstrings: {
203
- length: number;
204
- offset: number;
205
- }[];
206
- textStructure?: {
207
- mainText: string;
208
- secondaryText: string;
209
- mainTextMatchedSubstrings: {
210
- length: number;
211
- offset: number;
212
- }[];
213
- };
214
- }[];
228
+ predictions: PredictionNonNullableFields$1[];
215
229
  }
216
230
 
217
231
  interface Prediction {
@@ -261,23 +275,23 @@ interface PredictRequest {
261
275
  interface PredictResponse {
262
276
  predictions?: Prediction[];
263
277
  }
278
+ interface MatchedSubstringsNonNullableFields {
279
+ length: number;
280
+ offset: number;
281
+ }
282
+ interface TextStructureNonNullableFields {
283
+ mainText: string;
284
+ secondaryText: string;
285
+ mainTextMatchedSubstrings: MatchedSubstringsNonNullableFields[];
286
+ }
287
+ interface PredictionNonNullableFields {
288
+ description: string;
289
+ searchId: string;
290
+ matchedSubstrings: MatchedSubstringsNonNullableFields[];
291
+ textStructure?: TextStructureNonNullableFields;
292
+ }
264
293
  interface PredictResponseNonNullableFields {
265
- predictions: {
266
- description: string;
267
- searchId: string;
268
- matchedSubstrings: {
269
- length: number;
270
- offset: number;
271
- }[];
272
- textStructure?: {
273
- mainText: string;
274
- secondaryText: string;
275
- mainTextMatchedSubstrings: {
276
- length: number;
277
- offset: number;
278
- }[];
279
- };
280
- }[];
294
+ predictions: PredictionNonNullableFields[];
281
295
  }
282
296
 
283
297
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -387,22 +401,26 @@ interface SearchResponse$1 {
387
401
  /** List of 'Address' objects */
388
402
  searchResults?: SearchResult$1[];
389
403
  }
404
+ interface StreetAddressNonNullableFields$1 {
405
+ number: string;
406
+ name: string;
407
+ apt: string;
408
+ }
409
+ interface SubdivisionNonNullableFields {
410
+ code: string;
411
+ name: string;
412
+ type: SubdivisionType;
413
+ }
414
+ interface AddressNonNullableFields$1 {
415
+ streetAddress?: StreetAddressNonNullableFields$1;
416
+ subdivisions: SubdivisionNonNullableFields[];
417
+ }
418
+ interface SearchResultNonNullableFields$1 {
419
+ address?: AddressNonNullableFields$1;
420
+ proximity: Proximity$1;
421
+ }
390
422
  interface SearchResponseNonNullableFields$1 {
391
- searchResults: {
392
- address?: {
393
- streetAddress?: {
394
- number: string;
395
- name: string;
396
- apt: string;
397
- };
398
- subdivisions: {
399
- code: string;
400
- name: string;
401
- type: SubdivisionType;
402
- }[];
403
- };
404
- proximity: Proximity$1;
405
- }[];
423
+ searchResults: SearchResultNonNullableFields$1[];
406
424
  }
407
425
 
408
426
  interface SearchResult {
@@ -480,10 +498,20 @@ interface SearchResponse {
480
498
  /** List of 'Address' objects */
481
499
  searchResults?: SearchResult[];
482
500
  }
501
+ interface StreetAddressNonNullableFields {
502
+ number: string;
503
+ name: string;
504
+ apt: string;
505
+ }
506
+ interface AddressNonNullableFields {
507
+ streetAddress?: StreetAddressNonNullableFields;
508
+ }
509
+ interface SearchResultNonNullableFields {
510
+ address?: AddressNonNullableFields;
511
+ proximity: Proximity;
512
+ }
483
513
  interface SearchResponseNonNullableFields {
484
- searchResults: {
485
- proximity: Proximity;
486
- }[];
514
+ searchResults: SearchResultNonNullableFields[];
487
515
  }
488
516
 
489
517
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {