Skip to content

Commit

Permalink
743 - Generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ivicac committed Nov 22, 2024
1 parent d7cf09b commit 63ab326
Show file tree
Hide file tree
Showing 30 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.Optional;
import jakarta.annotation.Generated;

@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Validated
@Tag(name = "account", description = "The `Account` Common Object represents a \"company\" in CRMs.")
public interface AccountApi {
Expand All @@ -48,8 +48,8 @@ default Optional<NativeWebRequest> getRequest() {
/**
* POST /accounts : Create account
*
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (required)
* @param createUpdateAccountModel (required)
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (optional)
* @param xEnvironment The environment of an integration. (optional)
* @return Account created (status code 201)
* or Bad request (status code 400)
Expand Down Expand Up @@ -110,8 +110,8 @@ default Optional<NativeWebRequest> getRequest() {
)

default ResponseEntity<CreatedModel> createAccount(
@NotNull @Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", required = true, in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = true) Long xInstanceId,
@Parameter(name = "CreateUpdateAccountModel", description = "", required = true) @Valid @RequestBody CreateUpdateAccountModel createUpdateAccountModel,
@Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = false) Long xInstanceId,
@Parameter(name = "x-environment", description = "The environment of an integration.", in = ParameterIn.HEADER) @RequestHeader(value = "x-environment", required = false) String xEnvironment
) {
getRequest().ifPresent(request -> {
Expand Down Expand Up @@ -176,8 +176,8 @@ default ResponseEntity<CreatedModel> createAccount(
/**
* GET /accounts/{account_id} : Get account
*
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (required)
* @param accountId (required)
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (optional)
* @param xEnvironment The environment of an integration. (optional)
* @param includeRawData Whether to include raw data fetched from the 3rd party provider. (optional)
* @return Account (status code 200)
Expand Down Expand Up @@ -230,8 +230,8 @@ default ResponseEntity<CreatedModel> createAccount(
)

default ResponseEntity<AccountModel> getAccount(
@NotNull @Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", required = true, in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = true) Long xInstanceId,
@Parameter(name = "account_id", description = "", required = true, in = ParameterIn.PATH) @PathVariable("account_id") String accountId,
@Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = false) Long xInstanceId,
@Parameter(name = "x-environment", description = "The environment of an integration.", in = ParameterIn.HEADER) @RequestHeader(value = "x-environment", required = false) String xEnvironment,
@Parameter(name = "include_raw_data", description = "Whether to include raw data fetched from the 3rd party provider.", in = ParameterIn.QUERY) @Valid @RequestParam(value = "include_raw_data", required = false) Boolean includeRawData
) {
Expand Down Expand Up @@ -287,7 +287,7 @@ default ResponseEntity<AccountModel> getAccount(
/**
* GET /accounts : List accounts
*
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (required)
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (optional)
* @param xEnvironment The environment of an integration. (optional)
* @param includeRawData Whether to include raw data fetched from the 3rd party provider. (optional)
* @param pageable Pageable parameters. (optional)
Expand Down Expand Up @@ -341,7 +341,7 @@ default ResponseEntity<AccountModel> getAccount(
)

default ResponseEntity<com.bytechef.embedded.unified.pagination.CursorPageSlice> listAccounts(
@NotNull @Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", required = true, in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = true) Long xInstanceId,
@Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = false) Long xInstanceId,
@Parameter(name = "x-environment", description = "The environment of an integration.", in = ParameterIn.HEADER) @RequestHeader(value = "x-environment", required = false) String xEnvironment,
@Parameter(name = "include_raw_data", description = "Whether to include raw data fetched from the 3rd party provider.", in = ParameterIn.QUERY) @Valid @RequestParam(value = "include_raw_data", required = false) Boolean includeRawData,
@Parameter(name = "pageable", description = "Pageable parameters.", in = ParameterIn.QUERY) @Valid ListAccountsPageableParameterModel pageable
Expand Down Expand Up @@ -398,9 +398,9 @@ default ResponseEntity<com.bytechef.embedded.unified.pagination.CursorPageSlice>
/**
* PATCH /accounts/{account_id} : Update account
*
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (required)
* @param accountId (required)
* @param createUpdateAccountModel (required)
* @param xInstanceId The integration instance Id that uniquely identifies the connected user&#39;s specific integration instance (optional)
* @param xEnvironment The environment of an integration. (optional)
* @return Account updated (status code 204)
* or Bad request (status code 400)
Expand Down Expand Up @@ -459,9 +459,9 @@ default ResponseEntity<com.bytechef.embedded.unified.pagination.CursorPageSlice>
)

default ResponseEntity<Void> updateAccount(
@NotNull @Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", required = true, in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = true) Long xInstanceId,
@Parameter(name = "account_id", description = "", required = true, in = ParameterIn.PATH) @PathVariable("account_id") String accountId,
@Parameter(name = "CreateUpdateAccountModel", description = "", required = true) @Valid @RequestBody CreateUpdateAccountModel createUpdateAccountModel,
@Parameter(name = "x-instance-id", description = "The integration instance Id that uniquely identifies the connected user's specific integration instance", in = ParameterIn.HEADER) @RequestHeader(value = "x-instance-id", required = false) Long xInstanceId,
@Parameter(name = "x-environment", description = "The environment of an integration.", in = ParameterIn.HEADER) @RequestHeader(value = "x-environment", required = false) String xEnvironment
) {
getRequest().ifPresent(request -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/

@JsonTypeName("account")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class AccountModel {

private JsonNullable<String> accountNumber = JsonNullable.<String>undefined();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

@JsonTypeName("create_update_account")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class CreateUpdateAccountModel {

private JsonNullable<String> accountNumber = JsonNullable.<String>undefined();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

@JsonTypeName("created")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class CreatedModel {

private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

@JsonTypeName("created_record")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class CreatedRecordModel {

private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

@Schema(name = "errors_inner_meta", description = "Additional metadata about the error.")
@JsonTypeName("errors_inner_meta")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class ErrorsInnerMetaModel {

private Object cause;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

@JsonTypeName("errors_inner")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class ErrorsInnerModel {

private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

@JsonTypeName("listAccounts_400_response")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class ListAccounts400ResponseModel {

@Valid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

@JsonTypeName("listAccounts_pageable_parameter")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class ListAccountsPageableParameterModel {

private String direction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

@JsonTypeName("warnings_inner")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-18T16:25:05.304203+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-11-19T13:17:44.726199+01:00[Europe/Zagreb]", comments = "Generator version: 7.9.0")
public class WarningsInnerModel {

private String detail;
Expand Down
Loading

0 comments on commit 63ab326

Please sign in to comment.