-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWI-5543 Update SDK Based on Recent Spec Changes (#35)
* Generate SDK with OpenAPI Generator Version 7.6.0 * formatting * update transcriptions tests * update smoke test wf * add unit tests for new enum models --------- Co-authored-by: DX-Bandwidth <[email protected]> Co-authored-by: ckoegel <[email protected]>
- Loading branch information
1 parent
aa69a2d
commit 4b530aa
Showing
11 changed files
with
135 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Bandwidth | ||
* Bandwidth\'s Communication APIs | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* The detected language for this transcription. | ||
* @export | ||
* @enum {string} | ||
*/ | ||
|
||
export const CallTranscriptionDetectedLanguageEnum = { | ||
EnUs: 'en-US', | ||
EsUs: 'es-US', | ||
FrFr: 'fr-FR' | ||
} as const; | ||
|
||
export type CallTranscriptionDetectedLanguageEnum = typeof CallTranscriptionDetectedLanguageEnum[keyof typeof CallTranscriptionDetectedLanguageEnum]; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Bandwidth | ||
* Bandwidth\'s Communication APIs | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* Which `track` this transcription is derived from. | ||
* @export | ||
* @enum {string} | ||
*/ | ||
|
||
export const CallTranscriptionTrackEnum = { | ||
Inbound: 'inbound', | ||
Outbound: 'outbound' | ||
} as const; | ||
|
||
export type CallTranscriptionTrackEnum = typeof CallTranscriptionTrackEnum[keyof typeof CallTranscriptionTrackEnum]; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
tests/unit/models/call-transcription-detected-language-enum.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { CallTranscriptionDetectedLanguageEnum } from '../../../models/call-transcription-detected-language-enum'; | ||
|
||
describe('CallTranscriptionTrackEnum', () => { | ||
test('should define the expected values', () => { | ||
expect(CallTranscriptionDetectedLanguageEnum.EnUs).toBe('en-US'); | ||
expect(CallTranscriptionDetectedLanguageEnum.EsUs).toBe('es-US'); | ||
expect(CallTranscriptionDetectedLanguageEnum.FrFr).toBe('fr-FR'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { CallTranscriptionTrackEnum } from '../../../models/call-transcription-track-enum'; | ||
|
||
describe('CallTranscriptionTrackEnum', () => { | ||
test('should define the expected values', () => { | ||
expect(CallTranscriptionTrackEnum.Inbound).toBe('inbound'); | ||
expect(CallTranscriptionTrackEnum.Outbound).toBe('outbound'); | ||
}); | ||
}); |