@wix/auto_sdk_payments_psp-callbacks 1.0.13 → 1.0.15
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/index.d.mts +24 -0
- package/build/index.d.ts +24 -0
- package/build/index.js +414 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +387 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +24 -0
- package/build/internal/index.d.ts +24 -0
- package/build/internal/index.js +414 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +387 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +168 -0
- package/build/internal/meta.d.ts +168 -0
- package/build/internal/meta.js +393 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +366 -0
- package/build/internal/meta.mjs.map +1 -0
- 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
- 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
- package/build/meta.d.mts +168 -0
- package/build/meta.d.ts +168 -0
- package/build/meta.js +393 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +366 -0
- package/build/meta.mjs.map +1 -0
- 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.mts} +15 -13
- 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.ts} +15 -13
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/** Provider platform event */
|
|
2
|
-
export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
|
|
3
|
-
/** Refund event data. */
|
|
4
|
-
refund?: RefundEvent;
|
|
5
|
-
/** Transaction event data. */
|
|
6
|
-
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data. */
|
|
8
|
-
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data. */
|
|
10
|
-
void?: VoidEvent;
|
|
11
|
-
/**
|
|
12
|
-
* This field is deprecated.
|
|
13
|
-
* @deprecated
|
|
14
|
-
*/
|
|
15
|
-
pluginId?: string;
|
|
16
|
-
}
|
|
17
|
-
/** @oneof */
|
|
18
|
-
export interface ProviderPlatformEventResourceOneOf {
|
|
19
|
-
/** Refund event data. */
|
|
20
|
-
refund?: RefundEvent;
|
|
21
|
-
/** Transaction event data. */
|
|
22
|
-
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data. */
|
|
24
|
-
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data. */
|
|
26
|
-
void?: VoidEvent;
|
|
27
|
-
}
|
|
28
|
-
export interface RefundEvent {
|
|
29
|
-
/** Wix transaction ID. */
|
|
30
|
-
wixTransactionId?: string;
|
|
31
|
-
/** PSP refund ID. */
|
|
32
|
-
pluginRefundId?: string;
|
|
33
|
-
/** 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. */
|
|
34
|
-
reasonCode?: number;
|
|
35
|
-
/** Refunded amount. */
|
|
36
|
-
amount?: string;
|
|
37
|
-
/** Wix refund ID. This field is only required when a merchant initiates a refund from the Wix dashboard. */
|
|
38
|
-
wixRefundId?: string | null;
|
|
39
|
-
/** PSP-specific error code. */
|
|
40
|
-
errorCode?: string | null;
|
|
41
|
-
/** PSP-specific error message. */
|
|
42
|
-
errorMessage?: string | null;
|
|
43
|
-
}
|
|
44
|
-
export interface TransactionEvent {
|
|
45
|
-
/** Wix transaction ID. */
|
|
46
|
-
wixTransactionId?: string;
|
|
47
|
-
/** PSP transaction ID. */
|
|
48
|
-
pluginTransactionId?: string;
|
|
49
|
-
/** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes) indicating a failed or pending request. */
|
|
50
|
-
reasonCode?: number;
|
|
51
|
-
/** PSP-specific error code. */
|
|
52
|
-
errorCode?: string | null;
|
|
53
|
-
/** PSP-specific error message. */
|
|
54
|
-
errorMessage?: string | null;
|
|
55
|
-
/** Token data for stored payment method. */
|
|
56
|
-
credentialsOnFile?: CredentialsOnFile;
|
|
57
|
-
/** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
|
|
58
|
-
cardDetails?: CardDetails;
|
|
59
|
-
}
|
|
60
|
-
export interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
|
|
61
|
-
/** Network token data. */
|
|
62
|
-
cardReference?: CardReference;
|
|
63
|
-
/** Provider generated token data. */
|
|
64
|
-
paymentMethodReference?: PaymentMethodReference;
|
|
65
|
-
}
|
|
66
|
-
/** @oneof */
|
|
67
|
-
export interface CredentialsOnFileInfoOneOf {
|
|
68
|
-
/** Network token data. */
|
|
69
|
-
cardReference?: CardReference;
|
|
70
|
-
/** Provider generated token data. */
|
|
71
|
-
paymentMethodReference?: PaymentMethodReference;
|
|
72
|
-
}
|
|
73
|
-
export interface CardReference {
|
|
74
|
-
/** Network token. */
|
|
75
|
-
networkTransactionId?: string;
|
|
76
|
-
/** Directory Server transaction ID */
|
|
77
|
-
dsTransactionId?: string | null;
|
|
78
|
-
}
|
|
79
|
-
export interface PaymentMethodReference {
|
|
80
|
-
/** Payment method token created by the PSP. */
|
|
81
|
-
token?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface CardDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
-
* @minLength 6
|
|
87
|
-
* @maxLength 8
|
|
88
|
-
*/
|
|
89
|
-
bin?: string | null;
|
|
90
|
-
/**
|
|
91
|
-
* Last 4 digits of the card's number.
|
|
92
|
-
* @minLength 4
|
|
93
|
-
* @maxLength 4
|
|
94
|
-
*/
|
|
95
|
-
lastFour?: string | null;
|
|
96
|
-
}
|
|
97
|
-
export interface CaptureEvent {
|
|
98
|
-
/**
|
|
99
|
-
* Wix transaction ID.
|
|
100
|
-
* @format GUID
|
|
101
|
-
*/
|
|
102
|
-
wixTransactionId?: string;
|
|
103
|
-
/** 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. */
|
|
104
|
-
reasonCode?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Total amount captured in a currency’s minor units.
|
|
107
|
-
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
-
*/
|
|
109
|
-
amount?: string;
|
|
110
|
-
/**
|
|
111
|
-
* PSP-specific error code.
|
|
112
|
-
* @maxLength 50
|
|
113
|
-
*/
|
|
114
|
-
errorCode?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* PSP-specific error message.
|
|
117
|
-
* @maxLength 300
|
|
118
|
-
*/
|
|
119
|
-
errorMessage?: string | null;
|
|
120
|
-
}
|
|
121
|
-
export interface VoidEvent {
|
|
122
|
-
/**
|
|
123
|
-
* Wix transaction ID.
|
|
124
|
-
* @format GUID
|
|
125
|
-
*/
|
|
126
|
-
wixTransactionId?: string;
|
|
127
|
-
/** 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. */
|
|
128
|
-
reasonCode?: number;
|
|
129
|
-
/**
|
|
130
|
-
* Total amount voided in a currency’s minor units.
|
|
131
|
-
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
-
*/
|
|
133
|
-
amount?: string;
|
|
134
|
-
/**
|
|
135
|
-
* PSP-specific error code.
|
|
136
|
-
* @maxLength 50
|
|
137
|
-
*/
|
|
138
|
-
errorCode?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* PSP-specific error message.
|
|
141
|
-
* @maxLength 300
|
|
142
|
-
*/
|
|
143
|
-
errorMessage?: string | null;
|
|
144
|
-
}
|
|
145
|
-
/** Submit event request */
|
|
146
|
-
export interface SubmitEventRequest {
|
|
147
|
-
/** Event data. */
|
|
148
|
-
event: ProviderPlatformEvent;
|
|
149
|
-
}
|
|
150
|
-
/** Submit event response */
|
|
151
|
-
export interface SubmitEventResponse {
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
155
|
-
*
|
|
156
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
157
|
-
* PSP's create their own version numbers.
|
|
158
|
-
*
|
|
159
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
160
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
161
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
162
|
-
* @param event - Event data.
|
|
163
|
-
* @public
|
|
164
|
-
* @requiredField event
|
|
165
|
-
* @permissionId CASHIER.GET_ACCESS
|
|
166
|
-
* @returns Submit event response
|
|
167
|
-
* @fqn wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent
|
|
168
|
-
*/
|
|
169
|
-
export declare function submitEvent(event: ProviderPlatformEvent): Promise<void>;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submitEvent = void 0;
|
|
27
|
-
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
|
-
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
|
-
const ambassadorWixPaymentsPspV1ProviderPlatformEvent = __importStar(require("./payments-psp-v1-provider-platform-event-psp-callbacks.http.js"));
|
|
30
|
-
/**
|
|
31
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
32
|
-
*
|
|
33
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
34
|
-
* PSP's create their own version numbers.
|
|
35
|
-
*
|
|
36
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
37
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
38
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
39
|
-
* @param event - Event data.
|
|
40
|
-
* @public
|
|
41
|
-
* @requiredField event
|
|
42
|
-
* @permissionId CASHIER.GET_ACCESS
|
|
43
|
-
* @returns Submit event response
|
|
44
|
-
* @fqn wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent
|
|
45
|
-
*/
|
|
46
|
-
async function submitEvent(event) {
|
|
47
|
-
// @ts-ignore
|
|
48
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
49
|
-
const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({ event: event });
|
|
50
|
-
const reqOpts = ambassadorWixPaymentsPspV1ProviderPlatformEvent.submitEvent(payload);
|
|
51
|
-
sideEffects?.onSiteCall?.();
|
|
52
|
-
try {
|
|
53
|
-
const result = await httpClient.request(reqOpts);
|
|
54
|
-
sideEffects?.onSuccess?.(result);
|
|
55
|
-
}
|
|
56
|
-
catch (err) {
|
|
57
|
-
const transformedError = (0, transform_error_1.transformError)(err, {
|
|
58
|
-
spreadPathsToArguments: {},
|
|
59
|
-
explicitPathsToArguments: { event: '$[0]' },
|
|
60
|
-
singleArgumentUnchanged: false,
|
|
61
|
-
}, ['event']);
|
|
62
|
-
sideEffects?.onError?.(err);
|
|
63
|
-
throw transformedError;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
exports.submitEvent = submitEvent;
|
|
67
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map
|
package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;AAuKnI;;;;;;;;;;;;;;;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"}
|
package/build/es/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js';
|
package/build/es/index.js
DELETED
package/build/es/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,wEAAwE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":"AAAA,cAAc,0EAA0E,CAAC"}
|
package/build/es/meta.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js';
|
package/build/es/meta.js
DELETED
package/build/es/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC"}
|
package/build/es/package.json
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { submitEvent as publicSubmitEvent } from './payments-psp-v1-provider-platform-event-psp-callbacks.public.js';
|
|
2
|
-
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
-
export declare const submitEvent: MaybeContext<BuildRESTFunction<typeof publicSubmitEvent> & typeof publicSubmitEvent>;
|
|
4
|
-
export { ProviderPlatformEvent, ProviderPlatformEventResourceOneOf, RefundEvent, TransactionEvent, CredentialsOnFile, CredentialsOnFileInfoOneOf, CardReference, PaymentMethodReference, CardDetails, CaptureEvent, VoidEvent, SubmitEventRequest, SubmitEventResponse, } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { submitEvent as publicSubmitEvent } from './payments-psp-v1-provider-platform-event-psp-callbacks.public.js';
|
|
2
|
-
import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
|
|
3
|
-
export const submitEvent = /*#__PURE__*/ createRESTModule(publicSubmitEvent);
|
|
4
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.context.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,WAAW,GAEpB,aAAa,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
3
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
4
|
-
*
|
|
5
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
6
|
-
* PSP's create their own version numbers.
|
|
7
|
-
*
|
|
8
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
9
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
10
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
11
|
-
*/
|
|
12
|
-
export declare function submitEvent(payload: object): RequestOptionsFactory<any>;
|
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
import { resolveUrl } from '@wix/sdk-runtime/rest-modules';
|
|
2
|
-
function resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(opts) {
|
|
3
|
-
const domainToMappings = {
|
|
4
|
-
'cashier-services._base_domain_': [
|
|
5
|
-
{
|
|
6
|
-
srcPath: '',
|
|
7
|
-
destPath: '',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
srcPath: '/_api/payment-services-web',
|
|
11
|
-
destPath: '/api',
|
|
12
|
-
},
|
|
13
|
-
],
|
|
14
|
-
'difm._base_domain_': [
|
|
15
|
-
{
|
|
16
|
-
srcPath: '/_api/payment-services-web',
|
|
17
|
-
destPath: '/api',
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
'invoices._base_domain_': [
|
|
21
|
-
{
|
|
22
|
-
srcPath: '/_api/payment-services-web',
|
|
23
|
-
destPath: '/api',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
'apps._base_domain_': [
|
|
27
|
-
{
|
|
28
|
-
srcPath: '/_api/payment-services-web',
|
|
29
|
-
destPath: '/api',
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
'ecom._base_domain_': [
|
|
33
|
-
{
|
|
34
|
-
srcPath: '/_api/payment-services-web',
|
|
35
|
-
destPath: '/api',
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
'www.cartscheckout.com': [
|
|
39
|
-
{
|
|
40
|
-
srcPath: '/_api/payment-services-web',
|
|
41
|
-
destPath: '/api',
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
'cartscheckout.com': [
|
|
45
|
-
{
|
|
46
|
-
srcPath: '/_api/payment-services-web',
|
|
47
|
-
destPath: '/api',
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
'cartscheckout._base_domain_': [
|
|
51
|
-
{
|
|
52
|
-
srcPath: '/_api/payment-services-web',
|
|
53
|
-
destPath: '/api',
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
'api._api_base_domain_': [
|
|
57
|
-
{
|
|
58
|
-
srcPath: '/payment-services-web',
|
|
59
|
-
destPath: '',
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
'progallery._base_domain_': [
|
|
63
|
-
{
|
|
64
|
-
srcPath: '/_api/payment-services-web',
|
|
65
|
-
destPath: '',
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
'progallerycdn._base_domain_': [
|
|
69
|
-
{
|
|
70
|
-
srcPath: '/_api/payment-services-web',
|
|
71
|
-
destPath: '',
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
'scheduler._base_domain_': [
|
|
75
|
-
{
|
|
76
|
-
srcPath: '/_api/payment-services-web',
|
|
77
|
-
destPath: '/api',
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
'events._base_domain_': [
|
|
81
|
-
{
|
|
82
|
-
srcPath: '/_api/payment-services-web',
|
|
83
|
-
destPath: '/api',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
srcPath: '/payment-services-web',
|
|
87
|
-
destPath: '',
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
'bookings.wixapps.net': [
|
|
91
|
-
{
|
|
92
|
-
srcPath: '/_api/payment-services-web',
|
|
93
|
-
destPath: '/api',
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
'cashier._base_domain_': [
|
|
97
|
-
{
|
|
98
|
-
srcPath: '/_api/payment-services-web',
|
|
99
|
-
destPath: '/api',
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
'ecom.wixapps.net': [
|
|
103
|
-
{
|
|
104
|
-
srcPath: '/_api/payment-services-web',
|
|
105
|
-
destPath: '/api',
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
'cashier.wixapps.net': [
|
|
109
|
-
{
|
|
110
|
-
srcPath: '/_api/payment-services-web',
|
|
111
|
-
destPath: '/api',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
srcPath: '',
|
|
115
|
-
destPath: '',
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
'vod-server._base_domain_': [
|
|
119
|
-
{
|
|
120
|
-
srcPath: '/_api/payment-services-web',
|
|
121
|
-
destPath: '/api',
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
'vod.wixapps.net': [
|
|
125
|
-
{
|
|
126
|
-
srcPath: '/_api/payment-services-web',
|
|
127
|
-
destPath: '/api',
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
'www.wixhotels.com': [
|
|
131
|
-
{
|
|
132
|
-
srcPath: '/_api/payment-services-web',
|
|
133
|
-
destPath: '/api',
|
|
134
|
-
},
|
|
135
|
-
],
|
|
136
|
-
'editor._base_domain_': [
|
|
137
|
-
{
|
|
138
|
-
srcPath: '/_api/payment-services-web',
|
|
139
|
-
destPath: '/api',
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
'blocks._base_domain_': [
|
|
143
|
-
{
|
|
144
|
-
srcPath: '/_api/payment-services-web',
|
|
145
|
-
destPath: '/api',
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
'create.editorx': [
|
|
149
|
-
{
|
|
150
|
-
srcPath: '/_api/payment-services-web',
|
|
151
|
-
destPath: '/api',
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
'test-applepay.wixapps.net': [
|
|
155
|
-
{
|
|
156
|
-
srcPath: '/_api/payment-services-web',
|
|
157
|
-
destPath: '/api',
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
'www.wixapis.com': [
|
|
161
|
-
{
|
|
162
|
-
srcPath: '/payments',
|
|
163
|
-
destPath: '/api/merchant',
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
srcPath: '/payments/v1/provider-platform-events',
|
|
167
|
-
destPath: '/payments/v1/provider-platform-events',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
srcPath: '/api/plugin/v1/transactions',
|
|
171
|
-
destPath: '/api/plugin/v1/transactions',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
srcPath: '/payments/api/merchant',
|
|
175
|
-
destPath: '/api/merchant',
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
'us-applepay.wixapps.net': [
|
|
179
|
-
{
|
|
180
|
-
srcPath: '/_api/payment-services-web',
|
|
181
|
-
destPath: '/api',
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
'eu-applepay.wixapps.net': [
|
|
185
|
-
{
|
|
186
|
-
srcPath: '/_api/payment-services-web',
|
|
187
|
-
destPath: '/api',
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
'payments-sb.wixapps.net': [
|
|
191
|
-
{
|
|
192
|
-
srcPath: '/_api/payment-services-web',
|
|
193
|
-
destPath: '/api',
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
'manage._base_domain_': [
|
|
197
|
-
{
|
|
198
|
-
srcPath: '/_api/payment-services-web',
|
|
199
|
-
destPath: '/api',
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
srcPath: '/ambassador/payment-services-web',
|
|
203
|
-
destPath: '',
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
207
|
-
destPath: '/domain-verification/apple-pay',
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
_: [
|
|
211
|
-
{
|
|
212
|
-
srcPath: '/_api/payment-services-web',
|
|
213
|
-
destPath: '/api',
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
217
|
-
destPath: '/domain-verification/apple-pay',
|
|
218
|
-
},
|
|
219
|
-
],
|
|
220
|
-
'events.wixapps.net': [
|
|
221
|
-
{
|
|
222
|
-
srcPath: '/_api/payment-services-web',
|
|
223
|
-
destPath: '/api',
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
'tpa.wixapps.net': [
|
|
227
|
-
{
|
|
228
|
-
srcPath: '/_api/payment-services-web',
|
|
229
|
-
destPath: '/api',
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
srcPath: '/payment-services-web',
|
|
233
|
-
destPath: '',
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
'pricing-plans.wixapps.net': [
|
|
237
|
-
{
|
|
238
|
-
srcPath: '/_api/payment-services-web',
|
|
239
|
-
destPath: '/api',
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
'editor-flow.wixapps.net': [
|
|
243
|
-
{
|
|
244
|
-
srcPath: '/_api/payment-services-web',
|
|
245
|
-
destPath: '/api',
|
|
246
|
-
},
|
|
247
|
-
],
|
|
248
|
-
'bo._base_domain_': [
|
|
249
|
-
{
|
|
250
|
-
srcPath: '/_api/payment-services-web',
|
|
251
|
-
destPath: '/api',
|
|
252
|
-
},
|
|
253
|
-
],
|
|
254
|
-
'wixbo.ai': [
|
|
255
|
-
{
|
|
256
|
-
srcPath: '/_api/payment-services-web',
|
|
257
|
-
destPath: '/api',
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
'wix-bo.com': [
|
|
261
|
-
{
|
|
262
|
-
srcPath: '/_api/payment-services-web',
|
|
263
|
-
destPath: '/api',
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
'editor.wixapps.net': [
|
|
267
|
-
{
|
|
268
|
-
srcPath: '/_api/payment-services-web',
|
|
269
|
-
destPath: '/api',
|
|
270
|
-
},
|
|
271
|
-
],
|
|
272
|
-
'premium._base_domain_': [
|
|
273
|
-
{
|
|
274
|
-
srcPath: '/_api/payment-services-web',
|
|
275
|
-
destPath: '/api',
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
srcPath: '/payment-services-web',
|
|
279
|
-
destPath: '',
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
srcPath: '/lib-mbapi/include/modules/gateway/return/paypal.php',
|
|
283
|
-
destPath: '/api/payPal/payments/legacy-ipn-to-ignore',
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
'www._base_domain_': [
|
|
287
|
-
{
|
|
288
|
-
srcPath: '/_api/payment-services-web',
|
|
289
|
-
destPath: '/api',
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
293
|
-
destPath: '/domain-verification/apple-pay',
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
'payment-webhooks.wixapps.net': [
|
|
297
|
-
{
|
|
298
|
-
srcPath: '/cashier/accounts/stripe',
|
|
299
|
-
destPath: '/api/merchant/stripe',
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
srcPath: '/cashier/transactions/stripe',
|
|
303
|
-
destPath: '/api/stripe',
|
|
304
|
-
},
|
|
305
|
-
],
|
|
306
|
-
'cashier-services.wixapis.com': [
|
|
307
|
-
{
|
|
308
|
-
srcPath: '/payments/v1/provider-platform-events',
|
|
309
|
-
destPath: '/payments/v1/provider-platform-events',
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
'currency-converter.wixapps.net': [
|
|
313
|
-
{
|
|
314
|
-
srcPath: '/_api/payment-services-web',
|
|
315
|
-
destPath: '/api',
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
};
|
|
319
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
320
|
-
}
|
|
321
|
-
const PACKAGE_NAME = '@wix/auto_sdk_payments_psp-callbacks';
|
|
322
|
-
/**
|
|
323
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
324
|
-
*
|
|
325
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
326
|
-
* PSP's create their own version numbers.
|
|
327
|
-
*
|
|
328
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
329
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
330
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
331
|
-
*/
|
|
332
|
-
export function submitEvent(payload) {
|
|
333
|
-
function __submitEvent({ host }) {
|
|
334
|
-
const metadata = {
|
|
335
|
-
entityFqdn: 'wix.payments.psp.v1.provider_platform_event',
|
|
336
|
-
method: 'POST',
|
|
337
|
-
methodFqn: 'wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent',
|
|
338
|
-
packageName: PACKAGE_NAME,
|
|
339
|
-
url: resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl({
|
|
340
|
-
protoPath: '/payments/v1/provider-platform-events',
|
|
341
|
-
data: payload,
|
|
342
|
-
host,
|
|
343
|
-
}),
|
|
344
|
-
data: payload,
|
|
345
|
-
};
|
|
346
|
-
return metadata;
|
|
347
|
-
}
|
|
348
|
-
return __submitEvent;
|
|
349
|
-
}
|
|
350
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.http.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI3D,SAAS,0EAA0E,CACjF,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,gCAAgC,EAAE;YAChC;gBACE,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,wBAAwB,EAAE;YACxB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,6BAA6B,EAAE;YAC7B;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,uBAAuB,EAAE;YACvB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,0BAA0B,EAAE;YAC1B;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,EAAE;aACb;SACF;QAC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