@wix/auto_sdk_ecom_order-payment-requests 1.0.68 → 1.0.70

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.
@@ -941,7 +941,7 @@ declare function onOrderPaymentRequestVoided(handler: (event: OrderPaymentReques
941
941
  * @returns Created order payment request.
942
942
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.CreateOrderPaymentRequest
943
943
  */
944
- declare function createOrderPaymentRequest(options?: NonNullablePaths<CreateOrderPaymentRequestOptions, `orderPaymentRequest.amount` | `orderPaymentRequest.orderId` | `orderPaymentRequest.title`, 3>): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 3> & {
944
+ declare function createOrderPaymentRequest(options?: NonNullablePaths<CreateOrderPaymentRequestOptions, `orderPaymentRequest.amount` | `orderPaymentRequest.orderId` | `orderPaymentRequest.title`, 1>): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
945
945
  __applicationErrorsType?: CreateOrderPaymentRequestApplicationErrors;
946
946
  }>;
947
947
  interface CreateOrderPaymentRequestOptions {
@@ -966,7 +966,7 @@ interface BulkCreateOrderPaymentRequestsOptions {
966
966
  * @returns Retrieved order payment request.
967
967
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequest
968
968
  */
969
- declare function getOrderPaymentRequest(orderPaymentRequestId: string): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 3> & {
969
+ declare function getOrderPaymentRequest(orderPaymentRequestId: string): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
970
970
  __applicationErrorsType?: GetOrderPaymentRequestApplicationErrors;
971
971
  }>;
972
972
  /**
@@ -983,7 +983,7 @@ declare function getOrderPaymentRequest(orderPaymentRequestId: string): Promise<
983
983
  * @returns Updated order payment request.
984
984
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateOrderPaymentRequest
985
985
  */
986
- declare function updateOrderPaymentRequest(_id: string, orderPaymentRequest: UpdateOrderPaymentRequest): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 3> & {
986
+ declare function updateOrderPaymentRequest(_id: string, orderPaymentRequest: UpdateOrderPaymentRequest): Promise<NonNullablePaths<OrderPaymentRequest, `source.externalId` | `status` | `orderId` | `amount.amount` | `amount.formattedAmount` | `currency` | `title` | `blockedPaymentMethods`, 1> & {
987
987
  __applicationErrorsType?: UpdateOrderPaymentRequestApplicationErrors;
988
988
  }>;
989
989
  interface UpdateOrderPaymentRequest {
@@ -1182,7 +1182,7 @@ interface OrderPaymentRequestsQueryBuilder {
1182
1182
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.QueryOrderPaymentRequests
1183
1183
  * @requiredField query
1184
1184
  */
1185
- declare function typedQueryOrderPaymentRequests(query: OrderPaymentRequestQuery): Promise<NonNullablePaths<QueryOrderPaymentRequestsResponse, `orderPaymentRequests` | `orderPaymentRequests.${number}.source.externalId` | `orderPaymentRequests.${number}.status` | `orderPaymentRequests.${number}.orderId` | `orderPaymentRequests.${number}.amount.amount` | `orderPaymentRequests.${number}.amount.formattedAmount` | `orderPaymentRequests.${number}.currency` | `orderPaymentRequests.${number}.title`, 5>>;
1185
+ declare function typedQueryOrderPaymentRequests(query: OrderPaymentRequestQuery): Promise<NonNullablePaths<QueryOrderPaymentRequestsResponse, `orderPaymentRequests` | `orderPaymentRequests.${number}.source.externalId` | `orderPaymentRequests.${number}.status` | `orderPaymentRequests.${number}.orderId` | `orderPaymentRequests.${number}.amount.amount` | `orderPaymentRequests.${number}.amount.formattedAmount` | `orderPaymentRequests.${number}.currency` | `orderPaymentRequests.${number}.title`, 3>>;
1186
1186
  interface OrderPaymentRequestQuerySpec extends QuerySpec {
1187
1187
  paging: 'cursor';
1188
1188
  wql: [
@@ -1276,7 +1276,7 @@ declare const utils: {
1276
1276
  * @applicableIdentity APP
1277
1277
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.GetOrderPaymentRequestURL
1278
1278
  */
1279
- declare function getOrderPaymentRequestUrl(orderPaymentRequestId: string): Promise<NonNullablePaths<GetOrderPaymentRequestURLResponse, `orderPaymentRequestUrl`, 2> & {
1279
+ declare function getOrderPaymentRequestUrl(orderPaymentRequestId: string): Promise<NonNullablePaths<GetOrderPaymentRequestURLResponse, `orderPaymentRequestUrl`, 0> & {
1280
1280
  __applicationErrorsType?: GetOrderPaymentRequestUrlApplicationErrors;
1281
1281
  }>;
1282
1282
  /**
@@ -1293,7 +1293,7 @@ declare function getOrderPaymentRequestUrl(orderPaymentRequestId: string): Promi
1293
1293
  * @applicableIdentity APP
1294
1294
  * @fqn wix.ecom.order_payment_request.api.v1.OrderPaymentRequestsService.UpdateExtendedFields
1295
1295
  */
1296
- declare function updateExtendedFields(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 2>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `orderPaymentRequest.source.externalId` | `orderPaymentRequest.status` | `orderPaymentRequest.orderId` | `orderPaymentRequest.amount.amount` | `orderPaymentRequest.amount.formattedAmount` | `orderPaymentRequest.currency` | `orderPaymentRequest.title` | `orderPaymentRequest.blockedPaymentMethods`, 4>>;
1296
+ declare function updateExtendedFields(_id: string, namespace: string, options: NonNullablePaths<UpdateExtendedFieldsOptions, `namespaceData`, 0>): Promise<NonNullablePaths<UpdateExtendedFieldsResponse, `orderPaymentRequest.source.externalId` | `orderPaymentRequest.status` | `orderPaymentRequest.orderId` | `orderPaymentRequest.amount.amount` | `orderPaymentRequest.amount.formattedAmount` | `orderPaymentRequest.currency` | `orderPaymentRequest.title` | `orderPaymentRequest.blockedPaymentMethods`, 2>>;
1297
1297
  interface UpdateExtendedFieldsOptions {
1298
1298
  /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */
1299
1299
  namespaceData: Record<string, any> | null;