@naturalpay/sdk 1.0.1 → 1.1.0

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 (115) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +2 -0
  3. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.d.ts +4 -0
  4. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.js +7 -0
  5. package/dist/cjs/api/resources/customers/types/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/customers/types/index.js +1 -0
  7. package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +2 -0
  8. package/dist/cjs/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +4 -0
  9. package/dist/cjs/api/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.d.ts +4 -0
  10. package/dist/cjs/api/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.js +7 -0
  11. package/dist/cjs/api/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +4 -0
  12. package/dist/cjs/api/resources/paymentRequests/types/IncomingReqAttrs.d.ts +4 -0
  13. package/dist/cjs/api/resources/paymentRequests/types/NewPayReqAttrs.d.ts +4 -0
  14. package/dist/cjs/api/resources/paymentRequests/types/PayReqAttrs.d.ts +4 -0
  15. package/dist/cjs/api/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +4 -0
  16. package/dist/cjs/api/resources/paymentRequests/types/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/paymentRequests/types/index.js +1 -0
  18. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +2 -0
  19. package/dist/cjs/api/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.d.ts +4 -0
  20. package/dist/cjs/api/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.js +7 -0
  21. package/dist/cjs/api/resources/payments/types/NewPaymentAttrs.d.ts +2 -0
  22. package/dist/cjs/api/resources/payments/types/index.d.ts +1 -0
  23. package/dist/cjs/api/resources/payments/types/index.js +1 -0
  24. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +2 -0
  25. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +2 -0
  26. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.d.ts +7 -0
  27. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.js +39 -0
  28. package/dist/cjs/serialization/resources/customers/types/index.d.ts +1 -0
  29. package/dist/cjs/serialization/resources/customers/types/index.js +1 -0
  30. package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +2 -0
  31. package/dist/cjs/serialization/resources/paymentRequests/client/requests/NewPayReqParams.js +2 -0
  32. package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.ts +2 -0
  33. package/dist/cjs/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.js +2 -0
  34. package/dist/cjs/serialization/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.d.ts +7 -0
  35. package/dist/cjs/serialization/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.js +39 -0
  36. package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.ts +2 -0
  37. package/dist/cjs/serialization/resources/paymentRequests/types/DeclinedReqAttrs.js +2 -0
  38. package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.ts +2 -0
  39. package/dist/cjs/serialization/resources/paymentRequests/types/IncomingReqAttrs.js +2 -0
  40. package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.ts +2 -0
  41. package/dist/cjs/serialization/resources/paymentRequests/types/NewPayReqAttrs.js +2 -0
  42. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.d.ts +2 -0
  43. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqAttrs.js +2 -0
  44. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.ts +2 -0
  45. package/dist/cjs/serialization/resources/paymentRequests/types/PayReqDetailAttrs.js +2 -0
  46. package/dist/cjs/serialization/resources/paymentRequests/types/index.d.ts +1 -0
  47. package/dist/cjs/serialization/resources/paymentRequests/types/index.js +1 -0
  48. package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.d.ts +2 -0
  49. package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.js +2 -0
  50. package/dist/cjs/serialization/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.d.ts +7 -0
  51. package/dist/cjs/serialization/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.js +39 -0
  52. package/dist/cjs/serialization/resources/payments/types/NewPaymentAttrs.d.ts +1 -0
  53. package/dist/cjs/serialization/resources/payments/types/NewPaymentAttrs.js +1 -0
  54. package/dist/cjs/serialization/resources/payments/types/index.d.ts +1 -0
  55. package/dist/cjs/serialization/resources/payments/types/index.js +1 -0
  56. package/dist/cjs/version.d.ts +1 -1
  57. package/dist/cjs/version.js +1 -1
  58. package/dist/esm/BaseClient.mjs +2 -2
  59. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +2 -0
  60. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.d.mts +4 -0
  61. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.mjs +4 -0
  62. package/dist/esm/api/resources/customers/types/index.d.mts +1 -0
  63. package/dist/esm/api/resources/customers/types/index.mjs +1 -0
  64. package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +2 -0
  65. package/dist/esm/api/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +4 -0
  66. package/dist/esm/api/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.d.mts +4 -0
  67. package/dist/esm/api/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.mjs +4 -0
  68. package/dist/esm/api/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +4 -0
  69. package/dist/esm/api/resources/paymentRequests/types/IncomingReqAttrs.d.mts +4 -0
  70. package/dist/esm/api/resources/paymentRequests/types/NewPayReqAttrs.d.mts +4 -0
  71. package/dist/esm/api/resources/paymentRequests/types/PayReqAttrs.d.mts +4 -0
  72. package/dist/esm/api/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +4 -0
  73. package/dist/esm/api/resources/paymentRequests/types/index.d.mts +1 -0
  74. package/dist/esm/api/resources/paymentRequests/types/index.mjs +1 -0
  75. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +2 -0
  76. package/dist/esm/api/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.d.mts +4 -0
  77. package/dist/esm/api/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.mjs +4 -0
  78. package/dist/esm/api/resources/payments/types/NewPaymentAttrs.d.mts +2 -0
  79. package/dist/esm/api/resources/payments/types/index.d.mts +1 -0
  80. package/dist/esm/api/resources/payments/types/index.mjs +1 -0
  81. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +2 -0
  82. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +2 -0
  83. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.d.mts +7 -0
  84. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestDisableNotificationsItem.mjs +3 -0
  85. package/dist/esm/serialization/resources/customers/types/index.d.mts +1 -0
  86. package/dist/esm/serialization/resources/customers/types/index.mjs +1 -0
  87. package/dist/esm/serialization/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +2 -0
  88. package/dist/esm/serialization/resources/paymentRequests/client/requests/NewPayReqParams.mjs +2 -0
  89. package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.d.mts +2 -0
  90. package/dist/esm/serialization/resources/paymentRequests/types/CancelPaymentRequestsResponseDataAttributes.mjs +2 -0
  91. package/dist/esm/serialization/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.d.mts +7 -0
  92. package/dist/esm/serialization/resources/paymentRequests/types/CreatePaymentRequestsRequestDisableNotificationsItem.mjs +3 -0
  93. package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.d.mts +2 -0
  94. package/dist/esm/serialization/resources/paymentRequests/types/DeclinedReqAttrs.mjs +2 -0
  95. package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.d.mts +2 -0
  96. package/dist/esm/serialization/resources/paymentRequests/types/IncomingReqAttrs.mjs +2 -0
  97. package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.d.mts +2 -0
  98. package/dist/esm/serialization/resources/paymentRequests/types/NewPayReqAttrs.mjs +2 -0
  99. package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.d.mts +2 -0
  100. package/dist/esm/serialization/resources/paymentRequests/types/PayReqAttrs.mjs +2 -0
  101. package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.d.mts +2 -0
  102. package/dist/esm/serialization/resources/paymentRequests/types/PayReqDetailAttrs.mjs +2 -0
  103. package/dist/esm/serialization/resources/paymentRequests/types/index.d.mts +1 -0
  104. package/dist/esm/serialization/resources/paymentRequests/types/index.mjs +1 -0
  105. package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.d.mts +2 -0
  106. package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.mjs +2 -0
  107. package/dist/esm/serialization/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.d.mts +7 -0
  108. package/dist/esm/serialization/resources/payments/types/CreatePaymentsRequestDisableNotificationsItem.mjs +3 -0
  109. package/dist/esm/serialization/resources/payments/types/NewPaymentAttrs.d.mts +1 -0
  110. package/dist/esm/serialization/resources/payments/types/NewPaymentAttrs.mjs +1 -0
  111. package/dist/esm/serialization/resources/payments/types/index.d.mts +1 -0
  112. package/dist/esm/serialization/resources/payments/types/index.mjs +1 -0
  113. package/dist/esm/version.d.mts +1 -1
  114. package/dist/esm/version.mjs +1 -1
  115. package/package.json +1 -1
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@naturalpay/sdk",
46
- "X-Fern-SDK-Version": "1.0.1",
47
- "User-Agent": "@naturalpay/sdk/1.0.1",
46
+ "X-Fern-SDK-Version": "1.1.0",
47
+ "User-Agent": "@naturalpay/sdk/1.1.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Agent-ID": options === null || options === void 0 ? void 0 : options.agentId,
@@ -28,4 +28,6 @@ export interface CreateInvitationsCustomersRequest {
28
28
  expiresAt?: Date;
29
29
  /** Tags applied to each invitation. */
30
30
  tags?: Record<string, string>;
31
+ /** Natural notifications to disable for this request. "recipient" silences our message to the counterparty so you can deliver the returned link yourself; the person who initiated the request is always notified. Requires a delegated caller on payments and payment requests, which return 403 otherwise. Omit it, or send an empty array, to have Natural notify as usual. */
32
+ disableNotifications?: Natural.CreateInvitationsCustomersRequestDisableNotificationsItem[];
31
33
  }
