@@ -89,12 +89,12 @@ async def list(
89
89
90
90
async def create (
91
91
self ,
92
- endpoint_in : OperationalWebhookEndpointIn ,
92
+ operational_webhook_endpoint_in : OperationalWebhookEndpointIn ,
93
93
options : OperationalWebhookEndpointCreateOptions = OperationalWebhookEndpointCreateOptions (),
94
94
) -> OperationalWebhookEndpointOut :
95
95
return await create_operational_webhook_endpoint .request_asyncio (
96
96
client = self ._client ,
97
- json_body = endpoint_in ,
97
+ json_body = operational_webhook_endpoint_in ,
98
98
** options .to_dict (),
99
99
)
100
100
@@ -104,12 +104,14 @@ async def get(self, endpoint_id: str) -> OperationalWebhookEndpointOut:
104
104
)
105
105
106
106
async def update (
107
- self , endpoint_id : str , endpoint_update : OperationalWebhookEndpointUpdate
107
+ self ,
108
+ endpoint_id : str ,
109
+ operational_webhook_endpoint_update : OperationalWebhookEndpointUpdate ,
108
110
) -> OperationalWebhookEndpointOut :
109
111
return await update_operational_webhook_endpoint .request_asyncio (
110
112
client = self ._client ,
111
113
endpoint_id = endpoint_id ,
112
- json_body = endpoint_update ,
114
+ json_body = operational_webhook_endpoint_update ,
113
115
)
114
116
115
117
async def delete (self , endpoint_id : str ) -> None :
@@ -127,13 +129,13 @@ async def get_secret(self, endpoint_id: str) -> OperationalWebhookEndpointSecret
127
129
async def rotate_secret (
128
130
self ,
129
131
endpoint_id : str ,
130
- endpoint_secret_rotate_in : OperationalWebhookEndpointSecretIn ,
132
+ operational_webhook_endpoint_secret_in : OperationalWebhookEndpointSecretIn ,
131
133
options : OperationalWebhookEndpointRotateSecretOptions = OperationalWebhookEndpointRotateSecretOptions (),
132
134
) -> None :
133
135
return await rotate_operational_webhook_endpoint_secret .request_asyncio (
134
136
client = self ._client ,
135
137
endpoint_id = endpoint_id ,
136
- json_body = endpoint_secret_rotate_in ,
138
+ json_body = operational_webhook_endpoint_secret_in ,
137
139
** options .to_dict (),
138
140
)
139
141
@@ -150,12 +152,12 @@ def list(
150
152
151
153
def create (
152
154
self ,
153
- endpoint_in : OperationalWebhookEndpointIn ,
155
+ operational_webhook_endpoint_in : OperationalWebhookEndpointIn ,
154
156
options : OperationalWebhookEndpointCreateOptions = OperationalWebhookEndpointCreateOptions (),
155
157
) -> OperationalWebhookEndpointOut :
156
158
return create_operational_webhook_endpoint .request_sync (
157
159
client = self ._client ,
158
- json_body = endpoint_in ,
160
+ json_body = operational_webhook_endpoint_in ,
159
161
** options .to_dict (),
160
162
)
161
163
@@ -165,12 +167,14 @@ def get(self, endpoint_id: str) -> OperationalWebhookEndpointOut:
165
167
)
166
168
167
169
def update (
168
- self , endpoint_id : str , endpoint_update : OperationalWebhookEndpointUpdate
170
+ self ,
171
+ endpoint_id : str ,
172
+ operational_webhook_endpoint_update : OperationalWebhookEndpointUpdate ,
169
173
) -> OperationalWebhookEndpointOut :
170
174
return update_operational_webhook_endpoint .request_sync (
171
175
client = self ._client ,
172
176
endpoint_id = endpoint_id ,
173
- json_body = endpoint_update ,
177
+ json_body = operational_webhook_endpoint_update ,
174
178
)
175
179
176
180
def delete (self , endpoint_id : str ) -> None :
@@ -188,12 +192,12 @@ def get_secret(self, endpoint_id: str) -> OperationalWebhookEndpointSecretOut:
188
192
def rotate_secret (
189
193
self ,
190
194
endpoint_id : str ,
191
- endpoint_secret_rotate_in : OperationalWebhookEndpointSecretIn ,
195
+ operational_webhook_endpoint_secret_in : OperationalWebhookEndpointSecretIn ,
192
196
options : OperationalWebhookEndpointRotateSecretOptions = OperationalWebhookEndpointRotateSecretOptions (),
193
197
) -> None :
194
198
return rotate_operational_webhook_endpoint_secret .request_sync (
195
199
client = self ._client ,
196
200
endpoint_id = endpoint_id ,
197
- json_body = endpoint_secret_rotate_in ,
201
+ json_body = operational_webhook_endpoint_secret_in ,
198
202
** options .to_dict (),
199
203
)
0 commit comments