@wix/auto_sdk_ecom_order-payment-requests 1.0.21 → 1.0.23
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.
- package/build/{ecom-v1-order-payment-request-order-payment-requests.universal-DuU6VRJp.d.mts → cjs/ecom-v1-order-payment-request-order-payment-requests.universal-B5UBL8MV.d.ts} +23 -13
- package/build/{index.d.ts → cjs/index.d.ts} +2 -2
- package/build/cjs/index.js.map +1 -0
- package/build/{internal → cjs}/meta.d.ts +1 -13
- package/build/{ecom-v1-order-payment-request-order-payment-requests.universal-DuU6VRJp.d.ts → es/ecom-v1-order-payment-request-order-payment-requests.universal-B5UBL8MV.d.mts} +23 -13
- package/build/{index.d.mts → es/index.d.mts} +2 -2
- package/build/es/index.mjs.map +1 -0
- package/build/{internal → es}/meta.d.mts +1 -13
- package/build/es/package.json +3 -0
- package/build/internal/{ecom-v1-order-payment-request-order-payment-requests.universal-DuU6VRJp.d.mts → cjs/ecom-v1-order-payment-request-order-payment-requests.universal-difyGQdT.d.ts} +39 -1
- package/build/internal/{index.d.ts → cjs/index.d.ts} +2 -2
- package/build/internal/cjs/index.js.map +1 -0
- package/build/{meta.d.ts → internal/cjs/meta.d.ts} +1 -13
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/{ecom-v1-order-payment-request-order-payment-requests.universal-DuU6VRJp.d.ts → es/ecom-v1-order-payment-request-order-payment-requests.universal-difyGQdT.d.mts} +39 -1
- package/build/internal/{index.d.mts → es/index.d.mts} +2 -2
- package/build/internal/es/index.mjs.map +1 -0
- package/build/{meta.d.mts → internal/es/meta.d.mts} +1 -13
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +10 -10
- package/build/index.js.map +0 -1
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs.map +0 -1
- package/build/meta.js.map +0 -1
- package/build/meta.mjs.map +0 -1
- /package/build/{index.js → cjs/index.js} +0 -0
- /package/build/{internal → cjs}/meta.js +0 -0
- /package/build/{internal → cjs}/meta.js.map +0 -0
- /package/build/{index.mjs → es/index.mjs} +0 -0
- /package/build/{internal → es}/meta.mjs +0 -0
- /package/build/{internal → es}/meta.mjs.map +0 -0
- /package/build/internal/{index.js → cjs/index.js} +0 -0
- /package/build/{meta.js → internal/cjs/meta.js} +0 -0
- /package/build/internal/{index.mjs → es/index.mjs} +0 -0
- /package/build/{meta.mjs → internal/es/meta.mjs} +0 -0
package/build/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../meta.ts","../src/ecom-v1-order-payment-request-order-payment-requests.http.ts","../src/ecom-v1-order-payment-request-order-payment-requests.meta.ts"],"sourcesContent":["export * from './src/ecom-v1-order-payment-request-order-payment-requests.meta.js';\n","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` and `VOIDED` 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\n/**\n * Voids the given order payment request\n *\n * Please note that only `UNPAID` payment requests can be voided.\n */\nexport function voidOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __voidOrderPaymentRequest({ 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.VoidOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n { protoPath: '/v1/order-payment-requests/void', data: payload, host }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __voidOrderPaymentRequest;\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 ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsResponse\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\nexport function voidOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.VoidOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.VoidOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.VoidOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.VoidOrderPaymentRequestResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.voidOrderPaymentRequest(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/void',\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"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,mCAAAA;AAAA,EAAA,iCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,iCAAAC;AAAA,EAAA,+BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;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,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBA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AEjB,QAAM,oBACmC,0BAA0B,OAAO;AAE1E,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,wBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACmC,qBAAqB,OAAO;AAErE,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,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACmC,wBAAwB,OAAO;AAExE,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":["createOrderPaymentRequest","deleteOrderPaymentRequest","getOrderPaymentRequest","getOrderPaymentRequestUrl","queryOrderPaymentRequests","updateExtendedFields","updateOrderPaymentRequest","voidOrderPaymentRequest","import_timestamp","import_rest_modules","payload","createOrderPaymentRequest","getOrderPaymentRequest","updateOrderPaymentRequest","deleteOrderPaymentRequest","queryOrderPaymentRequests","getOrderPaymentRequestUrl","updateExtendedFields","voidOrderPaymentRequest"]}
|
package/build/meta.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"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` and `VOIDED` 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\n/**\n * Voids the given order payment request\n *\n * Please note that only `UNPAID` payment requests can be voided.\n */\nexport function voidOrderPaymentRequest(\n payload: object\n): RequestOptionsFactory<any> {\n function __voidOrderPaymentRequest({ 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.VoidOrderPaymentRequest',\n packageName: PACKAGE_NAME,\n url: resolveWixEcomOrderPaymentRequestApiV1OrderPaymentRequestsServiceUrl(\n { protoPath: '/v1/order-payment-requests/void', data: payload, host }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __voidOrderPaymentRequest;\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 ambassadorWixEcomV1OrderPaymentRequestTypes.CreateOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateOrderPaymentRequestResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.QueryOrderPaymentRequestsResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.GetOrderPaymentRequestURLResponse\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 ambassadorWixEcomV1OrderPaymentRequestTypes.UpdateExtendedFieldsResponse\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\nexport function voidOrderPaymentRequest(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.VoidOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestTypes.VoidOrderPaymentRequestRequest,\n ambassadorWixEcomV1OrderPaymentRequestUniversalTypes.VoidOrderPaymentRequestResponse,\n ambassadorWixEcomV1OrderPaymentRequestTypes.VoidOrderPaymentRequestResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixEcomV1OrderPaymentRequest.voidOrderPaymentRequest(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/void',\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"],"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;AAAA,MACF;AAAA,IACF,CAAC;AACD,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,KAAK;AAAA,QACH,EAAE,WAAW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B,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACmC,wBAAwB,OAAO;AAExE,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","createOrderPaymentRequest","getOrderPaymentRequest","updateOrderPaymentRequest","deleteOrderPaymentRequest","queryOrderPaymentRequests","getOrderPaymentRequestUrl","updateExtendedFields","voidOrderPaymentRequest"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|