Skip to content

Commit 0de124b

Browse files
authored
build(codegen): updating SDK (#1062)
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent 1af6192 commit 0de124b

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

packages/platform-sdk/src/generated/models/subscription.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -599,12 +599,6 @@ export interface Subscription extends BaseResource {
599599
*
600600
*/
601601
readonly createdBy?: CreatedBy
602-
/**
603-
* Changes subscribed to.
604-
*
605-
*
606-
*/
607-
readonly changes: ChangeSubscription[]
608602
/**
609603
* Messaging service to which the notifications are sent.
610604
*
@@ -623,6 +617,12 @@ export interface Subscription extends BaseResource {
623617
*
624618
*/
625619
readonly messages: MessageSubscription[]
620+
/**
621+
* Changes subscribed to.
622+
*
623+
*
624+
*/
625+
readonly changes: ChangeSubscription[]
626626
/**
627627
* Events subscribed to.
628628
*
@@ -643,16 +643,10 @@ export interface Subscription extends BaseResource {
643643
readonly status: SubscriptionHealthStatus
644644
}
645645
/**
646-
* Either `messages` or `changes` must be set.
646+
* Either `messages`, `changes`, or `events` must be set.
647647
*
648648
*/
649649
export interface SubscriptionDraft {
650-
/**
651-
* Changes to be subscribed to.
652-
*
653-
*
654-
*/
655-
readonly changes?: ChangeSubscription[]
656650
/**
657651
* Messaging service to which the notifications are sent.
658652
*
@@ -671,6 +665,12 @@ export interface SubscriptionDraft {
671665
*
672666
*/
673667
readonly messages?: MessageSubscription[]
668+
/**
669+
* Changes to be subscribed to.
670+
*
671+
*
672+
*/
673+
readonly changes?: ChangeSubscription[]
674674
/**
675675
* Events to be subscribed to.
676676
*

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,3 +406,4 @@ dec65e707130185745930bde27ce78ae64ab29c1
406406
356beed6a818fbf0e5a7f5c4e938d02c2ca174ec
407407
356beed6a818fbf0e5a7f5c4e938d02c2ca174ec
408408
7fc89775aaee48e4af3c517e46b1bd7f4de4779f
409+
ba64943be238cc04b24cfafc30b4e1d47976fd4e

0 commit comments

Comments
 (0)