@boboddy/sdk 0.1.13-alpha → 0.1.14-alpha

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/dist/client.js CHANGED
@@ -913,12 +913,9 @@ class StepDefinitions extends HeyApiClient {
913
913
  }
914
914
  });
915
915
  }
916
- getStepDefinition(options) {
917
- return (options.client ?? this.client).get({ url: "/api/step-definitions/{stepDefinitionId}", ...options });
918
- }
919
- updateStepDefinition(options) {
916
+ upsertStepDefinition(options) {
920
917
  return (options.client ?? this.client).put({
921
- url: "/api/step-definitions/{stepDefinitionId}",
918
+ url: "/api/step-definitions",
922
919
  ...options,
923
920
  headers: {
924
921
  "Content-Type": "application/json",
@@ -926,6 +923,9 @@ class StepDefinitions extends HeyApiClient {
926
923
  }
927
924
  });
928
925
  }
926
+ getStepDefinition(options) {
927
+ return (options.client ?? this.client).get({ url: "/api/step-definitions/{stepDefinitionId}", ...options });
928
+ }
929
929
  archiveStepDefinition(options) {
930
930
  return (options.client ?? this.client).put({ url: "/api/step-definitions/{stepDefinitionId}/archive", ...options });
931
931
  }