Skip to content

Commit fd13223

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#63)
1 parent b48f9fe commit fd13223

19 files changed

+3731
-87
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 93
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-2b2258d9781c7527203abfbdb920357dc8215c4691abb70f577e826e95f3aa95.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-937163facfaefdffa0945afb79b5f63748dbb84e812cb7fc955ec666636295dd.yml

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillCloseResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private constructor(
7070
Optional.ofNullable(revertedAt.getNullable("reverted_at"))
7171

7272
/**
73-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
74-
* customer.
73+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
74+
* backfill is scoped to all customers.
7575
*/
7676
fun customerId(): Optional<String> = Optional.ofNullable(customerId.getNullable("customer_id"))
7777

@@ -106,8 +106,8 @@ private constructor(
106106
@JsonProperty("reverted_at") @ExcludeMissing fun _revertedAt() = revertedAt
107107

108108
/**
109-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
110-
* customer.
109+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
110+
* backfill is scoped to all customers.
111111
*/
112112
@JsonProperty("customer_id") @ExcludeMissing fun _customerId() = customerId
113113

@@ -285,14 +285,14 @@ private constructor(
285285
}
286286

287287
/**
288-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
289-
* single customer.
288+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
289+
* backfill is scoped to all customers.
290290
*/
291291
fun customerId(customerId: String) = customerId(JsonField.of(customerId))
292292

293293
/**
294-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
295-
* single customer.
294+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
295+
* backfill is scoped to all customers.
296296
*/
297297
@JsonProperty("customer_id")
298298
@ExcludeMissing

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillCreateParams.kt

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ constructor(
9090
*/
9191
@JsonProperty("close_time") fun closeTime(): OffsetDateTime? = closeTime
9292

93-
/** The ID of the customer to which this backfill is scoped. */
93+
/**
94+
* The Orb-generated ID of the customer to which this backfill is scoped. Omitting this
95+
* field will scope the backfill to all customers.
96+
*/
9497
@JsonProperty("customer_id") fun customerId(): String? = customerId
9598

9699
/**
@@ -100,7 +103,10 @@ constructor(
100103
*/
101104
@JsonProperty("deprecation_filter") fun deprecationFilter(): String? = deprecationFilter
102105

103-
/** The external customer ID of the customer to which this backfill is scoped. */
106+
/**
107+
* The external customer ID of the customer to which this backfill is scoped. Omitting this
108+
* field will scope the backfill to all customers.
109+
*/
104110
@JsonProperty("external_customer_id") fun externalCustomerId(): String? = externalCustomerId
105111

106112
/**
@@ -200,7 +206,10 @@ constructor(
200206
@JsonProperty("close_time")
201207
fun closeTime(closeTime: OffsetDateTime) = apply { this.closeTime = closeTime }
202208

203-
/** The ID of the customer to which this backfill is scoped. */
209+
/**
210+
* The Orb-generated ID of the customer to which this backfill is scoped. Omitting this
211+
* field will scope the backfill to all customers.
212+
*/
204213
@JsonProperty("customer_id")
205214
fun customerId(customerId: String) = apply { this.customerId = customerId }
206215

@@ -214,7 +223,10 @@ constructor(
214223
this.deprecationFilter = deprecationFilter
215224
}
216225

217-
/** The external customer ID of the customer to which this backfill is scoped. */
226+
/**
227+
* The external customer ID of the customer to which this backfill is scoped. Omitting
228+
* this field will scope the backfill to all customers.
229+
*/
218230
@JsonProperty("external_customer_id")
219231
fun externalCustomerId(externalCustomerId: String) = apply {
220232
this.externalCustomerId = externalCustomerId
@@ -349,7 +361,10 @@ constructor(
349361
*/
350362
fun closeTime(closeTime: OffsetDateTime) = apply { this.closeTime = closeTime }
351363

352-
/** The ID of the customer to which this backfill is scoped. */
364+
/**
365+
* The Orb-generated ID of the customer to which this backfill is scoped. Omitting this
366+
* field will scope the backfill to all customers.
367+
*/
353368
fun customerId(customerId: String) = apply { this.customerId = customerId }
354369

355370
/**
@@ -361,7 +376,10 @@ constructor(
361376
this.deprecationFilter = deprecationFilter
362377
}
363378

364-
/** The external customer ID of the customer to which this backfill is scoped. */
379+
/**
380+
* The external customer ID of the customer to which this backfill is scoped. Omitting this
381+
* field will scope the backfill to all customers.
382+
*/
365383
fun externalCustomerId(externalCustomerId: String) = apply {
366384
this.externalCustomerId = externalCustomerId
367385
}

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillCreateResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private constructor(
7070
Optional.ofNullable(revertedAt.getNullable("reverted_at"))
7171

7272
/**
73-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
74-
* customer.
73+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
74+
* backfill is scoped to all customers.
7575
*/
7676
fun customerId(): Optional<String> = Optional.ofNullable(customerId.getNullable("customer_id"))
7777

@@ -106,8 +106,8 @@ private constructor(
106106
@JsonProperty("reverted_at") @ExcludeMissing fun _revertedAt() = revertedAt
107107

108108
/**
109-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
110-
* customer.
109+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
110+
* backfill is scoped to all customers.
111111
*/
112112
@JsonProperty("customer_id") @ExcludeMissing fun _customerId() = customerId
113113

@@ -285,14 +285,14 @@ private constructor(
285285
}
286286

287287
/**
288-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
289-
* single customer.
288+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
289+
* backfill is scoped to all customers.
290290
*/
291291
fun customerId(customerId: String) = customerId(JsonField.of(customerId))
292292

293293
/**
294-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
295-
* single customer.
294+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
295+
* backfill is scoped to all customers.
296296
*/
297297
@JsonProperty("customer_id")
298298
@ExcludeMissing

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillFetchResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private constructor(
7070
Optional.ofNullable(revertedAt.getNullable("reverted_at"))
7171

7272
/**
73-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
74-
* customer.
73+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
74+
* backfill is scoped to all customers.
7575
*/
7676
fun customerId(): Optional<String> = Optional.ofNullable(customerId.getNullable("customer_id"))
7777

@@ -106,8 +106,8 @@ private constructor(
106106
@JsonProperty("reverted_at") @ExcludeMissing fun _revertedAt() = revertedAt
107107

108108
/**
109-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
110-
* customer.
109+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
110+
* backfill is scoped to all customers.
111111
*/
112112
@JsonProperty("customer_id") @ExcludeMissing fun _customerId() = customerId
113113

@@ -285,14 +285,14 @@ private constructor(
285285
}
286286

287287
/**
288-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
289-
* single customer.
288+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
289+
* backfill is scoped to all customers.
290290
*/
291291
fun customerId(customerId: String) = customerId(JsonField.of(customerId))
292292

293293
/**
294-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
295-
* single customer.
294+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
295+
* backfill is scoped to all customers.
296296
*/
297297
@JsonProperty("customer_id")
298298
@ExcludeMissing

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillListResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private constructor(
7070
Optional.ofNullable(revertedAt.getNullable("reverted_at"))
7171

7272
/**
73-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
74-
* customer.
73+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
74+
* backfill is scoped to all customers.
7575
*/
7676
fun customerId(): Optional<String> = Optional.ofNullable(customerId.getNullable("customer_id"))
7777

@@ -106,8 +106,8 @@ private constructor(
106106
@JsonProperty("reverted_at") @ExcludeMissing fun _revertedAt() = revertedAt
107107

108108
/**
109-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
110-
* customer.
109+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
110+
* backfill is scoped to all customers.
111111
*/
112112
@JsonProperty("customer_id") @ExcludeMissing fun _customerId() = customerId
113113

@@ -285,14 +285,14 @@ private constructor(
285285
}
286286

287287
/**
288-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
289-
* single customer.
288+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
289+
* backfill is scoped to all customers.
290290
*/
291291
fun customerId(customerId: String) = customerId(JsonField.of(customerId))
292292

293293
/**
294-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
295-
* single customer.
294+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
295+
* backfill is scoped to all customers.
296296
*/
297297
@JsonProperty("customer_id")
298298
@ExcludeMissing

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillRevertResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private constructor(
7070
Optional.ofNullable(revertedAt.getNullable("reverted_at"))
7171

7272
/**
73-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
74-
* customer.
73+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
74+
* backfill is scoped to all customers.
7575
*/
7676
fun customerId(): Optional<String> = Optional.ofNullable(customerId.getNullable("customer_id"))
7777

@@ -106,8 +106,8 @@ private constructor(
106106
@JsonProperty("reverted_at") @ExcludeMissing fun _revertedAt() = revertedAt
107107

108108
/**
109-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a single
110-
* customer.
109+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
110+
* backfill is scoped to all customers.
111111
*/
112112
@JsonProperty("customer_id") @ExcludeMissing fun _customerId() = customerId
113113

@@ -285,14 +285,14 @@ private constructor(
285285
}
286286

287287
/**
288-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
289-
* single customer.
288+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
289+
* backfill is scoped to all customers.
290290
*/
291291
fun customerId(customerId: String) = customerId(JsonField.of(customerId))
292292

293293
/**
294-
* The customer ID this backfill is scoped to. If null, this backfill is not scoped to a
295-
* single customer.
294+
* The Orb-generated ID of the customer to which this backfill is scoped. If `null`, this
295+
* backfill is scoped to all customers.
296296
*/
297297
@JsonProperty("customer_id")
298298
@ExcludeMissing

0 commit comments

Comments
 (0)