mollie-api-typescript 1.6.3 → 1.6.4

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.
@@ -47,8 +47,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
47
47
  export declare const SDK_METADATA: {
48
48
  readonly language: "typescript";
49
49
  readonly openapiDocVersion: "1.0.0";
50
- readonly sdkVersion: "1.6.3";
50
+ readonly sdkVersion: "1.6.4";
51
51
  readonly genVersion: "2.881.4";
52
- readonly userAgent: "speakeasy-sdk/typescript 1.6.3 2.881.4 1.0.0 mollie-api-typescript";
52
+ readonly userAgent: "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript";
53
53
  };
54
54
  //# sourceMappingURL=config.d.ts.map
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
29
29
  exports.SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "1.0.0",
32
- sdkVersion: "1.6.3",
32
+ sdkVersion: "1.6.4",
33
33
  genVersion: "2.881.4",
34
- userAgent: "speakeasy-sdk/typescript 1.6.3 2.881.4 1.0.0 mollie-api-typescript",
34
+ userAgent: "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -3,7 +3,8 @@ import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
5
  import { PaymentLinkResponse } from "./paymentlinkresponse.js";
6
- import { ProfileResponse } from "./profileresponse.js";
6
+ import { SalesInvoiceResponse } from "./salesinvoiceresponse.js";
7
+ import { TransferResponse } from "./transferresponse.js";
7
8
  import { Url } from "./url.js";
8
9
  /**
9
10
  * The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
@@ -18,6 +19,13 @@ export declare const EntityWebhookEventWebhookEventTypes: {
18
19
  readonly SalesInvoiceIssued: "sales-invoice.issued";
19
20
  readonly SalesInvoiceCanceled: "sales-invoice.canceled";
20
21
  readonly SalesInvoicePaid: "sales-invoice.paid";
22
+ readonly BusinessAccountTransferRequested: "business-account-transfer.requested";
23
+ readonly BusinessAccountTransferInitiated: "business-account-transfer.initiated";
24
+ readonly BusinessAccountTransferPendingReview: "business-account-transfer.pending-review";
25
+ readonly BusinessAccountTransferProcessed: "business-account-transfer.processed";
26
+ readonly BusinessAccountTransferFailed: "business-account-transfer.failed";
27
+ readonly BusinessAccountTransferBlocked: "business-account-transfer.blocked";
28
+ readonly BusinessAccountTransferReturned: "business-account-transfer.returned";
21
29
  readonly Wildcard: "*";
22
30
  };
23
31
  /**
@@ -27,12 +35,12 @@ export declare const EntityWebhookEventWebhookEventTypes: {
27
35
  * that require explicit selection.
28
36
  */
29
37
  export type EntityWebhookEventWebhookEventTypes = OpenEnum<typeof EntityWebhookEventWebhookEventTypes>;
30
- export type Entity = PaymentLinkResponse | ProfileResponse;
38
+ export type Entity = PaymentLinkResponse | TransferResponse | SalesInvoiceResponse;
31
39
  /**
32
40
  * Full payload of the event.
33
41
  */
34
42
  export type Embedded = {
35
- entity?: PaymentLinkResponse | ProfileResponse | undefined;
43
+ entity?: PaymentLinkResponse | TransferResponse | SalesInvoiceResponse | undefined;
36
44
  };
