mollie-api-typescript 1.6.8 → 1.6.9
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 +9 -13
- package/dist/commonjs/funcs/balanceTransfersCreate.d.ts +1 -1
- package/dist/commonjs/funcs/balanceTransfersCreate.js +1 -1
- package/dist/commonjs/funcs/balanceTransfersGet.d.ts +1 -1
- package/dist/commonjs/funcs/balanceTransfersGet.js +1 -1
- package/dist/commonjs/funcs/balanceTransfersList.d.ts +1 -1
- package/dist/commonjs/funcs/balanceTransfersList.js +1 -1
- package/dist/commonjs/funcs/balancesGet.d.ts +1 -1
- package/dist/commonjs/funcs/balancesGet.js +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.d.ts +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.js +1 -1
- package/dist/commonjs/funcs/balancesGetReport.d.ts +1 -1
- package/dist/commonjs/funcs/balancesGetReport.js +1 -1
- package/dist/commonjs/funcs/balancesList.d.ts +1 -1
- package/dist/commonjs/funcs/balancesList.js +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.d.ts +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.js +1 -1
- package/dist/commonjs/funcs/capabilitiesList.d.ts +1 -1
- package/dist/commonjs/funcs/capabilitiesList.js +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.d.ts +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js +1 -1
- package/dist/commonjs/funcs/clientsGet.d.ts +1 -1
- package/dist/commonjs/funcs/clientsGet.js +1 -1
- package/dist/commonjs/funcs/clientsList.d.ts +1 -1
- package/dist/commonjs/funcs/clientsList.js +1 -1
- package/dist/commonjs/funcs/invoicesGet.d.ts +1 -1
- package/dist/commonjs/funcs/invoicesGet.js +1 -1
- package/dist/commonjs/funcs/invoicesList.d.ts +1 -1
- package/dist/commonjs/funcs/invoicesList.js +1 -1
- package/dist/commonjs/funcs/onboardingGet.d.ts +1 -1
- package/dist/commonjs/funcs/onboardingGet.js +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.js +1 -1
- package/dist/commonjs/funcs/organizationsGet.d.ts +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.d.ts +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.js +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.d.ts +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.js +1 -1
- package/dist/commonjs/funcs/permissionsGet.d.ts +1 -1
- package/dist/commonjs/funcs/permissionsGet.js +1 -1
- package/dist/commonjs/funcs/permissionsList.d.ts +1 -1
- package/dist/commonjs/funcs/permissionsList.js +1 -1
- package/dist/commonjs/funcs/profilesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/profilesCreate.js +1 -1
- package/dist/commonjs/funcs/profilesDelete.d.ts +1 -1
- package/dist/commonjs/funcs/profilesDelete.js +1 -1
- package/dist/commonjs/funcs/profilesGet.d.ts +1 -1
- package/dist/commonjs/funcs/profilesGet.js +1 -1
- package/dist/commonjs/funcs/profilesList.d.ts +1 -1
- package/dist/commonjs/funcs/profilesList.js +1 -1
- package/dist/commonjs/funcs/profilesUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/profilesUpdate.js +1 -1
- package/dist/commonjs/funcs/settlementsGet.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsGet.js +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.js +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.js +1 -1
- package/dist/commonjs/funcs/settlementsList.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsList.js +1 -1
- package/dist/commonjs/funcs/settlementsListCaptures.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsListCaptures.js +1 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.js +1 -1
- package/dist/commonjs/funcs/settlementsListPayments.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsListPayments.js +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.d.ts +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js +1 -1
- package/dist/commonjs/funcs/transfersCreate.d.ts +1 -1
- package/dist/commonjs/funcs/transfersCreate.js +1 -1
- package/dist/commonjs/funcs/transfersGet.d.ts +1 -1
- package/dist/commonjs/funcs/transfersGet.js +1 -1
- package/dist/commonjs/funcs/verifyPayeeCreate.d.ts +1 -1
- package/dist/commonjs/funcs/verifyPayeeCreate.js +1 -1
- package/dist/commonjs/funcs/webhookEventsGet.d.ts +1 -1
- package/dist/commonjs/funcs/webhookEventsGet.js +1 -1
- package/dist/commonjs/funcs/webhooksCreate.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksCreate.js +1 -1
- package/dist/commonjs/funcs/webhooksDelete.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksDelete.js +1 -1
- package/dist/commonjs/funcs/webhooksGet.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksGet.js +1 -1
- package/dist/commonjs/funcs/webhooksList.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksList.js +1 -1
- package/dist/commonjs/funcs/webhooksTest.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksTest.js +1 -1
- package/dist/commonjs/funcs/webhooksUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/webhooksUpdate.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/env.d.ts +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +1 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/lib/security.js +2 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/security.d.ts +2 -2
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +1 -1
- package/dist/commonjs/models/security.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersCreate.d.ts +1 -1
- package/dist/esm/funcs/balanceTransfersCreate.js +1 -1
- package/dist/esm/funcs/balanceTransfersGet.d.ts +1 -1
- package/dist/esm/funcs/balanceTransfersGet.js +1 -1
- package/dist/esm/funcs/balanceTransfersList.d.ts +1 -1
- package/dist/esm/funcs/balanceTransfersList.js +1 -1
- package/dist/esm/funcs/balancesGet.d.ts +1 -1
- package/dist/esm/funcs/balancesGet.js +1 -1
- package/dist/esm/funcs/balancesGetPrimary.d.ts +1 -1
- package/dist/esm/funcs/balancesGetPrimary.js +1 -1
- package/dist/esm/funcs/balancesGetReport.d.ts +1 -1
- package/dist/esm/funcs/balancesGetReport.js +1 -1
- package/dist/esm/funcs/balancesList.d.ts +1 -1
- package/dist/esm/funcs/balancesList.js +1 -1
- package/dist/esm/funcs/balancesListTransactions.d.ts +1 -1
- package/dist/esm/funcs/balancesListTransactions.js +1 -1
- package/dist/esm/funcs/capabilitiesList.d.ts +1 -1
- package/dist/esm/funcs/capabilitiesList.js +1 -1
- package/dist/esm/funcs/clientLinksCreate.d.ts +1 -1
- package/dist/esm/funcs/clientLinksCreate.js +1 -1
- package/dist/esm/funcs/clientsGet.d.ts +1 -1
- package/dist/esm/funcs/clientsGet.js +1 -1
- package/dist/esm/funcs/clientsList.d.ts +1 -1
- package/dist/esm/funcs/clientsList.js +1 -1
- package/dist/esm/funcs/invoicesGet.d.ts +1 -1
- package/dist/esm/funcs/invoicesGet.js +1 -1
- package/dist/esm/funcs/invoicesList.d.ts +1 -1
- package/dist/esm/funcs/invoicesList.js +1 -1
- package/dist/esm/funcs/onboardingGet.d.ts +1 -1
- package/dist/esm/funcs/onboardingGet.js +1 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts +1 -1
- package/dist/esm/funcs/onboardingSubmit.js +1 -1
- package/dist/esm/funcs/organizationsGet.d.ts +1 -1
- package/dist/esm/funcs/organizationsGet.js +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.d.ts +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.js +1 -1
- package/dist/esm/funcs/organizationsGetPartner.d.ts +1 -1
- package/dist/esm/funcs/organizationsGetPartner.js +1 -1
- package/dist/esm/funcs/permissionsGet.d.ts +1 -1
- package/dist/esm/funcs/permissionsGet.js +1 -1
- package/dist/esm/funcs/permissionsList.d.ts +1 -1
- package/dist/esm/funcs/permissionsList.js +1 -1
- package/dist/esm/funcs/profilesCreate.d.ts +1 -1
- package/dist/esm/funcs/profilesCreate.js +1 -1
- package/dist/esm/funcs/profilesDelete.d.ts +1 -1
- package/dist/esm/funcs/profilesDelete.js +1 -1
- package/dist/esm/funcs/profilesGet.d.ts +1 -1
- package/dist/esm/funcs/profilesGet.js +1 -1
- package/dist/esm/funcs/profilesList.d.ts +1 -1
- package/dist/esm/funcs/profilesList.js +1 -1
- package/dist/esm/funcs/profilesUpdate.d.ts +1 -1
- package/dist/esm/funcs/profilesUpdate.js +1 -1
- package/dist/esm/funcs/settlementsGet.d.ts +1 -1
- package/dist/esm/funcs/settlementsGet.js +1 -1
- package/dist/esm/funcs/settlementsGetNext.d.ts +1 -1
- package/dist/esm/funcs/settlementsGetNext.js +1 -1
- package/dist/esm/funcs/settlementsGetOpen.d.ts +1 -1
- package/dist/esm/funcs/settlementsGetOpen.js +1 -1
- package/dist/esm/funcs/settlementsList.d.ts +1 -1
- package/dist/esm/funcs/settlementsList.js +1 -1
- package/dist/esm/funcs/settlementsListCaptures.d.ts +1 -1
- package/dist/esm/funcs/settlementsListCaptures.js +1 -1
- package/dist/esm/funcs/settlementsListChargebacks.d.ts +1 -1
- package/dist/esm/funcs/settlementsListChargebacks.js +1 -1
- package/dist/esm/funcs/settlementsListPayments.d.ts +1 -1
- package/dist/esm/funcs/settlementsListPayments.js +1 -1
- package/dist/esm/funcs/settlementsListRefunds.d.ts +1 -1
- package/dist/esm/funcs/settlementsListRefunds.js +1 -1
- package/dist/esm/funcs/transfersCreate.d.ts +1 -1
- package/dist/esm/funcs/transfersCreate.js +1 -1
- package/dist/esm/funcs/transfersGet.d.ts +1 -1
- package/dist/esm/funcs/transfersGet.js +1 -1
- package/dist/esm/funcs/verifyPayeeCreate.d.ts +1 -1
- package/dist/esm/funcs/verifyPayeeCreate.js +1 -1
- package/dist/esm/funcs/webhookEventsGet.d.ts +1 -1
- package/dist/esm/funcs/webhookEventsGet.js +1 -1
- package/dist/esm/funcs/webhooksCreate.d.ts +1 -1
- package/dist/esm/funcs/webhooksCreate.js +1 -1
- package/dist/esm/funcs/webhooksDelete.d.ts +1 -1
- package/dist/esm/funcs/webhooksDelete.js +1 -1
- package/dist/esm/funcs/webhooksGet.d.ts +1 -1
- package/dist/esm/funcs/webhooksGet.js +1 -1
- package/dist/esm/funcs/webhooksList.d.ts +1 -1
- package/dist/esm/funcs/webhooksList.js +1 -1
- package/dist/esm/funcs/webhooksTest.d.ts +1 -1
- package/dist/esm/funcs/webhooksTest.js +1 -1
- package/dist/esm/funcs/webhooksUpdate.d.ts +1 -1
- package/dist/esm/funcs/webhooksUpdate.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/env.d.ts +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +1 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/lib/security.js +2 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/security.d.ts +2 -2
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +1 -1
- package/dist/esm/models/security.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/balanceTransfersCreate.ts +1 -1
- package/src/funcs/balanceTransfersGet.ts +1 -1
- package/src/funcs/balanceTransfersList.ts +1 -1
- package/src/funcs/balancesGet.ts +1 -1
- package/src/funcs/balancesGetPrimary.ts +1 -1
- package/src/funcs/balancesGetReport.ts +1 -1
- package/src/funcs/balancesList.ts +1 -1
- package/src/funcs/balancesListTransactions.ts +1 -1
- package/src/funcs/capabilitiesList.ts +1 -1
- package/src/funcs/clientLinksCreate.ts +1 -1
- package/src/funcs/clientsGet.ts +1 -1
- package/src/funcs/clientsList.ts +1 -1
- package/src/funcs/invoicesGet.ts +1 -1
- package/src/funcs/invoicesList.ts +1 -1
- package/src/funcs/onboardingGet.ts +1 -1
- package/src/funcs/onboardingSubmit.ts +1 -1
- package/src/funcs/organizationsGet.ts +1 -1
- package/src/funcs/organizationsGetCurrent.ts +1 -1
- package/src/funcs/organizationsGetPartner.ts +1 -1
- package/src/funcs/permissionsGet.ts +1 -1
- package/src/funcs/permissionsList.ts +1 -1
- package/src/funcs/profilesCreate.ts +1 -1
- package/src/funcs/profilesDelete.ts +1 -1
- package/src/funcs/profilesGet.ts +1 -1
- package/src/funcs/profilesList.ts +1 -1
- package/src/funcs/profilesUpdate.ts +1 -1
- package/src/funcs/settlementsGet.ts +1 -1
- package/src/funcs/settlementsGetNext.ts +1 -1
- package/src/funcs/settlementsGetOpen.ts +1 -1
- package/src/funcs/settlementsList.ts +1 -1
- package/src/funcs/settlementsListCaptures.ts +1 -1
- package/src/funcs/settlementsListChargebacks.ts +1 -1
- package/src/funcs/settlementsListPayments.ts +1 -1
- package/src/funcs/settlementsListRefunds.ts +1 -1
- package/src/funcs/transfersCreate.ts +1 -1
- package/src/funcs/transfersGet.ts +1 -1
- package/src/funcs/verifyPayeeCreate.ts +1 -1
- package/src/funcs/webhookEventsGet.ts +1 -1
- package/src/funcs/webhooksCreate.ts +1 -1
- package/src/funcs/webhooksDelete.ts +1 -1
- package/src/funcs/webhooksGet.ts +1 -1
- package/src/funcs/webhooksList.ts +1 -1
- package/src/funcs/webhooksTest.ts +1 -1
- package/src/funcs/webhooksUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/lib/env.ts +2 -2
- package/src/lib/security.ts +2 -2
- package/src/models/security.ts +3 -3
|
@@ -37,7 +37,7 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* For a complete reference of the organization object, refer to the [Get organization](get-organization) endpoint
|
|
38
38
|
* documentation.
|
|
39
39
|
*
|
|
40
|
-
* If set, this operation will use either {@link Security.
|
|
40
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
41
41
|
*/
|
|
42
42
|
export function organizationsGetCurrent(
|
|
43
43
|
client: ClientCore,
|
|
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
* Retrieve partnership details about the currently authenticated organization. Only relevant for so-called *partner
|
|
34
34
|
* accounts*.
|
|
35
35
|
*
|
|
36
|
-
* If set, this operation will use either {@link Security.
|
|
36
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
37
37
|
*/
|
|
38
38
|
export function organizationsGetPartner(
|
|
39
39
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single permission by its ID, and see if the permission is granted to the current access token.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function permissionsGet(
|
|
40
40
|
client: ClientCore,
|
|
@@ -35,7 +35,7 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
*
|
|
36
36
|
* The results are **not** paginated.
|
|
37
37
|
*
|
|
38
|
-
* If set, this operation will use either {@link Security.
|
|
38
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
39
39
|
*/
|
|
40
40
|
export function permissionsList(
|
|
41
41
|
client: ClientCore,
|
|
@@ -37,7 +37,7 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* Profiles are required for payment processing. Normally they are created via the Mollie dashboard. Alternatively, you
|
|
38
38
|
* can use this endpoint to automate profile creation.
|
|
39
39
|
*
|
|
40
|
-
* If set, this operation will use either {@link Security.
|
|
40
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
41
41
|
*/
|
|
42
42
|
export function profilesCreate(
|
|
43
43
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Delete a profile. A deleted profile and its related credentials can no longer be used for accepting payments.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function profilesDelete(
|
|
40
40
|
client: ClientCore,
|
package/src/funcs/profilesGet.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single profile by its ID.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function profilesGet(
|
|
40
40
|
client: ClientCore,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
45
|
*
|
|
46
|
-
* If set, this operation will use either {@link Security.
|
|
46
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
47
47
|
*/
|
|
48
48
|
export function profilesList(
|
|
49
49
|
client: ClientCore,
|
|
@@ -37,7 +37,7 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* Profiles are required for payment processing. Normally they are created and updated via the Mollie dashboard.
|
|
38
38
|
* Alternatively, you can use this endpoint to automate profile management.
|
|
39
39
|
*
|
|
40
|
-
* If set, this operation will use either {@link Security.
|
|
40
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
41
41
|
*/
|
|
42
42
|
export function profilesUpdate(
|
|
43
43
|
client: ClientCore,
|
|
@@ -45,7 +45,7 @@ import { Result } from "../types/fp.js";
|
|
|
45
45
|
* For more accurate bookkeeping, refer to the [balance report](get-balance-report) endpoint or the
|
|
46
46
|
* [balance transactions](list-balance-transactions) endpoint.
|
|
47
47
|
*
|
|
48
|
-
* If set, this operation will use either {@link Security.
|
|
48
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
49
49
|
*/
|
|
50
50
|
export function settlementsGet(
|
|
51
51
|
client: ClientCore,
|
|
@@ -39,7 +39,7 @@ import { Result } from "../types/fp.js";
|
|
|
39
39
|
* For more accurate bookkeeping, refer to the [balance report](get-balance-report) endpoint or the
|
|
40
40
|
* [balance transactions](list-balance-transactions) endpoint.
|
|
41
41
|
*
|
|
42
|
-
* If set, this operation will use either {@link Security.
|
|
42
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
43
43
|
*/
|
|
44
44
|
export function settlementsGetNext(
|
|
45
45
|
client: ClientCore,
|
|
@@ -40,7 +40,7 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
* For more accurate bookkeeping, refer to the [balance report](get-balance-report) endpoint or the
|
|
41
41
|
* [balance transactions](list-balance-transactions) endpoint.
|
|
42
42
|
*
|
|
43
|
-
* If set, this operation will use either {@link Security.
|
|
43
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
44
44
|
*/
|
|
45
45
|
export function settlementsGetOpen(
|
|
46
46
|
client: ClientCore,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
45
|
*
|
|
46
|
-
* If set, this operation will use either {@link Security.
|
|
46
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
47
47
|
*/
|
|
48
48
|
export function settlementsList(
|
|
49
49
|
client: ClientCore,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
*
|
|
44
44
|
* The response is in the same format as the response of the [List captures endpoint](list-captures).
|
|
45
45
|
*
|
|
46
|
-
* If set, this operation will use either {@link Security.
|
|
46
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
47
47
|
*/
|
|
48
48
|
export function settlementsListCaptures(
|
|
49
49
|
client: ClientCore,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
*
|
|
44
44
|
* The response is in the same format as the response of the [List chargebacks endpoint](list-chargebacks).
|
|
45
45
|
*
|
|
46
|
-
* If set, this operation will use either {@link Security.
|
|
46
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
47
47
|
*/
|
|
48
48
|
export function settlementsListChargebacks(
|
|
49
49
|
client: ClientCore,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
* For capture-based payment methods such as Klarna, the payments are not listed here. Refer to the
|
|
47
47
|
* [List captures endpoint](list-captures) endpoint instead.
|
|
48
48
|
*
|
|
49
|
-
* If set, this operation will use either {@link Security.
|
|
49
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
50
50
|
*/
|
|
51
51
|
export function settlementsListPayments(
|
|
52
52
|
client: ClientCore,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
*
|
|
44
44
|
* The response is in the same format as the response of the [List refunds endpoint](list-refunds).
|
|
45
45
|
*
|
|
46
|
-
* If set, this operation will use either {@link Security.
|
|
46
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
47
47
|
*/
|
|
48
48
|
export function settlementsListRefunds(
|
|
49
49
|
client: ClientCore,
|
|
@@ -58,7 +58,7 @@ import { Result } from "../types/fp.js";
|
|
|
58
58
|
* | `14.00` | Transfer processed, then returned by receiving bank | `business-account-transfer.requested` → `business-account-transfer.initiated` → `business-account-transfer.processed` → `business-account-transfer.returned` |
|
|
59
59
|
* | Other | Default: transfer is processed | `business-account-transfer.requested` → `business-account-transfer.initiated` → `business-account-transfer.processed` |
|
|
60
60
|
*
|
|
61
|
-
* If set, this operation will use {@link Security.
|
|
61
|
+
* If set, this operation will use {@link Security.advancedAccessToken} from the global security.
|
|
62
62
|
*/
|
|
63
63
|
export function transfersCreate(
|
|
64
64
|
client: ClientCore,
|
|
@@ -39,7 +39,7 @@ import { Result } from "../types/fp.js";
|
|
|
39
39
|
* Retrieve a single transfer object by its transfer ID. This allows you to check the current status
|
|
40
40
|
* and details of a previously created transfer.
|
|
41
41
|
*
|
|
42
|
-
* If set, this operation will use {@link Security.
|
|
42
|
+
* If set, this operation will use {@link Security.advancedAccessToken} from the global security.
|
|
43
43
|
*/
|
|
44
44
|
export function transfersGet(
|
|
45
45
|
client: ClientCore,
|
|
@@ -55,7 +55,7 @@ import { Result } from "../types/fp.js";
|
|
|
55
55
|
* | `John Unavailable` | Verification is not available | `not-available` | — |
|
|
56
56
|
* | Any other name | Default: name matches the bank records | `match` | — |
|
|
57
57
|
*
|
|
58
|
-
* If set, this operation will use {@link Security.
|
|
58
|
+
* If set, this operation will use {@link Security.advancedAccessToken} from the global security.
|
|
59
59
|
*/
|
|
60
60
|
export function verifyPayeeCreate(
|
|
61
61
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single webhook event object by its event ID.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhookEventsGet(
|
|
40
40
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* A webhook must have a name, an url and a list of event types. You can also create webhooks in the webhooks settings section of the Dashboard.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhooksCreate(
|
|
40
40
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Delete a single webhook object by its webhook ID.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhooksDelete(
|
|
40
40
|
client: ClientCore,
|
package/src/funcs/webhooksGet.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single webhook object by its ID.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhooksGet(
|
|
40
40
|
client: ClientCore,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
* @remarks
|
|
42
42
|
* Returns a paginated list of your webhooks. If no webhook endpoints are available, the resulting array will be empty. This request should never throw an error.
|
|
43
43
|
*
|
|
44
|
-
* If set, this operation will use either {@link Security.
|
|
44
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
45
45
|
*/
|
|
46
46
|
export function webhooksList(
|
|
47
47
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Sends a test event to the webhook to verify the endpoint is working as expected.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhooksTest(
|
|
40
40
|
client: ClientCore,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Updates the webhook. You may edit the name, url and the list of subscribed event types.
|
|
36
36
|
*
|
|
37
|
-
* If set, this operation will use either {@link Security.
|
|
37
|
+
* If set, this operation will use either {@link Security.advancedAccessToken} or {@link Security.oAuth} from the global security.
|
|
38
38
|
*/
|
|
39
39
|
export function webhooksUpdate(
|
|
40
40
|
client: ClientCore,
|
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.
|
|
81
|
+
sdkVersion: "1.6.9",
|
|
82
82
|
genVersion: "2.882.0",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.6.
|
|
84
|
+
"speakeasy-sdk/typescript 1.6.9 2.882.0 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
package/src/lib/env.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { dlv } from "./dlv.js";
|
|
|
9
9
|
|
|
10
10
|
export interface Env {
|
|
11
11
|
CLIENT_API_KEY?: string | undefined;
|
|
12
|
-
|
|
12
|
+
CLIENT_ADVANCED_ACCESS_TOKEN?: string | undefined;
|
|
13
13
|
CLIENT_O_AUTH?: string | undefined;
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -32,7 +32,7 @@ export interface Env {
|
|
|
32
32
|
|
|
33
33
|
export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
|
|
34
34
|
CLIENT_API_KEY: z.string().optional(),
|
|
35
|
-
|
|
35
|
+
CLIENT_ADVANCED_ACCESS_TOKEN: z.string().optional(),
|
|
36
36
|
CLIENT_O_AUTH: z.string().optional(),
|
|
37
37
|
|
|
38
38
|
CLIENT_PROFILE_ID: z.string().optional(),
|
package/src/lib/security.ts
CHANGED
|
@@ -255,8 +255,8 @@ export function resolveGlobalSecurity(
|
|
|
255
255
|
{
|
|
256
256
|
fieldName: "Authorization",
|
|
257
257
|
type: "http:bearer",
|
|
258
|
-
value: security?.
|
|
259
|
-
?? env().
|
|
258
|
+
value: security?.advancedAccessToken
|
|
259
|
+
?? env().CLIENT_ADVANCED_ACCESS_TOKEN,
|
|
260
260
|
},
|
|
261
261
|
],
|
|
262
262
|
[
|
package/src/models/security.ts
CHANGED
|
@@ -7,14 +7,14 @@ import * as z from "zod/v3";
|
|
|
7
7
|
|
|
8
8
|
export type Security = {
|
|
9
9
|
apiKey?: string | undefined;
|
|
10
|
-
|
|
10
|
+
advancedAccessToken?: string | undefined;
|
|
11
11
|
oAuth?: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/** @internal */
|
|
15
15
|
export type Security$Outbound = {
|
|
16
16
|
apiKey?: string | undefined;
|
|
17
|
-
|
|
17
|
+
advancedAccessToken?: string | undefined;
|
|
18
18
|
oAuth?: string | undefined;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
25
25
|
Security
|
|
26
26
|
> = z.object({
|
|
27
27
|
apiKey: z.string().optional(),
|
|
28
|
-
|
|
28
|
+
advancedAccessToken: z.string().optional(),
|
|
29
29
|
oAuth: z.string().optional(),
|
|
30
30
|
});
|
|
31
31
|
|