@wix/auto_sdk_atlas_location 1.0.0 → 1.0.2

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 (121) hide show
  1. package/build/{es/src/atlas-v2-search-result-location.types.d.ts → cjs/atlas-v2-search-result-location.universal-Cqf6ToQM.d.ts} +35 -38
  2. package/build/cjs/index.d.ts +15 -1
  3. package/build/cjs/index.js +256 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +98 -1
  6. package/build/cjs/meta.js +187 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/{cjs/src/atlas-v2-search-result-location.types.d.ts → es/atlas-v2-search-result-location.universal-Cqf6ToQM.d.mts} +35 -38
  9. package/build/es/index.d.mts +15 -0
  10. package/build/es/index.mjs +232 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/es/meta.d.mts +98 -0
  13. package/build/es/meta.mjs +163 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/internal/cjs/{src/atlas-v2-search-result-location.types.d.ts → atlas-v2-search-result-location.universal-Cqf6ToQM.d.ts} +35 -38
  16. package/build/internal/cjs/index.d.ts +15 -1
  17. package/build/internal/cjs/index.js +256 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +98 -1
  20. package/build/internal/cjs/meta.js +187 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{src/atlas-v2-search-result-location.types.d.ts → atlas-v2-search-result-location.universal-Cqf6ToQM.d.mts} +35 -38
  23. package/build/internal/es/index.d.mts +15 -0
  24. package/build/internal/es/index.mjs +232 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/internal/es/meta.d.mts +98 -0
  27. package/build/internal/es/meta.mjs +163 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +11 -10
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/atlas-v2-search-result-location.context.d.ts +0 -5
  34. package/build/cjs/src/atlas-v2-search-result-location.context.js +0 -11
  35. package/build/cjs/src/atlas-v2-search-result-location.context.js.map +0 -1
  36. package/build/cjs/src/atlas-v2-search-result-location.http.d.ts +0 -3
  37. package/build/cjs/src/atlas-v2-search-result-location.http.js +0 -144
  38. package/build/cjs/src/atlas-v2-search-result-location.http.js.map +0 -1
  39. package/build/cjs/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  40. package/build/cjs/src/atlas-v2-search-result-location.meta.js +0 -47
  41. package/build/cjs/src/atlas-v2-search-result-location.meta.js.map +0 -1
  42. package/build/cjs/src/atlas-v2-search-result-location.public.d.ts +0 -13
  43. package/build/cjs/src/atlas-v2-search-result-location.public.js +0 -16
  44. package/build/cjs/src/atlas-v2-search-result-location.public.js.map +0 -1
  45. package/build/cjs/src/atlas-v2-search-result-location.types.js +0 -37
  46. package/build/cjs/src/atlas-v2-search-result-location.types.js.map +0 -1
  47. package/build/cjs/src/atlas-v2-search-result-location.universal.d.ts +0 -169
  48. package/build/cjs/src/atlas-v2-search-result-location.universal.js +0 -125
  49. package/build/cjs/src/atlas-v2-search-result-location.universal.js.map +0 -1
  50. package/build/es/index.d.ts +0 -1
  51. package/build/es/index.js +0 -2
  52. package/build/es/index.js.map +0 -1
  53. package/build/es/index.typings.d.ts +0 -1
  54. package/build/es/index.typings.js +0 -2
  55. package/build/es/index.typings.js.map +0 -1
  56. package/build/es/meta.d.ts +0 -1
  57. package/build/es/meta.js +0 -2
  58. package/build/es/meta.js.map +0 -1
  59. package/build/es/src/atlas-v2-search-result-location.context.d.ts +0 -5
  60. package/build/es/src/atlas-v2-search-result-location.context.js +0 -5
  61. package/build/es/src/atlas-v2-search-result-location.context.js.map +0 -1
  62. package/build/es/src/atlas-v2-search-result-location.http.d.ts +0 -3
  63. package/build/es/src/atlas-v2-search-result-location.http.js +0 -140
  64. package/build/es/src/atlas-v2-search-result-location.http.js.map +0 -1
  65. package/build/es/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  66. package/build/es/src/atlas-v2-search-result-location.meta.js +0 -20
  67. package/build/es/src/atlas-v2-search-result-location.meta.js.map +0 -1
  68. package/build/es/src/atlas-v2-search-result-location.public.d.ts +0 -13
  69. package/build/es/src/atlas-v2-search-result-location.public.js +0 -9
  70. package/build/es/src/atlas-v2-search-result-location.public.js.map +0 -1
  71. package/build/es/src/atlas-v2-search-result-location.types.js +0 -34
  72. package/build/es/src/atlas-v2-search-result-location.types.js.map +0 -1
  73. package/build/es/src/atlas-v2-search-result-location.universal.d.ts +0 -169
  74. package/build/es/src/atlas-v2-search-result-location.universal.js +0 -98
  75. package/build/es/src/atlas-v2-search-result-location.universal.js.map +0 -1
  76. package/build/internal/cjs/index.typings.d.ts +0 -1
  77. package/build/internal/cjs/index.typings.js +0 -18
  78. package/build/internal/cjs/index.typings.js.map +0 -1
  79. package/build/internal/cjs/src/atlas-v2-search-result-location.context.d.ts +0 -5
  80. package/build/internal/cjs/src/atlas-v2-search-result-location.context.js +0 -11
  81. package/build/internal/cjs/src/atlas-v2-search-result-location.context.js.map +0 -1
  82. package/build/internal/cjs/src/atlas-v2-search-result-location.http.d.ts +0 -3
  83. package/build/internal/cjs/src/atlas-v2-search-result-location.http.js +0 -144
  84. package/build/internal/cjs/src/atlas-v2-search-result-location.http.js.map +0 -1
  85. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  86. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.js +0 -47
  87. package/build/internal/cjs/src/atlas-v2-search-result-location.meta.js.map +0 -1
  88. package/build/internal/cjs/src/atlas-v2-search-result-location.public.d.ts +0 -13
  89. package/build/internal/cjs/src/atlas-v2-search-result-location.public.js +0 -16
  90. package/build/internal/cjs/src/atlas-v2-search-result-location.public.js.map +0 -1
  91. package/build/internal/cjs/src/atlas-v2-search-result-location.types.js +0 -37
  92. package/build/internal/cjs/src/atlas-v2-search-result-location.types.js.map +0 -1
  93. package/build/internal/cjs/src/atlas-v2-search-result-location.universal.d.ts +0 -169
  94. package/build/internal/cjs/src/atlas-v2-search-result-location.universal.js +0 -125
  95. package/build/internal/cjs/src/atlas-v2-search-result-location.universal.js.map +0 -1
  96. package/build/internal/es/index.d.ts +0 -1
  97. package/build/internal/es/index.js +0 -2
  98. package/build/internal/es/index.js.map +0 -1
  99. package/build/internal/es/index.typings.d.ts +0 -1
  100. package/build/internal/es/index.typings.js +0 -2
  101. package/build/internal/es/index.typings.js.map +0 -1
  102. package/build/internal/es/meta.d.ts +0 -1
  103. package/build/internal/es/meta.js +0 -2
  104. package/build/internal/es/meta.js.map +0 -1
  105. package/build/internal/es/src/atlas-v2-search-result-location.context.d.ts +0 -5
  106. package/build/internal/es/src/atlas-v2-search-result-location.context.js +0 -5
  107. package/build/internal/es/src/atlas-v2-search-result-location.context.js.map +0 -1
  108. package/build/internal/es/src/atlas-v2-search-result-location.http.d.ts +0 -3
  109. package/build/internal/es/src/atlas-v2-search-result-location.http.js +0 -140
  110. package/build/internal/es/src/atlas-v2-search-result-location.http.js.map +0 -1
  111. package/build/internal/es/src/atlas-v2-search-result-location.meta.d.ts +0 -13
  112. package/build/internal/es/src/atlas-v2-search-result-location.meta.js +0 -20
  113. package/build/internal/es/src/atlas-v2-search-result-location.meta.js.map +0 -1
  114. package/build/internal/es/src/atlas-v2-search-result-location.public.d.ts +0 -13
  115. package/build/internal/es/src/atlas-v2-search-result-location.public.js +0 -9
  116. package/build/internal/es/src/atlas-v2-search-result-location.public.js.map +0 -1
  117. package/build/internal/es/src/atlas-v2-search-result-location.types.js +0 -34
  118. package/build/internal/es/src/atlas-v2-search-result-location.types.js.map +0 -1
  119. package/build/internal/es/src/atlas-v2-search-result-location.universal.d.ts +0 -169
  120. package/build/internal/es/src/atlas-v2-search-result-location.universal.js +0 -98
  121. package/build/internal/es/src/atlas-v2-search-result-location.universal.js.map +0 -1
