@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 @@
|
|
|
1
|
+
{"format":1,"toolchain":{"bun":"1.4.2","lockfile_sha512":"5a33b7f1f025a7c482045f64ed93b52c9f6c8674d0133fd234234f876c0b7bb9a9956e0a731f50fe53250544fbdef0d0dd06ea6ae4a4d8669149f9cb8315e121"},"packages":[{"name":"@dual-os/sdk","version":"0.8.1","license":"UNLICENSED","licenses":["licenses/@dual-os_sdk@0.8.1/LICENSE"]},{"name":"@effect/platform-node-shared","version":"4.1.2","license":"MIT","licenses":["licenses/@effect_platform-node-shared@4.1.2/LICENSE"]},{"name":"@effect/platform-node","version":"4.1.2","license":"MIT","licenses":["licenses/@effect_platform-node@4.1.2/LICENSE"]},{"name":"effect","version":"4.1.2","license":"MIT","licenses":["licenses/effect@4.1.2/LICENSE"]}]}
|
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import "./auth.js";
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
import { HttpClient } from "effect/http";
|
|
4
|
+
import { Action, AuthMethod } from "@dual-os/sdk";
|
|
5
|
+
declare namespace auth_d_exports {
|
|
6
|
+
export { auth_d_exports as Auth, authMethods, authorize };
|
|
7
|
+
}
|
|
8
|
+
export declare const authMethods: readonly [AuthMethod.AuthMethod<"api-key", undefined, Schema.Struct<{
|
|
9
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
10
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
11
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
12
|
+
}>, Schema.Struct<{
|
|
13
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
14
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
15
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
16
|
+
}>, Schema.Struct<{
|
|
17
|
+
readonly apiKey: Schema.NonEmptyString;
|
|
18
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
19
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
20
|
+
}>, never>, AuthMethod.AuthMethod<"basic", undefined, Schema.Struct<{
|
|
21
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
22
|
+
readonly password: Schema.NonEmptyString;
|
|
23
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
24
|
+
readonly username: Schema.NonEmptyString;
|
|
25
|
+
}>, Schema.Struct<{
|
|
26
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
27
|
+
readonly password: Schema.NonEmptyString;
|
|
28
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
29
|
+
readonly username: Schema.NonEmptyString;
|
|
30
|
+
}>, Schema.Struct<{
|
|
31
|
+
readonly livePrefix: Schema.optional<Schema.String>;
|
|
32
|
+
readonly password: Schema.NonEmptyString;
|
|
33
|
+
readonly platformHmacKey: Schema.optionalKey<Schema.String>;
|
|
34
|
+
readonly username: Schema.NonEmptyString;
|
|
35
|
+
}>, never>];
|
|
36
|
+
export declare function authorize(client: HttpClient.HttpClient, context: Action.HandlerContext<typeof authMethods>): HttpClient.HttpClient;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { auth_d_exports as Auth };
|
|
39
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","names":[],"sources":["../src/auth.ts"],"mappings":";;;;;;;qBAgDa,uBAAW,WAAA,iCAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAOR,UACd,QAAQ,WAAW,YACnB,SAAS,OAAO,sBAAsB,eACrC,WAAW"}
|
package/dist/auth.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
auth_exports2,
|
|
4
|
+
authMethods2,
|
|
5
|
+
authorize2
|
|
6
|
+
} from "../plugin-906teps6.js";
|
|
7
|
+
import"../plugin-2jdfj02n.js";
|
|
8
|
+
import"../plugin-930bs4eq.js";
|
|
9
|
+
export {
|
|
10
|
+
auth_exports2 as Auth,
|
|
11
|
+
authMethods2 as authMethods,
|
|
12
|
+
auth_exports2 as auth_exports,
|
|
13
|
+
authorize2 as authorize
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//# debugId=B1401B80B634938F64756E2164756E21
|
|
17
|
+
//# sourceMappingURL=auth.js.map
|
package/dist/auth.js.map
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { authMethods } from "../auth.js";
|
|
2
|
+
import "./http.js";
|
|
3
|
+
import { Action, Http } from "@dual-os/sdk";
|
|
4
|
+
import { Base64FromFile, Base64UrlFromFile, DataUriFromFile, DateTimeFromRfc2822, DateTimeFromUnixSeconds, File, FileFromBase64, FileFromBase64Url, FileFromDataUri, Rfc2822FromDateTime, UnixSecondsFromDateTime, continuation, decoded, form, literal, params, path, preauthenticated, segments } from "@dual-os/sdk/Http";
|
|
5
|
+
declare namespace http_d_exports {
|
|
6
|
+
export { Base64FromFile, Base64UrlFromFile, Context, DataUriFromFile, DateTimeFromRfc2822, DateTimeFromUnixSeconds, File, FileFromBase64, FileFromBase64Url, FileFromDataUri, Handler, http_d_exports as Http, Rfc2822FromDateTime, UnixSecondsFromDateTime, continuation, decoded, endpoint, execute, form, googleUpload, graphql, literal, mcp, params, path, preauthenticated, segments, variants };
|
|
7
|
+
}
|
|
8
|
+
export type Handler<Input, Output> = Http.Handler<typeof authMethods, Input, Output>;
|
|
9
|
+
export interface Context extends Action.HandlerContext<typeof authMethods> {}
|
|
10
|
+
declare const { endpoint, execute, googleUpload, graphql, mcp, variants }: {
|
|
11
|
+
endpoint: {
|
|
12
|
+
<const Input extends import("effect/Schema").Top, const Output extends import("effect/Schema").Top>(contract: {
|
|
13
|
+
readonly input: Input;
|
|
14
|
+
readonly output: Output;
|
|
15
|
+
}, run: (input: Input["Type"], context: Context, output: Output) => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerFailure, import("effect/http/HttpClient").HttpClient>): Http.Endpoint<Context, Input, Output>;
|
|
16
|
+
<const Input extends import("effect/Schema").Top, const Wire extends import("effect/Schema").Top>(contract: {
|
|
17
|
+
readonly input: Input;
|
|
18
|
+
readonly output: Http.Decoded<Wire>;
|
|
19
|
+
}, run: (input: Input["Type"], context: Context, output: Wire) => import("effect/Effect").Effect<Wire["Type"], Action.ActionHandlerFailure, import("effect/http/HttpClient").HttpClient>): Http.DecodedEndpoint<Context, Input, Wire>;
|
|
20
|
+
};
|
|
21
|
+
execute: <Output extends import("effect/Schema").Top>(context: Context | undefined, output: Output, request: import("effect/Effect").Effect<import("effect/http/HttpClientRequest").HttpClientRequest, Action.ActionHandlerError, never> | import("effect/http/HttpClientRequest").HttpClientRequest, body: "binary" | "file" | "json" | "text" | "unknown" | "void") => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerError | Action.RetryableActionHandlerError, import("effect/http/HttpClient").HttpClient | Output["DecodingServices"]>;
|
|
22
|
+
googleUpload: <Output extends import("effect/Schema").Top>(context: Context, output: Output, request: import("effect/http/HttpClientRequest").HttpClientRequest, payload: {
|
|
23
|
+
readonly mode: "media";
|
|
24
|
+
readonly media: {
|
|
25
|
+
readonly _tag: "File";
|
|
26
|
+
readonly contentType: string;
|
|
27
|
+
readonly id: string;
|
|
28
|
+
readonly name: string;
|
|
29
|
+
readonly sizeBytes: number;
|
|
30
|
+
} | {
|
|
31
|
+
readonly contentBase64: Uint8Array;
|
|
32
|
+
readonly contentType?: string | null;
|
|
33
|
+
};
|
|
34
|
+
} | {
|
|
35
|
+
readonly mode: "multipart";
|
|
36
|
+
readonly media: {
|
|
37
|
+
readonly _tag: "File";
|
|
38
|
+
readonly contentType: string;
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly name: string;
|
|
41
|
+
readonly sizeBytes: number;
|
|
42
|
+
} | {
|
|
43
|
+
readonly contentBase64: Uint8Array;
|
|
44
|
+
readonly contentType?: string | null;
|
|
45
|
+
};
|
|
46
|
+
readonly metadata: unknown;
|
|
47
|
+
} | {
|
|
48
|
+
readonly mode: "start";
|
|
49
|
+
readonly contentType: string;
|
|
50
|
+
readonly metadata?: unknown;
|
|
51
|
+
readonly totalBytes: number;
|
|
52
|
+
} | {
|
|
53
|
+
readonly mode: "chunk";
|
|
54
|
+
readonly sessionUrl: string;
|
|
55
|
+
readonly totalBytes: number;
|
|
56
|
+
readonly offset: number;
|
|
57
|
+
readonly media: {
|
|
58
|
+
readonly _tag: "File";
|
|
59
|
+
readonly contentType: string;
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly sizeBytes: number;
|
|
63
|
+
} | {
|
|
64
|
+
readonly contentBase64: Uint8Array;
|
|
65
|
+
readonly contentType?: string | null;
|
|
66
|
+
};
|
|
67
|
+
} | {
|
|
68
|
+
readonly mode: "status";
|
|
69
|
+
readonly sessionUrl: string;
|
|
70
|
+
readonly totalBytes: number;
|
|
71
|
+
}, options: {
|
|
72
|
+
readonly maxSize?: number;
|
|
73
|
+
readonly resumable?: string;
|
|
74
|
+
}) => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerError | Action.RetryableActionHandlerError, import("effect/http/HttpClient").HttpClient | Output["DecodingServices"]>;
|
|
75
|
+
graphql: <Output extends import("effect/Schema").Top>(context: Context, output: Output, request: import("effect/Effect").Effect<import("effect/http/HttpClientRequest").HttpClientRequest, Action.ActionHandlerError, never> | import("effect/http/HttpClientRequest").HttpClientRequest, field: string) => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerError | Action.RetryableActionHandlerError, import("effect/http/HttpClient").HttpClient | Output["DecodingServices"]>;
|
|
76
|
+
mcp: <Output extends import("effect/Schema").Top>(context: Context, output: Output, server: string, tool: string, args: unknown, structured: boolean) => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerError | Action.RetryableActionHandlerError, import("effect/http/HttpClient").HttpClient | Exclude<Output["DecodingServices"], import("effect/Scope").Scope>>;
|
|
77
|
+
variants: <Output extends import("effect/Schema").Top>(context: Context | undefined, output: Output, request: import("effect/Effect").Effect<import("effect/http/HttpClientRequest").HttpClientRequest, Action.ActionHandlerError, never> | import("effect/http/HttpClientRequest").HttpClientRequest, declared: readonly Http.Variant[], media?: boolean | undefined) => import("effect/Effect").Effect<Output["Type"], Action.ActionHandlerError | Action.RetryableActionHandlerError, import("effect/http/HttpClient").HttpClient | Output["DecodingServices"]>;
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { Base64FromFile, Base64UrlFromFile, DataUriFromFile, DateTimeFromRfc2822, DateTimeFromUnixSeconds, File, FileFromBase64, FileFromBase64Url, FileFromDataUri, http_d_exports as Http, Rfc2822FromDateTime, UnixSecondsFromDateTime, continuation, decoded, endpoint, execute, form, googleUpload, graphql, literal, mcp, params, path, preauthenticated, segments, variants };
|
|
81
|
+
//# sourceMappingURL=http.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.d.ts","names":["Auth.authMethods"],"sources":["../../src/generated/http.ts"],"mappings":";;;;;;;YA4BY,QAAQ,OAAO,UAAU,KAAK,eAAeA,aAAkB,OAAO;iBAEjE,gBAAgB,OAAO,sBAAsBA;cAEjD,EAAE,UAAU,SAAS,cAAc,SAAS,KAAK"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
http_exports,
|
|
4
|
+
endpoint2,
|
|
5
|
+
execute2,
|
|
6
|
+
googleUpload2,
|
|
7
|
+
graphql2,
|
|
8
|
+
mcp2,
|
|
9
|
+
variants2
|
|
10
|
+
} from "../../plugin-ms1ae9sx.js";
|
|
11
|
+
import {
|
|
12
|
+
File3,
|
|
13
|
+
FileFromBase642,
|
|
14
|
+
FileFromBase64Url2,
|
|
15
|
+
Base64FromFile2,
|
|
16
|
+
Base64UrlFromFile2,
|
|
17
|
+
FileFromDataUri2,
|
|
18
|
+
DataUriFromFile2,
|
|
19
|
+
DateTimeFromUnixSeconds2,
|
|
20
|
+
UnixSecondsFromDateTime2,
|
|
21
|
+
DateTimeFromRfc28222,
|
|
22
|
+
Rfc2822FromDateTime2,
|
|
23
|
+
decoded2,
|
|
24
|
+
path2,
|
|
25
|
+
literal2,
|
|
26
|
+
segments2,
|
|
27
|
+
params2,
|
|
28
|
+
form2,
|
|
29
|
+
continuation2,
|
|
30
|
+
preauthenticated2
|
|
31
|
+
} from "../../plugin-906teps6.js";
|
|
32
|
+
import"../../plugin-2jdfj02n.js";
|
|
33
|
+
import"../../plugin-930bs4eq.js";
|
|
34
|
+
export {
|
|
35
|
+
Base64FromFile2 as Base64FromFile,
|
|
36
|
+
Base64UrlFromFile2 as Base64UrlFromFile,
|
|
37
|
+
DataUriFromFile2 as DataUriFromFile,
|
|
38
|
+
DateTimeFromRfc28222 as DateTimeFromRfc2822,
|
|
39
|
+
DateTimeFromUnixSeconds2 as DateTimeFromUnixSeconds,
|
|
40
|
+
File3 as File,
|
|
41
|
+
FileFromBase642 as FileFromBase64,
|
|
42
|
+
FileFromBase64Url2 as FileFromBase64Url,
|
|
43
|
+
FileFromDataUri2 as FileFromDataUri,
|
|
44
|
+
http_exports as Http,
|
|
45
|
+
Rfc2822FromDateTime2 as Rfc2822FromDateTime,
|
|
46
|
+
UnixSecondsFromDateTime2 as UnixSecondsFromDateTime,
|
|
47
|
+
continuation2 as continuation,
|
|
48
|
+
decoded2 as decoded,
|
|
49
|
+
endpoint2 as endpoint,
|
|
50
|
+
execute2 as execute,
|
|
51
|
+
form2 as form,
|
|
52
|
+
googleUpload2 as googleUpload,
|
|
53
|
+
graphql2 as graphql,
|
|
54
|
+
literal2 as literal,
|
|
55
|
+
mcp2 as mcp,
|
|
56
|
+
params2 as params,
|
|
57
|
+
path2 as path,
|
|
58
|
+
preauthenticated2 as preauthenticated,
|
|
59
|
+
segments2 as segments,
|
|
60
|
+
variants2 as variants
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
//# debugId=E84169728A1C409264756E2164756E21
|
|
64
|
+
//# sourceMappingURL=http.js.map
|