{"version":3,"sources":["../../../src/localdelivery-spi-v1-tpa-local-delivery-spi.http.ts","../../../src/localdelivery-spi-v1-tpa-local-delivery-spi.types.ts","../../../src/localdelivery-spi-v1-tpa-local-delivery-spi.meta.ts"],"sourcesContent":["import { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\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 resolveComWixpressLocaldeliverySpiV1LocalDeliveryProviderUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {};\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_local-delivery-spi';\n\n/** Retrieves list of account belongs to given instance */\nexport function listAccountIds(payload: object): RequestOptionsFactory<any> {\n  function __listAccountIds({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.localdelivery.spi.v1.tpa',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.localdelivery.spi.v1.LocalDeliveryProvider.ListAccountIds',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressLocaldeliverySpiV1LocalDeliveryProviderUrl({\n        protoPath: '/account-ids',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __listAccountIds;\n}\n\n/** Retrieves the delivery vendor business status */\nexport function businessStatus(payload: object): RequestOptionsFactory<any> {\n  function __businessStatus({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.localdelivery.spi.v1.tpa',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.localdelivery.spi.v1.LocalDeliveryProvider.BusinessStatus',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressLocaldeliverySpiV1LocalDeliveryProviderUrl({\n        protoPath: '/business-status',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __businessStatus;\n}\n\n/** Retrieves an estimate of the delivery */\nexport function estimateDelivery(payload: object): RequestOptionsFactory<any> {\n  function __estimateDelivery({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'pickupTime' }, { path: 'dropoffTime' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'pickupAddress.geocode.latitude' },\n          { path: 'pickupAddress.geocode.longitude' },\n          { path: 'dropoffAddress.geocode.latitude' },\n          { path: 'dropoffAddress.geocode.longitude' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.localdelivery.spi.v1.tpa',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.localdelivery.spi.v1.LocalDeliveryProvider.EstimateDelivery',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressLocaldeliverySpiV1LocalDeliveryProviderUrl({\n        protoPath: '/estimate-delivery',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'promisedPickupTime' },\n              { path: 'promisedDropoffTime' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __estimateDelivery;\n}\n\n/** Creates a new delivery order */\nexport function createDelivery(payload: object): RequestOptionsFactory<any> {\n  function __createDelivery({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [{ path: 'pickupTime' }, { path: 'dropoffTime' }],\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: [\n          { path: 'pickupAddress.geocode.latitude' },\n          { path: 'pickupAddress.geocode.longitude' },\n          { path: 'dropoffAddress.geocode.latitude' },\n          { path: 'dropoffAddress.geocode.longitude' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.localdelivery.spi.v1.tpa',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.localdelivery.spi.v1.LocalDeliveryProvider.CreateDelivery',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressLocaldeliverySpiV1LocalDeliveryProviderUrl({\n        protoPath: '/create-delivery',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'pickupWindowStartTime' },\n              { path: 'pickupWindowEndTime' },\n              { path: 'dropoffWindowStartTime' },\n              { path: 'dropoffWindowEndTime' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createDelivery;\n}\n","export interface Tpa {}\n\nexport interface ListAccountIdsRequest {\n  /**\n   * Instance ID.\n   * @format GUID\n   */\n  instanceId: string;\n}\n\nexport interface ListAccountIdsResponse {\n  /** Account IDs. */\n  accountIds?: string[];\n}\n\nexport interface BusinessStatusRequest {\n  /**\n   * Instance ID.\n   * @format GUID\n   */\n  instanceId: string;\n  /** Account ID. */\n  accountId: string;\n}\n\nexport interface BusinessStatusResponse {\n  /** List of statue. */\n  status?: BusinessStatusWithLiterals;\n  /** The reason for the error in free text. */\n  failureReasonMessage?: string | null;\n}\n\n/** Business Status. */\nexport enum BusinessStatus {\n  NONE = 'NONE',\n  READY = 'READY',\n  PENDING = 'PENDING',\n  ERROR = 'ERROR',\n  NOT_STARTED = 'NOT_STARTED',\n}\n\n/** @enumType */\nexport type BusinessStatusWithLiterals =\n  | BusinessStatus\n  | 'NONE'\n  | 'READY'\n  | 'PENDING'\n  | 'ERROR'\n  | 'NOT_STARTED';\n\nexport interface EstimateDeliveryRequest\n  extends EstimateDeliveryRequestDispatchTimeOneOf {\n  /** Estimated pickup time. */\n  pickupTime?: Date | null;\n  /** Estimated dropoff time. */\n  dropoffTime?: Date | null;\n  /**\n   * Instance ID.\n   * @format GUID\n   */\n  instanceId: string;\n  /** Account ID. */\n  accountId: string;\n  /** Delivery pickup address. */\n  pickupAddress?: Address;\n  /** Delivery dropoff address. */\n  dropoffAddress?: Address;\n  /** Unique identifier of the specific store that the delivery is for. */\n  storeLocationId: string;\n  /** The subtotal for all items in the order, excluding tax/tip. */\n  orderTotal: Money;\n}\n\n/** @oneof */\nexport interface EstimateDeliveryRequestDispatchTimeOneOf {\n  /** Estimated pickup time. */\n  pickupTime?: Date | null;\n  /** Estimated dropoff time. */\n  dropoffTime?: Date | null;\n}\n\n/** Physical address */\nexport interface Address {\n  /**\n   * Country code.\n   * @format COUNTRY\n   */\n  country?: string;\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 name. */\n  city?: string;\n  /** Zip/postal code. */\n  postalCode?: string | null;\n  /** Street name and number. */\n  streetAddress?: StreetAddress;\n  /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n  addressLine2?: string | null;\n  /** Coordinates of the physical address. */\n  geocode?: AddressLocation;\n}\n\nexport interface StreetAddress {\n  /** Street number. */\n  number?: string;\n  /** Street name. */\n  name?: string;\n}\n\nexport interface AddressLocation {\n  /** Address latitude. */\n  latitude?: number | null;\n  /** Address longitude. */\n  longitude?: number | null;\n}\n\n/**\n * Money.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n  /**\n   * Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative.\n   * @format DECIMAL_VALUE\n   */\n  value?: string;\n  /**\n   * Currency code. Must be valid ISO 4217 currency code (e.g., USD).\n   * @format CURRENCY\n   */\n  currency?: string;\n  /** Monetary amount. Decimal string in local format (e.g., 1 000,30). Optionally, a single (-), to indicate that the amount is negative. */\n  formattedValue?: string | null;\n}\n\nexport interface EstimateDeliveryResponse {\n  /** Optional. Used as reference to the estimate when creating a new order. */\n  id?: string | null;\n  /** Amount that is charged for this delivery. */\n  fee?: Money;\n  /** Estimated pickup time. */\n  promisedPickupTime?: Date | null;\n  /** Estimated dropoff time. */\n  promisedDropoffTime?: Date | null;\n}\n\nexport interface CreateDeliveryRequest\n  extends CreateDeliveryRequestDispatchTimeOneOf {\n  /** The requested time at which the order should be picked up. */\n  pickupTime?: Date | null;\n  /** The requested time at which the order should be delivered. */\n  dropoffTime?: Date | null;\n  /**\n   * Instance ID.\n   * @format GUID\n   */\n  instanceId: string;\n  /** Account ID. */\n  accountId: string;\n  /** Unique identifier of the specific store that the delivery is for. */\n  storeLocationId: string;\n  /** The name of the business where the order should be picked up from. */\n  pickupBusinessName: string;\n  /** Estimate ID. */\n  estimateId?: string | null;\n  /** Delivery pickup address. */\n  pickupAddress: Address;\n  /** Delivery dropoff address. */\n  dropoffAddress: Address;\n  /** Phone number of the store where the order should be picked up from. */\n  pickupPhoneNumber: string;\n  /** Customer details. */\n  customer: Customer;\n  /** Instructions for the courier at the pickup location. */\n  pickupInstructions?: string | null;\n  /** Instructions for the courier at the dropoff location. */\n  dropoffInstructions?: string | null;\n  /** Is contactless delivery. */\n  contactlessDelivery?: boolean | null;\n  /** Order ID. */\n  orderId: string;\n  /** The subtotal for all items in the order, excluding tax/tip. */\n  orderTotal: Money;\n  /** Amount that will be paid to the courier. */\n  orderTip: Money;\n}\n\n/** @oneof */\nexport interface CreateDeliveryRequestDispatchTimeOneOf {\n  /** The requested time at which the order should be picked up. */\n  pickupTime?: Date | null;\n  /** The requested time at which the order should be delivered. */\n  dropoffTime?: Date | null;\n}\n\nexport interface Customer {\n  /** First name. */\n  firstName?: string;\n  /** Last name. */\n  lastName?: string;\n  /** Phone number. */\n  phoneNumber?: string;\n  /**\n   * Email address.\n   * @format EMAIL\n   */\n  email?: string;\n}\n\nexport interface CreateDeliveryResponse {\n  /** The vendor new order id */\n  id?: string;\n  /** When a delivery is ready to be picked up. This is the start of the pickup window. */\n  pickupWindowStartTime?: Date | null;\n  /** When a delivery must be picked up by. This is the end of the pickup window. */\n  pickupWindowEndTime?: Date | null;\n  /** When a delivery is ready to be dropped off. This is the start of the dropoff window. */\n  dropoffWindowStartTime?: Date | null;\n  /** When a delivery must be dropped off by. This is the end of the dropoff window. */\n  dropoffWindowEndTime?: Date | null;\n  /** Amount that is charged for this delivery. */\n  fee?: Money;\n}\n\n/** @docsIgnore */\nexport type EstimateDeliveryApplicationErrors = {\n  code?: 'ESTIMATE_DELIVERY_REJECTED';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CreateDeliveryApplicationErrors = {\n  code?: 'CREATE_DELIVERY_REJECTED';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixLocaldeliverySpiV1Tpa from './localdelivery-spi-v1-tpa-local-delivery-spi.http.js';\nimport * as ambassadorWixLocaldeliverySpiV1TpaTypes from './localdelivery-spi-v1-tpa-local-delivery-spi.types.js';\nimport * as ambassadorWixLocaldeliverySpiV1TpaUniversalTypes from './localdelivery-spi-v1-tpa-local-delivery-spi.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 listAccountIds(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.ListAccountIdsRequest,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.ListAccountIdsRequest,\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.ListAccountIdsResponse,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.ListAccountIdsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixLocaldeliverySpiV1Tpa.listAccountIds(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: '/account-ids',\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 businessStatus(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.BusinessStatusRequest,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.BusinessStatusRequest,\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.BusinessStatusResponse,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.BusinessStatusResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixLocaldeliverySpiV1Tpa.businessStatus(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: '/business-status',\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 estimateDelivery(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.EstimateDeliveryRequest,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.EstimateDeliveryRequest,\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.EstimateDeliveryResponse,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.EstimateDeliveryResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixLocaldeliverySpiV1Tpa.estimateDelivery(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: '/estimate-delivery',\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 createDelivery(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.CreateDeliveryRequest,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.CreateDeliveryRequest,\n  ambassadorWixLocaldeliverySpiV1TpaUniversalTypes.CreateDeliveryResponse,\n  ambassadorWixLocaldeliverySpiV1TpaTypes.CreateDeliveryResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixLocaldeliverySpiV1Tpa.createDelivery(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: '/create-delivery',\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  Tpa as TpaOriginal,\n  ListAccountIdsRequest as ListAccountIdsRequestOriginal,\n  ListAccountIdsResponse as ListAccountIdsResponseOriginal,\n  BusinessStatusRequest as BusinessStatusRequestOriginal,\n  BusinessStatusResponse as BusinessStatusResponseOriginal,\n  BusinessStatus as BusinessStatusOriginal,\n  BusinessStatusWithLiterals as BusinessStatusWithLiteralsOriginal,\n  EstimateDeliveryRequest as EstimateDeliveryRequestOriginal,\n  EstimateDeliveryRequestDispatchTimeOneOf as EstimateDeliveryRequestDispatchTimeOneOfOriginal,\n  Address as AddressOriginal,\n  StreetAddress as StreetAddressOriginal,\n  AddressLocation as AddressLocationOriginal,\n  Money as MoneyOriginal,\n  EstimateDeliveryResponse as EstimateDeliveryResponseOriginal,\n  CreateDeliveryRequest as CreateDeliveryRequestOriginal,\n  CreateDeliveryRequestDispatchTimeOneOf as CreateDeliveryRequestDispatchTimeOneOfOriginal,\n  Customer as CustomerOriginal,\n  CreateDeliveryResponse as CreateDeliveryResponseOriginal,\n  EstimateDeliveryApplicationErrors as EstimateDeliveryApplicationErrorsOriginal,\n  CreateDeliveryApplicationErrors as CreateDeliveryApplicationErrorsOriginal,\n} from './localdelivery-spi-v1-tpa-local-delivery-spi.types.js';\n"],"mappings":";AAAA,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,6DACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,eAAe,SAA6C;AAC1E,WAAS,iBAAiB,EAAE,KAAK,GAAQ;AACvC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK,6DAA6D;AAAA,QAChE,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,MACF,CAAC;AAAA,MACD,MAAM;AAAA,IACR;AAEA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAGO,SAAS,eAAe,SAA6C;AAC1E,WAAS,iBAAiB,EAAE,KAAK,GAAQ;AACvC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK,6DAA6D;AAAA,QAChE,WAAW;AAAA,Q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IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,eAAe,OAAO;AAE3D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,oBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,iBAAiB,OAAO;AAE7D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC+B,eAAe,OAAO;AAE3D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","BusinessStatus","listAccountIds","businessStatus","estimateDelivery","createDelivery"]}