Skip to content

Commit

Permalink
Release 0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
langma committed Sep 20, 2022
1 parent a06fed9 commit 2531f47
Show file tree
Hide file tree
Showing 9 changed files with 182 additions and 136 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.8.5](https://github.com/speechly/api/tree/0.8.5) (2022-09-20)

[Full Changelog](https://github.com/speechly/api/compare/0.8.4...0.8.5)

**Merged pull requests:**

- Add new app statuses for inactive and deleted applications [\#47](https://github.com/speechly/api/pull/47) ([langma](https://github.com/langma))

## [0.8.4](https://github.com/speechly/api/tree/0.8.4) (2022-09-08)

[Full Changelog](https://github.com/speechly/api/compare/0.8.3...0.8.4)
Expand Down
14 changes: 14 additions & 0 deletions Sources/SpeechlyAPI/speechly_config_v1_config_api.pb.swift
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,12 @@ public struct Speechly_Config_V1_App {

/// Indicates that the application has failed the training.
case failed // = 4

/// The application has not been used in a while and has been marked as inactive.
case inactive // = 5

/// The aplication is deleted.
case deleted // = 6
case UNRECOGNIZED(Int)

public init() {
Expand All @@ -636,6 +642,8 @@ public struct Speechly_Config_V1_App {
case 2: self = .training
case 3: self = .trained
case 4: self = .failed
case 5: self = .inactive
case 6: self = .deleted
default: self = .UNRECOGNIZED(rawValue)
}
}
Expand All @@ -647,6 +655,8 @@ public struct Speechly_Config_V1_App {
case .training: return 2
case .trained: return 3
case .failed: return 4
case .inactive: return 5
case .deleted: return 6
case .UNRECOGNIZED(let i): return i
}
}
Expand All @@ -668,6 +678,8 @@ extension Speechly_Config_V1_App.Status: CaseIterable {
.training,
.trained,
.failed,
.inactive,
.deleted,
]
}

Expand Down Expand Up @@ -1692,5 +1704,7 @@ extension Speechly_Config_V1_App.Status: SwiftProtobuf._ProtoNameProviding {
2: .same(proto: "STATUS_TRAINING"),
3: .same(proto: "STATUS_TRAINED"),
4: .same(proto: "STATUS_FAILED"),
5: .same(proto: "STATUS_INACTIVE"),
6: .same(proto: "STATUS_DELETED"),
]
}
89 changes: 47 additions & 42 deletions cpp/Speechly/speechly/config/v1/config_api.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion cpp/Speechly/speechly/config/v1/config_api.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Single row of statistics response.
| count | [int32](#int32) | Count (sum) of utterances in the current period. |
| utterances_seconds | [int32](#int32) | Total duration of the utterances in the current period. |
| annotated_seconds | [int32](#int32) | Total duration of annotated utterances in the current period. |
| project_id | [string](#string) | project_id or empty, if specifiying a project. |


<a name="speechly.analytics.v1.UtteranceStatisticsRequest"></a>
Expand All @@ -115,6 +116,7 @@ Token needs to have access to the given app / project.
| aggregation | [Aggregation](#speechly.analytics.v1.Aggregation) | Aggregation of the data.<br/>Default is DAILY |
| start_date | [string](#string) | Start of requested statistics period.<br/>Default is 15 days ago.<br/>Must be YYYY-mm-DD formatted string if given. |
| end_date | [string](#string) | End of requested statistics period.<br/>Default is 1 day ago, resulting in two full weeks.<br/>Must be YYYY-mm-DD formatted string if given. |
| project_id | [string](#string) | Limit statisticts to a single project_id<br/>Default is none, returning statistics for the project in the given scope. |


<a name="speechly.analytics.v1.UtteranceStatisticsResponse"></a>
Expand Down

0 comments on commit 2531f47

Please sign in to comment.