/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { storeFinderLocationManagementCreateList } from "../funcs/storeFinderLocationManagementCreateList.js"; import { storeFinderLocationManagementDeleteLocationOrPoint } from "../funcs/storeFinderLocationManagementDeleteLocationOrPoint.js"; import { storeFinderLocationManagementGetLists } from "../funcs/storeFinderLocationManagementGetLists.js"; import { storeFinderLocationManagementUpdateListOrPoint } from "../funcs/storeFinderLocationManagementUpdateListOrPoint.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class LocationManagement extends ClientSDK { /** * LocationServices_LocationManagement_CreateList */ async createList( request?: operations.CreateListRequest | undefined, options?: RequestOptions, ): Promise< operations.LocationServicesLocationManagementCreateListExternalEndpointResponse > { return unwrapAsync(storeFinderLocationManagementCreateList( this, request, options, )); } /** * LocationServices_LocationManagement_DeleteListOrPoint */ async deleteLocationOrPoint( request?: operations.DeleteListOrPointRequest | undefined, options?: RequestOptions, ): Promise< operations.LocationServicesLocationManagementDeleteListOrPointExternalEndpointResponse > { return unwrapAsync(storeFinderLocationManagementDeleteLocationOrPoint( this, request, options, )); } /** * LocationServices_LocationManagement_UpdateListOrPoint */ async updateListOrPoint( request?: operations.UpdateListOrPointRequest | undefined, options?: RequestOptions, ): Promise< operations.LocationServicesLocationManagementUpdateListOrPointExternalEndpointResponse > { return unwrapAsync(storeFinderLocationManagementUpdateListOrPoint( this, request, options, )); } /** * LocationServices_LocationManagement_GetLists */ async getLists( request?: operations.GetListsRequest | undefined, options?: RequestOptions, ): Promise< Array< models.LocationServicesLocationManagementGetListsExternalEndpointResponseItem > > { return unwrapAsync(storeFinderLocationManagementGetLists( this, request, options, )); } }