@@ -0,0 +1,4 @@
1
+ export declare const CreateInvitationsCustomersRequestDisableNotificationsItem: {
2
+ readonly Recipient: "recipient";
3
+ };
4
+ export type CreateInvitationsCustomersRequestDisableNotificationsItem = (typeof CreateInvitationsCustomersRequestDisableNotificationsItem)[keyof typeof CreateInvitationsCustomersRequestDisableNotificationsItem];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CreateInvitationsCustomersRequestDisableNotificationsItem = void 0;
5
+ exports.CreateInvitationsCustomersRequestDisableNotificationsItem = {
6
+ Recipient: "recipient",
7
+ };
@@ -1,6 +1,7 @@
1
1
  export * from "./CreateInvitationsCustomersRequestAgentsItem.js";
2
2
  export * from "./CreateInvitationsCustomersRequestAgentsItemLimits.js";
3
3
  export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js";
4
+ export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.js";
4
5
  export * from "./CreateInvitationsCustomersRequestRecipientsItem.js";
5
6
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.js";
6
7
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPartyId.js";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItem.js"), exports);
18
18
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItemLimits.js"), exports);
19
19
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js"), exports);
20
+ __exportStar(require("./CreateInvitationsCustomersRequestDisableNotificationsItem.js"), exports);
20
21
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItem.js"), exports);
21
22
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmail.js"), exports);
22
23
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemPartyId.js"), exports);
@@ -30,4 +30,6 @@ export interface NewPayReqParams {
30
30
  payerName?: string;
31
31
  /** Who pays: exactly one typed email, phone, party ID, agent ID, or handle value. */
32
32
  payer: Natural.CreatePaymentRequestsRequestPayer;
33
+ /** Natural notifications to disable for this request. "recipient" silences our message to the counterparty so you can deliver the returned link yourself; the person who initiated the request is always notified. Requires a delegated caller on payments and payment requests, which return 403 otherwise. Omit it, or send an empty array, to have Natural notify as usual. */
34
+ disableNotifications?: Natural.CreatePaymentRequestsRequestDisableNotificationsItem[];
33
35
  }
