Created
April 9, 2017 06:50
-
-
Save stepango/d15e7838a9d0335d38ad251a53a55984 to your computer and use it in GitHub Desktop.
Java delegates
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
public final class ApiService implements UserApi, EditsApi, TasksApi, TodosApi, ShootsApi, OthersApi, BrandsApi, BriefsApi, CreatorApi, IdeatesApi, ProjectsApi, PromotesApi, LocationApi, FeedbackApi, ActivityApi, ResourcesApi, WorkflowsApi, ContractsApi, CategoriesApi, AttachmentsApi, RegistrationApi, OpportunitiesApi { | |
// $FF: synthetic field | |
private final UserApi $$delegate_0; | |
// $FF: synthetic field | |
private final EditsApi $$delegate_1; | |
// $FF: synthetic field | |
private final TasksApi $$delegate_2; | |
// $FF: synthetic field | |
private final TodosApi $$delegate_3; | |
// $FF: synthetic field | |
private final ShootsApi $$delegate_4; | |
// $FF: synthetic field | |
private final OthersApi $$delegate_5; | |
// $FF: synthetic field | |
private final BrandsApi $$delegate_6; | |
// $FF: synthetic field | |
private final BriefsApi $$delegate_7; | |
// $FF: synthetic field | |
private final CreatorApi $$delegate_8; | |
// $FF: synthetic field | |
private final IdeatesApi $$delegate_9; | |
// $FF: synthetic field | |
private final ProjectsApi $$delegate_10; | |
// $FF: synthetic field | |
private final PromotesApi $$delegate_11; | |
// $FF: synthetic field | |
private final LocationApi $$delegate_12; | |
// $FF: synthetic field | |
private final FeedbackApi $$delegate_13; | |
// $FF: synthetic field | |
private final ActivityApi $$delegate_14; | |
// $FF: synthetic field | |
private final ResourcesApi $$delegate_15; | |
// $FF: synthetic field | |
private final WorkflowsApi $$delegate_16; | |
// $FF: synthetic field | |
private final ContractsApi $$delegate_17; | |
// $FF: synthetic field | |
private final CategoriesApi $$delegate_18; | |
// $FF: synthetic field | |
private final AttachmentsApi $$delegate_19; | |
// $FF: synthetic field | |
private final RegistrationApi $$delegate_20; | |
// $FF: synthetic field | |
private final OpportunitiesApi $$delegate_21; | |
public ApiService(@NotNull Retrofit retrofit) { | |
Intrinsics.checkParameterIsNotNull(retrofit, "retrofit"); | |
super(); | |
Object var10000 = retrofit.create(UserApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
Object var5 = var10000; | |
this.$$delegate_0 = (UserApi)var5; | |
var10000 = retrofit.create(EditsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_1 = (EditsApi)var5; | |
var10000 = retrofit.create(TasksApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_2 = (TasksApi)var5; | |
var10000 = retrofit.create(TodosApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_3 = (TodosApi)var5; | |
var10000 = retrofit.create(ShootsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_4 = (ShootsApi)var5; | |
var10000 = retrofit.create(OthersApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_5 = (OthersApi)var5; | |
var10000 = retrofit.create(BrandsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_6 = (BrandsApi)var5; | |
var10000 = retrofit.create(BriefsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_7 = (BriefsApi)var5; | |
var10000 = retrofit.create(CreatorApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_8 = (CreatorApi)var5; | |
var10000 = retrofit.create(IdeatesApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_9 = (IdeatesApi)var5; | |
var10000 = retrofit.create(ProjectsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_10 = (ProjectsApi)var5; | |
var10000 = retrofit.create(PromotesApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_11 = (PromotesApi)var5; | |
var10000 = retrofit.create(LocationApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_12 = (LocationApi)var5; | |
var10000 = retrofit.create(FeedbackApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_13 = (FeedbackApi)var5; | |
var10000 = retrofit.create(ActivityApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_14 = (ActivityApi)var5; | |
var10000 = retrofit.create(ResourcesApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_15 = (ResourcesApi)var5; | |
var10000 = retrofit.create(WorkflowsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_16 = (WorkflowsApi)var5; | |
var10000 = retrofit.create(ContractsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_17 = (ContractsApi)var5; | |
var10000 = retrofit.create(CategoriesApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_18 = (CategoriesApi)var5; | |
var10000 = retrofit.create(AttachmentsApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_19 = (AttachmentsApi)var5; | |
var10000 = retrofit.create(RegistrationApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_20 = (RegistrationApi)var5; | |
var10000 = retrofit.create(OpportunitiesApi.class); | |
Intrinsics.checkExpressionValueIsNotNull(var10000, "this.create(T::class.java)"); | |
var5 = var10000; | |
this.$$delegate_21 = (OpportunitiesApi)var5; | |
} | |
@PUT("users/{id}/update_default_brand") | |
@NotNull | |
public Single changeDefaultBrand(@Path("id") long userId, @Body @NotNull ChangeBrandModel newBrandId) { | |
Intrinsics.checkParameterIsNotNull(newBrandId, "newBrandId"); | |
return this.$$delegate_0.changeDefaultBrand(userId, newBrandId); | |
} | |
@PUT("users/current") | |
@NotNull | |
public Single changeUserCurrency(@Body @NotNull RequestUserWrapper userType) { | |
Intrinsics.checkParameterIsNotNull(userType, "userType"); | |
return this.$$delegate_0.changeUserCurrency(userType); | |
} | |
@PUT("users/current") | |
@NotNull | |
public Single changeUserType(@Body @NotNull RequestUserWrapper userType) { | |
Intrinsics.checkParameterIsNotNull(userType, "userType"); | |
return this.$$delegate_0.changeUserType(userType); | |
} | |
@GET("brand_users/{id}") | |
@NotNull | |
public Single getBrandUser(@Path("id") long brandUserId) { | |
return this.$$delegate_0.getBrandUser(brandUserId); | |
} | |
@GET("users/current") | |
@NotNull | |
public Single getCurrentUser() { | |
return this.$$delegate_0.getCurrentUser(); | |
} | |
@GET("current_locations") | |
@NotNull | |
public Single getUserLocations(@Query("ids") @NotNull long... userIds) { | |
Intrinsics.checkParameterIsNotNull(userIds, "userIds"); | |
return this.$$delegate_0.getUserLocations(userIds); | |
} | |
@GET("edits/{id}") | |
@NotNull | |
public Single getEdit(@Path("id") long editId) { | |
return this.$$delegate_1.getEdit(editId); | |
} | |
@GET("edits") | |
@NotNull | |
public Single getEdits() { | |
return this.$$delegate_1.getEdits(); | |
} | |
@PUT("edits/{id}") | |
@NotNull | |
public Single updateEditLocation(@Path("id") long resourceId, @Body @NotNull UpdateLocationModelWrapper location) { | |
Intrinsics.checkParameterIsNotNull(location, "location"); | |
return this.$$delegate_1.updateEditLocation(resourceId, location); | |
} | |
@PUT("tasks/{id}") | |
@NotNull | |
public Single updateTaskState(@Path("id") long taskId, @Body @NotNull UpdateTaskStateModel taskStateModel) { | |
Intrinsics.checkParameterIsNotNull(taskStateModel, "taskStateModel"); | |
return this.$$delegate_2.updateTaskState(taskId, taskStateModel); | |
} | |
@PUT("todos/{id}") | |
@NotNull | |
public Single completeTodo(@Path("id") long taskId, @Body @NotNull UpdateCompletedAtModel startAtModel) { | |
Intrinsics.checkParameterIsNotNull(startAtModel, "startAtModel"); | |
return this.$$delegate_3.completeTodo(taskId, startAtModel); | |
} | |
@GET("shoots/{id}") | |
@NotNull | |
public Single getShoot(@Path("id") long shootId) { | |
return this.$$delegate_4.getShoot(shootId); | |
} | |
@GET("shoots") | |
@NotNull | |
public Single getShoots() { | |
return this.$$delegate_4.getShoots(); | |
} | |
@PUT("shoots/{id}") | |
@NotNull | |
public Single updateShootLocation(@Path("id") long resourceId, @Body @NotNull UpdateLocationModelWrapper location) { | |
Intrinsics.checkParameterIsNotNull(location, "location"); | |
return this.$$delegate_4.updateShootLocation(resourceId, location); | |
} | |
@GET("defaults") | |
@NotNull | |
public Single getDefaults() { | |
return this.$$delegate_5.getDefaults(); | |
} | |
@GET("packages/{id}") | |
@NotNull | |
public Single getPackage(@Path("id") long id) { | |
return this.$$delegate_5.getPackage(id); | |
} | |
@GET("packages") | |
@NotNull | |
public Single getPackages() { | |
return this.$$delegate_5.getPackages(); | |
} | |
@GET("packages") | |
@NotNull | |
public Single getPackages(@Query("location_id") long locationId) { | |
return this.$$delegate_5.getPackages(locationId); | |
} | |
@POST("brands") | |
@NotNull | |
public Single createBrand(@Body @NotNull CreateBrandModel brandModel) { | |
Intrinsics.checkParameterIsNotNull(brandModel, "brandModel"); | |
return this.$$delegate_6.createBrand(brandModel); | |
} | |
@GET("brands/{id}") | |
@NotNull | |
public Single getBrand(@Path("id") @NotNull String brandUuid) { | |
Intrinsics.checkParameterIsNotNull(brandUuid, "brandUuid"); | |
return this.$$delegate_6.getBrand(brandUuid); | |
} | |
@GET("users/{id}/brands") | |
@NotNull | |
public Single userBrands(@Path("id") long userId) { | |
return this.$$delegate_6.userBrands(userId); | |
} | |
@DELETE("briefs/{id}") | |
@NotNull | |
public Single deleteBrief(@Path("id") @NotNull Number id) { | |
Intrinsics.checkParameterIsNotNull(id, "id"); | |
return this.$$delegate_7.deleteBrief(id); | |
} | |
@GET("{resourceType}s/{id}/briefs") | |
@NotNull | |
public Single getBriefs(@Path("resourceType") @NotNull String type, @Path("id") long id) { | |
Intrinsics.checkParameterIsNotNull(type, "type"); | |
return this.$$delegate_7.getBriefs(type, id); | |
} | |
@POST("briefs") | |
@NotNull | |
public Single postBriefItem(@Body @NotNull CreateBriefModelWrapper brief) { | |
Intrinsics.checkParameterIsNotNull(brief, "brief"); | |
return this.$$delegate_7.postBriefItem(brief); | |
} | |
@GET("creators/{id}") | |
@NotNull | |
public Single getCreator(@Path("id") long userId) { | |
return this.$$delegate_8.getCreator(userId); | |
} | |
@GET("creators") | |
@NotNull | |
public Single getCreators(@Query("category") @NotNull String category) { | |
Intrinsics.checkParameterIsNotNull(category, "category"); | |
return this.$$delegate_8.getCreators(category); | |
} | |
@POST("ideas") | |
@NotNull | |
public Single createIdea(@Body @NotNull CreateIdeaWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_9.createIdea(body); | |
} | |
@DELETE("clips/{id}") | |
@NotNull | |
public Single deleteClip(@Path("id") @NotNull Number id) { | |
Intrinsics.checkParameterIsNotNull(id, "id"); | |
return this.$$delegate_9.deleteClip(id); | |
} | |
@GET("ideates/{id}") | |
@NotNull | |
public Single getIdeate(@Path("id") long ideateId) { | |
return this.$$delegate_9.getIdeate(ideateId); | |
} | |
@GET("ideates") | |
@NotNull | |
public Single getIdeates() { | |
return this.$$delegate_9.getIdeates(); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single pickIdea(@Path("id") long resourceId, @Body @NotNull PickIdeaModel body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_9.pickIdea(resourceId, body); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single updateIdeateLocation(@Path("id") long resourceId, @Body @NotNull UpdateLocationModelWrapper location) { | |
Intrinsics.checkParameterIsNotNull(location, "location"); | |
return this.$$delegate_9.updateIdeateLocation(resourceId, location); | |
} | |
@POST("projects") | |
@NotNull | |
public Single createProject(@Body @NotNull RequestProjectWrapper requestProject) { | |
Intrinsics.checkParameterIsNotNull(requestProject, "requestProject"); | |
return this.$$delegate_10.createProject(requestProject); | |
} | |
@GET("projects/{id}") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getProject(@Path("id") long projectId) { | |
return this.$$delegate_10.getProject(projectId); | |
} | |
@GET("projects") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getProjects(@QueryMap @NotNull BaseQueryParams params) { | |
Intrinsics.checkParameterIsNotNull(params, "params"); | |
return this.$$delegate_10.getProjects(params); | |
} | |
@GET("projects/?ids={ids}") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getProjectsByIds(@Path("ids") @NotNull String ids) { | |
Intrinsics.checkParameterIsNotNull(ids, "ids"); | |
return this.$$delegate_10.getProjectsByIds(ids); | |
} | |
@PUT("projects/{id}") | |
@NotNull | |
public Single updateProjectEndAt(@Path("id") long projectId, @Body @NotNull RequestProjectWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_10.updateProjectEndAt(projectId, body); | |
} | |
@PUT("projects/{id}") | |
@NotNull | |
public Single updateProjectPlanState(@Path("id") long projectId, @Body @NotNull RequestProjectWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_10.updateProjectPlanState(projectId, body); | |
} | |
@PUT("projects/{id}") | |
@NotNull | |
public Single updateProjectState(@Path("id") long projectId, @Body @NotNull RequestProjectWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_10.updateProjectState(projectId, body); | |
} | |
@PUT("projects/{id}") | |
@NotNull | |
public Single updateProjectTitle(@Path("id") long projectId, @Body @NotNull RequestProjectWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_10.updateProjectTitle(projectId, body); | |
} | |
@GET("promotes/{id}") | |
@NotNull | |
public Single getPromote(@Path("id") long promoteId) { | |
return this.$$delegate_11.getPromote(promoteId); | |
} | |
@GET("promotes") | |
@NotNull | |
public Single getPromotes() { | |
return this.$$delegate_11.getPromotes(); | |
} | |
@PUT("promotes/{id}") | |
@NotNull | |
public Single updatePromoteLocation(@Path("id") long resourceId, @Body @NotNull UpdateLocationModelWrapper location) { | |
Intrinsics.checkParameterIsNotNull(location, "location"); | |
return this.$$delegate_11.updatePromoteLocation(resourceId, location); | |
} | |
@GET("locations/current") | |
@NotNull | |
public Single getCurrentLocation() { | |
return this.$$delegate_12.getCurrentLocation(); | |
} | |
@GET("locations/autocomplete") | |
@NotNull | |
public Single getLocations(@Query("query") @NotNull String query) { | |
Intrinsics.checkParameterIsNotNull(query, "query"); | |
return this.$$delegate_12.getLocations(query); | |
} | |
@PUT("current_locations/{userId}") | |
@NotNull | |
public Single updateCurrentLocation(@Path("userId") long userId, @Body @NotNull MyLocationModel location) { | |
Intrinsics.checkParameterIsNotNull(location, "location"); | |
return this.$$delegate_12.updateCurrentLocation(userId, location); | |
} | |
@PUT("resource_assets/{id}/add_feedback") | |
@NotNull | |
public Single addFeedback(@Path("id") long resourceAssetId, @Query("resource_id") long resourceId, @Query("resource_type") @NotNull String resourceType, @Query("asset_id") long assetId, @Query("asset_type") @NotNull String assetType, @Body @NotNull AddFeedbackModel body) { | |
Intrinsics.checkParameterIsNotNull(resourceType, "resourceType"); | |
Intrinsics.checkParameterIsNotNull(assetType, "assetType"); | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_13.addFeedback(resourceAssetId, resourceId, resourceType, assetId, assetType, body); | |
} | |
@PUT("feedback_items/{id}") | |
@NotNull | |
public Single completeFeedback(@Path("id") long feedbackId, @Body @NotNull UpdateFeedbackModel feedback_item) { | |
Intrinsics.checkParameterIsNotNull(feedback_item, "feedback_item"); | |
return this.$$delegate_13.completeFeedback(feedbackId, feedback_item); | |
} | |
@GET("feedback") | |
@NotNull | |
public Single getFeedback() { | |
return this.$$delegate_13.getFeedback(); | |
} | |
@GET("feedback_items") | |
@NotNull | |
public Single getFeedbackItems(@Query("resource_asset_id") long resourceAssetId) { | |
return this.$$delegate_13.getFeedbackItems(resourceAssetId); | |
} | |
@GET("activity_groups/{id}") | |
@NotNull | |
public Single getActivityGroup(@Path("id") long activityGroupId) { | |
return this.$$delegate_14.getActivityGroup(activityGroupId); | |
} | |
@GET("activity_groups") | |
@NotNull | |
public Single getAllActivityGroups() { | |
return this.$$delegate_14.getAllActivityGroups(); | |
} | |
@GET("activity_groups") | |
@NotNull | |
public Single getProjectActivityGroups(@Query("project_id") long projectId) { | |
return this.$$delegate_14.getProjectActivityGroups(projectId); | |
} | |
@POST("activity_groups/{id}/comments") | |
@NotNull | |
public Single postComment(@Path("id") long activityGroupId, @Body @NotNull RequestCommentWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_14.postComment(activityGroupId, body); | |
} | |
@PUT("edits/{id}") | |
@NotNull | |
public Single updateEditConfigured(@Path("id") long editId, @Body @NotNull RequestEditWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateEditConfigured(editId, body); | |
} | |
@PUT("edits/{id}") | |
@NotNull | |
public Single updateEditEndAt(@Path("id") long editId, @Body @NotNull UpdateEndAtModel endAtModel) { | |
Intrinsics.checkParameterIsNotNull(endAtModel, "endAtModel"); | |
return this.$$delegate_15.updateEditEndAt(editId, endAtModel); | |
} | |
@PUT("edits/{id}") | |
@NotNull | |
public Single updateEditSource(@Path("id") long resourceId, @Body @NotNull UpdateSourceIdModel sourceId) { | |
Intrinsics.checkParameterIsNotNull(sourceId, "sourceId"); | |
return this.$$delegate_15.updateEditSource(resourceId, sourceId); | |
} | |
@PUT("edits/{id}") | |
@NotNull | |
public Single updateEditState(@Path("id") long editId, @Body @NotNull RequestEditWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateEditState(editId, body); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single updateIdeateConfigured(@Path("id") long ideateId, @Body @NotNull RequestIdeateWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateIdeateConfigured(ideateId, body); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single updateIdeateEndAt(@Path("id") long ideateId, @Body @NotNull UpdateEndAtModel endAtModel) { | |
Intrinsics.checkParameterIsNotNull(endAtModel, "endAtModel"); | |
return this.$$delegate_15.updateIdeateEndAt(ideateId, endAtModel); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single updateIdeateSource(@Path("id") long resourceId, @Body @NotNull UpdateSourceIdModel sourceId) { | |
Intrinsics.checkParameterIsNotNull(sourceId, "sourceId"); | |
return this.$$delegate_15.updateIdeateSource(resourceId, sourceId); | |
} | |
@PUT("ideates/{id}") | |
@NotNull | |
public Single updateIdeateState(@Path("id") long ideateId, @Body @NotNull RequestIdeateWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateIdeateState(ideateId, body); | |
} | |
@PUT("promotes/{id}") | |
@NotNull | |
public Single updatePromoteConfigured(@Path("id") long promoteId, @Body @NotNull RequestPromoteWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updatePromoteConfigured(promoteId, body); | |
} | |
@PUT("promotes/{id}") | |
@NotNull | |
public Single updatePromoteEndAt(@Path("id") long promoteId, @Body @NotNull UpdateEndAtModel endAtModel) { | |
Intrinsics.checkParameterIsNotNull(endAtModel, "endAtModel"); | |
return this.$$delegate_15.updatePromoteEndAt(promoteId, endAtModel); | |
} | |
@PUT("promotes/{id}") | |
@NotNull | |
public Single updatePromoteSource(@Path("id") long resourceId, @Body @NotNull UpdateSourceIdModel sourceId) { | |
Intrinsics.checkParameterIsNotNull(sourceId, "sourceId"); | |
return this.$$delegate_15.updatePromoteSource(resourceId, sourceId); | |
} | |
@PUT("promotes/{id}") | |
@NotNull | |
public Single updatePromoteState(@Path("id") long promoteId, @Body @NotNull RequestPromoteWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updatePromoteState(promoteId, body); | |
} | |
@PUT("shoots/{id}") | |
@NotNull | |
public Single updateShootConfigured(@Path("id") long shootId, @Body @NotNull RequestShootWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateShootConfigured(shootId, body); | |
} | |
@PUT("shoots/{id}") | |
@NotNull | |
public Single updateShootEndAt(@Path("id") long shootId, @Body @NotNull UpdateEndAtModel endAtModel) { | |
Intrinsics.checkParameterIsNotNull(endAtModel, "endAtModel"); | |
return this.$$delegate_15.updateShootEndAt(shootId, endAtModel); | |
} | |
@PUT("shoots/{id}") | |
@NotNull | |
public Single updateShootSource(@Path("id") long resourceId, @Body @NotNull UpdateSourceIdModel sourceId) { | |
Intrinsics.checkParameterIsNotNull(sourceId, "sourceId"); | |
return this.$$delegate_15.updateShootSource(resourceId, sourceId); | |
} | |
@PUT("shoots/{id}") | |
@NotNull | |
public Single updateShootState(@Path("id") long shootId, @Body @NotNull RequestShootWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_15.updateShootState(shootId, body); | |
} | |
@DELETE("workflows/{id}") | |
@NotNull | |
public Single deleteWorkflow(@Path("id") long workflowId) { | |
return this.$$delegate_16.deleteWorkflow(workflowId); | |
} | |
@GET("workflow/{id}") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getWorkflow(@Path("id") long workflowId) { | |
return this.$$delegate_16.getWorkflow(workflowId); | |
} | |
@POST("workflows") | |
@NotNull | |
public Single postWorkflow(@Body @NotNull CreateWorkflowModel workflow) { | |
Intrinsics.checkParameterIsNotNull(workflow, "workflow"); | |
return this.$$delegate_16.postWorkflow(workflow); | |
} | |
@POST("contracts/creators/{id}/shortlists") | |
@NotNull | |
public Single addToShortlist(@Path("id") long creatorId, @Body @NotNull ShortlistInvitationModel invitation) { | |
Intrinsics.checkParameterIsNotNull(invitation, "invitation"); | |
return this.$$delegate_17.addToShortlist(creatorId, invitation); | |
} | |
@POST("contracts/creators/{contractId}/applications/{applicationId}/apply") | |
@NotNull | |
public Single applyCreatorContract(@Path("contractId") long creatorId, @Path("applicationId") long applicationId) { | |
return this.$$delegate_17.applyCreatorContract(creatorId, applicationId); | |
} | |
@GET("contracts/creators/{id}/applications") | |
@NotNull | |
public Single getApplications(@Path("id") long creatorId) { | |
return this.$$delegate_17.getApplications(creatorId); | |
} | |
@GET("contracts/creators/{id}/resource") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getCreatorContract(@Path("id") long creatorId) { | |
return this.$$delegate_17.getCreatorContract(creatorId); | |
} | |
@GET("contracts/creators") | |
@NotNull | |
public Single getCreators(@Query("ids") @NotNull Long[] creatorIds) { | |
Intrinsics.checkParameterIsNotNull(creatorIds, "creatorIds"); | |
return this.$$delegate_17.getCreators(creatorIds); | |
} | |
@GET("contracts/creators/{id}/shortlists") | |
@NotNull | |
public Single getShortlists(@Path("id") long creatorId) { | |
return this.$$delegate_17.getShortlists(creatorId); | |
} | |
@POST("contracts/creators/{id}/applications") | |
@NotNull | |
public Single invite(@Path("id") long creatorId, @Body @NotNull CreatorContractApplicationModel application) { | |
Intrinsics.checkParameterIsNotNull(application, "application"); | |
return this.$$delegate_17.invite(creatorId, application); | |
} | |
@POST("contracts/creators/{contractId}/applications/{applicationId}/decline") | |
@NotNull | |
public Single rejectCreatorContract(@Path("contractId") long creatorId, @Path("applicationId") long applicationId) { | |
return this.$$delegate_17.rejectCreatorContract(creatorId, applicationId); | |
} | |
@GET("categories") | |
@NotNull | |
public Single getCategories() { | |
return this.$$delegate_18.getCategories(); | |
} | |
@GET("categories/{id}") | |
@NotNull | |
public Single getCategory(@Path("id") long categoryId) { | |
return this.$$delegate_18.getCategory(categoryId); | |
} | |
@POST("clips") | |
@NotNull | |
public Single createClip(@Body @NotNull CreateClipWrapper model) { | |
Intrinsics.checkParameterIsNotNull(model, "model"); | |
return this.$$delegate_19.createClip(model); | |
} | |
@POST("footage") | |
@NotNull | |
public Single createFootage(@Body @NotNull CreateFootageWrapper model) { | |
Intrinsics.checkParameterIsNotNull(model, "model"); | |
return this.$$delegate_19.createFootage(model); | |
} | |
@POST("videos") | |
@NotNull | |
public Single createVideo(@Body @NotNull CreateVideoWrapper body) { | |
Intrinsics.checkParameterIsNotNull(body, "body"); | |
return this.$$delegate_19.createVideo(body); | |
} | |
@GET("attachments/presign_upload") | |
@NotNull | |
public Single getUploadUrl(@Query("file_name") @NotNull String fileName) { | |
Intrinsics.checkParameterIsNotNull(fileName, "fileName"); | |
return this.$$delegate_19.getUploadUrl(fileName); | |
} | |
@POST("attachments") | |
@NotNull | |
public Single postAttachment(@Body @NotNull AttachmentModel fileAttachment) { | |
Intrinsics.checkParameterIsNotNull(fileAttachment, "fileAttachment"); | |
return this.$$delegate_19.postAttachment(fileAttachment); | |
} | |
@POST("registrations") | |
@NotNull | |
public Single register(@Body @NotNull UserRegistrationModel model) { | |
Intrinsics.checkParameterIsNotNull(model, "model"); | |
return this.$$delegate_20.register(model); | |
} | |
@GET("projects/accepted") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getAcceptedOpportunities(@QueryMap @NotNull BaseQueryParams params) { | |
Intrinsics.checkParameterIsNotNull(params, "params"); | |
return this.$$delegate_21.getAcceptedOpportunities(params); | |
} | |
@GET("projects/applied") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getAppliedOpportunities(@QueryMap @NotNull BaseQueryParams params) { | |
Intrinsics.checkParameterIsNotNull(params, "params"); | |
return this.$$delegate_21.getAppliedOpportunities(params); | |
} | |
@GET("brand_opportunities") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getBrandOpportunities() { | |
return this.$$delegate_21.getBrandOpportunities(); | |
} | |
@GET("producer_opportunities?role_slug=brief-producer") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getBriefOpportunities() { | |
return this.$$delegate_21.getBriefOpportunities(); | |
} | |
@GET("projects/invites") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getInvitesOpportunities(@QueryMap @NotNull BaseQueryParams params) { | |
Intrinsics.checkParameterIsNotNull(params, "params"); | |
return this.$$delegate_21.getInvitesOpportunities(params); | |
} | |
@GET("producer_opportunities?role_slug=project-producer") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getProjectOpportunities() { | |
return this.$$delegate_21.getProjectOpportunities(); | |
} | |
@GET("producer_opportunities?role_slug=scope-producer") | |
@Headers({"NEED_CURRENCY_PARAM:true"}) | |
@NotNull | |
public Single getScopeOpportunities() { | |
return this.$$delegate_21.getScopeOpportunities(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment