@wix/auto_sdk_payments_payments 1.0.2 → 1.0.4

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.
Files changed (29) hide show
  1. package/build/cjs/index.d.ts +4 -4
  2. package/build/cjs/index.js +121 -119
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +62 -64
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -1
  8. package/build/cjs/meta.js +52 -56
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{payments-platform-v1-payment-payments.universal-CRtsFbYB.d.ts → payments-platform-v1-payment-payments.universal-D1FucEGw.d.ts} +1 -1
  11. package/build/es/index.d.mts +4 -4
  12. package/build/es/index.mjs +121 -119
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +62 -64
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +1 -1
  18. package/build/es/meta.mjs +52 -56
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/{payments-platform-v1-payment-payments.universal-CRtsFbYB.d.mts → payments-platform-v1-payment-payments.universal-D1FucEGw.d.mts} +1 -1
  21. package/build/internal/cjs/index.d.ts +4 -4
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/meta.d.ts +1 -1
  24. package/build/internal/cjs/{payments-platform-v1-payment-payments.universal-Cl1PZdpD.d.ts → payments-platform-v1-payment-payments.universal-CqCFaJSm.d.ts} +1 -1
  25. package/build/internal/es/index.d.mts +4 -4
  26. package/build/internal/es/index.typings.d.mts +2 -2
  27. package/build/internal/es/meta.d.mts +1 -1
  28. package/build/internal/es/{payments-platform-v1-payment-payments.universal-Cl1PZdpD.d.mts → payments-platform-v1-payment-payments.universal-CqCFaJSm.d.mts} +1 -1
  29. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { P as Payment, a as PaymentSearch, S as SearchPaymentsResponse, b as PaymentCreatedEnvelope, c as PaymentUpdatedEnvelope } from './payments-platform-v1-payment-payments.universal-Cl1PZdpD.mjs';
