{"version":3,"sources":["../src/ecom-v1-order-payment-request-order-payment-requests.http.ts","../src/ecom-v1-order-payment-request-order-payment-requests.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 resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'api._api_base_domain_': [\n      {\n        srcPath: '/order-payment-request',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/ecom/v1/order-payment-requests',\n        destPath: '/v1/order-payment-requests',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/ecom/v1/order-payment-requests',\n        destPath: '/v1/order-payment-requests',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/ecom/v1/order-payment-requests',\n        destPath: '/v1/order-payment-requests',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/ecom/v1/order-payment-requests',\n        destPath: '/v1/order-payment-requests',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_ecom_order-payment-requests';\n\n/** Creates a order payment request. */\nexport function createOrderPaymentRequest(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createOrderPaymentRequest({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'orderPaymentRequest.expirationDate' },\n          { path: 'orderPaymentRequest.createdDate' },\n          { path: 'orderPaymentRequest.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.CreateOrderPaymentRequest',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        { protoPath: '/v1/order-payment-requests', data: serializedData, host }\n      ),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'orderPaymentRequest.expirationDate' },\n              { path: 'orderPaymentRequest.createdDate' },\n              { path: 'orderPaymentRequest.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createOrderPaymentRequest;\n}\n\n/** Retrieves a order payment request. */\nexport function getOrderPaymentRequest(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getOrderPaymentRequest({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequest',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        {\n          protoPath: '/v1/order-payment-requests/{orderPaymentRequestId}',\n          data: payload,\n          host,\n        }\n      ),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'orderPaymentRequest.expirationDate' },\n              { path: 'orderPaymentRequest.createdDate' },\n              { path: 'orderPaymentRequest.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getOrderPaymentRequest;\n}\n\n/**\n * Updates a order payment request.\n *\n * Please note that only `UNPAID` payment requests can be updated.\n */\nexport function updateOrderPaymentRequest(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateOrderPaymentRequest({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'orderPaymentRequest.expirationDate' },\n          { path: 'orderPaymentRequest.createdDate' },\n          { path: 'orderPaymentRequest.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateOrderPaymentRequest',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        {\n          protoPath: '/v1/order-payment-requests/{orderPaymentRequest.id}',\n          data: serializedData,\n          host,\n        }\n      ),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'orderPaymentRequest.expirationDate' },\n              { path: 'orderPaymentRequest.createdDate' },\n              { path: 'orderPaymentRequest.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateOrderPaymentRequest;\n}\n\n/**\n * Deletes a order payment request.\n *\n * Please note that only `UNPAID` payment requests can be deleted.\n */\nexport function deleteOrderPaymentRequest(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteOrderPaymentRequest({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.DeleteOrderPaymentRequest',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        {\n          protoPath: '/v1/order-payment-requests/{orderPaymentRequestId}',\n          data: payload,\n          host,\n        }\n      ),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteOrderPaymentRequest;\n}\n\n/**\n * Retrieves a list of Payment Requests, given the provided [paging, filtering, and sorting][1].\n *\n * Query Payment Requests runs with these defaults, which you can override:\n * - `createdDate` is sorted in DESC order\n * - `cursorPaging.limit` is 100\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language), and\n * [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).\n */\nexport function queryOrderPaymentRequests(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryOrderPaymentRequests({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.QueryOrderPaymentRequests',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        { protoPath: '/v1/order-payment-requests/query', data: payload, host }\n      ),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'orderPaymentRequests.expirationDate' },\n              { path: 'orderPaymentRequests.createdDate' },\n              { path: 'orderPaymentRequests.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryOrderPaymentRequests;\n}\n\n/** Retrieves the order payment request page URL of a specified order payment request. */\nexport function getOrderPaymentRequestUrl(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getOrderPaymentRequestUrl({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequestURL',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        { protoPath: '/v1/order-payment-requests/url', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __getOrderPaymentRequestUrl;\n}\n\n/** Updates extended fields of a order payment request */\nexport function updateExtendedFields(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateExtendedFields({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.ecom.v1.order_payment_request',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateExtendedFields',\n      packageName: PACKAGE_NAME,\n      url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n        {\n          protoPath: '/v1/order-payment-requests/{id}/update-extended-fields',\n          data: payload,\n          host,\n        }\n      ),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'orderPaymentRequest.expirationDate' },\n              { path: 'orderPaymentRequest.createdDate' },\n              { path: 'orderPaymentRequest.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateExtendedFields;\n}\n","import * as ambassadorWixEcomV1OrderPaymentRequest from './ecom-v1-order-payment-request-order-payment-requests.http.js';\nimport * as ambassadorWixEcomV1OrderPaymentRequestTypes from './ecom-v1-order-payment-request-order-payment-requests.types.js';\nimport * as ambassadorWixEcomV1OrderPaymentRequestUniversalTypes from './ecom-v1-order-payment-request-order-payment-requests.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 createOrderPaymentRequest(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.CreateOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.CreateOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.CreateOrderPaymentRequestResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestResponseNonNullableFields\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.createOrderPaymentRequest(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/order-payment-requests',\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 getOrderPaymentRequest(): __PublicMethodMetaInfo<\n  'GET',\n  { orderPaymentRequestId: string },\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestResponseNonNullableFields\n> {\n  const payload = { orderPaymentRequestId: ':orderPaymentRequestId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.getOrderPaymentRequest(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/order-payment-requests/{orderPaymentRequestId}',\n    pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\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 updateOrderPaymentRequest(): __PublicMethodMetaInfo<\n  'PATCH',\n  { orderPaymentRequestId: string },\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateOrderPaymentRequestResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestResponseNonNullableFields\n> {\n  const payload = {\n    orderPaymentRequest: { id: ':orderPaymentRequestId' },\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.updateOrderPaymentRequest(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/order-payment-requests/{orderPaymentRequest.id}',\n    pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\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 deleteOrderPaymentRequest(): __PublicMethodMetaInfo<\n  'DELETE',\n  { orderPaymentRequestId: string },\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.DeleteOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.DeleteOrderPaymentRequestRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.DeleteOrderPaymentRequestResponse,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.DeleteOrderPaymentRequestResponse\n> {\n  const payload = { orderPaymentRequestId: ':orderPaymentRequestId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.deleteOrderPaymentRequest(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/order-payment-requests/{orderPaymentRequestId}',\n    pathParams: { orderPaymentRequestId: 'orderPaymentRequestId' },\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 queryOrderPaymentRequests(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.QueryOrderPaymentRequestsRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.QueryOrderPaymentRequestsResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.QueryOrderPaymentRequestsResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsResponseNonNullableFields\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.queryOrderPaymentRequests(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/order-payment-requests/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 getOrderPaymentRequestUrl(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestURLRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestURLResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.GetOrderPaymentRequestURLResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLResponseNonNullableFields\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.getOrderPaymentRequestUrl(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/order-payment-requests/url',\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 updateExtendedFields(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateExtendedFieldsRequest,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsRequest,\n  ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateExtendedFieldsResponse &\n    ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.UpdateExtendedFieldsResponseNonNullableFields,\n  ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsResponse &\n    ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsResponseNonNullableFields\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEcomV1OrderPaymentRequest.updateExtendedFields(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/order-payment-requests/{id}/update-extended-fields',\n    pathParams: { id: 'id' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,0BACd,SAC4B;AAC5B,WAAS,4BAA4B,EAAE,KAAK,GAAQ;AAClD,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO;AAAA,UACL,EAAE,MAAM,qCAAqC;AAAA,UAC7C,EAAE,MAAM,kCAAkC;AAAA,UAC1C,EAAE,MAAM,kCAAkC;AAAA,QAC5C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uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","createOrderPaymentRequest","getOrderPaymentRequest","updateOrderPaymentRequest","deleteOrderPaymentRequest","queryOrderPaymentRequests","getOrderPaymentRequestUrl","updateExtendedFields"]}