@naturalpay/sdk 1.6.31 → 1.6.33

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 (35) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/agentCards/client/requests/CreateAgentCardsRequest.d.ts +1 -1
  4. package/dist/cjs/api/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.d.ts +0 -2
  5. package/dist/cjs/api/resources/simulations/types/FailWireSimulationsResponseDataAttributes.d.ts +0 -2
  6. package/dist/cjs/api/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.d.ts +0 -2
  7. package/dist/cjs/api/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.d.ts +0 -2
  8. package/dist/cjs/serialization/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.d.ts +0 -1
  9. package/dist/cjs/serialization/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.js +0 -1
  10. package/dist/cjs/serialization/resources/simulations/types/FailWireSimulationsResponseDataAttributes.d.ts +0 -1
  11. package/dist/cjs/serialization/resources/simulations/types/FailWireSimulationsResponseDataAttributes.js +0 -1
  12. package/dist/cjs/serialization/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.d.ts +0 -1
  13. package/dist/cjs/serialization/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.js +0 -1
  14. package/dist/cjs/serialization/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.d.ts +0 -1
  15. package/dist/cjs/serialization/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.js +0 -1
  16. package/dist/cjs/version.d.ts +1 -1
  17. package/dist/cjs/version.js +1 -1
  18. package/dist/esm/BaseClient.mjs +2 -2
  19. package/dist/esm/api/resources/agentCards/client/requests/CreateAgentCardsRequest.d.mts +1 -1
  20. package/dist/esm/api/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.d.mts +0 -2
  21. package/dist/esm/api/resources/simulations/types/FailWireSimulationsResponseDataAttributes.d.mts +0 -2
  22. package/dist/esm/api/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.d.mts +0 -2
  23. package/dist/esm/api/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.d.mts +0 -2
  24. package/dist/esm/serialization/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.d.mts +0 -1
  25. package/dist/esm/serialization/resources/simulations/types/FailRealtimeSimulationsResponseDataAttributes.mjs +0 -1
  26. package/dist/esm/serialization/resources/simulations/types/FailWireSimulationsResponseDataAttributes.d.mts +0 -1
  27. package/dist/esm/serialization/resources/simulations/types/FailWireSimulationsResponseDataAttributes.mjs +0 -1
  28. package/dist/esm/serialization/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.d.mts +0 -1
  29. package/dist/esm/serialization/resources/simulations/types/SettleRealtimeSimulationsResponseDataAttributes.mjs +0 -1
  30. package/dist/esm/serialization/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.d.mts +0 -1
  31. package/dist/esm/serialization/resources/simulations/types/SettleWireSimulationsResponseDataAttributes.mjs +0 -1
  32. package/dist/esm/version.d.mts +1 -1
  33. package/dist/esm/version.mjs +1 -1
  34. package/package.json +1 -1
  35. package/reference.md +20 -20