@@ -6,6 +6,10 @@ export interface CancelPaymentRequestsResponseDataAttributes {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.CancelPaymentRequestsResponseDataAttributesStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -0,0 +1,4 @@
1
+ export declare const CreatePaymentRequestsRequestDisableNotificationsItem: {
2
+ readonly Recipient: "recipient";
3
+ };
4
+ export type CreatePaymentRequestsRequestDisableNotificationsItem = (typeof CreatePaymentRequestsRequestDisableNotificationsItem)[keyof typeof CreatePaymentRequestsRequestDisableNotificationsItem];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CreatePaymentRequestsRequestDisableNotificationsItem = void 0;
5
+ exports.CreatePaymentRequestsRequestDisableNotificationsItem = {
6
+ Recipient: "recipient",
7
+ };
@@ -6,6 +6,10 @@ export interface DeclinedReqAttrs {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.DeclinedReqStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -6,6 +6,10 @@ export interface IncomingReqAttrs {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.IncomingReqStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -6,6 +6,10 @@ export interface NewPayReqAttrs {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.NewPayReqStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -6,6 +6,10 @@ export interface PayReqAttrs {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.PayReqStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -6,6 +6,10 @@ export interface PayReqDetailAttrs {
6
6
  currency: string;
7
7
  /** Payment request status. */
8
8
  status: Natural.PayReqDetailStatus;
9
+ /** Whether the request's stored lifecycle currently allows the addressed payer to attempt fulfillment (stored OPEN, no prior payment attempt, not expired). Server-computed eligibility only — does not guarantee caller authorization or payment-source readiness, and does not consider paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
10
+ payerCanPay: boolean;
11
+ /** Whether the request's stored lifecycle currently allows the addressed payer to decline it (stored OPEN). Server-computed eligibility only — does not guarantee caller authorization, and does not consider request expiry or paymentLinkExpiresAt (the hosted payment page enforces its own expiry). */
12
+ payerCanDecline: boolean;
9
13
  /** Free-form description provided at creation. Maximum 80 characters. */
10
14
  description: string | null;
11
15
  /** Display name of the party requesting payment. */
@@ -22,6 +22,7 @@ export * from "./CancelPaymentRequestsResponseDataRelationshipsWallet.js";
22
22
  export * from "./CancelPaymentRequestsResponseDataRelationshipsWalletData.js";
23
23
  export * from "./CancelPaymentRequestsResponseDataRelationshipsWalletDataType.js";
24
24
  export * from "./CancelPaymentRequestsResponseDataType.js";
25
+ export * from "./CreatePaymentRequestsRequestDisableNotificationsItem.js";
25
26
  export * from "./CreatePaymentRequestsRequestPayer.js";
26
27
  export * from "./CreatePaymentRequestsRequestPayerAgentId.js";
27
28
  export * from "./CreatePaymentRequestsRequestPayerEmail.js";
@@ -38,6 +38,7 @@ __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWallet.js"
38
38
  __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWalletData.js"), exports);
39
39
  __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWalletDataType.js"), exports);
40
40
  __exportStar(require("./CancelPaymentRequestsResponseDataType.js"), exports);
41
+ __exportStar(require("./CreatePaymentRequestsRequestDisableNotificationsItem.js"), exports);
41
42
  __exportStar(require("./CreatePaymentRequestsRequestPayer.js"), exports);
42
43
  __exportStar(require("./CreatePaymentRequestsRequestPayerAgentId.js"), exports);
43
44
  __exportStar(require("./CreatePaymentRequestsRequestPayerEmail.js"), exports);
@@ -28,4 +28,6 @@ export interface NewPaymentParams {
28
28
  description?: string;
29
29
  /** Source wallet ID (wal_*). Omit to pay from the sender party's default wallet. */
30
30
  walletId?: string;
31
+ /** Natural notifications to disable for this request. "recipient" silences our message to the counterparty so you can deliver the returned link yourself; the person who initiated the request is always notified. Requires a delegated caller on payments and payment requests, which return 403 otherwise. Omit it, or send an empty array, to have Natural notify as usual. */
32
+ disableNotifications?: Natural.CreatePaymentsRequestDisableNotificationsItem[];
31
33
  }
@@ -0,0 +1,4 @@
1
+ export declare const CreatePaymentsRequestDisableNotificationsItem: {
2
+ readonly Recipient: "recipient";
3
+ };
4
+ export type CreatePaymentsRequestDisableNotificationsItem = (typeof CreatePaymentsRequestDisableNotificationsItem)[keyof typeof CreatePaymentsRequestDisableNotificationsItem];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CreatePaymentsRequestDisableNotificationsItem = void 0;
5
+ exports.CreatePaymentsRequestDisableNotificationsItem = {
6
+ Recipient: "recipient",
7
+ };
@@ -12,4 +12,6 @@ export interface NewPaymentAttrs {
12
12
  createdAt: string;
13
13
  /** When this payment was last updated. */
14
14
  updatedAt: string | null;
15
+ /** Link an off-platform recipient uses to claim this payment, or null when the recipient is already on Natural. Returned only here, when the payment is created — the token behind it is never stored, so it cannot be fetched later. It stays valid even if the payment goes through approval. Treat it as a secret: anyone holding the link can claim the funds. */
16
+ claimLink?: string | null;
15
17
  }
@@ -28,6 +28,7 @@ export * from "./CreatePaymentsRequestCounterpartyEmail.js";
28
28
  export * from "./CreatePaymentsRequestCounterpartyHandle.js";
29
29
  export * from "./CreatePaymentsRequestCounterpartyPartyId.js";
30
30
  export * from "./CreatePaymentsRequestCounterpartyPhone.js";
31
+ export * from "./CreatePaymentsRequestDisableNotificationsItem.js";
31
32
  export * from "./CreatePaymentsResponseDataRelationshipsPaymentRequestData.js";
32
33
  export * from "./CreatePaymentsResponseDataRelationshipsPaymentRequestDataType.js";
33
34
  export * from "./CreatePaymentsResponseDataRelationshipsRecipientAgent.js";
@@ -44,6 +44,7 @@ __exportStar(require("./CreatePaymentsRequestCounterpartyEmail.js"), exports);
44
44
  __exportStar(require("./CreatePaymentsRequestCounterpartyHandle.js"), exports);
45
45
  __exportStar(require("./CreatePaymentsRequestCounterpartyPartyId.js"), exports);
46
46
  __exportStar(require("./CreatePaymentsRequestCounterpartyPhone.js"), exports);
47
+ __exportStar(require("./CreatePaymentsRequestDisableNotificationsItem.js"), exports);
47
48
  __exportStar(require("./CreatePaymentsResponseDataRelationshipsPaymentRequestData.js"), exports);
48
49
  __exportStar(require("./CreatePaymentsResponseDataRelationshipsPaymentRequestDataType.js"), exports);
49
50
  __exportStar(require("./CreatePaymentsResponseDataRelationshipsRecipientAgent.js"), exports);
@@ -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 { CreateInvitationsCustomersRequestAgentsItem } from "../../types/CreateInvitationsCustomersRequestAgentsItem.js";
5
+ import { CreateInvitationsCustomersRequestDisableNotificationsItem } from "../../types/CreateInvitationsCustomersRequestDisableNotificationsItem.js";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItem } from "../../types/CreateInvitationsCustomersRequestRecipientsItem.js";
6
7
  export declare const CreateInvitationsCustomersRequest: core.serialization.Schema<serializers.CreateInvitationsCustomersRequest.Raw, Natural.CreateInvitationsCustomersRequest>;
7
8
  export declare namespace CreateInvitationsCustomersRequest {
@@ -10,5 +11,6 @@ export declare namespace CreateInvitationsCustomersRequest {
10
11
  agents: CreateInvitationsCustomersRequestAgentsItem.Raw[];
11
12
  expiresAt?: string | null;
12
13
  tags?: Record<string, string> | null;
14
+ disableNotifications?: CreateInvitationsCustomersRequestDisableNotificationsItem.Raw[] | null;
13
15
  }
14
16
  }
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CreateInvitationsCustomersRequest = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
39
  const CreateInvitationsCustomersRequestAgentsItem_js_1 = require("../../types/CreateInvitationsCustomersRequestAgentsItem.js");
40
+ const CreateInvitationsCustomersRequestDisableNotificationsItem_js_1 = require("../../types/CreateInvitationsCustomersRequestDisableNotificationsItem.js");
40
41
  const CreateInvitationsCustomersRequestRecipientsItem_js_1 = require("../../types/CreateInvitationsCustomersRequestRecipientsItem.js");
41
42
  exports.CreateInvitationsCustomersRequest = core.serialization.object({
42
43
  recipients: core.serialization.list(CreateInvitationsCustomersRequestRecipientsItem_js_1.CreateInvitationsCustomersRequestRecipientsItem),
43
44
  agents: core.serialization.list(CreateInvitationsCustomersRequestAgentsItem_js_1.CreateInvitationsCustomersRequestAgentsItem),
44
45
  expiresAt: core.serialization.date().optional(),
45
46
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
47
+ disableNotifications: core.serialization.list(CreateInvitationsCustomersRequestDisableNotificationsItem_js_1.CreateInvitationsCustomersRequestDisableNotificationsItem).optional(),
46
48
  });
@@ -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 CreateInvitationsCustomersRequestDisableNotificationsItem: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestDisableNotificationsItem.Raw, Natural.CreateInvitationsCustomersRequestDisableNotificationsItem>;
5
+ export declare namespace CreateInvitationsCustomersRequestDisableNotificationsItem {
6
+ type Raw = "recipient";
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.CreateInvitationsCustomersRequestDisableNotificationsItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreateInvitationsCustomersRequestDisableNotificationsItem = core.serialization.enum_(["recipient"]);
@@ -1,6 +1,7 @@
1
1
  export * from "./CreateInvitationsCustomersRequestAgentsItem.js";
2
2
  export * from "./CreateInvitationsCustomersRequestAgentsItemLimits.js";
3
3
  export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js";
4
+ export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.js";
4
5
  export * from "./CreateInvitationsCustomersRequestRecipientsItem.js";
5
6
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.js";
6
7
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPartyId.js";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItem.js"), exports);
18
18
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItemLimits.js"), exports);
19
19
  __exportStar(require("./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js"), exports);
20
+ __exportStar(require("./CreateInvitationsCustomersRequestDisableNotificationsItem.js"), exports);
20
21
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItem.js"), exports);
21
22
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemEmail.js"), exports);
22
23
  __exportStar(require("./CreateInvitationsCustomersRequestRecipientsItemPartyId.js"), exports);
@@ -1,6 +1,7 @@
1
1
  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
+ import { CreatePaymentRequestsRequestDisableNotificationsItem } from "../../types/CreatePaymentRequestsRequestDisableNotificationsItem.js";
4
5
  import { CreatePaymentRequestsRequestPayer } from "../../types/CreatePaymentRequestsRequestPayer.js";
5
6
  import { NewPayReqCurrency } from "../../types/NewPayReqCurrency.js";
6
7
  export declare const NewPayReqParams: core.serialization.Schema<serializers.NewPayReqParams.Raw, Omit<Natural.NewPayReqParams, "idempotencyKey">>;
@@ -13,5 +14,6 @@ export declare namespace NewPayReqParams {
13
14
  description?: string | null;
14
15
  payerName?: string | null;
15
16
  payer: CreatePaymentRequestsRequestPayer.Raw;
17
+ disableNotifications?: CreatePaymentRequestsRequestDisableNotificationsItem.Raw[] | null;
16
18
  }
17
19
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NewPayReqParams = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
+ const CreatePaymentRequestsRequestDisableNotificationsItem_js_1 = require("../../types/CreatePaymentRequestsRequestDisableNotificationsItem.js");
39
40
  const CreatePaymentRequestsRequestPayer_js_1 = require("../../types/CreatePaymentRequestsRequestPayer.js");
40
41
  const NewPayReqCurrency_js_1 = require("../../types/NewPayReqCurrency.js");
41
42
  exports.NewPayReqParams = core.serialization.object({
@@ -46,4 +47,5 @@ exports.NewPayReqParams = core.serialization.object({
46
47
  description: core.serialization.string().optional(),
47
48
  payerName: core.serialization.string().optional(),
48
49
  payer: CreatePaymentRequestsRequestPayer_js_1.CreatePaymentRequestsRequestPayer,
50
+ disableNotifications: core.serialization.list(CreatePaymentRequestsRequestDisableNotificationsItem_js_1.CreatePaymentRequestsRequestDisableNotificationsItem).optional(),
49
51
  });
@@ -11,6 +11,8 @@ export declare namespace CancelPaymentRequestsResponseDataAttributes {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: CancelPaymentRequestsResponseDataAttributesStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.CancelPaymentRequestsResponseDataAttributes = core.serialization.object(
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: CancelPaymentRequestsResponseDataAttributesStatus_js_1.CancelPaymentRequestsResponseDataAttributesStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -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 CreatePaymentRequestsRequestDisableNotificationsItem: core.serialization.Schema<serializers.CreatePaymentRequestsRequestDisableNotificationsItem.Raw, Natural.CreatePaymentRequestsRequestDisableNotificationsItem>;
5
+ export declare namespace CreatePaymentRequestsRequestDisableNotificationsItem {
6
+ type Raw = "recipient";
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.CreatePaymentRequestsRequestDisableNotificationsItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreatePaymentRequestsRequestDisableNotificationsItem = core.serialization.enum_(["recipient"]);
@@ -11,6 +11,8 @@ export declare namespace DeclinedReqAttrs {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: DeclinedReqStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.DeclinedReqAttrs = core.serialization.object({
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: DeclinedReqStatus_js_1.DeclinedReqStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -11,6 +11,8 @@ export declare namespace IncomingReqAttrs {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: IncomingReqStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.IncomingReqAttrs = core.serialization.object({
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: IncomingReqStatus_js_1.IncomingReqStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -11,6 +11,8 @@ export declare namespace NewPayReqAttrs {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: NewPayReqStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.NewPayReqAttrs = core.serialization.object({
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: NewPayReqStatus_js_1.NewPayReqStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -11,6 +11,8 @@ export declare namespace PayReqAttrs {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: PayReqStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.PayReqAttrs = core.serialization.object({
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: PayReqStatus_js_1.PayReqStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -11,6 +11,8 @@ export declare namespace PayReqDetailAttrs {
11
11
  amount: number;
12
12
  currency: string;
13
13
  status: PayReqDetailStatus.Raw;
14
+ payerCanPay: boolean;
15
+ payerCanDecline: boolean;
14
16
  description?: string | null;
15
17
  requesterName?: string | null;
16
18
  requesterEmail?: string | null;
@@ -44,6 +44,8 @@ exports.PayReqDetailAttrs = core.serialization.object({
44
44
  amount: core.serialization.number(),
45
45
  currency: core.serialization.string(),
46
46
  status: PayReqDetailStatus_js_1.PayReqDetailStatus,
47
+ payerCanPay: core.serialization.boolean(),
48
+ payerCanDecline: core.serialization.boolean(),
47
49
  description: core.serialization.string().nullable(),
48
50
  requesterName: core.serialization.string().nullable(),
49
51
  requesterEmail: core.serialization.string().nullable(),
@@ -22,6 +22,7 @@ export * from "./CancelPaymentRequestsResponseDataRelationshipsWallet.js";
22
22
  export * from "./CancelPaymentRequestsResponseDataRelationshipsWalletData.js";
23
23
  export * from "./CancelPaymentRequestsResponseDataRelationshipsWalletDataType.js";
24
24
  export * from "./CancelPaymentRequestsResponseDataType.js";
25
+ export * from "./CreatePaymentRequestsRequestDisableNotificationsItem.js";
25
26
  export * from "./CreatePaymentRequestsRequestPayer.js";
26
27
  export * from "./CreatePaymentRequestsRequestPayerAgentId.js";
27
28
  export * from "./CreatePaymentRequestsRequestPayerEmail.js";
@@ -38,6 +38,7 @@ __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWallet.js"
38
38
  __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWalletData.js"), exports);
39
39
  __exportStar(require("./CancelPaymentRequestsResponseDataRelationshipsWalletDataType.js"), exports);
40
40
  __exportStar(require("./CancelPaymentRequestsResponseDataType.js"), exports);
41
+ __exportStar(require("./CreatePaymentRequestsRequestDisableNotificationsItem.js"), exports);
41
42
  __exportStar(require("./CreatePaymentRequestsRequestPayer.js"), exports);
42
43
  __exportStar(require("./CreatePaymentRequestsRequestPayerAgentId.js"), exports);
43
44
  __exportStar(require("./CreatePaymentRequestsRequestPayerEmail.js"), exports);
@@ -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 { CreatePaymentsRequestCounterparty } from "../../types/CreatePaymentsRequestCounterparty.js";
5
+ import { CreatePaymentsRequestDisableNotificationsItem } from "../../types/CreatePaymentsRequestDisableNotificationsItem.js";
5
6
  import { NewPaymentCurrency } from "../../types/NewPaymentCurrency.js";
6
7
  export declare const NewPaymentParams: core.serialization.Schema<serializers.NewPaymentParams.Raw, Omit<Natural.NewPaymentParams, "idempotencyKey">>;
7
8
  export declare namespace NewPaymentParams {
@@ -12,5 +13,6 @@ export declare namespace NewPaymentParams {
12
13
  currency?: NewPaymentCurrency.Raw | null;
13
14
  description?: string | null;
14
15
  walletId?: string | null;
16
+ disableNotifications?: CreatePaymentsRequestDisableNotificationsItem.Raw[] | null;
15
17
  }
16
18
  }
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NewPaymentParams = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
39
  const CreatePaymentsRequestCounterparty_js_1 = require("../../types/CreatePaymentsRequestCounterparty.js");
40
+ const CreatePaymentsRequestDisableNotificationsItem_js_1 = require("../../types/CreatePaymentsRequestDisableNotificationsItem.js");
40
41
  const NewPaymentCurrency_js_1 = require("../../types/NewPaymentCurrency.js");
41
42
  exports.NewPaymentParams = core.serialization.object({
42
43
  amount: core.serialization.number(),
@@ -45,4 +46,5 @@ exports.NewPaymentParams = core.serialization.object({
45
46
  currency: NewPaymentCurrency_js_1.NewPaymentCurrency.optional(),
46
47
  description: core.serialization.string().optional(),
47
48
  walletId: core.serialization.string().optional(),
49
+ disableNotifications: core.serialization.list(CreatePaymentsRequestDisableNotificationsItem_js_1.CreatePaymentsRequestDisableNotificationsItem).optional(),
48
50
  });
@@ -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 CreatePaymentsRequestDisableNotificationsItem: core.serialization.Schema<serializers.CreatePaymentsRequestDisableNotificationsItem.Raw, Natural.CreatePaymentsRequestDisableNotificationsItem>;
5
+ export declare namespace CreatePaymentsRequestDisableNotificationsItem {
6
+ type Raw = "recipient";
7
+ }