mollie-api-typescript 1.7.0 → 1.7.2
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/README.md +11 -0
- package/dist/commonjs/funcs/payoutsCancel.d.ts +22 -0
- package/dist/commonjs/funcs/payoutsCancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/payoutsCancel.js +147 -0
- package/dist/commonjs/funcs/payoutsCancel.js.map +1 -0
- package/dist/commonjs/funcs/payoutsCreate.d.ts +54 -0
- package/dist/commonjs/funcs/payoutsCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/payoutsCreate.js +174 -0
- package/dist/commonjs/funcs/payoutsCreate.js.map +1 -0
- package/dist/commonjs/funcs/payoutsGet.d.ts +19 -0
- package/dist/commonjs/funcs/payoutsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/payoutsGet.js +144 -0
- package/dist/commonjs/funcs/payoutsGet.js.map +1 -0
- package/dist/commonjs/funcs/payoutsList.d.ts +29 -0
- package/dist/commonjs/funcs/payoutsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/payoutsList.js +182 -0
- package/dist/commonjs/funcs/payoutsList.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/entitypayoutresponse.d.ts +94 -0
- package/dist/commonjs/models/entitypayoutresponse.d.ts.map +1 -0
- package/dist/commonjs/models/entitypayoutresponse.js +82 -0
- package/dist/commonjs/models/entitypayoutresponse.js.map +1 -0
- package/dist/commonjs/models/entitywebhookevent.d.ts +8 -2
- package/dist/commonjs/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/entitywebhookevent.js +8 -0
- package/dist/commonjs/models/entitywebhookevent.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +6 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +6 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/listentitypayout.d.ts +90 -0
- package/dist/commonjs/models/listentitypayout.d.ts.map +1 -0
- package/dist/commonjs/models/listentitypayout.js +81 -0
- package/dist/commonjs/models/listentitypayout.js.map +1 -0
- package/dist/commonjs/models/operations/cancelpayout.d.ts +43 -0
- package/dist/commonjs/models/operations/cancelpayout.d.ts.map +1 -0
- package/dist/commonjs/models/operations/cancelpayout.js +57 -0
- package/dist/commonjs/models/operations/cancelpayout.js.map +1 -0
- package/dist/commonjs/models/operations/createpayout.d.ts +41 -0
- package/dist/commonjs/models/operations/createpayout.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createpayout.js +59 -0
- package/dist/commonjs/models/operations/createpayout.js.map +1 -0
- package/dist/commonjs/models/operations/getpayout.d.ts +43 -0
- package/dist/commonjs/models/operations/getpayout.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getpayout.js +57 -0
- package/dist/commonjs/models/operations/getpayout.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listpayouts.d.ts +114 -0
- package/dist/commonjs/models/operations/listpayouts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listpayouts.js +97 -0
- package/dist/commonjs/models/operations/listpayouts.js.map +1 -0
- package/dist/commonjs/models/paymentrequest.d.ts +10 -0
- package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/paymentrequest.js +1 -0
- package/dist/commonjs/models/paymentrequest.js.map +1 -1
- package/dist/commonjs/models/payoutrequest.d.ts +37 -0
- package/dist/commonjs/models/payoutrequest.d.ts.map +1 -0
- package/dist/commonjs/models/payoutrequest.js +54 -0
- package/dist/commonjs/models/payoutrequest.js.map +1 -0
- package/dist/commonjs/models/payoutstatus.d.ts +20 -0
- package/dist/commonjs/models/payoutstatus.d.ts.map +1 -0
- package/dist/commonjs/models/payoutstatus.js +55 -0
- package/dist/commonjs/models/payoutstatus.js.map +1 -0
- package/dist/commonjs/models/payoutstatusreason.d.ts +21 -0
- package/dist/commonjs/models/payoutstatusreason.d.ts.map +1 -0
- package/dist/commonjs/models/payoutstatusreason.js +53 -0
- package/dist/commonjs/models/payoutstatusreason.js.map +1 -0
- package/dist/commonjs/models/payoutstatusreasoncode.d.ts +28 -0
- package/dist/commonjs/models/payoutstatusreasoncode.d.ts.map +1 -0
- package/dist/commonjs/models/payoutstatusreasoncode.js +63 -0
- package/dist/commonjs/models/payoutstatusreasoncode.js.map +1 -0
- package/dist/commonjs/models/webhookeventtypes.d.ts +5 -0
- package/dist/commonjs/models/webhookeventtypes.d.ts.map +1 -1
- package/dist/commonjs/models/webhookeventtypes.js +5 -0
- package/dist/commonjs/models/webhookeventtypes.js.map +1 -1
- package/dist/commonjs/sdk/payouts.d.ts +81 -0
- package/dist/commonjs/sdk/payouts.d.ts.map +1 -0
- package/dist/commonjs/sdk/payouts.js +98 -0
- package/dist/commonjs/sdk/payouts.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/payoutsCancel.d.ts +22 -0
- package/dist/esm/funcs/payoutsCancel.d.ts.map +1 -0
- package/dist/esm/funcs/payoutsCancel.js +111 -0
- package/dist/esm/funcs/payoutsCancel.js.map +1 -0
- package/dist/esm/funcs/payoutsCreate.d.ts +54 -0
- package/dist/esm/funcs/payoutsCreate.d.ts.map +1 -0
- package/dist/esm/funcs/payoutsCreate.js +138 -0
- package/dist/esm/funcs/payoutsCreate.js.map +1 -0
- package/dist/esm/funcs/payoutsGet.d.ts +19 -0
- package/dist/esm/funcs/payoutsGet.d.ts.map +1 -0
- package/dist/esm/funcs/payoutsGet.js +108 -0
- package/dist/esm/funcs/payoutsGet.js.map +1 -0
- package/dist/esm/funcs/payoutsList.d.ts +29 -0
- package/dist/esm/funcs/payoutsList.d.ts.map +1 -0
- package/dist/esm/funcs/payoutsList.js +146 -0
- package/dist/esm/funcs/payoutsList.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/entitypayoutresponse.d.ts +94 -0
- package/dist/esm/models/entitypayoutresponse.d.ts.map +1 -0
- package/dist/esm/models/entitypayoutresponse.js +44 -0
- package/dist/esm/models/entitypayoutresponse.js.map +1 -0
- package/dist/esm/models/entitywebhookevent.d.ts +8 -2
- package/dist/esm/models/entitywebhookevent.d.ts.map +1 -1
- package/dist/esm/models/entitywebhookevent.js +8 -0
- package/dist/esm/models/entitywebhookevent.js.map +1 -1
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/listentitypayout.d.ts +90 -0
- package/dist/esm/models/listentitypayout.d.ts.map +1 -0
- package/dist/esm/models/listentitypayout.js +43 -0
- package/dist/esm/models/listentitypayout.js.map +1 -0
- package/dist/esm/models/operations/cancelpayout.d.ts +43 -0
- package/dist/esm/models/operations/cancelpayout.d.ts.map +1 -0
- package/dist/esm/models/operations/cancelpayout.js +20 -0
- package/dist/esm/models/operations/cancelpayout.js.map +1 -0
- package/dist/esm/models/operations/createpayout.d.ts +41 -0
- package/dist/esm/models/operations/createpayout.d.ts.map +1 -0
- package/dist/esm/models/operations/createpayout.js +22 -0
- package/dist/esm/models/operations/createpayout.js.map +1 -0
- package/dist/esm/models/operations/getpayout.d.ts +43 -0
- package/dist/esm/models/operations/getpayout.d.ts.map +1 -0
- package/dist/esm/models/operations/getpayout.js +20 -0
- package/dist/esm/models/operations/getpayout.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listpayouts.d.ts +114 -0
- package/dist/esm/models/operations/listpayouts.d.ts.map +1 -0
- package/dist/esm/models/operations/listpayouts.js +57 -0
- package/dist/esm/models/operations/listpayouts.js.map +1 -0
- package/dist/esm/models/paymentrequest.d.ts +10 -0
- package/dist/esm/models/paymentrequest.d.ts.map +1 -1
- package/dist/esm/models/paymentrequest.js +1 -0
- package/dist/esm/models/paymentrequest.js.map +1 -1
- package/dist/esm/models/payoutrequest.d.ts +37 -0
- package/dist/esm/models/payoutrequest.d.ts.map +1 -0
- package/dist/esm/models/payoutrequest.js +17 -0
- package/dist/esm/models/payoutrequest.js.map +1 -0
- package/dist/esm/models/payoutstatus.d.ts +20 -0
- package/dist/esm/models/payoutstatus.d.ts.map +1 -0
- package/dist/esm/models/payoutstatus.js +19 -0
- package/dist/esm/models/payoutstatus.js.map +1 -0
- package/dist/esm/models/payoutstatusreason.d.ts +21 -0
- package/dist/esm/models/payoutstatusreason.d.ts.map +1 -0
- package/dist/esm/models/payoutstatusreason.js +16 -0
- package/dist/esm/models/payoutstatusreason.js.map +1 -0
- package/dist/esm/models/payoutstatusreasoncode.d.ts +28 -0
- package/dist/esm/models/payoutstatusreasoncode.d.ts.map +1 -0
- package/dist/esm/models/payoutstatusreasoncode.js +27 -0
- package/dist/esm/models/payoutstatusreasoncode.js.map +1 -0
- package/dist/esm/models/webhookeventtypes.d.ts +5 -0
- package/dist/esm/models/webhookeventtypes.d.ts.map +1 -1
- package/dist/esm/models/webhookeventtypes.js +5 -0
- package/dist/esm/models/webhookeventtypes.js.map +1 -1
- package/dist/esm/sdk/payouts.d.ts +81 -0
- package/dist/esm/sdk/payouts.d.ts.map +1 -0
- package/dist/esm/sdk/payouts.js +94 -0
- package/dist/esm/sdk/payouts.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/payoutsCancel.ts +204 -0
- package/src/funcs/payoutsCreate.ts +231 -0
- package/src/funcs/payoutsGet.ts +201 -0
- package/src/funcs/payoutsList.ts +278 -0
- package/src/lib/config.ts +3 -3
- package/src/models/entitypayoutresponse.ts +157 -0
- package/src/models/entitywebhookevent.ts +13 -0
- package/src/models/index.ts +6 -0
- package/src/models/listentitypayout.ts +152 -0
- package/src/models/operations/cancelpayout.ts +71 -0
- package/src/models/operations/createpayout.ts +70 -0
- package/src/models/operations/getpayout.ts +71 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listpayouts.ts +208 -0
- package/src/models/paymentrequest.ts +11 -0
- package/src/models/payoutrequest.ts +60 -0
- package/src/models/payoutstatus.ts +31 -0
- package/src/models/payoutstatusreason.ts +47 -0
- package/src/models/payoutstatusreasoncode.ts +39 -0
- package/src/models/webhookeventtypes.ts +5 -0
- package/src/sdk/payouts.ts +128 -0
- package/src/sdk/sdk.ts +6 -0
package/src/lib/config.ts
CHANGED
|
@@ -78,8 +78,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
78
78
|
export const SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "1.0.0",
|
|
81
|
-
sdkVersion: "1.7.
|
|
82
|
-
genVersion: "2.
|
|
81
|
+
sdkVersion: "1.7.2",
|
|
82
|
+
genVersion: "2.884.0",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.7.
|
|
84
|
+
"speakeasy-sdk/typescript 1.7.2 2.884.0 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 43f55d244bf6
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import {
|
|
11
|
+
AmountNullable,
|
|
12
|
+
AmountNullable$inboundSchema,
|
|
13
|
+
} from "./amountnullable.js";
|
|
14
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
import { Mode, Mode$inboundSchema } from "./mode.js";
|
|
16
|
+
import { PayoutStatus, PayoutStatus$inboundSchema } from "./payoutstatus.js";
|
|
17
|
+
import {
|
|
18
|
+
PayoutStatusReason,
|
|
19
|
+
PayoutStatusReason$inboundSchema,
|
|
20
|
+
} from "./payoutstatusreason.js";
|
|
21
|
+
import { Url, Url$inboundSchema } from "./url.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
25
|
+
*/
|
|
26
|
+
export type EntityPayoutResponseLinks = {
|
|
27
|
+
/**
|
|
28
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
29
|
+
*/
|
|
30
|
+
self: Url;
|
|
31
|
+
/**
|
|
32
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
33
|
+
*/
|
|
34
|
+
documentation: Url;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type EntityPayoutResponse = {
|
|
38
|
+
/**
|
|
39
|
+
* Indicates the response contains a payout object. Will always contain the string `payout` for this endpoint.
|
|
40
|
+
*/
|
|
41
|
+
resource: string;
|
|
42
|
+
/**
|
|
43
|
+
* The identifier uniquely referring to this payout. Mollie assigns this identifier at payout creation time.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* Mollie will always refer to the payout by this ID. Example: `payout_j8NvRAM2WNZtsykpLEX8J`.
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
/**
|
|
50
|
+
* The identifier of the balance that will be paid out. Example: `bal_gVMhHKqSSRYJyPsuoPNFH`.
|
|
51
|
+
*/
|
|
52
|
+
balanceId: string;
|
|
53
|
+
/**
|
|
54
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
55
|
+
*/
|
|
56
|
+
amount?: AmountNullable | null | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* The description that will appear on the bank statement for this payout.
|
|
59
|
+
*/
|
|
60
|
+
description?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* The status of the payout.
|
|
63
|
+
*/
|
|
64
|
+
status: PayoutStatus;
|
|
65
|
+
/**
|
|
66
|
+
* The reason for the payout's current status.
|
|
67
|
+
*/
|
|
68
|
+
statusReason: PayoutStatusReason;
|
|
69
|
+
/**
|
|
70
|
+
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
71
|
+
*/
|
|
72
|
+
createdAt: string;
|
|
73
|
+
/**
|
|
74
|
+
* The date and time the payout was initiated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
75
|
+
*
|
|
76
|
+
* @remarks
|
|
77
|
+
* This is the moment Mollie attempted to reserve the funds on the balance.
|
|
78
|
+
*/
|
|
79
|
+
initiatedAt?: string | null | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* The date and time the payout was sent to the destination bank account, in
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. `null` if the payout has not completed yet.
|
|
85
|
+
*/
|
|
86
|
+
completedAt?: string | null | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* The date and time the payout was canceled, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
89
|
+
*
|
|
90
|
+
* @remarks
|
|
91
|
+
* `null` if the payout was not canceled.
|
|
92
|
+
*/
|
|
93
|
+
canceledAt?: string | null | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Whether this entity was created in live mode or in test mode.
|
|
96
|
+
*/
|
|
97
|
+
mode: Mode;
|
|
98
|
+
/**
|
|
99
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
100
|
+
*/
|
|
101
|
+
links?: EntityPayoutResponseLinks | undefined;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const EntityPayoutResponseLinks$inboundSchema: z.ZodType<
|
|
106
|
+
EntityPayoutResponseLinks,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
unknown
|
|
109
|
+
> = z.object({
|
|
110
|
+
self: Url$inboundSchema,
|
|
111
|
+
documentation: Url$inboundSchema,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
export function entityPayoutResponseLinksFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<EntityPayoutResponseLinks, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => EntityPayoutResponseLinks$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'EntityPayoutResponseLinks' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** @internal */
|
|
125
|
+
export const EntityPayoutResponse$inboundSchema: z.ZodType<
|
|
126
|
+
EntityPayoutResponse,
|
|
127
|
+
z.ZodTypeDef,
|
|
128
|
+
unknown
|
|
129
|
+
> = z.object({
|
|
130
|
+
resource: z.string(),
|
|
131
|
+
id: z.string(),
|
|
132
|
+
balanceId: z.string(),
|
|
133
|
+
amount: z.nullable(AmountNullable$inboundSchema).optional(),
|
|
134
|
+
description: z.string().optional(),
|
|
135
|
+
status: PayoutStatus$inboundSchema,
|
|
136
|
+
statusReason: PayoutStatusReason$inboundSchema,
|
|
137
|
+
createdAt: z.string(),
|
|
138
|
+
initiatedAt: z.nullable(z.string()).optional(),
|
|
139
|
+
completedAt: z.nullable(z.string()).optional(),
|
|
140
|
+
canceledAt: z.nullable(z.string()).optional(),
|
|
141
|
+
mode: Mode$inboundSchema,
|
|
142
|
+
_links: z.lazy(() => EntityPayoutResponseLinks$inboundSchema).optional(),
|
|
143
|
+
}).transform((v) => {
|
|
144
|
+
return remap$(v, {
|
|
145
|
+
"_links": "links",
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
export function entityPayoutResponseFromJSON(
|
|
150
|
+
jsonString: string,
|
|
151
|
+
): SafeParseResult<EntityPayoutResponse, SDKValidationError> {
|
|
152
|
+
return safeParse(
|
|
153
|
+
jsonString,
|
|
154
|
+
(x) => EntityPayoutResponse$inboundSchema.parse(JSON.parse(x)),
|
|
155
|
+
`Failed to parse 'EntityPayoutResponse' from JSON`,
|
|
156
|
+
);
|
|
157
|
+
}
|
|
@@ -9,6 +9,10 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
9
9
|
import * as openEnums from "../types/enums.js";
|
|
10
10
|
import { OpenEnum } from "../types/enums.js";
|
|
11
11
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
12
|
+
import {
|
|
13
|
+
EntityPayoutResponse,
|
|
14
|
+
EntityPayoutResponse$inboundSchema,
|
|
15
|
+
} from "./entitypayoutresponse.js";
|
|
12
16
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
17
|
import {
|
|
14
18
|
PaymentLinkResponse,
|
|
@@ -33,6 +37,11 @@ import { Url, Url$inboundSchema } from "./url.js";
|
|
|
33
37
|
export const EntityWebhookEventWebhookEventTypes = {
|
|
34
38
|
PaymentLinkPaid: "payment-link.paid",
|
|
35
39
|
BalanceTransactionCreated: "balance-transaction.created",
|
|
40
|
+
PayoutInitiated: "payout.initiated",
|
|
41
|
+
PayoutProcessingAtBank: "payout.processing-at-bank",
|
|
42
|
+
PayoutCompleted: "payout.completed",
|
|
43
|
+
PayoutCanceled: "payout.canceled",
|
|
44
|
+
PayoutFailed: "payout.failed",
|
|
36
45
|
SalesInvoiceCreated: "sales-invoice.created",
|
|
37
46
|
SalesInvoiceIssued: "sales-invoice.issued",
|
|
38
47
|
SalesInvoiceCanceled: "sales-invoice.canceled",
|
|
@@ -60,6 +69,7 @@ export type EntityWebhookEventWebhookEventTypes = OpenEnum<
|
|
|
60
69
|
export type Entity =
|
|
61
70
|
| PaymentLinkResponse
|
|
62
71
|
| TransferResponse
|
|
72
|
+
| EntityPayoutResponse
|
|
63
73
|
| SalesInvoiceResponse;
|
|
64
74
|
|
|
65
75
|
/**
|
|
@@ -69,6 +79,7 @@ export type Embedded = {
|
|
|
69
79
|
entity?:
|
|
70
80
|
| PaymentLinkResponse
|
|
71
81
|
| TransferResponse
|
|
82
|
+
| EntityPayoutResponse
|
|
72
83
|
| SalesInvoiceResponse
|
|
73
84
|
| undefined;
|
|
74
85
|
};
|
|
@@ -131,6 +142,7 @@ export const Entity$inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown> = z
|
|
|
131
142
|
.union([
|
|
132
143
|
PaymentLinkResponse$inboundSchema,
|
|
133
144
|
TransferResponse$inboundSchema,
|
|
145
|
+
EntityPayoutResponse$inboundSchema,
|
|
134
146
|
SalesInvoiceResponse$inboundSchema,
|
|
135
147
|
]);
|
|
136
148
|
|
|
@@ -153,6 +165,7 @@ export const Embedded$inboundSchema: z.ZodType<
|
|
|
153
165
|
entity: z.union([
|
|
154
166
|
PaymentLinkResponse$inboundSchema,
|
|
155
167
|
TransferResponse$inboundSchema,
|
|
168
|
+
EntityPayoutResponse$inboundSchema,
|
|
156
169
|
SalesInvoiceResponse$inboundSchema,
|
|
157
170
|
]).optional(),
|
|
158
171
|
});
|
package/src/models/index.ts
CHANGED
|
@@ -63,6 +63,7 @@ export * from "./entityonboardingstatus.js";
|
|
|
63
63
|
export * from "./entityorganization.js";
|
|
64
64
|
export * from "./entitypaymentroute.js";
|
|
65
65
|
export * from "./entitypaymentrouteresponse.js";
|
|
66
|
+
export * from "./entitypayoutresponse.js";
|
|
66
67
|
export * from "./entitypermission.js";
|
|
67
68
|
export * from "./entityrefundresponse.js";
|
|
68
69
|
export * from "./entitysettlement.js";
|
|
@@ -80,6 +81,7 @@ export * from "./listentitychargeback.js";
|
|
|
80
81
|
export * from "./listentityinvoice.js";
|
|
81
82
|
export * from "./listentitymethod.js";
|
|
82
83
|
export * from "./listentitymethodall.js";
|
|
84
|
+
export * from "./listentitypayout.js";
|
|
83
85
|
export * from "./listentitypermission.js";
|
|
84
86
|
export * from "./listentityrefund.js";
|
|
85
87
|
export * from "./listentitysettlement.js";
|
|
@@ -139,6 +141,10 @@ export * from "./paymentlinksequencetyperesponse.js";
|
|
|
139
141
|
export * from "./paymentmethod.js";
|
|
140
142
|
export * from "./paymentrequest.js";
|
|
141
143
|
export * from "./paymentresponse.js";
|
|
144
|
+
export * from "./payoutrequest.js";
|
|
145
|
+
export * from "./payoutstatus.js";
|
|
146
|
+
export * from "./payoutstatusreason.js";
|
|
147
|
+
export * from "./payoutstatusreasoncode.js";
|
|
142
148
|
export * from "./profilerequest.js";
|
|
143
149
|
export * from "./profileresponse.js";
|
|
144
150
|
export * from "./profilereviewstatusresponse.js";
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 394d8d8b123a
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import {
|
|
11
|
+
AmountNullable,
|
|
12
|
+
AmountNullable$inboundSchema,
|
|
13
|
+
} from "./amountnullable.js";
|
|
14
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
import { Mode, Mode$inboundSchema } from "./mode.js";
|
|
16
|
+
import { PayoutStatus, PayoutStatus$inboundSchema } from "./payoutstatus.js";
|
|
17
|
+
import {
|
|
18
|
+
PayoutStatusReason,
|
|
19
|
+
PayoutStatusReason$inboundSchema,
|
|
20
|
+
} from "./payoutstatusreason.js";
|
|
21
|
+
import { Url, Url$inboundSchema } from "./url.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
25
|
+
*/
|
|
26
|
+
export type ListEntityPayoutLinks = {
|
|
27
|
+
/**
|
|
28
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
29
|
+
*/
|
|
30
|
+
self: Url;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type ListEntityPayout = {
|
|
34
|
+
/**
|
|
35
|
+
* Indicates the response contains a payout object. Will always contain the string `payout` for this endpoint.
|
|
36
|
+
*/
|
|
37
|
+
resource: string;
|
|
38
|
+
/**
|
|
39
|
+
* The identifier uniquely referring to this payout. Mollie assigns this identifier at payout creation time.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Mollie will always refer to the payout by this ID. Example: `payout_j8NvRAM2WNZtsykpLEX8J`.
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* The identifier of the balance that will be paid out. Example: `bal_gVMhHKqSSRYJyPsuoPNFH`.
|
|
47
|
+
*/
|
|
48
|
+
balanceId: string;
|
|
49
|
+
/**
|
|
50
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
51
|
+
*/
|
|
52
|
+
amount?: AmountNullable | null | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The description that will appear on the bank statement for this payout.
|
|
55
|
+
*/
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* The status of the payout.
|
|
59
|
+
*/
|
|
60
|
+
status: PayoutStatus;
|
|
61
|
+
/**
|
|
62
|
+
* The reason for the payout's current status.
|
|
63
|
+
*/
|
|
64
|
+
statusReason: PayoutStatusReason;
|
|
65
|
+
/**
|
|
66
|
+
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
67
|
+
*/
|
|
68
|
+
createdAt: string;
|
|
69
|
+
/**
|
|
70
|
+
* The date and time the payout was initiated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* This is the moment Mollie attempted to reserve the funds on the balance.
|
|
74
|
+
*/
|
|
75
|
+
initiatedAt?: string | null | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* The date and time the payout was sent to the destination bank account, in
|
|
78
|
+
*
|
|
79
|
+
* @remarks
|
|
80
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. `null` if the payout has not completed yet.
|
|
81
|
+
*/
|
|
82
|
+
completedAt?: string | null | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The date and time the payout was canceled, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* `null` if the payout was not canceled.
|
|
88
|
+
*/
|
|
89
|
+
canceledAt?: string | null | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Whether this entity was created in live mode or in test mode.
|
|
92
|
+
*/
|
|
93
|
+
mode: Mode;
|
|
94
|
+
/**
|
|
95
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
96
|
+
*/
|
|
97
|
+
links?: ListEntityPayoutLinks | undefined;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const ListEntityPayoutLinks$inboundSchema: z.ZodType<
|
|
102
|
+
ListEntityPayoutLinks,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
unknown
|
|
105
|
+
> = z.object({
|
|
106
|
+
self: Url$inboundSchema,
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export function listEntityPayoutLinksFromJSON(
|
|
110
|
+
jsonString: string,
|
|
111
|
+
): SafeParseResult<ListEntityPayoutLinks, SDKValidationError> {
|
|
112
|
+
return safeParse(
|
|
113
|
+
jsonString,
|
|
114
|
+
(x) => ListEntityPayoutLinks$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
+
`Failed to parse 'ListEntityPayoutLinks' from JSON`,
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const ListEntityPayout$inboundSchema: z.ZodType<
|
|
121
|
+
ListEntityPayout,
|
|
122
|
+
z.ZodTypeDef,
|
|
123
|
+
unknown
|
|
124
|
+
> = z.object({
|
|
125
|
+
resource: z.string(),
|
|
126
|
+
id: z.string(),
|
|
127
|
+
balanceId: z.string(),
|
|
128
|
+
amount: z.nullable(AmountNullable$inboundSchema).optional(),
|
|
129
|
+
description: z.string().optional(),
|
|
130
|
+
status: PayoutStatus$inboundSchema,
|
|
131
|
+
statusReason: PayoutStatusReason$inboundSchema,
|
|
132
|
+
createdAt: z.string(),
|
|
133
|
+
initiatedAt: z.nullable(z.string()).optional(),
|
|
134
|
+
completedAt: z.nullable(z.string()).optional(),
|
|
135
|
+
canceledAt: z.nullable(z.string()).optional(),
|
|
136
|
+
mode: Mode$inboundSchema,
|
|
137
|
+
_links: z.lazy(() => ListEntityPayoutLinks$inboundSchema).optional(),
|
|
138
|
+
}).transform((v) => {
|
|
139
|
+
return remap$(v, {
|
|
140
|
+
"_links": "links",
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
export function listEntityPayoutFromJSON(
|
|
145
|
+
jsonString: string,
|
|
146
|
+
): SafeParseResult<ListEntityPayout, SDKValidationError> {
|
|
147
|
+
return safeParse(
|
|
148
|
+
jsonString,
|
|
149
|
+
(x) => ListEntityPayout$inboundSchema.parse(JSON.parse(x)),
|
|
150
|
+
`Failed to parse 'ListEntityPayout' from JSON`,
|
|
151
|
+
);
|
|
152
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a8ceed358b32
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type CancelPayoutGlobals = {
|
|
10
|
+
/**
|
|
11
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
15
|
+
* setting the `testmode` query parameter to `true`.
|
|
16
|
+
*
|
|
17
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
18
|
+
*/
|
|
19
|
+
testmode?: boolean | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type CancelPayoutRequest = {
|
|
23
|
+
/**
|
|
24
|
+
* Provide the ID of the payout.
|
|
25
|
+
*/
|
|
26
|
+
payoutId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
32
|
+
* setting the `testmode` query parameter to `true`.
|
|
33
|
+
*
|
|
34
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
35
|
+
*/
|
|
36
|
+
testmode?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
39
|
+
*/
|
|
40
|
+
idempotencyKey?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type CancelPayoutRequest$Outbound = {
|
|
45
|
+
payoutId: string;
|
|
46
|
+
testmode?: boolean | undefined;
|
|
47
|
+
"idempotency-key"?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const CancelPayoutRequest$outboundSchema: z.ZodType<
|
|
52
|
+
CancelPayoutRequest$Outbound,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
CancelPayoutRequest
|
|
55
|
+
> = z.object({
|
|
56
|
+
payoutId: z.string(),
|
|
57
|
+
testmode: z.boolean().optional(),
|
|
58
|
+
idempotencyKey: z.string().optional(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
idempotencyKey: "idempotency-key",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function cancelPayoutRequestToJSON(
|
|
66
|
+
cancelPayoutRequest: CancelPayoutRequest,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
CancelPayoutRequest$outboundSchema.parse(cancelPayoutRequest),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b7566a7f5207
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import * as models from "../index.js";
|
|
9
|
+
|
|
10
|
+
export type CreatePayoutGlobals = {
|
|
11
|
+
/**
|
|
12
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
16
|
+
* setting the `testmode` query parameter to `true`.
|
|
17
|
+
*
|
|
18
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
19
|
+
*/
|
|
20
|
+
testmode?: boolean | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type CreatePayoutRequest = {
|
|
24
|
+
/**
|
|
25
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
29
|
+
* setting the `testmode` query parameter to `true`.
|
|
30
|
+
*
|
|
31
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
32
|
+
*/
|
|
33
|
+
testmode?: boolean | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
36
|
+
*/
|
|
37
|
+
idempotencyKey?: string | undefined;
|
|
38
|
+
payoutRequest: models.PayoutRequest;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type CreatePayoutRequest$Outbound = {
|
|
43
|
+
testmode?: boolean | undefined;
|
|
44
|
+
"idempotency-key"?: string | undefined;
|
|
45
|
+
"payout-request": models.PayoutRequest$Outbound;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const CreatePayoutRequest$outboundSchema: z.ZodType<
|
|
50
|
+
CreatePayoutRequest$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
CreatePayoutRequest
|
|
53
|
+
> = z.object({
|
|
54
|
+
testmode: z.boolean().optional(),
|
|
55
|
+
idempotencyKey: z.string().optional(),
|
|
56
|
+
payoutRequest: models.PayoutRequest$outboundSchema,
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return remap$(v, {
|
|
59
|
+
idempotencyKey: "idempotency-key",
|
|
60
|
+
payoutRequest: "payout-request",
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export function createPayoutRequestToJSON(
|
|
65
|
+
createPayoutRequest: CreatePayoutRequest,
|
|
66
|
+
): string {
|
|
67
|
+
return JSON.stringify(
|
|
68
|
+
CreatePayoutRequest$outboundSchema.parse(createPayoutRequest),
|
|
69
|
+
);
|
|
70
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ae27c300ffe4
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type GetPayoutGlobals = {
|
|
10
|
+
/**
|
|
11
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
15
|
+
* setting the `testmode` query parameter to `true`.
|
|
16
|
+
*
|
|
17
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
18
|
+
*/
|
|
19
|
+
testmode?: boolean | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type GetPayoutRequest = {
|
|
23
|
+
/**
|
|
24
|
+
* Provide the ID of the payout.
|
|
25
|
+
*/
|
|
26
|
+
payoutId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
32
|
+
* setting the `testmode` query parameter to `true`.
|
|
33
|
+
*
|
|
34
|
+
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
35
|
+
*/
|
|
36
|
+
testmode?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
39
|
+
*/
|
|
40
|
+
idempotencyKey?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type GetPayoutRequest$Outbound = {
|
|
45
|
+
payoutId: string;
|
|
46
|
+
testmode?: boolean | undefined;
|
|
47
|
+
"idempotency-key"?: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const GetPayoutRequest$outboundSchema: z.ZodType<
|
|
52
|
+
GetPayoutRequest$Outbound,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
GetPayoutRequest
|
|
55
|
+
> = z.object({
|
|
56
|
+
payoutId: z.string(),
|
|
57
|
+
testmode: z.boolean().optional(),
|
|
58
|
+
idempotencyKey: z.string().optional(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
idempotencyKey: "idempotency-key",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function getPayoutRequestToJSON(
|
|
66
|
+
getPayoutRequest: GetPayoutRequest,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
GetPayoutRequest$outboundSchema.parse(getPayoutRequest),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export * from "./cancelpayment.js";
|
|
7
|
+
export * from "./cancelpayout.js";
|
|
7
8
|
export * from "./cancelrefund.js";
|
|
8
9
|
export * from "./cancelsubscription.js";
|
|
9
10
|
export * from "./createcapture.js";
|
|
@@ -14,6 +15,7 @@ export * from "./createcustomerpayment.js";
|
|
|
14
15
|
export * from "./createmandate.js";
|
|
15
16
|
export * from "./createpayment.js";
|
|
16
17
|
export * from "./createpaymentlink.js";
|
|
18
|
+
export * from "./createpayout.js";
|
|
17
19
|
export * from "./createprofile.js";
|
|
18
20
|
export * from "./createrefund.js";
|
|
19
21
|
export * from "./createsalesinvoice.js";
|
|
@@ -48,6 +50,7 @@ export * from "./getpartnerstatus.js";
|
|
|
48
50
|
export * from "./getpayment.js";
|
|
49
51
|
export * from "./getpaymentlink.js";
|
|
50
52
|
export * from "./getpaymentlinkpayments.js";
|
|
53
|
+
export * from "./getpayout.js";
|
|
51
54
|
export * from "./getpermission.js";
|
|
52
55
|
export * from "./getprimarybalance.js";
|
|
53
56
|
export * from "./getprofile.js";
|
|
@@ -81,6 +84,7 @@ export * from "./listmandates.js";
|
|
|
81
84
|
export * from "./listmethods.js";
|
|
82
85
|
export * from "./listpaymentlinks.js";
|
|
83
86
|
export * from "./listpayments.js";
|
|
87
|
+
export * from "./listpayouts.js";
|
|
84
88
|
export * from "./listpermissions.js";
|
|
85
89
|
export * from "./listprofiles.js";
|
|
86
90
|
export * from "./listrefunds.js";
|