Skip to content
Permalink
Browse files

feat(generated code): update generated code based on api definitions

BREAKING CHANGE: removed models and breaking api changes
  • Loading branch information
repjarms committed Sep 20, 2019
1 parent db90f26 commit e090f9d88a3e83c5a9d0d03950fa409516a927fa
Showing with 2,354 additions and 3,933 deletions.
  1. +370 −50 Source/AssistantV1/Assistant.swift
  2. +2 −2 Source/AssistantV1/Models/Context.swift
  3. +1 −1 Source/AssistantV1/Models/CreateEntity.swift
  4. +1 −1 Source/AssistantV1/Models/CreateValue.swift
  5. +1 −1 Source/AssistantV1/Models/CreateWorkspace.swift
  6. +1 −1 Source/AssistantV1/Models/DialogNode.swift
  7. +1 −1 Source/AssistantV1/Models/DialogNodeAction.swift
  8. +1 −1 Source/AssistantV1/Models/DialogNodeOutput.swift
  9. +0 −192 Source/AssistantV1/Models/DialogRuntimeResponseGeneric.swift
  10. +1 −1 Source/AssistantV1/Models/DialogSuggestionOutput.swift
  11. +1 −1 Source/AssistantV1/Models/Entity.swift
  12. +1 −1 Source/AssistantV1/Models/MessageInput.swift
  13. +1 −1 Source/AssistantV1/Models/OutputData.swift
  14. +1 −1 Source/AssistantV1/Models/RuntimeEntity.swift
  15. +2 −2 Source/AssistantV1/Models/SystemResponse.swift
  16. +1 −1 Source/AssistantV1/Models/UpdateDialogNode.swift
  17. +1 −1 Source/AssistantV1/Models/UpdateEntity.swift
  18. +1 −1 Source/AssistantV1/Models/UpdateValue.swift
  19. +1 −1 Source/AssistantV1/Models/UpdateWorkspace.swift
  20. +1 −1 Source/AssistantV1/Models/Value.swift
  21. +1 −1 Source/AssistantV1/Models/Workspace.swift
  22. +1 −1 Source/AssistantV1/Models/WorkspaceSystemSettings.swift
  23. +34 −9 Source/AssistantV2/Assistant.swift
  24. +1 −1 Source/AssistantV2/Models/DialogNodeAction.swift
  25. +0 −139 Source/AssistantV2/Models/DialogRuntimeResponseGeneric.swift
  26. +2 −2 Source/AssistantV2/Models/DialogSuggestion.swift
  27. +1 −1 Source/AssistantV2/Models/MessageContextSkill.swift
  28. +1 −37 Source/AssistantV2/Models/MessageContextSkills.swift
  29. +1 −1 Source/AssistantV2/Models/MessageOutput.swift
  30. +0 −43 Source/AssistantV2/Models/MessageRequestContext.swift
  31. +0 −44 Source/AssistantV2/Models/MessageResponseContext.swift
  32. +1 −1 Source/AssistantV2/Models/RuntimeEntity.swift
  33. +1 −36 Source/AssistantV2/Models/SearchResultHighlight.swift
  34. +106 −17 Source/CompareComplyV1/CompareComply.swift
  35. +0 −34 Source/CompareComplyV1/Models/ColumnHeaderIDs.swift
  36. +0 −34 Source/CompareComplyV1/Models/ColumnHeaderTexts.swift
  37. +0 −35 Source/CompareComplyV1/Models/ColumnHeaderTextsNormalized.swift
  38. +1 −1 Source/CompareComplyV1/Models/ColumnHeaders.swift
  39. +0 −56 Source/CompareComplyV1/Models/ContractType.swift
  40. +0 −34 Source/CompareComplyV1/Models/RowHeaderIDs.swift
  41. +0 −34 Source/CompareComplyV1/Models/RowHeaderTexts.swift
  42. +0 −35 Source/CompareComplyV1/Models/RowHeaderTextsNormalized.swift
  43. +1 −1 Source/CompareComplyV1/Models/TableHeaders.swift
  44. +498 −336 Source/DiscoveryV1/Discovery.swift
  45. +4 −10 Source/DiscoveryV1/Models/AggregationResult.swift
  46. +6 −0 Source/DiscoveryV1/Models/Collection.swift
  47. +3 −1 Source/DiscoveryV1/Models/CreateCollectionRequest.swift
  48. +4 −2 Source/DiscoveryV1/Models/CreateEnvironmentRequest.swift
  49. +4 −2 Source/DiscoveryV1/Models/CredentialsList.swift
  50. +4 −2 Source/DiscoveryV1/Models/DeleteCollectionResponse.swift
  51. +4 −2 Source/DiscoveryV1/Models/DeleteConfigurationResponse.swift
  52. +4 −2 Source/DiscoveryV1/Models/DeleteDocumentResponse.swift
  53. +4 −2 Source/DiscoveryV1/Models/DeleteEnvironmentResponse.swift
  54. +3 −1 Source/DiscoveryV1/Models/DocumentAccepted.swift
  55. +3 −1 Source/DiscoveryV1/Models/DocumentCounts.swift
  56. +0 −51 Source/DiscoveryV1/Models/DocumentSnapshot.swift
  57. +4 −1 Source/DiscoveryV1/Models/Enrichment.swift
  58. +4 −1 Source/DiscoveryV1/Models/EnrichmentOptions.swift
  59. +265 −0 Source/DiscoveryV1/Models/FedQueryLarge.swift
  60. +3 −1 Source/DiscoveryV1/Models/Field.swift
  61. +3 −1 Source/DiscoveryV1/Models/FontSetting.swift
  62. +8 −2 Source/DiscoveryV1/Models/HTMLSettings.swift
  63. +4 −2 Source/DiscoveryV1/Models/ListCollectionsResponse.swift
  64. +5 −3 Source/DiscoveryV1/Models/ListConfigurationsResponse.swift
  65. +4 −2 Source/DiscoveryV1/Models/ListEnvironmentsResponse.swift
  66. +3 −1 Source/DiscoveryV1/Models/NewTrainingQuery.swift
  67. +2 −2 Source/DiscoveryV1/Models/NluEnrichmentCategories.swift
  68. +3 −3 Source/DiscoveryV1/Models/NluEnrichmentEntities.swift
  69. +4 −2 Source/DiscoveryV1/Models/NluEnrichmentFeatures.swift
  70. +4 −5 Source/DiscoveryV1/Models/NluEnrichmentRelations.swift
  71. +3 −1 Source/DiscoveryV1/Models/NormalizationOperation.swift
  72. +8 −3 Source/DiscoveryV1/Models/PDFHeadingDetection.swift
  73. +5 −2 Source/DiscoveryV1/Models/PDFSettings.swift
  74. +30 −85 Source/DiscoveryV1/Models/QueryAggregation.swift
  75. +0 −88 Source/DiscoveryV1/Models/QueryEntities.swift
  76. +0 −52 Source/DiscoveryV1/Models/QueryEntitiesContext.swift
  77. +0 −57 Source/DiscoveryV1/Models/QueryEntitiesEntity.swift
  78. +0 −34 Source/DiscoveryV1/Models/QueryEntitiesResponse.swift
  79. +0 −46 Source/DiscoveryV1/Models/QueryEntitiesResponseItem.swift
  80. +0 −58 Source/DiscoveryV1/Models/QueryEvidence.swift
  81. +0 −52 Source/DiscoveryV1/Models/QueryEvidenceEntity.swift
  82. +0 −55 Source/DiscoveryV1/Models/QueryFilterType.swift
  83. +0 −11 Source/DiscoveryV1/Models/QueryLarge.swift
  84. +3 −1 Source/DiscoveryV1/Models/QueryNoticesResponse.swift
  85. +4 −2 Source/DiscoveryV1/Models/QueryNoticesResult.swift
  86. +4 −2 Source/DiscoveryV1/Models/QueryPassages.swift
  87. +0 −109 Source/DiscoveryV1/Models/QueryRelations.swift
  88. +0 −32 Source/DiscoveryV1/Models/QueryRelationsArgument.swift
  89. +0 −64 Source/DiscoveryV1/Models/QueryRelationsEntity.swift
  90. +0 −58 Source/DiscoveryV1/Models/QueryRelationsFilter.swift
  91. +0 −50 Source/DiscoveryV1/Models/QueryRelationsRelationship.swift
  92. +0 −32 Source/DiscoveryV1/Models/QueryRelationsResponse.swift
  93. +4 −2 Source/DiscoveryV1/Models/QueryResult.swift
  94. +3 −0 Source/DiscoveryV1/Models/Term.swift
  95. +0 −63 Source/DiscoveryV1/Models/TestDocument.swift
  96. +4 −2 Source/DiscoveryV1/Models/TopHitsResults.swift
  97. +3 −1 Source/DiscoveryV1/Models/TrainingDataSet.swift
  98. +3 −1 Source/DiscoveryV1/Models/TrainingExample.swift
  99. +3 −1 Source/DiscoveryV1/Models/TrainingExampleList.swift
  100. +3 −1 Source/DiscoveryV1/Models/TrainingExamplePatch.swift
  101. +3 −1 Source/DiscoveryV1/Models/TrainingQuery.swift
  102. +3 −1 Source/DiscoveryV1/Models/TrainingStatus.swift
  103. +4 −2 Source/DiscoveryV1/Models/UpdateCollectionRequest.swift
  104. +4 −2 Source/DiscoveryV1/Models/UpdateEnvironmentRequest.swift
  105. +12 −4 Source/DiscoveryV1/Models/WordHeadingDetection.swift
  106. +5 −2 Source/DiscoveryV1/Models/WordSettings.swift
  107. +3 −1 Source/DiscoveryV1/Models/WordStyle.swift
  108. +3 −1 Source/DiscoveryV1/Models/XPathPatterns.swift
  109. +106 −17 Source/LanguageTranslatorV3/LanguageTranslator.swift
  110. +58 −11 Source/NaturalLanguageClassifierV1/NaturalLanguageClassifier.swift
  111. +0 −37 Source/NaturalLanguageUnderstandingV1/Models/AnalysisResultsEmotion.swift
  112. +0 −37 Source/NaturalLanguageUnderstandingV1/Models/AnalysisResultsSentiment.swift
  113. +0 −58 Source/NaturalLanguageUnderstandingV1/Models/DocumentEmotionResultsEmotion.swift
  114. +0 −47 Source/NaturalLanguageUnderstandingV1/Models/EntitiesResultDisambiguation.swift
  115. +0 −58 Source/NaturalLanguageUnderstandingV1/Models/EntitiesResultEmotion.swift
  116. +0 −34 Source/NaturalLanguageUnderstandingV1/Models/EntitiesResultSentiment.swift
  117. +0 −58 Source/NaturalLanguageUnderstandingV1/Models/KeywordsResultEmotion.swift
  118. +0 −34 Source/NaturalLanguageUnderstandingV1/Models/KeywordsResultSentiment.swift
  119. +1 −3 Source/NaturalLanguageUnderstandingV1/Models/MetadataOptions.swift
  120. +0 −59 Source/NaturalLanguageUnderstandingV1/Models/MetadataResult.swift
  121. +0 −106 Source/NaturalLanguageUnderstandingV1/Models/ParametersFeatures.swift
  122. +0 −41 Source/NaturalLanguageUnderstandingV1/Models/SemanticRolesAction.swift
  123. +0 −38 Source/NaturalLanguageUnderstandingV1/Models/SemanticRolesObject.swift
  124. +0 −44 Source/NaturalLanguageUnderstandingV1/Models/SemanticRolesSubject.swift
  125. +0 −58 Source/NaturalLanguageUnderstandingV1/Models/TargetedEmotionResultsEmotion.swift
  126. +0 −46 Source/NaturalLanguageUnderstandingV1/Models/Usage.swift
  127. +34 −8 Source/NaturalLanguageUnderstandingV1/NaturalLanguageUnderstanding.swift
  128. +1 −1 Source/PersonalityInsightsV3/Models/ProfileContent.swift
  129. +34 −8 Source/PersonalityInsightsV3/PersonalityInsights.swift
  130. +0 −77 Source/SpeechToTextV1/Models/AudioListingContainer.swift
  131. +0 −85 Source/SpeechToTextV1/Models/AudioListingDetails.swift
  132. +0 −85 Source/SpeechToTextV1/Models/AudioResourceDetails.swift
  133. +2 −2 Source/SpeechToTextV1/Models/SpeechRecognitionAlternative.swift
  134. +358 −50 Source/SpeechToTextV1/SpeechToText.swift
  135. +0 −84 Source/TextToSpeechV1/Models/VoiceCustomization.swift
  136. +131 −52 Source/TextToSpeechV1/TextToSpeech.swift
  137. +1 −1 Source/ToneAnalyzerV3/Models/ToneContent.swift
  138. +36 −7 Source/ToneAnalyzerV3/ToneAnalyzer.swift
  139. +0 −48 Source/VisualRecognitionV3/Models/DetectedFaces.swift
  140. +0 −46 Source/VisualRecognitionV3/Models/Face.swift
  141. +0 −47 Source/VisualRecognitionV3/Models/FaceAge.swift
  142. +0 −47 Source/VisualRecognitionV3/Models/FaceGender.swift
  143. +0 −52 Source/VisualRecognitionV3/Models/FaceLocation.swift
  144. +0 −59 Source/VisualRecognitionV3/Models/ImageWithFaces.swift
  145. +76 −112 Source/VisualRecognitionV3/VisualRecognition.swift