3
- export { t as Account, a1 as AccountInfo, av as AccountInfoMetadata, Z as ActionEvent, o as Address, r as AddressLocation, p as AddressStreetOneOf, ac as AggregationData, ar as AggregationResults, as as AggregationResultsResultOneOf, ao as AggregationResultsScalarResult, A as AggregationType, aM as AggregationTypeWithLiterals, w as AmountBreakdown, at as BaseEventMetadata, B as Buyer, s as Card, C as Charge, aN as CommonSearchWithEntityContext, x as ContactInfo, a9 as CursorPaging, aa as CursorPagingMetadata, a5 as CursorSearch, a6 as CursorSearchPagingMethodOneOf, ab as Cursors, al as DateHistogramResult, ap as DateHistogramResults, H as Dispute, I as DisputeAction, i as DisputeActionType, aG as DisputeActionTypeWithLiterals, h as DisputeChannel, aF as DisputeChannelWithLiterals, e as DisputeReason, aC as DisputeReasonWithLiterals, D as DisputeStage, aB as DisputeStageWithLiterals, f as DisputeStatus, aD as DisputeStatusWithLiterals, L as DomainEvent, Q as DomainEventBodyOneOf, T as EntityCreatedEvent, Y as EntityDeletedEvent, X as EntityUpdatedEvent, au as EventMetadata, z as FlowDetails, F as FullAddressContactDetails, a2 as GetPaymentRequest, a3 as GetPaymentResponse, $ as IdentificationData, a0 as IdentificationDataIdOneOf, _ as MessageEnvelope, M as Mode, aK as ModeWithLiterals, ai as NestedResultValue, aj as NestedResultValueResultOneOf, aq as NestedResults, N as NotificationOfFraud, O as OrderLineItem, y as PaymentMethod, aw as PaymentSearchSpec, u as ProviderStatusReason, ae as RangeAggregationResult, ag as RangeResult, an as RangeResults, j as Reason, aH as ReasonWithLiterals, E as Refund, R as RefundStatus, aA as RefundStatusWithLiterals, U as RestoreInfo, ak as Results, ah as ScalarResult, l as ScalarType, aL as ScalarTypeWithLiterals, a8 as SearchDetails, a4 as SearchPaymentsRequest, g as SellerProtection, aE as SellerProtectionWithLiterals, m as Shipping, k as SortOrder, aJ as SortOrderWithLiterals, a7 as Sorting, d as Status, v as StatusDetails, G as StatusInfo, az as StatusWithLiterals, q as StreetAddress, J as SyncPaymentRequest, K as SyncPaymentResponse, ad as ValueAggregationResult, af as ValueResult, am as ValueResults, n as VatId, V as VatType, ay as VatTypeWithLiterals, W as WebhookIdentityType, aI as WebhookIdentityTypeWithLiterals, ax as utils } from './payments-platform-v1-payment-payments.universal-Cl1PZdpD.mjs';
2
+ import { P as Payment, a as PaymentSearch, S as SearchPaymentsResponse, b as PaymentCreatedEnvelope, c as PaymentUpdatedEnvelope } from './payments-platform-v1-payment-payments.universal-CqCFaJSm.mjs';
3
+ export { t as Account, a1 as AccountInfo, av as AccountInfoMetadata, Z as ActionEvent, o as Address, r as AddressLocation, p as AddressStreetOneOf, ac as AggregationData, ar as AggregationResults, as as AggregationResultsResultOneOf, ao as AggregationResultsScalarResult, A as AggregationType, aM as AggregationTypeWithLiterals, w as AmountBreakdown, at as BaseEventMetadata, B as Buyer, s as Card, C as Charge, aN as CommonSearchWithEntityContext, x as ContactInfo, a9 as CursorPaging, aa as CursorPagingMetadata, a5 as CursorSearch, a6 as CursorSearchPagingMethodOneOf, ab as Cursors, al as DateHistogramResult, ap as DateHistogramResults, H as Dispute, I as DisputeAction, i as DisputeActionType, aG as DisputeActionTypeWithLiterals, h as DisputeChannel, aF as DisputeChannelWithLiterals, e as DisputeReason, aC as DisputeReasonWithLiterals, D as DisputeStage, aB as DisputeStageWithLiterals, f as DisputeStatus, aD as DisputeStatusWithLiterals, L as DomainEvent, Q as DomainEventBodyOneOf, T as EntityCreatedEvent, Y as EntityDeletedEvent, X as EntityUpdatedEvent, au as EventMetadata, z as FlowDetails, F as FullAddressContactDetails, a2 as GetPaymentRequest, a3 as GetPaymentResponse, $ as IdentificationData, a0 as IdentificationDataIdOneOf, _ as MessageEnvelope, M as Mode, aK as ModeWithLiterals, ai as NestedResultValue, aj as NestedResultValueResultOneOf, aq as NestedResults, N as NotificationOfFraud, O as OrderLineItem, y as PaymentMethod, aw as PaymentSearchSpec, u as ProviderStatusReason, ae as RangeAggregationResult, ag as RangeResult, an as RangeResults, j as Reason, aH as ReasonWithLiterals, E as Refund, R as RefundStatus, aA as RefundStatusWithLiterals, U as RestoreInfo, ak as Results, ah as ScalarResult, l as ScalarType, aL as ScalarTypeWithLiterals, a8 as SearchDetails, a4 as SearchPaymentsRequest, g as SellerProtection, aE as SellerProtectionWithLiterals, m as Shipping, k as SortOrder, aJ as SortOrderWithLiterals, a7 as Sorting, d as Status, v as StatusDetails, G as StatusInfo, az as StatusWithLiterals, q as StreetAddress, J as SyncPaymentRequest, K as SyncPaymentResponse, ad as ValueAggregationResult, af as ValueResult, am as ValueResults, n as VatId, V as VatType, ay as VatTypeWithLiterals, W as WebhookIdentityType, aI as WebhookIdentityTypeWithLiterals, ax as utils } from './payments-platform-v1-payment-payments.universal-CqCFaJSm.mjs';
4
4
 
5
5
  declare function getPayment$1(httpClient: HttpClient): GetPaymentSignature;
