Skip to content

Commit

Permalink
fix: rebuild SDK with latest schema changes (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Dwairi authored Nov 6, 2024
1 parent 1be8d6b commit 88e44c8
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 140 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Make sure you have **Java 8** or higher.
```groovy
// gradle.build
dependencies {
implementation 'com.expediagroup:lodging-connectivity-sdk:1.0.5-SNAPSHOT'
implementation 'com.expediagroup:lodging-connectivity-sdk:1.0.6-SNAPSHOT'
}
```

Expand All @@ -29,7 +29,7 @@ dependencies {
<dependency>
<groupId>com.expediagroup</groupId>
<artifactId>lodging-connectivity-sdk</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.reservation.funct
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.reservation.function.confirmReservationNotificationFun
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.reservation.function.refundReservationFun
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.reservation.paginator.PropertyReservationsPaginator
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.reservation.paginator.PropertyReservationsSummariesPaginator
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.type.CancelReservationInput
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.type.CancelReservationReconciliationInput
import com.expediagroup.sdk.lodgingconnectivity.graphql.supply.type.CancelVrboReservationInput
Expand Down Expand Up @@ -128,34 +127,6 @@ class ReservationClient(config: ClientConfiguration) {
)
}

@JvmOverloads
fun getPropertyReservationsSummary(
propertyId: String,
pageSize: Int? = null,
initialCursor: String? = null
) = run {
PropertyReservationsSummariesPaginator(
client = baseGraphQlClient,
input = PropertyReservationsInput(propertyId),
pageSize = pageSize,
initialCursor = initialCursor
)
}

@JvmOverloads
fun getPropertyReservationsSummary(
input: PropertyReservationsInput,
pageSize: Int? = null,
initialCursor: String? = null
) = run {
PropertyReservationsSummariesPaginator(
client = baseGraphQlClient,
input = input,
pageSize = pageSize,
initialCursor = initialCursor
)
}

@JvmOverloads
fun cancelReservation(
input: CancelReservationInput,
Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
kotlin.code.style=official
groupId=com.expediagroup
version=1.0.5-SNAPSHOT
version=1.0.6-SNAPSHOT
artifactName=lodging-connectivity-sdk
description=SDK for Lodging Connectivity APIs

Expand Down

0 comments on commit 88e44c8

Please sign in to comment.