@naturalpay/sdk 1.6.47 → 1.6.48

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 (61) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/customers/types/CustomerAttrs.d.ts +2 -0
  3. package/dist/cjs/api/resources/customers/types/CustomerDetailAttrs.d.ts +2 -0
  4. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.d.ts +2 -0
  5. package/dist/cjs/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +2 -0
  6. package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.d.ts +2 -0
  7. package/dist/cjs/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.d.ts +2 -0
  8. package/dist/cjs/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +2 -0
  9. package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.d.ts +2 -0
  10. package/dist/cjs/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.d.ts +2 -0
  11. package/dist/cjs/serialization/resources/customers/types/CustomerAttrs.d.ts +1 -0
  12. package/dist/cjs/serialization/resources/customers/types/CustomerAttrs.js +1 -0
  13. package/dist/cjs/serialization/resources/customers/types/CustomerDetailAttrs.d.ts +1 -0
  14. package/dist/cjs/serialization/resources/customers/types/CustomerDetailAttrs.js +1 -0
  15. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.d.ts +1 -0
  16. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.js +1 -0
  17. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.ts +1 -0
  18. package/dist/cjs/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.js +1 -0
  19. package/dist/cjs/serialization/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.d.ts +1 -0
  20. package/dist/cjs/serialization/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.js +1 -0
  21. package/dist/cjs/serialization/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.d.ts +1 -0
  22. package/dist/cjs/serialization/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.js +1 -0
  23. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.ts +1 -0
  24. package/dist/cjs/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.js +1 -0
  25. package/dist/cjs/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.d.ts +1 -0
  26. package/dist/cjs/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.js +1 -0
  27. package/dist/cjs/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.d.ts +1 -0
  28. package/dist/cjs/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.js +1 -0
  29. package/dist/cjs/version.d.ts +1 -1
  30. package/dist/cjs/version.js +1 -1
  31. package/dist/esm/BaseClient.mjs +2 -2
  32. package/dist/esm/api/resources/customers/types/CustomerAttrs.d.mts +2 -0
  33. package/dist/esm/api/resources/customers/types/CustomerDetailAttrs.d.mts +2 -0
  34. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.d.mts +2 -0
  35. package/dist/esm/api/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +2 -0
  36. package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.d.mts +2 -0
  37. package/dist/esm/api/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.d.mts +2 -0
  38. package/dist/esm/api/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +2 -0
  39. package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.d.mts +2 -0
  40. package/dist/esm/api/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.d.mts +2 -0
  41. package/dist/esm/serialization/resources/customers/types/CustomerAttrs.d.mts +1 -0
  42. package/dist/esm/serialization/resources/customers/types/CustomerAttrs.mjs +1 -0
  43. package/dist/esm/serialization/resources/customers/types/CustomerDetailAttrs.d.mts +1 -0
  44. package/dist/esm/serialization/resources/customers/types/CustomerDetailAttrs.mjs +1 -0
  45. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.d.mts +1 -0
  46. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesParty.mjs +1 -0
  47. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.d.mts +1 -0
  48. package/dist/esm/serialization/resources/customers/types/RemoveCustomersResponseDataAttributes.mjs +1 -0
  49. package/dist/esm/serialization/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.d.mts +1 -0
  50. package/dist/esm/serialization/resources/customers/types/RevokeAgentCustomersResponseMetaDataAttributes.mjs +1 -0
  51. package/dist/esm/serialization/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.d.mts +1 -0
  52. package/dist/esm/serialization/resources/customers/types/RevokeAgentCustomersResponseZeroDataAttributes.mjs +1 -0
  53. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.d.mts +1 -0
  54. package/dist/esm/serialization/resources/simulations/types/DisconnectCustomerSimulationsResponseDataAttributes.mjs +1 -0
  55. package/dist/esm/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.d.mts +1 -0
  56. package/dist/esm/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseMetaDataAttributes.mjs +1 -0
  57. package/dist/esm/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.d.mts +1 -0
  58. package/dist/esm/serialization/resources/simulations/types/RevokeAgentConnectionSimulationsResponseZeroDataAttributes.mjs +1 -0
  59. package/dist/esm/version.d.mts +1 -1
  60. package/dist/esm/version.mjs +1 -1
  61. 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.6.47",
