@dynamic-labs/sdk-api 0.0.1103 → 0.0.1104

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.1103",
3
+ "version": "0.0.1104",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -269,13 +269,13 @@ class ServerApi extends runtime.BaseAPI {
269
269
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
270
270
  throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getFlowServer.');
271
271
  }
272
- if (requestParameters.flowId === null || requestParameters.flowId === undefined) {
273
- throw new runtime.RequiredError('flowId', 'Required parameter requestParameters.flowId was null or undefined when calling getFlowServer.');
272
+ if (requestParameters.mode === null || requestParameters.mode === undefined) {
273
+ throw new runtime.RequiredError('mode', 'Required parameter requestParameters.mode was null or undefined when calling getFlowServer.');
274
274
  }
275
275
  const queryParameters = {};
276
276
  const headerParameters = {};
277
277
  const response = await this.request({
278
- path: `/server/{environmentId}/flow/{flowId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"flowId"}}`, encodeURIComponent(String(requestParameters.flowId))),
278
+ path: `/server/{environmentId}/flow/{mode}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"mode"}}`, encodeURIComponent(String(requestParameters.mode))),
279
279
  method: 'GET',
280
280
  headers: headerParameters,
281
281
  query: queryParameters,
@@ -28,7 +28,7 @@ export interface GetFlowFeeClaimBalancesServerRequest {
28
28
  }
29
29
  export interface GetFlowServerRequest {
30
30
  environmentId: string;
31
- flowId: string;
31
+ mode: string;
32
32
  }
33
33
  export interface InitiateFlowFeeClaimServerRequest {
34
34
  environmentId: string;
@@ -265,13 +265,13 @@ class ServerApi extends BaseAPI {
265
265
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
266
266
  throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getFlowServer.');
267
267
  }
268
- if (requestParameters.flowId === null || requestParameters.flowId === undefined) {
269
- throw new RequiredError('flowId', 'Required parameter requestParameters.flowId was null or undefined when calling getFlowServer.');
268
+ if (requestParameters.mode === null || requestParameters.mode === undefined) {
269
+ throw new RequiredError('mode', 'Required parameter requestParameters.mode was null or undefined when calling getFlowServer.');
270
270
  }
271
271
  const queryParameters = {};
272
272
  const headerParameters = {};
273
273
  const response = await this.request({
274
- path: `/server/{environmentId}/flow/{flowId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"flowId"}}`, encodeURIComponent(String(requestParameters.flowId))),
274
+ path: `/server/{environmentId}/flow/{mode}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"mode"}}`, encodeURIComponent(String(requestParameters.mode))),
275
275
  method: 'GET',
276
276
  headers: headerParameters,
277
277
  query: queryParameters,