@distilled.cloud/coinbase 0.15.2 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/createOnrampOrder.d.ts +6 -6
- package/lib/operations/createOnrampOrder.js +3 -3
- package/lib/operations/createOnrampOrder.js.map +1 -1
- package/lib/operations/createOnrampSession.d.ts +6 -6
- package/lib/operations/createOnrampSession.js +3 -3
- package/lib/operations/createOnrampSession.js.map +1 -1
- package/lib/operations/createSpendPermission.d.ts +2 -2
- package/lib/operations/createSpendPermission.js +1 -1
- package/lib/operations/createSpendPermission.js.map +1 -1
- package/lib/operations/createWebhookSubscription.d.ts +8 -8
- package/lib/operations/createWebhookSubscription.js +4 -4
- package/lib/operations/createWebhookSubscription.js.map +1 -1
- package/lib/operations/getOnrampOrderById.d.ts +2 -2
- package/lib/operations/getOnrampOrderById.js +1 -1
- package/lib/operations/getOnrampOrderById.js.map +1 -1
- package/lib/operations/getSQLSchema.d.ts +2 -2
- package/lib/operations/getSQLSchema.js +1 -1
- package/lib/operations/getSQLSchema.js.map +1 -1
- package/lib/operations/getWebhookSubscription.d.ts +4 -4
- package/lib/operations/getWebhookSubscription.js +2 -2
- package/lib/operations/getWebhookSubscription.js.map +1 -1
- package/lib/operations/listWebhookSubscriptions.d.ts +4 -4
- package/lib/operations/listWebhookSubscriptions.js +2 -2
- package/lib/operations/listWebhookSubscriptions.js.map +1 -1
- package/lib/operations/prepareAndSendUserOperation.d.ts +2 -2
- package/lib/operations/prepareAndSendUserOperation.js +1 -1
- package/lib/operations/prepareAndSendUserOperation.js.map +1 -1
- package/lib/operations/prepareUserOperation.d.ts +2 -2
- package/lib/operations/prepareUserOperation.js +1 -1
- package/lib/operations/prepareUserOperation.js.map +1 -1
- package/lib/operations/revokeSpendPermission.d.ts +2 -2
- package/lib/operations/revokeSpendPermission.js +1 -1
- package/lib/operations/revokeSpendPermission.js.map +1 -1
- package/lib/operations/updateWebhookSubscription.d.ts +8 -8
- package/lib/operations/updateWebhookSubscription.js +4 -4
- package/lib/operations/updateWebhookSubscription.js.map +1 -1
- package/package.json +3 -3
- package/src/operations/createOnrampOrder.ts +3 -3
- package/src/operations/createOnrampSession.ts +3 -3
- package/src/operations/createSpendPermission.ts +1 -1
- package/src/operations/createWebhookSubscription.ts +4 -4
- package/src/operations/getOnrampOrderById.ts +1 -1
- package/src/operations/getSQLSchema.ts +1 -1
- package/src/operations/getWebhookSubscription.ts +2 -2
- package/src/operations/listWebhookSubscriptions.ts +2 -2
- package/src/operations/prepareAndSendUserOperation.ts +1 -1
- package/src/operations/prepareUserOperation.ts +1 -1
- package/src/operations/revokeSpendPermission.ts +1 -1
- package/src/operations/updateWebhookSubscription.ts +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
export declare const CreateOnrampOrderInput: Schema.Struct<{
|
|
3
3
|
readonly agreementAcceptedAt: Schema.String;
|
|
4
|
-
readonly destinationAddress: Schema.
|
|
4
|
+
readonly destinationAddress: Schema.String;
|
|
5
5
|
readonly destinationNetwork: Schema.String;
|
|
6
6
|
readonly email: Schema.String;
|
|
7
7
|
readonly isQuote: Schema.optional<Schema.Boolean>;
|
|
@@ -33,7 +33,7 @@ export declare const CreateOnrampOrderOutput: Schema.Struct<{
|
|
|
33
33
|
readonly currency: Schema.String;
|
|
34
34
|
}>>;
|
|
35
35
|
readonly exchangeRate: Schema.String;
|
|
36
|
-
readonly destinationAddress: Schema.
|
|
36
|
+
readonly destinationAddress: Schema.String;
|
|
37
37
|
readonly destinationNetwork: Schema.String;
|
|
38
38
|
readonly status: Schema.Literals<readonly ["ONRAMP_ORDER_STATUS_PENDING_AUTH", "ONRAMP_ORDER_STATUS_PENDING_PAYMENT", "ONRAMP_ORDER_STATUS_PROCESSING", "ONRAMP_ORDER_STATUS_COMPLETED", "ONRAMP_ORDER_STATUS_FAILED"]>;
|
|
39
39
|
readonly txHash: Schema.optional<Schema.String>;
|
|
@@ -42,7 +42,7 @@ export declare const CreateOnrampOrderOutput: Schema.Struct<{
|
|
|
42
42
|
readonly partnerUserRef: Schema.optional<Schema.String>;
|
|
43
43
|
}>;
|
|
44
44
|
readonly paymentLink: Schema.optional<Schema.Struct<{
|
|
45
|
-
readonly url: Schema.
|
|
45
|
+
readonly url: Schema.String;
|
|
46
46
|
readonly paymentLinkType: Schema.Literals<readonly ["PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON"]>;
|
|
47
47
|
}>>;
|
|
48
48
|
}>;
|
|
@@ -57,7 +57,7 @@ export type CreateOnrampOrderOutput = typeof CreateOnrampOrderOutput.Type;
|
|
|
57
57
|
export declare const createOnrampOrder: import("@distilled.cloud/core/client").OperationMethod<{
|
|
58
58
|
readonly agreementAcceptedAt: string;
|
|
59
59
|
readonly clientIp?: string | undefined;
|
|
60
|
-
readonly destinationAddress:
|
|
60
|
+
readonly destinationAddress: string;
|
|
61
61
|
readonly destinationNetwork: string;
|
|
62
62
|
readonly domain?: string | undefined;
|
|
63
63
|
readonly email: string;
|
|
@@ -74,7 +74,7 @@ export declare const createOnrampOrder: import("@distilled.cloud/core/client").O
|
|
|
74
74
|
}, {
|
|
75
75
|
readonly order: {
|
|
76
76
|
readonly createdAt: string;
|
|
77
|
-
readonly destinationAddress:
|
|
77
|
+
readonly destinationAddress: string;
|
|
78
78
|
readonly destinationNetwork: string;
|
|
79
79
|
readonly exchangeRate: string;
|
|
80
80
|
readonly fees: readonly {
|
|
@@ -96,7 +96,7 @@ export declare const createOnrampOrder: import("@distilled.cloud/core/client").O
|
|
|
96
96
|
};
|
|
97
97
|
readonly paymentLink?: {
|
|
98
98
|
readonly paymentLinkType: "PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON";
|
|
99
|
-
readonly url:
|
|
99
|
+
readonly url: string;
|
|
100
100
|
} | undefined;
|
|
101
101
|
}, never, import("../credentials.ts").Credentials>;
|
|
102
102
|
//# sourceMappingURL=createOnrampOrder.d.ts.map
|
|
@@ -4,7 +4,7 @@ import * as T from "../traits.js";
|
|
|
4
4
|
// Input Schema
|
|
5
5
|
export const CreateOnrampOrderInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
6
|
agreementAcceptedAt: Schema.String,
|
|
7
|
-
destinationAddress: Schema.
|
|
7
|
+
destinationAddress: Schema.String,
|
|
8
8
|
destinationNetwork: Schema.String,
|
|
9
9
|
email: Schema.String,
|
|
10
10
|
isQuote: Schema.optional(Schema.Boolean),
|
|
@@ -43,7 +43,7 @@ export const CreateOnrampOrderOutput =
|
|
|
43
43
|
currency: Schema.String,
|
|
44
44
|
})),
|
|
45
45
|
exchangeRate: Schema.String,
|
|
46
|
-
destinationAddress: Schema.
|
|
46
|
+
destinationAddress: Schema.String,
|
|
47
47
|
destinationNetwork: Schema.String,
|
|
48
48
|
status: Schema.Literals([
|
|
49
49
|
"ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
@@ -58,7 +58,7 @@ export const CreateOnrampOrderOutput =
|
|
|
58
58
|
partnerUserRef: Schema.optional(Schema.String),
|
|
59
59
|
}),
|
|
60
60
|
paymentLink: Schema.optional(Schema.Struct({
|
|
61
|
-
url: Schema.
|
|
61
|
+
url: Schema.String,
|
|
62
62
|
paymentLinkType: Schema.Literals([
|
|
63
63
|
"PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON",
|
|
64
64
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOnrampOrder.js","sourceRoot":"","sources":["../../src/operations/createOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,mBAAmB,EAAE,MAAM,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AAC,MAAM,CAAC;KAC/C,CAAC;IACF,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC;YAC/B,oCAAoC;SACrC,CAAC;KACH,CAAC,CACH;CACF,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC3E,WAAW,EAAE,sBAAsB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
|
|
@@ -2,21 +2,21 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
export declare const CreateOnrampSessionInput: Schema.Struct<{
|
|
3
3
|
readonly purchaseCurrency: Schema.String;
|
|
4
4
|
readonly destinationNetwork: Schema.String;
|
|
5
|
-
readonly destinationAddress: Schema.
|
|
5
|
+
readonly destinationAddress: Schema.String;
|
|
6
6
|
readonly paymentAmount: Schema.optional<Schema.String>;
|
|
7
7
|
readonly purchaseAmount: Schema.optional<Schema.String>;
|
|
8
8
|
readonly paymentCurrency: Schema.optional<Schema.String>;
|
|
9
9
|
readonly paymentMethod: Schema.optional<Schema.Literals<readonly ["CARD", "ACH", "APPLE_PAY", "PAYPAL", "FIAT_WALLET", "CRYPTO_WALLET"]>>;
|
|
10
10
|
readonly country: Schema.optional<Schema.String>;
|
|
11
11
|
readonly subdivision: Schema.optional<Schema.String>;
|
|
12
|
-
readonly redirectUrl: Schema.optional<Schema.
|
|
12
|
+
readonly redirectUrl: Schema.optional<Schema.String>;
|
|
13
13
|
readonly clientIp: Schema.optional<Schema.String>;
|
|
14
14
|
readonly partnerUserRef: Schema.optional<Schema.String>;
|
|
15
15
|
}>;
|
|
16
16
|
export type CreateOnrampSessionInput = typeof CreateOnrampSessionInput.Type;
|
|
17
17
|
export declare const CreateOnrampSessionOutput: Schema.Struct<{
|
|
18
18
|
readonly session: Schema.Struct<{
|
|
19
|
-
readonly onrampUrl: Schema.
|
|
19
|
+
readonly onrampUrl: Schema.String;
|
|
20
20
|
}>;
|
|
21
21
|
readonly quote: Schema.optional<Schema.Struct<{
|
|
22
22
|
readonly paymentTotal: Schema.String;
|
|
@@ -54,7 +54,7 @@ export type CreateOnrampSessionOutput = typeof CreateOnrampSessionOutput.Type;
|
|
|
54
54
|
export declare const createOnrampSession: import("@distilled.cloud/core/client").OperationMethod<{
|
|
55
55
|
readonly clientIp?: string | undefined;
|
|
56
56
|
readonly country?: string | undefined;
|
|
57
|
-
readonly destinationAddress:
|
|
57
|
+
readonly destinationAddress: string;
|
|
58
58
|
readonly destinationNetwork: string;
|
|
59
59
|
readonly partnerUserRef?: string | undefined;
|
|
60
60
|
readonly paymentAmount?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const createOnrampSession: import("@distilled.cloud/core/client")
|
|
|
62
62
|
readonly paymentMethod?: "ACH" | "APPLE_PAY" | "CARD" | "CRYPTO_WALLET" | "FIAT_WALLET" | "PAYPAL" | undefined;
|
|
63
63
|
readonly purchaseAmount?: string | undefined;
|
|
64
64
|
readonly purchaseCurrency: string;
|
|
65
|
-
readonly redirectUrl?:
|
|
65
|
+
readonly redirectUrl?: string | undefined;
|
|
66
66
|
readonly subdivision?: string | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
readonly quote?: {
|
|
@@ -80,7 +80,7 @@ export declare const createOnrampSession: import("@distilled.cloud/core/client")
|
|
|
80
80
|
readonly purchaseCurrency: string;
|
|
81
81
|
} | undefined;
|
|
82
82
|
readonly session: {
|
|
83
|
-
readonly onrampUrl:
|
|
83
|
+
readonly onrampUrl: string;
|
|
84
84
|
};
|
|
85
85
|
}, never, import("../credentials.ts").Credentials>;
|
|
86
86
|
//# sourceMappingURL=createOnrampSession.d.ts.map
|
|
@@ -6,7 +6,7 @@ export const CreateOnrampSessionInput =
|
|
|
6
6
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
7
|
purchaseCurrency: Schema.String,
|
|
8
8
|
destinationNetwork: Schema.String,
|
|
9
|
-
destinationAddress: Schema.
|
|
9
|
+
destinationAddress: Schema.String,
|
|
10
10
|
paymentAmount: Schema.optional(Schema.String),
|
|
11
11
|
purchaseAmount: Schema.optional(Schema.String),
|
|
12
12
|
paymentCurrency: Schema.optional(Schema.String),
|
|
@@ -20,7 +20,7 @@ export const CreateOnrampSessionInput =
|
|
|
20
20
|
])),
|
|
21
21
|
country: Schema.optional(Schema.String),
|
|
22
22
|
subdivision: Schema.optional(Schema.String),
|
|
23
|
-
redirectUrl: Schema.optional(Schema.
|
|
23
|
+
redirectUrl: Schema.optional(Schema.String),
|
|
24
24
|
clientIp: Schema.optional(Schema.String),
|
|
25
25
|
partnerUserRef: Schema.optional(Schema.String),
|
|
26
26
|
}).pipe(T.Http({ method: "POST", path: "/v2/onramp/sessions" }));
|
|
@@ -28,7 +28,7 @@ export const CreateOnrampSessionInput =
|
|
|
28
28
|
export const CreateOnrampSessionOutput =
|
|
29
29
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30
30
|
session: Schema.Struct({
|
|
31
|
-
onrampUrl: Schema.
|
|
31
|
+
onrampUrl: Schema.String,
|
|
32
32
|
}),
|
|
33
33
|
quote: Schema.optional(Schema.Struct({
|
|
34
34
|
paymentTotal: Schema.String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOnrampSession.js","sourceRoot":"","sources":["../../src/operations/createOnrampSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAA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SpendPermissionInput: Schema.Struct<{
|
|
|
10
10
|
readonly end: Schema.String;
|
|
11
11
|
readonly salt: Schema.optional<Schema.String>;
|
|
12
12
|
readonly extraData: Schema.optional<Schema.String>;
|
|
13
|
-
readonly paymasterUrl: Schema.optional<Schema.
|
|
13
|
+
readonly paymasterUrl: Schema.optional<Schema.String>;
|
|
14
14
|
}>;
|
|
15
15
|
export type CreateSpendPermissionInput = typeof CreateSpendPermissionInput.Type;
|
|
16
16
|
export declare const CreateSpendPermissionOutput: Schema.Struct<{
|
|
@@ -57,7 +57,7 @@ export declare const createSpendPermission: import("@distilled.cloud/core/client
|
|
|
57
57
|
readonly end: string;
|
|
58
58
|
readonly extraData?: string | undefined;
|
|
59
59
|
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
60
|
-
readonly paymasterUrl?:
|
|
60
|
+
readonly paymasterUrl?: string | undefined;
|
|
61
61
|
readonly period: string;
|
|
62
62
|
readonly salt?: string | undefined;
|
|
63
63
|
readonly spender: string;
|
|
@@ -23,7 +23,7 @@ export const CreateSpendPermissionInput =
|
|
|
23
23
|
end: Schema.String,
|
|
24
24
|
salt: Schema.optional(Schema.String),
|
|
25
25
|
extraData: Schema.optional(Schema.String),
|
|
26
|
-
paymasterUrl: Schema.optional(Schema.
|
|
26
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
27
27
|
}).pipe(T.Http({
|
|
28
28
|
method: "POST",
|
|
29
29
|
path: "/v2/evm/smart-accounts/{address}/spend-permissions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSpendPermission.js","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,MAAM;QACN,cAAc;QACd,UAAU;QACV,kBAAkB;QAClB,UAAU;QACV,UAAU;QACV,WAAW;QACX,SAAS;KACV,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC,MAAM;IACpB,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC,MAAM;IACpB,GAAG,EAAE,MAAM,CAAC,MAAM;IAClB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"createSpendPermission.js","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,MAAM;QACN,cAAc;QACd,UAAU;QACV,kBAAkB;QAClB,UAAU;QACV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AAU;QACV,SAAS;QACT,QAAQ;KACT,CAAC;IACF,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,QAAQ,CACrB,MAAM,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,OAAO,EAAE,MAAM,CAAC,MAAM;SACvB,CAAC,CACH;QACD,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACxC,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
export declare const CreateWebhookSubscriptionInput: Schema.Struct<{
|
|
3
|
-
readonly description: Schema.optional<Schema.
|
|
3
|
+
readonly description: Schema.optional<Schema.String>;
|
|
4
4
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
5
5
|
readonly isEnabled: Schema.Boolean;
|
|
6
6
|
readonly target: Schema.Struct<{
|
|
7
|
-
readonly url: Schema.
|
|
7
|
+
readonly url: Schema.String;
|
|
8
8
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
9
9
|
}>;
|
|
10
10
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -14,7 +14,7 @@ export type CreateWebhookSubscriptionInput = typeof CreateWebhookSubscriptionInp
|
|
|
14
14
|
export declare const CreateWebhookSubscriptionOutput: Schema.Struct<{
|
|
15
15
|
readonly createdAt: Schema.String;
|
|
16
16
|
readonly updatedAt: Schema.optional<Schema.String>;
|
|
17
|
-
readonly description: Schema.optional<Schema.
|
|
17
|
+
readonly description: Schema.optional<Schema.String>;
|
|
18
18
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
19
19
|
readonly isEnabled: Schema.Boolean;
|
|
20
20
|
readonly metadata: Schema.optional<Schema.Struct<{
|
|
@@ -23,7 +23,7 @@ export declare const CreateWebhookSubscriptionOutput: Schema.Struct<{
|
|
|
23
23
|
readonly secret: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
|
|
24
24
|
readonly subscriptionId: Schema.String;
|
|
25
25
|
readonly target: Schema.Struct<{
|
|
26
|
-
readonly url: Schema.
|
|
26
|
+
readonly url: Schema.String;
|
|
27
27
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
28
28
|
}>;
|
|
29
29
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -74,7 +74,7 @@ export type CreateWebhookSubscriptionOutput = typeof CreateWebhookSubscriptionOu
|
|
|
74
74
|
* - **DeFi Protocol Activity**: `{"network": "base-mainnet", "contract_address": "0x45c6e6a47a711b14d8357d5243f46704904578e3", "event_name": "Deposit"}`
|
|
75
75
|
*/
|
|
76
76
|
export declare const createWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
|
|
77
|
-
readonly description?:
|
|
77
|
+
readonly description?: string | undefined;
|
|
78
78
|
readonly eventTypes: readonly string[];
|
|
79
79
|
readonly isEnabled: boolean;
|
|
80
80
|
readonly labels?: {
|
|
@@ -87,11 +87,11 @@ export declare const createWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
87
87
|
readonly headers?: {
|
|
88
88
|
readonly [x: string]: string;
|
|
89
89
|
} | undefined;
|
|
90
|
-
readonly url:
|
|
90
|
+
readonly url: string;
|
|
91
91
|
};
|
|
92
92
|
}, {
|
|
93
93
|
readonly createdAt: string;
|
|
94
|
-
readonly description?:
|
|
94
|
+
readonly description?: string | undefined;
|
|
95
95
|
readonly eventTypes: readonly string[];
|
|
96
96
|
readonly isEnabled: boolean;
|
|
97
97
|
readonly labels?: {
|
|
@@ -106,7 +106,7 @@ export declare const createWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
106
106
|
readonly headers?: {
|
|
107
107
|
readonly [x: string]: string;
|
|
108
108
|
} | undefined;
|
|
109
|
-
readonly url:
|
|
109
|
+
readonly url: string;
|
|
110
110
|
};
|
|
111
111
|
readonly updatedAt?: string | undefined;
|
|
112
112
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -5,11 +5,11 @@ import { SensitiveString } from "../sensitive.js";
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const CreateWebhookSubscriptionInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
-
description: Schema.optional(Schema.
|
|
8
|
+
description: Schema.optional(Schema.String),
|
|
9
9
|
eventTypes: Schema.Array(Schema.String),
|
|
10
10
|
isEnabled: Schema.Boolean,
|
|
11
11
|
target: Schema.Struct({
|
|
12
|
-
url: Schema.
|
|
12
|
+
url: Schema.String,
|
|
13
13
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14
14
|
}),
|
|
15
15
|
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -20,7 +20,7 @@ export const CreateWebhookSubscriptionOutput =
|
|
|
20
20
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
21
21
|
createdAt: Schema.String,
|
|
22
22
|
updatedAt: Schema.optional(Schema.String),
|
|
23
|
-
description: Schema.optional(Schema.
|
|
23
|
+
description: Schema.optional(Schema.String),
|
|
24
24
|
eventTypes: Schema.Array(Schema.String),
|
|
25
25
|
isEnabled: Schema.Boolean,
|
|
26
26
|
metadata: Schema.optional(Schema.Struct({
|
|
@@ -29,7 +29,7 @@ export const CreateWebhookSubscriptionOutput =
|
|
|
29
29
|
secret: SensitiveString,
|
|
30
30
|
subscriptionId: Schema.String,
|
|
31
31
|
target: Schema.Struct({
|
|
32
|
-
url: Schema.
|
|
32
|
+
url: Schema.String,
|
|
33
33
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
34
34
|
}),
|
|
35
35
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"createWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MA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AM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;KACzC,CAAC,CACH;IACD,MAAM,EAAE,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC,MAAM;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;KACtE,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACrE,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
|
|
@@ -18,7 +18,7 @@ export declare const GetOnrampOrderByIdOutput: Schema.Struct<{
|
|
|
18
18
|
readonly currency: Schema.String;
|
|
19
19
|
}>>;
|
|
20
20
|
readonly exchangeRate: Schema.String;
|
|
21
|
-
readonly destinationAddress: Schema.
|
|
21
|
+
readonly destinationAddress: Schema.String;
|
|
22
22
|
readonly destinationNetwork: Schema.String;
|
|
23
23
|
readonly status: Schema.Literals<readonly ["ONRAMP_ORDER_STATUS_PENDING_AUTH", "ONRAMP_ORDER_STATUS_PENDING_PAYMENT", "ONRAMP_ORDER_STATUS_PROCESSING", "ONRAMP_ORDER_STATUS_COMPLETED", "ONRAMP_ORDER_STATUS_FAILED"]>;
|
|
24
24
|
readonly txHash: Schema.optional<Schema.String>;
|
|
@@ -40,7 +40,7 @@ export declare const getOnrampOrderById: import("@distilled.cloud/core/client").
|
|
|
40
40
|
}, {
|
|
41
41
|
readonly order: {
|
|
42
42
|
readonly createdAt: string;
|
|
43
|
-
readonly destinationAddress:
|
|
43
|
+
readonly destinationAddress: string;
|
|
44
44
|
readonly destinationNetwork: string;
|
|
45
45
|
readonly exchangeRate: string;
|
|
46
46
|
readonly fees: readonly {
|
|
@@ -26,7 +26,7 @@ export const GetOnrampOrderByIdOutput =
|
|
|
26
26
|
currency: Schema.String,
|
|
27
27
|
})),
|
|
28
28
|
exchangeRate: Schema.String,
|
|
29
|
-
destinationAddress: Schema.
|
|
29
|
+
destinationAddress: Schema.String,
|
|
30
30
|
destinationNetwork: Schema.String,
|
|
31
31
|
status: Schema.Literals([
|
|
32
32
|
"ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOnrampOrderById.js","sourceRoot":"","sources":["../../src/operations/getOnrampOrderById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC3C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC,CAAC,CAAC;AAG1E,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;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AAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5E,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -12,7 +12,7 @@ export declare const GetSQLSchemaOutput: Schema.Struct<{
|
|
|
12
12
|
readonly name: Schema.optional<Schema.String>;
|
|
13
13
|
readonly type: Schema.optional<Schema.String>;
|
|
14
14
|
readonly nullable: Schema.optional<Schema.Boolean>;
|
|
15
|
-
readonly description: Schema.optional<Schema.
|
|
15
|
+
readonly description: Schema.optional<Schema.String>;
|
|
16
16
|
readonly indexOrder: Schema.optional<Schema.Number>;
|
|
17
17
|
}>>>;
|
|
18
18
|
}>>>;
|
|
@@ -33,7 +33,7 @@ export declare const getSQLSchema: import("@distilled.cloud/core/client").Operat
|
|
|
33
33
|
}, {
|
|
34
34
|
readonly tables?: readonly {
|
|
35
35
|
readonly columns?: readonly {
|
|
36
|
-
readonly description?:
|
|
36
|
+
readonly description?: string | undefined;
|
|
37
37
|
readonly indexOrder?: number | undefined;
|
|
38
38
|
readonly name?: string | undefined;
|
|
39
39
|
readonly nullable?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ export const GetSQLSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
15
15
|
name: Schema.optional(Schema.String),
|
|
16
16
|
type: Schema.optional(Schema.String),
|
|
17
17
|
nullable: Schema.optional(Schema.Boolean),
|
|
18
|
-
description: Schema.optional(Schema.
|
|
18
|
+
description: Schema.optional(Schema.String),
|
|
19
19
|
indexOrder: Schema.optional(Schema.Number),
|
|
20
20
|
}))),
|
|
21
21
|
}))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSQLSchema.js","sourceRoot":"","sources":["../../src/operations/getSQLSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,M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,CAAC;YAC3C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SAC3C,CAAC,CACH,CACF;KACF,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;CACjC,CAAC,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type GetWebhookSubscriptionInput = typeof GetWebhookSubscriptionInput.Typ
|
|
|
6
6
|
export declare const GetWebhookSubscriptionOutput: Schema.Struct<{
|
|
7
7
|
readonly createdAt: Schema.String;
|
|
8
8
|
readonly updatedAt: Schema.optional<Schema.String>;
|
|
9
|
-
readonly description: Schema.optional<Schema.
|
|
9
|
+
readonly description: Schema.optional<Schema.String>;
|
|
10
10
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
11
11
|
readonly isEnabled: Schema.Boolean;
|
|
12
12
|
readonly metadata: Schema.optional<Schema.Struct<{
|
|
@@ -15,7 +15,7 @@ export declare const GetWebhookSubscriptionOutput: Schema.Struct<{
|
|
|
15
15
|
readonly secret: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
|
|
16
16
|
readonly subscriptionId: Schema.String;
|
|
17
17
|
readonly target: Schema.Struct<{
|
|
18
|
-
readonly url: Schema.
|
|
18
|
+
readonly url: Schema.String;
|
|
19
19
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
20
20
|
}>;
|
|
21
21
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -38,7 +38,7 @@ export declare const getWebhookSubscription: import("@distilled.cloud/core/clien
|
|
|
38
38
|
readonly subscriptionId: string;
|
|
39
39
|
}, {
|
|
40
40
|
readonly createdAt: string;
|
|
41
|
-
readonly description?:
|
|
41
|
+
readonly description?: string | undefined;
|
|
42
42
|
readonly eventTypes: readonly string[];
|
|
43
43
|
readonly isEnabled: boolean;
|
|
44
44
|
readonly labels?: {
|
|
@@ -53,7 +53,7 @@ export declare const getWebhookSubscription: import("@distilled.cloud/core/clien
|
|
|
53
53
|
readonly headers?: {
|
|
54
54
|
readonly [x: string]: string;
|
|
55
55
|
} | undefined;
|
|
56
|
-
readonly url:
|
|
56
|
+
readonly url: string;
|
|
57
57
|
};
|
|
58
58
|
readonly updatedAt?: string | undefined;
|
|
59
59
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -15,7 +15,7 @@ export const GetWebhookSubscriptionOutput =
|
|
|
15
15
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
16
|
createdAt: Schema.String,
|
|
17
17
|
updatedAt: Schema.optional(Schema.String),
|
|
18
|
-
description: Schema.optional(Schema.
|
|
18
|
+
description: Schema.optional(Schema.String),
|
|
19
19
|
eventTypes: Schema.Array(Schema.String),
|
|
20
20
|
isEnabled: Schema.Boolean,
|
|
21
21
|
metadata: Schema.optional(Schema.Struct({
|
|
@@ -24,7 +24,7 @@ export const GetWebhookSubscriptionOutput =
|
|
|
24
24
|
secret: SensitiveString,
|
|
25
25
|
subscriptionId: Schema.String,
|
|
26
26
|
target: Schema.Struct({
|
|
27
|
-
url: Schema.
|
|
27
|
+
url: Schema.String,
|
|
28
28
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
29
29
|
}),
|
|
30
30
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/getWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAClD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,kDAAkD;CACzD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"getWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/getWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAClD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,kDAAkD;CACzD,CAAC,CACH,CAAC;AAIJ,gBA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schema.$Array<Schema.Struct<{
|
|
9
9
|
readonly createdAt: Schema.String;
|
|
10
10
|
readonly updatedAt: Schema.optional<Schema.String>;
|
|
11
|
-
readonly description: Schema.optional<Schema.
|
|
11
|
+
readonly description: Schema.optional<Schema.String>;
|
|
12
12
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
13
13
|
readonly isEnabled: Schema.Boolean;
|
|
14
14
|
readonly metadata: Schema.optional<Schema.Struct<{
|
|
@@ -17,7 +17,7 @@ export declare const ListWebhookSubscriptionsOutput: Schema.Struct<{
|
|
|
17
17
|
readonly secret: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
|
|
18
18
|
readonly subscriptionId: Schema.String;
|
|
19
19
|
readonly target: Schema.Struct<{
|
|
20
|
-
readonly url: Schema.
|
|
20
|
+
readonly url: Schema.String;
|
|
21
21
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
22
22
|
}>;
|
|
23
23
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -46,7 +46,7 @@ export declare const listWebhookSubscriptions: import("@distilled.cloud/core/cli
|
|
|
46
46
|
readonly nextPageToken?: string | undefined;
|
|
47
47
|
readonly subscriptions: readonly {
|
|
48
48
|
readonly createdAt: string;
|
|
49
|
-
readonly description?:
|
|
49
|
+
readonly description?: string | undefined;
|
|
50
50
|
readonly eventTypes: readonly string[];
|
|
51
51
|
readonly isEnabled: boolean;
|
|
52
52
|
readonly labels?: {
|
|
@@ -61,7 +61,7 @@ export declare const listWebhookSubscriptions: import("@distilled.cloud/core/cli
|
|
|
61
61
|
readonly headers?: {
|
|
62
62
|
readonly [x: string]: string;
|
|
63
63
|
} | undefined;
|
|
64
|
-
readonly url:
|
|
64
|
+
readonly url: string;
|
|
65
65
|
};
|
|
66
66
|
readonly updatedAt?: string | undefined;
|
|
67
67
|
}[];
|
|
@@ -14,7 +14,7 @@ export const ListWebhookSubscriptionsOutput =
|
|
|
14
14
|
subscriptions: Schema.Array(Schema.Struct({
|
|
15
15
|
createdAt: Schema.String,
|
|
16
16
|
updatedAt: Schema.optional(Schema.String),
|
|
17
|
-
description: Schema.optional(Schema.
|
|
17
|
+
description: Schema.optional(Schema.String),
|
|
18
18
|
eventTypes: Schema.Array(Schema.String),
|
|
19
19
|
isEnabled: Schema.Boolean,
|
|
20
20
|
metadata: Schema.optional(Schema.Struct({
|
|
@@ -23,7 +23,7 @@ export const ListWebhookSubscriptionsOutput =
|
|
|
23
23
|
secret: SensitiveString,
|
|
24
24
|
subscriptionId: Schema.String,
|
|
25
25
|
target: Schema.Struct({
|
|
26
|
-
url: Schema.
|
|
26
|
+
url: Schema.String,
|
|
27
27
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
28
28
|
}),
|
|
29
29
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listWebhookSubscriptions.js","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAI9E,gBAAgB;AAChB,MAAM,CAAC,M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EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACvC,SAAS,EAAE,MAAM,CAAC,OAAO;QACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;YACZ,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;SACzC,CAAC,CACH;QACD,MAAM,EAAE,eAAe;QACvB,cAAc,EAAE,MAAM,CAAC,MAAM;QAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,GAAG,EAAE,MAAM,CAAC,MAAM;YAClB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;SACtE,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;KACrE,CAAC,CACH;IACD,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC9C,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const PrepareAndSendUserOperationInput: Schema.Struct<{
|
|
|
8
8
|
readonly data: Schema.String;
|
|
9
9
|
readonly overrideGasLimit: Schema.optional<Schema.String>;
|
|
10
10
|
}>>;
|
|
11
|
-
readonly paymasterUrl: Schema.optional<Schema.
|
|
11
|
+
readonly paymasterUrl: Schema.optional<Schema.String>;
|
|
12
12
|
}>;
|
|
13
13
|
export type PrepareAndSendUserOperationInput = typeof PrepareAndSendUserOperationInput.Type;
|
|
14
14
|
export declare const PrepareAndSendUserOperationOutput: Schema.Struct<{
|
|
@@ -58,7 +58,7 @@ export declare const prepareAndSendUserOperation: import("@distilled.cloud/core/
|
|
|
58
58
|
readonly value: string;
|
|
59
59
|
}[];
|
|
60
60
|
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
61
|
-
readonly paymasterUrl?:
|
|
61
|
+
readonly paymasterUrl?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
readonly calls: readonly {
|
|
64
64
|
readonly data: string;
|
|
@@ -23,7 +23,7 @@ export const PrepareAndSendUserOperationInput =
|
|
|
23
23
|
data: Schema.String,
|
|
24
24
|
overrideGasLimit: Schema.optional(Schema.String),
|
|
25
25
|
})),
|
|
26
|
-
paymasterUrl: Schema.optional(Schema.
|
|
26
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
27
27
|
}).pipe(T.Http({
|
|
28
28
|
method: "POST",
|
|
29
29
|
path: "/v2/evm/smart-accounts/{address}/user-operations/prepare-and-send",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareAndSendUserOperation.js","sourceRoot":"","sources":["../../src/operations/prepareAndSendUserOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,cAAc;QACd,MAAM;QACN,UAAU;QACV,UAAU;QACV,MAAM;QACN,SAAS;QACT,KAAK;QACL,WAAW;QACX,UAAU;QACV,kBAAkB;KACnB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACjD,CAAC,CACH;IACD,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"prepareAndSendUserOperation.js","sourceRoot":"","sources":["../../src/operations/prepareAndSendUserOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,cAAc;QACd,MAAM;QACN,UAAU;QACV,UAAU;QACV,MAAM;QACN,SAAS;QACT,KAAK;QACL,WAAW;QACX,UAAU;QACV,kBAAkB;KACnB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,IAAI,EAAE,MAAM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AAC,MAAM;YACnB,OAAO,EAAE,MAAM,CAAC,MAAM;SACvB,CAAC,CACH;QACD,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACxC,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC7E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,gCAAgC;IAC7C,YAAY,EAAE,iCAAiC;CAChD,CAAC,CACH,CAAC"}
|
|
@@ -8,7 +8,7 @@ export declare const PrepareUserOperationInput: Schema.Struct<{
|
|
|
8
8
|
readonly data: Schema.String;
|
|
9
9
|
readonly overrideGasLimit: Schema.optional<Schema.String>;
|
|
10
10
|
}>>;
|
|
11
|
-
readonly paymasterUrl: Schema.optional<Schema.
|
|
11
|
+
readonly paymasterUrl: Schema.optional<Schema.String>;
|
|
12
12
|
readonly dataSuffix: Schema.optional<Schema.String>;
|
|
13
13
|
}>;
|
|
14
14
|
export type PrepareUserOperationInput = typeof PrepareUserOperationInput.Type;
|
|
@@ -52,7 +52,7 @@ export declare const prepareUserOperation: import("@distilled.cloud/core/client"
|
|
|
52
52
|
}[];
|
|
53
53
|
readonly dataSuffix?: string | undefined;
|
|
54
54
|
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
55
|
-
readonly paymasterUrl?:
|
|
55
|
+
readonly paymasterUrl?: string | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
readonly calls: readonly {
|
|
58
58
|
readonly data: string;
|
|
@@ -23,7 +23,7 @@ export const PrepareUserOperationInput =
|
|
|
23
23
|
data: Schema.String,
|
|
24
24
|
overrideGasLimit: Schema.optional(Schema.String),
|
|
25
25
|
})),
|
|
26
|
-
paymasterUrl: Schema.optional(Schema.
|
|
26
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
27
27
|
dataSuffix: Schema.optional(Schema.String),
|
|
28
28
|
}).pipe(T.Http({
|
|
29
29
|
method: "POST",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareUserOperation.js","sourceRoot":"","sources":["../../src/operations/prepareUserOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,cAAc;QACd,MAAM;QACN,UAAU;QACV,UAAU;QACV,MAAM;QACN,SAAS;QACT,KAAK;QACL,WAAW;QACX,UAAU;QACV,kBAAkB;KACnB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACjD,CAAC,CACH;IACD,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"prepareUserOperation.js","sourceRoot":"","sources":["../../src/operations/prepareUserOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,cAAc;QACd,MAAM;QACN,UAAU;QACV,UAAU;QACV,MAAM;QACN,SAAS;QACT,KAAK;QACL,WAAW;QACX,UAAU;QACV,kBAAkB;KACnB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC,KAAK,CACjB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACjD,CAAC,CACH;IACD,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC3C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,kDAAkD;CACzD,CAAC,CACH,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EA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MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;CACzC,CAAC,CACH,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const RevokeSpendPermissionInput: Schema.Struct<{
|
|
|
3
3
|
readonly address: Schema.String;
|
|
4
4
|
readonly network: Schema.Literals<readonly ["base", "base-sepolia", "ethereum", "ethereum-sepolia", "optimism", "arbitrum", "avalanche", "polygon"]>;
|
|
5
5
|
readonly permissionHash: Schema.String;
|
|
6
|
-
readonly paymasterUrl: Schema.optional<Schema.
|
|
6
|
+
readonly paymasterUrl: Schema.optional<Schema.String>;
|
|
7
7
|
}>;
|
|
8
8
|
export type RevokeSpendPermissionInput = typeof RevokeSpendPermissionInput.Type;
|
|
9
9
|
export declare const RevokeSpendPermissionOutput: Schema.Struct<{
|
|
@@ -47,7 +47,7 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
47
47
|
export declare const revokeSpendPermission: import("@distilled.cloud/core/client").OperationMethod<{
|
|
48
48
|
readonly address: string;
|
|
49
49
|
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
50
|
-
readonly paymasterUrl?:
|
|
50
|
+
readonly paymasterUrl?: string | undefined;
|
|
51
51
|
readonly permissionHash: string;
|
|
52
52
|
}, {
|
|
53
53
|
readonly calls: readonly {
|
|
@@ -16,7 +16,7 @@ export const RevokeSpendPermissionInput =
|
|
|
16
16
|
"polygon",
|
|
17
17
|
]),
|
|
18
18
|
permissionHash: Schema.String,
|
|
19
|
-
paymasterUrl: Schema.optional(Schema.
|
|
19
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
20
20
|
}).pipe(T.Http({
|
|
21
21
|
method: "POST",
|
|
22
22
|
path: "/v2/evm/smart-accounts/{address}/spend-permissions/revoke",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revokeSpendPermission.js","sourceRoot":"","sources":["../../src/operations/revokeSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,MAAM;QACN,cAAc;QACd,UAAU;QACV,kBAAkB;QAClB,UAAU;QACV,UAAU;QACV,WAAW;QACX,SAAS;KACV,CAAC;IACF,cAAc,EAAE,MAAM,CAAC,MAAM;IAC7B,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"revokeSpendPermission.js","sourceRoot":"","sources":["../../src/operations/revokeSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAElC,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC;QACvB,MAAM;QACN,cAAc;QACd,UAAU;QACV,kBAAkB;QAClB,UAAU;QACV,UAAU;QACV,W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C,MAAM;SACvB,CAAC,CACH;QACD,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC/C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACxC,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
export declare const UpdateWebhookSubscriptionInput: Schema.Struct<{
|
|
3
3
|
readonly subscriptionId: Schema.String;
|
|
4
|
-
readonly description: Schema.optional<Schema.
|
|
4
|
+
readonly description: Schema.optional<Schema.String>;
|
|
5
5
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
6
6
|
readonly isEnabled: Schema.Boolean;
|
|
7
7
|
readonly target: Schema.Struct<{
|
|
8
|
-
readonly url: Schema.
|
|
8
|
+
readonly url: Schema.String;
|
|
9
9
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
10
10
|
}>;
|
|
11
11
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -15,7 +15,7 @@ export type UpdateWebhookSubscriptionInput = typeof UpdateWebhookSubscriptionInp
|
|
|
15
15
|
export declare const UpdateWebhookSubscriptionOutput: Schema.Struct<{
|
|
16
16
|
readonly createdAt: Schema.String;
|
|
17
17
|
readonly updatedAt: Schema.optional<Schema.String>;
|
|
18
|
-
readonly description: Schema.optional<Schema.
|
|
18
|
+
readonly description: Schema.optional<Schema.String>;
|
|
19
19
|
readonly eventTypes: Schema.$Array<Schema.String>;
|
|
20
20
|
readonly isEnabled: Schema.Boolean;
|
|
21
21
|
readonly metadata: Schema.optional<Schema.Struct<{
|
|
@@ -24,7 +24,7 @@ export declare const UpdateWebhookSubscriptionOutput: Schema.Struct<{
|
|
|
24
24
|
readonly secret: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
|
|
25
25
|
readonly subscriptionId: Schema.String;
|
|
26
26
|
readonly target: Schema.Struct<{
|
|
27
|
-
readonly url: Schema.
|
|
27
|
+
readonly url: Schema.String;
|
|
28
28
|
readonly headers: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
29
29
|
}>;
|
|
30
30
|
readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
@@ -45,7 +45,7 @@ export type UpdateWebhookSubscriptionOutput = typeof UpdateWebhookSubscriptionOu
|
|
|
45
45
|
* @param subscriptionId - Unique identifier for the webhook subscription.
|
|
46
46
|
*/
|
|
47
47
|
export declare const updateWebhookSubscription: import("@distilled.cloud/core/client").OperationMethod<{
|
|
48
|
-
readonly description?:
|
|
48
|
+
readonly description?: string | undefined;
|
|
49
49
|
readonly eventTypes: readonly string[];
|
|
50
50
|
readonly isEnabled: boolean;
|
|
51
51
|
readonly labels?: {
|
|
@@ -59,11 +59,11 @@ export declare const updateWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
59
59
|
readonly headers?: {
|
|
60
60
|
readonly [x: string]: string;
|
|
61
61
|
} | undefined;
|
|
62
|
-
readonly url:
|
|
62
|
+
readonly url: string;
|
|
63
63
|
};
|
|
64
64
|
}, {
|
|
65
65
|
readonly createdAt: string;
|
|
66
|
-
readonly description?:
|
|
66
|
+
readonly description?: string | undefined;
|
|
67
67
|
readonly eventTypes: readonly string[];
|
|
68
68
|
readonly isEnabled: boolean;
|
|
69
69
|
readonly labels?: {
|
|
@@ -78,7 +78,7 @@ export declare const updateWebhookSubscription: import("@distilled.cloud/core/cl
|
|
|
78
78
|
readonly headers?: {
|
|
79
79
|
readonly [x: string]: string;
|
|
80
80
|
} | undefined;
|
|
81
|
-
readonly url:
|
|
81
|
+
readonly url: string;
|
|
82
82
|
};
|
|
83
83
|
readonly updatedAt?: string | undefined;
|
|
84
84
|
}, never, import("../credentials.ts").Credentials>;
|
|
@@ -6,11 +6,11 @@ import { SensitiveString } from "../sensitive.js";
|
|
|
6
6
|
export const UpdateWebhookSubscriptionInput =
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
description: Schema.optional(Schema.
|
|
9
|
+
description: Schema.optional(Schema.String),
|
|
10
10
|
eventTypes: Schema.Array(Schema.String),
|
|
11
11
|
isEnabled: Schema.Boolean,
|
|
12
12
|
target: Schema.Struct({
|
|
13
|
-
url: Schema.
|
|
13
|
+
url: Schema.String,
|
|
14
14
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
15
15
|
}),
|
|
16
16
|
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -24,7 +24,7 @@ export const UpdateWebhookSubscriptionOutput =
|
|
|
24
24
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
25
25
|
createdAt: Schema.String,
|
|
26
26
|
updatedAt: Schema.optional(Schema.String),
|
|
27
|
-
description: Schema.optional(Schema.
|
|
27
|
+
description: Schema.optional(Schema.String),
|
|
28
28
|
eventTypes: Schema.Array(Schema.String),
|
|
29
29
|
isEnabled: Schema.Boolean,
|
|
30
30
|
metadata: Schema.optional(Schema.Struct({
|
|
@@ -33,7 +33,7 @@ export const UpdateWebhookSubscriptionOutput =
|
|
|
33
33
|
secret: SensitiveString,
|
|
34
34
|
subscriptionId: Schema.String,
|
|
35
35
|
target: Schema.Struct({
|
|
36
|
-
url: Schema.
|
|
36
|
+
url: Schema.String,
|
|
37
37
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
38
38
|
}),
|
|
39
39
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"updateWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;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Ac,EAAE,MAAM,CAAC,MAAM;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;KACtE,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACrE,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/coinbase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
"fmt": "oxfmt --write src",
|
|
67
67
|
"lint": "oxlint --fix src",
|
|
68
68
|
"check": "tsgo && oxlint src && oxfmt --check src",
|
|
69
|
-
"test": "bunx vitest run test --exclude specs",
|
|
69
|
+
"test": "bunx vitest run test --exclude specs --passWithNoTests",
|
|
70
70
|
"publish:npm": "bun run build && bun publish --access public",
|
|
71
71
|
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
|
|
72
72
|
"specs:fetch": "git submodule update --force --init --recursive --depth=1 specs/cdp-sdk && git -C specs/cdp-sdk checkout -- .",
|
|
73
73
|
"specs:update": "git -C specs/cdp-sdk fetch && git -C specs/cdp-sdk checkout main && git -C specs/cdp-sdk pull"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
76
|
+
"@distilled.cloud/core": "0.16.1",
|
|
77
77
|
"effect": "4.0.0-beta.58"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
@@ -6,7 +6,7 @@ import * as T from "../traits.ts";
|
|
|
6
6
|
export const CreateOnrampOrderInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
7
|
{
|
|
8
8
|
agreementAcceptedAt: Schema.String,
|
|
9
|
-
destinationAddress: Schema.
|
|
9
|
+
destinationAddress: Schema.String,
|
|
10
10
|
destinationNetwork: Schema.String,
|
|
11
11
|
email: Schema.String,
|
|
12
12
|
isQuote: Schema.optional(Schema.Boolean),
|
|
@@ -50,7 +50,7 @@ export const CreateOnrampOrderOutput =
|
|
|
50
50
|
}),
|
|
51
51
|
),
|
|
52
52
|
exchangeRate: Schema.String,
|
|
53
|
-
destinationAddress: Schema.
|
|
53
|
+
destinationAddress: Schema.String,
|
|
54
54
|
destinationNetwork: Schema.String,
|
|
55
55
|
status: Schema.Literals([
|
|
56
56
|
"ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
@@ -66,7 +66,7 @@ export const CreateOnrampOrderOutput =
|
|
|
66
66
|
}),
|
|
67
67
|
paymentLink: Schema.optional(
|
|
68
68
|
Schema.Struct({
|
|
69
|
-
url: Schema.
|
|
69
|
+
url: Schema.String,
|
|
70
70
|
paymentLinkType: Schema.Literals([
|
|
71
71
|
"PAYMENT_LINK_TYPE_APPLE_PAY_BUTTON",
|
|
72
72
|
]),
|
|
@@ -7,7 +7,7 @@ export const CreateOnrampSessionInput =
|
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
purchaseCurrency: Schema.String,
|
|
9
9
|
destinationNetwork: Schema.String,
|
|
10
|
-
destinationAddress: Schema.
|
|
10
|
+
destinationAddress: Schema.String,
|
|
11
11
|
paymentAmount: Schema.optional(Schema.String),
|
|
12
12
|
purchaseAmount: Schema.optional(Schema.String),
|
|
13
13
|
paymentCurrency: Schema.optional(Schema.String),
|
|
@@ -23,7 +23,7 @@ export const CreateOnrampSessionInput =
|
|
|
23
23
|
),
|
|
24
24
|
country: Schema.optional(Schema.String),
|
|
25
25
|
subdivision: Schema.optional(Schema.String),
|
|
26
|
-
redirectUrl: Schema.optional(Schema.
|
|
26
|
+
redirectUrl: Schema.optional(Schema.String),
|
|
27
27
|
clientIp: Schema.optional(Schema.String),
|
|
28
28
|
partnerUserRef: Schema.optional(Schema.String),
|
|
29
29
|
}).pipe(T.Http({ method: "POST", path: "/v2/onramp/sessions" }));
|
|
@@ -33,7 +33,7 @@ export type CreateOnrampSessionInput = typeof CreateOnrampSessionInput.Type;
|
|
|
33
33
|
export const CreateOnrampSessionOutput =
|
|
34
34
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
35
35
|
session: Schema.Struct({
|
|
36
|
-
onrampUrl: Schema.
|
|
36
|
+
onrampUrl: Schema.String,
|
|
37
37
|
}),
|
|
38
38
|
quote: Schema.optional(
|
|
39
39
|
Schema.Struct({
|
|
@@ -24,7 +24,7 @@ export const CreateSpendPermissionInput =
|
|
|
24
24
|
end: Schema.String,
|
|
25
25
|
salt: Schema.optional(Schema.String),
|
|
26
26
|
extraData: Schema.optional(Schema.String),
|
|
27
|
-
paymasterUrl: Schema.optional(Schema.
|
|
27
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
28
28
|
}).pipe(
|
|
29
29
|
T.Http({
|
|
30
30
|
method: "POST",
|
|
@@ -6,11 +6,11 @@ import { SensitiveString } from "../sensitive.ts";
|
|
|
6
6
|
// Input Schema
|
|
7
7
|
export const CreateWebhookSubscriptionInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
-
description: Schema.optional(Schema.
|
|
9
|
+
description: Schema.optional(Schema.String),
|
|
10
10
|
eventTypes: Schema.Array(Schema.String),
|
|
11
11
|
isEnabled: Schema.Boolean,
|
|
12
12
|
target: Schema.Struct({
|
|
13
|
-
url: Schema.
|
|
13
|
+
url: Schema.String,
|
|
14
14
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
15
15
|
}),
|
|
16
16
|
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -24,7 +24,7 @@ export const CreateWebhookSubscriptionOutput =
|
|
|
24
24
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
25
25
|
createdAt: Schema.String,
|
|
26
26
|
updatedAt: Schema.optional(Schema.String),
|
|
27
|
-
description: Schema.optional(Schema.
|
|
27
|
+
description: Schema.optional(Schema.String),
|
|
28
28
|
eventTypes: Schema.Array(Schema.String),
|
|
29
29
|
isEnabled: Schema.Boolean,
|
|
30
30
|
metadata: Schema.optional(
|
|
@@ -35,7 +35,7 @@ export const CreateWebhookSubscriptionOutput =
|
|
|
35
35
|
secret: SensitiveString,
|
|
36
36
|
subscriptionId: Schema.String,
|
|
37
37
|
target: Schema.Struct({
|
|
38
|
-
url: Schema.
|
|
38
|
+
url: Schema.String,
|
|
39
39
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
40
40
|
}),
|
|
41
41
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -31,7 +31,7 @@ export const GetOnrampOrderByIdOutput =
|
|
|
31
31
|
}),
|
|
32
32
|
),
|
|
33
33
|
exchangeRate: Schema.String,
|
|
34
|
-
destinationAddress: Schema.
|
|
34
|
+
destinationAddress: Schema.String,
|
|
35
35
|
destinationNetwork: Schema.String,
|
|
36
36
|
status: Schema.Literals([
|
|
37
37
|
"ONRAMP_ORDER_STATUS_PENDING_AUTH",
|
|
@@ -22,7 +22,7 @@ export const GetSQLSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
22
22
|
name: Schema.optional(Schema.String),
|
|
23
23
|
type: Schema.optional(Schema.String),
|
|
24
24
|
nullable: Schema.optional(Schema.Boolean),
|
|
25
|
-
description: Schema.optional(Schema.
|
|
25
|
+
description: Schema.optional(Schema.String),
|
|
26
26
|
indexOrder: Schema.optional(Schema.Number),
|
|
27
27
|
}),
|
|
28
28
|
),
|
|
@@ -21,7 +21,7 @@ export const GetWebhookSubscriptionOutput =
|
|
|
21
21
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
22
|
createdAt: Schema.String,
|
|
23
23
|
updatedAt: Schema.optional(Schema.String),
|
|
24
|
-
description: Schema.optional(Schema.
|
|
24
|
+
description: Schema.optional(Schema.String),
|
|
25
25
|
eventTypes: Schema.Array(Schema.String),
|
|
26
26
|
isEnabled: Schema.Boolean,
|
|
27
27
|
metadata: Schema.optional(
|
|
@@ -32,7 +32,7 @@ export const GetWebhookSubscriptionOutput =
|
|
|
32
32
|
secret: SensitiveString,
|
|
33
33
|
subscriptionId: Schema.String,
|
|
34
34
|
target: Schema.Struct({
|
|
35
|
-
url: Schema.
|
|
35
|
+
url: Schema.String,
|
|
36
36
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
37
37
|
}),
|
|
38
38
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -19,7 +19,7 @@ export const ListWebhookSubscriptionsOutput =
|
|
|
19
19
|
Schema.Struct({
|
|
20
20
|
createdAt: Schema.String,
|
|
21
21
|
updatedAt: Schema.optional(Schema.String),
|
|
22
|
-
description: Schema.optional(Schema.
|
|
22
|
+
description: Schema.optional(Schema.String),
|
|
23
23
|
eventTypes: Schema.Array(Schema.String),
|
|
24
24
|
isEnabled: Schema.Boolean,
|
|
25
25
|
metadata: Schema.optional(
|
|
@@ -30,7 +30,7 @@ export const ListWebhookSubscriptionsOutput =
|
|
|
30
30
|
secret: SensitiveString,
|
|
31
31
|
subscriptionId: Schema.String,
|
|
32
32
|
target: Schema.Struct({
|
|
33
|
-
url: Schema.
|
|
33
|
+
url: Schema.String,
|
|
34
34
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
35
35
|
}),
|
|
36
36
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -26,7 +26,7 @@ export const PrepareUserOperationInput =
|
|
|
26
26
|
overrideGasLimit: Schema.optional(Schema.String),
|
|
27
27
|
}),
|
|
28
28
|
),
|
|
29
|
-
paymasterUrl: Schema.optional(Schema.
|
|
29
|
+
paymasterUrl: Schema.optional(Schema.String),
|
|
30
30
|
dataSuffix: Schema.optional(Schema.String),
|
|
31
31
|
}).pipe(
|
|
32
32
|
T.Http({
|
|
@@ -7,11 +7,11 @@ import { SensitiveString } from "../sensitive.ts";
|
|
|
7
7
|
export const UpdateWebhookSubscriptionInput =
|
|
8
8
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
9
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
description: Schema.optional(Schema.
|
|
10
|
+
description: Schema.optional(Schema.String),
|
|
11
11
|
eventTypes: Schema.Array(Schema.String),
|
|
12
12
|
isEnabled: Schema.Boolean,
|
|
13
13
|
target: Schema.Struct({
|
|
14
|
-
url: Schema.
|
|
14
|
+
url: Schema.String,
|
|
15
15
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
16
16
|
}),
|
|
17
17
|
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
@@ -30,7 +30,7 @@ export const UpdateWebhookSubscriptionOutput =
|
|
|
30
30
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
31
31
|
createdAt: Schema.String,
|
|
32
32
|
updatedAt: Schema.optional(Schema.String),
|
|
33
|
-
description: Schema.optional(Schema.
|
|
33
|
+
description: Schema.optional(Schema.String),
|
|
34
34
|
eventTypes: Schema.Array(Schema.String),
|
|
35
35
|
isEnabled: Schema.Boolean,
|
|
36
36
|
metadata: Schema.optional(
|
|
@@ -41,7 +41,7 @@ export const UpdateWebhookSubscriptionOutput =
|
|
|
41
41
|
secret: SensitiveString,
|
|
42
42
|
subscriptionId: Schema.String,
|
|
43
43
|
target: Schema.Struct({
|
|
44
|
-
url: Schema.
|
|
44
|
+
url: Schema.String,
|
|
45
45
|
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
46
46
|
}),
|
|
47
47
|
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|