47
- "User-Agent": "@naturalpay/sdk/1.6.47",
46
+ "X-Fern-SDK-Version": "1.6.48",
47
+ "User-Agent": "@naturalpay/sdk/1.6.48",
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,
@@ -4,6 +4,8 @@ export interface CustomerAttrs {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface CustomerDetailAttrs {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -5,6 +5,8 @@ export interface ListInvitationsCustomersResponseDataItemAttributesParty {
5
5
  name: string;
6
6
  /** Email address. */
7
7
  email: string | null;
8
+ /** Primary phone number in E.164 format, or null when none is on file. */
9
+ phone: string | null;
8
10
  /** Public avatar URL, or null when none is set. */
9
11
  avatarUrl: string | null;
10
12
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RemoveCustomersResponseDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentCustomersResponseMetaDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentCustomersResponseZeroDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface DisconnectCustomerSimulationsResponseDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentConnectionSimulationsResponseMetaDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentConnectionSimulationsResponseZeroDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -8,6 +8,7 @@ export declare namespace CustomerAttrs {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: CustomerDelegation.Raw;
@@ -41,6 +41,7 @@ const CustomerDelegation_js_1 = require("./CustomerDelegation.js");
41
41
  exports.CustomerAttrs = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: CustomerDelegation_js_1.CustomerDelegation,
@@ -8,6 +8,7 @@ export declare namespace CustomerDetailAttrs {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: CustomerDetailDelegation.Raw;
@@ -41,6 +41,7 @@ const CustomerDetailDelegation_js_1 = require("./CustomerDetailDelegation.js");
41
41
  exports.CustomerDetailAttrs = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: CustomerDetailDelegation_js_1.CustomerDetailDelegation,
@@ -7,6 +7,7 @@ export declare namespace ListInvitationsCustomersResponseDataItemAttributesParty
7
7
  id: string;
8
8
  name: string;
9
9
  email?: string | null;
10
+ phone?: string | null;
10
11
  avatarUrl?: string | null;
11
12
  createdAt?: string | null;
12
13
  }
@@ -40,6 +40,7 @@ exports.ListInvitationsCustomersResponseDataItemAttributesParty = core.serializa
40
40
  id: core.serialization.string(),
41
41
  name: core.serialization.string(),
42
42
  email: core.serialization.string().nullable(),
43
+ phone: core.serialization.string().nullable(),
43
44
  avatarUrl: core.serialization.string().nullable(),
44
45
  createdAt: core.serialization.date().nullable(),
45
46
  });
@@ -8,6 +8,7 @@ export declare namespace RemoveCustomersResponseDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RemoveCustomersResponseDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const RemoveCustomersResponseDataAttributesDelegation_js_1 = require("./RemoveCu
41
41
  exports.RemoveCustomersResponseDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: RemoveCustomersResponseDataAttributesDelegation_js_1.RemoveCustomersResponseDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentCustomersResponseMetaDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentCustomersResponseMetaDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const RevokeAgentCustomersResponseMetaDataAttributesDelegation_js_1 = require(".
41
41
  exports.RevokeAgentCustomersResponseMetaDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: RevokeAgentCustomersResponseMetaDataAttributesDelegation_js_1.RevokeAgentCustomersResponseMetaDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentCustomersResponseZeroDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentCustomersResponseZeroDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const RevokeAgentCustomersResponseZeroDataAttributesDelegation_js_1 = require(".
41
41
  exports.RevokeAgentCustomersResponseZeroDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: RevokeAgentCustomersResponseZeroDataAttributesDelegation_js_1.RevokeAgentCustomersResponseZeroDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace DisconnectCustomerSimulationsResponseDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const DisconnectCustomerSimulationsResponseDataAttributesDelegation_js_1 = requi
41
41
  exports.DisconnectCustomerSimulationsResponseDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation_js_1.DisconnectCustomerSimulationsResponseDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentConnectionSimulationsResponseMetaDataAttribu
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation_js_1
41
41
  exports.RevokeAgentConnectionSimulationsResponseMetaDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation_js_1.RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentConnectionSimulationsResponseZeroDataAttribu
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation.Raw;
@@ -41,6 +41,7 @@ const RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation_js_1
41
41
  exports.RevokeAgentConnectionSimulationsResponseZeroDataAttributes = core.serialization.object({
42
42
  name: core.serialization.string(),
43
43
  email: core.serialization.string().nullable(),
44
+ phone: core.serialization.string().nullable(),
44
45
  avatarUrl: core.serialization.string().nullable(),
45
46
  createdAt: core.serialization.date().nullable(),
46
47
  delegation: RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation_js_1.RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.47";
1
+ export declare const SDK_VERSION = "1.6.48";
@@ -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.47";
4
+ exports.SDK_VERSION = "1.6.48";
@@ -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.47",
10
- "User-Agent": "@naturalpay/sdk/1.6.47",
9
+ "X-Fern-SDK-Version": "1.6.48",
10
+ "User-Agent": "@naturalpay/sdk/1.6.48",
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,
@@ -4,6 +4,8 @@ export interface CustomerAttrs {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface CustomerDetailAttrs {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -5,6 +5,8 @@ export interface ListInvitationsCustomersResponseDataItemAttributesParty {
5
5
  name: string;
6
6
  /** Email address. */
7
7
  email: string | null;
8
+ /** Primary phone number in E.164 format, or null when none is on file. */
9
+ phone: string | null;
8
10
  /** Public avatar URL, or null when none is set. */
9
11
  avatarUrl: string | null;
10
12
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RemoveCustomersResponseDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentCustomersResponseMetaDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentCustomersResponseZeroDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface DisconnectCustomerSimulationsResponseDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentConnectionSimulationsResponseMetaDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -4,6 +4,8 @@ export interface RevokeAgentConnectionSimulationsResponseZeroDataAttributes {
4
4
  name: string;
5
5
  /** Email address. */
6
6
  email: string | null;
7
+ /** Primary phone number in E.164 format, or null when none is on file. */
8
+ phone: string | null;
7
9
  /** Public avatar URL, or null when none is set. */
8
10
  avatarUrl: string | null;
9
11
  /** RFC 3339 timestamp when the customer's party was created, or null when unknown. */
@@ -8,6 +8,7 @@ export declare namespace CustomerAttrs {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: CustomerDelegation.Raw;
@@ -5,6 +5,7 @@ import { CustomerDelegation } from "./CustomerDelegation.mjs";
5
5
  export const CustomerAttrs = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: CustomerDelegation,
@@ -8,6 +8,7 @@ export declare namespace CustomerDetailAttrs {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: CustomerDetailDelegation.Raw;
@@ -5,6 +5,7 @@ import { CustomerDetailDelegation } from "./CustomerDetailDelegation.mjs";
5
5
  export const CustomerDetailAttrs = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: CustomerDetailDelegation,
@@ -7,6 +7,7 @@ export declare namespace ListInvitationsCustomersResponseDataItemAttributesParty
7
7
  id: string;
8
8
  name: string;
9
9
  email?: string | null;
10
+ phone?: string | null;
10
11
  avatarUrl?: string | null;
11
12
  createdAt?: string | null;
12
13
  }
@@ -4,6 +4,7 @@ export const ListInvitationsCustomersResponseDataItemAttributesParty = core.seri
4
4
  id: core.serialization.string(),
5
5
  name: core.serialization.string(),
6
6
  email: core.serialization.string().nullable(),
7
+ phone: core.serialization.string().nullable(),
7
8
  avatarUrl: core.serialization.string().nullable(),
8
9
  createdAt: core.serialization.date().nullable(),
9
10
  });
@@ -8,6 +8,7 @@ export declare namespace RemoveCustomersResponseDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RemoveCustomersResponseDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { RemoveCustomersResponseDataAttributesDelegation } from "./RemoveCustome
5
5
  export const RemoveCustomersResponseDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: RemoveCustomersResponseDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentCustomersResponseMetaDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentCustomersResponseMetaDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { RevokeAgentCustomersResponseMetaDataAttributesDelegation } from "./Revo
5
5
  export const RevokeAgentCustomersResponseMetaDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: RevokeAgentCustomersResponseMetaDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentCustomersResponseZeroDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentCustomersResponseZeroDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { RevokeAgentCustomersResponseZeroDataAttributesDelegation } from "./Revo
5
5
  export const RevokeAgentCustomersResponseZeroDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: RevokeAgentCustomersResponseZeroDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace DisconnectCustomerSimulationsResponseDataAttributes {
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { DisconnectCustomerSimulationsResponseDataAttributesDelegation } from ".
5
5
  export const DisconnectCustomerSimulationsResponseDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: DisconnectCustomerSimulationsResponseDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentConnectionSimulationsResponseMetaDataAttribu
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation }
5
5
  export const RevokeAgentConnectionSimulationsResponseMetaDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: RevokeAgentConnectionSimulationsResponseMetaDataAttributesDelegation,
@@ -8,6 +8,7 @@ export declare namespace RevokeAgentConnectionSimulationsResponseZeroDataAttribu
8
8
  interface Raw {
9
9
  name: string;
10
10
  email?: string | null;
11
+ phone?: string | null;
11
12
  avatarUrl?: string | null;
12
13
  createdAt?: string | null;
13
14
  delegation: RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation.Raw;
@@ -5,6 +5,7 @@ import { RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation }
5
5
  export const RevokeAgentConnectionSimulationsResponseZeroDataAttributes = core.serialization.object({
6
6
  name: core.serialization.string(),
7
7
  email: core.serialization.string().nullable(),
8
+ phone: core.serialization.string().nullable(),
8
9
  avatarUrl: core.serialization.string().nullable(),
9
10
  createdAt: core.serialization.date().nullable(),
10
11
  delegation: RevokeAgentConnectionSimulationsResponseZeroDataAttributesDelegation,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.47";
1
+ export declare const SDK_VERSION = "1.6.48";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.47";
1
+ export const SDK_VERSION = "1.6.48";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.47",
3
+ "version": "1.6.48",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",