37
45
  /**
38
46
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
@@ -1 +1 @@
1
- {"version":3,"file":"entitywebhookevent.d.ts","sourceRoot":"","sources":["../../../src/models/entitywebhookevent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,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AAC,UAAU,EAAE,OAAO,CAKtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -47,7 +47,8 @@ const primitives_js_1 = require("../lib/primitives.js");
47
47
  const schemas_js_1 = require("../lib/schemas.js");
48
48
  const openEnums = __importStar(require("../types/enums.js"));
49
49
  const paymentlinkresponse_js_1 = require("./paymentlinkresponse.js");
50
- const profileresponse_js_1 = require("./profileresponse.js");
50
+ const salesinvoiceresponse_js_1 = require("./salesinvoiceresponse.js");
51
+ const transferresponse_js_1 = require("./transferresponse.js");
51
52
  const url_js_1 = require("./url.js");
52
53
  /**
53
54
  * The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
@@ -62,13 +63,24 @@ exports.EntityWebhookEventWebhookEventTypes = {
62
63
  SalesInvoiceIssued: "sales-invoice.issued",
63
64
  SalesInvoiceCanceled: "sales-invoice.canceled",
64
65
  SalesInvoicePaid: "sales-invoice.paid",
66
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
67
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
68
+ BusinessAccountTransferPendingReview: "business-account-transfer.pending-review",
69
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
70
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
71
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
72
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
65
73
  Wildcard: "*",
66
74
  };
67
75
  /** @internal */
68
76
  exports.EntityWebhookEventWebhookEventTypes$inboundSchema = openEnums.inboundSchema(exports.EntityWebhookEventWebhookEventTypes);
69
77
  /** @internal */
70
78
  exports.Entity$inboundSchema = z
71
- .union([paymentlinkresponse_js_1.PaymentLinkResponse$inboundSchema, profileresponse_js_1.ProfileResponse$inboundSchema]);
79
+ .union([
80
+ paymentlinkresponse_js_1.PaymentLinkResponse$inboundSchema,
81
+ transferresponse_js_1.TransferResponse$inboundSchema,
82
+ salesinvoiceresponse_js_1.SalesInvoiceResponse$inboundSchema,
83
+ ]);
72
84
  function entityFromJSON(jsonString) {
73
85
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Entity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Entity' from JSON`);
74
86
  }
@@ -76,7 +88,8 @@ function entityFromJSON(jsonString) {
76
88
  exports.Embedded$inboundSchema = z.object({
77
89
  entity: z.union([
78
90
  paymentlinkresponse_js_1.PaymentLinkResponse$inboundSchema,
79
- profileresponse_js_1.ProfileResponse$inboundSchema,
91
+ transferresponse_js_1.TransferResponse$inboundSchema,
92
+ salesinvoiceresponse_js_1.SalesInvoiceResponse$inboundSchema,
80
93
  ]).optional(),
81
94
  });
82
95
  function embeddedFromJSON(jsonString) {
@@ -1 +1 @@
1
- {"version":3,"file":"entitywebhookevent.js","sourceRoot":"","s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CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6CAAqC,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,MAAM,EAAE,mBAAmB;QAC3B,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -13,6 +13,13 @@ export declare const WebhookEventTypes: {
13
13
  readonly SalesInvoiceIssued: "sales-invoice.issued";
14
14
  readonly SalesInvoiceCanceled: "sales-invoice.canceled";
15
15
  readonly SalesInvoicePaid: "sales-invoice.paid";
16
+ readonly BusinessAccountTransferRequested: "business-account-transfer.requested";
17
+ readonly BusinessAccountTransferInitiated: "business-account-transfer.initiated";
18
+ readonly BusinessAccountTransferPendingReview: "business-account-transfer.pending-review";
19
+ readonly BusinessAccountTransferProcessed: "business-account-transfer.processed";
20
+ readonly BusinessAccountTransferFailed: "business-account-transfer.failed";
21
+ readonly BusinessAccountTransferBlocked: "business-account-transfer.blocked";
22
+ readonly BusinessAccountTransferReturned: "business-account-transfer.returned";
16
23
  readonly Wildcard: "*";
17
24
  };
18
25
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"webhookeventtypes.d.ts","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AACpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC"}
1
+ {"version":3,"file":"webhookeventtypes.d.ts","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;CAgBpB,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AACpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC"}
@@ -52,6 +52,13 @@ exports.WebhookEventTypes = {
52
52
  SalesInvoiceIssued: "sales-invoice.issued",
53
53
  SalesInvoiceCanceled: "sales-invoice.canceled",
54
54
  SalesInvoicePaid: "sales-invoice.paid",
55
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
56
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
57
+ BusinessAccountTransferPendingReview: "business-account-transfer.pending-review",
58
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
59
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
60
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
61
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
55
62
  Wildcard: "*",
56
63
  };
57
64
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"webhookeventtypes.js","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;;;;GAKG;AACU,QAAA,iBAAiB,GAAG;IAC/B,eAAe,EAAE,mBAAmB;IACpC,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,gBAAgB,EAAE,oBAAoB;IACtC,QAAQ,EAAE,GAAG;CACL,CAAC;AASX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AACpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC"}
1
+ {"version":3,"file":"webhookeventtypes.js","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;;;;GAKG;AACU,QAAA,iBAAiB,GAAG;IAC/B,eAAe,EAAE,mBAAmB;IACpC,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,gBAAgB,EAAE,oBAAoB;IACtC,gCAAgC,EAAE,qCAAqC;IACvE,gCAAgC,EAAE,qCAAqC;IACvE,oCAAoC,EAClC,0CAA0C;IAC5C,gCAAgC,EAAE,qCAAqC;IACvE,6BAA6B,EAAE,kCAAkC;IACjE,8BAA8B,EAAE,mCAAmC;IACnE,+BAA+B,EAAE,oCAAoC;IACrE,QAAQ,EAAE,GAAG;CACL,CAAC;AASX,gBAAgB;AACH,QAAA,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,yBAAiB,CAAC,CAAC;AACpC,gBAAgB;AACH,QAAA,gCAAgC,GAEzC,uCAA+B,CAAC"}
@@ -47,8 +47,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
47
47
  export declare const SDK_METADATA: {
48
48
  readonly language: "typescript";
49
49
  readonly openapiDocVersion: "1.0.0";
50
- readonly sdkVersion: "1.6.3";
50
+ readonly sdkVersion: "1.6.4";
51
51
  readonly genVersion: "2.881.4";
52
- readonly userAgent: "speakeasy-sdk/typescript 1.6.3 2.881.4 1.0.0 mollie-api-typescript";
52
+ readonly userAgent: "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript";
53
53
  };
