@naturalpay/sdk 1.6.48 → 1.6.50
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/cardSessions/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/cardSessions/client/Client.js +2 -0
- package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +7 -1
- package/dist/cjs/api/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/cardSessions/types/GetCardSessionsResponse.d.ts +3 -1
- package/dist/cjs/api/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.ts +3 -1
- package/dist/cjs/api/resources/externalAccounts/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/externalAccounts/client/Client.js +102 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.ts +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +13 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.ts +9 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.ts +10 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.js +13 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.ts +11 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.js +14 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.ts +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.ts +9 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.ts +5 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js +8 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.js +7 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.ts +4 -0
- package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.js +3 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/externalAccounts/types/index.js +12 -0
- package/dist/cjs/api/types/CardPaymentRelationships.d.ts +2 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransaction.d.ts +8 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransaction.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransactionData.d.ts +10 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransactionData.js +3 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransactionDataType.d.ts +5 -0
- package/dist/cjs/api/types/CardPaymentRelationshipsTransactionDataType.js +8 -0
- package/dist/cjs/api/types/index.d.ts +3 -0
- package/dist/cjs/api/types/index.js +3 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.js +2 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardSessions/types/CreateCardSessionsResponse.js +1 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardSessions/types/GetCardSessionsResponse.js +1 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.ts +1 -0
- package/dist/cjs/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.js +1 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.js +44 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.ts +15 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.js +47 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +16 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +48 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.ts +14 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.js +46 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.ts +10 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.js +42 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.ts +11 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.js +43 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.js +39 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.ts +9 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.js +41 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.d.ts +12 -0
- package/dist/cjs/serialization/resources/externalAccounts/types/index.js +12 -0
- package/dist/cjs/serialization/types/CardPaymentRelationships.d.ts +2 -0
- package/dist/cjs/serialization/types/CardPaymentRelationships.js +2 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransaction.d.ts +10 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransaction.js +42 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionData.d.ts +11 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionData.js +43 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionDataType.d.ts +7 -0
- package/dist/cjs/serialization/types/CardPaymentRelationshipsTransactionDataType.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +3 -0
- package/dist/cjs/serialization/types/index.js +3 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/cardSessions/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/cardSessions/client/Client.mjs +2 -0
- package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +7 -1
- package/dist/esm/api/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +3 -1
- package/dist/esm/api/resources/cardSessions/types/GetCardSessionsResponse.d.mts +3 -1
- package/dist/esm/api/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.mts +3 -1
- package/dist/esm/api/resources/externalAccounts/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/externalAccounts/client/Client.mjs +102 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.d.mts +12 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/RemoveCardExternalAccountsRequest.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.mts +8 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +13 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.mts +9 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.mts +10 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.mjs +10 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.mts +11 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.mjs +11 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.mts +8 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.mts +9 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.mts +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs +5 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.mjs +4 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.mts +4 -0
- package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.mjs +2 -0
- package/dist/esm/api/resources/externalAccounts/types/index.d.mts +12 -0
- package/dist/esm/api/resources/externalAccounts/types/index.mjs +12 -0
- package/dist/esm/api/types/CardPaymentRelationships.d.mts +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransaction.d.mts +8 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransaction.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransactionData.d.mts +10 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransactionData.mjs +2 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransactionDataType.d.mts +5 -0
- package/dist/esm/api/types/CardPaymentRelationshipsTransactionDataType.mjs +5 -0
- package/dist/esm/api/types/index.d.mts +3 -0
- package/dist/esm/api/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/cardSessions/client/requests/CreateCardSessionsRequest.mjs +2 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.d.mts +1 -0
- package/dist/esm/serialization/resources/cardSessions/types/CreateCardSessionsResponse.mjs +1 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.d.mts +1 -0
- package/dist/esm/serialization/resources/cardSessions/types/GetCardSessionsResponse.mjs +1 -0
- package/dist/esm/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.d.mts +1 -0
- package/dist/esm/serialization/resources/cardSessions/types/ListCardSessionsResponseDataItem.mjs +1 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.d.mts +12 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponse.mjs +8 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.d.mts +15 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseData.mjs +11 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +16 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +12 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.d.mts +14 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesBrand.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributesStatus.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationships.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.d.mts +10 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs +6 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.d.mts +11 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataType.mjs +3 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.d.mts +9 -0
- package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseMeta.mjs +5 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.d.mts +12 -0
- package/dist/esm/serialization/resources/externalAccounts/types/index.mjs +12 -0
- package/dist/esm/serialization/types/CardPaymentRelationships.d.mts +2 -0
- package/dist/esm/serialization/types/CardPaymentRelationships.mjs +2 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransaction.d.mts +10 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransaction.mjs +6 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionData.d.mts +11 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionData.mjs +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionDataType.d.mts +7 -0
- package/dist/esm/serialization/types/CardPaymentRelationshipsTransactionDataType.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +3 -0
- package/dist/esm/serialization/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +67 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const RemoveCardExternalAccountsResponseDataAttributesBillingAddress = core.serialization.object({
|
|
4
|
+
line1: core.serialization.string().nullable(),
|
|
5
|
+
line2: core.serialization.string().nullable(),
|
|
6
|
+
city: core.serialization.string().nullable(),
|
|
7
|
+
state: core.serialization.string().nullable(),
|
|
8
|
+
postalCode: core.serialization.string().nullable(),
|
|
9
|
+
country: core.serialization.string().nullable(),
|
|
10
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const RemoveCardExternalAccountsResponseDataAttributesBrand: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataAttributesBrand.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributesBrand>;
|
|
5
|
+
export declare namespace RemoveCardExternalAccountsResponseDataAttributesBrand {
|
|
6
|
+
type Raw = "visa" | "mastercard" | "amex" | "discover" | "other" | "unknown";
|
|
7
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const RemoveCardExternalAccountsResponseDataAttributesBrand = core.serialization.enum_(["visa", "mastercard", "amex", "discover", "other", "unknown"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const RemoveCardExternalAccountsResponseDataAttributesStatus: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataAttributesStatus.Raw, Natural.RemoveCardExternalAccountsResponseDataAttributesStatus>;
|
|
5
|
+
export declare namespace RemoveCardExternalAccountsResponseDataAttributesStatus {
|
|
6
|
+
type Raw = "pending" | "new" | "active" | "disabled" | "deleted" | "unknown" | "verification_failed";
|
|
7
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const RemoveCardExternalAccountsResponseDataAttributesStatus = core.serialization.enum_(["pending", "new", "active", "disabled", "deleted", "unknown", "verification_failed"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsParty } from "./RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs";
|
|
5
|
+
export declare const RemoveCardExternalAccountsResponseDataRelationships: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationships.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationships>;
|
|
6
|
+
export declare namespace RemoveCardExternalAccountsResponseDataRelationships {
|
|
7
|
+
interface Raw {
|
|
8
|
+
party: RemoveCardExternalAccountsResponseDataRelationshipsParty.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsParty } from "./RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs";
|
|
4
|
+
export const RemoveCardExternalAccountsResponseDataRelationships = core.serialization.object({
|
|
5
|
+
party: RemoveCardExternalAccountsResponseDataRelationshipsParty,
|
|
6
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsPartyData } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs";
|
|
5
|
+
export declare const RemoveCardExternalAccountsResponseDataRelationshipsParty: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsParty.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsParty>;
|
|
6
|
+
export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsParty {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: RemoveCardExternalAccountsResponseDataRelationshipsPartyData.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsPartyData } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs";
|
|
4
|
+
export const RemoveCardExternalAccountsResponseDataRelationshipsParty = core.serialization.object({
|
|
5
|
+
data: RemoveCardExternalAccountsResponseDataRelationshipsPartyData,
|
|
6
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
5
|
+
export declare const RemoveCardExternalAccountsResponseDataRelationshipsPartyData: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsPartyData.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsPartyData>;
|
|
6
|
+
export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsPartyData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.Raw;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType } from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
4
|
+
export const RemoveCardExternalAccountsResponseDataRelationshipsPartyData = core.serialization.object({
|
|
5
|
+
type: RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType,
|
|
6
|
+
id: core.serialization.string(),
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.Raw, Natural.RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType>;
|
|
5
|
+
export declare namespace RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType {
|
|
6
|
+
type Raw = "party";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const RemoveCardExternalAccountsResponseDataType: core.serialization.Schema<serializers.RemoveCardExternalAccountsResponseDataType.Raw, Natural.RemoveCardExternalAccountsResponseDataType>;
|
|
5
|
+
export declare namespace RemoveCardExternalAccountsResponseDataType {
|
|
6
|
+
type Raw = "cardExternalAccount";
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const RemoveCardExternalAccountsResponseMeta: core.serialization.ObjectSchema<serializers.RemoveCardExternalAccountsResponseMeta.Raw, Natural.RemoveCardExternalAccountsResponseMeta>;
|
|
5
|
+
export declare namespace RemoveCardExternalAccountsResponseMeta {
|
|
6
|
+
interface Raw {
|
|
7
|
+
deleted: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -63,6 +63,18 @@ export * from "./ListExternalAccountsResponseDataItem.mjs";
|
|
|
63
63
|
export * from "./ListExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
64
64
|
export * from "./ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
65
65
|
export * from "./ListExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
66
|
+
export * from "./RemoveCardExternalAccountsResponse.mjs";
|
|
67
|
+
export * from "./RemoveCardExternalAccountsResponseData.mjs";
|
|
68
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributes.mjs";
|
|
69
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs";
|
|
70
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesBrand.mjs";
|
|
71
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesStatus.mjs";
|
|
72
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationships.mjs";
|
|
73
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs";
|
|
74
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs";
|
|
75
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
76
|
+
export * from "./RemoveCardExternalAccountsResponseDataType.mjs";
|
|
77
|
+
export * from "./RemoveCardExternalAccountsResponseMeta.mjs";
|
|
66
78
|
export * from "./RemoveExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
67
79
|
export * from "./RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
68
80
|
export * from "./RemoveExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|
|
@@ -63,6 +63,18 @@ export * from "./ListExternalAccountsResponseDataItem.mjs";
|
|
|
63
63
|
export * from "./ListExternalAccountsResponseDataItemAttributesAccountType.mjs";
|
|
64
64
|
export * from "./ListExternalAccountsResponseDataItemAttributesAvailableMethodsItem.mjs";
|
|
65
65
|
export * from "./ListExternalAccountsResponseDataItemAttributesConnectionStatus.mjs";
|
|
66
|
+
export * from "./RemoveCardExternalAccountsResponse.mjs";
|
|
67
|
+
export * from "./RemoveCardExternalAccountsResponseData.mjs";
|
|
68
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributes.mjs";
|
|
69
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesBillingAddress.mjs";
|
|
70
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesBrand.mjs";
|
|
71
|
+
export * from "./RemoveCardExternalAccountsResponseDataAttributesStatus.mjs";
|
|
72
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationships.mjs";
|
|
73
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsParty.mjs";
|
|
74
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyData.mjs";
|
|
75
|
+
export * from "./RemoveCardExternalAccountsResponseDataRelationshipsPartyDataType.mjs";
|
|
76
|
+
export * from "./RemoveCardExternalAccountsResponseDataType.mjs";
|
|
77
|
+
export * from "./RemoveCardExternalAccountsResponseMeta.mjs";
|
|
66
78
|
export * from "./RemoveExternalAccountsResponseDataAttributesAccountType.mjs";
|
|
67
79
|
export * from "./RemoveExternalAccountsResponseDataAttributesAvailableMethodsItem.mjs";
|
|
68
80
|
export * from "./RemoveExternalAccountsResponseDataAttributesConnectionStatus.mjs";
|
|
@@ -3,10 +3,12 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { CardPaymentRelationshipsPaymentIntent } from "./CardPaymentRelationshipsPaymentIntent.mjs";
|
|
5
5
|
import { CardPaymentRelationshipsRefunds } from "./CardPaymentRelationshipsRefunds.mjs";
|
|
6
|
+
import { CardPaymentRelationshipsTransaction } from "./CardPaymentRelationshipsTransaction.mjs";
|
|
6
7
|
export declare const CardPaymentRelationships: core.serialization.ObjectSchema<serializers.CardPaymentRelationships.Raw, Natural.CardPaymentRelationships>;
|
|
7
8
|
export declare namespace CardPaymentRelationships {
|
|
8
9
|
interface Raw {
|
|
9
10
|
paymentIntent: CardPaymentRelationshipsPaymentIntent.Raw;
|
|
10
11
|
refunds: CardPaymentRelationshipsRefunds.Raw;
|
|
12
|
+
transaction: CardPaymentRelationshipsTransaction.Raw;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { CardPaymentRelationshipsPaymentIntent } from "./CardPaymentRelationshipsPaymentIntent.mjs";
|
|
4
4
|
import { CardPaymentRelationshipsRefunds } from "./CardPaymentRelationshipsRefunds.mjs";
|
|
5
|
+
import { CardPaymentRelationshipsTransaction } from "./CardPaymentRelationshipsTransaction.mjs";
|
|
5
6
|
export const CardPaymentRelationships = core.serialization.object({
|
|
6
7
|
paymentIntent: CardPaymentRelationshipsPaymentIntent,
|
|
7
8
|
refunds: CardPaymentRelationshipsRefunds,
|
|
9
|
+
transaction: CardPaymentRelationshipsTransaction,
|
|
8
10
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CardPaymentRelationshipsTransactionData } from "./CardPaymentRelationshipsTransactionData.mjs";
|
|
5
|
+
export declare const CardPaymentRelationshipsTransaction: core.serialization.ObjectSchema<serializers.CardPaymentRelationshipsTransaction.Raw, Natural.CardPaymentRelationshipsTransaction>;
|
|
6
|
+
export declare namespace CardPaymentRelationshipsTransaction {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data?: CardPaymentRelationshipsTransactionData.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CardPaymentRelationshipsTransactionData } from "./CardPaymentRelationshipsTransactionData.mjs";
|
|
4
|
+
export const CardPaymentRelationshipsTransaction = core.serialization.object({
|
|
5
|
+
data: CardPaymentRelationshipsTransactionData.nullable(),
|
|
6
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CardPaymentRelationshipsTransactionDataType } from "./CardPaymentRelationshipsTransactionDataType.mjs";
|
|
5
|
+
export declare const CardPaymentRelationshipsTransactionData: core.serialization.ObjectSchema<serializers.CardPaymentRelationshipsTransactionData.Raw, Natural.CardPaymentRelationshipsTransactionData>;
|
|
6
|
+
export declare namespace CardPaymentRelationshipsTransactionData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: CardPaymentRelationshipsTransactionDataType.Raw;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CardPaymentRelationshipsTransactionDataType } from "./CardPaymentRelationshipsTransactionDataType.mjs";
|
|
4
|
+
export const CardPaymentRelationshipsTransactionData = core.serialization.object({
|
|
5
|
+
type: CardPaymentRelationshipsTransactionDataType,
|
|
6
|
+
id: core.serialization.string(),
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Natural from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const CardPaymentRelationshipsTransactionDataType: core.serialization.Schema<serializers.CardPaymentRelationshipsTransactionDataType.Raw, Natural.CardPaymentRelationshipsTransactionDataType>;
|
|
5
|
+
export declare namespace CardPaymentRelationshipsTransactionDataType {
|
|
6
|
+
type Raw = "transaction";
|
|
7
|
+
}
|
|
@@ -32,6 +32,9 @@ export * from "./CardPaymentRelationshipsPaymentIntentDataType.mjs";
|
|
|
32
32
|
export * from "./CardPaymentRelationshipsRefunds.mjs";
|
|
33
33
|
export * from "./CardPaymentRelationshipsRefundsDataItem.mjs";
|
|
34
34
|
export * from "./CardPaymentRelationshipsRefundsDataItemType.mjs";
|
|
35
|
+
export * from "./CardPaymentRelationshipsTransaction.mjs";
|
|
36
|
+
export * from "./CardPaymentRelationshipsTransactionData.mjs";
|
|
37
|
+
export * from "./CardPaymentRelationshipsTransactionDataType.mjs";
|
|
35
38
|
export * from "./CardPaymentType.mjs";
|
|
36
39
|
export * from "./ComplianceSessionStatusResponse.mjs";
|
|
37
40
|
export * from "./ComplianceSessionStatusResponseData.mjs";
|
|
@@ -32,6 +32,9 @@ export * from "./CardPaymentRelationshipsPaymentIntentDataType.mjs";
|
|
|
32
32
|
export * from "./CardPaymentRelationshipsRefunds.mjs";
|
|
33
33
|
export * from "./CardPaymentRelationshipsRefundsDataItem.mjs";
|
|
34
34
|
export * from "./CardPaymentRelationshipsRefundsDataItemType.mjs";
|
|
35
|
+
export * from "./CardPaymentRelationshipsTransaction.mjs";
|
|
36
|
+
export * from "./CardPaymentRelationshipsTransactionData.mjs";
|
|
37
|
+
export * from "./CardPaymentRelationshipsTransactionDataType.mjs";
|
|
35
38
|
export * from "./CardPaymentType.mjs";
|
|
36
39
|
export * from "./ComplianceSessionStatusResponse.mjs";
|
|
37
40
|
export * from "./ComplianceSessionStatusResponseData.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.50";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.50";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -8161,6 +8161,71 @@ const response = page.response;
|
|
|
8161
8161
|
</dl>
|
|
8162
8162
|
|
|
8163
8163
|
|
|
8164
|
+
</dd>
|
|
8165
|
+
</dl>
|
|
8166
|
+
</details>
|
|
8167
|
+
|
|
8168
|
+
<details><summary><code>client.externalAccounts.<a href="/src/api/resources/externalAccounts/client/Client.ts">removeCard</a>({ ...params }) -> Natural.RemoveCardExternalAccountsResponse</code></summary>
|
|
8169
|
+
<dl>
|
|
8170
|
+
<dd>
|
|
8171
|
+
|
|
8172
|
+
#### 📝 Description
|
|
8173
|
+
|
|
8174
|
+
<dl>
|
|
8175
|
+
<dd>
|
|
8176
|
+
|
|
8177
|
+
<dl>
|
|
8178
|
+
<dd>
|
|
8179
|
+
|
|
8180
|
+
Remove a saved card
|
|
8181
|
+
</dd>
|
|
8182
|
+
</dl>
|
|
8183
|
+
</dd>
|
|
8184
|
+
</dl>
|
|
8185
|
+
|
|
8186
|
+
#### 🔌 Usage
|
|
8187
|
+
|
|
8188
|
+
<dl>
|
|
8189
|
+
<dd>
|
|
8190
|
+
|
|
8191
|
+
<dl>
|
|
8192
|
+
<dd>
|
|
8193
|
+
|
|
8194
|
+
```typescript
|
|
8195
|
+
await client.externalAccounts.removeCard({
|
|
8196
|
+
externalAccountId: "externalAccountId"
|
|
8197
|
+
});
|
|
8198
|
+
|
|
8199
|
+
```
|
|
8200
|
+
</dd>
|
|
8201
|
+
</dl>
|
|
8202
|
+
</dd>
|
|
8203
|
+
</dl>
|
|
8204
|
+
|
|
8205
|
+
#### ⚙️ Parameters
|
|
8206
|
+
|
|
8207
|
+
<dl>
|
|
8208
|
+
<dd>
|
|
8209
|
+
|
|
8210
|
+
<dl>
|
|
8211
|
+
<dd>
|
|
8212
|
+
|
|
8213
|
+
**request:** `Natural.RemoveCardExternalAccountsRequest`
|
|
8214
|
+
|
|
8215
|
+
</dd>
|
|
8216
|
+
</dl>
|
|
8217
|
+
|
|
8218
|
+
<dl>
|
|
8219
|
+
<dd>
|
|
8220
|
+
|
|
8221
|
+
**requestOptions:** `ExternalAccountsClient.RequestOptions`
|
|
8222
|
+
|
|
8223
|
+
</dd>
|
|
8224
|
+
</dl>
|
|
8225
|
+
</dd>
|
|
8226
|
+
</dl>
|
|
8227
|
+
|
|
8228
|
+
|
|
8164
8229
|
</dd>
|
|
8165
8230
|
</dl>
|
|
8166
8231
|
</details>
|
|
@@ -8815,12 +8880,14 @@ await client.cardSessions.create({
|
|
|
8815
8880
|
cardId: "eac_01a0e642ed4873d685273ce0e7d1ccab",
|
|
8816
8881
|
allowedHosts: ["api.stripe.com"],
|
|
8817
8882
|
ttlSeconds: 600,
|
|
8883
|
+
claimWindowSeconds: 3600,
|
|
8818
8884
|
purchase: {
|
|
8819
8885
|
merchantName: "Blue Bottle Coffee",
|
|
8820
8886
|
amount: 2450,
|
|
8821
8887
|
currency: "USD"
|
|
8822
8888
|
},
|
|
8823
8889
|
reference: "checkout_7f3a",
|
|
8890
|
+
returnUrl: "sms:+15551234567",
|
|
8824
8891
|
requestAgentToken: true
|
|
8825
8892
|
});
|
|
8826
8893
|
|