Skip to content

Commit

Permalink
Deploying from phrase/openapi@7a1a0d91
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed May 31, 2024
1 parent e9b1987 commit 7b3d738
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,13 @@ Class | Method | HTTP request | Description
*ReleasesApi* | **releaseShow** | **GET** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Get a single release
*ReleasesApi* | **releaseUpdate** | **PATCH** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Update a release
*ReleasesApi* | **releasesList** | **GET** /accounts/{account_id}/distributions/{distribution_id}/releases | List releases
*RepoSyncsApi* | **repoSyncActivate** | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate | Activate a Repo Sync
*RepoSyncsApi* | **repoSyncDeactivate** | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate | Deactivate a Repo Sync
*RepoSyncsApi* | **repoSyncEvents** | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events | Repository Syncs History
*RepoSyncsApi* | **repoSyncExport** | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/export | Export to code repository
*RepoSyncsApi* | **repoSyncImport** | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/import | Import from code repository
*RepoSyncsApi* | **repoSyncActivate** | **POST** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync
*RepoSyncsApi* | **repoSyncDeactivate** | **POST** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync
*RepoSyncsApi* | **repoSyncEvents** | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
*RepoSyncsApi* | **repoSyncExport** | **POST** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository
*RepoSyncsApi* | **repoSyncImport** | **POST** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository
*RepoSyncsApi* | **repoSyncList** | **GET** /accounts/{account_id}/repo_syncs | Get Repo Syncs
*RepoSyncsApi* | **repoSyncShow** | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id} | Get a single Repo Sync
*RepoSyncsApi* | **repoSyncShow** | **GET** /accounts/{account_id}/repo_syncs/{id} | Get a single Repo Sync
*ReportsApi* | **reportLocalesList** | **GET** /projects/{project_id}/report/locales | List Locale Reports
*ReportsApi* | **reportShow** | **GET** /projects/{project_id}/report | Get Project Report
*ScreenshotMarkersApi* | **screenshotMarkerCreate** | **POST** /projects/{project_id}/screenshots/{screenshot_id}/markers | Create a screenshot marker
Expand Down
48 changes: 24 additions & 24 deletions src/apis/RepoSyncsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,31 @@ import {

export interface RepoSyncActivateRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

export interface RepoSyncDeactivateRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

export interface RepoSyncEventsRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

export interface RepoSyncExportRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

export interface RepoSyncImportRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

Expand All @@ -65,7 +65,7 @@ export interface RepoSyncListRequest {

export interface RepoSyncShowRequest {
accountId: string;
repoSyncId: string;
id: string;
xPhraseAppOTP?: string;
}

Expand All @@ -83,8 +83,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncActivate.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncActivate.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncActivate.');
}

const queryParameters: any = {};
Expand All @@ -103,7 +103,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}/activate`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}/activate`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
query: queryParameters,
Expand All @@ -130,8 +130,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncDeactivate.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncDeactivate.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncDeactivate.');
}

const queryParameters: any = {};
Expand All @@ -150,7 +150,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}/deactivate`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
query: queryParameters,
Expand All @@ -177,8 +177,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncEvents.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncEvents.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncEvents.');
}

const queryParameters: any = {};
Expand All @@ -197,7 +197,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}/events`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}/events`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'GET',
headers: headerParameters,
query: queryParameters,
Expand All @@ -224,8 +224,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncExport.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncExport.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncExport.');
}

const queryParameters: any = {};
Expand All @@ -244,7 +244,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}/export`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}/export`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
query: queryParameters,
Expand All @@ -271,8 +271,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncImport.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncImport.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncImport.');
}

const queryParameters: any = {};
Expand All @@ -291,7 +291,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}/import`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}/import`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'POST',
headers: headerParameters,
query: queryParameters,
Expand Down Expand Up @@ -361,8 +361,8 @@ export class RepoSyncsApi extends runtime.BaseAPI {
throw new runtime.RequiredError('accountId','Required parameter requestParameters.accountId was null or undefined when calling repoSyncShow.');
}

if (requestParameters.repoSyncId === null || requestParameters.repoSyncId === undefined) {
throw new runtime.RequiredError('repoSyncId','Required parameter requestParameters.repoSyncId was null or undefined when calling repoSyncShow.');
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling repoSyncShow.');
}

const queryParameters: any = {};
Expand All @@ -381,7 +381,7 @@ export class RepoSyncsApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/accounts/{account_id}/repo_syncs/{repo_sync_id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"repo_sync_id"}}`, encodeURIComponent(String(requestParameters.repoSyncId))),
path: `/accounts/{account_id}/repo_syncs/{id}`.replace(`{${"account_id"}}`, encodeURIComponent(String(requestParameters.accountId))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
method: 'GET',
headers: headerParameters,
query: queryParameters,
Expand Down

0 comments on commit 7b3d738

Please sign in to comment.