package/README.md CHANGED
@@ -887,7 +887,7 @@ for await (const item of pageableResponse) {
887
887
  // Or you can manually iterate page-by-page
888
888
  let page = await client.agents.list();
889
889
  while (page.hasNextPage()) {
890
- page = page.getNextPage();
890
+ page = await page.getNextPage();
891
891
  }
892
892
 
893
893
  // You can also access the underlying response
@@ -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.31",
47
- "User-Agent": "@naturalpay/sdk/1.6.31",
46
+ "X-Fern-SDK-Version": "1.6.33",
47
+ "User-Agent": "@naturalpay/sdk/1.6.33",
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,
@@ -20,7 +20,7 @@ export interface CreateAgentCardsRequest {
20
20
  /** The kind of agent card. Defaults to single_use. */
21
21
  type?: Natural.CreateAgentCardsRequestType;
22
22
  merchant: Natural.CreateAgentCardsRequestMerchant;
23
- /** The most the one purchase can be, in cents. Larger authorizations decline. */
23
+ /** The most the one purchase can be, in cents, up to 1000000 ($10000). Larger authorizations decline. */
24
24
  maximumAmount: number;
25
25
  /** Currency code. Only USD is supported. */
26
26
  currency: Natural.CreateAgentCardsRequestCurrency;
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.js";
2
2
  export interface FailRealtimeSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.FailRealtimeSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.js";
2
2
  export interface FailWireSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.FailWireSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.js";
2
2
  export interface SettleRealtimeSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.SettleRealtimeSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.js";
2
2
  export interface SettleWireSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.SettleWireSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -6,7 +6,6 @@ export declare const FailRealtimeSimulationsResponseDataAttributes: core.seriali
6
6
  export declare namespace FailRealtimeSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: FailRealtimeSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -39,7 +39,6 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const FailRealtimeSimulationsResponseDataAttributesAction_js_1 = require("./FailRealtimeSimulationsResponseDataAttributesAction.js");
40
40
  exports.FailRealtimeSimulationsResponseDataAttributes = core.serialization.object({
41
41
  action: FailRealtimeSimulationsResponseDataAttributesAction_js_1.FailRealtimeSimulationsResponseDataAttributesAction,
42
- mmRequestId: core.serialization.string(),
43
42
  scenario: core.serialization.string(),
44
43
  fixturesFired: core.serialization.number(),
45
44
  });
@@ -6,7 +6,6 @@ export declare const FailWireSimulationsResponseDataAttributes: core.serializati
6
6
  export declare namespace FailWireSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: FailWireSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -39,7 +39,6 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const FailWireSimulationsResponseDataAttributesAction_js_1 = require("./FailWireSimulationsResponseDataAttributesAction.js");
40
40
  exports.FailWireSimulationsResponseDataAttributes = core.serialization.object({
41
41
  action: FailWireSimulationsResponseDataAttributesAction_js_1.FailWireSimulationsResponseDataAttributesAction,
42
- mmRequestId: core.serialization.string(),
43
42
  scenario: core.serialization.string(),
44
43
  fixturesFired: core.serialization.number(),
45
44
  });
@@ -6,7 +6,6 @@ export declare const SettleRealtimeSimulationsResponseDataAttributes: core.seria
6
6
  export declare namespace SettleRealtimeSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: SettleRealtimeSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -39,7 +39,6 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const SettleRealtimeSimulationsResponseDataAttributesAction_js_1 = require("./SettleRealtimeSimulationsResponseDataAttributesAction.js");
40
40
  exports.SettleRealtimeSimulationsResponseDataAttributes = core.serialization.object({
41
41
  action: SettleRealtimeSimulationsResponseDataAttributesAction_js_1.SettleRealtimeSimulationsResponseDataAttributesAction,
42
- mmRequestId: core.serialization.string(),
43
42
  scenario: core.serialization.string(),
44
43
  fixturesFired: core.serialization.number(),
45
44
  });
@@ -6,7 +6,6 @@ export declare const SettleWireSimulationsResponseDataAttributes: core.serializa
6
6
  export declare namespace SettleWireSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: SettleWireSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -39,7 +39,6 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const SettleWireSimulationsResponseDataAttributesAction_js_1 = require("./SettleWireSimulationsResponseDataAttributesAction.js");
40
40
  exports.SettleWireSimulationsResponseDataAttributes = core.serialization.object({
41
41
  action: SettleWireSimulationsResponseDataAttributesAction_js_1.SettleWireSimulationsResponseDataAttributesAction,
42
- mmRequestId: core.serialization.string(),
43
42
  scenario: core.serialization.string(),
44
43
  fixturesFired: core.serialization.number(),
45
44
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.31";
1
+ export declare const SDK_VERSION = "1.6.33";
@@ -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.31";
4
+ exports.SDK_VERSION = "1.6.33";
@@ -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.31",
10
- "User-Agent": "@naturalpay/sdk/1.6.31",
9
+ "X-Fern-SDK-Version": "1.6.33",
10
+ "User-Agent": "@naturalpay/sdk/1.6.33",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -20,7 +20,7 @@ export interface CreateAgentCardsRequest {
20
20
  /** The kind of agent card. Defaults to single_use. */
21
21
  type?: Natural.CreateAgentCardsRequestType;
22
22
  merchant: Natural.CreateAgentCardsRequestMerchant;
23
- /** The most the one purchase can be, in cents. Larger authorizations decline. */
23
+ /** The most the one purchase can be, in cents, up to 1000000 ($10000). Larger authorizations decline. */
24
24
  maximumAmount: number;
25
25
  /** Currency code. Only USD is supported. */
26
26
  currency: Natural.CreateAgentCardsRequestCurrency;
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.mjs";
2
2
  export interface FailRealtimeSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.FailRealtimeSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.mjs";
2
2
  export interface FailWireSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.FailWireSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.mjs";
2
2
  export interface SettleRealtimeSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.SettleRealtimeSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -2,8 +2,6 @@ import type * as Natural from "../../../index.mjs";
2
2
  export interface SettleWireSimulationsResponseDataAttributes {
3
3
  /** Lifecycle action applied. */
4
4
  action: Natural.SettleWireSimulationsResponseDataAttributesAction;
5
- /** Money-movement request the fixtures were fired against. */
6
- mmRequestId: string;
7
5
  /** Fixture scenario fired on the money-movement side. */
8
6
  scenario: string;
9
7
  /** Number of webhook events emitted. */
@@ -6,7 +6,6 @@ export declare const FailRealtimeSimulationsResponseDataAttributes: core.seriali
6
6
  export declare namespace FailRealtimeSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: FailRealtimeSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -3,7 +3,6 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { FailRealtimeSimulationsResponseDataAttributesAction } from "./FailRealtimeSimulationsResponseDataAttributesAction.mjs";
4
4
  export const FailRealtimeSimulationsResponseDataAttributes = core.serialization.object({
5
5
  action: FailRealtimeSimulationsResponseDataAttributesAction,
6
- mmRequestId: core.serialization.string(),
7
6
  scenario: core.serialization.string(),
8
7
  fixturesFired: core.serialization.number(),
9
8
  });
@@ -6,7 +6,6 @@ export declare const FailWireSimulationsResponseDataAttributes: core.serializati
6
6
  export declare namespace FailWireSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: FailWireSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -3,7 +3,6 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { FailWireSimulationsResponseDataAttributesAction } from "./FailWireSimulationsResponseDataAttributesAction.mjs";
4
4
  export const FailWireSimulationsResponseDataAttributes = core.serialization.object({
5
5
  action: FailWireSimulationsResponseDataAttributesAction,
6
- mmRequestId: core.serialization.string(),
7
6
  scenario: core.serialization.string(),
8
7
  fixturesFired: core.serialization.number(),
9
8
  });
@@ -6,7 +6,6 @@ export declare const SettleRealtimeSimulationsResponseDataAttributes: core.seria
6
6
  export declare namespace SettleRealtimeSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: SettleRealtimeSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -3,7 +3,6 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { SettleRealtimeSimulationsResponseDataAttributesAction } from "./SettleRealtimeSimulationsResponseDataAttributesAction.mjs";
4
4
  export const SettleRealtimeSimulationsResponseDataAttributes = core.serialization.object({
5
5
  action: SettleRealtimeSimulationsResponseDataAttributesAction,
6
- mmRequestId: core.serialization.string(),
7
6
  scenario: core.serialization.string(),
8
7
  fixturesFired: core.serialization.number(),
9
8
  });
@@ -6,7 +6,6 @@ export declare const SettleWireSimulationsResponseDataAttributes: core.serializa
6
6
  export declare namespace SettleWireSimulationsResponseDataAttributes {
7
7
  interface Raw {
8
8
  action: SettleWireSimulationsResponseDataAttributesAction.Raw;
9
- mmRequestId: string;
10
9
  scenario: string;
11
10
  fixturesFired: number;
12
11
  }
@@ -3,7 +3,6 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { SettleWireSimulationsResponseDataAttributesAction } from "./SettleWireSimulationsResponseDataAttributesAction.mjs";
4
4
  export const SettleWireSimulationsResponseDataAttributes = core.serialization.object({
5
5
  action: SettleWireSimulationsResponseDataAttributesAction,
6
- mmRequestId: core.serialization.string(),
7
6
  scenario: core.serialization.string(),
8
7
  fixturesFired: core.serialization.number(),
9
8
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.31";
1
+ export declare const SDK_VERSION = "1.6.33";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.31";
1
+ export const SDK_VERSION = "1.6.33";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.31",
3
+ "version": "1.6.33",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -35,7 +35,7 @@ for await (const item of pageableResponse) {
35
35
  // Or you can manually iterate page-by-page
36
36
  let page = await client.agents.list();
37
37
  while (page.hasNextPage()) {
38
- page = page.getNextPage();
38
+ page = await page.getNextPage();
39
39
  }
40
40
 
41
41
  // You can also access the underlying response
@@ -719,7 +719,7 @@ for await (const item of pageableResponse) {
719
719
  // Or you can manually iterate page-by-page
720
720
  let page = await client.customers.list();
721
721
  while (page.hasNextPage()) {
722
- page = page.getNextPage();
722
+ page = await page.getNextPage();
723
723
  }
724
724
 
725
725
  // You can also access the underlying response
@@ -1470,7 +1470,7 @@ for await (const item of pageableResponse) {
1470
1470
  // Or you can manually iterate page-by-page
1471
1471
  let page = await client.payments.list();
1472
1472
  while (page.hasNextPage()) {
1473
- page = page.getNextPage();
1473
+ page = await page.getNextPage();
1474
1474
  }
1475
1475
 
1476
1476
  // You can also access the underlying response
@@ -1753,7 +1753,7 @@ for await (const item of pageableResponse) {
1753
1753
  // Or you can manually iterate page-by-page
1754
1754
  let page = await client.externalParties.list();
1755
1755
  while (page.hasNextPage()) {
1756
- page = page.getNextPage();
1756
+ page = await page.getNextPage();
1757
1757
  }
1758
1758
 
1759
1759
  // You can also access the underlying response
@@ -2047,7 +2047,7 @@ let page = await client.externalPartyAccounts.list({
2047
2047
  externalPartyId: "externalPartyId"
2048
2048
  });
2049
2049
  while (page.hasNextPage()) {
2050
- page = page.getNextPage();
2050
+ page = await page.getNextPage();
2051
2051
  }
2052
2052
 
2053
2053
  // You can also access the underlying response
@@ -2261,7 +2261,7 @@ for await (const item of pageableResponse) {
2261
2261
  // Or you can manually iterate page-by-page
2262
2262
  let page = await client.ach.list();
2263
2263
  while (page.hasNextPage()) {
2264
- page = page.getNextPage();
2264
+ page = await page.getNextPage();
2265
2265
  }
2266
2266
 
2267
2267
  // You can also access the underlying response
@@ -3073,7 +3073,7 @@ for await (const item of pageableResponse) {
3073
3073
  // Or you can manually iterate page-by-page
3074
3074
  let page = await client.paymentIntents.list();
3075
3075
  while (page.hasNextPage()) {
3076
- page = page.getNextPage();
3076
+ page = await page.getNextPage();
3077
3077
  }
3078
3078
 
3079
3079
  // You can also access the underlying response
@@ -3437,7 +3437,7 @@ for await (const item of pageableResponse) {
3437
3437
  // Or you can manually iterate page-by-page
3438
3438
  let page = await client.cardPayments.list();
3439
3439
  while (page.hasNextPage()) {
3440
- page = page.getNextPage();
3440
+ page = await page.getNextPage();
3441
3441
  }
3442
3442
 
3443
3443
  // You can also access the underlying response
@@ -3578,7 +3578,7 @@ for await (const item of pageableResponse) {
3578
3578
  // Or you can manually iterate page-by-page
3579
3579
  let page = await client.voiceSessions.list();
3580
3580
  while (page.hasNextPage()) {
3581
- page = page.getNextPage();
3581
+ page = await page.getNextPage();
3582
3582
  }
3583
3583
 
3584
3584
  // You can also access the underlying response
@@ -3854,7 +3854,7 @@ for await (const item of pageableResponse) {
3854
3854
  // Or you can manually iterate page-by-page
3855
3855
  let page = await client.refunds.list();
3856
3856
  while (page.hasNextPage()) {
3857
- page = page.getNextPage();
3857
+ page = await page.getNextPage();
3858
3858
  }
3859
3859
 
3860
3860
  // You can also access the underlying response
@@ -4063,7 +4063,7 @@ for await (const item of pageableResponse) {
4063
4063
  // Or you can manually iterate page-by-page
4064
4064
  let page = await client.chargebacks.list();
4065
4065
  while (page.hasNextPage()) {
4066
- page = page.getNextPage();
4066
+ page = await page.getNextPage();
4067
4067
  }
4068
4068
 
4069
4069
  // You can also access the underlying response
@@ -4605,7 +4605,7 @@ for await (const item of pageableResponse) {
4605
4605
  // Or you can manually iterate page-by-page
4606
4606
  let page = await client.transactions.list();
4607
4607
  while (page.hasNextPage()) {
4608
- page = page.getNextPage();
4608
+ page = await page.getNextPage();
4609
4609
  }
4610
4610
 
4611
4611
  // You can also access the underlying response
@@ -4963,7 +4963,7 @@ for await (const item of pageableResponse) {
4963
4963
  // Or you can manually iterate page-by-page
4964
4964
  let page = await client.transfers.list();
4965
4965
  while (page.hasNextPage()) {
4966
- page = page.getNextPage();
4966
+ page = await page.getNextPage();
4967
4967
  }
4968
4968
 
4969
4969
  // You can also access the underlying response
@@ -5104,7 +5104,7 @@ for await (const item of pageableResponse) {
5104
5104
  // Or you can manually iterate page-by-page
5105
5105
  let page = await client.paymentRequests.list();
5106
5106
  while (page.hasNextPage()) {
5107
- page = page.getNextPage();
5107
+ page = await page.getNextPage();
5108
5108
  }
5109
5109
 
5110
5110
  // You can also access the underlying response
@@ -5255,7 +5255,7 @@ for await (const item of pageableResponse) {
5255
5255
  // Or you can manually iterate page-by-page
5256
5256
  let page = await client.paymentRequests.listIncoming();
5257
5257
  while (page.hasNextPage()) {
5258
- page = page.getNextPage();
5258
+ page = await page.getNextPage();
5259
5259
  }
5260
5260
 
5261
5261
  // You can also access the underlying response
@@ -6188,7 +6188,7 @@ for await (const item of pageableResponse) {
6188
6188
  // Or you can manually iterate page-by-page
6189
6189
  let page = await client.parties.listMembers();
6190
6190
  while (page.hasNextPage()) {
6191
- page = page.getNextPage();
6191
+ page = await page.getNextPage();
6192
6192
  }
6193
6193
 
6194
6194
  // You can also access the underlying response
@@ -7640,7 +7640,7 @@ for await (const item of pageableResponse) {
7640
7640
  // Or you can manually iterate page-by-page
7641
7641
  let page = await client.externalAccounts.list();
7642
7642
  while (page.hasNextPage()) {
7643
- page = page.getNextPage();
7643
+ page = await page.getNextPage();
7644
7644
  }
7645
7645
 
7646
7646
  // You can also access the underlying response
@@ -7845,7 +7845,7 @@ for await (const item of pageableResponse) {
7845
7845
  // Or you can manually iterate page-by-page
7846
7846
  let page = await client.externalAccounts.listCards();
7847
7847
  while (page.hasNextPage()) {
7848
- page = page.getNextPage();
7848
+ page = await page.getNextPage();
7849
7849
  }
7850
7850
 
7851
7851
  // You can also access the underlying response
@@ -7921,7 +7921,7 @@ for await (const item of pageableResponse) {
7921
7921
  // Or you can manually iterate page-by-page
7922
7922
  let page = await client.apiKeys.list();
7923
7923
  while (page.hasNextPage()) {
7924
- page = page.getNextPage();
7924
+ page = await page.getNextPage();
7925
7925
  }
7926
7926
 
7927
7927
  // You can also access the underlying response
@@ -9344,7 +9344,7 @@ for await (const item of pageableResponse) {
9344
9344
  // Or you can manually iterate page-by-page
9345
9345
  let page = await client.webhooks.list();
9346
9346
  while (page.hasNextPage()) {
9347
- page = page.getNextPage();
9347
+ page = await page.getNextPage();
9348
9348
  }
9349
9349
 
9350
9350
  // You can also access the underlying response