@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
|
@@ -0,0 +1,43 @@
|
|
|
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.GetTransactionsResponseDataRelationshipsRefundData = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const GetTransactionsResponseDataRelationshipsRefundDataType_js_1 = require("./GetTransactionsResponseDataRelationshipsRefundDataType.js");
|
|
40
|
+
exports.GetTransactionsResponseDataRelationshipsRefundData = core.serialization.object({
|
|
41
|
+
type: GetTransactionsResponseDataRelationshipsRefundDataType_js_1.GetTransactionsResponseDataRelationshipsRefundDataType,
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export declare const GetTransactionsResponseDataRelationshipsRefundDataType: core.serialization.Schema<serializers.GetTransactionsResponseDataRelationshipsRefundDataType.Raw, Natural.GetTransactionsResponseDataRelationshipsRefundDataType>;
|
|
5
|
+
export declare namespace GetTransactionsResponseDataRelationshipsRefundDataType {
|
|
6
|
+
type Raw = "refund";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.GetTransactionsResponseDataRelationshipsRefundDataType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.GetTransactionsResponseDataRelationshipsRefundDataType = core.serialization.enum_(["refund"]);
|
|
@@ -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 { ListTransactionsResponseDataItemRelationshipsRefundData } from "./ListTransactionsResponseDataItemRelationshipsRefundData.js";
|
|
5
|
+
export declare const ListTransactionsResponseDataItemRelationshipsRefund: core.serialization.ObjectSchema<serializers.ListTransactionsResponseDataItemRelationshipsRefund.Raw, Natural.ListTransactionsResponseDataItemRelationshipsRefund>;
|
|
6
|
+
export declare namespace ListTransactionsResponseDataItemRelationshipsRefund {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: ListTransactionsResponseDataItemRelationshipsRefundData.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.ListTransactionsResponseDataItemRelationshipsRefund = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const ListTransactionsResponseDataItemRelationshipsRefundData_js_1 = require("./ListTransactionsResponseDataItemRelationshipsRefundData.js");
|
|
40
|
+
exports.ListTransactionsResponseDataItemRelationshipsRefund = core.serialization.object({
|
|
41
|
+
data: ListTransactionsResponseDataItemRelationshipsRefundData_js_1.ListTransactionsResponseDataItemRelationshipsRefundData,
|
|
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 { ListTransactionsResponseDataItemRelationshipsRefundDataType } from "./ListTransactionsResponseDataItemRelationshipsRefundDataType.js";
|
|
5
|
+
export declare const ListTransactionsResponseDataItemRelationshipsRefundData: core.serialization.ObjectSchema<serializers.ListTransactionsResponseDataItemRelationshipsRefundData.Raw, Natural.ListTransactionsResponseDataItemRelationshipsRefundData>;
|
|
6
|
+
export declare namespace ListTransactionsResponseDataItemRelationshipsRefundData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: ListTransactionsResponseDataItemRelationshipsRefundDataType.Raw;
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.ListTransactionsResponseDataItemRelationshipsRefundData = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const ListTransactionsResponseDataItemRelationshipsRefundDataType_js_1 = require("./ListTransactionsResponseDataItemRelationshipsRefundDataType.js");
|
|
40
|
+
exports.ListTransactionsResponseDataItemRelationshipsRefundData = core.serialization.object({
|
|
41
|
+
type: ListTransactionsResponseDataItemRelationshipsRefundDataType_js_1.ListTransactionsResponseDataItemRelationshipsRefundDataType,
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export declare const ListTransactionsResponseDataItemRelationshipsRefundDataType: core.serialization.Schema<serializers.ListTransactionsResponseDataItemRelationshipsRefundDataType.Raw, Natural.ListTransactionsResponseDataItemRelationshipsRefundDataType>;
|
|
5
|
+
export declare namespace ListTransactionsResponseDataItemRelationshipsRefundDataType {
|
|
6
|
+
type Raw = "refund";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.ListTransactionsResponseDataItemRelationshipsRefundDataType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ListTransactionsResponseDataItemRelationshipsRefundDataType = core.serialization.enum_(["refund"]);
|
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { GetTransactionsResponseDataRelationshipsCardPayment } from "./GetTransactionsResponseDataRelationshipsCardPayment.js";
|
|
5
|
+
import { GetTransactionsResponseDataRelationshipsRefund } from "./GetTransactionsResponseDataRelationshipsRefund.js";
|
|
5
6
|
import { GetTransactionsResponseDataRelationshipsWallet } from "./GetTransactionsResponseDataRelationshipsWallet.js";
|
|
6
7
|
import { TxnDetailDestRel } from "./TxnDetailDestRel.js";
|
|
7
8
|
import { TxnDetailPaymentRel } from "./TxnDetailPaymentRel.js";
|
|
@@ -14,6 +15,7 @@ export declare namespace TxnDetailRels {
|
|
|
14
15
|
destinationParty: TxnDetailDestRel.Raw;
|
|
15
16
|
payment?: TxnDetailPaymentRel.Raw | null;
|
|
16
17
|
cardPayment?: GetTransactionsResponseDataRelationshipsCardPayment.Raw | null;
|
|
18
|
+
refund?: GetTransactionsResponseDataRelationshipsRefund.Raw | null;
|
|
17
19
|
transfer?: TxnDetailTransferRel.Raw | null;
|
|
18
20
|
wallet?: GetTransactionsResponseDataRelationshipsWallet.Raw | null;
|
|
19
21
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TxnDetailRels = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const GetTransactionsResponseDataRelationshipsCardPayment_js_1 = require("./GetTransactionsResponseDataRelationshipsCardPayment.js");
|
|
40
|
+
const GetTransactionsResponseDataRelationshipsRefund_js_1 = require("./GetTransactionsResponseDataRelationshipsRefund.js");
|
|
40
41
|
const GetTransactionsResponseDataRelationshipsWallet_js_1 = require("./GetTransactionsResponseDataRelationshipsWallet.js");
|
|
41
42
|
const TxnDetailDestRel_js_1 = require("./TxnDetailDestRel.js");
|
|
42
43
|
const TxnDetailPaymentRel_js_1 = require("./TxnDetailPaymentRel.js");
|
|
@@ -47,6 +48,7 @@ exports.TxnDetailRels = core.serialization.object({
|
|
|
47
48
|
destinationParty: TxnDetailDestRel_js_1.TxnDetailDestRel,
|
|
48
49
|
payment: TxnDetailPaymentRel_js_1.TxnDetailPaymentRel.optional(),
|
|
49
50
|
cardPayment: GetTransactionsResponseDataRelationshipsCardPayment_js_1.GetTransactionsResponseDataRelationshipsCardPayment.optional(),
|
|
51
|
+
refund: GetTransactionsResponseDataRelationshipsRefund_js_1.GetTransactionsResponseDataRelationshipsRefund.optional(),
|
|
50
52
|
transfer: TxnDetailTransferRel_js_1.TxnDetailTransferRel.optional(),
|
|
51
53
|
wallet: GetTransactionsResponseDataRelationshipsWallet_js_1.GetTransactionsResponseDataRelationshipsWallet.optional(),
|
|
52
54
|
});
|
|
@@ -2,6 +2,7 @@ import type * as Natural from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { ListTransactionsResponseDataItemRelationshipsCardPayment } from "./ListTransactionsResponseDataItemRelationshipsCardPayment.js";
|
|
5
|
+
import { ListTransactionsResponseDataItemRelationshipsRefund } from "./ListTransactionsResponseDataItemRelationshipsRefund.js";
|
|
5
6
|
import { ListTransactionsResponseDataItemRelationshipsWallet } from "./ListTransactionsResponseDataItemRelationshipsWallet.js";
|
|
6
7
|
import { TxnDestRel } from "./TxnDestRel.js";
|
|
7
8
|
import { TxnPaymentRel } from "./TxnPaymentRel.js";
|
|
@@ -14,6 +15,7 @@ export declare namespace TxnRels {
|
|
|
14
15
|
destinationParty: TxnDestRel.Raw;
|
|
15
16
|
payment?: TxnPaymentRel.Raw | null;
|
|
16
17
|
cardPayment?: ListTransactionsResponseDataItemRelationshipsCardPayment.Raw | null;
|
|
18
|
+
refund?: ListTransactionsResponseDataItemRelationshipsRefund.Raw | null;
|
|
17
19
|
transfer?: TxnTransferRel.Raw | null;
|
|
18
20
|
wallet?: ListTransactionsResponseDataItemRelationshipsWallet.Raw | null;
|
|
19
21
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TxnRels = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const ListTransactionsResponseDataItemRelationshipsCardPayment_js_1 = require("./ListTransactionsResponseDataItemRelationshipsCardPayment.js");
|
|
40
|
+
const ListTransactionsResponseDataItemRelationshipsRefund_js_1 = require("./ListTransactionsResponseDataItemRelationshipsRefund.js");
|
|
40
41
|
const ListTransactionsResponseDataItemRelationshipsWallet_js_1 = require("./ListTransactionsResponseDataItemRelationshipsWallet.js");
|
|
41
42
|
const TxnDestRel_js_1 = require("./TxnDestRel.js");
|
|
42
43
|
const TxnPaymentRel_js_1 = require("./TxnPaymentRel.js");
|
|
@@ -47,6 +48,7 @@ exports.TxnRels = core.serialization.object({
|
|
|
47
48
|
destinationParty: TxnDestRel_js_1.TxnDestRel,
|
|
48
49
|
payment: TxnPaymentRel_js_1.TxnPaymentRel.optional(),
|
|
49
50
|
cardPayment: ListTransactionsResponseDataItemRelationshipsCardPayment_js_1.ListTransactionsResponseDataItemRelationshipsCardPayment.optional(),
|
|
51
|
+
refund: ListTransactionsResponseDataItemRelationshipsRefund_js_1.ListTransactionsResponseDataItemRelationshipsRefund.optional(),
|
|
50
52
|
transfer: TxnTransferRel_js_1.TxnTransferRel.optional(),
|
|
51
53
|
wallet: ListTransactionsResponseDataItemRelationshipsWallet_js_1.ListTransactionsResponseDataItemRelationshipsWallet.optional(),
|
|
52
54
|
});
|
|
@@ -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);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.15";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.15",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.15",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts
CHANGED
|
@@ -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";
|
|
@@ -21,6 +21,7 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -42,6 +42,7 @@ export const CreateApiKeysRequestScopesItem = {
|
|
|
42
42
|
PaymentIntentsRead: "payment_intents.read",
|
|
43
43
|
CardPaymentsRead: "card_payments.read",
|
|
44
44
|
RefundsRead: "refunds.read",
|
|
45
|
+
RefundsCreate: "refunds.create",
|
|
45
46
|
ChargebacksRead: "chargebacks.read",
|
|
46
47
|
MandatesRead: "mandates.read",
|
|
47
48
|
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";
|
|
@@ -21,6 +21,7 @@ export const CreateInvitationsCustomersRequestAgentsItemPermissionsItem = {
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -21,6 +21,7 @@ export const CreateInvitationLinksRequestProposedAgentsItemPermissionsItem = {
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -21,6 +21,7 @@ export const CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -21,6 +21,7 @@ export const GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissio
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -21,6 +21,7 @@ export const ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPerm
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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";
|
|
@@ -21,6 +21,7 @@ export const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermis
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
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/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs
CHANGED
|
@@ -21,6 +21,7 @@ export const InviteCustomerSimulationsRequestPermissionsItem = {
|
|
|
21
21
|
PaymentIntentsRead: "payment_intents.read",
|
|
22
22
|
CardPaymentsRead: "card_payments.read",
|
|
23
23
|
RefundsRead: "refunds.read",
|
|
24
|
+
RefundsCreate: "refunds.create",
|
|
24
25
|
ChargebacksRead: "chargebacks.read",
|
|
25
26
|
MandatesRead: "mandates.read",
|
|
26
27
|
EnrollmentRead: "enrollment.read",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Natural from "../../../index.mjs";
|
|
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.mjs";
|
|
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
|
+
import type * as Natural from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Related refund, when accessible.
|
|
4
|
+
*/
|
|
5
|
+
export interface ListTransactionsResponseDataItemRelationshipsRefund {
|
|
6
|
+
/** Related resource identifier. */
|
|
7
|
+
data: Natural.ListTransactionsResponseDataItemRelationshipsRefundData;
|
|
8
|
+
}
|