@wix/auto_sdk_gbp_locations 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.
Files changed (52) hide show
  1. package/build/cjs/index.d.ts +913 -0
  2. package/build/cjs/index.js +3088 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +6699 -0
  5. package/build/cjs/index.typings.js +2726 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +5220 -0
  8. package/build/cjs/meta.js +2274 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/schemas.d.ts +11094 -0
  11. package/build/cjs/schemas.js +15256 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +913 -0
  14. package/build/es/index.mjs +3002 -0
  15. package/build/es/index.mjs.map +1 -0
  16. package/build/es/index.typings.d.mts +6699 -0
  17. package/build/es/index.typings.mjs +2639 -0
  18. package/build/es/index.typings.mjs.map +1 -0
  19. package/build/es/meta.d.mts +5220 -0
  20. package/build/es/meta.mjs +2186 -0
  21. package/build/es/meta.mjs.map +1 -0
  22. package/build/es/package.json +3 -0
  23. package/build/es/schemas.d.mts +11094 -0
  24. package/build/es/schemas.mjs +15144 -0
  25. package/build/es/schemas.mjs.map +1 -0
  26. package/build/internal/cjs/index.d.ts +933 -0
  27. package/build/internal/cjs/index.js +3088 -0
  28. package/build/internal/cjs/index.js.map +1 -0
  29. package/build/internal/cjs/index.typings.d.ts +6724 -0
  30. package/build/internal/cjs/index.typings.js +2726 -0
  31. package/build/internal/cjs/index.typings.js.map +1 -0
  32. package/build/internal/cjs/meta.d.ts +5267 -0
  33. package/build/internal/cjs/meta.js +2274 -0
  34. package/build/internal/cjs/meta.js.map +1 -0
  35. package/build/internal/cjs/schemas.d.ts +11094 -0
  36. package/build/internal/cjs/schemas.js +15256 -0
  37. package/build/internal/cjs/schemas.js.map +1 -0
  38. package/build/internal/es/index.d.mts +933 -0
  39. package/build/internal/es/index.mjs +3002 -0
  40. package/build/internal/es/index.mjs.map +1 -0
  41. package/build/internal/es/index.typings.d.mts +6724 -0
  42. package/build/internal/es/index.typings.mjs +2639 -0
  43. package/build/internal/es/index.typings.mjs.map +1 -0
  44. package/build/internal/es/meta.d.mts +5267 -0
  45. package/build/internal/es/meta.mjs +2186 -0
  46. package/build/internal/es/meta.mjs.map +1 -0
  47. package/build/internal/es/schemas.d.mts +11094 -0
  48. package/build/internal/es/schemas.mjs +15144 -0
  49. package/build/internal/es/schemas.mjs.map +1 -0
  50. package/meta/package.json +3 -0
  51. package/package.json +61 -0
  52. package/schemas/package.json +3 -0
