@wix/auto_sdk_payments_psp-callbacks 1.0.0 → 1.0.1

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.
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AAuInI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
1
+ {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AA6InI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AAuInI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AA6InI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AAuInI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
1
+ {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AA6InI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
4
4
  refund?: RefundEvent;
5
5
  /** Transaction event data. */
6
6
  transaction?: TransactionEvent;
7
- /** Capture event data */
7
+ /** Capture event data. */
8
8
  capture?: CaptureEvent;
9
- /** Void event data */
9
+ /** Void event data. */
10
10
  void?: VoidEvent;
11
11
  /**
12
- * This field is ignored, do not send it.
12
+ * This field is deprecated.
13
13
  * @deprecated
14
14
  */
15
15
  pluginId?: string;
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
20
20
  refund?: RefundEvent;
21
21
  /** Transaction event data. */
22
22
  transaction?: TransactionEvent;
23
- /** Capture event data */
23
+ /** Capture event data. */
24
24
  capture?: CaptureEvent;
25
- /** Void event data */
25
+ /** Void event data. */
26
26
  void?: VoidEvent;
27
27
  }
28
28
  export interface RefundEvent {
@@ -89,9 +89,12 @@ export interface CardDetails {
89
89
  export interface CaptureEvent {
90
90
  /** Wix transaction ID. */
91
91
  wixTransactionId?: string;
92
- /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes#capture-declined) indicating request's status. */
92
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
93
93
  reasonCode?: number;
94
- /** Capture amount. */
94
+ /**
95
+ * Total amount captured in a currency’s minor units.
96
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
97
+ */
95
98
  amount?: string;
96
99
  /** PSP-specific error code. */
97
100
  errorCode?: string | null;
@@ -101,9 +104,12 @@ export interface CaptureEvent {
101
104
  export interface VoidEvent {
102
105
  /** Wix transaction ID. */
103
106
  wixTransactionId?: string;
104
- /** PSP void ID. */
107
+ /** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
105
108
  reasonCode?: number;
106
- /** Voided amount. */
109
+ /**
110
+ * Total amount voided in a currency’s minor units.
111
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
112
+ */
107
113
  amount?: string;
108
114
  /** PSP-specific error code. */
109
115
  errorCode?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AAuInI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AA6InI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_payments_psp-callbacks",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,5 +48,5 @@
48
48
  "fqdn": "wix.payments.psp.v1.provider_platform_event"
49
49
  }
50
50
  },
51
- "falconPackageHash": "1bdc124665fb6bc564ae06faa6b2e6e7814acecb4a70b20fab733330"
51
+ "falconPackageHash": "597d8f3694e1b49f2fdaeb6c2efd40438d574688dfafc618635c68c7"
52
52
  }