{"version":3,"sources":["../../src/ecom-v1-pickup-location-pickup-locations.http.ts","../../src/ecom-v1-pickup-location-pickup-locations.types.ts","../../src/ecom-v1-pickup-location-pickup-locations.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEcomV1PickupLocationsUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/pickup-locations',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/pickup-locations',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_pickup-locations';\n\n/** Creates a new PickupLocation */\nexport function createPickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createPickupLocation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'pickupLocation.createdDate' },\n          { path: 'pickupLocation.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.CreatePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/pickup-locations',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocation.createdDate' },\n              { path: 'pickupLocation.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createPickupLocation;\n}\n\n/** Get a PickupLocation by id */\nexport function getPickupLocation(payload: object): RequestOptionsFactory<any> {\n  function __getPickupLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'GET' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.GetPickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/pickup-locations/{pickupLocationId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocation.createdDate' },\n              { path: 'pickupLocation.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'GET' as any,\n          url: resolveWixEcomV1PickupLocationsUrl({\n            protoPath: '/v1/pickup-locations/{pickupLocationId}',\n            data: payload,\n            host,\n          }),\n          params: toURLSearchParams(payload),\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __getPickupLocation;\n}\n\n/**\n * Update a PickupLocation\n * Delivery regions cannot be updated using this method, use AddDeliveryRegion and RemoveDeliveryRegion instead.\n */\nexport function updatePickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updatePickupLocation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'pickupLocation.createdDate' },\n          { path: 'pickupLocation.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.UpdatePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/pickup-locations/{pickupLocation.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocation.createdDate' },\n              { path: 'pickupLocation.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updatePickupLocation;\n}\n\n/** Delete a PickupLocation */\nexport function deletePickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deletePickupLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.DeletePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/pickup-locations/{pickupLocationId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deletePickupLocation;\n}\n\n/** Query PickupLocations using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) */\nexport function queryPickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryPickupLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.QueryPickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/pickup-locations/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocations.createdDate' },\n              { path: 'pickupLocations.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryPickupLocation;\n}\n\n/** Add a DeliveryRegion to a PickupLocation */\nexport function addDeliveryRegion(payload: object): RequestOptionsFactory<any> {\n  function __addDeliveryRegion({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.AddDeliveryRegion',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath:\n          '/v1/pickup-locations/{pickupLocationId}/add-delivery-region',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocation.createdDate' },\n              { path: 'pickupLocation.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __addDeliveryRegion;\n}\n\n/** Remove a DeliveryRegion from a PickupLocation */\nexport function removeDeliveryRegion(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __removeDeliveryRegion({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.RemoveDeliveryRegion',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath:\n          '/v1/pickup-locations/{pickupLocationId}/remove-delivery-region',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocation.createdDate' },\n              { path: 'pickupLocation.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __removeDeliveryRegion;\n}\n\n/** Bulk Create for new PickupLocation */\nexport function bulkCreatePickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreatePickupLocation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'pickupLocations.createdDate' },\n          { path: 'pickupLocations.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'POST' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.BulkCreatePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/bulk/pickup-locations/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocations.createdDate' },\n              { path: 'pickupLocations.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreatePickupLocation;\n}\n\n/** Update a PickupLocation */\nexport function bulkUpdatePickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdatePickupLocation({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'pickupLocations.createdDate' },\n          { path: 'pickupLocations.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.BulkUpdatePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/bulk/pickup-locations/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupLocations.createdDate' },\n              { path: 'pickupLocations.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdatePickupLocation;\n}\n\n/** Delete a PickupLocation */\nexport function bulkDeletePickupLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeletePickupLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.pickup_location',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.ecom.v1.PickupLocations.BulkDeletePickupLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEcomV1PickupLocationsUrl({\n        protoPath: '/v1/bulk/pickup-locations/delete',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeletePickupLocation;\n}\n","/** PickupLocation is the main entity of PickupLocations that can be used for lorem ipsum dolor */\nexport interface PickupLocation {\n  /**\n   * PickupLocation ID\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Represents the time this PickupLocation was created\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Represents the time this PickupLocation was last updated\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Pickup Location Name\n   * @minLength 1\n   * @maxLength 100\n   */\n  name?: string | null;\n  /** Pickup Location Address */\n  address?: Address;\n  /**\n   * Expected delivery time in free text. For example, `\"3-5 business days\"`.\n   * @maxLength 500\n   */\n  deliveryTime?: string | null;\n  /**\n   * Instructions for carrier. For example, `\"Please knock on the door. If unanswered, please call contact number. Thanks.\"`.\n   * @maxLength 1000\n   */\n  instructions?: string | null;\n  /** inactive pickup locations should not be shown in checkout */\n  active?: boolean | null;\n  /**\n   * at runtime for a given pickup input, up to one rate (price) should be returned in an option. If more than one rate is valid then we return the lowest one.\n   * @maxSize 50\n   */\n  rates?: ConditionalRates[];\n  /**\n   * This pickup location is active for the following delivery regions.\n   * @maxSize 50\n   * @format GUID\n   */\n  deliveryRegionIds?: string[];\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n  /** Street name and number. */\n  streetAddress?: StreetAddress;\n  /** @maxLength 150 */\n  addressLine?: string | null;\n  /**\n   * Country code.\n   * @format COUNTRY\n   */\n  country?: string | null;\n  /** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */\n  subdivision?: string | null;\n  city?: string | null;\n  /** Zip/postal code. */\n  postalCode?: string | null;\n  /** @maxLength 100 */\n  addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n  /** Street name and number. */\n  streetAddress?: StreetAddress;\n  /** @maxLength 150 */\n  addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n  number?: string;\n  name?: string;\n}\n\nexport interface ConditionalRates {\n  /**\n   * there is an AND logic between all the conditions. Empty conditions means true.\n   * The amount of the rate that will be returned if all conditions are met.\n   * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n   */\n  amount?: string;\n  /**\n   * For example: weight > 0 and weight <= 10\n   * @maxSize 10\n   */\n  conditions?: Condition[];\n  /** When this flag is set to true, multiply the amount by the number of line items passed on the request. */\n  multiplyByQuantity?: boolean;\n}\n\nexport interface Condition {\n  type?: ConditionTypeWithLiterals;\n  /**\n   * The value in respective to the condition type\n   * Weight values should be in the same weight units of the store: KG / LB\n   * Total price is according to the store currency\n   * Quantity of items should be integers\n   * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n   */\n  value?: string;\n  /** Logical operator. */\n  operator?: LogicalOperatorWithLiterals;\n}\n\nexport enum ConditionType {\n  BY_TOTAL_WEIGHT = 'BY_TOTAL_WEIGHT',\n  BY_TOTAL_PRICE = 'BY_TOTAL_PRICE',\n  BY_TOTAL_QUANTITY = 'BY_TOTAL_QUANTITY',\n}\n\n/** @enumType */\nexport type ConditionTypeWithLiterals =\n  | ConditionType\n  | 'BY_TOTAL_WEIGHT'\n  | 'BY_TOTAL_PRICE'\n  | 'BY_TOTAL_QUANTITY';\n\nexport enum LogicalOperator {\n  EQ = 'EQ',\n  GT = 'GT',\n  GTE = 'GTE',\n  LT = 'LT',\n  LTE = 'LTE',\n}\n\n/** @enumType */\nexport type LogicalOperatorWithLiterals =\n  | LogicalOperator\n  | 'EQ'\n  | 'GT'\n  | 'GTE'\n  | 'LT'\n  | 'LTE';\n\nexport interface DiffmatokyPayload {\n  left?: string;\n  right?: string;\n  compareChannel?: string;\n  entityId?: string;\n  errorInformation?: ErrorInformation;\n  tags?: string[];\n}\n\nexport interface ErrorInformation {\n  stackTrace?: string;\n}\n\nexport interface CreatePickupLocationRequest {\n  /** PickupLocation to be created */\n  pickupLocation: PickupLocation;\n}\n\nexport interface CreatePickupLocationResponse {\n  /** The created PickupLocation */\n  pickupLocation?: PickupLocation;\n}\n\nexport interface GetPickupLocationRequest {\n  /**\n   * Id of the PickupLocation to retrieve\n   * @format GUID\n   */\n  pickupLocationId: string;\n}\n\nexport interface GetPickupLocationResponse {\n  /** The retrieved PickupLocation */\n  pickupLocation?: PickupLocation;\n}\n\nexport interface UpdatePickupLocationRequest {\n  /** PickupLocation to be updated, may be partial */\n  pickupLocation: PickupLocation;\n}\n\nexport interface UpdatePickupLocationResponse {\n  /** The updated PickupLocation */\n  pickupLocation?: PickupLocation;\n}\n\nexport interface DeletePickupLocationRequest {\n  /**\n   * Id of the PickupLocation to delete\n   * @format GUID\n   */\n  pickupLocationId: string;\n}\n\nexport interface DeletePickupLocationResponse {}\n\nexport interface QueryPickupLocationRequest {\n  /** WQL expression */\n  query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n   */\n  sort?: Sorting[];\n  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fields?: string[];\n  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryPickupLocationResponse {\n  /** The retrieved PickupLocations */\n  pickupLocations?: PickupLocation[];\n  /** Paging metadata */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in current page. */\n  count?: number | null;\n  /** Cursor strings that point to the next page, previous page, or both. */\n  cursors?: Cursors;\n  /**\n   * Whether there are more pages to retrieve following the current page.\n   *\n   * + `true`: Another page of results can be retrieved.\n   * + `false`: This is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor string pointing to the next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to the previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface AddDeliveryRegionRequest {\n  /**\n   * Id of the PickupLocation to add to the delivery region\n   * @format GUID\n   */\n  pickupLocationId: string;\n  /**\n   * Id of the DeliveryRegion to add the PickupLocation to\n   * @format GUID\n   */\n  deliveryRegionId: string;\n  /** Revision of the PickupLocation */\n  revision: string | null;\n}\n\nexport interface AddDeliveryRegionResponse {\n  /** The updated PickupLocation */\n  pickupLocation?: PickupLocation;\n}\n\nexport interface RemoveDeliveryRegionRequest {\n  /**\n   * Id of the PickupLocation to add to the delivery region\n   * @format GUID\n   */\n  pickupLocationId: string;\n  /**\n   * Id of the DeliveryRegion to add the PickupLocation to\n   * @format GUID\n   */\n  deliveryRegionId: string;\n  /** Revision of the PickupLocation */\n  revision: string | null;\n}\n\nexport interface RemoveDeliveryRegionResponse {\n  /** The updated PickupLocation */\n  pickupLocation?: PickupLocation;\n}\n\nexport interface BulkCreatePickupLocationRequest {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  pickupLocations: PickupLocation[];\n}\n\nexport interface BulkCreatePickupLocationResponse {\n  /** @maxSize 100 */\n  pickupLocations?: PickupLocation[];\n  errors?: PickupLocationError[];\n}\n\nexport interface PickupLocationError {\n  id?: string;\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdatePickupLocationRequest {\n  /**\n   * @minSize 1\n   * @maxSize 100\n   */\n  pickupLocations: PickupLocation[];\n}\n\nexport interface BulkUpdatePickupLocationResponse {\n  /** @maxSize 100 */\n  pickupLocations?: PickupLocation[];\n  errors?: PickupLocationError[];\n}\n\nexport interface BulkDeletePickupLocationRequest {\n  /**\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  pickupLocationIds: string[];\n}\n\nexport interface BulkDeletePickupLocationResponse {\n  errors?: PickupLocationError[];\n}\n\nexport interface Empty {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreatePickupLocationApplicationErrors =\n  | {\n      code?: 'LOCATIONS_IN_SHIPPING_RULE_LIMIT_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'LOCATIONS_IN_DELIVERY_REGIONS_LIMIT_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'LIMIT_OF_OPTIONS_PER_DELIVERY_REGION_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkCreatePickupLocationApplicationErrors =\n  | {\n      code?: 'LOCATIONS_IN_SHIPPING_RULE_LIMIT_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'LOCATIONS_IN_DELIVERY_REGIONS_LIMIT_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'LIMIT_OF_OPTIONS_PER_DELIVERY_REGION_EXCEEDED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n","import * as ambassadorWixEcomV1PickupLocation from './ecom-v1-pickup-location-pickup-locations.http.js';\nimport * as ambassadorWixEcomV1PickupLocationTypes from './ecom-v1-pickup-location-pickup-locations.types.js';\nimport * as ambassadorWixEcomV1PickupLocationUniversalTypes from './ecom-v1-pickup-location-pickup-locations.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function createPickupLocation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1PickupLocationUniversalTypes.CreatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.CreatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.CreatePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.CreatePickupLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.createPickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/pickup-locations',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getPickupLocation(): __PublicMethodMetaInfo<\n  'GET',\n  { pickupLocationId: string },\n  ambassadorWixEcomV1PickupLocationUniversalTypes.GetPickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.GetPickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.GetPickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.GetPickupLocationResponse\n> {\n  const payload = { pickupLocationId: ':pickupLocationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.getPickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/pickup-locations/{pickupLocationId}',\n    pathParams: { pickupLocationId: 'pickupLocationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function updatePickupLocation(): __PublicMethodMetaInfo<\n  'PATCH',\n  { pickupLocationId: string },\n  ambassadorWixEcomV1PickupLocationUniversalTypes.UpdatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.UpdatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.UpdatePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.UpdatePickupLocationResponse\n> {\n  const payload = { pickupLocation: { id: ':pickupLocationId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.updatePickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/pickup-locations/{pickupLocation.id}',\n    pathParams: { pickupLocationId: 'pickupLocationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deletePickupLocation(): __PublicMethodMetaInfo<\n  'DELETE',\n  { pickupLocationId: string },\n  ambassadorWixEcomV1PickupLocationUniversalTypes.DeletePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.DeletePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.DeletePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.DeletePickupLocationResponse\n> {\n  const payload = { pickupLocationId: ':pickupLocationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.deletePickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/pickup-locations/{pickupLocationId}',\n    pathParams: { pickupLocationId: 'pickupLocationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryPickupLocation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1PickupLocationUniversalTypes.QueryPickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.QueryPickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.QueryPickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.QueryPickupLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.queryPickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/pickup-locations/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function addDeliveryRegion(): __PublicMethodMetaInfo<\n  'POST',\n  { pickupLocationId: string },\n  ambassadorWixEcomV1PickupLocationUniversalTypes.AddDeliveryRegionRequest,\n  ambassadorWixEcomV1PickupLocationTypes.AddDeliveryRegionRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.AddDeliveryRegionResponse,\n  ambassadorWixEcomV1PickupLocationTypes.AddDeliveryRegionResponse\n> {\n  const payload = { pickupLocationId: ':pickupLocationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.addDeliveryRegion(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/pickup-locations/{pickupLocationId}/add-delivery-region',\n    pathParams: { pickupLocationId: 'pickupLocationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function removeDeliveryRegion(): __PublicMethodMetaInfo<\n  'POST',\n  { pickupLocationId: string },\n  ambassadorWixEcomV1PickupLocationUniversalTypes.RemoveDeliveryRegionRequest,\n  ambassadorWixEcomV1PickupLocationTypes.RemoveDeliveryRegionRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.RemoveDeliveryRegionResponse,\n  ambassadorWixEcomV1PickupLocationTypes.RemoveDeliveryRegionResponse\n> {\n  const payload = { pickupLocationId: ':pickupLocationId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.removeDeliveryRegion(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/pickup-locations/{pickupLocationId}/remove-delivery-region',\n    pathParams: { pickupLocationId: 'pickupLocationId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkCreatePickupLocation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkCreatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.BulkCreatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkCreatePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.BulkCreatePickupLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.bulkCreatePickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/bulk/pickup-locations/create',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkUpdatePickupLocation(): __PublicMethodMetaInfo<\n  'PATCH',\n  {},\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkUpdatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.BulkUpdatePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkUpdatePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.BulkUpdatePickupLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.bulkUpdatePickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v1/bulk/pickup-locations/update',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkDeletePickupLocation(): __PublicMethodMetaInfo<\n  'DELETE',\n  {},\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkDeletePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationTypes.BulkDeletePickupLocationRequest,\n  ambassadorWixEcomV1PickupLocationUniversalTypes.BulkDeletePickupLocationResponse,\n  ambassadorWixEcomV1PickupLocationTypes.BulkDeletePickupLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1PickupLocation.bulkDeletePickupLocation(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/bulk/pickup-locations/delete',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  PickupLocation as PickupLocationOriginal,\n  Address as AddressOriginal,\n  AddressStreetOneOf as AddressStreetOneOfOriginal,\n  StreetAddress as StreetAddressOriginal,\n  ConditionalRates as ConditionalRatesOriginal,\n  Condition as ConditionOriginal,\n  ConditionType as ConditionTypeOriginal,\n  ConditionTypeWithLiterals as ConditionTypeWithLiteralsOriginal,\n  LogicalOperator as LogicalOperatorOriginal,\n  LogicalOperatorWithLiterals as LogicalOperatorWithLiteralsOriginal,\n  DiffmatokyPayload as DiffmatokyPayloadOriginal,\n  ErrorInformation as ErrorInformationOriginal,\n  CreatePickupLocationRequest as CreatePickupLocationRequestOriginal,\n  CreatePickupLocationResponse as CreatePickupLocationResponseOriginal,\n  GetPickupLocationRequest as GetPickupLocationRequestOriginal,\n  GetPickupLocationResponse as GetPickupLocationResponseOriginal,\n  UpdatePickupLocationRequest as UpdatePickupLocationRequestOriginal,\n  UpdatePickupLocationResponse as UpdatePickupLocationResponseOriginal,\n  DeletePickupLocationRequest as DeletePickupLocationRequestOriginal,\n  DeletePickupLocationResponse as DeletePickupLocationResponseOriginal,\n  QueryPickupLocationRequest as QueryPickupLocationRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryPickupLocationResponse as QueryPickupLocationResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  AddDeliveryRegionRequest as AddDeliveryRegionRequestOriginal,\n  AddDeliveryRegionResponse as AddDeliveryRegionResponseOriginal,\n  RemoveDeliveryRegionRequest as RemoveDeliveryRegionRequestOriginal,\n  RemoveDeliveryRegionResponse as RemoveDeliveryRegionResponseOriginal,\n  BulkCreatePickupLocationRequest as BulkCreatePickupLocationRequestOriginal,\n  BulkCreatePickupLocationResponse as BulkCreatePickupLocationResponseOriginal,\n  PickupLocationError as PickupLocationErrorOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkUpdatePickupLocationRequest as BulkUpdatePickupLocationRequestOriginal,\n  BulkUpdatePickupLocationResponse as BulkUpdatePickupLocationResponseOriginal,\n  BulkDeletePickupLocationRequest as BulkDeletePickupLocationRequestOriginal,\n  BulkDeletePickupLocationResponse as BulkDeletePickupLocationResponseOriginal,\n  Empty as EmptyOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreatePickupLocationApplicationErrors as CreatePickupLocationApplicationErrorsOriginal,\n  BulkCreatePickupLocationApplicationErrors as BulkCreatePickupLocationApplicationErrorsOriginal,\n} from './ecom-v1-pickup-location-pickup-locations.types.js';\n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","createPickupLocation","getPickupLocation","updatePickupLocation","deletePickupLocation","queryPickupLocation","addDeliveryRegion","removeDeliveryRegion","bulkCreatePickupLocation","bulkUpdatePickupLocation","bulkDeletePickupLocation"]}