@seamapi/nextlove-sdk-generator
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -42,3 +42,10 @@ import axios from "axios"; | ||
resource_name: name, | ||
resource_properties: properties, | ||
resource_properties: | ||
// TODO: remove this special case when nextlove openapi generator is fixed | ||
name === "ActionAttempt" | ||
? { | ||
...properties, | ||
result: { type: "object", nullable: true }, | ||
} | ||
: properties, | ||
required_property_names, | ||
@@ -45,0 +52,0 @@ }); |
@@ -110,3 +110,3 @@ export class PhpClient { | ||
" if ($time_waiting > 20.0) {", | ||
' throw new Exception("Timed out waiting for access code to be created");', | ||
' throw new Exception("Timed out waiting for action attempt to be ready");', | ||
" }", | ||
@@ -113,0 +113,0 @@ " $time_waiting += 0.4;", |
{ | ||
"name": "@seamapi/nextlove-sdk-generator", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Utilities for building NextLove SDK Generators", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -54,3 +54,10 @@ import axios from "axios" | ||
resource_name: name, | ||
resource_properties: properties, | ||
resource_properties: | ||
// TODO: remove this special case when nextlove openapi generator is fixed | ||
name === "ActionAttempt" | ||
? { | ||
...properties, | ||
result: { type: "object", nullable: true }, | ||
} | ||
: properties, | ||
required_property_names, | ||
@@ -57,0 +64,0 @@ }) |
@@ -170,3 +170,3 @@ export type PhpClientMethodParameter = { | ||
" if ($time_waiting > 20.0) {", | ||
' throw new Exception("Timed out waiting for access code to be created");', | ||
' throw new Exception("Timed out waiting for action attempt to be ready");', | ||
" }", | ||
@@ -173,0 +173,0 @@ " $time_waiting += 0.4;", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
650587
8461