@wix/auto_sdk_atlas_location 1.0.1 → 1.0.3

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 (123) hide show
  1. package/build/cjs/index.d.ts +18 -1
  2. package/build/cjs/index.js +262 -15
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +148 -1
  5. package/build/cjs/index.typings.js +249 -15
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +99 -1
  8. package/build/cjs/meta.js +193 -15
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +18 -0
  11. package/build/es/index.mjs +238 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/{internal/cjs/src/atlas-v2-search-result-location.universal.d.ts → es/index.typings.d.mts} +27 -35
  14. package/build/es/index.typings.mjs +225 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/{internal/cjs/src/atlas-v2-search-result-location.types.d.ts → es/meta.d.mts} +32 -45
  17. package/build/es/meta.mjs +169 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/internal/cjs/index.d.ts +18 -1
  20. package/build/internal/cjs/index.js +262 -15
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +148 -1
  23. package/build/internal/cjs/index.typings.js +249 -15
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +99 -1
  26. package/build/internal/cjs/meta.js +193 -15
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +18 -0
  29. package/build/internal/es/index.mjs +238 -0
  30. package/build/internal/es/index.mjs.map +1 -0
  31. package/build/internal/es/{src/atlas-v2-search-result-location.universal.d.ts → index.typings.d.mts} +27 -35
  32. package/build/internal/es/index.typings.mjs +225 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/{es/src/atlas-v2-search-result-location.types.d.ts → internal/es/meta.d.mts} +32 -45
  35. package/build/internal/es/meta.mjs +169 -0
  36. package/build/internal/es/meta.mjs.map +1 -0
  37. package/package.json +11 -10
  38. package/build/cjs/src/atlas-v2-search-result-location.context.d.ts +0 -5
  39. package/build/cjs/src/atlas-v2-search-result-location.context.js +0 -11
  40. package/build/cjs/src/atlas-v2-search-result-location.context.js.map +0 -1
  41. package/build/cjs/src/atlas-v2-search-result-location.http.d.ts +0 -3
  42. package/build/cjs/src/atlas-v2-search-result-location.http.js +0 -144
  43. package/build/cjs/src/atlas-v2-search-result-location.http.js.map +0 -1
  44. package/build/cjs/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  45. package/build/cjs/src/atlas-v2-search-result-location.meta.js +0 -47
  46. package/build/cjs/src/atlas-v2-search-result-location.meta.js.map +0 -1
  47. package/build/cjs/src/atlas-v2-search-result-location.public.d.ts +0 -13
  48. package/build/cjs/src/atlas-v2-search-result-location.public.js +0 -16
  49. package/build/cjs/src/atlas-v2-search-result-location.public.js.map +0 -1
  50. package/build/cjs/src/atlas-v2-search-result-location.types.d.ts +0 -112
  51. package/build/cjs/src/atlas-v2-search-result-location.types.js +0 -37
  52. package/build/cjs/src/atlas-v2-search-result-location.types.js.map +0 -1
  53. package/build/cjs/src/atlas-v2-search-result-location.universal.d.ts +0 -156
  54. package/build/cjs/src/atlas-v2-search-result-location.universal.js +0 -127
  55. package/build/cjs/src/atlas-v2-search-result-location.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/src/atlas-v2-search-result-location.context.d.ts +0 -5
  66. package/build/es/src/atlas-v2-search-result-location.context.js +0 -5
  67. package/build/es/src/atlas-v2-search-result-location.context.js.map +0 -1
  68. package/build/es/src/atlas-v2-search-result-location.http.d.ts +0 -3
  69. package/build/es/src/atlas-v2-search-result-location.http.js +0 -140
  70. package/build/es/src/atlas-v2-search-result-location.http.js.map +0 -1
  71. package/build/es/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  72. package/build/es/src/atlas-v2-search-result-location.meta.js +0 -20
  73. package/build/es/src/atlas-v2-search-result-location.meta.js.map +0 -1
  74. package/build/es/src/atlas-v2-search-result-location.public.d.ts +0 -13
  75. package/build/es/src/atlas-v2-search-result-location.public.js +0 -9
  76. package/build/es/src/atlas-v2-search-result-location.public.js.map +0 -1
  77. package/build/es/src/atlas-v2-search-result-location.types.js +0 -34
  78. package/build/es/src/atlas-v2-search-result-location.types.js.map +0 -1
  79. package/build/es/src/atlas-v2-search-result-location.universal.d.ts +0 -156
  80. package/build/es/src/atlas-v2-search-result-location.universal.js +0 -100
  81. package/build/es/src/atlas-v2-search-result-location.universal.js.map +0 -1
  82. package/build/internal/cjs/src/atlas-v2-search-result-location.context.d.ts +0 -5
  83. package/build/internal/cjs/src/atlas-v2-search-result-location.context.js +0 -11
  84. package/build/internal/cjs/src/atlas-v2-search-result-location.context.js.map +0 -1
  85. package/build/internal/cjs/src/atlas-v2-search-result-location.http.d.ts +0 -3
  86. package/build/internal/cjs/src/atlas-v2-search-result-location.http.js +0 -144
  87. package/build/internal/cjs/src/atlas-v2-search-result-location.http.js.map +0 -1
  88. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  89. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.js +0 -47
  90. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.js.map +0 -1
  91. package/build/internal/cjs/src/atlas-v2-search-result-location.public.d.ts +0 -13
  92. package/build/internal/cjs/src/atlas-v2-search-result-location.public.js +0 -16
  93. package/build/internal/cjs/src/atlas-v2-search-result-location.public.js.map +0 -1
  94. package/build/internal/cjs/src/atlas-v2-search-result-location.types.js +0 -37
  95. package/build/internal/cjs/src/atlas-v2-search-result-location.types.js.map +0 -1
  96. package/build/internal/cjs/src/atlas-v2-search-result-location.universal.js +0 -127
  97. package/build/internal/cjs/src/atlas-v2-search-result-location.universal.js.map +0 -1
  98. package/build/internal/es/index.d.ts +0 -1
  99. package/build/internal/es/index.js +0 -2
  100. package/build/internal/es/index.js.map +0 -1
  101. package/build/internal/es/index.typings.d.ts +0 -1
  102. package/build/internal/es/index.typings.js +0 -2
  103. package/build/internal/es/index.typings.js.map +0 -1
  104. package/build/internal/es/meta.d.ts +0 -1
  105. package/build/internal/es/meta.js +0 -2
  106. package/build/internal/es/meta.js.map +0 -1
  107. package/build/internal/es/src/atlas-v2-search-result-location.context.d.ts +0 -5
  108. package/build/internal/es/src/atlas-v2-search-result-location.context.js +0 -5
  109. package/build/internal/es/src/atlas-v2-search-result-location.context.js.map +0 -1
  110. package/build/internal/es/src/atlas-v2-search-result-location.http.d.ts +0 -3
  111. package/build/internal/es/src/atlas-v2-search-result-location.http.js +0 -140
  112. package/build/internal/es/src/atlas-v2-search-result-location.http.js.map +0 -1
  113. package/build/internal/es/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  114. package/build/internal/es/src/atlas-v2-search-result-location.meta.js +0 -20
  115. package/build/internal/es/src/atlas-v2-search-result-location.meta.js.map +0 -1
  116. package/build/internal/es/src/atlas-v2-search-result-location.public.d.ts +0 -13
  117. package/build/internal/es/src/atlas-v2-search-result-location.public.js +0 -9
  118. package/build/internal/es/src/atlas-v2-search-result-location.public.js.map +0 -1
  119. package/build/internal/es/src/atlas-v2-search-result-location.types.d.ts +0 -112
  120. package/build/internal/es/src/atlas-v2-search-result-location.types.js +0 -34
  121. package/build/internal/es/src/atlas-v2-search-result-location.types.js.map +0 -1
  122. package/build/internal/es/src/atlas-v2-search-result-location.universal.js +0 -100
  123. package/build/internal/es/src/atlas-v2-search-result-location.universal.js.map +0 -1
