@wix/auto_sdk_atlas_places 1.0.0
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.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.context.d.ts +5 -0
- package/build/cjs/src/atlas-v2-place-places.context.js +9 -0
- package/build/cjs/src/atlas-v2-place-places.context.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.http.d.ts +3 -0
- package/build/cjs/src/atlas-v2-place-places.http.js +133 -0
- package/build/cjs/src/atlas-v2-place-places.http.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.meta.d.ts +13 -0
- package/build/cjs/src/atlas-v2-place-places.meta.js +47 -0
- package/build/cjs/src/atlas-v2-place-places.meta.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.public.d.ts +13 -0
- package/build/cjs/src/atlas-v2-place-places.public.js +14 -0
- package/build/cjs/src/atlas-v2-place-places.public.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.types.d.ts +102 -0
- package/build/cjs/src/atlas-v2-place-places.types.js +20 -0
- package/build/cjs/src/atlas-v2-place-places.types.js.map +1 -0
- package/build/cjs/src/atlas-v2-place-places.universal.d.ts +132 -0
- package/build/cjs/src/atlas-v2-place-places.universal.js +105 -0
- package/build/cjs/src/atlas-v2-place-places.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/atlas-v2-place-places.context.d.ts +5 -0
- package/build/es/src/atlas-v2-place-places.context.js +5 -0
- package/build/es/src/atlas-v2-place-places.context.js.map +1 -0
- package/build/es/src/atlas-v2-place-places.http.d.ts +3 -0
- package/build/es/src/atlas-v2-place-places.http.js +129 -0
- package/build/es/src/atlas-v2-place-places.http.js.map +1 -0
- package/build/es/src/atlas-v2-place-places.meta.d.ts +13 -0
- package/build/es/src/atlas-v2-place-places.meta.js +20 -0
- package/build/es/src/atlas-v2-place-places.meta.js.map +1 -0
- package/build/es/src/atlas-v2-place-places.public.d.ts +13 -0
- package/build/es/src/atlas-v2-place-places.public.js +9 -0
- package/build/es/src/atlas-v2-place-places.public.js.map +1 -0
- package/build/es/src/atlas-v2-place-places.types.d.ts +102 -0
- package/build/es/src/atlas-v2-place-places.types.js +17 -0
- package/build/es/src/atlas-v2-place-places.types.js.map +1 -0
- package/build/es/src/atlas-v2-place-places.universal.d.ts +132 -0
- package/build/es/src/atlas-v2-place-places.universal.js +78 -0
- package/build/es/src/atlas-v2-place-places.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.context.d.ts +5 -0
- package/build/internal/cjs/src/atlas-v2-place-places.context.js +9 -0
- package/build/internal/cjs/src/atlas-v2-place-places.context.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.http.d.ts +3 -0
- package/build/internal/cjs/src/atlas-v2-place-places.http.js +133 -0
- package/build/internal/cjs/src/atlas-v2-place-places.http.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.meta.d.ts +13 -0
- package/build/internal/cjs/src/atlas-v2-place-places.meta.js +47 -0
- package/build/internal/cjs/src/atlas-v2-place-places.meta.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.public.d.ts +13 -0
- package/build/internal/cjs/src/atlas-v2-place-places.public.js +14 -0
- package/build/internal/cjs/src/atlas-v2-place-places.public.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.types.d.ts +102 -0
- package/build/internal/cjs/src/atlas-v2-place-places.types.js +20 -0
- package/build/internal/cjs/src/atlas-v2-place-places.types.js.map +1 -0
- package/build/internal/cjs/src/atlas-v2-place-places.universal.d.ts +132 -0
- package/build/internal/cjs/src/atlas-v2-place-places.universal.js +105 -0
- package/build/internal/cjs/src/atlas-v2-place-places.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.context.d.ts +5 -0
- package/build/internal/es/src/atlas-v2-place-places.context.js +5 -0
- package/build/internal/es/src/atlas-v2-place-places.context.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.http.d.ts +3 -0
- package/build/internal/es/src/atlas-v2-place-places.http.js +129 -0
- package/build/internal/es/src/atlas-v2-place-places.http.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.meta.d.ts +13 -0
- package/build/internal/es/src/atlas-v2-place-places.meta.js +20 -0
- package/build/internal/es/src/atlas-v2-place-places.meta.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.public.d.ts +13 -0
- package/build/internal/es/src/atlas-v2-place-places.public.js +9 -0
- package/build/internal/es/src/atlas-v2-place-places.public.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.types.d.ts +102 -0
- package/build/internal/es/src/atlas-v2-place-places.types.js +17 -0
- package/build/internal/es/src/atlas-v2-place-places.types.js.map +1 -0
- package/build/internal/es/src/atlas-v2-place-places.universal.d.ts +132 -0
- package/build/internal/es/src/atlas-v2-place-places.universal.js +78 -0
- package/build/internal/es/src/atlas-v2-place-places.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
export interface Place {
|
|
2
|
+
/** The given place id */
|
|
3
|
+
placeId?: string;
|
|
4
|
+
/** The Address object */
|
|
5
|
+
address?: Address;
|
|
6
|
+
/** The Place type. For example: airport, library etc... */
|
|
7
|
+
types?: string[];
|
|
8
|
+
}
|
|
9
|
+
/** Physical address */
|
|
10
|
+
export interface Address extends AddressStreetOneOf {
|
|
11
|
+
/** Street name and number. */
|
|
12
|
+
streetAddress?: StreetAddress;
|
|
13
|
+
/** Main address line, usually street and number as free text. */
|
|
14
|
+
addressLine1?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Country code.
|
|
17
|
+
* @format COUNTRY
|
|
18
|
+
*/
|
|
19
|
+
country?: string | null;
|
|
20
|
+
/** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
21
|
+
subdivision?: string | null;
|
|
22
|
+
/** City name. */
|
|
23
|
+
city?: string | null;
|
|
24
|
+
/** Zip/postal code. */
|
|
25
|
+
postalCode?: string | null;
|
|
26
|
+
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
27
|
+
addressLine2?: string | null;
|
|
28
|
+
}
|
|
29
|
+
/** @oneof */
|
|
30
|
+
export interface AddressStreetOneOf {
|
|
31
|
+
/** Street name and number. */
|
|
32
|
+
streetAddress?: StreetAddress;
|
|
33
|
+
/** Main address line, usually street and number as free text. */
|
|
34
|
+
addressLine?: string | null;
|
|
35
|
+
}
|
|
36
|
+
export interface StreetAddress {
|
|
37
|
+
/** Street number. */
|
|
38
|
+
number?: string;
|
|
39
|
+
/** Street name. */
|
|
40
|
+
name?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface AddressLocation {
|
|
43
|
+
/** Address latitude. */
|
|
44
|
+
latitude?: number | null;
|
|
45
|
+
/** Address longitude. */
|
|
46
|
+
longitude?: number | null;
|
|
47
|
+
}
|
|
48
|
+
export interface Subdivision {
|
|
49
|
+
/** Short subdivision code. */
|
|
50
|
+
code?: string;
|
|
51
|
+
/** Subdivision full name. */
|
|
52
|
+
name?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare enum SubdivisionType {
|
|
55
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
56
|
+
/** State */
|
|
57
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
58
|
+
/** County */
|
|
59
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
60
|
+
/** City/town */
|
|
61
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
62
|
+
/** Neighborhood/quarter */
|
|
63
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
64
|
+
/** Street/block */
|
|
65
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
66
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
67
|
+
COUNTRY = "COUNTRY"
|
|
68
|
+
}
|
|
69
|
+
export interface GetPlaceRequest {
|
|
70
|
+
searchId: string;
|
|
71
|
+
/**
|
|
72
|
+
* A random string which identifies an autocomplete session for billing purposes. The session begins when the user starts typing a query, and concludes when they select a place and a call to Get Place is made. Once a session has concluded, the token is no longer valid. your app must generate a fresh token for each session.
|
|
73
|
+
* @format GUID
|
|
74
|
+
*/
|
|
75
|
+
sessionToken?: string | null;
|
|
76
|
+
}
|
|
77
|
+
export interface GetPlaceResponse {
|
|
78
|
+
place?: Place;
|
|
79
|
+
}
|
|
80
|
+
interface StreetAddressNonNullableFields {
|
|
81
|
+
number: string;
|
|
82
|
+
name: string;
|
|
83
|
+
apt: string;
|
|
84
|
+
}
|
|
85
|
+
interface SubdivisionNonNullableFields {
|
|
86
|
+
name: string;
|
|
87
|
+
}
|
|
88
|
+
interface AddressNonNullableFields {
|
|
89
|
+
streetAddress?: StreetAddressNonNullableFields;
|
|
90
|
+
subdivisions: SubdivisionNonNullableFields[];
|
|
91
|
+
}
|
|
92
|
+
interface PlaceNonNullableFields {
|
|
93
|
+
placeId: string;
|
|
94
|
+
address?: AddressNonNullableFields;
|
|
95
|
+
types: string[];
|
|
96
|
+
}
|
|
97
|
+
export interface GetPlaceResponseNonNullableFields {
|
|
98
|
+
place?: PlaceNonNullableFields;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Once you have a search_id from a autocomplete Search, you can request more details about a particular establishment or point of interest by initiating a get place request.
|
|
102
|
+
* @public
|
|
103
|
+
* @documentationMaturity preview
|
|
104
|
+
* @requiredField searchId
|
|
105
|
+
* @permissionId WIX_ATLAS.GET_PLACE
|
|
106
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
107
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
108
|
+
* @permissionScope Manage Events
|
|
109
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
110
|
+
* @permissionScope Manage Challenges
|
|
111
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
112
|
+
* @permissionScope Manage Portfolio
|
|
113
|
+
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
114
|
+
* @permissionScope Access Verticals by Automations
|
|
115
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
116
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
117
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
118
|
+
* @permissionScope Set Up Automations
|
|
119
|
+
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
120
|
+
* @applicableIdentity APP
|
|
121
|
+
* @applicableIdentity VISITOR
|
|
122
|
+
* @fqn com.wixpress.vi.atlas.service.v2.PlacesServiceV2.GetPlace
|
|
123
|
+
*/
|
|
124
|
+
export declare function getPlace(searchId: string, options?: GetPlaceOptions): Promise<GetPlaceResponse & GetPlaceResponseNonNullableFields>;
|
|
125
|
+
export interface GetPlaceOptions {
|
|
126
|
+
/**
|
|
127
|
+
* A random string which identifies an autocomplete session for billing purposes. The session begins when the user starts typing a query, and concludes when they select a place and a call to Get Place is made. Once a session has concluded, the token is no longer valid. your app must generate a fresh token for each session.
|
|
128
|
+
* @format GUID
|
|
129
|
+
*/
|
|
130
|
+
sessionToken?: string | null;
|
|
131
|
+
}
|
|
132
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
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 ambassadorWixAtlasV2Place from './atlas-v2-place-places.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
|
+
/**
|
|
23
|
+
* Once you have a search_id from a autocomplete Search, you can request more details about a particular establishment or point of interest by initiating a get place request.
|
|
24
|
+
* @public
|
|
25
|
+
* @documentationMaturity preview
|
|
26
|
+
* @requiredField searchId
|
|
27
|
+
* @permissionId WIX_ATLAS.GET_PLACE
|
|
28
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
29
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
30
|
+
* @permissionScope Manage Events
|
|
31
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
32
|
+
* @permissionScope Manage Challenges
|
|
33
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
34
|
+
* @permissionScope Manage Portfolio
|
|
35
|
+
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
36
|
+
* @permissionScope Access Verticals by Automations
|
|
37
|
+
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
38
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
39
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
40
|
+
* @permissionScope Set Up Automations
|
|
41
|
+
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
42
|
+
* @applicableIdentity APP
|
|
43
|
+
* @applicableIdentity VISITOR
|
|
44
|
+
* @fqn com.wixpress.vi.atlas.service.v2.PlacesServiceV2.GetPlace
|
|
45
|
+
*/
|
|
46
|
+
export async function getPlace(searchId, options) {
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
49
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
50
|
+
searchId: searchId,
|
|
51
|
+
sessionToken: options?.sessionToken,
|
|
52
|
+
});
|
|
53
|
+
const reqOpts = ambassadorWixAtlasV2Place.getPlace(payload);
|
|
54
|
+
sideEffects?.onSiteCall?.();
|
|
55
|
+
try {
|
|
56
|
+
const result = await httpClient.request(reqOpts);
|
|
57
|
+
sideEffects?.onSuccess?.(result);
|
|
58
|
+
return renameKeysFromRESTResponseToSDKResponse(transformPaths(result.data, [
|
|
59
|
+
{
|
|
60
|
+
transformFn: transformRESTAddressToSDKAddress,
|
|
61
|
+
paths: [{ path: 'place.address' }],
|
|
62
|
+
},
|
|
63
|
+
]));
|
|
64
|
+
}
|
|
65
|
+
catch (err) {
|
|
66
|
+
const transformedError = sdkTransformError(err, {
|
|
67
|
+
spreadPathsToArguments: {},
|
|
68
|
+
explicitPathsToArguments: {
|
|
69
|
+
searchId: '$[0]',
|
|
70
|
+
sessionToken: '$[1].sessionToken',
|
|
71
|
+
},
|
|
72
|
+
singleArgumentUnchanged: false,
|
|
73
|
+
}, ['searchId', 'options']);
|
|
74
|
+
sideEffects?.onError?.(err);
|
|
75
|
+
throw transformedError;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=atlas-v2-place-places.universal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"atlas-v2-place-places.universal.js","sourceRoot":"","sources":["../../../../src/atlas-v2-place-places.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,yBAAyB,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AA6DlF,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;AAwCD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ,CAC5B,QAAgB,EAChB,OAAyB;IAEzB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,OAAO,EAAE,YAAY;KACpC,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,yBAAyB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAE5D,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,eAAe,EAAE,CAAC;aACnC;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,QAAQ,EAAE,MAAM;gBAChB,YAAY,EAAE,mBAAmB;aAClC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,UAAU,EAAE,SAAS,CAAC,CACxB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/auto_sdk_atlas_places",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org/",
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [],
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"main": "./build/cjs/index.js",
|
|
11
|
+
"types": "./build/es/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./build/es/index.js",
|
|
15
|
+
"require": "./build/cjs/index.js",
|
|
16
|
+
"types": "./build/es/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json",
|
|
19
|
+
"./meta": {
|
|
20
|
+
"import": "./build/es/meta.js",
|
|
21
|
+
"require": "./build/cjs/meta.js",
|
|
22
|
+
"types": "./build/es/meta.d.ts"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"build",
|
|
27
|
+
"meta",
|
|
28
|
+
"service-plugins"
|
|
29
|
+
],
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.35",
|
|
32
|
+
"@wix/sdk-types": "^1.12.4"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"typescript": "^5.3.2"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -b tsconfig.json tsconfig.esm.json tsconfig.internal.json tsconfig.internal.esm.json",
|
|
39
|
+
"test": ":"
|
|
40
|
+
},
|
|
41
|
+
"wix": {
|
|
42
|
+
"artifact": {
|
|
43
|
+
"artifactId": "auto-sdk-atlas-places",
|
|
44
|
+
"groupId": "com.wixpress.public-sdk-dependencies"
|
|
45
|
+
},
|
|
46
|
+
"sdkDependency": {
|
|
47
|
+
"fqdnNamespace": "places",
|
|
48
|
+
"fqdn": "wix.atlas.v2.place"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"falconPackageHash": "df6c7c8c94ada154cdec5738136fb3b87e0a2b7b271b789424346478"
|
|
52
|
+
}
|