54
54
  //# sourceMappingURL=config.d.ts.map
@@ -25,8 +25,8 @@ export function serverURLFromOptions(options) {
25
25
  export const SDK_METADATA = {
26
26
  language: "typescript",
27
27
  openapiDocVersion: "1.0.0",
28
- sdkVersion: "1.6.3",
28
+ sdkVersion: "1.6.4",
29
29
  genVersion: "2.881.4",
30
- userAgent: "speakeasy-sdk/typescript 1.6.3 2.881.4 1.0.0 mollie-api-typescript",
30
+ userAgent: "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript",
31
31
  };
32
32
  //# sourceMappingURL=config.js.map
@@ -3,7 +3,8 @@ import { OpenEnum } from "../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../types/fp.js";
4
4
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
5
  import { PaymentLinkResponse } from "./paymentlinkresponse.js";
6
- import { ProfileResponse } from "./profileresponse.js";
6
+ import { SalesInvoiceResponse } from "./salesinvoiceresponse.js";
7
+ import { TransferResponse } from "./transferresponse.js";
7
8
  import { Url } from "./url.js";
8
9
  /**
9
10
  * The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
@@ -18,6 +19,13 @@ export declare const EntityWebhookEventWebhookEventTypes: {
18
19
  readonly SalesInvoiceIssued: "sales-invoice.issued";
19
20
  readonly SalesInvoiceCanceled: "sales-invoice.canceled";
20
21
  readonly SalesInvoicePaid: "sales-invoice.paid";
22
+ readonly BusinessAccountTransferRequested: "business-account-transfer.requested";
23
+ readonly BusinessAccountTransferInitiated: "business-account-transfer.initiated";
24
+ readonly BusinessAccountTransferPendingReview: "business-account-transfer.pending-review";
25
+ readonly BusinessAccountTransferProcessed: "business-account-transfer.processed";
26
+ readonly BusinessAccountTransferFailed: "business-account-transfer.failed";
27
+ readonly BusinessAccountTransferBlocked: "business-account-transfer.blocked";
28
+ readonly BusinessAccountTransferReturned: "business-account-transfer.returned";
21
29
  readonly Wildcard: "*";
22
30
  };
23
31
  /**
@@ -27,12 +35,12 @@ export declare const EntityWebhookEventWebhookEventTypes: {
27
35
  * that require explicit selection.
28
36
  */
29
37
  export type EntityWebhookEventWebhookEventTypes = OpenEnum<typeof EntityWebhookEventWebhookEventTypes>;
30
- export type Entity = PaymentLinkResponse | ProfileResponse;
38
+ export type Entity = PaymentLinkResponse | TransferResponse | SalesInvoiceResponse;
31
39
  /**
32
40
  * Full payload of the event.
33
41
  */
34
42
  export type Embedded = {
35
- entity?: PaymentLinkResponse | ProfileResponse | undefined;
43
+ entity?: PaymentLinkResponse | TransferResponse | SalesInvoiceResponse | undefined;
36
44
  };
37
45
  /**
38
46
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
@@ -1 +1 @@
1
- {"version":3,"file":"entitywebhookevent.d.ts","sourceRoot":"","sources":["../../../src/models/entitywebhookevent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3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AAO,CACuD,CAAC;AAEjE,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAKtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,QAAQ,EACR,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAM/C;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -7,7 +7,8 @@ import { remap as remap$ } from "../lib/primitives.js";
7
7
  import { safeParse } from "../lib/schemas.js";
8
8
  import * as openEnums from "../types/enums.js";
9
9
  import { PaymentLinkResponse$inboundSchema, } from "./paymentlinkresponse.js";
10
- import { ProfileResponse$inboundSchema, } from "./profileresponse.js";
10
+ import { SalesInvoiceResponse$inboundSchema, } from "./salesinvoiceresponse.js";
11
+ import { TransferResponse$inboundSchema, } from "./transferresponse.js";
11
12
  import { Url$inboundSchema } from "./url.js";
12
13
  /**
13
14
  * The list of events to enable for this webhook. You may specify `'*'` to add all events, except those
@@ -22,13 +23,24 @@ export const EntityWebhookEventWebhookEventTypes = {
22
23
  SalesInvoiceIssued: "sales-invoice.issued",
23
24
  SalesInvoiceCanceled: "sales-invoice.canceled",
24
25
  SalesInvoicePaid: "sales-invoice.paid",
26
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
27
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
28
+ BusinessAccountTransferPendingReview: "business-account-transfer.pending-review",
29
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
30
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
31
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
32
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
25
33
  Wildcard: "*",
26
34
  };
27
35
  /** @internal */
28
36
  export const EntityWebhookEventWebhookEventTypes$inboundSchema = openEnums.inboundSchema(EntityWebhookEventWebhookEventTypes);
29
37
  /** @internal */
30
38
  export const Entity$inboundSchema = z
31
- .union([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
39
+ .union([
40
+ PaymentLinkResponse$inboundSchema,
41
+ TransferResponse$inboundSchema,
42
+ SalesInvoiceResponse$inboundSchema,
43
+ ]);
32
44
  export function entityFromJSON(jsonString) {
33
45
  return safeParse(jsonString, (x) => Entity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Entity' from JSON`);
34
46
  }
@@ -36,7 +48,8 @@ export function entityFromJSON(jsonString) {
36
48
  export const Embedded$inboundSchema = z.object({
37
49
  entity: z.union([
38
50
  PaymentLinkResponse$inboundSchema,
39
- ProfileResponse$inboundSchema,
51
+ TransferResponse$inboundSchema,
52
+ SalesInvoiceResponse$inboundSchema,
40
53
  ]).optional(),
41
54
  });
42
55
  export function embeddedFromJSON(jsonString) {
@@ -1 +1 @@
1
- {"version":3,"file":"entitywebhookevent.js","sourceRoot":"","sources":["../../../src/models/entitywebhookevent.ts"],"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C,EAAE,EAAE,CAAC,qCAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,iDAAiD;IACvD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC,CAAC,QAAQ,EAAE;IACtE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,MAAM,EAAE,mBAAmB;QAC3B,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -13,6 +13,13 @@ export declare const WebhookEventTypes: {
13
13
  readonly SalesInvoiceIssued: "sales-invoice.issued";
14
14
  readonly SalesInvoiceCanceled: "sales-invoice.canceled";
15
15
  readonly SalesInvoicePaid: "sales-invoice.paid";
16
+ readonly BusinessAccountTransferRequested: "business-account-transfer.requested";
17
+ readonly BusinessAccountTransferInitiated: "business-account-transfer.initiated";
18
+ readonly BusinessAccountTransferPendingReview: "business-account-transfer.pending-review";
19
+ readonly BusinessAccountTransferProcessed: "business-account-transfer.processed";
20
+ readonly BusinessAccountTransferFailed: "business-account-transfer.failed";
21
+ readonly BusinessAccountTransferBlocked: "business-account-transfer.blocked";
22
+ readonly BusinessAccountTransferReturned: "business-account-transfer.returned";
16
23
  readonly Wildcard: "*";
17
24
  };
18
25
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"webhookeventtypes.d.ts","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AACpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC"}
1
+ {"version":3,"file":"webhookeventtypes.d.ts","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;CAgBpB,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,iBAAiB,CACS,CAAC;AACpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,iBAAiB,CACS,CAAC"}
@@ -16,6 +16,13 @@ export const WebhookEventTypes = {
16
16
  SalesInvoiceIssued: "sales-invoice.issued",
17
17
  SalesInvoiceCanceled: "sales-invoice.canceled",
18
18
  SalesInvoicePaid: "sales-invoice.paid",
19
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
20
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
21
+ BusinessAccountTransferPendingReview: "business-account-transfer.pending-review",
22
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
23
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
24
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
25
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
19
26
  Wildcard: "*",
20
27
  };
21
28
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"webhookeventtypes.js","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,eAAe,EAAE,mBAAmB;IACpC,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,gBAAgB,EAAE,oBAAoB;IACtC,QAAQ,EAAE,GAAG;CACL,CAAC;AASX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAEzC,+BAA+B,CAAC"}
1
+ {"version":3,"file":"webhookeventtypes.js","sourceRoot":"","sources":["../../../src/models/webhookeventtypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,eAAe,EAAE,mBAAmB;IACpC,yBAAyB,EAAE,6BAA6B;IACxD,mBAAmB,EAAE,uBAAuB;IAC5C,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,gBAAgB,EAAE,oBAAoB;IACtC,gCAAgC,EAAE,qCAAqC;IACvE,gCAAgC,EAAE,qCAAqC;IACvE,oCAAoC,EAClC,0CAA0C;IAC5C,gCAAgC,EAAE,qCAAqC;IACvE,6BAA6B,EAAE,kCAAkC;IACjE,8BAA8B,EAAE,mCAAmC;IACnE,+BAA+B,EAAE,oCAAoC;IACrE,QAAQ,EAAE,GAAG;CACL,CAAC;AASX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAExC,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACpC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAEzC,+BAA+B,CAAC"}
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "mollie-api-typescript",
5
- "version": "1.6.3",
5
+ "version": "1.6.4",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mollie-api-typescript",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "tshy": {
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.6.3",
81
+ sdkVersion: "1.6.4",
82
82
  genVersion: "2.881.4",
83
83
  userAgent:
84
- "speakeasy-sdk/typescript 1.6.3 2.881.4 1.0.0 mollie-api-typescript",
84
+ "speakeasy-sdk/typescript 1.6.4 2.881.4 1.0.0 mollie-api-typescript",
85
85
  } as const;
@@ -15,9 +15,13 @@ import {
15
15
  PaymentLinkResponse$inboundSchema,
16
16
  } from "./paymentlinkresponse.js";
17
17
  import {
18
- ProfileResponse,
19
- ProfileResponse$inboundSchema,
20
- } from "./profileresponse.js";
18
+ SalesInvoiceResponse,
19
+ SalesInvoiceResponse$inboundSchema,
20
+ } from "./salesinvoiceresponse.js";
21
+ import {
22
+ TransferResponse,
23
+ TransferResponse$inboundSchema,
24
+ } from "./transferresponse.js";
21
25
  import { Url, Url$inboundSchema } from "./url.js";
22
26
 
23
27
  /**
@@ -33,6 +37,14 @@ export const EntityWebhookEventWebhookEventTypes = {
33
37
  SalesInvoiceIssued: "sales-invoice.issued",
34
38
  SalesInvoiceCanceled: "sales-invoice.canceled",
35
39
  SalesInvoicePaid: "sales-invoice.paid",
40
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
41
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
42
+ BusinessAccountTransferPendingReview:
43
+ "business-account-transfer.pending-review",
44
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
45
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
46
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
47
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
36
48
  Wildcard: "*",
37
49
  } as const;
38
50
  /**
@@ -45,13 +57,20 @@ export type EntityWebhookEventWebhookEventTypes = OpenEnum<
45
57
  typeof EntityWebhookEventWebhookEventTypes
46
58
  >;
47
59
 
48
- export type Entity = PaymentLinkResponse | ProfileResponse;
60
+ export type Entity =
61
+ | PaymentLinkResponse
62
+ | TransferResponse
63
+ | SalesInvoiceResponse;
49
64
 
50
65
  /**
51
66
  * Full payload of the event.
52
67
  */
53
68
  export type Embedded = {
54
- entity?: PaymentLinkResponse | ProfileResponse | undefined;
69
+ entity?:
70
+ | PaymentLinkResponse
71
+ | TransferResponse
72
+ | SalesInvoiceResponse
73
+ | undefined;
55
74
  };
56
75
 
57
76
  /**
@@ -109,7 +128,11 @@ export const EntityWebhookEventWebhookEventTypes$inboundSchema: z.ZodType<
109
128
 
110
129
  /** @internal */
111
130
  export const Entity$inboundSchema: z.ZodType<Entity, z.ZodTypeDef, unknown> = z
112
- .union([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
131
+ .union([
132
+ PaymentLinkResponse$inboundSchema,
133
+ TransferResponse$inboundSchema,
134
+ SalesInvoiceResponse$inboundSchema,
135
+ ]);
113
136
 
114
137
  export function entityFromJSON(
115
138
  jsonString: string,
@@ -129,7 +152,8 @@ export const Embedded$inboundSchema: z.ZodType<
129
152
  > = z.object({
130
153
  entity: z.union([
131
154
  PaymentLinkResponse$inboundSchema,
132
- ProfileResponse$inboundSchema,
155
+ TransferResponse$inboundSchema,
156
+ SalesInvoiceResponse$inboundSchema,
133
157
  ]).optional(),
134
158
  });
135
159
 
@@ -19,6 +19,14 @@ export const WebhookEventTypes = {
19
19
  SalesInvoiceIssued: "sales-invoice.issued",
20
20
  SalesInvoiceCanceled: "sales-invoice.canceled",
21
21
  SalesInvoicePaid: "sales-invoice.paid",
22
+ BusinessAccountTransferRequested: "business-account-transfer.requested",
23
+ BusinessAccountTransferInitiated: "business-account-transfer.initiated",
24
+ BusinessAccountTransferPendingReview:
25
+ "business-account-transfer.pending-review",
26
+ BusinessAccountTransferProcessed: "business-account-transfer.processed",
27
+ BusinessAccountTransferFailed: "business-account-transfer.failed",
28
+ BusinessAccountTransferBlocked: "business-account-transfer.blocked",
29
+ BusinessAccountTransferReturned: "business-account-transfer.returned",
22
30
  Wildcard: "*",
23
31
  } as const;
24
32
  /**