@naturalpay/sdk 1.6.38 → 1.6.40

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 (70) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/externalParties/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/externalParties/client/Client.js +1 -1
  4. package/dist/cjs/api/resources/externalParties/client/requests/CorrectAddressExternalPartiesRequest.d.ts +1 -1
  5. package/dist/cjs/api/resources/parties/types/MyPartyDetailAttrs.d.ts +0 -2
  6. package/dist/cjs/api/resources/parties/types/SetHandlePartiesResponseDataAttributes.d.ts +0 -2
  7. package/dist/cjs/api/resources/parties/types/UpdMyPartyAttrs.d.ts +0 -2
  8. package/dist/cjs/api/resources/parties/types/index.d.ts +0 -3
  9. package/dist/cjs/api/resources/parties/types/index.js +0 -3
  10. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +2 -0
  11. package/dist/cjs/serialization/resources/parties/types/MyPartyDetailAttrs.d.ts +0 -2
  12. package/dist/cjs/serialization/resources/parties/types/MyPartyDetailAttrs.js +0 -2
  13. package/dist/cjs/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributes.d.ts +0 -2
  14. package/dist/cjs/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributes.js +0 -2
  15. package/dist/cjs/serialization/resources/parties/types/UpdMyPartyAttrs.d.ts +0 -2
  16. package/dist/cjs/serialization/resources/parties/types/UpdMyPartyAttrs.js +0 -2
  17. package/dist/cjs/serialization/resources/parties/types/index.d.ts +0 -3
  18. package/dist/cjs/serialization/resources/parties/types/index.js +0 -3
  19. package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.d.ts +1 -0
  20. package/dist/cjs/serialization/resources/payments/client/requests/NewPaymentParams.js +1 -0
  21. package/dist/cjs/version.d.ts +1 -1
  22. package/dist/cjs/version.js +1 -1
  23. package/dist/esm/BaseClient.mjs +2 -2
  24. package/dist/esm/api/resources/externalParties/client/Client.d.mts +1 -1
  25. package/dist/esm/api/resources/externalParties/client/Client.mjs +1 -1
  26. package/dist/esm/api/resources/externalParties/client/requests/CorrectAddressExternalPartiesRequest.d.mts +1 -1
  27. package/dist/esm/api/resources/parties/types/MyPartyDetailAttrs.d.mts +0 -2
  28. package/dist/esm/api/resources/parties/types/SetHandlePartiesResponseDataAttributes.d.mts +0 -2
  29. package/dist/esm/api/resources/parties/types/UpdMyPartyAttrs.d.mts +0 -2
  30. package/dist/esm/api/resources/parties/types/index.d.mts +0 -3
  31. package/dist/esm/api/resources/parties/types/index.mjs +0 -3
  32. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +2 -0
  33. package/dist/esm/serialization/resources/parties/types/MyPartyDetailAttrs.d.mts +0 -2
  34. package/dist/esm/serialization/resources/parties/types/MyPartyDetailAttrs.mjs +0 -2
  35. package/dist/esm/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributes.d.mts +0 -2
  36. package/dist/esm/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributes.mjs +0 -2
  37. package/dist/esm/serialization/resources/parties/types/UpdMyPartyAttrs.d.mts +0 -2
  38. package/dist/esm/serialization/resources/parties/types/UpdMyPartyAttrs.mjs +0 -2
  39. package/dist/esm/serialization/resources/parties/types/index.d.mts +0 -3
  40. package/dist/esm/serialization/resources/parties/types/index.mjs +0 -3
  41. package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.d.mts +1 -0
  42. package/dist/esm/serialization/resources/payments/client/requests/NewPaymentParams.mjs +1 -0
  43. package/dist/esm/version.d.mts +1 -1
  44. package/dist/esm/version.mjs +1 -1
  45. package/package.json +1 -1
  46. package/reference.md +1 -1
  47. package/dist/cjs/api/resources/parties/types/GetPartiesResponseDataAttributesPersona.d.ts +0 -5
  48. package/dist/cjs/api/resources/parties/types/GetPartiesResponseDataAttributesPersona.js +0 -8
  49. package/dist/cjs/api/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.d.ts +0 -5
  50. package/dist/cjs/api/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.js +0 -8
  51. package/dist/cjs/api/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.d.ts +0 -5
  52. package/dist/cjs/api/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.js +0 -8
  53. package/dist/cjs/serialization/resources/parties/types/GetPartiesResponseDataAttributesPersona.d.ts +0 -7
  54. package/dist/cjs/serialization/resources/parties/types/GetPartiesResponseDataAttributesPersona.js +0 -39
  55. package/dist/cjs/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.d.ts +0 -7
  56. package/dist/cjs/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.js +0 -39
  57. package/dist/cjs/serialization/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.d.ts +0 -7
  58. package/dist/cjs/serialization/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.js +0 -39
  59. package/dist/esm/api/resources/parties/types/GetPartiesResponseDataAttributesPersona.d.mts +0 -5
  60. package/dist/esm/api/resources/parties/types/GetPartiesResponseDataAttributesPersona.mjs +0 -5
  61. package/dist/esm/api/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.d.mts +0 -5
  62. package/dist/esm/api/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.mjs +0 -5
  63. package/dist/esm/api/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.d.mts +0 -5
  64. package/dist/esm/api/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.mjs +0 -5
  65. package/dist/esm/serialization/resources/parties/types/GetPartiesResponseDataAttributesPersona.d.mts +0 -7
  66. package/dist/esm/serialization/resources/parties/types/GetPartiesResponseDataAttributesPersona.mjs +0 -3
  67. package/dist/esm/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.d.mts +0 -7
  68. package/dist/esm/serialization/resources/parties/types/SetHandlePartiesResponseDataAttributesPersona.mjs +0 -3
  69. package/dist/esm/serialization/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.d.mts +0 -7
  70. package/dist/esm/serialization/resources/parties/types/UpdatePartiesResponseDataAttributesPersona.mjs +0 -3
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@naturalpay/sdk",
46
- "X-Fern-SDK-Version": "1.6.38",
47
- "User-Agent": "@naturalpay/sdk/1.6.38",
46
+ "X-Fern-SDK-Version": "1.6.40",
47
+ "User-Agent": "@naturalpay/sdk/1.6.40",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -129,7 +129,7 @@ export declare class ExternalPartiesClient {
129
129
  * @example
130
130
  * await client.externalParties.correctAddress({
131
131
  * externalPartyId: "externalPartyId",
132
- * expectedAddressVersion: 0,
132
+ * expectedAddressVersion: 1,
133
133
  * address: {
134
134
  * line1: "456 Market St",
135
135
  * city: "San Francisco",
@@ -427,7 +427,7 @@ class ExternalPartiesClient {
427
427
  * @example
428
428
  * await client.externalParties.correctAddress({
429
429
  * externalPartyId: "externalPartyId",
430
- * expectedAddressVersion: 0,
430
+ * expectedAddressVersion: 1,
431
431
  * address: {
432
432
  * line1: "456 Market St",
433
433
  * city: "San Francisco",
@@ -3,7 +3,7 @@ import type * as Natural from "../../../../index.js";
3
3
  * @example
4
4
  * {
5
5
  * externalPartyId: "externalPartyId",
6
- * expectedAddressVersion: 0,
6
+ * expectedAddressVersion: 1,
7
7
  * address: {
8
8
  * line1: "456 Market St",
9
9
  * city: "San Francisco",
@@ -20,8 +20,6 @@ export interface MyPartyDetailAttrs {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.GetPartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -20,8 +20,6 @@ export interface SetHandlePartiesResponseDataAttributes {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.SetHandlePartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -20,8 +20,6 @@ export interface UpdMyPartyAttrs {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.UpdatePartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.js";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.js";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.js";
24
24
  export * from "./GetLimitsPartiesResponseDataType.js";
25
- export * from "./GetPartiesResponseDataAttributesPersona.js";
26
25
  export * from "./ListMembersPartiesResponse.js";
27
26
  export * from "./ListMembersPartiesResponseDataItem.js";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.js";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.js";
45
44
  export * from "./SetHandlePartiesResponseData.js";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.js";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.js";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.js";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.js";
50
48
  export * from "./SetHandlePartiesResponseDataType.js";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.js";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.js";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.js";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.js";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.js";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.js";
62
59
  export * from "./UpdMyParty.js";
63
60
  export * from "./UpdMyPartyAttrs.js";
64
61
  export * from "./UpdMyPartyData.js";
@@ -38,7 +38,6 @@ __exportStar(require("./GetLimitsPartiesResponseData.js"), exports);
38
38
  __exportStar(require("./GetLimitsPartiesResponseDataAttributes.js"), exports);
39
39
  __exportStar(require("./GetLimitsPartiesResponseDataAttributesLimits.js"), exports);
40
40
  __exportStar(require("./GetLimitsPartiesResponseDataType.js"), exports);
41
- __exportStar(require("./GetPartiesResponseDataAttributesPersona.js"), exports);
42
41
  __exportStar(require("./ListMembersPartiesResponse.js"), exports);
43
42
  __exportStar(require("./ListMembersPartiesResponseDataItem.js"), exports);
44
43
  __exportStar(require("./ListMembersPartiesResponseDataItemAttributes.js"), exports);
@@ -61,7 +60,6 @@ __exportStar(require("./SetHandlePartiesResponse.js"), exports);
61
60
  __exportStar(require("./SetHandlePartiesResponseData.js"), exports);
62
61
  __exportStar(require("./SetHandlePartiesResponseDataAttributes.js"), exports);
63
62
  __exportStar(require("./SetHandlePartiesResponseDataAttributesPartyType.js"), exports);
64
- __exportStar(require("./SetHandlePartiesResponseDataAttributesPersona.js"), exports);
65
63
  __exportStar(require("./SetHandlePartiesResponseDataAttributesStatus.js"), exports);
66
64
  __exportStar(require("./SetHandlePartiesResponseDataType.js"), exports);
67
65
  __exportStar(require("./SetLimitsPartiesRequestCurrency.js"), exports);
@@ -74,7 +72,6 @@ __exportStar(require("./UpdateBrandingForPartyPartiesResponse.js"), exports);
74
72
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseData.js"), exports);
75
73
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseDataAttributes.js"), exports);
76
74
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseDataType.js"), exports);
77
- __exportStar(require("./UpdatePartiesResponseDataAttributesPersona.js"), exports);
78
75
  __exportStar(require("./UpdMyParty.js"), exports);
79
76
  __exportStar(require("./UpdMyPartyAttrs.js"), exports);
80
77
  __exportStar(require("./UpdMyPartyData.js"), exports);
@@ -32,6 +32,8 @@ export interface NewPaymentParams {
32
32
  tags?: Record<string, string>;
33
33
  /** Source wallet ID (wal_*). Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
34
34
  walletId?: string;
35
+ /** When true, a counterparty who signs up through this payment's claim link goes straight to their dashboard instead of the account setup guide. Defaults to false. */
36
+ skipRecipientSetup?: boolean;
35
37
  /** Deprecated. Previously skipped our notification to the counterparty; Natural now always sends its own notifications and this field is accepted but ignored. The returned link is unaffected. */
36
38
  disableNotifications?: Natural.CreatePaymentsRequestDisableNotificationsItem[];
37
39
  }
@@ -1,7 +1,6 @@
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 { GetPartiesResponseDataAttributesPersona } from "./GetPartiesResponseDataAttributesPersona.js";
5
4
  import { MyPartyDetailPartyType } from "./MyPartyDetailPartyType.js";
6
5
  import { MyPartyDetailStatus } from "./MyPartyDetailStatus.js";
7
6
  export declare const MyPartyDetailAttrs: core.serialization.ObjectSchema<serializers.MyPartyDetailAttrs.Raw, Natural.MyPartyDetailAttrs>;
@@ -17,7 +16,6 @@ export declare namespace MyPartyDetailAttrs {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: GetPartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.MyPartyDetailAttrs = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- const GetPartiesResponseDataAttributesPersona_js_1 = require("./GetPartiesResponseDataAttributesPersona.js");
40
39
  const MyPartyDetailPartyType_js_1 = require("./MyPartyDetailPartyType.js");
41
40
  const MyPartyDetailStatus_js_1 = require("./MyPartyDetailStatus.js");
42
41
  exports.MyPartyDetailAttrs = core.serialization.object({
@@ -50,7 +49,6 @@ exports.MyPartyDetailAttrs = core.serialization.object({
50
49
  displayName: core.serialization.string().nullable(),
51
50
  handle: core.serialization.string().nullable(),
52
51
  avatarUrl: core.serialization.string().nullable(),
53
- persona: GetPartiesResponseDataAttributesPersona_js_1.GetPartiesResponseDataAttributesPersona.nullable(),
54
52
  email: core.serialization.string().nullable(),
55
53
  primaryPhone: core.serialization.string().nullable(),
56
54
  addressLine1: core.serialization.string().nullable(),
@@ -2,7 +2,6 @@ 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 { SetHandlePartiesResponseDataAttributesPartyType } from "./SetHandlePartiesResponseDataAttributesPartyType.js";
5
- import { SetHandlePartiesResponseDataAttributesPersona } from "./SetHandlePartiesResponseDataAttributesPersona.js";
6
5
  import { SetHandlePartiesResponseDataAttributesStatus } from "./SetHandlePartiesResponseDataAttributesStatus.js";
7
6
  export declare const SetHandlePartiesResponseDataAttributes: core.serialization.ObjectSchema<serializers.SetHandlePartiesResponseDataAttributes.Raw, Natural.SetHandlePartiesResponseDataAttributes>;
8
7
  export declare namespace SetHandlePartiesResponseDataAttributes {
@@ -17,7 +16,6 @@ export declare namespace SetHandlePartiesResponseDataAttributes {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: SetHandlePartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.SetHandlePartiesResponseDataAttributes = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
39
  const SetHandlePartiesResponseDataAttributesPartyType_js_1 = require("./SetHandlePartiesResponseDataAttributesPartyType.js");
40
- const SetHandlePartiesResponseDataAttributesPersona_js_1 = require("./SetHandlePartiesResponseDataAttributesPersona.js");
41
40
  const SetHandlePartiesResponseDataAttributesStatus_js_1 = require("./SetHandlePartiesResponseDataAttributesStatus.js");
42
41
  exports.SetHandlePartiesResponseDataAttributes = core.serialization.object({
43
42
  partyType: SetHandlePartiesResponseDataAttributesPartyType_js_1.SetHandlePartiesResponseDataAttributesPartyType,
@@ -50,7 +49,6 @@ exports.SetHandlePartiesResponseDataAttributes = core.serialization.object({
50
49
  displayName: core.serialization.string().nullable(),
51
50
  handle: core.serialization.string().nullable(),
52
51
  avatarUrl: core.serialization.string().nullable(),
53
- persona: SetHandlePartiesResponseDataAttributesPersona_js_1.SetHandlePartiesResponseDataAttributesPersona.nullable(),
54
52
  email: core.serialization.string().nullable(),
55
53
  primaryPhone: core.serialization.string().nullable(),
56
54
  addressLine1: core.serialization.string().nullable(),
@@ -1,7 +1,6 @@
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 { UpdatePartiesResponseDataAttributesPersona } from "./UpdatePartiesResponseDataAttributesPersona.js";
5
4
  import { UpdMyPartyPartyType } from "./UpdMyPartyPartyType.js";
6
5
  import { UpdMyPartyStatus } from "./UpdMyPartyStatus.js";
7
6
  export declare const UpdMyPartyAttrs: core.serialization.ObjectSchema<serializers.UpdMyPartyAttrs.Raw, Natural.UpdMyPartyAttrs>;
@@ -17,7 +16,6 @@ export declare namespace UpdMyPartyAttrs {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: UpdatePartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -36,7 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.UpdMyPartyAttrs = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- const UpdatePartiesResponseDataAttributesPersona_js_1 = require("./UpdatePartiesResponseDataAttributesPersona.js");
40
39
  const UpdMyPartyPartyType_js_1 = require("./UpdMyPartyPartyType.js");
41
40
  const UpdMyPartyStatus_js_1 = require("./UpdMyPartyStatus.js");
42
41
  exports.UpdMyPartyAttrs = core.serialization.object({
@@ -50,7 +49,6 @@ exports.UpdMyPartyAttrs = core.serialization.object({
50
49
  displayName: core.serialization.string().nullable(),
51
50
  handle: core.serialization.string().nullable(),
52
51
  avatarUrl: core.serialization.string().nullable(),
53
- persona: UpdatePartiesResponseDataAttributesPersona_js_1.UpdatePartiesResponseDataAttributesPersona.nullable(),
54
52
  email: core.serialization.string().nullable(),
55
53
  primaryPhone: core.serialization.string().nullable(),
56
54
  addressLine1: core.serialization.string().nullable(),
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.js";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.js";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.js";
24
24
  export * from "./GetLimitsPartiesResponseDataType.js";
25
- export * from "./GetPartiesResponseDataAttributesPersona.js";
26
25
  export * from "./ListMembersPartiesResponse.js";
27
26
  export * from "./ListMembersPartiesResponseDataItem.js";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.js";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.js";
45
44
  export * from "./SetHandlePartiesResponseData.js";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.js";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.js";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.js";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.js";
50
48
  export * from "./SetHandlePartiesResponseDataType.js";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.js";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.js";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.js";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.js";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.js";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.js";
62
59
  export * from "./UpdMyParty.js";
63
60
  export * from "./UpdMyPartyAttrs.js";
64
61
  export * from "./UpdMyPartyData.js";
@@ -38,7 +38,6 @@ __exportStar(require("./GetLimitsPartiesResponseData.js"), exports);
38
38
  __exportStar(require("./GetLimitsPartiesResponseDataAttributes.js"), exports);
39
39
  __exportStar(require("./GetLimitsPartiesResponseDataAttributesLimits.js"), exports);
40
40
  __exportStar(require("./GetLimitsPartiesResponseDataType.js"), exports);
41
- __exportStar(require("./GetPartiesResponseDataAttributesPersona.js"), exports);
42
41
  __exportStar(require("./ListMembersPartiesResponse.js"), exports);
43
42
  __exportStar(require("./ListMembersPartiesResponseDataItem.js"), exports);
44
43
  __exportStar(require("./ListMembersPartiesResponseDataItemAttributes.js"), exports);
@@ -61,7 +60,6 @@ __exportStar(require("./SetHandlePartiesResponse.js"), exports);
61
60
  __exportStar(require("./SetHandlePartiesResponseData.js"), exports);
62
61
  __exportStar(require("./SetHandlePartiesResponseDataAttributes.js"), exports);
63
62
  __exportStar(require("./SetHandlePartiesResponseDataAttributesPartyType.js"), exports);
64
- __exportStar(require("./SetHandlePartiesResponseDataAttributesPersona.js"), exports);
65
63
  __exportStar(require("./SetHandlePartiesResponseDataAttributesStatus.js"), exports);
66
64
  __exportStar(require("./SetHandlePartiesResponseDataType.js"), exports);
67
65
  __exportStar(require("./SetLimitsPartiesRequestCurrency.js"), exports);
@@ -74,7 +72,6 @@ __exportStar(require("./UpdateBrandingForPartyPartiesResponse.js"), exports);
74
72
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseData.js"), exports);
75
73
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseDataAttributes.js"), exports);
76
74
  __exportStar(require("./UpdateBrandingForPartyPartiesResponseDataType.js"), exports);
77
- __exportStar(require("./UpdatePartiesResponseDataAttributesPersona.js"), exports);
78
75
  __exportStar(require("./UpdMyParty.js"), exports);
79
76
  __exportStar(require("./UpdMyPartyAttrs.js"), exports);
80
77
  __exportStar(require("./UpdMyPartyData.js"), exports);
@@ -14,6 +14,7 @@ export declare namespace NewPaymentParams {
14
14
  description?: string | null;
15
15
  tags?: Record<string, string> | null;
16
16
  walletId?: string | null;
17
+ skipRecipientSetup?: boolean | null;
17
18
  disableNotifications?: CreatePaymentsRequestDisableNotificationsItem.Raw[] | null;
18
19
  }
19
20
  }
@@ -47,5 +47,6 @@ exports.NewPaymentParams = core.serialization.object({
47
47
  description: core.serialization.string().optional(),
48
48
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
49
49
  walletId: core.serialization.string().optional(),
50
+ skipRecipientSetup: core.serialization.boolean().optional(),
50
51
  disableNotifications: core.serialization.list(CreatePaymentsRequestDisableNotificationsItem_js_1.CreatePaymentsRequestDisableNotificationsItem).optional(),
51
52
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.38";
1
+ export declare const SDK_VERSION = "1.6.40";
@@ -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.38";
4
+ exports.SDK_VERSION = "1.6.40";
@@ -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.38",
10
- "User-Agent": "@naturalpay/sdk/1.6.38",
9
+ "X-Fern-SDK-Version": "1.6.40",
10
+ "User-Agent": "@naturalpay/sdk/1.6.40",
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,
@@ -129,7 +129,7 @@ export declare class ExternalPartiesClient {
129
129
  * @example
130
130
  * await client.externalParties.correctAddress({
131
131
  * externalPartyId: "externalPartyId",
132
- * expectedAddressVersion: 0,
132
+ * expectedAddressVersion: 1,
133
133
  * address: {
134
134
  * line1: "456 Market St",
135
135
  * city: "San Francisco",
@@ -391,7 +391,7 @@ export class ExternalPartiesClient {
391
391
  * @example
392
392
  * await client.externalParties.correctAddress({
393
393
  * externalPartyId: "externalPartyId",
394
- * expectedAddressVersion: 0,
394
+ * expectedAddressVersion: 1,
395
395
  * address: {
396
396
  * line1: "456 Market St",
397
397
  * city: "San Francisco",
@@ -3,7 +3,7 @@ import type * as Natural from "../../../../index.mjs";
3
3
  * @example
4
4
  * {
5
5
  * externalPartyId: "externalPartyId",
6
- * expectedAddressVersion: 0,
6
+ * expectedAddressVersion: 1,
7
7
  * address: {
8
8
  * line1: "456 Market St",
9
9
  * city: "San Francisco",
@@ -20,8 +20,6 @@ export interface MyPartyDetailAttrs {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.GetPartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -20,8 +20,6 @@ export interface SetHandlePartiesResponseDataAttributes {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.SetHandlePartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -20,8 +20,6 @@ export interface UpdMyPartyAttrs {
20
20
  handle: string | null;
21
21
  /** Public avatar URL, or null when none is set. */
22
22
  avatarUrl: string | null;
23
- /** Party persona, when available. */
24
- persona: Natural.UpdatePartiesResponseDataAttributesPersona | null;
25
23
  /** Party's primary contact email. */
26
24
  email: string | null;
27
25
  /** Party's primary phone number. */
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.mjs";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.mjs";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.mjs";
24
24
  export * from "./GetLimitsPartiesResponseDataType.mjs";
25
- export * from "./GetPartiesResponseDataAttributesPersona.mjs";
26
25
  export * from "./ListMembersPartiesResponse.mjs";
27
26
  export * from "./ListMembersPartiesResponseDataItem.mjs";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.mjs";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.mjs";
45
44
  export * from "./SetHandlePartiesResponseData.mjs";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.mjs";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
50
48
  export * from "./SetHandlePartiesResponseDataType.mjs";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.mjs";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
62
59
  export * from "./UpdMyParty.mjs";
63
60
  export * from "./UpdMyPartyAttrs.mjs";
64
61
  export * from "./UpdMyPartyData.mjs";
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.mjs";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.mjs";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.mjs";
24
24
  export * from "./GetLimitsPartiesResponseDataType.mjs";
25
- export * from "./GetPartiesResponseDataAttributesPersona.mjs";
26
25
  export * from "./ListMembersPartiesResponse.mjs";
27
26
  export * from "./ListMembersPartiesResponseDataItem.mjs";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.mjs";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.mjs";
45
44
  export * from "./SetHandlePartiesResponseData.mjs";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.mjs";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
50
48
  export * from "./SetHandlePartiesResponseDataType.mjs";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.mjs";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
62
59
  export * from "./UpdMyParty.mjs";
63
60
  export * from "./UpdMyPartyAttrs.mjs";
64
61
  export * from "./UpdMyPartyData.mjs";
@@ -32,6 +32,8 @@ export interface NewPaymentParams {
32
32
  tags?: Record<string, string>;
33
33
  /** Source wallet ID (wal_*). Omit to use the party default for user or party API calls, or the agent default for the current customer connection when acting through a connected agent. Owned agents use their own agent default. */
34
34
  walletId?: string;
35
+ /** When true, a counterparty who signs up through this payment's claim link goes straight to their dashboard instead of the account setup guide. Defaults to false. */
36
+ skipRecipientSetup?: boolean;
35
37
  /** Deprecated. Previously skipped our notification to the counterparty; Natural now always sends its own notifications and this field is accepted but ignored. The returned link is unaffected. */
36
38
  disableNotifications?: Natural.CreatePaymentsRequestDisableNotificationsItem[];
37
39
  }
@@ -1,7 +1,6 @@
1
1
  import type * as Natural from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
- import { GetPartiesResponseDataAttributesPersona } from "./GetPartiesResponseDataAttributesPersona.mjs";
5
4
  import { MyPartyDetailPartyType } from "./MyPartyDetailPartyType.mjs";
6
5
  import { MyPartyDetailStatus } from "./MyPartyDetailStatus.mjs";
7
6
  export declare const MyPartyDetailAttrs: core.serialization.ObjectSchema<serializers.MyPartyDetailAttrs.Raw, Natural.MyPartyDetailAttrs>;
@@ -17,7 +16,6 @@ export declare namespace MyPartyDetailAttrs {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: GetPartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -1,6 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- import { GetPartiesResponseDataAttributesPersona } from "./GetPartiesResponseDataAttributesPersona.mjs";
4
3
  import { MyPartyDetailPartyType } from "./MyPartyDetailPartyType.mjs";
5
4
  import { MyPartyDetailStatus } from "./MyPartyDetailStatus.mjs";
6
5
  export const MyPartyDetailAttrs = core.serialization.object({
@@ -14,7 +13,6 @@ export const MyPartyDetailAttrs = core.serialization.object({
14
13
  displayName: core.serialization.string().nullable(),
15
14
  handle: core.serialization.string().nullable(),
16
15
  avatarUrl: core.serialization.string().nullable(),
17
- persona: GetPartiesResponseDataAttributesPersona.nullable(),
18
16
  email: core.serialization.string().nullable(),
19
17
  primaryPhone: core.serialization.string().nullable(),
20
18
  addressLine1: core.serialization.string().nullable(),
@@ -2,7 +2,6 @@ import type * as Natural from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  import { SetHandlePartiesResponseDataAttributesPartyType } from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
5
- import { SetHandlePartiesResponseDataAttributesPersona } from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
6
5
  import { SetHandlePartiesResponseDataAttributesStatus } from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
7
6
  export declare const SetHandlePartiesResponseDataAttributes: core.serialization.ObjectSchema<serializers.SetHandlePartiesResponseDataAttributes.Raw, Natural.SetHandlePartiesResponseDataAttributes>;
8
7
  export declare namespace SetHandlePartiesResponseDataAttributes {
@@ -17,7 +16,6 @@ export declare namespace SetHandlePartiesResponseDataAttributes {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: SetHandlePartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -1,7 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { SetHandlePartiesResponseDataAttributesPartyType } from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
4
- import { SetHandlePartiesResponseDataAttributesPersona } from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
5
4
  import { SetHandlePartiesResponseDataAttributesStatus } from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
6
5
  export const SetHandlePartiesResponseDataAttributes = core.serialization.object({
7
6
  partyType: SetHandlePartiesResponseDataAttributesPartyType,
@@ -14,7 +13,6 @@ export const SetHandlePartiesResponseDataAttributes = core.serialization.object(
14
13
  displayName: core.serialization.string().nullable(),
15
14
  handle: core.serialization.string().nullable(),
16
15
  avatarUrl: core.serialization.string().nullable(),
17
- persona: SetHandlePartiesResponseDataAttributesPersona.nullable(),
18
16
  email: core.serialization.string().nullable(),
19
17
  primaryPhone: core.serialization.string().nullable(),
20
18
  addressLine1: core.serialization.string().nullable(),
@@ -1,7 +1,6 @@
1
1
  import type * as Natural from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
- import { UpdatePartiesResponseDataAttributesPersona } from "./UpdatePartiesResponseDataAttributesPersona.mjs";
5
4
  import { UpdMyPartyPartyType } from "./UpdMyPartyPartyType.mjs";
6
5
  import { UpdMyPartyStatus } from "./UpdMyPartyStatus.mjs";
7
6
  export declare const UpdMyPartyAttrs: core.serialization.ObjectSchema<serializers.UpdMyPartyAttrs.Raw, Natural.UpdMyPartyAttrs>;
@@ -17,7 +16,6 @@ export declare namespace UpdMyPartyAttrs {
17
16
  displayName?: string | null;
18
17
  handle?: string | null;
19
18
  avatarUrl?: string | null;
20
- persona?: UpdatePartiesResponseDataAttributesPersona.Raw | null;
21
19
  email?: string | null;
22
20
  primaryPhone?: string | null;
23
21
  addressLine1?: string | null;
@@ -1,6 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- import { UpdatePartiesResponseDataAttributesPersona } from "./UpdatePartiesResponseDataAttributesPersona.mjs";
4
3
  import { UpdMyPartyPartyType } from "./UpdMyPartyPartyType.mjs";
5
4
  import { UpdMyPartyStatus } from "./UpdMyPartyStatus.mjs";
6
5
  export const UpdMyPartyAttrs = core.serialization.object({
@@ -14,7 +13,6 @@ export const UpdMyPartyAttrs = core.serialization.object({
14
13
  displayName: core.serialization.string().nullable(),
15
14
  handle: core.serialization.string().nullable(),
16
15
  avatarUrl: core.serialization.string().nullable(),
17
- persona: UpdatePartiesResponseDataAttributesPersona.nullable(),
18
16
  email: core.serialization.string().nullable(),
19
17
  primaryPhone: core.serialization.string().nullable(),
20
18
  addressLine1: core.serialization.string().nullable(),
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.mjs";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.mjs";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.mjs";
24
24
  export * from "./GetLimitsPartiesResponseDataType.mjs";
25
- export * from "./GetPartiesResponseDataAttributesPersona.mjs";
26
25
  export * from "./ListMembersPartiesResponse.mjs";
27
26
  export * from "./ListMembersPartiesResponseDataItem.mjs";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.mjs";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.mjs";
45
44
  export * from "./SetHandlePartiesResponseData.mjs";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.mjs";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
50
48
  export * from "./SetHandlePartiesResponseDataType.mjs";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.mjs";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
62
59
  export * from "./UpdMyParty.mjs";
63
60
  export * from "./UpdMyPartyAttrs.mjs";
64
61
  export * from "./UpdMyPartyData.mjs";
@@ -22,7 +22,6 @@ export * from "./GetLimitsPartiesResponseData.mjs";
22
22
  export * from "./GetLimitsPartiesResponseDataAttributes.mjs";
23
23
  export * from "./GetLimitsPartiesResponseDataAttributesLimits.mjs";
24
24
  export * from "./GetLimitsPartiesResponseDataType.mjs";
25
- export * from "./GetPartiesResponseDataAttributesPersona.mjs";
26
25
  export * from "./ListMembersPartiesResponse.mjs";
27
26
  export * from "./ListMembersPartiesResponseDataItem.mjs";
28
27
  export * from "./ListMembersPartiesResponseDataItemAttributes.mjs";
@@ -45,7 +44,6 @@ export * from "./SetHandlePartiesResponse.mjs";
45
44
  export * from "./SetHandlePartiesResponseData.mjs";
46
45
  export * from "./SetHandlePartiesResponseDataAttributes.mjs";
47
46
  export * from "./SetHandlePartiesResponseDataAttributesPartyType.mjs";
48
- export * from "./SetHandlePartiesResponseDataAttributesPersona.mjs";
49
47
  export * from "./SetHandlePartiesResponseDataAttributesStatus.mjs";
50
48
  export * from "./SetHandlePartiesResponseDataType.mjs";
51
49
  export * from "./SetLimitsPartiesRequestCurrency.mjs";
@@ -58,7 +56,6 @@ export * from "./UpdateBrandingForPartyPartiesResponse.mjs";
58
56
  export * from "./UpdateBrandingForPartyPartiesResponseData.mjs";
59
57
  export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.mjs";
60
58
  export * from "./UpdateBrandingForPartyPartiesResponseDataType.mjs";
61
- export * from "./UpdatePartiesResponseDataAttributesPersona.mjs";
62
59
  export * from "./UpdMyParty.mjs";
63
60
  export * from "./UpdMyPartyAttrs.mjs";
64
61
  export * from "./UpdMyPartyData.mjs";
@@ -14,6 +14,7 @@ export declare namespace NewPaymentParams {
14
14
  description?: string | null;
15
15
  tags?: Record<string, string> | null;
16
16
  walletId?: string | null;
17
+ skipRecipientSetup?: boolean | null;
17
18
  disableNotifications?: CreatePaymentsRequestDisableNotificationsItem.Raw[] | null;
18
19
  }
19
20
  }
@@ -11,5 +11,6 @@ export const NewPaymentParams = core.serialization.object({
11
11
  description: core.serialization.string().optional(),
12
12
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
13
13
  walletId: core.serialization.string().optional(),
14
+ skipRecipientSetup: core.serialization.boolean().optional(),
14
15
  disableNotifications: core.serialization.list(CreatePaymentsRequestDisableNotificationsItem).optional(),
15
16
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.38";
1
+ export declare const SDK_VERSION = "1.6.40";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.38";
1
+ export const SDK_VERSION = "1.6.40";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.38",
3
+ "version": "1.6.40",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -1963,7 +1963,7 @@ Update an external party's address and resynchronize its bank accounts
1963
1963
  ```typescript
1964
1964
  await client.externalParties.correctAddress({
1965
1965
  externalPartyId: "externalPartyId",
1966
- expectedAddressVersion: 0,
1966
+ expectedAddressVersion: 1,
1967
1967
  address: {
1968
1968
  line1: "456 Market St",
1969
1969
  city: "San Francisco",
@@ -1,5 +0,0 @@
1
- export declare const GetPartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type GetPartiesResponseDataAttributesPersona = (typeof GetPartiesResponseDataAttributesPersona)[keyof typeof GetPartiesResponseDataAttributesPersona];
@@ -1,8 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.GetPartiesResponseDataAttributesPersona = void 0;
5
- exports.GetPartiesResponseDataAttributesPersona = {
6
- Individual: "INDIVIDUAL",
7
- Developer: "DEVELOPER",
8
- };
@@ -1,5 +0,0 @@
1
- export declare const SetHandlePartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type SetHandlePartiesResponseDataAttributesPersona = (typeof SetHandlePartiesResponseDataAttributesPersona)[keyof typeof SetHandlePartiesResponseDataAttributesPersona];
@@ -1,8 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.SetHandlePartiesResponseDataAttributesPersona = void 0;
5
- exports.SetHandlePartiesResponseDataAttributesPersona = {
6
- Individual: "INDIVIDUAL",
7
- Developer: "DEVELOPER",
8
- };
@@ -1,5 +0,0 @@
1
- export declare const UpdatePartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type UpdatePartiesResponseDataAttributesPersona = (typeof UpdatePartiesResponseDataAttributesPersona)[keyof typeof UpdatePartiesResponseDataAttributesPersona];
@@ -1,8 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.UpdatePartiesResponseDataAttributesPersona = void 0;
5
- exports.UpdatePartiesResponseDataAttributesPersona = {
6
- Individual: "INDIVIDUAL",
7
- Developer: "DEVELOPER",
8
- };
@@ -1,7 +0,0 @@
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 GetPartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.GetPartiesResponseDataAttributesPersona.Raw, Natural.GetPartiesResponseDataAttributesPersona>;
5
- export declare namespace GetPartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,39 +0,0 @@
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.GetPartiesResponseDataAttributesPersona = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- exports.GetPartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);
@@ -1,7 +0,0 @@
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 SetHandlePartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.SetHandlePartiesResponseDataAttributesPersona.Raw, Natural.SetHandlePartiesResponseDataAttributesPersona>;
5
- export declare namespace SetHandlePartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,39 +0,0 @@
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.SetHandlePartiesResponseDataAttributesPersona = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- exports.SetHandlePartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);
@@ -1,7 +0,0 @@
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 UpdatePartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.UpdatePartiesResponseDataAttributesPersona.Raw, Natural.UpdatePartiesResponseDataAttributesPersona>;
5
- export declare namespace UpdatePartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,39 +0,0 @@
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.UpdatePartiesResponseDataAttributesPersona = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- exports.UpdatePartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);
@@ -1,5 +0,0 @@
1
- export declare const GetPartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type GetPartiesResponseDataAttributesPersona = (typeof GetPartiesResponseDataAttributesPersona)[keyof typeof GetPartiesResponseDataAttributesPersona];
@@ -1,5 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export const GetPartiesResponseDataAttributesPersona = {
3
- Individual: "INDIVIDUAL",
4
- Developer: "DEVELOPER",
5
- };
@@ -1,5 +0,0 @@
1
- export declare const SetHandlePartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type SetHandlePartiesResponseDataAttributesPersona = (typeof SetHandlePartiesResponseDataAttributesPersona)[keyof typeof SetHandlePartiesResponseDataAttributesPersona];
@@ -1,5 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export const SetHandlePartiesResponseDataAttributesPersona = {
3
- Individual: "INDIVIDUAL",
4
- Developer: "DEVELOPER",
5
- };
@@ -1,5 +0,0 @@
1
- export declare const UpdatePartiesResponseDataAttributesPersona: {
2
- readonly Individual: "INDIVIDUAL";
3
- readonly Developer: "DEVELOPER";
4
- };
5
- export type UpdatePartiesResponseDataAttributesPersona = (typeof UpdatePartiesResponseDataAttributesPersona)[keyof typeof UpdatePartiesResponseDataAttributesPersona];
@@ -1,5 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export const UpdatePartiesResponseDataAttributesPersona = {
3
- Individual: "INDIVIDUAL",
4
- Developer: "DEVELOPER",
5
- };
@@ -1,7 +0,0 @@
1
- import type * as Natural from "../../../../api/index.mjs";
2
- import * as core from "../../../../core/index.mjs";
3
- import type * as serializers from "../../../index.mjs";
4
- export declare const GetPartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.GetPartiesResponseDataAttributesPersona.Raw, Natural.GetPartiesResponseDataAttributesPersona>;
5
- export declare namespace GetPartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,3 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../../../core/index.mjs";
3
- export const GetPartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);
@@ -1,7 +0,0 @@
1
- import type * as Natural from "../../../../api/index.mjs";
2
- import * as core from "../../../../core/index.mjs";
3
- import type * as serializers from "../../../index.mjs";
4
- export declare const SetHandlePartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.SetHandlePartiesResponseDataAttributesPersona.Raw, Natural.SetHandlePartiesResponseDataAttributesPersona>;
5
- export declare namespace SetHandlePartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,3 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../../../core/index.mjs";
3
- export const SetHandlePartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);
@@ -1,7 +0,0 @@
1
- import type * as Natural from "../../../../api/index.mjs";
2
- import * as core from "../../../../core/index.mjs";
3
- import type * as serializers from "../../../index.mjs";
4
- export declare const UpdatePartiesResponseDataAttributesPersona: core.serialization.Schema<serializers.UpdatePartiesResponseDataAttributesPersona.Raw, Natural.UpdatePartiesResponseDataAttributesPersona>;
5
- export declare namespace UpdatePartiesResponseDataAttributesPersona {
6
- type Raw = "INDIVIDUAL" | "DEVELOPER";
7
- }
@@ -1,3 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../../../core/index.mjs";
3
- export const UpdatePartiesResponseDataAttributesPersona = core.serialization.enum_(["INDIVIDUAL", "DEVELOPER"]);