Skip to content

Commit bf968a4

Browse files
authored
feat(tem): update Webhook event status (#599)
1 parent 6411155 commit bf968a4

File tree

2 files changed

+2
-4
lines changed
  • scaleway/scaleway/tem/v1alpha1
  • scaleway-async/scaleway_async/tem/v1alpha1

2 files changed

+2
-4
lines changed

scaleway-async/scaleway_async/tem/v1alpha1/types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ def __str__(self) -> str:
121121

122122
class WebhookEventStatus(str, Enum, metaclass=StrEnumMeta):
123123
UNKNOWN_STATUS = "unknown_status"
124-
WAITING = "waiting"
125124
SENDING = "sending"
126125
SENT = "sent"
127-
ERROR = "error"
126+
FAILED = "failed"
128127

129128
def __str__(self) -> str:
130129
return str(self.value)

scaleway/scaleway/tem/v1alpha1/types.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@ def __str__(self) -> str:
121121

122122
class WebhookEventStatus(str, Enum, metaclass=StrEnumMeta):
123123
UNKNOWN_STATUS = "unknown_status"
124-
WAITING = "waiting"
125124
SENDING = "sending"
126125
SENT = "sent"
127-
ERROR = "error"
126+
FAILED = "failed"
128127

129128
def __str__(self) -> str:
130129
return str(self.value)

0 commit comments

Comments
 (0)