From 4e79cd2130362826b368d40582c8815ba99dd8c5 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:40:22 +0000 Subject: [PATCH 1/3] Changes generated by 954c0afb4d49281568105513c90f0d12ded6fcd2 This commit was automatically created from gocardless/client-library-templates@954c0afb4d49281568105513c90f0d12ded6fcd2 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/27546743240 --- package-lock.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 022e806b..f88083f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2231,9 +2231,9 @@ ] }, "node_modules/acorn": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", - "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", + "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", "dev": true, "license": "MIT", "bin": { @@ -2486,9 +2486,9 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.10.35", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.35.tgz", - "integrity": "sha512-honAfLBde0HAFLdNyBEfuuENkF6zR+ozxqxa/2zJKHBe1qzLqyTSeRKpdPEHAP03rlDGyQOPnCSxnVpVqQo9Mg==", + "version": "2.10.37", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.37.tgz", + "integrity": "sha512-girxaJ7WZssDOFhzCGZTDKoTa1gk6A1TbflaYTpykLJ4UU9Fz9kx1aREM8JCuoVHbL8X8T/mJg7w2oYSq72Oig==", "dev": true, "license": "Apache-2.0", "bin": { @@ -2715,9 +2715,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001797", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz", - "integrity": "sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==", + "version": "1.0.30001799", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz", + "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==", "dev": true, "funding": [ { @@ -3102,9 +3102,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.371", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.371.tgz", - "integrity": "sha512-e9htk9mAYL6AzmkEhSvVVw7IWGSBJ/Bqdn2eRyRLrj1g6sncN4WbFt5qnILYoCktktr45pyjIrOiRvBThQ808w==", + "version": "1.5.372", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz", + "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==", "dev": true, "license": "ISC" }, From d18d575c22a85925bff1ab563873bfd907103a2b Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 10:05:31 +0000 Subject: [PATCH 2/3] Changes generated by f6b23429e1db4af5f6d559a8933d94ab86835e19 This commit was automatically created from gocardless/client-library-templates@f6b23429e1db4af5f6d559a8933d94ab86835e19 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/27609840302 --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f88083f1..f78a879d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3102,9 +3102,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.372", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz", - "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==", + "version": "1.5.373", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.373.tgz", + "integrity": "sha512-G2Hym8JIf/QreuseqkDibgH8Ci8KfJzqGDKdakbhSx9UltwRBH2cBLAWU/lBX0sCdv0TlhyxQyDCnSfxgMWsjA==", "dev": true, "license": "ISC" }, From 604c3dcb6835e5f0b49f30e58150d3708ad1e266 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:11:25 +0000 Subject: [PATCH 3/3] Changes generated by c1a246cf193597d4a75b4787fe464fa9d5cbf101 This commit was automatically created from gocardless/client-library-templates@c1a246cf193597d4a75b4787fe464fa9d5cbf101 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/27619830471 --- src/services/billingRequestTemplateService.ts | 56 ++----------------- src/types/Types.ts | 41 ++------------ 2 files changed, 9 insertions(+), 88 deletions(-) diff --git a/src/services/billingRequestTemplateService.ts b/src/services/billingRequestTemplateService.ts index 40404c3d..203e1b1b 100644 --- a/src/services/billingRequestTemplateService.ts +++ b/src/services/billingRequestTemplateService.ts @@ -64,33 +64,9 @@ interface BillingRequestTemplateCreateRequest { mandate_request_scheme?: string; - // Verification preference for the mandate. One of: - // - // - // By default, all Billing Requests use the `recommended` verification - // preference. It uses GoCardless payment intelligence solution to determine if - // a payer is fraudulent or not. The verification mechanism is based on the - // response and the payer may be asked to verify themselves. If the feature is - // not available, `recommended` behaves like `minimum`. - // - // If you never wish to take advantage of our reduced risk products and Verified - // Mandates as they are released in new schemes, please use the `minimum` - // verification preference. - // - // See [Billing Requests: Creating Verified - // Mandates](https://developer.gocardless.com/getting-started/billing-requests/verified-mandates/) - // for more information. + // Verification preference for the mandate. - mandate_request_verify?: `${Types.BillingRequestTemplateMandateRequestVerify}`; + mandate_request_verify?: string; // Key-value store of custom data. Up to 3 keys are permitted, with key names up // to 50 characters and values up to 500 characters. @@ -168,33 +144,9 @@ interface BillingRequestTemplateUpdateRequest { mandate_request_scheme?: string; - // Verification preference for the mandate. One of: - // - // - // By default, all Billing Requests use the `recommended` verification - // preference. It uses GoCardless payment intelligence solution to determine if - // a payer is fraudulent or not. The verification mechanism is based on the - // response and the payer may be asked to verify themselves. If the feature is - // not available, `recommended` behaves like `minimum`. - // - // If you never wish to take advantage of our reduced risk products and Verified - // Mandates as they are released in new schemes, please use the `minimum` - // verification preference. - // - // See [Billing Requests: Creating Verified - // Mandates](https://developer.gocardless.com/getting-started/billing-requests/verified-mandates/) - // for more information. + // Verification preference for the mandate. - mandate_request_verify?: `${Types.BillingRequestTemplateMandateRequestVerify}`; + mandate_request_verify?: string; // Key-value store of custom data. Up to 3 keys are permitted, with key names up // to 50 characters and values up to 500 characters. diff --git a/src/types/Types.ts b/src/types/Types.ts index 6bd0d737..a6ba43bf 100644 --- a/src/types/Types.ts +++ b/src/types/Types.ts @@ -1552,7 +1552,7 @@ export type BillingRequestTemplate = { // [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency // code. - mandate_request_currency?: string; + mandate_request_currency?: string | null; // A human-readable description of the payment and/or mandate. This will be // displayed to the payer when authorising the billing request. @@ -1571,32 +1571,8 @@ export type BillingRequestTemplate = { // from a list of your available schemes. mandate_request_scheme?: string | null; - // Verification preference for the mandate. One of: - // - // - // By default, all Billing Requests use the `recommended` verification - // preference. It uses GoCardless payment intelligence solution to determine - // if a payer is fraudulent or not. The verification mechanism is based on the - // response and the payer may be asked to verify themselves. If the feature is - // not available, `recommended` behaves like `minimum`. - // - // If you never wish to take advantage of our reduced risk products and - // Verified Mandates as they are released in new schemes, please use the - // `minimum` verification preference. - // - // See [Billing Requests: Creating Verified - // Mandates](https://developer.gocardless.com/getting-started/billing-requests/verified-mandates/) - // for more information. - mandate_request_verify?: `${BillingRequestTemplateMandateRequestVerify}`; + // Verification preference for the mandate. + mandate_request_verify?: string | null; // Key-value store of custom data. Up to 3 keys are permitted, with key names // up to 50 characters and values up to 500 characters. @@ -1607,12 +1583,12 @@ export type BillingRequestTemplate = { name?: string; // Amount in full. - payment_request_amount?: string; + payment_request_amount?: string | null; // [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) currency // code. `GBP` and `EUR` supported; `GBP` with your customers in the UK and // for `EUR` with your customers in supported Eurozone countries only. - payment_request_currency?: string; + payment_request_currency?: string | null; // A human-readable description of the payment and/or mandate. This will be // displayed to the payer when authorising the billing request. @@ -1647,13 +1623,6 @@ export type BillingRequestTemplateCreateRequestLinks = { creditor?: string; }; -export enum BillingRequestTemplateMandateRequestVerify { - Minimum = 'minimum', - Recommended = 'recommended', - WhenAvailable = 'when_available', - Always = 'always', -} - /** Type for a billingrequesttemplatemandaterequestconstraints resource. */ export type BillingRequestTemplateMandateRequestConstraints = { // The latest date at which payments can be taken, must occur after start_date