Skip to content

Commit

Permalink
move files out of folders to avoid renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDeepgram committed Jul 18, 2024
1 parent ed5503e commit 3d6d755
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 51 deletions.
2 changes: 2 additions & 0 deletions src/manage/billing/mod_billing.rs → src/manage/billing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#billing
pub mod response;

use crate::{
manage::billing::response::{Balance, Balances},
send_and_translate_response, Deepgram,
Expand Down
4 changes: 0 additions & 4 deletions src/manage/billing/mod.rs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#invitations
pub mod response;

use crate::{send_and_translate_response, Deepgram};

use super::response::Message;
use response::Message;

/// Manage the invitations to a Deepgram Project.
///
Expand Down
4 changes: 0 additions & 4 deletions src/manage/invitations/mod.rs

This file was deleted.

5 changes: 4 additions & 1 deletion src/manage/keys/mod_keys.rs → src/manage/keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#keys
pub mod options;
pub mod response;

use crate::{
manage::keys::{
options::{Options, SerializableOptions},
Expand All @@ -12,7 +15,7 @@ use crate::{
send_and_translate_response, Deepgram,
};

use super::response::Message;
use response::Message;

/// Manage the keys for a Deepgram Project.
///
Expand Down
5 changes: 0 additions & 5 deletions src/manage/keys/mod.rs

This file was deleted.

6 changes: 3 additions & 3 deletions src/manage/members/mod_members.rs → src/manage/members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#members
use crate::{send_and_translate_response, Deepgram};
pub mod response;

use crate::manage::members::response;
use crate::{send_and_translate_response, Deepgram};

use super::response::Message;
use response::Message;

/// Manage the members of a Deepgram Project.
///
Expand Down
4 changes: 0 additions & 4 deletions src/manage/members/mod.rs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#projects
pub mod options;
pub mod response;

use crate::{send_and_translate_response, Deepgram};

use crate::manage::projects::options::{Options, SerializableOptions};
use crate::manage::projects::response::{self, Project};
use options::{Options, SerializableOptions};

use super::response::Message;
use response::{Message, Project};

/// Manage Deepgram Projects.
///
Expand Down
5 changes: 0 additions & 5 deletions src/manage/projects/mod.rs

This file was deleted.

6 changes: 3 additions & 3 deletions src/manage/scopes/mod_scopes.rs → src/manage/scopes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#scopes
pub mod response;

use serde::Serialize;

use crate::{send_and_translate_response, Deepgram};

use crate::manage::scopes::response;

use super::response::Message;
use response::Message;

/// Manage the permissions of a Deepgram Project.
///
Expand Down
4 changes: 0 additions & 4 deletions src/manage/scopes/mod.rs

This file was deleted.

15 changes: 8 additions & 7 deletions src/manage/usage/mod_usage.rs → src/manage/usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
//!
//! [api]: https://developers.deepgram.com/api-reference/#usage
use crate::{
manage::usage::{
get_fields_options, get_usage_options, list_requests_options,
response::{Fields, Request, Requests, UsageSummary},
},
send_and_translate_response, Deepgram,
};
pub mod get_fields_options;
pub mod get_usage_options;
pub mod list_requests_options;
pub mod response;

use response::{Fields, Request, Requests, UsageSummary};

use crate::{send_and_translate_response, Deepgram};

/// Get the usage data of a Deepgram Project.
///
Expand Down
7 changes: 0 additions & 7 deletions src/manage/usage/mod.rs

This file was deleted.

0 comments on commit 3d6d755

Please sign in to comment.