@@ -39,7 +39,7 @@ class OperationalWebhookEndpoint internal constructor(token: String, options: Sv
39
39
options : OperationalWebhookEndpointListOptions = OperationalWebhookEndpointListOptions ()
40
40
): ListResponseOperationalWebhookEndpointOut {
41
41
try {
42
- return api.listOperationalWebhookEndpoints (
42
+ return api.v1OperationalWebhookEndpointList (
43
43
options.limit,
44
44
options.iterator,
45
45
options.order,
@@ -54,15 +54,15 @@ class OperationalWebhookEndpoint internal constructor(token: String, options: Sv
54
54
options : PostOptions = PostOptions (),
55
55
): OperationalWebhookEndpointOut {
56
56
try {
57
- return api.createOperationalWebhookEndpoint (endpointIn, options.idempotencyKey)
57
+ return api.v1OperationalWebhookEndpointCreate (endpointIn, options.idempotencyKey)
58
58
} catch (e: Exception ) {
59
59
throw ApiException .wrap(e)
60
60
}
61
61
}
62
62
63
63
suspend fun get (endpointId : String ): OperationalWebhookEndpointOut {
64
64
try {
65
- return api.getOperationalWebhookEndpoint (endpointId)
65
+ return api.v1OperationalWebhookEndpointGet (endpointId)
66
66
} catch (e: Exception ) {
67
67
throw ApiException .wrap(e)
68
68
}
@@ -73,23 +73,23 @@ class OperationalWebhookEndpoint internal constructor(token: String, options: Sv
73
73
endpointUpdate : OperationalWebhookEndpointUpdate ,
74
74
): OperationalWebhookEndpointOut {
75
75
try {
76
- return api.updateOperationalWebhookEndpoint (endpointId, endpointUpdate)
76
+ return api.v1OperationalWebhookEndpointUpdate (endpointId, endpointUpdate)
77
77
} catch (e: Exception ) {
78
78
throw ApiException .wrap(e)
79
79
}
80
80
}
81
81
82
82
suspend fun delete (endpointId : String ) {
83
83
try {
84
- api.deleteOperationalWebhookEndpoint (endpointId)
84
+ api.v1OperationalWebhookEndpointDelete (endpointId)
85
85
} catch (e: Exception ) {
86
86
throw ApiException .wrap(e)
87
87
}
88
88
}
89
89
90
90
suspend fun getSecret (endpointId : String ): OperationalWebhookEndpointSecretOut {
91
91
try {
92
- return api.getOperationalWebhookEndpointSecret (endpointId)
92
+ return api.v1OperationalWebhookEndpointGetSecret (endpointId)
93
93
} catch (e: Exception ) {
94
94
throw ApiException .wrap(e)
95
95
}
@@ -101,7 +101,7 @@ class OperationalWebhookEndpoint internal constructor(token: String, options: Sv
101
101
options : PostOptions = PostOptions (),
102
102
) {
103
103
try {
104
- api.rotateOperationalWebhookEndpointSecret (
104
+ api.v1OperationalWebhookEndpointRotateSecret (
105
105
endpointId,
106
106
endpointSecretRotateIn,
107
107
options.idempotencyKey,
0 commit comments