Skip to content

Commit

Permalink
Deploying from phrase/openapi@162eae3d
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Dec 21, 2023
1 parent d5e6e5d commit ca95612
Show file tree
Hide file tree
Showing 51 changed files with 259 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/api_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func initAccountShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AccountsApi.AccountShow(auth, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -123,6 +124,7 @@ func initAccountsList() {
localVarOptionals.PerPage = optional.NewInt32(params.GetInt32(helpers.ToSnakeCase("PerPage")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AccountsApi.AccountsList(auth, &localVarOptionals)

if err != nil {
Expand Down
5 changes: 5 additions & 0 deletions cmd/api_authorizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func initAuthorizationCreate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AuthorizationsApi.AuthorizationCreate(auth, authorizationCreateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -126,6 +127,7 @@ func initAuthorizationDelete() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AuthorizationsApi.AuthorizationDelete(auth, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -183,6 +185,7 @@ func initAuthorizationShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AuthorizationsApi.AuthorizationShow(auth, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -252,6 +255,7 @@ func initAuthorizationUpdate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AuthorizationsApi.AuthorizationUpdate(auth, id, authorizationUpdateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -322,6 +326,7 @@ func initAuthorizationsList() {
localVarOptionals.PerPage = optional.NewInt32(params.GetInt32(helpers.ToSnakeCase("PerPage")))
}

// trigger API request using phrase-go client
data, api_response, err := client.AuthorizationsApi.AuthorizationsList(auth, &localVarOptionals)

if err != nil {
Expand Down
3 changes: 3 additions & 0 deletions cmd/api_bitbucket_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func initBitbucketSyncExport() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BitbucketSyncApi.BitbucketSyncExport(auth, id, bitbucketSyncExportParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -133,6 +134,7 @@ func initBitbucketSyncImport() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BitbucketSyncApi.BitbucketSyncImport(auth, id, bitbucketSyncImportParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -194,6 +196,7 @@ func initBitbucketSyncsList() {
localVarOptionals.AccountId = optional.NewString(params.GetString(helpers.ToSnakeCase("AccountId")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BitbucketSyncApi.BitbucketSyncsList(auth, &localVarOptionals)

if err != nil {
Expand Down
5 changes: 5 additions & 0 deletions cmd/api_blacklisted_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func initBlacklistedKeyCreate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BlacklistedKeysApi.BlacklistedKeyCreate(auth, projectId, blacklistedKeyCreateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -129,6 +130,7 @@ func initBlacklistedKeyDelete() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BlacklistedKeysApi.BlacklistedKeyDelete(auth, projectId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -188,6 +190,7 @@ func initBlacklistedKeyShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BlacklistedKeysApi.BlacklistedKeyShow(auth, projectId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -259,6 +262,7 @@ func initBlacklistedKeyUpdate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BlacklistedKeysApi.BlacklistedKeyUpdate(auth, projectId, id, blacklistedKeyUpdateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -335,6 +339,7 @@ func initBlacklistedKeysList() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BlacklistedKeysApi.BlacklistedKeysList(auth, projectId, &localVarOptionals)

if err != nil {
Expand Down
7 changes: 7 additions & 0 deletions cmd/api_branches.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func initBranchCompare() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchCompare(auth, projectId, name, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -126,6 +127,7 @@ func initBranchCreate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchCreate(auth, projectId, branchCreateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -190,6 +192,7 @@ func initBranchDelete() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchDelete(auth, projectId, name, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -256,6 +259,7 @@ func initBranchMerge() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchMerge(auth, projectId, name, branchMergeParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -316,6 +320,7 @@ func initBranchShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchShow(auth, projectId, name, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -387,6 +392,7 @@ func initBranchUpdate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchUpdate(auth, projectId, name, branchUpdateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -459,6 +465,7 @@ func initBranchesList() {
localVarOptionals.PerPage = optional.NewInt32(params.GetInt32(helpers.ToSnakeCase("PerPage")))
}

// trigger API request using phrase-go client
data, api_response, err := client.BranchesApi.BranchesList(auth, projectId, &localVarOptionals)

if err != nil {
Expand Down
4 changes: 4 additions & 0 deletions cmd/api_comment_reactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func initReactionCreate() {
localVarOptionals.Emoji = optional.NewString(params.GetString(helpers.ToSnakeCase("Emoji")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentReactionsApi.ReactionCreate(auth, projectId, keyId, commentId, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -140,6 +141,7 @@ func initReactionDelete() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentReactionsApi.ReactionDelete(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -208,6 +210,7 @@ func initReactionShow() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentReactionsApi.ReactionShow(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -288,6 +291,7 @@ func initReactionsList() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentReactionsApi.ReactionsList(auth, projectId, keyId, commentId, &localVarOptionals)

if err != nil {
Expand Down
6 changes: 6 additions & 0 deletions cmd/api_comment_replies.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func initRepliesList() {
localVarOptionals.Order = optional.NewString(params.GetString(helpers.ToSnakeCase("Order")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.RepliesList(auth, projectId, keyId, commentId, repliesListParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -177,6 +178,7 @@ func initReplyCreate() {
localVarOptionals.Message = optional.NewString(params.GetString(helpers.ToSnakeCase("Message")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.ReplyCreate(auth, projectId, keyId, commentId, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -250,6 +252,7 @@ func initReplyDelete() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.ReplyDelete(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -318,6 +321,7 @@ func initReplyMarkAsRead() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.ReplyMarkAsRead(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -386,6 +390,7 @@ func initReplyMarkAsUnread() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.ReplyMarkAsUnread(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -454,6 +459,7 @@ func initReplyShow() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentRepliesApi.ReplyShow(auth, projectId, keyId, commentId, id, &localVarOptionals)

if err != nil {
Expand Down
8 changes: 8 additions & 0 deletions cmd/api_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func initCommentCreate() {
localVarOptionals.LocaleIds = optional.NewInterface(localeIds)
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentCreate(auth, projectId, keyId, commentCreateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -153,6 +154,7 @@ func initCommentDelete() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentDelete(auth, projectId, keyId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -219,6 +221,7 @@ func initCommentMarkCheck() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentMarkCheck(auth, projectId, keyId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -288,6 +291,7 @@ func initCommentMarkRead() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentMarkRead(auth, projectId, keyId, id, commentMarkReadParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -354,6 +358,7 @@ func initCommentMarkUnread() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentMarkUnread(auth, projectId, keyId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -420,6 +425,7 @@ func initCommentShow() {
localVarOptionals.Branch = optional.NewString(params.GetString(helpers.ToSnakeCase("Branch")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentShow(auth, projectId, keyId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -494,6 +500,7 @@ func initCommentUpdate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentUpdate(auth, projectId, keyId, id, commentUpdateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -603,6 +610,7 @@ func initCommentsList() {
localVarOptionals.Order = optional.NewString(params.GetString(helpers.ToSnakeCase("Order")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CommentsApi.CommentsList(auth, projectId, keyId, commentsListParameters, &localVarOptionals)

if err != nil {
Expand Down
5 changes: 5 additions & 0 deletions cmd/api_custom_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func initCustomMetadataPropertiesDelete() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CustomMetadataApi.CustomMetadataPropertiesDelete(auth, accountId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -145,6 +146,7 @@ func initCustomMetadataPropertiesList() {
localVarOptionals.Order = optional.NewString(params.GetString(helpers.ToSnakeCase("Order")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CustomMetadataApi.CustomMetadataPropertiesList(auth, accountId, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -241,6 +243,7 @@ func initCustomMetadataPropertyCreate() {
localVarOptionals.ValueOptions = optional.NewInterface(valueOptions)
}

// trigger API request using phrase-go client
data, api_response, err := client.CustomMetadataApi.CustomMetadataPropertyCreate(auth, accountId, name, dataType, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -309,6 +312,7 @@ func initCustomMetadataPropertyShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.CustomMetadataApi.CustomMetadataPropertyShow(auth, accountId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -397,6 +401,7 @@ func initCustomMetadataPropertyUpdate() {
localVarOptionals.ValueOptions = optional.NewInterface(valueOptions)
}

// trigger API request using phrase-go client
data, api_response, err := client.CustomMetadataApi.CustomMetadataPropertyUpdate(auth, accountId, id, &localVarOptionals)

if err != nil {
Expand Down
5 changes: 5 additions & 0 deletions cmd/api_distributions.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func initDistributionCreate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.DistributionsApi.DistributionCreate(auth, accountId, distributionCreateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -129,6 +130,7 @@ func initDistributionDelete() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.DistributionsApi.DistributionDelete(auth, accountId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -188,6 +190,7 @@ func initDistributionShow() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.DistributionsApi.DistributionShow(auth, accountId, id, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -259,6 +262,7 @@ func initDistributionUpdate() {
localVarOptionals.XPhraseAppOTP = optional.NewString(params.GetString(helpers.ToSnakeCase("XPhraseAppOTP")))
}

// trigger API request using phrase-go client
data, api_response, err := client.DistributionsApi.DistributionUpdate(auth, accountId, id, distributionUpdateParameters, &localVarOptionals)

if err != nil {
Expand Down Expand Up @@ -331,6 +335,7 @@ func initDistributionsList() {
localVarOptionals.PerPage = optional.NewInt32(params.GetInt32(helpers.ToSnakeCase("PerPage")))
}

// trigger API request using phrase-go client
data, api_response, err := client.DistributionsApi.DistributionsList(auth, accountId, &localVarOptionals)

if err != nil {
Expand Down
Loading

0 comments on commit ca95612

Please sign in to comment.