6
6
  interface GetPaymentSignature {
@@ -12,7 +12,7 @@ interface GetPaymentSignature {
12
12
  * @param - Payment ID. This is the source charge ID.
13
13
  * @returns Retrieved payment.
14
14
  */
15
- (paymentId: string): Promise<NonNullablePaths<Payment, `charge.status` | `charge.statusDetails.providerStatusReasons` | `charge.orderLineItems` | `charge.billingInfo.contactDetails.vatId._id` | `charge.billingInfo.contactDetails.vatId.type` | `charge.billingInfo.address.streetAddress.number` | `charge.billingInfo.address.streetAddress.name` | `refunds` | `refunds.${number}.status` | `refunds.${number}.statusInfo.code` | `disputes` | `disputes.${number}._id` | `disputes.${number}.stage` | `disputes.${number}.reason` | `disputes.${number}.status` | `disputes.${number}.sellerProtection` | `disputes.${number}.channel` | `disputes.${number}.providerDisputeId` | `notificationOfFraud.reason`, 6>>;
15
+ (paymentId: string): Promise<NonNullablePaths<Payment, `charge.status` | `charge.statusDetails.providerStatusReasons` | `charge.orderLineItems` | `charge.billingInfo.contactDetails.vatId._id` | `charge.billingInfo.contactDetails.vatId.type` | `charge.billingInfo.address.streetAddress.number` | `charge.billingInfo.address.streetAddress.name` | `refunds` | `refunds.${number}.status` | `refunds.${number}.statusInfo.code` | `disputes` | `disputes.${number}._id` | `disputes.${number}.stage` | `disputes.${number}.reason` | `disputes.${number}.status` | `disputes.${number}.sellerProtection` | `disputes.${number}.channel` | `disputes.${number}.providerDisputeId` | `notificationOfFraud.reason`, 4>>;
16
16
  }
17
17
  declare function searchPayments$1(httpClient: HttpClient): SearchPaymentsSignature;
18
18
  interface SearchPaymentsSignature {
@@ -35,7 +35,7 @@ interface SearchPaymentsSignature {
35
35
  * @returns Response containing a page of payments that match the search and the
36
36
  * pagination metadata for the current page.
37
37
  */
38
- (search: PaymentSearch): Promise<NonNullablePaths<SearchPaymentsResponse, `payments` | `payments.${number}.charge.status` | `payments.${number}.notificationOfFraud.reason`, 5>>;
38
+ (search: PaymentSearch): Promise<NonNullablePaths<SearchPaymentsResponse, `payments` | `payments.${number}.charge.status` | `payments.${number}.notificationOfFraud.reason`, 3>>;
39
39
  }
40
40
  declare const onPaymentCreated$1: EventDefinition<PaymentCreatedEnvelope, "wix.payments.platform.v1.payment_created">;
41
41
  declare const onPaymentUpdated$1: EventDefinition<PaymentUpdatedEnvelope, "wix.payments.platform.v1.payment_updated">;
@@ -1,5 +1,5 @@
1
- import { a5 as CursorSearch, S as SearchPaymentsResponse } from './payments-platform-v1-payment-payments.universal-Cl1PZdpD.mjs';
2
- export { t as Account, a1 as AccountInfo, av as AccountInfoMetadata, Z as ActionEvent, o as Address, r as AddressLocation, p as AddressStreetOneOf, ac as AggregationData, ar as AggregationResults, as as AggregationResultsResultOneOf, ao as AggregationResultsScalarResult, A as AggregationType, aM as AggregationTypeWithLiterals, w as AmountBreakdown, at as BaseEventMetadata, B as Buyer, s as Card, C as Charge, aN as CommonSearchWithEntityContext, x as ContactInfo, a9 as CursorPaging, aa as CursorPagingMetadata, a6 as CursorSearchPagingMethodOneOf, ab as Cursors, al as DateHistogramResult, ap as DateHistogramResults, H as Dispute, I as DisputeAction, i as DisputeActionType, aG as DisputeActionTypeWithLiterals, h as DisputeChannel, aF as DisputeChannelWithLiterals, e as DisputeReason, aC as DisputeReasonWithLiterals, D as DisputeStage, aB as DisputeStageWithLiterals, f as DisputeStatus, aD as DisputeStatusWithLiterals, L as DomainEvent, Q as DomainEventBodyOneOf, T as EntityCreatedEvent, Y as EntityDeletedEvent, X as EntityUpdatedEvent, au as EventMetadata, z as FlowDetails, F as FullAddressContactDetails, a2 as GetPaymentRequest, a3 as GetPaymentResponse, $ as IdentificationData, a0 as IdentificationDataIdOneOf, _ as MessageEnvelope, M as Mode, aK as ModeWithLiterals, ai as NestedResultValue, aj as NestedResultValueResultOneOf, aq as NestedResults, N as NotificationOfFraud, O as OrderLineItem, P as Payment, b as PaymentCreatedEnvelope, y as PaymentMethod, aw as PaymentSearchSpec, c as PaymentUpdatedEnvelope, u as ProviderStatusReason, ae as RangeAggregationResult, ag as RangeResult, an as RangeResults, j as Reason, aH as ReasonWithLiterals, E as Refund, R as RefundStatus, aA as RefundStatusWithLiterals, U as RestoreInfo, ak as Results, ah as ScalarResult, l as ScalarType, aL as ScalarTypeWithLiterals, a8 as SearchDetails, a4 as SearchPaymentsRequest, g as SellerProtection, aE as SellerProtectionWithLiterals, m as Shipping, k as SortOrder, aJ as SortOrderWithLiterals, a7 as Sorting, d as Status, v as StatusDetails, G as StatusInfo, az as StatusWithLiterals, q as StreetAddress, J as SyncPaymentRequest, K as SyncPaymentResponse, ad as ValueAggregationResult, af as ValueResult, am as ValueResults, n as VatId, V as VatType, ay as VatTypeWithLiterals, W as WebhookIdentityType, aI as WebhookIdentityTypeWithLiterals, aQ as getPayment, aO as onPaymentCreated, aP as onPaymentUpdated, ax as utils } from './payments-platform-v1-payment-payments.universal-Cl1PZdpD.mjs';
1
+ import { a5 as CursorSearch, S as SearchPaymentsResponse } from './payments-platform-v1-payment-payments.universal-CqCFaJSm.mjs';
2
+ export { t as Account, a1 as AccountInfo, av as AccountInfoMetadata, Z as ActionEvent, o as Address, r as AddressLocation, p as AddressStreetOneOf, ac as AggregationData, ar as AggregationResults, as as AggregationResultsResultOneOf, ao as AggregationResultsScalarResult, A as AggregationType, aM as AggregationTypeWithLiterals, w as AmountBreakdown, at as BaseEventMetadata, B as Buyer, s as Card, C as Charge, aN as CommonSearchWithEntityContext, x as ContactInfo, a9 as CursorPaging, aa as CursorPagingMetadata, a6 as CursorSearchPagingMethodOneOf, ab as Cursors, al as DateHistogramResult, ap as DateHistogramResults, H as Dispute, I as DisputeAction, i as DisputeActionType, aG as DisputeActionTypeWithLiterals, h as DisputeChannel, aF as DisputeChannelWithLiterals, e as DisputeReason, aC as DisputeReasonWithLiterals, D as DisputeStage, aB as DisputeStageWithLiterals, f as DisputeStatus, aD as DisputeStatusWithLiterals, L as DomainEvent, Q as DomainEventBodyOneOf, T as EntityCreatedEvent, Y as EntityDeletedEvent, X as EntityUpdatedEvent, au as EventMetadata, z as FlowDetails, F as FullAddressContactDetails, a2 as GetPaymentRequest, a3 as GetPaymentResponse, $ as IdentificationData, a0 as IdentificationDataIdOneOf, _ as MessageEnvelope, M as Mode, aK as ModeWithLiterals, ai as NestedResultValue, aj as NestedResultValueResultOneOf, aq as NestedResults, N as NotificationOfFraud, O as OrderLineItem, P as Payment, b as PaymentCreatedEnvelope, y as PaymentMethod, aw as PaymentSearchSpec, c as PaymentUpdatedEnvelope, u as ProviderStatusReason, ae as RangeAggregationResult, ag as RangeResult, an as RangeResults, j as Reason, aH as ReasonWithLiterals, E as Refund, R as RefundStatus, aA as RefundStatusWithLiterals, U as RestoreInfo, ak as Results, ah as ScalarResult, l as ScalarType, aL as ScalarTypeWithLiterals, a8 as SearchDetails, a4 as SearchPaymentsRequest, g as SellerProtection, aE as SellerProtectionWithLiterals, m as Shipping, k as SortOrder, aJ as SortOrderWithLiterals, a7 as Sorting, d as Status, v as StatusDetails, G as StatusInfo, az as StatusWithLiterals, q as StreetAddress, J as SyncPaymentRequest, K as SyncPaymentResponse, ad as ValueAggregationResult, af as ValueResult, am as ValueResults, n as VatId, V as VatType, ay as VatTypeWithLiterals, W as WebhookIdentityType, aI as WebhookIdentityTypeWithLiterals, aQ as getPayment, aO as onPaymentCreated, aP as onPaymentUpdated, ax as utils } from './payments-platform-v1-payment-payments.universal-CqCFaJSm.mjs';
3
3
  import '@wix/sdk-types';
4
4
 
5
5
  /** @hidden */
@@ -1,4 +1,4 @@
1
- import { a2 as GetPaymentRequest$1, a3 as GetPaymentResponse$1, a4 as SearchPaymentsRequest$1, S as SearchPaymentsResponse$1 } from './payments-platform-v1-payment-payments.universal-Cl1PZdpD.mjs';
1
+ import { a2 as GetPaymentRequest$1, a3 as GetPaymentResponse$1, a4 as SearchPaymentsRequest$1, S as SearchPaymentsResponse$1 } from './payments-platform-v1-payment-payments.universal-CqCFaJSm.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
@@ -1559,7 +1559,7 @@ declare function onPaymentUpdated(handler: (event: PaymentUpdatedEnvelope) => vo
1559
1559
  * @returns Retrieved payment.
1560
1560
  * @fqn wix.payments.platform.v1.Payments.GetPayment
1561
1561
  */
1562
- declare function getPayment(paymentId: string): Promise<NonNullablePaths<Payment, `charge.status` | `charge.statusDetails.providerStatusReasons` | `charge.orderLineItems` | `charge.billingInfo.contactDetails.vatId._id` | `charge.billingInfo.contactDetails.vatId.type` | `charge.billingInfo.address.streetAddress.number` | `charge.billingInfo.address.streetAddress.name` | `refunds` | `refunds.${number}.status` | `refunds.${number}.statusInfo.code` | `disputes` | `disputes.${number}._id` | `disputes.${number}.stage` | `disputes.${number}.reason` | `disputes.${number}.status` | `disputes.${number}.sellerProtection` | `disputes.${number}.channel` | `disputes.${number}.providerDisputeId` | `notificationOfFraud.reason`, 6>>;
1562
+ declare function getPayment(paymentId: string): Promise<NonNullablePaths<Payment, `charge.status` | `charge.statusDetails.providerStatusReasons` | `charge.orderLineItems` | `charge.billingInfo.contactDetails.vatId._id` | `charge.billingInfo.contactDetails.vatId.type` | `charge.billingInfo.address.streetAddress.number` | `charge.billingInfo.address.streetAddress.name` | `refunds` | `refunds.${number}.status` | `refunds.${number}.statusInfo.code` | `disputes` | `disputes.${number}._id` | `disputes.${number}.stage` | `disputes.${number}.reason` | `disputes.${number}.status` | `disputes.${number}.sellerProtection` | `disputes.${number}.channel` | `disputes.${number}.providerDisputeId` | `notificationOfFraud.reason`, 4>>;
1563
1563
  interface PaymentSearchSpec extends SearchSpec {
1564
1564
  searchable: [
1565
1565
  'charge.billingInfo.contactDetails.email',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_payments_payments",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.payments.platform.v1.payment"
51
51
  }
52
52
  },
53
- "falconPackageHash": "91cc09cc8cc47d6d1e80bc210074ad2b98f76ae76ce99e9e855e3eae"
53
+ "falconPackageHash": "ebc5857daa165803663d645bc98840c5371d613cf04e7ffd36a7a441"
54
54
  }