@@ -1,156 +0,0 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
- export interface SearchResult {
3
- /** The Address object */
4
- address?: Address;
5
- /** stores additional data about the proximity to the specified location */
6
- proximity?: Proximity;
7
- }
8
- /** Physical address */
9
- export interface Address extends AddressStreetOneOf {
10
- /** Street name and number. */
11
- streetAddress?: StreetAddress;
12
- /** Main address line, usually street and number as free text. */
13
- addressLine1?: string | null;
14
- /**
15
- * Country code.
16
- * @format COUNTRY
17
- */
18
- country?: string | null;
19
- /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
20
- subdivision?: string | null;
21
- /** City name. */
22
- city?: string | null;
23
- /** Zip/postal code. */
24
- postalCode?: string | null;
25
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
26
- addressLine2?: string | null;
27
- }
28
- /** @oneof */
29
- export interface AddressStreetOneOf {
30
- /** Street name and number. */
31
- streetAddress?: StreetAddress;
32
- /** Main address line, usually street and number as free text. */
33
- addressLine?: string | null;
34
- }
35
- export interface StreetAddress {
36
- /** Street number. */
37
- number?: string;
38
- /** Street name. */
39
- name?: string;
40
- }
41
- export interface AddressLocation {
42
- /** Address latitude. */
43
- latitude?: number | null;
44
- /** Address longitude. */
45
- longitude?: number | null;
46
- }
47
- export interface Subdivision {
48
- /** Short subdivision code. */
49
- code?: string;
50
- /** Subdivision full name. */
51
- name?: string;
52
- }
53
- export declare enum SubdivisionType {
54
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
55
- /** State */
56
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
57
- /** County */
58
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
59
- /** City/town */
60
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
61
- /** Neighborhood/quarter */
62
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
63
- /** Street/block */
64
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
65
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
66
- COUNTRY = "COUNTRY"
67
- }
68
- export declare enum Proximity {
69
- UNKNOWN_PROXIMITY = "UNKNOWN_PROXIMITY",
70
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
71
- PINPOINT = "PINPOINT",
72
- /** indicates that the returned result is the geometric center of a result */
73
- APPROXIMATE = "APPROXIMATE",
74
- /** indicates that the returned result is around an area */
75
- GENERAL_AREA = "GENERAL_AREA"
76
- }
77
- /** User must provide query or filter by parameters */
78
- export interface SearchRequest {
79
- /** Free text */
80
- query?: string | null;
81
- /**
82
- * Deprecate! - Please use 'zipCode' and 'countryCodes' fields
83
- * @deprecated
84
- */
85
- filterBy?: FilterBy[];
86
- /** Zip code filter the user can add in order to get more accurate results */
87
- zipCode?: string | null;
88
- /** Country codes filter the user can add in order to get more accurate results */
89
- countryCodes?: string[];
90
- }
91
- export interface FilterBy {
92
- /** One of the filter types enum */
93
- filterType?: FilterType;
94
- /** Free text like "us" */
95
- filterValue?: string;
96
- }
97
- export declare enum FilterType {
98
- /** Filter by zip code */
99
- zip_code = "zip_code",
100
- /** Filter by 2-letters or 3-letters country code */
101
- country_code = "country_code"
102
- }
103
- export interface SearchResponse {
104
- /** List of 'Address' objects */
105
- searchResults?: SearchResult[];
106
- }
107
- export interface ReverseGeocodingRequest {
108
- /** The latitude and longitude values specifying the location for which you wish to obtain the closest, human-readable address. */
109
- addressLocation?: AddressLocation;
110
- }
111
- export interface ReverseGeocodingResponse {
112
- searchResults?: SearchResult[];
113
- }
114
- type SearchResultNonNullablePaths = `address.streetAddress.number` | `address.streetAddress.name` | `proximity`;
115
- /**
116
- * A Search request takes a free text as an input and returns a list of 'Address' objects.
117
- * @public
118
- * @documentationMaturity preview
119
- * @permissionId WIX_ATLAS.SEARCH
120
- * @permissionScope Manage Stores
121
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
122
- * @permissionScope Manage Bookings Services and Settings
123
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
124
- * @permissionScope Manage Events
125
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
126
- * @permissionScope Manage Challenges
127
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
128
- * @permissionScope Manage Portfolio
129
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
130
- * @permissionScope Access Verticals by Automations
131
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
132
- * @permissionScope Manage Restaurants - all permissions
133
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
134
- * @permissionScope Set Up Automations
135
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
136
- * @applicableIdentity APP
137
- * @applicableIdentity VISITOR
138
- * @fqn com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search
139
- */
140
- export declare function search(options?: SearchOptions): Promise<NonNullablePaths<SearchResponse, {
141
- [P in SearchResultNonNullablePaths]: `searchResults.${number}.${P}`;
142
- }[SearchResultNonNullablePaths]>>;
143
- export interface SearchOptions {
144
- /** Free text */
145
- query?: string | null;
146
- /**
147
- * Deprecate! - Please use 'zipCode' and 'countryCodes' fields
148
- * @deprecated
149
- */
150
- filterBy?: FilterBy[];
151
- /** Zip code filter the user can add in order to get more accurate results */
152
- zipCode?: string | null;
153
- /** Country codes filter the user can add in order to get more accurate results */
154
- countryCodes?: string[];
155
- }
156
- export {};
@@ -1,100 +0,0 @@
1
- import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
2
- import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
3
- import * as ambassadorWixAtlasV2SearchResult from './atlas-v2-search-result-location.http.js';
4
- import { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';
5
- import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
6
- export var SubdivisionType;
7
- (function (SubdivisionType) {
8
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
9
- /** State */
10
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
11
- /** County */
12
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
13
- /** City/town */
14
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
15
- /** Neighborhood/quarter */
16
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
17
- /** Street/block */
18
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
19
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
20
- SubdivisionType["COUNTRY"] = "COUNTRY";
21
- })(SubdivisionType || (SubdivisionType = {}));
22
- export var Proximity;
23
- (function (Proximity) {
24
- Proximity["UNKNOWN_PROXIMITY"] = "UNKNOWN_PROXIMITY";
25
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
26
- Proximity["PINPOINT"] = "PINPOINT";
27
- /** indicates that the returned result is the geometric center of a result */
28
- Proximity["APPROXIMATE"] = "APPROXIMATE";
29
- /** indicates that the returned result is around an area */
30
- Proximity["GENERAL_AREA"] = "GENERAL_AREA";
31
- })(Proximity || (Proximity = {}));
32
- export var FilterType;
33
- (function (FilterType) {
34
- /** Filter by zip code */
35
- FilterType["zip_code"] = "zip_code";
36
- /** Filter by 2-letters or 3-letters country code */
37
- FilterType["country_code"] = "country_code";
38
- })(FilterType || (FilterType = {}));
39
- /**
40
- * A Search request takes a free text as an input and returns a list of 'Address' objects.
41
- * @public
42
- * @documentationMaturity preview
43
- * @permissionId WIX_ATLAS.SEARCH
44
- * @permissionScope Manage Stores
45
- * @permissionScopeId SCOPE.STORES.MANAGE-STORES
46
- * @permissionScope Manage Bookings Services and Settings
47
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
48
- * @permissionScope Manage Events
49
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
50
- * @permissionScope Manage Challenges
51
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
52
- * @permissionScope Manage Portfolio
53
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
54
- * @permissionScope Access Verticals by Automations
55
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
56
- * @permissionScope Manage Restaurants - all permissions
57
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
58
- * @permissionScope Set Up Automations
59
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
60
- * @applicableIdentity APP
61
- * @applicableIdentity VISITOR
62
- * @fqn com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search
63
- */
64
- export async function search(options) {
65
- // @ts-ignore
66
- const { httpClient, sideEffects } = arguments[1];
67
- const payload = renameKeysFromSDKRequestToRESTRequest({
68
- query: options?.query,
69
- filterBy: options?.filterBy,
70
- zipCode: options?.zipCode,
71
- countryCodes: options?.countryCodes,
72
- });
73
- const reqOpts = ambassadorWixAtlasV2SearchResult.search(payload);
74
- sideEffects?.onSiteCall?.();
75
- try {
76
- const result = await httpClient.request(reqOpts);
77
- sideEffects?.onSuccess?.(result);
78
- return renameKeysFromRESTResponseToSDKResponse(transformPaths(result.data, [
79
- {
80
- transformFn: transformRESTAddressToSDKAddress,
81
- paths: [{ path: 'searchResults.address' }],
82
- },
83
- ]));
84
- }
85
- catch (err) {
86
- const transformedError = sdkTransformError(err, {
87
- spreadPathsToArguments: {},
88
- explicitPathsToArguments: {
89
- query: '$[0].query',
90
- filterBy: '$[0].filterBy',
91
- zipCode: '$[0].zipCode',
92
- countryCodes: '$[0].countryCodes',
93
- },
94
- singleArgumentUnchanged: false,
95
- }, ['options']);
96
- sideEffects?.onError?.(err);
97
- throw transformedError;
98
- }
99
- }
100
- //# sourceMappingURL=atlas-v2-search-result-location.universal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.universal.js","sourceRoot":"","sources":["../../../src/atlas-v2-search-result-location.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,gCAAgC,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AA2DlF,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAED,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,+IAA+I;IAC/I,kCAAqB,CAAA;IACrB,6EAA6E;IAC7E,wCAA2B,CAAA;IAC3B,2DAA2D;IAC3D,0CAA6B,CAAA;AAC/B,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAwBD,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yBAAyB;IACzB,mCAAqB,CAAA;IACrB,oDAAoD;IACpD,2CAA6B,CAAA;AAC/B,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAqBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,KAAK,UAAU,MAAM,CAC1B,OAAuB;IASvB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,KAAK,EAAE,OAAO,EAAE,KAAK;QACrB,QAAQ,EAAE,OAAO,EAAE,QAAQ;QAC3B,OAAO,EAAE,OAAO,EAAE,OAAO;QACzB,YAAY,EAAE,OAAO,EAAE,YAAY;KACpC,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,gCAAgC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAEjE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAC5C,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,gCAAgC;gBAC7C,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;aAC3C;SACF,CAAC,CACF,CAAC;IACL,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,KAAK,EAAE,YAAY;gBACnB,QAAQ,EAAE,eAAe;gBACzB,OAAO,EAAE,cAAc;gBACvB,YAAY,EAAE,mBAAmB;aAClC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,SAAS,CAAC,CACZ,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -1,5 +0,0 @@
1
- import { search as publicSearch } from './atlas-v2-search-result-location.public.js';
2
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
3
- export declare const search: MaybeContext<BuildRESTFunction<typeof publicSearch> & typeof publicSearch>;
4
- export { SubdivisionType, Proximity, FilterType, } from './atlas-v2-search-result-location.universal.js';
5
- export { SearchResult, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, SearchRequest, FilterBy, SearchResponse, ReverseGeocodingRequest, ReverseGeocodingResponse, SearchOptions, } from './atlas-v2-search-result-location.universal.js';
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterType = exports.Proximity = exports.SubdivisionType = exports.search = void 0;
4
- const atlas_v2_search_result_location_public_js_1 = require("./atlas-v2-search-result-location.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- exports.search = (0, rest_modules_1.createRESTModule)(atlas_v2_search_result_location_public_js_1.search);
7
- var atlas_v2_search_result_location_universal_js_1 = require("./atlas-v2-search-result-location.universal.js");
8
- Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_1.SubdivisionType; } });
9
- Object.defineProperty(exports, "Proximity", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_1.Proximity; } });
10
- Object.defineProperty(exports, "FilterType", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_1.FilterType; } });
11
- //# sourceMappingURL=atlas-v2-search-result-location.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.context.js","sourceRoot":"","sources":["../../../../src/atlas-v2-search-result-location.context.ts"],"names":[],"mappings":";;;AAAA,2GAAqF;AACrF,gEAAiE;AAGpD,QAAA,MAAM,GAED,IAAA,+BAAgB,EAAC,kDAAY,CAAC,CAAC;AAEjD,+GAIwD;AAHtD,+IAAA,eAAe,OAAA;AACf,yIAAA,SAAS,OAAA;AACT,0IAAA,UAAU,OAAA"}
@@ -1,3 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /** A Search request takes a free text as an input and returns a list of 'Address' objects. */
3
- export declare function search(payload: object): RequestOptionsFactory<any>;
@@ -1,144 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.search = void 0;
4
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
- const float_1 = require("@wix/sdk-runtime/transformations/float");
6
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
7
- const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
8
- function resolveComWixpressViAtlasServiceV2LocationServiceV2Url(opts) {
9
- const domainToMappings = {
10
- 'api._api_base_domain_': [
11
- {
12
- srcPath: '/wix-atlas-service-web',
13
- destPath: '',
14
- },
15
- ],
16
- 'bo._base_domain_': [
17
- {
18
- srcPath: '/wix-atlas-service-web',
19
- destPath: '',
20
- },
21
- ],
22
- 'wixbo.ai': [
23
- {
24
- srcPath: '/wix-atlas-service-web',
25
- destPath: '',
26
- },
27
- ],
28
- 'wix-bo.com': [
29
- {
30
- srcPath: '/wix-atlas-service-web',
31
- destPath: '',
32
- },
33
- ],
34
- _: [
35
- {
36
- srcPath: '/api/wix-atlas-service-web',
37
- destPath: '',
38
- },
39
- {
40
- srcPath: '/_api/wix-atlas-service-web',
41
- destPath: '',
42
- },
43
- ],
44
- 'www._base_domain_': [
45
- {
46
- srcPath: '/wix-atlas-service-web',
47
- destPath: '',
48
- },
49
- {
50
- srcPath: '/_api/wix-atlas-service-web',
51
- destPath: '',
52
- },
53
- {
54
- srcPath: '/api/wix-atlas-service-web',
55
- destPath: '',
56
- },
57
- ],
58
- 'manage._base_domain_': [
59
- {
60
- srcPath: '/wix-atlas-service-web',
61
- destPath: '',
62
- },
63
- ],
64
- 'editor._base_domain_': [
65
- {
66
- srcPath: '/wix-atlas-service-web',
67
- destPath: '',
68
- },
69
- {
70
- srcPath: '/api/wix-atlas-service-web',
71
- destPath: '',
72
- },
73
- ],
74
- 'blocks._base_domain_': [
75
- {
76
- srcPath: '/wix-atlas-service-web',
77
- destPath: '',
78
- },
79
- {
80
- srcPath: '/api/wix-atlas-service-web',
81
- destPath: '',
82
- },
83
- ],
84
- 'create.editorx': [
85
- {
86
- srcPath: '/wix-atlas-service-web',
87
- destPath: '',
88
- },
89
- {
90
- srcPath: '/api/wix-atlas-service-web',
91
- destPath: '',
92
- },
93
- ],
94
- 'editor.wixapps.net': [
95
- {
96
- srcPath: '/api/wix-atlas-service-web',
97
- destPath: '',
98
- },
99
- ],
100
- };
101
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
102
- }
103
- const PACKAGE_NAME = '@wix/auto_sdk_atlas_location';
104
- /** A Search request takes a free text as an input and returns a list of 'Address' objects. */
105
- function search(payload) {
106
- function __search({ host }) {
107
- const metadata = {
108
- entityFqdn: 'wix.atlas.v2.search_result',
109
- method: 'GET',
110
- methodFqn: 'com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search',
111
- packageName: PACKAGE_NAME,
112
- url: resolveComWixpressViAtlasServiceV2LocationServiceV2Url({
113
- protoPath: '/v2/search',
114
- data: payload,
115
- host,
116
- }),
117
- params: (0, rest_modules_1.toURLSearchParams)(payload),
118
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
119
- {
120
- transformFn: float_1.transformRESTFloatToSDKFloat,
121
- paths: [
122
- { path: 'searchResults.address.geocode.latitude' },
123
- { path: 'searchResults.address.geocode.longitude' },
124
- ],
125
- },
126
- ]),
127
- fallback: [
128
- {
129
- method: 'GET',
130
- url: resolveComWixpressViAtlasServiceV2LocationServiceV2Url({
131
- protoPath: '/v2/search',
132
- data: payload,
133
- host,
134
- }),
135
- params: (0, rest_modules_1.toURLSearchParams)(payload),
136
- },
137
- ],
138
- };
139
- return metadata;
140
- }
141
- return __search;
142
- }
143
- exports.search = search;
144
- //# sourceMappingURL=atlas-v2-search-result-location.http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.http.js","sourceRoot":"","sources":["../../../../src/atlas-v2-search-result-location.http.ts"],"names":[],"mappings":"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"}
@@ -1,13 +0,0 @@
1
- import * as ambassadorWixAtlasV2SearchResultTypes from './atlas-v2-search-result-location.types.js';
2
- import * as ambassadorWixAtlasV2SearchResultUniversalTypes from './atlas-v2-search-result-location.universal.js';
3
- export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
- getUrl: (context: any) => string;
5
- httpMethod: K;
6
- path: string;
7
- pathParams: M;
8
- __requestType: T;
9
- __originalRequestType: S;
10
- __responseType: Q;
11
- __originalResponseType: R;
12
- };
13
- export declare function search(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixAtlasV2SearchResultUniversalTypes.SearchRequest, ambassadorWixAtlasV2SearchResultTypes.SearchRequest, ambassadorWixAtlasV2SearchResultUniversalTypes.SearchResponse, ambassadorWixAtlasV2SearchResultTypes.SearchResponse>;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.search = void 0;
27
- const ambassadorWixAtlasV2SearchResult = __importStar(require("./atlas-v2-search-result-location.http.js"));
28
- function search() {
29
- const payload = {};
30
- const getRequestOptions = ambassadorWixAtlasV2SearchResult.search(payload);
31
- const getUrl = (context) => {
32
- const { url } = getRequestOptions(context);
33
- return url;
34
- };
35
- return {
36
- getUrl,
37
- httpMethod: 'GET',
38
- path: '/v2/search',
39
- pathParams: {},
40
- __requestType: null,
41
- __originalRequestType: null,
42
- __responseType: null,
43
- __originalResponseType: null,
44
- };
45
- }
46
- exports.search = search;
47
- //# sourceMappingURL=atlas-v2-search-result-location.meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.meta.js","sourceRoot":"","sources":["../../../../src/atlas-v2-search-result-location.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4GAA8F;AAsB9F,SAAgB,MAAM;IAQpB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GAAG,gCAAgC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAE3E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA3BD,wBA2BC"}
@@ -1,13 +0,0 @@
1
- import { HttpClient } from '@wix/sdk-types';
2
- import { SearchOptions, SearchResponse } from './atlas-v2-search-result-location.universal.js';
3
- export declare const __metadata: {
4
- PACKAGE_NAME: string;
5
- };
6
- export declare function search(httpClient: HttpClient): SearchSignature;
7
- interface SearchSignature {
8
- /**
9
- * A Search request takes a free text as an input and returns a list of 'Address' objects.
10
- */
11
- (options?: SearchOptions | undefined): Promise<SearchResponse>;
12
- }
13
- export { Address, AddressLocation, AddressStreetOneOf, FilterBy, FilterType, Proximity, ReverseGeocodingRequest, ReverseGeocodingResponse, SearchOptions, SearchRequest, SearchResponse, SearchResult, StreetAddress, Subdivision, SubdivisionType, } from './atlas-v2-search-result-location.universal.js';
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubdivisionType = exports.Proximity = exports.FilterType = exports.search = exports.__metadata = void 0;
4
- const atlas_v2_search_result_location_universal_js_1 = require("./atlas-v2-search-result-location.universal.js");
5
- exports.__metadata = { PACKAGE_NAME: '@wix/atlas' };
6
- function search(httpClient) {
7
- return (options) => (0, atlas_v2_search_result_location_universal_js_1.search)(options,
8
- // @ts-ignore
9
- { httpClient });
10
- }
11
- exports.search = search;
12
- var atlas_v2_search_result_location_universal_js_2 = require("./atlas-v2-search-result-location.universal.js");
13
- Object.defineProperty(exports, "FilterType", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_2.FilterType; } });
14
- Object.defineProperty(exports, "Proximity", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_2.Proximity; } });
15
- Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return atlas_v2_search_result_location_universal_js_2.SubdivisionType; } });
16
- //# sourceMappingURL=atlas-v2-search-result-location.public.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.public.js","sourceRoot":"","sources":["../../../../src/atlas-v2-search-result-location.public.ts"],"names":[],"mappings":";;;AACA,iHAIwD;AAE3C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAuB,EAAE,EAAE,CACjC,IAAA,qDAAe,EACb,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,wBAOC;AASD,+GAgBwD;AAXtD,0IAAA,UAAU,OAAA;AACV,yIAAA,SAAS,OAAA;AAST,+IAAA,eAAe,OAAA"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterType = exports.Proximity = exports.SubdivisionType = void 0;
4
- var SubdivisionType;
5
- (function (SubdivisionType) {
6
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
7
- /** State */
8
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
9
- /** County */
10
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
11
- /** City/town */
12
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
13
- /** Neighborhood/quarter */
14
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
15
- /** Street/block */
16
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
17
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
18
- SubdivisionType["COUNTRY"] = "COUNTRY";
19
- })(SubdivisionType || (exports.SubdivisionType = SubdivisionType = {}));
20
- var Proximity;
21
- (function (Proximity) {
22
- Proximity["UNKNOWN_PROXIMITY"] = "UNKNOWN_PROXIMITY";
23
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
24
- Proximity["PINPOINT"] = "PINPOINT";
25
- /** indicates that the returned result is the geometric center of a result */
26
- Proximity["APPROXIMATE"] = "APPROXIMATE";
27
- /** indicates that the returned result is around an area */
28
- Proximity["GENERAL_AREA"] = "GENERAL_AREA";
29
- })(Proximity || (exports.Proximity = Proximity = {}));
30
- var FilterType;
31
- (function (FilterType) {
32
- /** Filter by zip code */
33
- FilterType["zip_code"] = "zip_code";
34
- /** Filter by 2-letters or 3-letters country code */
35
- FilterType["country_code"] = "country_code";
36
- })(FilterType || (exports.FilterType = FilterType = {}));
37
- //# sourceMappingURL=atlas-v2-search-result-location.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atlas-v2-search-result-location.types.js","sourceRoot":"","sources":["../../../../src/atlas-v2-search-result-location.types.ts"],"names":[],"mappings":";;;AAyDA,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,+BAAf,eAAe,QAc1B;AAED,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,oDAAuC,CAAA;IACvC,+IAA+I;IAC/I,kCAAqB,CAAA;IACrB,6EAA6E;IAC7E,wCAA2B,CAAA;IAC3B,2DAA2D;IAC3D,0CAA6B,CAAA;AAC/B,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAwBD,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yBAAyB;IACzB,mCAAqB,CAAA;IACrB,oDAAoD;IACpD,2CAA6B,CAAA;AAC/B,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB"}