@wix/auto_sdk_payments_psp-callbacks 1.0.6 → 1.0.7

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 (134) hide show
  1. package/build/index.d.mts +24 -0
  2. package/build/index.d.ts +24 -0
  3. package/build/index.js +410 -0
  4. package/build/index.js.map +1 -0
  5. package/build/index.mjs +383 -0
  6. package/build/index.mjs.map +1 -0
  7. package/build/internal/index.d.mts +24 -0
  8. package/build/internal/index.d.ts +24 -0
  9. package/build/internal/index.js +410 -0
  10. package/build/internal/index.js.map +1 -0
  11. package/build/internal/index.mjs +383 -0
  12. package/build/internal/index.mjs.map +1 -0
  13. package/build/internal/meta.d.mts +168 -0
  14. package/build/internal/meta.d.ts +168 -0
  15. package/build/internal/meta.js +389 -0
  16. package/build/internal/meta.js.map +1 -0
  17. package/build/internal/meta.mjs +362 -0
  18. package/build/internal/meta.mjs.map +1 -0
  19. package/build/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → internal/payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
  20. package/build/internal/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
  21. package/build/meta.d.mts +168 -0
  22. package/build/meta.d.ts +168 -0
  23. package/build/meta.js +389 -0
  24. package/build/meta.js.map +1 -0
  25. package/build/meta.mjs +362 -0
  26. package/build/meta.mjs.map +1 -0
  27. package/build/{es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
  28. package/build/{internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
  40. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
  41. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
  42. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
  43. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
  44. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
  45. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
  46. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
  47. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
  48. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
  49. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
  50. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
  51. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
  52. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
  53. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
  54. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
  55. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
  67. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
  68. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
  69. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
  70. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -346
  71. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
  72. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
  73. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
  74. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
  75. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
  76. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
  77. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
  78. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
  79. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
  80. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
  81. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
  82. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
  93. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
  94. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
  95. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
  96. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
  97. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
  98. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
  99. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
  100. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
  101. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
  102. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
  103. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
  104. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
  105. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
  106. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
  107. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
  108. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
  119. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
  120. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
  121. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
  122. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -346
  123. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
  124. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
  125. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
  126. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
  127. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
  128. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
  129. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
  130. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
  131. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
  132. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
  133. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
  134. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
@@ -0,0 +1,168 @@
1
+ import { S as SubmitEventRequest$1, g as SubmitEventResponse$1 } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.mjs';
2
+
3
+ /** Provider platform event */
4
+ interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
5
+ /** Refund event data. */
6
+ refund?: RefundEvent;
7
+ /** Transaction event data. */
8
+ transaction?: TransactionEvent;
9
+ /** Capture event data. */
10
+ capture?: CaptureEvent;
11
+ /** Void event data. */
12
+ void?: VoidEvent;
13
+ /**
14
+ * This field is deprecated.
15
+ * @deprecated
16
+ */
17
+ pluginId?: string;
18
+ }
19
+ /** @oneof */
20
+ interface ProviderPlatformEventResourceOneOf {
21
+ /** Refund event data. */
22
+ refund?: RefundEvent;
23
+ /** Transaction event data. */
24
+ transaction?: TransactionEvent;
25
+ /** Capture event data. */
26
+ capture?: CaptureEvent;
27
+ /** Void event data. */
28
+ void?: VoidEvent;
29
+ }
30
+ interface RefundEvent {
31
+ /** Wix transaction ID. */
32
+ wixTransactionId?: string;
33
+ /** PSP refund ID. */
34
+ pluginRefundId?: string;
35
+ /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes#all-apis_provider-platform_reason-codes_refund-declined) indicating a failed request. */
36
+ reasonCode?: number;
37
+ /** Refunded amount. */
38
+ amount?: string;
39
+ /** Wix refund ID. This field is only required when a merchant initiates a refund from the Wix dashboard. */
40
+ wixRefundId?: string | null;
41
+ /** PSP-specific error code. */
42
+ errorCode?: string | null;
43
+ /** PSP-specific error message. */
44
+ errorMessage?: string | null;
45
+ }
46
+ interface TransactionEvent {
47
+ /** Wix transaction ID. */
48
+ wixTransactionId?: string;
49
+ /** PSP transaction ID. */
50
+ pluginTransactionId?: string;
51
+ /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes) indicating a failed or pending request. */
52
+ reasonCode?: number;
53
+ /** PSP-specific error code. */
54
+ errorCode?: string | null;
55
+ /** PSP-specific error message. */
56
+ errorMessage?: string | null;
57
+ /** Token data for stored payment method. */
58
+ credentialsOnFile?: CredentialsOnFile;
59
+ /** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
60
+ cardDetails?: CardDetails;
61
+ }
62
+ interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
63
+ /** Network token data. */
64
+ cardReference?: CardReference;
65
+ /** Provider generated token data. */
66
+ paymentMethodReference?: PaymentMethodReference;
67
+ }
68
+ /** @oneof */
69
+ interface CredentialsOnFileInfoOneOf {
70
+ /** Network token data. */
71
+ cardReference?: CardReference;
72
+ /** Provider generated token data. */
73
+ paymentMethodReference?: PaymentMethodReference;
74
+ }
75
+ interface CardReference {
76
+ /** Network token. */
77
+ networkTransactionId?: string;
78
+ /** Directory Server transaction ID */
79
+ dsTransactionId?: string | null;
80
+ }
81
+ interface PaymentMethodReference {
82
+ /** Payment method token created by the PSP. */
83
+ token?: string;
84
+ }
85
+ interface CardDetails {
86
+ /**
87
+ * Issuer (business) identification number. First 6 or 8 digits of the card's number.
88
+ * @minLength 6
89
+ * @maxLength 8
90
+ */
91
+ bin?: string | null;
92
+ /**
93
+ * Last 4 digits of the card's number.
94
+ * @minLength 4
95
+ * @maxLength 4
96
+ */
97
+ lastFour?: string | null;
98
+ }
99
+ interface CaptureEvent {
100
+ /**
101
+ * Wix transaction ID.
102
+ * @format GUID
103
+ */
104
+ wixTransactionId?: string;
105
+ /** 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. */
106
+ reasonCode?: number;
107
+ /**
108
+ * Total amount captured in a currency’s minor units.
109
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
110
+ */
111
+ amount?: string;
112
+ /**
113
+ * PSP-specific error code.
114
+ * @maxLength 50
115
+ */
116
+ errorCode?: string | null;
117
+ /**
118
+ * PSP-specific error message.
119
+ * @maxLength 300
120
+ */
121
+ errorMessage?: string | null;
122
+ }
123
+ interface VoidEvent {
124
+ /**
125
+ * Wix transaction ID.
126
+ * @format GUID
127
+ */
128
+ wixTransactionId?: string;
129
+ /** 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. */
130
+ reasonCode?: number;
131
+ /**
132
+ * Total amount voided in a currency’s minor units.
133
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
134
+ */
135
+ amount?: string;
136
+ /**
137
+ * PSP-specific error code.
138
+ * @maxLength 50
139
+ */
140
+ errorCode?: string | null;
141
+ /**
142
+ * PSP-specific error message.
143
+ * @maxLength 300
144
+ */
145
+ errorMessage?: string | null;
146
+ }
147
+ /** Submit event request */
148
+ interface SubmitEventRequest {
149
+ /** Event data. */
150
+ event: ProviderPlatformEvent;
151
+ }
152
+ /** Submit event response */
153
+ interface SubmitEventResponse {
154
+ }
155
+
156
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
157
+ getUrl: (context: any) => string;
158
+ httpMethod: K;
159
+ path: string;
160
+ pathParams: M;
161
+ __requestType: T;
162
+ __originalRequestType: S;
163
+ __responseType: Q;
164
+ __originalResponseType: R;
165
+ };
166
+ declare function submitEvent(): __PublicMethodMetaInfo<'POST', {}, SubmitEventRequest$1, SubmitEventRequest, SubmitEventResponse$1, SubmitEventResponse>;
167
+
168
+ export { type __PublicMethodMetaInfo, submitEvent };
@@ -0,0 +1,168 @@
1
+ import { S as SubmitEventRequest$1, g as SubmitEventResponse$1 } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.js';
2
+
3
+ /** Provider platform event */
4
+ interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
5
+ /** Refund event data. */
6
+ refund?: RefundEvent;
7
+ /** Transaction event data. */
8
+ transaction?: TransactionEvent;
9
+ /** Capture event data. */
10
+ capture?: CaptureEvent;
11
+ /** Void event data. */
12
+ void?: VoidEvent;
13
+ /**
14
+ * This field is deprecated.
15
+ * @deprecated
16
+ */
17
+ pluginId?: string;
18
+ }
19
+ /** @oneof */
20
+ interface ProviderPlatformEventResourceOneOf {
21
+ /** Refund event data. */
22
+ refund?: RefundEvent;
23
+ /** Transaction event data. */
24
+ transaction?: TransactionEvent;
25
+ /** Capture event data. */
26
+ capture?: CaptureEvent;
27
+ /** Void event data. */
28
+ void?: VoidEvent;
29
+ }
30
+ interface RefundEvent {
31
+ /** Wix transaction ID. */
32
+ wixTransactionId?: string;
33
+ /** PSP refund ID. */
34
+ pluginRefundId?: string;
35
+ /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes#all-apis_provider-platform_reason-codes_refund-declined) indicating a failed request. */
36
+ reasonCode?: number;
37
+ /** Refunded amount. */
38
+ amount?: string;
39
+ /** Wix refund ID. This field is only required when a merchant initiates a refund from the Wix dashboard. */
40
+ wixRefundId?: string | null;
41
+ /** PSP-specific error code. */
42
+ errorCode?: string | null;
43
+ /** PSP-specific error message. */
44
+ errorMessage?: string | null;
45
+ }
46
+ interface TransactionEvent {
47
+ /** Wix transaction ID. */
48
+ wixTransactionId?: string;
49
+ /** PSP transaction ID. */
50
+ pluginTransactionId?: string;
51
+ /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes) indicating a failed or pending request. */
52
+ reasonCode?: number;
53
+ /** PSP-specific error code. */
54
+ errorCode?: string | null;
55
+ /** PSP-specific error message. */
56
+ errorMessage?: string | null;
57
+ /** Token data for stored payment method. */
58
+ credentialsOnFile?: CredentialsOnFile;
59
+ /** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
60
+ cardDetails?: CardDetails;
61
+ }
62
+ interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
63
+ /** Network token data. */
64
+ cardReference?: CardReference;
65
+ /** Provider generated token data. */
66
+ paymentMethodReference?: PaymentMethodReference;
67
+ }
68
+ /** @oneof */
69
+ interface CredentialsOnFileInfoOneOf {
70
+ /** Network token data. */
71
+ cardReference?: CardReference;
72
+ /** Provider generated token data. */
73
+ paymentMethodReference?: PaymentMethodReference;
74
+ }
75
+ interface CardReference {
76
+ /** Network token. */
77
+ networkTransactionId?: string;
78
+ /** Directory Server transaction ID */
79
+ dsTransactionId?: string | null;
80
+ }
81
+ interface PaymentMethodReference {
82
+ /** Payment method token created by the PSP. */
83
+ token?: string;
84
+ }
85
+ interface CardDetails {
86
+ /**
87
+ * Issuer (business) identification number. First 6 or 8 digits of the card's number.
88
+ * @minLength 6
89
+ * @maxLength 8
90
+ */
91
+ bin?: string | null;
92
+ /**
93
+ * Last 4 digits of the card's number.
94
+ * @minLength 4
95
+ * @maxLength 4
96
+ */
97
+ lastFour?: string | null;
98
+ }
99
+ interface CaptureEvent {
100
+ /**
101
+ * Wix transaction ID.
102
+ * @format GUID
103
+ */
104
+ wixTransactionId?: string;
105
+ /** 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. */
106
+ reasonCode?: number;
107
+ /**
108
+ * Total amount captured in a currency’s minor units.
109
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
110
+ */
111
+ amount?: string;
112
+ /**
113
+ * PSP-specific error code.
114
+ * @maxLength 50
115
+ */
116
+ errorCode?: string | null;
117
+ /**
118
+ * PSP-specific error message.
119
+ * @maxLength 300
120
+ */
121
+ errorMessage?: string | null;
122
+ }
123
+ interface VoidEvent {
124
+ /**
125
+ * Wix transaction ID.
126
+ * @format GUID
127
+ */
128
+ wixTransactionId?: string;
129
+ /** 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. */
130
+ reasonCode?: number;
131
+ /**
132
+ * Total amount voided in a currency’s minor units.
133
+ * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
134
+ */
135
+ amount?: string;
136
+ /**
137
+ * PSP-specific error code.
138
+ * @maxLength 50
139
+ */
140
+ errorCode?: string | null;
141
+ /**
142
+ * PSP-specific error message.
143
+ * @maxLength 300
144
+ */
145
+ errorMessage?: string | null;
146
+ }
147
+ /** Submit event request */
148
+ interface SubmitEventRequest {
149
+ /** Event data. */
150
+ event: ProviderPlatformEvent;
151
+ }
152
+ /** Submit event response */
153
+ interface SubmitEventResponse {
154
+ }
155
+
156
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
157
+ getUrl: (context: any) => string;
158
+ httpMethod: K;
159
+ path: string;
160
+ pathParams: M;
161
+ __requestType: T;
162
+ __originalRequestType: S;
163
+ __responseType: Q;
164
+ __originalResponseType: R;
165
+ };
166
+ declare function submitEvent(): __PublicMethodMetaInfo<'POST', {}, SubmitEventRequest$1, SubmitEventRequest, SubmitEventResponse$1, SubmitEventResponse>;
167
+
168
+ export { type __PublicMethodMetaInfo, submitEvent };