@@ -0,0 +1,2274 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ AddressFieldTypeOriginal: () => AddressFieldType,
24
+ AmenityExceptionOriginal: () => AmenityException,
25
+ AttributeValueTypeOriginal: () => AttributeValueType,
26
+ BreeamCertificationOriginal: () => BreeamCertification,
27
+ BusinessTypeOriginal: () => BusinessType,
28
+ CategoryViewOriginal: () => CategoryView,
29
+ DailyMetricOriginal: () => DailyMetric,
30
+ DayOfWeekOriginal: () => DayOfWeek,
31
+ EcoCertificateOriginal: () => EcoCertificate,
32
+ LeedCertificationOriginal: () => LeedCertification,
33
+ MatchStatusOriginal: () => MatchStatus,
34
+ MediaCategoryOriginal: () => MediaCategory,
35
+ MediaFormatOriginal: () => MediaFormat,
36
+ RecommendationReasonOriginal: () => RecommendationReason,
37
+ ReviewSortOrderOriginal: () => ReviewSortOrder,
38
+ RoleOriginal: () => Role,
39
+ SortOrderOriginal: () => SortOrder,
40
+ StateOriginal: () => State,
41
+ StatusOriginal: () => Status,
42
+ UnitTierOriginal: () => UnitTier,
43
+ VerificationMethodOriginal: () => VerificationMethod,
44
+ VerificationStateOriginal: () => VerificationState,
45
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
46
+ bulkCreateLocations: () => bulkCreateLocations2,
47
+ bulkDeleteLocations: () => bulkDeleteLocations2,
48
+ completeVerification: () => completeVerification2,
49
+ createGoogleLocation: () => createGoogleLocation2,
50
+ createLocation: () => createLocation2,
51
+ createMedia: () => createMedia2,
52
+ deleteGoogleLocation: () => deleteGoogleLocation2,
53
+ deleteLocation: () => deleteLocation2,
54
+ deleteMedia: () => deleteMedia2,
55
+ deleteReviewReply: () => deleteReviewReply2,
56
+ getAddressSchemaByCountryCode: () => getAddressSchemaByCountryCode2,
57
+ getGbpLocation: () => getGbpLocation2,
58
+ getGoogleLocation: () => getGoogleLocation2,
59
+ getLocationAdmins: () => getLocationAdmins2,
60
+ getLocationAttributes: () => getLocationAttributes2,
61
+ getLocationInsights: () => getLocationInsights2,
62
+ getLocationLodging: () => getLocationLodging2,
63
+ getVerificationOptions: () => getVerificationOptions2,
64
+ getVoiceOfMerchant: () => getVoiceOfMerchant2,
65
+ inviteAdminToLocation: () => inviteAdminToLocation2,
66
+ listAttributeMetadata: () => listAttributeMetadata2,
67
+ listCategories: () => listCategories2,
68
+ listGbpAccounts: () => listGbpAccounts2,
69
+ listMedia: () => listMedia2,
70
+ listReviews: () => listReviews2,
71
+ listSearchKeywordImpressions: () => listSearchKeywordImpressions2,
72
+ listUnimportedLocations: () => listUnimportedLocations2,
73
+ putReviewReply: () => putReviewReply2,
74
+ queryGbpLocations: () => queryGbpLocations2,
75
+ queryGoogleLocations: () => queryGoogleLocations2,
76
+ searchGoogleLocations: () => searchGoogleLocations2,
77
+ startVerification: () => startVerification2,
78
+ suggestEstablishments: () => suggestEstablishments2,
79
+ suggestRegions: () => suggestRegions2,
80
+ updateGoogleLocation: () => updateGoogleLocation2,
81
+ updateLocation: () => updateLocation2,
82
+ updateLocationAttributes: () => updateLocationAttributes2,
83
+ updateLocationFoodMenus: () => updateLocationFoodMenus2,
84
+ updateLocationLodging: () => updateLocationLodging2
85
+ });
86
+ module.exports = __toCommonJS(meta_exports);
87
+
88
+ // src/gbp-location-v1-gbplocation-locations.http.ts
89
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
90
+ var import_float = require("@wix/sdk-runtime/transformations/float");
91
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
92
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
93
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
94
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
95
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
96
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
97
+ function resolveWixGbpLocationV1GbpLocationsServiceUrl(opts) {
98
+ const domainToMappings = {
99
+ "bo._base_domain_": [
100
+ {
101
+ srcPath: "/_api/gbp-location-service",
102
+ destPath: ""
103
+ }
104
+ ],
105
+ "wixbo.ai": [
106
+ {
107
+ srcPath: "/_api/gbp-location-service",
108
+ destPath: ""
109
+ }
110
+ ],
111
+ "wix-bo.com": [
112
+ {
113
+ srcPath: "/_api/gbp-location-service",
114
+ destPath: ""
115
+ }
116
+ ],
117
+ "manage._base_domain_": [
118
+ {
119
+ srcPath: "/_api/gbp-location-service",
120
+ destPath: ""
121
+ }
122
+ ],
123
+ "www.wixapis.com": [
124
+ {
125
+ srcPath: "/gbp/v1/accounts",
126
+ destPath: "/v1/accounts"
127
+ },
128
+ {
129
+ srcPath: "/gbp/v1/address-schema",
130
+ destPath: "/v1/address-schema"
131
+ },
132
+ {
133
+ srcPath: "/gbp/v1/attribute-metadata",
134
+ destPath: "/v1/attribute-metadata"
135
+ },
136
+ {
137
+ srcPath: "/gbp/v1/bulk",
138
+ destPath: "/v1/bulk"
139
+ },
140
+ {
141
+ srcPath: "/gbp/v1/establishments",
142
+ destPath: "/v1/establishments"
143
+ },
144
+ {
145
+ srcPath: "/gbp/v1/google-locations",
146
+ destPath: "/v1/google-locations"
147
+ },
148
+ {
149
+ srcPath: "/gbp/v1/locations",
150
+ destPath: "/v1/locations"
151
+ },
152
+ {
153
+ srcPath: "/gbp/v1/regions",
154
+ destPath: "/v1/regions"
155
+ },
156
+ {
157
+ srcPath: "/gbp/v1/categories",
158
+ destPath: "/v1/categories"
159
+ },
160
+ {
161
+ srcPath: "/gbp/location/v1/categories",
162
+ destPath: "/v1/categories"
163
+ },
164
+ {
165
+ srcPath: "/gbp/location/v1/accounts",
166
+ destPath: "/v1/accounts"
167
+ },
168
+ {
169
+ srcPath: "/gbp/location/v1/address-schema",
170
+ destPath: "/v1/address-schema"
171
+ },
172
+ {
173
+ srcPath: "/gbp/location/v1/attribute-metadata",
174
+ destPath: "/v1/attribute-metadata"
175
+ },
176
+ {
177
+ srcPath: "/gbp/location/v1/bulk",
178
+ destPath: "/v1/bulk"
179
+ },
180
+ {
181
+ srcPath: "/gbp/location/v1/establishments",
182
+ destPath: "/v1/establishments"
183
+ },
184
+ {
185
+ srcPath: "/gbp/location/v1/google-locations",
186
+ destPath: "/v1/google-locations"
187
+ },
188
+ {
189
+ srcPath: "/gbp/location/v1/locations",
190
+ destPath: "/v1/locations"
191
+ },
192
+ {
193
+ srcPath: "/gbp/location/v1/regions",
194
+ destPath: "/v1/regions"
195
+ }
196
+ ],
197
+ "www._base_domain_": [
198
+ {
199
+ srcPath: "/gbp/location/v1/locations",
200
+ destPath: "/v1/locations"
201
+ }
202
+ ]
203
+ };
204
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
205
+ }
206
+ var PACKAGE_NAME = "@wix/auto_sdk_gbp_locations";
207
+ function getGbpLocation(payload) {
208
+ function __getGbpLocation({ host }) {
209
+ const metadata = {
210
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
211
+ method: "GET",
212
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetGBPLocation",
213
+ packageName: PACKAGE_NAME,
214
+ migrationOptions: {
215
+ optInTransformResponse: true
216
+ },
217
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
218
+ protoPath: "/v1/locations/{locationId}",
219
+ data: payload,
220
+ host
221
+ }),
222
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
223
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
224
+ {
225
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
226
+ paths: [
227
+ { path: "gbplocation.createdDate" },
228
+ { path: "gbplocation.updatedDate" }
229
+ ]
230
+ }
231
+ ])
232
+ };
233
+ return metadata;
234
+ }
235
+ return __getGbpLocation;
236
+ }
237
+ function queryGbpLocations(payload) {
238
+ function __queryGbpLocations({ host }) {
239
+ const metadata = {
240
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
241
+ method: "GET",
242
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.QueryGBPLocations",
243
+ packageName: PACKAGE_NAME,
244
+ migrationOptions: {
245
+ optInTransformResponse: true
246
+ },
247
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
248
+ protoPath: "/v1/locations/query",
249
+ data: payload,
250
+ host
251
+ }),
252
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
253
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
254
+ {
255
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
256
+ paths: [
257
+ { path: "locations.createdDate" },
258
+ { path: "locations.updatedDate" }
259
+ ]
260
+ }
261
+ ]),
262
+ fallback: [
263
+ {
264
+ method: "POST",
265
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
266
+ protoPath: "/v1/locations/query",
267
+ data: payload,
268
+ host
269
+ }),
270
+ data: payload
271
+ }
272
+ ]
273
+ };
274
+ return metadata;
275
+ }
276
+ return __queryGbpLocations;
277
+ }
278
+ function queryGoogleLocations(payload) {
279
+ function __queryGoogleLocations({ host }) {
280
+ const metadata = {
281
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
282
+ method: "GET",
283
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.QueryGoogleLocations",
284
+ packageName: PACKAGE_NAME,
285
+ migrationOptions: {
286
+ optInTransformResponse: true
287
+ },
288
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
289
+ protoPath: "/v1/locations/query-with-google",
290
+ data: payload,
291
+ host
292
+ }),
293
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
294
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
295
+ {
296
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
297
+ paths: [
298
+ { path: "locations.googleLocation.latLng.latitude" },
299
+ { path: "locations.googleLocation.latLng.longitude" }
300
+ ]
301
+ },
302
+ {
303
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
304
+ paths: [
305
+ { path: "locations.location.createdDate" },
306
+ { path: "locations.location.updatedDate" }
307
+ ]
308
+ }
309
+ ]),
310
+ fallback: [
311
+ {
312
+ method: "POST",
313
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
314
+ protoPath: "/v1/locations/query-with-google",
315
+ data: payload,
316
+ host
317
+ }),
318
+ data: payload
319
+ }
320
+ ]
321
+ };
322
+ return metadata;
323
+ }
324
+ return __queryGoogleLocations;
325
+ }
326
+ function getGoogleLocation(payload) {
327
+ function __getGoogleLocation({ host }) {
328
+ const metadata = {
329
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
330
+ method: "GET",
331
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetGoogleLocation",
332
+ packageName: PACKAGE_NAME,
333
+ migrationOptions: {
334
+ optInTransformResponse: true
335
+ },
336
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
337
+ protoPath: "/v1/locations/google/{locationId}",
338
+ data: payload,
339
+ host
340
+ }),
341
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
342
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
343
+ {
344
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
345
+ paths: [
346
+ { path: "location.googleLocation.latLng.latitude" },
347
+ { path: "location.googleLocation.latLng.longitude" }
348
+ ]
349
+ },
350
+ {
351
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
352
+ paths: [
353
+ { path: "location.location.createdDate" },
354
+ { path: "location.location.updatedDate" }
355
+ ]
356
+ }
357
+ ])
358
+ };
359
+ return metadata;
360
+ }
361
+ return __getGoogleLocation;
362
+ }
363
+ function createLocation(payload) {
364
+ function __createLocation({ host }) {
365
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
366
+ {
367
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
368
+ paths: [
369
+ { path: "location.createdDate" },
370
+ { path: "location.updatedDate" }
371
+ ]
372
+ }
373
+ ]);
374
+ const metadata = {
375
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
376
+ method: "POST",
377
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.CreateLocation",
378
+ packageName: PACKAGE_NAME,
379
+ migrationOptions: {
380
+ optInTransformResponse: true
381
+ },
382
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
383
+ protoPath: "/v1/locations",
384
+ data: serializedData,
385
+ host
386
+ }),
387
+ data: serializedData,
388
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
389
+ {
390
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
391
+ paths: [
392
+ { path: "location.createdDate" },
393
+ { path: "location.updatedDate" }
394
+ ]
395
+ }
396
+ ])
397
+ };
398
+ return metadata;
399
+ }
400
+ return __createLocation;
401
+ }
402
+ function updateLocation(payload) {
403
+ function __updateLocation({ host }) {
404
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
405
+ {
406
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
407
+ paths: [{ path: "fieldMask" }]
408
+ },
409
+ {
410
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
411
+ paths: [
412
+ { path: "location.createdDate" },
413
+ { path: "location.updatedDate" }
414
+ ]
415
+ }
416
+ ]);
417
+ const metadata = {
418
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
419
+ method: "PATCH",
420
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.UpdateLocation",
421
+ packageName: PACKAGE_NAME,
422
+ migrationOptions: {
423
+ optInTransformResponse: true
424
+ },
425
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
426
+ protoPath: "/v1/locations/{location.id}",
427
+ data: serializedData,
428
+ host
429
+ }),
430
+ data: serializedData,
431
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
432
+ {
433
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
434
+ paths: [
435
+ { path: "location.createdDate" },
436
+ { path: "location.updatedDate" }
437
+ ]
438
+ }
439
+ ])
440
+ };
441
+ return metadata;
442
+ }
443
+ return __updateLocation;
444
+ }
445
+ function deleteLocation(payload) {
446
+ function __deleteLocation({ host }) {
447
+ const metadata = {
448
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
449
+ method: "DELETE",
450
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.DeleteLocation",
451
+ packageName: PACKAGE_NAME,
452
+ migrationOptions: {
453
+ optInTransformResponse: true
454
+ },
455
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
456
+ protoPath: "/v1/locations/{locationId}",
457
+ data: payload,
458
+ host
459
+ }),
460
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
461
+ };
462
+ return metadata;
463
+ }
464
+ return __deleteLocation;
465
+ }
466
+ function createGoogleLocation(payload) {
467
+ function __createGoogleLocation({ host }) {
468
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
469
+ {
470
+ transformFn: import_float.transformSDKFloatToRESTFloat,
471
+ paths: [
472
+ { path: "location.latLng.latitude" },
473
+ { path: "location.latLng.longitude" }
474
+ ]
475
+ }
476
+ ]);
477
+ const metadata = {
478
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
479
+ method: "POST",
480
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.CreateGoogleLocation",
481
+ packageName: PACKAGE_NAME,
482
+ migrationOptions: {
483
+ optInTransformResponse: true
484
+ },
485
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
486
+ protoPath: "/v1/locations/google",
487
+ data: serializedData,
488
+ host
489
+ }),
490
+ data: serializedData,
491
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
492
+ {
493
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
494
+ paths: [
495
+ { path: "location.createdDate" },
496
+ { path: "location.updatedDate" }
497
+ ]
498
+ }
499
+ ])
500
+ };
501
+ return metadata;
502
+ }
503
+ return __createGoogleLocation;
504
+ }
505
+ function deleteGoogleLocation(payload) {
506
+ function __deleteGoogleLocation({ host }) {
507
+ const metadata = {
508
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
509
+ method: "DELETE",
510
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.DeleteGoogleLocation",
511
+ packageName: PACKAGE_NAME,
512
+ migrationOptions: {
513
+ optInTransformResponse: true
514
+ },
515
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
516
+ protoPath: "/v1/locations/google/{locationId}",
517
+ data: payload,
518
+ host
519
+ }),
520
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
521
+ };
522
+ return metadata;
523
+ }
524
+ return __deleteGoogleLocation;
525
+ }
526
+ function updateGoogleLocation(payload) {
527
+ function __updateGoogleLocation({ host }) {
528
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
529
+ {
530
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
531
+ paths: [{ path: "fieldMask" }]
532
+ },
533
+ {
534
+ transformFn: import_float.transformSDKFloatToRESTFloat,
535
+ paths: [
536
+ { path: "location.latLng.latitude" },
537
+ { path: "location.latLng.longitude" }
538
+ ]
539
+ }
540
+ ]);
541
+ const metadata = {
542
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
543
+ method: "PATCH",
544
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.UpdateGoogleLocation",
545
+ packageName: PACKAGE_NAME,
546
+ migrationOptions: {
547
+ optInTransformResponse: true
548
+ },
549
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
550
+ protoPath: "/v1/locations/{locationId}/google",
551
+ data: serializedData,
552
+ host
553
+ }),
554
+ data: serializedData,
555
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
556
+ {
557
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
558
+ paths: [
559
+ { path: "location.latLng.latitude" },
560
+ { path: "location.latLng.longitude" }
561
+ ]
562
+ }
563
+ ])
564
+ };
565
+ return metadata;
566
+ }
567
+ return __updateGoogleLocation;
568
+ }
569
+ function bulkCreateLocations(payload) {
570
+ function __bulkCreateLocations({ host }) {
571
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
572
+ {
573
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
574
+ paths: [
575
+ { path: "locations.createdDate" },
576
+ { path: "locations.updatedDate" }
577
+ ]
578
+ }
579
+ ]);
580
+ const metadata = {
581
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
582
+ method: "POST",
583
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.BulkCreateLocations",
584
+ packageName: PACKAGE_NAME,
585
+ migrationOptions: {
586
+ optInTransformResponse: true
587
+ },
588
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
589
+ protoPath: "/v1/bulk/locations/create",
590
+ data: serializedData,
591
+ host
592
+ }),
593
+ data: serializedData,
594
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
595
+ {
596
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
597
+ paths: [
598
+ { path: "results.item.createdDate" },
599
+ { path: "results.item.updatedDate" }
600
+ ]
601
+ }
602
+ ])
603
+ };
604
+ return metadata;
605
+ }
606
+ return __bulkCreateLocations;
607
+ }
608
+ function bulkDeleteLocations(payload) {
609
+ function __bulkDeleteLocations({ host }) {
610
+ const metadata = {
611
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
612
+ method: "POST",
613
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.BulkDeleteLocations",
614
+ packageName: PACKAGE_NAME,
615
+ migrationOptions: {
616
+ optInTransformResponse: true
617
+ },
618
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
619
+ protoPath: "/v1/bulk/locations/delete",
620
+ data: payload,
621
+ host
622
+ }),
623
+ data: payload
624
+ };
625
+ return metadata;
626
+ }
627
+ return __bulkDeleteLocations;
628
+ }
629
+ function listGbpAccounts(payload) {
630
+ function __listGbpAccounts({ host }) {
631
+ const metadata = {
632
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
633
+ method: "GET",
634
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListGbpAccounts",
635
+ packageName: PACKAGE_NAME,
636
+ migrationOptions: {
637
+ optInTransformResponse: true
638
+ },
639
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
640
+ protoPath: "/v1/accounts",
641
+ data: payload,
642
+ host
643
+ }),
644
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
645
+ };
646
+ return metadata;
647
+ }
648
+ return __listGbpAccounts;
649
+ }
650
+ function listUnimportedLocations(payload) {
651
+ function __listUnimportedLocations({ host }) {
652
+ const metadata = {
653
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
654
+ method: "GET",
655
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListUnimportedLocations",
656
+ packageName: PACKAGE_NAME,
657
+ migrationOptions: {
658
+ optInTransformResponse: true
659
+ },
660
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
661
+ protoPath: "/v1/accounts/{accountId}/locations/unimported",
662
+ data: payload,
663
+ host
664
+ }),
665
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
666
+ };
667
+ return metadata;
668
+ }
669
+ return __listUnimportedLocations;
670
+ }
671
+ function listReviews(payload) {
672
+ function __listReviews({ host }) {
673
+ const metadata = {
674
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
675
+ method: "GET",
676
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListReviews",
677
+ packageName: PACKAGE_NAME,
678
+ migrationOptions: {
679
+ optInTransformResponse: true
680
+ },
681
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
682
+ protoPath: "/v1/locations/{locationId}/reviews",
683
+ data: payload,
684
+ host
685
+ }),
686
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
687
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
688
+ {
689
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
690
+ paths: [{ path: "metrics.averageRating" }]
691
+ }
692
+ ])
693
+ };
694
+ return metadata;
695
+ }
696
+ return __listReviews;
697
+ }
698
+ function putReviewReply(payload) {
699
+ function __putReviewReply({ host }) {
700
+ const metadata = {
701
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
702
+ method: "PUT",
703
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.PutReviewReply",
704
+ packageName: PACKAGE_NAME,
705
+ migrationOptions: {
706
+ optInTransformResponse: true
707
+ },
708
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
709
+ protoPath: "/v1/locations/{locationId}/reviews/{reviewId}/reply",
710
+ data: payload,
711
+ host
712
+ }),
713
+ data: payload
714
+ };
715
+ return metadata;
716
+ }
717
+ return __putReviewReply;
718
+ }
719
+ function deleteReviewReply(payload) {
720
+ function __deleteReviewReply({ host }) {
721
+ const metadata = {
722
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
723
+ method: "DELETE",
724
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.DeleteReviewReply",
725
+ packageName: PACKAGE_NAME,
726
+ migrationOptions: {
727
+ optInTransformResponse: true
728
+ },
729
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
730
+ protoPath: "/v1/locations/{locationId}/reviews/{reviewId}/reply",
731
+ data: payload,
732
+ host
733
+ }),
734
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
735
+ };
736
+ return metadata;
737
+ }
738
+ return __deleteReviewReply;
739
+ }
740
+ function listMedia(payload) {
741
+ function __listMedia({ host }) {
742
+ const metadata = {
743
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
744
+ method: "GET",
745
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListMedia",
746
+ packageName: PACKAGE_NAME,
747
+ migrationOptions: {
748
+ optInTransformResponse: true
749
+ },
750
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
751
+ protoPath: "/v1/locations/{locationId}/media",
752
+ data: payload,
753
+ host
754
+ }),
755
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
756
+ };
757
+ return metadata;
758
+ }
759
+ return __listMedia;
760
+ }
761
+ function createMedia(payload) {
762
+ function __createMedia({ host }) {
763
+ const metadata = {
764
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
765
+ method: "POST",
766
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.CreateMedia",
767
+ packageName: PACKAGE_NAME,
768
+ migrationOptions: {
769
+ optInTransformResponse: true
770
+ },
771
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
772
+ protoPath: "/v1/locations/{locationId}/media",
773
+ data: payload,
774
+ host
775
+ }),
776
+ data: payload
777
+ };
778
+ return metadata;
779
+ }
780
+ return __createMedia;
781
+ }
782
+ function deleteMedia(payload) {
783
+ function __deleteMedia({ host }) {
784
+ const metadata = {
785
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
786
+ method: "DELETE",
787
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.DeleteMedia",
788
+ packageName: PACKAGE_NAME,
789
+ migrationOptions: {
790
+ optInTransformResponse: true
791
+ },
792
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
793
+ protoPath: "/v1/locations/{locationId}/media/{mediaKey}",
794
+ data: payload,
795
+ host
796
+ }),
797
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
798
+ };
799
+ return metadata;
800
+ }
801
+ return __deleteMedia;
802
+ }
803
+ function updateLocationFoodMenus(payload) {
804
+ function __updateLocationFoodMenus({ host }) {
805
+ const metadata = {
806
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
807
+ method: "PATCH",
808
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.UpdateLocationFoodMenus",
809
+ packageName: PACKAGE_NAME,
810
+ migrationOptions: {
811
+ optInTransformResponse: true
812
+ },
813
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
814
+ protoPath: "/v1/locations/{locationId}/food-menus",
815
+ data: payload,
816
+ host
817
+ }),
818
+ data: payload
819
+ };
820
+ return metadata;
821
+ }
822
+ return __updateLocationFoodMenus;
823
+ }
824
+ function updateLocationAttributes(payload) {
825
+ function __updateLocationAttributes({ host }) {
826
+ const metadata = {
827
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
828
+ method: "PATCH",
829
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.UpdateLocationAttributes",
830
+ packageName: PACKAGE_NAME,
831
+ migrationOptions: {
832
+ optInTransformResponse: true
833
+ },
834
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
835
+ protoPath: "/v1/locations/{locationId}/attributes",
836
+ data: payload,
837
+ host
838
+ }),
839
+ data: payload
840
+ };
841
+ return metadata;
842
+ }
843
+ return __updateLocationAttributes;
844
+ }
845
+ function getLocationAttributes(payload) {
846
+ function __getLocationAttributes({ host }) {
847
+ const metadata = {
848
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
849
+ method: "GET",
850
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetLocationAttributes",
851
+ packageName: PACKAGE_NAME,
852
+ migrationOptions: {
853
+ optInTransformResponse: true
854
+ },
855
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
856
+ protoPath: "/v1/locations/{locationId}/attributes",
857
+ data: payload,
858
+ host
859
+ }),
860
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
861
+ };
862
+ return metadata;
863
+ }
864
+ return __getLocationAttributes;
865
+ }
866
+ function getLocationLodging(payload) {
867
+ function __getLocationLodging({ host }) {
868
+ const metadata = {
869
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
870
+ method: "GET",
871
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetLocationLodging",
872
+ packageName: PACKAGE_NAME,
873
+ migrationOptions: {
874
+ optInTransformResponse: true
875
+ },
876
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
877
+ protoPath: "/v1/locations/{locationId}/lodging",
878
+ data: payload,
879
+ host
880
+ }),
881
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
882
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
883
+ {
884
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
885
+ paths: [
886
+ {
887
+ path: "lodging.allUnits.totalLivingAreas.layout.livingAreaSqMeters"
888
+ },
889
+ { path: "lodging.commonLivingArea.layout.livingAreaSqMeters" },
890
+ {
891
+ path: "lodging.guestUnits.features.totalLivingAreas.layout.livingAreaSqMeters"
892
+ },
893
+ {
894
+ path: "lodging.someUnits.totalLivingAreas.layout.livingAreaSqMeters"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
900
+ paths: [{ path: "lodging.metadata.updateTime" }]
901
+ }
902
+ ])
903
+ };
904
+ return metadata;
905
+ }
906
+ return __getLocationLodging;
907
+ }
908
+ function updateLocationLodging(payload) {
909
+ function __updateLocationLodging({ host }) {
910
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
911
+ {
912
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
913
+ paths: [{ path: "fieldMask" }]
914
+ },
915
+ {
916
+ transformFn: import_float.transformSDKFloatToRESTFloat,
917
+ paths: [
918
+ {
919
+ path: "lodging.allUnits.totalLivingAreas.layout.livingAreaSqMeters"
920
+ },
921
+ { path: "lodging.commonLivingArea.layout.livingAreaSqMeters" },
922
+ {
923
+ path: "lodging.guestUnits.features.totalLivingAreas.layout.livingAreaSqMeters"
924
+ },
925
+ {
926
+ path: "lodging.someUnits.totalLivingAreas.layout.livingAreaSqMeters"
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
932
+ paths: [{ path: "lodging.metadata.updateTime" }]
933
+ }
934
+ ]);
935
+ const metadata = {
936
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
937
+ method: "PATCH",
938
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.UpdateLocationLodging",
939
+ packageName: PACKAGE_NAME,
940
+ migrationOptions: {
941
+ optInTransformResponse: true
942
+ },
943
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
944
+ protoPath: "/v1/locations/{locationId}/lodging",
945
+ data: serializedData,
946
+ host
947
+ }),
948
+ data: serializedData,
949
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
950
+ {
951
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
952
+ paths: [
953
+ {
954
+ path: "lodging.allUnits.totalLivingAreas.layout.livingAreaSqMeters"
955
+ },
956
+ { path: "lodging.commonLivingArea.layout.livingAreaSqMeters" },
957
+ {
958
+ path: "lodging.guestUnits.features.totalLivingAreas.layout.livingAreaSqMeters"
959
+ },
960
+ {
961
+ path: "lodging.someUnits.totalLivingAreas.layout.livingAreaSqMeters"
962
+ }
963
+ ]
964
+ },
965
+ {
966
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
967
+ paths: [{ path: "lodging.metadata.updateTime" }]
968
+ }
969
+ ])
970
+ };
971
+ return metadata;
972
+ }
973
+ return __updateLocationLodging;
974
+ }
975
+ function listAttributeMetadata(payload) {
976
+ function __listAttributeMetadata({ host }) {
977
+ const metadata = {
978
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
979
+ method: "GET",
980
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListAttributeMetadata",
981
+ packageName: PACKAGE_NAME,
982
+ migrationOptions: {
983
+ optInTransformResponse: true
984
+ },
985
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
986
+ protoPath: "/v1/attribute-metadata",
987
+ data: payload,
988
+ host
989
+ }),
990
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
991
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
992
+ {
993
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
994
+ paths: [{ path: "attributeMetadata.valueMetadata.numberValue" }]
995
+ }
996
+ ])
997
+ };
998
+ return metadata;
999
+ }
1000
+ return __listAttributeMetadata;
1001
+ }
1002
+ function listCategories(payload) {
1003
+ function __listCategories({ host }) {
1004
+ const metadata = {
1005
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1006
+ method: "GET",
1007
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListCategories",
1008
+ packageName: PACKAGE_NAME,
1009
+ migrationOptions: {
1010
+ optInTransformResponse: true
1011
+ },
1012
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1013
+ protoPath: "/v1/categories",
1014
+ data: payload,
1015
+ host
1016
+ }),
1017
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1018
+ };
1019
+ return metadata;
1020
+ }
1021
+ return __listCategories;
1022
+ }
1023
+ function getVerificationOptions(payload) {
1024
+ function __getVerificationOptions({ host }) {
1025
+ const metadata = {
1026
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1027
+ method: "POST",
1028
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetVerificationOptions",
1029
+ packageName: PACKAGE_NAME,
1030
+ migrationOptions: {
1031
+ optInTransformResponse: true
1032
+ },
1033
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1034
+ protoPath: "/v1/locations/{locationId}:getVerificationOptions",
1035
+ data: payload,
1036
+ host
1037
+ }),
1038
+ data: payload
1039
+ };
1040
+ return metadata;
1041
+ }
1042
+ return __getVerificationOptions;
1043
+ }
1044
+ function startVerification(payload) {
1045
+ function __startVerification({ host }) {
1046
+ const metadata = {
1047
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1048
+ method: "POST",
1049
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.StartVerification",
1050
+ packageName: PACKAGE_NAME,
1051
+ migrationOptions: {
1052
+ optInTransformResponse: true
1053
+ },
1054
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1055
+ protoPath: "/v1/locations/{locationId}:startVerification",
1056
+ data: payload,
1057
+ host
1058
+ }),
1059
+ data: payload
1060
+ };
1061
+ return metadata;
1062
+ }
1063
+ return __startVerification;
1064
+ }
1065
+ function completeVerification(payload) {
1066
+ function __completeVerification({ host }) {
1067
+ const metadata = {
1068
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1069
+ method: "POST",
1070
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.CompleteVerification",
1071
+ packageName: PACKAGE_NAME,
1072
+ migrationOptions: {
1073
+ optInTransformResponse: true
1074
+ },
1075
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1076
+ protoPath: "/v1/locations/{locationId}:completeVerification",
1077
+ data: payload,
1078
+ host
1079
+ }),
1080
+ data: payload
1081
+ };
1082
+ return metadata;
1083
+ }
1084
+ return __completeVerification;
1085
+ }
1086
+ function getVoiceOfMerchant(payload) {
1087
+ function __getVoiceOfMerchant({ host }) {
1088
+ const metadata = {
1089
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1090
+ method: "GET",
1091
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetVoiceOfMerchant",
1092
+ packageName: PACKAGE_NAME,
1093
+ migrationOptions: {
1094
+ optInTransformResponse: true
1095
+ },
1096
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1097
+ protoPath: "/v1/locations/{locationId}/voice-of-merchant",
1098
+ data: payload,
1099
+ host
1100
+ }),
1101
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1102
+ };
1103
+ return metadata;
1104
+ }
1105
+ return __getVoiceOfMerchant;
1106
+ }
1107
+ function getLocationInsights(payload) {
1108
+ function __getLocationInsights({ host }) {
1109
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1110
+ {
1111
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
1112
+ paths: [{ path: "timeRange.startDate" }, { path: "timeRange.endDate" }]
1113
+ }
1114
+ ]);
1115
+ const metadata = {
1116
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1117
+ method: "GET",
1118
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetLocationInsights",
1119
+ packageName: PACKAGE_NAME,
1120
+ migrationOptions: {
1121
+ optInTransformResponse: true
1122
+ },
1123
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1124
+ protoPath: "/v1/locations/{locationId}/insights",
1125
+ data: serializedData,
1126
+ host
1127
+ }),
1128
+ params: (0, import_rest_modules.toURLSearchParams)(serializedData),
1129
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1130
+ {
1131
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1132
+ paths: [{ path: "metrics.dailyValues.date" }]
1133
+ }
1134
+ ])
1135
+ };
1136
+ return metadata;
1137
+ }
1138
+ return __getLocationInsights;
1139
+ }
1140
+ function listSearchKeywordImpressions(payload) {
1141
+ function __listSearchKeywordImpressions({ host }) {
1142
+ const metadata = {
1143
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1144
+ method: "GET",
1145
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.ListSearchKeywordImpressions",
1146
+ packageName: PACKAGE_NAME,
1147
+ migrationOptions: {
1148
+ optInTransformResponse: true
1149
+ },
1150
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1151
+ protoPath: "/v1/locations/{locationId}/search-keyword-impressions",
1152
+ data: payload,
1153
+ host
1154
+ }),
1155
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1156
+ };
1157
+ return metadata;
1158
+ }
1159
+ return __listSearchKeywordImpressions;
1160
+ }
1161
+ function inviteAdminToLocation(payload) {
1162
+ function __inviteAdminToLocation({ host }) {
1163
+ const metadata = {
1164
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1165
+ method: "POST",
1166
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.InviteAdminToLocation",
1167
+ packageName: PACKAGE_NAME,
1168
+ migrationOptions: {
1169
+ optInTransformResponse: true
1170
+ },
1171
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1172
+ protoPath: "/v1/locations/{locationId}/invite-admin",
1173
+ data: payload,
1174
+ host
1175
+ }),
1176
+ data: payload
1177
+ };
1178
+ return metadata;
1179
+ }
1180
+ return __inviteAdminToLocation;
1181
+ }
1182
+ function getLocationAdmins(payload) {
1183
+ function __getLocationAdmins({ host }) {
1184
+ const metadata = {
1185
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1186
+ method: "GET",
1187
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetLocationAdmins",
1188
+ packageName: PACKAGE_NAME,
1189
+ migrationOptions: {
1190
+ optInTransformResponse: true
1191
+ },
1192
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1193
+ protoPath: "/v1/locations/{locationId}/admins",
1194
+ data: payload,
1195
+ host
1196
+ }),
1197
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1198
+ };
1199
+ return metadata;
1200
+ }
1201
+ return __getLocationAdmins;
1202
+ }
1203
+ function getAddressSchemaByCountryCode(payload) {
1204
+ function __getAddressSchemaByCountryCode({ host }) {
1205
+ const metadata = {
1206
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1207
+ method: "GET",
1208
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.GetAddressSchemaByCountryCode",
1209
+ packageName: PACKAGE_NAME,
1210
+ migrationOptions: {
1211
+ optInTransformResponse: true
1212
+ },
1213
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1214
+ protoPath: "/v1/address-schema/{countryCode}",
1215
+ data: payload,
1216
+ host
1217
+ }),
1218
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
1219
+ };
1220
+ return metadata;
1221
+ }
1222
+ return __getAddressSchemaByCountryCode;
1223
+ }
1224
+ function suggestRegions(payload) {
1225
+ function __suggestRegions({ host }) {
1226
+ const metadata = {
1227
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1228
+ method: "POST",
1229
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.SuggestRegions",
1230
+ packageName: PACKAGE_NAME,
1231
+ migrationOptions: {
1232
+ optInTransformResponse: true
1233
+ },
1234
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1235
+ protoPath: "/v1/regions/suggest",
1236
+ data: payload,
1237
+ host
1238
+ }),
1239
+ data: payload
1240
+ };
1241
+ return metadata;
1242
+ }
1243
+ return __suggestRegions;
1244
+ }
1245
+ function suggestEstablishments(payload) {
1246
+ function __suggestEstablishments({ host }) {
1247
+ const metadata = {
1248
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1249
+ method: "POST",
1250
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.SuggestEstablishments",
1251
+ packageName: PACKAGE_NAME,
1252
+ migrationOptions: {
1253
+ optInTransformResponse: true
1254
+ },
1255
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1256
+ protoPath: "/v1/establishments/suggest",
1257
+ data: payload,
1258
+ host
1259
+ }),
1260
+ data: payload
1261
+ };
1262
+ return metadata;
1263
+ }
1264
+ return __suggestEstablishments;
1265
+ }
1266
+ function searchGoogleLocations(payload) {
1267
+ function __searchGoogleLocations({ host }) {
1268
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
1269
+ {
1270
+ transformFn: import_float.transformSDKFloatToRESTFloat,
1271
+ paths: [
1272
+ { path: "location.latLng.latitude" },
1273
+ { path: "location.latLng.longitude" }
1274
+ ]
1275
+ }
1276
+ ]);
1277
+ const metadata = {
1278
+ entityFqdn: "wix.gbp.location.v1.gbplocation",
1279
+ method: "POST",
1280
+ methodFqn: "wix.gbp.location.v1.GbpLocationsService.SearchGoogleLocations",
1281
+ packageName: PACKAGE_NAME,
1282
+ migrationOptions: {
1283
+ optInTransformResponse: true
1284
+ },
1285
+ url: resolveWixGbpLocationV1GbpLocationsServiceUrl({
1286
+ protoPath: "/v1/google-locations/search",
1287
+ data: serializedData,
1288
+ host
1289
+ }),
1290
+ data: serializedData,
1291
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1292
+ {
1293
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1294
+ paths: [
1295
+ { path: "matches.location.latLng.latitude" },
1296
+ { path: "matches.location.latLng.longitude" }
1297
+ ]
1298
+ }
1299
+ ])
1300
+ };
1301
+ return metadata;
1302
+ }
1303
+ return __searchGoogleLocations;
1304
+ }
1305
+
1306
+ // src/gbp-location-v1-gbplocation-locations.types.ts
1307
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1308
+ SortOrder2["ASC"] = "ASC";
1309
+ SortOrder2["DESC"] = "DESC";
1310
+ return SortOrder2;
1311
+ })(SortOrder || {});
1312
+ var BusinessType = /* @__PURE__ */ ((BusinessType2) => {
1313
+ BusinessType2["CUSTOMER_LOCATION_ONLY"] = "CUSTOMER_LOCATION_ONLY";
1314
+ BusinessType2["CUSTOMER_AND_BUSINESS_LOCATION"] = "CUSTOMER_AND_BUSINESS_LOCATION";
1315
+ return BusinessType2;
1316
+ })(BusinessType || {});
1317
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
1318
+ DayOfWeek2["MONDAY"] = "MONDAY";
1319
+ DayOfWeek2["TUESDAY"] = "TUESDAY";
1320
+ DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
1321
+ DayOfWeek2["THURSDAY"] = "THURSDAY";
1322
+ DayOfWeek2["FRIDAY"] = "FRIDAY";
1323
+ DayOfWeek2["SATURDAY"] = "SATURDAY";
1324
+ DayOfWeek2["SUNDAY"] = "SUNDAY";
1325
+ return DayOfWeek2;
1326
+ })(DayOfWeek || {});
1327
+ var Status = /* @__PURE__ */ ((Status2) => {
1328
+ Status2["OPEN"] = "OPEN";
1329
+ Status2["CLOSED_PERMANENTLY"] = "CLOSED_PERMANENTLY";
1330
+ Status2["CLOSED_TEMPORARILY"] = "CLOSED_TEMPORARILY";
1331
+ return Status2;
1332
+ })(Status || {});
1333
+ var State = /* @__PURE__ */ ((State2) => {
1334
+ State2["WAIT_FOR_VOICE_OF_MERCHANT"] = "WAIT_FOR_VOICE_OF_MERCHANT";
1335
+ State2["RESOLVE_OWNERSHIP_CONFLICT"] = "RESOLVE_OWNERSHIP_CONFLICT";
1336
+ State2["COMPLY_WITH_GUIDELINES"] = "COMPLY_WITH_GUIDELINES";
1337
+ State2["VERIFY"] = "VERIFY";
1338
+ return State2;
1339
+ })(State || {});
1340
+ var RecommendationReason = /* @__PURE__ */ ((RecommendationReason2) => {
1341
+ RecommendationReason2["BUSINESS_LOCATION_SUSPENDED"] = "BUSINESS_LOCATION_SUSPENDED";
1342
+ RecommendationReason2["BUSINESS_LOCATION_DISABLED"] = "BUSINESS_LOCATION_DISABLED";
1343
+ return RecommendationReason2;
1344
+ })(RecommendationReason || {});
1345
+ var ReviewSortOrder = /* @__PURE__ */ ((ReviewSortOrder2) => {
1346
+ ReviewSortOrder2["NEWEST"] = "NEWEST";
1347
+ ReviewSortOrder2["HIGHEST_RATING"] = "HIGHEST_RATING";
1348
+ ReviewSortOrder2["LOWEST_RATING"] = "LOWEST_RATING";
1349
+ return ReviewSortOrder2;
1350
+ })(ReviewSortOrder || {});
1351
+ var MediaFormat = /* @__PURE__ */ ((MediaFormat2) => {
1352
+ MediaFormat2["PHOTO"] = "PHOTO";
1353
+ MediaFormat2["VIDEO"] = "VIDEO";
1354
+ return MediaFormat2;
1355
+ })(MediaFormat || {});
1356
+ var MediaCategory = /* @__PURE__ */ ((MediaCategory2) => {
1357
+ MediaCategory2["COVER"] = "COVER";
1358
+ MediaCategory2["PROFILE"] = "PROFILE";
1359
+ MediaCategory2["LOGO"] = "LOGO";
1360
+ MediaCategory2["EXTERIOR"] = "EXTERIOR";
1361
+ MediaCategory2["INTERIOR"] = "INTERIOR";
1362
+ MediaCategory2["PRODUCT"] = "PRODUCT";
1363
+ MediaCategory2["AT_WORK"] = "AT_WORK";
1364
+ MediaCategory2["FOOD_AND_DRINK"] = "FOOD_AND_DRINK";
1365
+ MediaCategory2["MENU"] = "MENU";
1366
+ MediaCategory2["COMMON_AREA"] = "COMMON_AREA";
1367
+ MediaCategory2["ROOMS"] = "ROOMS";
1368
+ MediaCategory2["TEAMS"] = "TEAMS";
1369
+ MediaCategory2["ADDITIONAL"] = "ADDITIONAL";
1370
+ return MediaCategory2;
1371
+ })(MediaCategory || {});
1372
+ var AmenityException = /* @__PURE__ */ ((AmenityException2) => {
1373
+ AmenityException2["UNDER_CONSTRUCTION"] = "UNDER_CONSTRUCTION";
1374
+ AmenityException2["DEPENDENT_ON_SEASON"] = "DEPENDENT_ON_SEASON";
1375
+ AmenityException2["DEPENDENT_ON_DAY_OF_WEEK"] = "DEPENDENT_ON_DAY_OF_WEEK";
1376
+ return AmenityException2;
1377
+ })(AmenityException || {});
1378
+ var EcoCertificate = /* @__PURE__ */ ((EcoCertificate2) => {
1379
+ EcoCertificate2["ISO14001"] = "ISO14001";
1380
+ EcoCertificate2["ISO50001"] = "ISO50001";
1381
+ EcoCertificate2["ASIAN_ECOTOURISM"] = "ASIAN_ECOTOURISM";
1382
+ EcoCertificate2["BIOSPHERE_RESPOSNIBLE_TOURISM"] = "BIOSPHERE_RESPOSNIBLE_TOURISM";
1383
+ EcoCertificate2["BUREAU_VERITAS"] = "BUREAU_VERITAS";
1384
+ EcoCertificate2["CONTROL_UNION"] = "CONTROL_UNION";
1385
+ EcoCertificate2["EARTHCHECK"] = "EARTHCHECK";
1386
+ EcoCertificate2["ECO_CERTIFICATION_MALTA"] = "ECO_CERTIFICATION_MALTA";
1387
+ EcoCertificate2["ECOTOURISM_AUSTRALIAS_ECO"] = "ECOTOURISM_AUSTRALIAS_ECO";
1388
+ EcoCertificate2["GREAT_GREEN_DEAL"] = "GREAT_GREEN_DEAL";
1389
+ EcoCertificate2["GREEN_GLOBE"] = "GREEN_GLOBE";
1390
+ EcoCertificate2["GREEN_GROWTH2050"] = "GREEN_GROWTH2050";
1391
+ EcoCertificate2["GREEN_KEY"] = "GREEN_KEY";
1392
+ EcoCertificate2["GREEN_KEY_ECO_RATING"] = "GREEN_KEY_ECO_RATING";
1393
+ EcoCertificate2["GREEN_SEAL"] = "GREEN_SEAL";
1394
+ EcoCertificate2["GREEN_STAR"] = "GREEN_STAR";
1395
+ EcoCertificate2["GREEN_TOURISM_ACTIVE"] = "GREEN_TOURISM_ACTIVE";
1396
+ EcoCertificate2["HILTON_LIGHTSTAY"] = "HILTON_LIGHTSTAY";
1397
+ EcoCertificate2["HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY"] = "HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY";
1398
+ EcoCertificate2["HOTELES_MAS_VERDES"] = "HOTELES_MAS_VERDES";
1399
+ EcoCertificate2["NORDIC_SWAN_ECOLABEL"] = "NORDIC_SWAN_ECOLABEL";
1400
+ EcoCertificate2["PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM"] = "PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM";
1401
+ EcoCertificate2["SUSTAINABLE_TRAVEL_IRELAND"] = "SUSTAINABLE_TRAVEL_IRELAND";
1402
+ EcoCertificate2["TOF_TIGERS_INITITIVES_PUG"] = "TOF_TIGERS_INITITIVES_PUG";
1403
+ EcoCertificate2["TRAVELIFE"] = "TRAVELIFE";
1404
+ EcoCertificate2["UNITED_CERTIFICATION_SYSTEMS_LIMITED"] = "UNITED_CERTIFICATION_SYSTEMS_LIMITED";
1405
+ EcoCertificate2["VIREO_SRL"] = "VIREO_SRL";
1406
+ return EcoCertificate2;
1407
+ })(EcoCertificate || {});
1408
+ var UnitTier = /* @__PURE__ */ ((UnitTier2) => {
1409
+ UnitTier2["STANDARD_UNIT"] = "STANDARD_UNIT";
1410
+ UnitTier2["DELUXE_UNIT"] = "DELUXE_UNIT";
1411
+ return UnitTier2;
1412
+ })(UnitTier || {});
1413
+ var BreeamCertification = /* @__PURE__ */ ((BreeamCertification2) => {
1414
+ BreeamCertification2["NO_BREEAM_CERTIFICATION"] = "NO_BREEAM_CERTIFICATION";
1415
+ BreeamCertification2["BREEAM_PASS"] = "BREEAM_PASS";
1416
+ BreeamCertification2["BREEAM_GOOD"] = "BREEAM_GOOD";
1417
+ BreeamCertification2["BREEAM_VERY_GOOD"] = "BREEAM_VERY_GOOD";
1418
+ BreeamCertification2["BREEAM_EXCELLENT"] = "BREEAM_EXCELLENT";
1419
+ BreeamCertification2["BREEAM_OUTSTANDING"] = "BREEAM_OUTSTANDING";
1420
+ return BreeamCertification2;
1421
+ })(BreeamCertification || {});
1422
+ var LeedCertification = /* @__PURE__ */ ((LeedCertification2) => {
1423
+ LeedCertification2["NO_LEED_CERTIFICATION"] = "NO_LEED_CERTIFICATION";
1424
+ LeedCertification2["LEED_CERTIFIED"] = "LEED_CERTIFIED";
1425
+ LeedCertification2["LEED_SILVER"] = "LEED_SILVER";
1426
+ LeedCertification2["LEED_GOLD"] = "LEED_GOLD";
1427
+ LeedCertification2["LEED_PLATINUM"] = "LEED_PLATINUM";
1428
+ return LeedCertification2;
1429
+ })(LeedCertification || {});
1430
+ var AttributeValueType = /* @__PURE__ */ ((AttributeValueType2) => {
1431
+ AttributeValueType2["BOOL"] = "BOOL";
1432
+ AttributeValueType2["ENUM"] = "ENUM";
1433
+ AttributeValueType2["URL"] = "URL";
1434
+ AttributeValueType2["REPEATED_ENUM"] = "REPEATED_ENUM";
1435
+ return AttributeValueType2;
1436
+ })(AttributeValueType || {});
1437
+ var CategoryView = /* @__PURE__ */ ((CategoryView2) => {
1438
+ CategoryView2["BASIC"] = "BASIC";
1439
+ CategoryView2["FULL"] = "FULL";
1440
+ return CategoryView2;
1441
+ })(CategoryView || {});
1442
+ var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
1443
+ VerificationMethod2["ADDRESS"] = "ADDRESS";
1444
+ VerificationMethod2["EMAIL"] = "EMAIL";
1445
+ VerificationMethod2["PHONE_CALL"] = "PHONE_CALL";
1446
+ VerificationMethod2["SMS"] = "SMS";
1447
+ VerificationMethod2["AUTO"] = "AUTO";
1448
+ return VerificationMethod2;
1449
+ })(VerificationMethod || {});
1450
+ var VerificationState = /* @__PURE__ */ ((VerificationState2) => {
1451
+ VerificationState2["UNVERIFIED"] = "UNVERIFIED";
1452
+ VerificationState2["PENDING_VERIFICATION"] = "PENDING_VERIFICATION";
1453
+ VerificationState2["VERIFIED"] = "VERIFIED";
1454
+ return VerificationState2;
1455
+ })(VerificationState || {});
1456
+ var DailyMetric = /* @__PURE__ */ ((DailyMetric2) => {
1457
+ DailyMetric2["BUSINESS_IMPRESSIONS_DESKTOP_MAPS"] = "BUSINESS_IMPRESSIONS_DESKTOP_MAPS";
1458
+ DailyMetric2["BUSINESS_IMPRESSIONS_DESKTOP_SEARCH"] = "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH";
1459
+ DailyMetric2["BUSINESS_IMPRESSIONS_MOBILE_MAPS"] = "BUSINESS_IMPRESSIONS_MOBILE_MAPS";
1460
+ DailyMetric2["BUSINESS_IMPRESSIONS_MOBILE_SEARCH"] = "BUSINESS_IMPRESSIONS_MOBILE_SEARCH";
1461
+ DailyMetric2["BUSINESS_CONVERSATIONS"] = "BUSINESS_CONVERSATIONS";
1462
+ DailyMetric2["BUSINESS_DIRECTION_REQUESTS"] = "BUSINESS_DIRECTION_REQUESTS";
1463
+ DailyMetric2["CALL_CLICKS"] = "CALL_CLICKS";
1464
+ DailyMetric2["WEBSITE_CLICKS"] = "WEBSITE_CLICKS";
1465
+ DailyMetric2["BUSINESS_BOOKINGS"] = "BUSINESS_BOOKINGS";
1466
+ DailyMetric2["BUSINESS_FOOD_ORDERS"] = "BUSINESS_FOOD_ORDERS";
1467
+ DailyMetric2["BUSINESS_FOOD_MENU_CLICKS"] = "BUSINESS_FOOD_MENU_CLICKS";
1468
+ return DailyMetric2;
1469
+ })(DailyMetric || {});
1470
+ var Role = /* @__PURE__ */ ((Role2) => {
1471
+ Role2["UNKNOWN"] = "UNKNOWN";
1472
+ Role2["ADMIN_ROLE_UNSPECIFIED"] = "ADMIN_ROLE_UNSPECIFIED";
1473
+ Role2["MANAGER"] = "MANAGER";
1474
+ Role2["OWNER"] = "OWNER";
1475
+ Role2["PRIMARY_OWNER"] = "PRIMARY_OWNER";
1476
+ Role2["SITE_MANAGER"] = "SITE_MANAGER";
1477
+ return Role2;
1478
+ })(Role || {});
1479
+ var AddressFieldType = /* @__PURE__ */ ((AddressFieldType2) => {
1480
+ AddressFieldType2["NAME"] = "NAME";
1481
+ AddressFieldType2["ORGANIZATION"] = "ORGANIZATION";
1482
+ AddressFieldType2["STREET_ADDRESS"] = "STREET_ADDRESS";
1483
+ AddressFieldType2["DEPENDENT_LOCALITY"] = "DEPENDENT_LOCALITY";
1484
+ AddressFieldType2["LOCALITY"] = "LOCALITY";
1485
+ AddressFieldType2["ADMIN_AREA"] = "ADMIN_AREA";
1486
+ AddressFieldType2["POSTAL_CODE"] = "POSTAL_CODE";
1487
+ AddressFieldType2["SORTING_CODE"] = "SORTING_CODE";
1488
+ return AddressFieldType2;
1489
+ })(AddressFieldType || {});
1490
+ var MatchStatus = /* @__PURE__ */ ((MatchStatus2) => {
1491
+ MatchStatus2["CLAIMABLE"] = "CLAIMABLE";
1492
+ MatchStatus2["OWNED_ELSEWHERE"] = "OWNED_ELSEWHERE";
1493
+ return MatchStatus2;
1494
+ })(MatchStatus || {});
1495
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1496
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1497
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1498
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1499
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1500
+ WebhookIdentityType2["APP"] = "APP";
1501
+ return WebhookIdentityType2;
1502
+ })(WebhookIdentityType || {});
1503
+
1504
+ // src/gbp-location-v1-gbplocation-locations.meta.ts
1505
+ function getGbpLocation2() {
1506
+ const payload = { locationId: ":locationId" };
1507
+ const getRequestOptions = getGbpLocation(payload);
1508
+ const getUrl = (context) => {
1509
+ const { url } = getRequestOptions(context);
1510
+ return url;
1511
+ };
1512
+ return {
1513
+ getUrl,
1514
+ httpMethod: "GET",
1515
+ path: "/v1/locations/{locationId}",
1516
+ pathParams: { locationId: "locationId" },
1517
+ __requestType: null,
1518
+ __originalRequestType: null,
1519
+ __responseType: null,
1520
+ __originalResponseType: null
1521
+ };
1522
+ }
1523
+ function queryGbpLocations2() {
1524
+ const payload = {};
1525
+ const getRequestOptions = queryGbpLocations(payload);
1526
+ const getUrl = (context) => {
1527
+ const { url } = getRequestOptions(context);
1528
+ return url;
1529
+ };
1530
+ return {
1531
+ getUrl,
1532
+ httpMethod: "GET",
1533
+ path: "/v1/locations/query",
1534
+ pathParams: {},
1535
+ __requestType: null,
1536
+ __originalRequestType: null,
1537
+ __responseType: null,
1538
+ __originalResponseType: null
1539
+ };
1540
+ }
1541
+ function queryGoogleLocations2() {
1542
+ const payload = {};
1543
+ const getRequestOptions = queryGoogleLocations(payload);
1544
+ const getUrl = (context) => {
1545
+ const { url } = getRequestOptions(context);
1546
+ return url;
1547
+ };
1548
+ return {
1549
+ getUrl,
1550
+ httpMethod: "GET",
1551
+ path: "/v1/locations/query-with-google",
1552
+ pathParams: {},
1553
+ __requestType: null,
1554
+ __originalRequestType: null,
1555
+ __responseType: null,
1556
+ __originalResponseType: null
1557
+ };
1558
+ }
1559
+ function getGoogleLocation2() {
1560
+ const payload = { locationId: ":locationId" };
1561
+ const getRequestOptions = getGoogleLocation(payload);
1562
+ const getUrl = (context) => {
1563
+ const { url } = getRequestOptions(context);
1564
+ return url;
1565
+ };
1566
+ return {
1567
+ getUrl,
1568
+ httpMethod: "GET",
1569
+ path: "/v1/locations/google/{locationId}",
1570
+ pathParams: { locationId: "locationId" },
1571
+ __requestType: null,
1572
+ __originalRequestType: null,
1573
+ __responseType: null,
1574
+ __originalResponseType: null
1575
+ };
1576
+ }
1577
+ function createLocation2() {
1578
+ const payload = {};
1579
+ const getRequestOptions = createLocation(payload);
1580
+ const getUrl = (context) => {
1581
+ const { url } = getRequestOptions(context);
1582
+ return url;
1583
+ };
1584
+ return {
1585
+ getUrl,
1586
+ httpMethod: "POST",
1587
+ path: "/v1/locations",
1588
+ pathParams: {},
1589
+ __requestType: null,
1590
+ __originalRequestType: null,
1591
+ __responseType: null,
1592
+ __originalResponseType: null
1593
+ };
1594
+ }
1595
+ function updateLocation2() {
1596
+ const payload = { location: { id: ":locationId" } };
1597
+ const getRequestOptions = updateLocation(payload);
1598
+ const getUrl = (context) => {
1599
+ const { url } = getRequestOptions(context);
1600
+ return url;
1601
+ };
1602
+ return {
1603
+ getUrl,
1604
+ httpMethod: "PATCH",
1605
+ path: "/v1/locations/{location.id}",
1606
+ pathParams: { locationId: "locationId" },
1607
+ __requestType: null,
1608
+ __originalRequestType: null,
1609
+ __responseType: null,
1610
+ __originalResponseType: null
1611
+ };
1612
+ }
1613
+ function deleteLocation2() {
1614
+ const payload = { locationId: ":locationId" };
1615
+ const getRequestOptions = deleteLocation(payload);
1616
+ const getUrl = (context) => {
1617
+ const { url } = getRequestOptions(context);
1618
+ return url;
1619
+ };
1620
+ return {
1621
+ getUrl,
1622
+ httpMethod: "DELETE",
1623
+ path: "/v1/locations/{locationId}",
1624
+ pathParams: { locationId: "locationId" },
1625
+ __requestType: null,
1626
+ __originalRequestType: null,
1627
+ __responseType: null,
1628
+ __originalResponseType: null
1629
+ };
1630
+ }
1631
+ function createGoogleLocation2() {
1632
+ const payload = {};
1633
+ const getRequestOptions = createGoogleLocation(payload);
1634
+ const getUrl = (context) => {
1635
+ const { url } = getRequestOptions(context);
1636
+ return url;
1637
+ };
1638
+ return {
1639
+ getUrl,
1640
+ httpMethod: "POST",
1641
+ path: "/v1/locations/google",
1642
+ pathParams: {},
1643
+ __requestType: null,
1644
+ __originalRequestType: null,
1645
+ __responseType: null,
1646
+ __originalResponseType: null
1647
+ };
1648
+ }
1649
+ function deleteGoogleLocation2() {
1650
+ const payload = { locationId: ":locationId" };
1651
+ const getRequestOptions = deleteGoogleLocation(payload);
1652
+ const getUrl = (context) => {
1653
+ const { url } = getRequestOptions(context);
1654
+ return url;
1655
+ };
1656
+ return {
1657
+ getUrl,
1658
+ httpMethod: "DELETE",
1659
+ path: "/v1/locations/google/{locationId}",
1660
+ pathParams: { locationId: "locationId" },
1661
+ __requestType: null,
1662
+ __originalRequestType: null,
1663
+ __responseType: null,
1664
+ __originalResponseType: null
1665
+ };
1666
+ }
1667
+ function updateGoogleLocation2() {
1668
+ const payload = { locationId: ":locationId" };
1669
+ const getRequestOptions = updateGoogleLocation(payload);
1670
+ const getUrl = (context) => {
1671
+ const { url } = getRequestOptions(context);
1672
+ return url;
1673
+ };
1674
+ return {
1675
+ getUrl,
1676
+ httpMethod: "PATCH",
1677
+ path: "/v1/locations/{locationId}/google",
1678
+ pathParams: { locationId: "locationId" },
1679
+ __requestType: null,
1680
+ __originalRequestType: null,
1681
+ __responseType: null,
1682
+ __originalResponseType: null
1683
+ };
1684
+ }
1685
+ function bulkCreateLocations2() {
1686
+ const payload = {};
1687
+ const getRequestOptions = bulkCreateLocations(payload);
1688
+ const getUrl = (context) => {
1689
+ const { url } = getRequestOptions(context);
1690
+ return url;
1691
+ };
1692
+ return {
1693
+ getUrl,
1694
+ httpMethod: "POST",
1695
+ path: "/v1/bulk/locations/create",
1696
+ pathParams: {},
1697
+ __requestType: null,
1698
+ __originalRequestType: null,
1699
+ __responseType: null,
1700
+ __originalResponseType: null
1701
+ };
1702
+ }
1703
+ function bulkDeleteLocations2() {
1704
+ const payload = {};
1705
+ const getRequestOptions = bulkDeleteLocations(payload);
1706
+ const getUrl = (context) => {
1707
+ const { url } = getRequestOptions(context);
1708
+ return url;
1709
+ };
1710
+ return {
1711
+ getUrl,
1712
+ httpMethod: "POST",
1713
+ path: "/v1/bulk/locations/delete",
1714
+ pathParams: {},
1715
+ __requestType: null,
1716
+ __originalRequestType: null,
1717
+ __responseType: null,
1718
+ __originalResponseType: null
1719
+ };
1720
+ }
1721
+ function listGbpAccounts2() {
1722
+ const payload = {};
1723
+ const getRequestOptions = listGbpAccounts(payload);
1724
+ const getUrl = (context) => {
1725
+ const { url } = getRequestOptions(context);
1726
+ return url;
1727
+ };
1728
+ return {
1729
+ getUrl,
1730
+ httpMethod: "GET",
1731
+ path: "/v1/accounts",
1732
+ pathParams: {},
1733
+ __requestType: null,
1734
+ __originalRequestType: null,
1735
+ __responseType: null,
1736
+ __originalResponseType: null
1737
+ };
1738
+ }
1739
+ function listUnimportedLocations2() {
1740
+ const payload = { accountId: ":accountId" };
1741
+ const getRequestOptions = listUnimportedLocations(payload);
1742
+ const getUrl = (context) => {
1743
+ const { url } = getRequestOptions(context);
1744
+ return url;
1745
+ };
1746
+ return {
1747
+ getUrl,
1748
+ httpMethod: "GET",
1749
+ path: "/v1/accounts/{accountId}/locations/unimported",
1750
+ pathParams: { accountId: "accountId" },
1751
+ __requestType: null,
1752
+ __originalRequestType: null,
1753
+ __responseType: null,
1754
+ __originalResponseType: null
1755
+ };
1756
+ }
1757
+ function listReviews2() {
1758
+ const payload = { locationId: ":locationId" };
1759
+ const getRequestOptions = listReviews(payload);
1760
+ const getUrl = (context) => {
1761
+ const { url } = getRequestOptions(context);
1762
+ return url;
1763
+ };
1764
+ return {
1765
+ getUrl,
1766
+ httpMethod: "GET",
1767
+ path: "/v1/locations/{locationId}/reviews",
1768
+ pathParams: { locationId: "locationId" },
1769
+ __requestType: null,
1770
+ __originalRequestType: null,
1771
+ __responseType: null,
1772
+ __originalResponseType: null
1773
+ };
1774
+ }
1775
+ function putReviewReply2() {
1776
+ const payload = { locationId: ":locationId", reviewId: ":reviewId" };
1777
+ const getRequestOptions = putReviewReply(payload);
1778
+ const getUrl = (context) => {
1779
+ const { url } = getRequestOptions(context);
1780
+ return url;
1781
+ };
1782
+ return {
1783
+ getUrl,
1784
+ httpMethod: "PUT",
1785
+ path: "/v1/locations/{locationId}/reviews/{reviewId}/reply",
1786
+ pathParams: { locationId: "locationId", reviewId: "reviewId" },
1787
+ __requestType: null,
1788
+ __originalRequestType: null,
1789
+ __responseType: null,
1790
+ __originalResponseType: null
1791
+ };
1792
+ }
1793
+ function deleteReviewReply2() {
1794
+ const payload = { locationId: ":locationId", reviewId: ":reviewId" };
1795
+ const getRequestOptions = deleteReviewReply(payload);
1796
+ const getUrl = (context) => {
1797
+ const { url } = getRequestOptions(context);
1798
+ return url;
1799
+ };
1800
+ return {
1801
+ getUrl,
1802
+ httpMethod: "DELETE",
1803
+ path: "/v1/locations/{locationId}/reviews/{reviewId}/reply",
1804
+ pathParams: { locationId: "locationId", reviewId: "reviewId" },
1805
+ __requestType: null,
1806
+ __originalRequestType: null,
1807
+ __responseType: null,
1808
+ __originalResponseType: null
1809
+ };
1810
+ }
1811
+ function listMedia2() {
1812
+ const payload = { locationId: ":locationId" };
1813
+ const getRequestOptions = listMedia(payload);
1814
+ const getUrl = (context) => {
1815
+ const { url } = getRequestOptions(context);
1816
+ return url;
1817
+ };
1818
+ return {
1819
+ getUrl,
1820
+ httpMethod: "GET",
1821
+ path: "/v1/locations/{locationId}/media",
1822
+ pathParams: { locationId: "locationId" },
1823
+ __requestType: null,
1824
+ __originalRequestType: null,
1825
+ __responseType: null,
1826
+ __originalResponseType: null
1827
+ };
1828
+ }
1829
+ function createMedia2() {
1830
+ const payload = { locationId: ":locationId" };
1831
+ const getRequestOptions = createMedia(payload);
1832
+ const getUrl = (context) => {
1833
+ const { url } = getRequestOptions(context);
1834
+ return url;
1835
+ };
1836
+ return {
1837
+ getUrl,
1838
+ httpMethod: "POST",
1839
+ path: "/v1/locations/{locationId}/media",
1840
+ pathParams: { locationId: "locationId" },
1841
+ __requestType: null,
1842
+ __originalRequestType: null,
1843
+ __responseType: null,
1844
+ __originalResponseType: null
1845
+ };
1846
+ }
1847
+ function deleteMedia2() {
1848
+ const payload = { locationId: ":locationId", mediaKey: ":mediaKey" };
1849
+ const getRequestOptions = deleteMedia(payload);
1850
+ const getUrl = (context) => {
1851
+ const { url } = getRequestOptions(context);
1852
+ return url;
1853
+ };
1854
+ return {
1855
+ getUrl,
1856
+ httpMethod: "DELETE",
1857
+ path: "/v1/locations/{locationId}/media/{mediaKey}",
1858
+ pathParams: { locationId: "locationId", mediaKey: "mediaKey" },
1859
+ __requestType: null,
1860
+ __originalRequestType: null,
1861
+ __responseType: null,
1862
+ __originalResponseType: null
1863
+ };
1864
+ }
1865
+ function updateLocationFoodMenus2() {
1866
+ const payload = { locationId: ":locationId" };
1867
+ const getRequestOptions = updateLocationFoodMenus(payload);
1868
+ const getUrl = (context) => {
1869
+ const { url } = getRequestOptions(context);
1870
+ return url;
1871
+ };
1872
+ return {
1873
+ getUrl,
1874
+ httpMethod: "PATCH",
1875
+ path: "/v1/locations/{locationId}/food-menus",
1876
+ pathParams: { locationId: "locationId" },
1877
+ __requestType: null,
1878
+ __originalRequestType: null,
1879
+ __responseType: null,
1880
+ __originalResponseType: null
1881
+ };
1882
+ }
1883
+ function updateLocationAttributes2() {
1884
+ const payload = { locationId: ":locationId" };
1885
+ const getRequestOptions = updateLocationAttributes(payload);
1886
+ const getUrl = (context) => {
1887
+ const { url } = getRequestOptions(context);
1888
+ return url;
1889
+ };
1890
+ return {
1891
+ getUrl,
1892
+ httpMethod: "PATCH",
1893
+ path: "/v1/locations/{locationId}/attributes",
1894
+ pathParams: { locationId: "locationId" },
1895
+ __requestType: null,
1896
+ __originalRequestType: null,
1897
+ __responseType: null,
1898
+ __originalResponseType: null
1899
+ };
1900
+ }
1901
+ function getLocationAttributes2() {
1902
+ const payload = { locationId: ":locationId" };
1903
+ const getRequestOptions = getLocationAttributes(payload);
1904
+ const getUrl = (context) => {
1905
+ const { url } = getRequestOptions(context);
1906
+ return url;
1907
+ };
1908
+ return {
1909
+ getUrl,
1910
+ httpMethod: "GET",
1911
+ path: "/v1/locations/{locationId}/attributes",
1912
+ pathParams: { locationId: "locationId" },
1913
+ __requestType: null,
1914
+ __originalRequestType: null,
1915
+ __responseType: null,
1916
+ __originalResponseType: null
1917
+ };
1918
+ }
1919
+ function getLocationLodging2() {
1920
+ const payload = { locationId: ":locationId" };
1921
+ const getRequestOptions = getLocationLodging(payload);
1922
+ const getUrl = (context) => {
1923
+ const { url } = getRequestOptions(context);
1924
+ return url;
1925
+ };
1926
+ return {
1927
+ getUrl,
1928
+ httpMethod: "GET",
1929
+ path: "/v1/locations/{locationId}/lodging",
1930
+ pathParams: { locationId: "locationId" },
1931
+ __requestType: null,
1932
+ __originalRequestType: null,
1933
+ __responseType: null,
1934
+ __originalResponseType: null
1935
+ };
1936
+ }
1937
+ function updateLocationLodging2() {
1938
+ const payload = { locationId: ":locationId" };
1939
+ const getRequestOptions = updateLocationLodging(payload);
1940
+ const getUrl = (context) => {
1941
+ const { url } = getRequestOptions(context);
1942
+ return url;
1943
+ };
1944
+ return {
1945
+ getUrl,
1946
+ httpMethod: "PATCH",
1947
+ path: "/v1/locations/{locationId}/lodging",
1948
+ pathParams: { locationId: "locationId" },
1949
+ __requestType: null,
1950
+ __originalRequestType: null,
1951
+ __responseType: null,
1952
+ __originalResponseType: null
1953
+ };
1954
+ }
1955
+ function listAttributeMetadata2() {
1956
+ const payload = {};
1957
+ const getRequestOptions = listAttributeMetadata(payload);
1958
+ const getUrl = (context) => {
1959
+ const { url } = getRequestOptions(context);
1960
+ return url;
1961
+ };
1962
+ return {
1963
+ getUrl,
1964
+ httpMethod: "GET",
1965
+ path: "/v1/attribute-metadata",
1966
+ pathParams: {},
1967
+ __requestType: null,
1968
+ __originalRequestType: null,
1969
+ __responseType: null,
1970
+ __originalResponseType: null
1971
+ };
1972
+ }
1973
+ function listCategories2() {
1974
+ const payload = {};
1975
+ const getRequestOptions = listCategories(payload);
1976
+ const getUrl = (context) => {
1977
+ const { url } = getRequestOptions(context);
1978
+ return url;
1979
+ };
1980
+ return {
1981
+ getUrl,
1982
+ httpMethod: "GET",
1983
+ path: "/v1/categories",
1984
+ pathParams: {},
1985
+ __requestType: null,
1986
+ __originalRequestType: null,
1987
+ __responseType: null,
1988
+ __originalResponseType: null
1989
+ };
1990
+ }
1991
+ function getVerificationOptions2() {
1992
+ const payload = { locationId: ":locationId" };
1993
+ const getRequestOptions = getVerificationOptions(payload);
1994
+ const getUrl = (context) => {
1995
+ const { url } = getRequestOptions(context);
1996
+ return url;
1997
+ };
1998
+ return {
1999
+ getUrl,
2000
+ httpMethod: "POST",
2001
+ path: "/v1/locations/{locationId}:getVerificationOptions",
2002
+ pathParams: { locationId: "locationId" },
2003
+ __requestType: null,
2004
+ __originalRequestType: null,
2005
+ __responseType: null,
2006
+ __originalResponseType: null
2007
+ };
2008
+ }
2009
+ function startVerification2() {
2010
+ const payload = { locationId: ":locationId" };
2011
+ const getRequestOptions = startVerification(payload);
2012
+ const getUrl = (context) => {
2013
+ const { url } = getRequestOptions(context);
2014
+ return url;
2015
+ };
2016
+ return {
2017
+ getUrl,
2018
+ httpMethod: "POST",
2019
+ path: "/v1/locations/{locationId}:startVerification",
2020
+ pathParams: { locationId: "locationId" },
2021
+ __requestType: null,
2022
+ __originalRequestType: null,
2023
+ __responseType: null,
2024
+ __originalResponseType: null
2025
+ };
2026
+ }
2027
+ function completeVerification2() {
2028
+ const payload = { locationId: ":locationId" };
2029
+ const getRequestOptions = completeVerification(payload);
2030
+ const getUrl = (context) => {
2031
+ const { url } = getRequestOptions(context);
2032
+ return url;
2033
+ };
2034
+ return {
2035
+ getUrl,
2036
+ httpMethod: "POST",
2037
+ path: "/v1/locations/{locationId}:completeVerification",
2038
+ pathParams: { locationId: "locationId" },
2039
+ __requestType: null,
2040
+ __originalRequestType: null,
2041
+ __responseType: null,
2042
+ __originalResponseType: null
2043
+ };
2044
+ }
2045
+ function getVoiceOfMerchant2() {
2046
+ const payload = { locationId: ":locationId" };
2047
+ const getRequestOptions = getVoiceOfMerchant(payload);
2048
+ const getUrl = (context) => {
2049
+ const { url } = getRequestOptions(context);
2050
+ return url;
2051
+ };
2052
+ return {
2053
+ getUrl,
2054
+ httpMethod: "GET",
2055
+ path: "/v1/locations/{locationId}/voice-of-merchant",
2056
+ pathParams: { locationId: "locationId" },
2057
+ __requestType: null,
2058
+ __originalRequestType: null,
2059
+ __responseType: null,
2060
+ __originalResponseType: null
2061
+ };
2062
+ }
2063
+ function getLocationInsights2() {
2064
+ const payload = { locationId: ":locationId" };
2065
+ const getRequestOptions = getLocationInsights(payload);
2066
+ const getUrl = (context) => {
2067
+ const { url } = getRequestOptions(context);
2068
+ return url;
2069
+ };
2070
+ return {
2071
+ getUrl,
2072
+ httpMethod: "GET",
2073
+ path: "/v1/locations/{locationId}/insights",
2074
+ pathParams: { locationId: "locationId" },
2075
+ __requestType: null,
2076
+ __originalRequestType: null,
2077
+ __responseType: null,
2078
+ __originalResponseType: null
2079
+ };
2080
+ }
2081
+ function listSearchKeywordImpressions2() {
2082
+ const payload = { locationId: ":locationId" };
2083
+ const getRequestOptions = listSearchKeywordImpressions(payload);
2084
+ const getUrl = (context) => {
2085
+ const { url } = getRequestOptions(context);
2086
+ return url;
2087
+ };
2088
+ return {
2089
+ getUrl,
2090
+ httpMethod: "GET",
2091
+ path: "/v1/locations/{locationId}/search-keyword-impressions",
2092
+ pathParams: { locationId: "locationId" },
2093
+ __requestType: null,
2094
+ __originalRequestType: null,
2095
+ __responseType: null,
2096
+ __originalResponseType: null
2097
+ };
2098
+ }
2099
+ function inviteAdminToLocation2() {
2100
+ const payload = { locationId: ":locationId" };
2101
+ const getRequestOptions = inviteAdminToLocation(payload);
2102
+ const getUrl = (context) => {
2103
+ const { url } = getRequestOptions(context);
2104
+ return url;
2105
+ };
2106
+ return {
2107
+ getUrl,
2108
+ httpMethod: "POST",
2109
+ path: "/v1/locations/{locationId}/invite-admin",
2110
+ pathParams: { locationId: "locationId" },
2111
+ __requestType: null,
2112
+ __originalRequestType: null,
2113
+ __responseType: null,
2114
+ __originalResponseType: null
2115
+ };
2116
+ }
2117
+ function getLocationAdmins2() {
2118
+ const payload = { locationId: ":locationId" };
2119
+ const getRequestOptions = getLocationAdmins(payload);
2120
+ const getUrl = (context) => {
2121
+ const { url } = getRequestOptions(context);
2122
+ return url;
2123
+ };
2124
+ return {
2125
+ getUrl,
2126
+ httpMethod: "GET",
2127
+ path: "/v1/locations/{locationId}/admins",
2128
+ pathParams: { locationId: "locationId" },
2129
+ __requestType: null,
2130
+ __originalRequestType: null,
2131
+ __responseType: null,
2132
+ __originalResponseType: null
2133
+ };
2134
+ }
2135
+ function getAddressSchemaByCountryCode2() {
2136
+ const payload = { countryCode: ":countryCode" };
2137
+ const getRequestOptions = getAddressSchemaByCountryCode(
2138
+ payload
2139
+ );
2140
+ const getUrl = (context) => {
2141
+ const { url } = getRequestOptions(context);
2142
+ return url;
2143
+ };
2144
+ return {
2145
+ getUrl,
2146
+ httpMethod: "GET",
2147
+ path: "/v1/address-schema/{countryCode}",
2148
+ pathParams: { countryCode: "countryCode" },
2149
+ __requestType: null,
2150
+ __originalRequestType: null,
2151
+ __responseType: null,
2152
+ __originalResponseType: null
2153
+ };
2154
+ }
2155
+ function suggestRegions2() {
2156
+ const payload = {};
2157
+ const getRequestOptions = suggestRegions(payload);
2158
+ const getUrl = (context) => {
2159
+ const { url } = getRequestOptions(context);
2160
+ return url;
2161
+ };
2162
+ return {
2163
+ getUrl,
2164
+ httpMethod: "POST",
2165
+ path: "/v1/regions/suggest",
2166
+ pathParams: {},
2167
+ __requestType: null,
2168
+ __originalRequestType: null,
2169
+ __responseType: null,
2170
+ __originalResponseType: null
2171
+ };
2172
+ }
2173
+ function suggestEstablishments2() {
2174
+ const payload = {};
2175
+ const getRequestOptions = suggestEstablishments(payload);
2176
+ const getUrl = (context) => {
2177
+ const { url } = getRequestOptions(context);
2178
+ return url;
2179
+ };
2180
+ return {
2181
+ getUrl,
2182
+ httpMethod: "POST",
2183
+ path: "/v1/establishments/suggest",
2184
+ pathParams: {},
2185
+ __requestType: null,
2186
+ __originalRequestType: null,
2187
+ __responseType: null,
2188
+ __originalResponseType: null
2189
+ };
2190
+ }
2191
+ function searchGoogleLocations2() {
2192
+ const payload = {};
2193
+ const getRequestOptions = searchGoogleLocations(payload);
2194
+ const getUrl = (context) => {
2195
+ const { url } = getRequestOptions(context);
2196
+ return url;
2197
+ };
2198
+ return {
2199
+ getUrl,
2200
+ httpMethod: "POST",
2201
+ path: "/v1/google-locations/search",
2202
+ pathParams: {},
2203
+ __requestType: null,
2204
+ __originalRequestType: null,
2205
+ __responseType: null,
2206
+ __originalResponseType: null
2207
+ };
2208
+ }
2209
+ // Annotate the CommonJS export names for ESM import in node:
2210
+ 0 && (module.exports = {
2211
+ AddressFieldTypeOriginal,
2212
+ AmenityExceptionOriginal,
2213
+ AttributeValueTypeOriginal,
2214
+ BreeamCertificationOriginal,
2215
+ BusinessTypeOriginal,
2216
+ CategoryViewOriginal,
2217
+ DailyMetricOriginal,
2218
+ DayOfWeekOriginal,
2219
+ EcoCertificateOriginal,
2220
+ LeedCertificationOriginal,
2221
+ MatchStatusOriginal,
2222
+ MediaCategoryOriginal,
2223
+ MediaFormatOriginal,
2224
+ RecommendationReasonOriginal,
2225
+ ReviewSortOrderOriginal,
2226
+ RoleOriginal,
2227
+ SortOrderOriginal,
2228
+ StateOriginal,
2229
+ StatusOriginal,
2230
+ UnitTierOriginal,
2231
+ VerificationMethodOriginal,
2232
+ VerificationStateOriginal,
2233
+ WebhookIdentityTypeOriginal,
2234
+ bulkCreateLocations,
2235
+ bulkDeleteLocations,
2236
+ completeVerification,
2237
+ createGoogleLocation,
2238
+ createLocation,
2239
+ createMedia,
2240
+ deleteGoogleLocation,
2241
+ deleteLocation,
2242
+ deleteMedia,
2243
+ deleteReviewReply,
2244
+ getAddressSchemaByCountryCode,
2245
+ getGbpLocation,
2246
+ getGoogleLocation,
2247
+ getLocationAdmins,
2248
+ getLocationAttributes,
2249
+ getLocationInsights,
2250
+ getLocationLodging,
2251
+ getVerificationOptions,
2252
+ getVoiceOfMerchant,
2253
+ inviteAdminToLocation,
2254
+ listAttributeMetadata,
2255
+ listCategories,
2256
+ listGbpAccounts,
2257
+ listMedia,
2258
+ listReviews,
2259
+ listSearchKeywordImpressions,
2260
+ listUnimportedLocations,
2261
+ putReviewReply,
2262
+ queryGbpLocations,
2263
+ queryGoogleLocations,
2264
+ searchGoogleLocations,
2265
+ startVerification,
2266
+ suggestEstablishments,
2267
+ suggestRegions,
2268
+ updateGoogleLocation,
2269
+ updateLocation,
2270
+ updateLocationAttributes,
2271
+ updateLocationFoodMenus,
2272
+ updateLocationLodging
2273
+ });
2274
+ //# sourceMappingURL=meta.js.map