@@ -1,169 +0,0 @@
1
- export interface SearchResult {
2
- /** The Address object */
3
- address?: Address;
4
- /** stores additional data about the proximity to the specified location */
5
- proximity?: Proximity;
6
- }
7
- /** Physical address */
8
- export interface Address extends AddressStreetOneOf {
9
- /** Street name and number. */
10
- streetAddress?: StreetAddress;
11
- /** Main address line, usually street and number as free text. */
12
- addressLine1?: string | null;
13
- /**
14
- * Country code.
15
- * @format COUNTRY
16
- */
17
- country?: string | null;
18
- /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
19
- subdivision?: string | null;
20
- /** City name. */
21
- city?: string | null;
22
- /** Zip/postal code. */
23
- postalCode?: string | null;
24
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
25
- addressLine2?: string | null;
26
- }
27
- /** @oneof */
28
- export interface AddressStreetOneOf {
29
- /** Street name and number. */
30
- streetAddress?: StreetAddress;
31
- /** Main address line, usually street and number as free text. */
32
- addressLine?: string | null;
33
- }
34
- export interface StreetAddress {
35
- /** Street number. */
36
- number?: string;
37
- /** Street name. */
38
- name?: string;
39
- }
40
- export interface AddressLocation {
41
- /** Address latitude. */
42
- latitude?: number | null;
43
- /** Address longitude. */
44
- longitude?: number | null;
45
- }
46
- export interface Subdivision {
47
- /** Short subdivision code. */
48
- code?: string;
49
- /** Subdivision full name. */
50
- name?: string;
51
- }
52
- export declare enum SubdivisionType {
53
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
54
- /** State */
55
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
56
- /** County */
57
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
58
- /** City/town */
59
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
60
- /** Neighborhood/quarter */
61
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
62
- /** Street/block */
63
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
64
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
65
- COUNTRY = "COUNTRY"
66
- }
67
- export declare enum Proximity {
68
- UNKNOWN_PROXIMITY = "UNKNOWN_PROXIMITY",
69
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
70
- PINPOINT = "PINPOINT",
71
- /** indicates that the returned result is the geometric center of a result */
72
- APPROXIMATE = "APPROXIMATE",
73
- /** indicates that the returned result is around an area */
74
- GENERAL_AREA = "GENERAL_AREA"
75
- }
76
- /** User must provide query or filter by parameters */
77
- export interface SearchRequest {
78
- /** Free text */
79
- query?: string | null;
80
- /**
81
- * Deprecate! - Please use 'zipCode' and 'countryCodes' fields
82
- * @deprecated
83
- */
84
- filterBy?: FilterBy[];
85
- /** Zip code filter the user can add in order to get more accurate results */
86
- zipCode?: string | null;
87
- /** Country codes filter the user can add in order to get more accurate results */
88
- countryCodes?: string[];
89
- }
90
- export interface FilterBy {
91
- /** One of the filter types enum */
92
- filterType?: FilterType;
93
- /** Free text like "us" */
94
- filterValue?: string;
95
- }
96
- export declare enum FilterType {
97
- /** Filter by zip code */
98
- zip_code = "zip_code",
99
- /** Filter by 2-letters or 3-letters country code */
100
- country_code = "country_code"
101
- }
102
- export interface SearchResponse {
103
- /** List of 'Address' objects */
104
- searchResults?: SearchResult[];
105
- }
106
- export interface ReverseGeocodingRequest {
107
- /** The latitude and longitude values specifying the location for which you wish to obtain the closest, human-readable address. */
108
- addressLocation?: AddressLocation;
109
- }
110
- export interface ReverseGeocodingResponse {
111
- searchResults?: SearchResult[];
112
- }
113
- interface StreetAddressNonNullableFields {
114
- number: string;
115
- name: string;
116
- apt: string;
117
- }
118
- interface SubdivisionNonNullableFields {
119
- name: string;
120
- }
121
- interface AddressNonNullableFields {
122
- streetAddress?: StreetAddressNonNullableFields;
123
- subdivisions: SubdivisionNonNullableFields[];
124
- }
125
- interface SearchResultNonNullableFields {
126
- address?: AddressNonNullableFields;
127
- proximity: Proximity;
128
- }
129
- export interface SearchResponseNonNullableFields {
130
- searchResults: SearchResultNonNullableFields[];
131
- }
132
- /**
133
- * A Search request takes a free text as an input and returns a list of 'Address' objects.
134
- * @public
135
- * @documentationMaturity preview
136
- * @permissionId WIX_ATLAS.SEARCH
137
- * @permissionScope Manage Bookings Services and Settings
138
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
139
- * @permissionScope Manage Events
140
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
141
- * @permissionScope Manage Challenges
142
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
143
- * @permissionScope Manage Portfolio
144
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
145
- * @permissionScope Access Verticals by Automations
146
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
147
- * @permissionScope Manage Restaurants - all permissions
148
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
149
- * @permissionScope Set Up Automations
150
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
151
- * @applicableIdentity APP
152
- * @applicableIdentity VISITOR
153
- * @fqn com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search
154
- */
155
- export declare function search(options?: SearchOptions): Promise<SearchResponse & SearchResponseNonNullableFields>;
156
- export interface SearchOptions {
157
- /** Free text */
158
- query?: string | null;
159
- /**
160
- * Deprecate! - Please use 'zipCode' and 'countryCodes' fields
161
- * @deprecated
162
- */
163
- filterBy?: FilterBy[];
164
- /** Zip code filter the user can add in order to get more accurate results */
165
- zipCode?: string | null;
166
- /** Country codes filter the user can add in order to get more accurate results */
167
- countryCodes?: string[];
168
- }
169
- export {};
@@ -1,125 +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 = exports.FilterType = exports.Proximity = exports.SubdivisionType = void 0;
27
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
29
- const ambassadorWixAtlasV2SearchResult = __importStar(require("./atlas-v2-search-result-location.http.js"));
30
- const address_1 = require("@wix/sdk-runtime/transformations/address");
31
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
32
- var SubdivisionType;
33
- (function (SubdivisionType) {
34
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
35
- /** State */
36
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
37
- /** County */
38
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
39
- /** City/town */
40
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
41
- /** Neighborhood/quarter */
42
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
43
- /** Street/block */
44
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
45
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
46
- SubdivisionType["COUNTRY"] = "COUNTRY";
47
- })(SubdivisionType || (exports.SubdivisionType = SubdivisionType = {}));
48
- var Proximity;
49
- (function (Proximity) {
50
- Proximity["UNKNOWN_PROXIMITY"] = "UNKNOWN_PROXIMITY";
51
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
52
- Proximity["PINPOINT"] = "PINPOINT";
53
- /** indicates that the returned result is the geometric center of a result */
54
- Proximity["APPROXIMATE"] = "APPROXIMATE";
55
- /** indicates that the returned result is around an area */
56
- Proximity["GENERAL_AREA"] = "GENERAL_AREA";
57
- })(Proximity || (exports.Proximity = Proximity = {}));
58
- var FilterType;
59
- (function (FilterType) {
60
- /** Filter by zip code */
61
- FilterType["zip_code"] = "zip_code";
62
- /** Filter by 2-letters or 3-letters country code */
63
- FilterType["country_code"] = "country_code";
64
- })(FilterType || (exports.FilterType = FilterType = {}));
65
- /**
66
- * A Search request takes a free text as an input and returns a list of 'Address' objects.
67
- * @public
68
- * @documentationMaturity preview
69
- * @permissionId WIX_ATLAS.SEARCH
70
- * @permissionScope Manage Bookings Services and Settings
71
- * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
72
- * @permissionScope Manage Events
73
- * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
74
- * @permissionScope Manage Challenges
75
- * @permissionScopeId SCOPE.CHALLENGES.MANAGE
76
- * @permissionScope Manage Portfolio
77
- * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
78
- * @permissionScope Access Verticals by Automations
79
- * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
80
- * @permissionScope Manage Restaurants - all permissions
81
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
82
- * @permissionScope Set Up Automations
83
- * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
84
- * @applicableIdentity APP
85
- * @applicableIdentity VISITOR
86
- * @fqn com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search
87
- */
88
- async function search(options) {
89
- // @ts-ignore
90
- const { httpClient, sideEffects } = arguments[1];
91
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
92
- query: options?.query,
93
- filterBy: options?.filterBy,
94
- zipCode: options?.zipCode,
95
- countryCodes: options?.countryCodes,
96
- });
97
- const reqOpts = ambassadorWixAtlasV2SearchResult.search(payload);
98
- sideEffects?.onSiteCall?.();
99
- try {
100
- const result = await httpClient.request(reqOpts);
101
- sideEffects?.onSuccess?.(result);
102
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(result.data, [
103
- {
104
- transformFn: address_1.transformRESTAddressToSDKAddress,
105
- paths: [{ path: 'searchResults.address' }],
106
- },
107
- ]));
108
- }
109
- catch (err) {
110
- const transformedError = (0, transform_error_1.transformError)(err, {
111
- spreadPathsToArguments: {},
112
- explicitPathsToArguments: {
113
- query: '$[0].query',
114
- filterBy: '$[0].filterBy',
115
- zipCode: '$[0].zipCode',
116
- countryCodes: '$[0].countryCodes',
117
- },
118
- singleArgumentUnchanged: false,
119
- }, ['options']);
120
- sideEffects?.onError?.(err);
121
- throw transformedError;
122
- }
123
- }
124
- exports.search = search;
125
- //# 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,sEAAuF;AACvF,oFAG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C;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAC5C,IAAA,gCAAc,EAAC,MAAM,CAAC,IAAI,EAAE;YAC1B;gBACE,WAAW,EAAE,0CAAgC;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,IAAA,gCAAiB,EACxC,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;AAlDD,wBAkDC"}
@@ -1 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.context.js';
package/build/es/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.context.js';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.universal.js';
@@ -1,2 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.universal.js';
2
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC"}
@@ -1 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.meta.js';
package/build/es/meta.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './src/atlas-v2-search-result-location.meta.js';
2
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,+CAA+C,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, SearchResponseNonNullableFields, SearchOptions, } from './atlas-v2-search-result-location.universal.js';
@@ -1,5 +0,0 @@
1
- import { search as publicSearch } from './atlas-v2-search-result-location.public.js';
2
- import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
3
- export const search = /*#__PURE__*/ createRESTModule(publicSearch);
4
- export { SubdivisionType, Proximity, FilterType, } from './atlas-v2-search-result-location.universal.js';
5
- //# 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,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,MAAM,GAEf,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAEjD,OAAO,EACL,eAAe,EACf,SAAS,EACT,UAAU,GACX,MAAM,gDAAgD,CAAC"}
@@ -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,140 +0,0 @@
1
- import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';
2
- import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';
3
- import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
4
- import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
5
- function resolveComWixpressViAtlasServiceV2LocationServiceV2Url(opts) {
6
- const domainToMappings = {
7
- 'api._api_base_domain_': [
8
- {
9
- srcPath: '/wix-atlas-service-web',
10
- destPath: '',
11
- },
12
- ],
13
- 'bo._base_domain_': [
14
- {
15
- srcPath: '/wix-atlas-service-web',
16
- destPath: '',
17
- },
18
- ],
19
- 'wixbo.ai': [
20
- {
21
- srcPath: '/wix-atlas-service-web',
22
- destPath: '',
23
- },
24
- ],
25
- 'wix-bo.com': [
26
- {
27
- srcPath: '/wix-atlas-service-web',
28
- destPath: '',
29
- },
30
- ],
31
- _: [
32
- {
33
- srcPath: '/api/wix-atlas-service-web',
34
- destPath: '',
35
- },
36
- {
37
- srcPath: '/_api/wix-atlas-service-web',
38
- destPath: '',
39
- },
40
- ],
41
- 'www._base_domain_': [
42
- {
43
- srcPath: '/wix-atlas-service-web',
44
- destPath: '',
45
- },
46
- {
47
- srcPath: '/_api/wix-atlas-service-web',
48
- destPath: '',
49
- },
50
- {
51
- srcPath: '/api/wix-atlas-service-web',
52
- destPath: '',
53
- },
54
- ],
55
- 'manage._base_domain_': [
56
- {
57
- srcPath: '/wix-atlas-service-web',
58
- destPath: '',
59
- },
60
- ],
61
- 'editor._base_domain_': [
62
- {
63
- srcPath: '/wix-atlas-service-web',
64
- destPath: '',
65
- },
66
- {
67
- srcPath: '/api/wix-atlas-service-web',
68
- destPath: '',
69
- },
70
- ],
71
- 'blocks._base_domain_': [
72
- {
73
- srcPath: '/wix-atlas-service-web',
74
- destPath: '',
75
- },
76
- {
77
- srcPath: '/api/wix-atlas-service-web',
78
- destPath: '',
79
- },
80
- ],
81
- 'create.editorx': [
82
- {
83
- srcPath: '/wix-atlas-service-web',
84
- destPath: '',
85
- },
86
- {
87
- srcPath: '/api/wix-atlas-service-web',
88
- destPath: '',
89
- },
90
- ],
91
- 'editor.wixapps.net': [
92
- {
93
- srcPath: '/api/wix-atlas-service-web',
94
- destPath: '',
95
- },
96
- ],
97
- };
98
- return resolveUrl(Object.assign(opts, { domainToMappings }));
99
- }
100
- const PACKAGE_NAME = '@wix/auto_sdk_atlas_location';
101
- /** A Search request takes a free text as an input and returns a list of 'Address' objects. */
102
- export function search(payload) {
103
- function __search({ host }) {
104
- const metadata = {
105
- entityFqdn: 'wix.atlas.v2.search_result',
106
- method: 'GET',
107
- methodFqn: 'com.wixpress.vi.atlas.service.v2.LocationServiceV2.Search',
108
- packageName: PACKAGE_NAME,
109
- url: resolveComWixpressViAtlasServiceV2LocationServiceV2Url({
110
- protoPath: '/v2/search',
111
- data: payload,
112
- host,
113
- }),
114
- params: toURLSearchParams(payload),
115
- transformResponse: (payload) => transformPaths(payload, [
116
- {
117
- transformFn: transformRESTFloatToSDKFloat,
118
- paths: [
119
- { path: 'searchResults.address.geocode.latitude' },
120
- { path: 'searchResults.address.geocode.longitude' },
121
- ],
122
- },
123
- ]),
124
- fallback: [
125
- {
126
- method: 'GET',
127
- url: resolveComWixpressViAtlasServiceV2LocationServiceV2Url({
128
- protoPath: '/v2/search',
129
- data: payload,
130
- host,
131
- }),
132
- params: toURLSearchParams(payload),
133
- },
134
- ],
135
- };
136
- return metadata;
137
- }
138
- return __search;
139
- }
140
- //# 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.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CAAC;wBAC1D,SAAS,EAAE,YAAY;wBACvB,IAAI,EAAE,OAAO;wBACb,IAAI;qBACL,CAAC;oBACF,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC;iBACnC;aACF;SACF,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -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 & ambassadorWixAtlasV2SearchResultUniversalTypes.SearchResponseNonNullableFields, ambassadorWixAtlasV2SearchResultTypes.SearchResponse & ambassadorWixAtlasV2SearchResultTypes.SearchResponseNonNullableFields>;
@@ -1,20 +0,0 @@
1
- import * as ambassadorWixAtlasV2SearchResult from './atlas-v2-search-result-location.http.js';
2
- export function search() {
3
- const payload = {};
4
- const getRequestOptions = ambassadorWixAtlasV2SearchResult.search(payload);
5
- const getUrl = (context) => {
6
- const { url } = getRequestOptions(context);
7
- return url;
8
- };
9
- return {
10
- getUrl,
11
- httpMethod: 'GET',
12
- path: '/v2/search',
13
- pathParams: {},
14
- __requestType: null,
15
- __originalRequestType: null,
16
- __responseType: null,
17
- __originalResponseType: null,
18
- };
19
- }
20
- //# 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,OAAO,KAAK,gCAAgC,MAAM,2CAA2C,CAAC;AAsB9F,MAAM,UAAU,MAAM;IAUpB,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"}
@@ -1,13 +0,0 @@
1
- import { HttpClient } from '@wix/sdk-types';
2
- import { SearchOptions, SearchResponse, SearchResponseNonNullableFields } 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 & SearchResponseNonNullableFields>;
12
- }
13
- export { Address, AddressLocation, AddressStreetOneOf, FilterBy, FilterType, Proximity, ReverseGeocodingRequest, ReverseGeocodingResponse, SearchOptions, SearchRequest, SearchResponse, SearchResponseNonNullableFields, SearchResult, StreetAddress, Subdivision, SubdivisionType, } from './atlas-v2-search-result-location.universal.js';
@@ -1,9 +0,0 @@
1
- import { search as universalSearch, } from './atlas-v2-search-result-location.universal.js';
2
- export const __metadata = { PACKAGE_NAME: '@wix/atlas' };
3
- export function search(httpClient) {
4
- return (options) => universalSearch(options,
5
- // @ts-ignore
6
- { httpClient });
7
- }
8
- export { FilterType, Proximity, SubdivisionType, } from './atlas-v2-search-result-location.universal.js';
9
- //# 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,OAAO,EAIL,MAAM,IAAI,eAAe,GAC1B,MAAM,gDAAgD,CAAC;AAExD,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,MAAM,UAAU,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,OAAuB,EAAE,EAAE,CACjC,eAAe,CACb,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,OAAO,EAKL,UAAU,EACV,SAAS,EAUT,eAAe,GAChB,MAAM,gDAAgD,CAAC"}
@@ -1,34 +0,0 @@
1
- export var SubdivisionType;
2
- (function (SubdivisionType) {
3
- SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
4
- /** State */
5
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
6
- /** County */
7
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
8
- /** City/town */
9
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
10
- /** Neighborhood/quarter */
11
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
12
- /** Street/block */
13
- SubdivisionType["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
14
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
15
- SubdivisionType["COUNTRY"] = "COUNTRY";
16
- })(SubdivisionType || (SubdivisionType = {}));
17
- export var Proximity;
18
- (function (Proximity) {
19
- Proximity["UNKNOWN_PROXIMITY"] = "UNKNOWN_PROXIMITY";
20
- /** indicates that the returned result is a precise geocode for which we have location information accurate down to street address precision */
21
- Proximity["PINPOINT"] = "PINPOINT";
22
- /** indicates that the returned result is the geometric center of a result */
23
- Proximity["APPROXIMATE"] = "APPROXIMATE";
24
- /** indicates that the returned result is around an area */
25
- Proximity["GENERAL_AREA"] = "GENERAL_AREA";
26
- })(Proximity || (Proximity = {}));
27
- export var FilterType;
28
- (function (FilterType) {
29
- /** Filter by zip code */
30
- FilterType["zip_code"] = "zip_code";
31
- /** Filter by 2-letters or 3-letters country code */
32
- FilterType["country_code"] = "country_code";
33
- })(FilterType || (FilterType = {}));
34
- //# 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,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"}