@naturalpay/sdk 1.6.14 → 1.6.15
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/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -0
- package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +5 -0
- package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +8 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +9 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +3 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +5 -0
- package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +8 -0
- package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +2 -0
- package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/transactions/types/index.js +6 -0
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -0
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
- package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +10 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +42 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +11 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +43 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +7 -0
- package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +39 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
- package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
- package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/transactions/types/index.js +6 -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/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -0
- package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +5 -0
- package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +5 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +8 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +9 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +2 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +5 -0
- package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +5 -0
- package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +2 -0
- package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +2 -0
- package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -0
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
- package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +10 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +6 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +11 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +7 -0
- package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +3 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
- package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
- package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.6.
|
|
47
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
46
|
+
"X-Fern-SDK-Version": "1.6.15",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.15",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -20,6 +20,7 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -41,6 +41,7 @@ export declare const CreateApiKeysRequestScopesItem: {
|
|
|
41
41
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
42
42
|
readonly CardPaymentsRead: "card_payments.read";
|
|
43
43
|
readonly RefundsRead: "refunds.read";
|
|
44
|
+
readonly RefundsCreate: "refunds.create";
|
|
44
45
|
readonly ChargebacksRead: "chargebacks.read";
|
|
45
46
|
readonly MandatesRead: "mandates.read";
|
|
46
47
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -45,6 +45,7 @@ exports.CreateApiKeysRequestScopesItem = {
|
|
|
45
45
|
PaymentIntentsRead: "payment_intents.read",
|
|
46
46
|
CardPaymentsRead: "card_payments.read",
|
|
47
47
|
RefundsRead: "refunds.read",
|
|
48
|
+
RefundsCreate: "refunds.create",
|
|
48
49
|
ChargebacksRead: "chargebacks.read",
|
|
49
50
|
MandatesRead: "mandates.read",
|
|
50
51
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsItem:
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.CreateInvitationsCustomersRequestAgentsItemPermissionsItem = {
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsIt
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = {
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissions
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemP
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsIte
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const ListInvitationLinksResponseDataItemAttributesProposedAgents
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissio
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsIt
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
|
@@ -24,6 +24,7 @@ exports.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissions
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -20,6 +20,7 @@ export declare const InviteCustomerSimulationsRequestPermissionsItem: {
|
|
|
20
20
|
readonly PaymentIntentsRead: "payment_intents.read";
|
|
21
21
|
readonly CardPaymentsRead: "card_payments.read";
|
|
22
22
|
readonly RefundsRead: "refunds.read";
|
|
23
|
+
readonly RefundsCreate: "refunds.create";
|
|
23
24
|
readonly ChargebacksRead: "chargebacks.read";
|
|
24
25
|
readonly MandatesRead: "mandates.read";
|
|
25
26
|
readonly EnrollmentRead: "enrollment.read";
|
package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js
CHANGED
|
@@ -24,6 +24,7 @@ exports.InviteCustomerSimulationsRequestPermissionsItem = {
|
|
|
24
24
|
PaymentIntentsRead: "payment_intents.read",
|
|
25
25
|
CardPaymentsRead: "card_payments.read",
|
|
26
26
|
RefundsRead: "refunds.read",
|
|
27
|
+
RefundsCreate: "refunds.create",
|
|
27
28
|
ChargebacksRead: "chargebacks.read",
|
|
28
29
|
MandatesRead: "mandates.read",
|
|
29
30
|
EnrollmentRead: "enrollment.read",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related refund, when accessible.
|
|
4
|
+
*/
|
|
5
|
+
export interface GetTransactionsResponseDataRelationshipsRefund {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.GetTransactionsResponseDataRelationshipsRefundData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related resource identifier.
|
|
4
|
+
*/
|
|
5
|
+
export interface GetTransactionsResponseDataRelationshipsRefundData {
|
|
6
|
+
/** Resource type. Always `refund`. */
|
|
7
|
+
type: Natural.GetTransactionsResponseDataRelationshipsRefundDataType;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Resource type. Always `refund`. */
|
|
2
|
+
export declare const GetTransactionsResponseDataRelationshipsRefundDataType: {
|
|
3
|
+
readonly Refund: "refund";
|
|
4
|
+
};
|
|
5
|
+
export type GetTransactionsResponseDataRelationshipsRefundDataType = (typeof GetTransactionsResponseDataRelationshipsRefundDataType)[keyof typeof GetTransactionsResponseDataRelationshipsRefundDataType];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.GetTransactionsResponseDataRelationshipsRefundDataType = void 0;
|
|
5
|
+
/** Resource type. Always `refund`. */
|
|
6
|
+
exports.GetTransactionsResponseDataRelationshipsRefundDataType = {
|
|
7
|
+
Refund: "refund",
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related refund, when accessible.
|
|
4
|
+
*/
|
|
5
|
+
export interface ListTransactionsResponseDataItemRelationshipsRefund {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.ListTransactionsResponseDataItemRelationshipsRefundData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Related resource identifier.
|
|
4
|
+
*/
|
|
5
|
+
export interface ListTransactionsResponseDataItemRelationshipsRefundData {
|
|
6
|
+
/** Resource type. Always `refund`. */
|
|
7
|
+
type: Natural.ListTransactionsResponseDataItemRelationshipsRefundDataType;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Resource type. Always `refund`. */
|
|
2
|
+
export declare const ListTransactionsResponseDataItemRelationshipsRefundDataType: {
|
|
3
|
+
readonly Refund: "refund";
|
|
4
|
+
};
|
|
5
|
+
export type ListTransactionsResponseDataItemRelationshipsRefundDataType = (typeof ListTransactionsResponseDataItemRelationshipsRefundDataType)[keyof typeof ListTransactionsResponseDataItemRelationshipsRefundDataType];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListTransactionsResponseDataItemRelationshipsRefundDataType = void 0;
|
|
5
|
+
/** Resource type. Always `refund`. */
|
|
6
|
+
exports.ListTransactionsResponseDataItemRelationshipsRefundDataType = {
|
|
7
|
+
Refund: "refund",
|
|
8
|
+
};
|
|
@@ -8,6 +8,8 @@ export interface TxnDetailRels {
|
|
|
8
8
|
payment?: Natural.TxnDetailPaymentRel;
|
|
9
9
|
/** Related card payment, when accessible. */
|
|
10
10
|
cardPayment?: Natural.GetTransactionsResponseDataRelationshipsCardPayment;
|
|
11
|
+
/** Related refund, when accessible. */
|
|
12
|
+
refund?: Natural.GetTransactionsResponseDataRelationshipsRefund;
|
|
11
13
|
/** Related transfer, when accessible. */
|
|
12
14
|
transfer?: Natural.TxnDetailTransferRel;
|
|
13
15
|
/** Wallet through which this transaction is visible. */
|
|
@@ -8,6 +8,8 @@ export interface TxnRels {
|
|
|
8
8
|
payment?: Natural.TxnPaymentRel;
|
|
9
9
|
/** Related card payment, when accessible. */
|
|
10
10
|
cardPayment?: Natural.ListTransactionsResponseDataItemRelationshipsCardPayment;
|
|
11
|
+
/** Related refund, when accessible. */
|
|
12
|
+
refund?: Natural.ListTransactionsResponseDataItemRelationshipsRefund;
|
|
11
13
|
/** Related transfer, when accessible. */
|
|
12
14
|
transfer?: Natural.TxnTransferRel;
|
|
13
15
|
/** Wallet through which this transaction is visible. */
|
|
@@ -3,6 +3,9 @@ export * from "./GetTransactionsResponseDataRelationshipsCardPaymentData.js";
|
|
|
3
3
|
export * from "./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js";
|
|
4
4
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyData.js";
|
|
5
5
|
export * from "./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js";
|
|
6
|
+
export * from "./GetTransactionsResponseDataRelationshipsRefund.js";
|
|
7
|
+
export * from "./GetTransactionsResponseDataRelationshipsRefundData.js";
|
|
8
|
+
export * from "./GetTransactionsResponseDataRelationshipsRefundDataType.js";
|
|
6
9
|
export * from "./GetTransactionsResponseDataRelationshipsSourcePartyData.js";
|
|
7
10
|
export * from "./GetTransactionsResponseDataRelationshipsSourcePartyDataType.js";
|
|
8
11
|
export * from "./GetTransactionsResponseDataRelationshipsWallet.js";
|
|
@@ -15,6 +18,9 @@ export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentData.js
|
|
|
15
18
|
export * from "./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js";
|
|
16
19
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js";
|
|
17
20
|
export * from "./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js";
|
|
21
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsRefund.js";
|
|
22
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsRefundData.js";
|
|
23
|
+
export * from "./ListTransactionsResponseDataItemRelationshipsRefundDataType.js";
|
|
18
24
|
export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js";
|
|
19
25
|
export * from "./ListTransactionsResponseDataItemRelationshipsSourcePartyDataType.js";
|
|
20
26
|
export * from "./ListTransactionsResponseDataItemRelationshipsWallet.js";
|
|
@@ -19,6 +19,9 @@ __exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentData.
|
|
|
19
19
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsCardPaymentDataType.js"), exports);
|
|
20
20
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyData.js"), exports);
|
|
21
21
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsDestinationPartyDataType.js"), exports);
|
|
22
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsRefund.js"), exports);
|
|
23
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsRefundData.js"), exports);
|
|
24
|
+
__exportStar(require("./GetTransactionsResponseDataRelationshipsRefundDataType.js"), exports);
|
|
22
25
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsSourcePartyData.js"), exports);
|
|
23
26
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsSourcePartyDataType.js"), exports);
|
|
24
27
|
__exportStar(require("./GetTransactionsResponseDataRelationshipsWallet.js"), exports);
|
|
@@ -31,6 +34,9 @@ __exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPayment
|
|
|
31
34
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsCardPaymentDataType.js"), exports);
|
|
32
35
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyData.js"), exports);
|
|
33
36
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsDestinationPartyDataType.js"), exports);
|
|
37
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsRefund.js"), exports);
|
|
38
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsRefundData.js"), exports);
|
|
39
|
+
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsRefundDataType.js"), exports);
|
|
34
40
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsSourcePartyData.js"), exports);
|
|
35
41
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsSourcePartyDataType.js"), exports);
|
|
36
42
|
__exportStar(require("./ListTransactionsResponseDataItemRelationshipsWallet.js"), exports);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateCustomerAgentsRequestPermissionsItem: core.serialization.Schema<serializers.CreateCustomerAgentsRequestPermissionsItem.Raw, Natural.CreateCustomerAgentsRequestPermissionsItem>;
|
|
5
5
|
export declare namespace CreateCustomerAgentsRequestPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateApiKeysRequestScopesItem: core.serialization.Schema<serializers.CreateApiKeysRequestScopesItem.Raw, Natural.CreateApiKeysRequestScopesItem>;
|
|
5
5
|
export declare namespace CreateApiKeysRequestScopesItem {
|
|
6
|
-
type Raw = "party.read" | "party.update" | "invite.read" | "invite.create" | "invite.update" | "invite.delete" | "membership.create" | "membership.read" | "membership.update" | "membership.delete" | "payments.create" | "payments.read" | "external_parties.create" | "external_parties.read" | "direct.create" | "direct.read" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.delete" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "delegations.read" | "delegations.create" | "delegations.update" | "delegations.delete" | "api_keys.read" | "api_keys.create" | "api_keys.delete" | "agents.read" | "agents.create" | "agents.update" | "agents.delete" | "disputes.read" | "disputes.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "party.read" | "party.update" | "invite.read" | "invite.create" | "invite.update" | "invite.delete" | "membership.create" | "membership.read" | "membership.update" | "membership.delete" | "payments.create" | "payments.read" | "external_parties.create" | "external_parties.read" | "direct.create" | "direct.read" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.delete" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "delegations.read" | "delegations.create" | "delegations.update" | "delegations.delete" | "api_keys.read" | "api_keys.create" | "api_keys.delete" | "agents.read" | "agents.create" | "agents.update" | "agents.delete" | "disputes.read" | "disputes.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateInvitationsCustomersRequestAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestAgentsItemPermissionsItem.Raw, Natural.CreateInvitationsCustomersRequestAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationsCustomersRequestAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateInvitationLinksRequestProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.Raw, Natural.CreateInvitationLinksRequestProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationLinksRequestProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.Raw, Natural.ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
|
|
5
5
|
export declare namespace RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
export declare const InviteCustomerSimulationsRequestPermissionsItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsItem>;
|
|
5
5
|
export declare namespace InviteCustomerSimulationsRequestPermissionsItem {
|
|
6
|
-
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
6
|
+
type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "chargebacks.read" | "mandates.read" | "enrollment.read";
|
|
7
7
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { GetTransactionsResponseDataRelationshipsRefundData } from "./GetTransactionsResponseDataRelationshipsRefundData.js";
|
|
5
|
+
export declare const GetTransactionsResponseDataRelationshipsRefund: core.serialization.ObjectSchema<serializers.GetTransactionsResponseDataRelationshipsRefund.Raw, Natural.GetTransactionsResponseDataRelationshipsRefund>;
|
|
6
|
+
export declare namespace GetTransactionsResponseDataRelationshipsRefund {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: GetTransactionsResponseDataRelationshipsRefundData.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.GetTransactionsResponseDataRelationshipsRefund = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const GetTransactionsResponseDataRelationshipsRefundData_js_1 = require("./GetTransactionsResponseDataRelationshipsRefundData.js");
|
|
40
|
+
exports.GetTransactionsResponseDataRelationshipsRefund = core.serialization.object({
|
|
41
|
+
data: GetTransactionsResponseDataRelationshipsRefundData_js_1.GetTransactionsResponseDataRelationshipsRefundData,
|
|
42
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Natural from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { GetTransactionsResponseDataRelationshipsRefundDataType } from "./GetTransactionsResponseDataRelationshipsRefundDataType.js";
|
|
5
|
+
export declare const GetTransactionsResponseDataRelationshipsRefundData: core.serialization.ObjectSchema<serializers.GetTransactionsResponseDataRelationshipsRefundData.Raw, Natural.GetTransactionsResponseDataRelationshipsRefundData>;
|
|
6
|
+
export declare namespace GetTransactionsResponseDataRelationshipsRefundData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: GetTransactionsResponseDataRelationshipsRefundDataType.Raw;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|