Large diffs are not rendered by default.

@@ -1,5 +1,5 @@
/**
* (C) Copyright IBM Corp. 2016, 2018.
* (C) Copyright IBM Corp. 2016, 2019.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
State information for the conversation. To maintain state, include the context from the previous response.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** CreateEntity. */
public struct CreateEntity: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** CreateValue. */
public struct CreateValue: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** CreateWorkspace. */
internal struct CreateWorkspace: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** DialogNode. */
public struct DialogNode: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** DialogNodeAction. */
public struct DialogNodeAction: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
The output of the dialog node. For more information about how to specify dialog node output, see the

This file was deleted.

@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** Entity. */
public struct Entity: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
An input object that includes the input text.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
An output object that includes the response to the user, the dialog nodes that were triggered, and messages from the
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
A term from the request that was identified as an entity.
@@ -1,5 +1,5 @@
/**
* (C) Copyright IBM Corp. 2017, 2018.
* (C) Copyright IBM Corp. 2017, 2019.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
For internal use only.
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** UpdateDialogNode. */
internal struct UpdateDialogNode: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** UpdateEntity. */
internal struct UpdateEntity: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** UpdateValue. */
internal struct UpdateValue: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** UpdateWorkspace. */
internal struct UpdateWorkspace: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** Value. */
public struct Value: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/** Workspace. */
public struct Workspace: Codable, Equatable {
@@ -15,7 +15,7 @@
**/

import Foundation
import RestKit
import IBMSwiftSDKCore

/**
Global settings for the workspace.

0 comments on commit e090f9d

Please sign in to comment.
You can’t perform that action at this time.