@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.
Files changed (147) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -0
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
  4. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -0
  5. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -0
  6. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -0
  7. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
  8. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -0
  9. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
  10. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
  11. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  12. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
  13. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  14. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
  15. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
  16. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -0
  17. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  18. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -0
  19. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
  20. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +8 -0
  21. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +3 -0
  22. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +9 -0
  23. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +3 -0
  24. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +5 -0
  25. package/dist/cjs/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +8 -0
  26. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +8 -0
  27. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +3 -0
  28. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +9 -0
  29. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +3 -0
  30. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +5 -0
  31. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +8 -0
  32. package/dist/cjs/api/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  33. package/dist/cjs/api/resources/transactions/types/TxnRels.d.ts +2 -0
  34. package/dist/cjs/api/resources/transactions/types/index.d.ts +6 -0
  35. package/dist/cjs/api/resources/transactions/types/index.js +6 -0
  36. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  37. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -0
  38. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  39. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -0
  40. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
  41. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +1 -0
  42. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  43. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -0
  44. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  45. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  46. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  47. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  48. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  49. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +1 -0
  50. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  51. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +1 -0
  52. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
  53. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +1 -0
  54. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.ts +10 -0
  55. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.js +42 -0
  56. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.ts +11 -0
  57. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.js +43 -0
  58. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.ts +7 -0
  59. package/dist/cjs/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.js +39 -0
  60. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.ts +10 -0
  61. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.js +42 -0
  62. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.ts +11 -0
  63. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.js +43 -0
  64. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.ts +7 -0
  65. package/dist/cjs/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.js +39 -0
  66. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.d.ts +2 -0
  67. package/dist/cjs/serialization/resources/transactions/types/TxnDetailRels.js +2 -0
  68. package/dist/cjs/serialization/resources/transactions/types/TxnRels.d.ts +2 -0
  69. package/dist/cjs/serialization/resources/transactions/types/TxnRels.js +2 -0
  70. package/dist/cjs/serialization/resources/transactions/types/index.d.ts +6 -0
  71. package/dist/cjs/serialization/resources/transactions/types/index.js +6 -0
  72. package/dist/cjs/version.d.ts +1 -1
  73. package/dist/cjs/version.js +1 -1
  74. package/dist/esm/BaseClient.mjs +2 -2
  75. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -0
  76. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
  77. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -0
  78. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -0
  79. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -0
  80. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
  81. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -0
  82. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
  83. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
  84. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  85. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
  86. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  87. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
  88. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  89. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -0
  90. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  91. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -0
  92. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
  93. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +8 -0
  94. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +2 -0
  95. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +9 -0
  96. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +2 -0
  97. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +5 -0
  98. package/dist/esm/api/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +5 -0
  99. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +8 -0
  100. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +2 -0
  101. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +9 -0
  102. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +2 -0
  103. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +5 -0
  104. package/dist/esm/api/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +5 -0
  105. package/dist/esm/api/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  106. package/dist/esm/api/resources/transactions/types/TxnRels.d.mts +2 -0
  107. package/dist/esm/api/resources/transactions/types/index.d.mts +6 -0
  108. package/dist/esm/api/resources/transactions/types/index.mjs +6 -0
  109. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  110. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -0
  111. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  112. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -0
  113. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
  114. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +1 -0
  115. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  116. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -0
  117. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  118. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  119. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  120. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  121. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  122. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  123. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  124. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +1 -0
  125. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
  126. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +1 -0
  127. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.d.mts +10 -0
  128. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefund.mjs +6 -0
  129. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.d.mts +11 -0
  130. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundData.mjs +7 -0
  131. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.d.mts +7 -0
  132. package/dist/esm/serialization/resources/transactions/types/GetTransactionsResponseDataRelationshipsRefundDataType.mjs +3 -0
  133. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.d.mts +10 -0
  134. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefund.mjs +6 -0
  135. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.d.mts +11 -0
  136. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundData.mjs +7 -0
  137. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.d.mts +7 -0
  138. package/dist/esm/serialization/resources/transactions/types/ListTransactionsResponseDataItemRelationshipsRefundDataType.mjs +3 -0
  139. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.d.mts +2 -0
  140. package/dist/esm/serialization/resources/transactions/types/TxnDetailRels.mjs +2 -0
  141. package/dist/esm/serialization/resources/transactions/types/TxnRels.d.mts +2 -0
  142. package/dist/esm/serialization/resources/transactions/types/TxnRels.mjs +2 -0
  143. package/dist/esm/serialization/resources/transactions/types/index.d.mts +6 -0
  144. package/dist/esm/serialization/resources/transactions/types/index.mjs +6 -0
  145. package/dist/esm/version.d.mts +1 -1
  146. package/dist/esm/version.mjs +1 -1
  147. 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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.14";
1
+ export declare const SDK_VERSION = "1.6.15";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.6.14";
4
+ exports.SDK_VERSION = "1.6.15";
@@ -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.14",
10
- "User-Agent": "@naturalpay/sdk/1.6.14",
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,
@@ -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";
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Resource type. Always `refund`. */
3
+ export const GetTransactionsResponseDataRelationshipsRefundDataType = {
4
+ Refund: "refund",
5
+ };
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};