@dual-os/adyen-api 0.0.0-stage → 6.0.3
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/LICENSE +4 -0
- package/Runner.js +5771 -0
- package/Runner.js.map +63 -0
- package/bundle-inventory.json +1 -0
- package/dist/_virtual/_rolldown/runtime.js +10 -0
- package/dist/_virtual/_rolldown/runtime.js.map +9 -0
- package/dist/auth.d.ts +39 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +17 -0
- package/dist/auth.js.map +9 -0
- package/dist/generated/http.d.ts +81 -0
- package/dist/generated/http.d.ts.map +1 -0
- package/dist/generated/http.js +64 -0
- package/dist/generated/http.js.map +9 -0
- package/dist/generated/operations.d.ts +15588 -0
- package/dist/generated/operations.d.ts.map +1 -0
- package/dist/generated/operations.js +3946 -0
- package/dist/generated/operations.js.map +9 -0
- package/dist/generated/plugin.d.ts +1540 -0
- package/dist/generated/plugin.d.ts.map +1 -0
- package/dist/generated/plugin.js +5111 -0
- package/dist/generated/plugin.js.map +10 -0
- package/dist/triggers.d.ts +303 -0
- package/dist/triggers.d.ts.map +1 -0
- package/dist/triggers.js +17 -0
- package/dist/triggers.js.map +9 -0
- package/dual-plugin.json +1 -0
- package/licenses/@dual-os_sdk@0.8.1/LICENSE +4 -0
- package/licenses/@effect_platform-node-shared@4.1.2/LICENSE +21 -0
- package/licenses/@effect_platform-node@4.1.2/LICENSE +21 -0
- package/licenses/effect@4.1.2/LICENSE +21 -0
- package/package.json +1 -6
- package/plugin-2jdfj02n.js +18 -0
- package/plugin-2jdfj02n.js.map +10 -0
- package/plugin-906teps6.js +1303 -0
- package/plugin-906teps6.js.map +18 -0
- package/plugin-930bs4eq.js +19133 -0
- package/plugin-930bs4eq.js.map +159 -0
- package/plugin-b36xdb6g.js +250 -0
- package/plugin-b36xdb6g.js.map +10 -0
- package/plugin-ms1ae9sx.js +62 -0
- package/plugin-ms1ae9sx.js.map +10 -0
- package/plugin-xe9zycjt.js +55052 -0
- package/plugin-xe9zycjt.js.map +10 -0
- package/plugin.json +174 -0
- package/README.md +0 -3
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { Effect, Schema } from "effect";
|
|
2
|
+
import { Action, Trigger } from "@dual-os/sdk";
|
|
3
|
+
//#region src/triggers.d.ts
|
|
4
|
+
export declare const triggers: readonly [Trigger.Trigger<"event", "webhook", Schema.Struct<{
|
|
5
|
+
readonly merchantId: Schema.NonEmptyString;
|
|
6
|
+
}>, Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly additionalData: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8
|
+
readonly hmacSignature: Schema.optionalKey<Schema.String>;
|
|
9
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
10
|
+
readonly amount: Schema.optionalKey<Schema.Struct<{
|
|
11
|
+
readonly currency: Schema.String;
|
|
12
|
+
readonly value: Schema.Finite;
|
|
13
|
+
}>>;
|
|
14
|
+
readonly eventCode: Schema.String;
|
|
15
|
+
readonly eventDate: Schema.String;
|
|
16
|
+
readonly merchantAccountCode: Schema.String;
|
|
17
|
+
readonly merchantReference: Schema.optionalKey<Schema.String>;
|
|
18
|
+
readonly originalReference: Schema.optionalKey<Schema.String>;
|
|
19
|
+
readonly pspReference: Schema.String;
|
|
20
|
+
readonly success: Schema.Union<readonly [Schema.Boolean, Schema.Literals<readonly ["true", "false"]>]>;
|
|
21
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.Struct<{
|
|
22
|
+
readonly hmacKey: Schema.String;
|
|
23
|
+
readonly webhookId: Schema.String;
|
|
24
|
+
}>, true>, Trigger.Trigger<"platform-event", "webhook", Schema.Struct<{
|
|
25
|
+
readonly accountHolderId: Schema.optionalKey<Schema.NonEmptyString>;
|
|
26
|
+
readonly balancePlatform: Schema.optionalKey<Schema.NonEmptyString>;
|
|
27
|
+
readonly eventTypes: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Literals<readonly ["balancePlatform.transfer.created", "balancePlatform.transfer.updated"]>, Schema.Literals<readonly ["balancePlatform.accountHolder.created", "balancePlatform.accountHolder.updated"]>]>>>;
|
|
28
|
+
}>, Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
29
|
+
readonly data: Schema.StructWithRest<Schema.Struct<{
|
|
30
|
+
readonly accountHolder: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
31
|
+
readonly balancePlatform: Schema.optionalKey<Schema.String>;
|
|
32
|
+
readonly id: Schema.NonEmptyString;
|
|
33
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
34
|
+
readonly balancePlatform: Schema.optionalKey<Schema.String>;
|
|
35
|
+
readonly id: Schema.NonEmptyString;
|
|
36
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
37
|
+
readonly environment: Schema.Literals<readonly ["test", "live"]>;
|
|
38
|
+
readonly timestamp: Schema.optionalKey<Schema.String>;
|
|
39
|
+
readonly type: Schema.Literals<readonly ["balancePlatform.transfer.created", "balancePlatform.transfer.updated"]>;
|
|
40
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
41
|
+
readonly data: Schema.StructWithRest<Schema.Struct<{
|
|
42
|
+
readonly accountHolder: Schema.StructWithRest<Schema.Struct<{
|
|
43
|
+
readonly balancePlatform: Schema.optionalKey<Schema.String>;
|
|
44
|
+
readonly id: Schema.NonEmptyString;
|
|
45
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
46
|
+
readonly balancePlatform: Schema.optionalKey<Schema.String>;
|
|
47
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
48
|
+
readonly environment: Schema.Literals<readonly ["test", "live"]>;
|
|
49
|
+
readonly timestamp: Schema.optionalKey<Schema.String>;
|
|
50
|
+
readonly type: Schema.Literals<readonly ["balancePlatform.accountHolder.created", "balancePlatform.accountHolder.updated"]>;
|
|
51
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>]>, undefined, true>];
|
|
52
|
+
export declare const handlers: {
|
|
53
|
+
event: {
|
|
54
|
+
activate: (input: Trigger.WebhookActivationInput<{
|
|
55
|
+
readonly merchantId: string;
|
|
56
|
+
}, {
|
|
57
|
+
readonly hmacKey: string;
|
|
58
|
+
readonly webhookId: string;
|
|
59
|
+
} | undefined>, context: {
|
|
60
|
+
readonly auth: import("@dual-os/sdk/AuthMethodBinding").Context<readonly [import("@dual-os/sdk/AuthMethod").AuthMethod<"api-key", undefined, Schema.Struct<{
|
|
61
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
62
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
63
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
64
|
+
}>, Schema.Struct<{
|
|
65
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
66
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
67
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
68
|
+
}>, Schema.Struct<{
|
|
69
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
70
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
71
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
72
|
+
}>, never>, import("@dual-os/sdk/AuthMethod").AuthMethod<"basic", undefined, Schema.Struct<{
|
|
73
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
74
|
+
readonly password: Schema.NonEmptyString;
|
|
75
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
76
|
+
readonly username: Schema.NonEmptyString;
|
|
77
|
+
}>, Schema.Struct<{
|
|
78
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
79
|
+
readonly password: Schema.NonEmptyString;
|
|
80
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
81
|
+
readonly username: Schema.NonEmptyString;
|
|
82
|
+
}>, Schema.Struct<{
|
|
83
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
84
|
+
readonly password: Schema.NonEmptyString;
|
|
85
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
86
|
+
readonly username: Schema.NonEmptyString;
|
|
87
|
+
}>, never>]>;
|
|
88
|
+
} & import("@dual-os/sdk/ConnectionResolver").ConnectionResolutionContext) => Effect.Effect<{
|
|
89
|
+
state: {
|
|
90
|
+
hmacKey: string;
|
|
91
|
+
webhookId: string;
|
|
92
|
+
};
|
|
93
|
+
}, Action.ActionHandlerFailure, import("effect/http/HttpClient").HttpClient>;
|
|
94
|
+
deactivate: (input: Trigger.WebhookActivationInput<{
|
|
95
|
+
readonly merchantId: string;
|
|
96
|
+
}, {
|
|
97
|
+
readonly hmacKey: string;
|
|
98
|
+
readonly webhookId: string;
|
|
99
|
+
} | undefined>, context: {
|
|
100
|
+
readonly auth: import("@dual-os/sdk/AuthMethodBinding").Context<readonly [import("@dual-os/sdk/AuthMethod").AuthMethod<"api-key", undefined, Schema.Struct<{
|
|
101
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
102
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
103
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
104
|
+
}>, Schema.Struct<{
|
|
105
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
106
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
107
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
108
|
+
}>, Schema.Struct<{
|
|
109
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
110
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
111
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
112
|
+
}>, never>, import("@dual-os/sdk/AuthMethod").AuthMethod<"basic", undefined, Schema.Struct<{
|
|
113
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
114
|
+
readonly password: Schema.NonEmptyString;
|
|
115
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
116
|
+
readonly username: Schema.NonEmptyString;
|
|
117
|
+
}>, Schema.Struct<{
|
|
118
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
119
|
+
readonly password: Schema.NonEmptyString;
|
|
120
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
121
|
+
readonly username: Schema.NonEmptyString;
|
|
122
|
+
}>, Schema.Struct<{
|
|
123
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
124
|
+
readonly password: Schema.NonEmptyString;
|
|
125
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
126
|
+
readonly username: Schema.NonEmptyString;
|
|
127
|
+
}>, never>]>;
|
|
128
|
+
} & import("@dual-os/sdk/ConnectionResolver").ConnectionResolutionContext) => Effect.Effect<void, Action.ActionHandlerFailure, import("effect/http/HttpClient").HttpClient>;
|
|
129
|
+
parse: (input: Trigger.WebhookLifecycleInput<{
|
|
130
|
+
readonly merchantId: string;
|
|
131
|
+
}, {
|
|
132
|
+
readonly hmacKey: string;
|
|
133
|
+
readonly webhookId: string;
|
|
134
|
+
} | undefined>) => Effect.Effect<{
|
|
135
|
+
events: [{
|
|
136
|
+
key: string;
|
|
137
|
+
payload: {
|
|
138
|
+
readonly [x: string]: unknown;
|
|
139
|
+
readonly additionalData?: {
|
|
140
|
+
readonly [x: string]: unknown;
|
|
141
|
+
readonly hmacSignature?: string;
|
|
142
|
+
};
|
|
143
|
+
readonly amount?: {
|
|
144
|
+
readonly currency: string;
|
|
145
|
+
readonly value: number;
|
|
146
|
+
};
|
|
147
|
+
readonly eventCode: string;
|
|
148
|
+
readonly eventDate: string;
|
|
149
|
+
readonly merchantAccountCode: string;
|
|
150
|
+
readonly merchantReference?: string;
|
|
151
|
+
readonly originalReference?: string;
|
|
152
|
+
readonly pspReference: string;
|
|
153
|
+
readonly success: "false" | "true" | boolean;
|
|
154
|
+
};
|
|
155
|
+
}, ...{
|
|
156
|
+
key: string;
|
|
157
|
+
payload: {
|
|
158
|
+
readonly [x: string]: unknown;
|
|
159
|
+
readonly additionalData?: {
|
|
160
|
+
readonly [x: string]: unknown;
|
|
161
|
+
readonly hmacSignature?: string;
|
|
162
|
+
};
|
|
163
|
+
readonly amount?: {
|
|
164
|
+
readonly currency: string;
|
|
165
|
+
readonly value: number;
|
|
166
|
+
};
|
|
167
|
+
readonly eventCode: string;
|
|
168
|
+
readonly eventDate: string;
|
|
169
|
+
readonly merchantAccountCode: string;
|
|
170
|
+
readonly merchantReference?: string;
|
|
171
|
+
readonly originalReference?: string;
|
|
172
|
+
readonly pspReference: string;
|
|
173
|
+
readonly success: "false" | "true" | boolean;
|
|
174
|
+
};
|
|
175
|
+
}[]];
|
|
176
|
+
state: {
|
|
177
|
+
readonly hmacKey: string;
|
|
178
|
+
readonly webhookId: string;
|
|
179
|
+
} | undefined;
|
|
180
|
+
}, Schema.SchemaError, never>;
|
|
181
|
+
verify: (input: Trigger.WebhookLifecycleInput<{
|
|
182
|
+
readonly merchantId: string;
|
|
183
|
+
}, {
|
|
184
|
+
readonly hmacKey: string;
|
|
185
|
+
readonly webhookId: string;
|
|
186
|
+
} | undefined>) => Effect.Effect<undefined, Action.ActionHandlerError, never>;
|
|
187
|
+
};
|
|
188
|
+
"platform-event": {
|
|
189
|
+
activate: (_input: Trigger.WebhookActivationInput<{
|
|
190
|
+
readonly accountHolderId?: string;
|
|
191
|
+
readonly balancePlatform?: string;
|
|
192
|
+
readonly eventTypes?: readonly ["balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated", ...("balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated")[]];
|
|
193
|
+
}, undefined>, context: {
|
|
194
|
+
readonly auth: import("@dual-os/sdk/AuthMethodBinding").Context<readonly [import("@dual-os/sdk/AuthMethod").AuthMethod<"api-key", undefined, Schema.Struct<{
|
|
195
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
196
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
197
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
198
|
+
}>, Schema.Struct<{
|
|
199
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
200
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
201
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
202
|
+
}>, Schema.Struct<{
|
|
203
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
204
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
205
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
206
|
+
}>, never>, import("@dual-os/sdk/AuthMethod").AuthMethod<"basic", undefined, Schema.Struct<{
|
|
207
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
208
|
+
readonly password: Schema.NonEmptyString;
|
|
209
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
210
|
+
readonly username: Schema.NonEmptyString;
|
|
211
|
+
}>, Schema.Struct<{
|
|
212
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
213
|
+
readonly password: Schema.NonEmptyString;
|
|
214
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
215
|
+
readonly username: Schema.NonEmptyString;
|
|
216
|
+
}>, Schema.Struct<{
|
|
217
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
218
|
+
readonly password: Schema.NonEmptyString;
|
|
219
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
220
|
+
readonly username: Schema.NonEmptyString;
|
|
221
|
+
}>, never>]>;
|
|
222
|
+
} & import("@dual-os/sdk/ConnectionResolver").ConnectionResolutionContext) => Effect.Effect<{
|
|
223
|
+
state: undefined;
|
|
224
|
+
}, Action.ActionHandlerError, never>;
|
|
225
|
+
deactivate: () => Effect.Effect<void, never, never>;
|
|
226
|
+
parse: (input: Trigger.WebhookLifecycleInput<{
|
|
227
|
+
readonly accountHolderId?: string;
|
|
228
|
+
readonly balancePlatform?: string;
|
|
229
|
+
readonly eventTypes?: readonly ["balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated", ...("balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated")[]];
|
|
230
|
+
}, undefined>) => Effect.Effect<{
|
|
231
|
+
events: {
|
|
232
|
+
key: string;
|
|
233
|
+
payload: {
|
|
234
|
+
readonly [x: string]: unknown;
|
|
235
|
+
readonly data: {
|
|
236
|
+
readonly [x: string]: unknown;
|
|
237
|
+
readonly accountHolder?: {
|
|
238
|
+
readonly [x: string]: unknown;
|
|
239
|
+
readonly balancePlatform?: string;
|
|
240
|
+
readonly id: string;
|
|
241
|
+
};
|
|
242
|
+
readonly balancePlatform?: string;
|
|
243
|
+
readonly id: string;
|
|
244
|
+
};
|
|
245
|
+
readonly environment: "live" | "test";
|
|
246
|
+
readonly timestamp?: string;
|
|
247
|
+
readonly type: "balancePlatform.transfer.created" | "balancePlatform.transfer.updated";
|
|
248
|
+
} | {
|
|
249
|
+
readonly [x: string]: unknown;
|
|
250
|
+
readonly data: {
|
|
251
|
+
readonly [x: string]: unknown;
|
|
252
|
+
readonly accountHolder: {
|
|
253
|
+
readonly [x: string]: unknown;
|
|
254
|
+
readonly balancePlatform?: string;
|
|
255
|
+
readonly id: string;
|
|
256
|
+
};
|
|
257
|
+
readonly balancePlatform?: string;
|
|
258
|
+
};
|
|
259
|
+
readonly environment: "live" | "test";
|
|
260
|
+
readonly timestamp?: string;
|
|
261
|
+
readonly type: "balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated";
|
|
262
|
+
};
|
|
263
|
+
}[];
|
|
264
|
+
state: undefined;
|
|
265
|
+
}, Action.ActionHandlerError | Schema.SchemaError, never>;
|
|
266
|
+
verify: (input: Trigger.WebhookLifecycleInput<{
|
|
267
|
+
readonly accountHolderId?: string;
|
|
268
|
+
readonly balancePlatform?: string;
|
|
269
|
+
readonly eventTypes?: readonly ["balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated", ...("balancePlatform.accountHolder.created" | "balancePlatform.accountHolder.updated" | "balancePlatform.transfer.created" | "balancePlatform.transfer.updated")[]];
|
|
270
|
+
}, undefined>, context: {
|
|
271
|
+
readonly auth: import("@dual-os/sdk/AuthMethodBinding").Context<readonly [import("@dual-os/sdk/AuthMethod").AuthMethod<"api-key", undefined, Schema.Struct<{
|
|
272
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
273
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
274
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
275
|
+
}>, Schema.Struct<{
|
|
276
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
277
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
278
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
279
|
+
}>, Schema.Struct<{
|
|
280
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
281
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
282
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
283
|
+
}>, never>, import("@dual-os/sdk/AuthMethod").AuthMethod<"basic", undefined, Schema.Struct<{
|
|
284
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
285
|
+
readonly password: Schema.NonEmptyString;
|
|
286
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
287
|
+
readonly username: Schema.NonEmptyString;
|
|
288
|
+
}>, Schema.Struct<{
|
|
289
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
290
|
+
readonly password: Schema.NonEmptyString;
|
|
291
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
292
|
+
readonly username: Schema.NonEmptyString;
|
|
293
|
+
}>, Schema.Struct<{
|
|
294
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
295
|
+
readonly password: Schema.NonEmptyString;
|
|
296
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
297
|
+
readonly username: Schema.NonEmptyString;
|
|
298
|
+
}>, never>]>;
|
|
299
|
+
} & import("@dual-os/sdk/ConnectionResolver").ConnectionResolutionContext) => Effect.Effect<undefined, Action.ActionHandlerError, never>;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
//#endregion
|
|
303
|
+
//# sourceMappingURL=triggers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","names":[],"sources":["../src/triggers.ts"],"mappings":";;;qBAyHa,oBAAQ,QAAA,4BAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAkC,OAAA,QAAA,OAAA,QAAA,OAAA;qBAE1C;;IAET,WAAQ,OAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2CR,aAAU,OAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOV,QAAK,OAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBL,SAAM,OAAA,QAAA;;;;;;;;IAyCN,WAAQ,QAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASR,kBAAU,OAAA;IACV,QAAK,OAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiCL,SAAM,OAAA,QAAA"}
|
package/dist/triggers.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
triggers2,
|
|
4
|
+
handlers2
|
|
5
|
+
} from "../plugin-b36xdb6g.js";
|
|
6
|
+
import"../plugin-xe9zycjt.js";
|
|
7
|
+
import"../plugin-ms1ae9sx.js";
|
|
8
|
+
import"../plugin-906teps6.js";
|
|
9
|
+
import"../plugin-2jdfj02n.js";
|
|
10
|
+
import"../plugin-930bs4eq.js";
|
|
11
|
+
export {
|
|
12
|
+
handlers2 as handlers,
|
|
13
|
+
triggers2 as triggers
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//# debugId=839FD91A59A8813364756E2164756E21
|
|
17
|
+
//# sourceMappingURL=triggers.js.map
|
package/dual-plugin.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"entrypoint":"dist/generated/plugin.js","export":"adyenApiPlugin","format":2,"plugin":"adyen-api","runner":"Runner.js","sdk_version":"0.8.1","version":"6.0.3"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Effectful Technologies Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Effectful Technologies Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Effectful Technologies Inc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dual-os/adyen-api",
|
|
3
|
-
"version": "0.0.0-stage",
|
|
4
|
-
"stub": true,
|
|
5
|
-
"description": "Temporary package placeholder for staged publishing"
|
|
6
|
-
}
|
|
1
|
+
{"name":"@dual-os/adyen-api","version":"6.0.3","license":"UNLICENSED","exports":{".":"./dist/generated/plugin.js","./definition":"./dist/generated/plugin.js","./executable":"./dist/generated/plugin.js","./package.json":"./package.json","./plugin.json":"./plugin.json"},"files":["**/*"],"type":"module","scripts":{},"dependencies":{},"devDependencies":{},"dual":{"plugin":{"entrypoint":"dist/generated/plugin.js","export":"adyenApiPlugin","format":2,"plugin":"adyen-api","runner":"Runner.js","sdk_version":"0.8.1","version":"6.0.3","assets":["dist/_virtual/_rolldown/runtime.js","dist/auth.d.ts","dist/auth.d.ts.map","dist/auth.js","dist/auth.js.map","dist/generated/http.d.ts","dist/generated/http.d.ts.map","dist/generated/http.js","dist/generated/http.js.map","dist/generated/operations.d.ts","dist/generated/operations.d.ts.map","dist/generated/operations.js","dist/generated/operations.js.map","dist/generated/plugin.d.ts","dist/generated/plugin.d.ts.map","dist/generated/plugin.js","dist/generated/plugin.js.map","dist/triggers.d.ts","dist/triggers.d.ts.map","dist/triggers.js","dist/triggers.js.map","package.json","plugin.json"]}},"peerDependencies":{},"optionalDependencies":{}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// dist/_virtual/_rolldown/runtime.js
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __exportAll2 = (all, no_symbols) => {
|
|
5
|
+
let target = {};
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
11
|
+
if (!no_symbols)
|
|
12
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
13
|
+
return target;
|
|
14
|
+
};
|
|
15
|
+
export { __exportAll2 };
|
|
16
|
+
|
|
17
|
+
//# debugId=082734D28D54F6AF64756E2164756E21
|
|
18
|
+
//# sourceMappingURL=plugin-2jdfj02n.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../bundle-input/dist/_virtual/_rolldown/runtime.js"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"//#region \\0rolldown/runtime.js\nvar __defProp = Object.defineProperty;\nvar __exportAll = (all, no_symbols) => {\n\tlet target = {};\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n\tif (!no_symbols) __defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\treturn target;\n};\n//#endregion\nexport { __exportAll };\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,eAAc,CAAC,KAAK,eAAe;AAAA,EACtC,IAAI,SAAS,CAAC;AAAA,EACd,SAAS,QAAQ;AAAA,IAAK,UAAU,QAAQ,MAAM;AAAA,MAC7C,KAAK,IAAI;AAAA,MACT,YAAY;AAAA,IACb,CAAC;AAAA,EACD,IAAI,CAAC;AAAA,IAAY,UAAU,QAAQ,OAAO,aAAa,EAAE,OAAO,SAAS,CAAC;AAAA,EAC1E,OAAO;AAAA;",
|
|
8
|
+
"debugId": "082734D28D54F6AF64756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|