@abtnode/schema 1.16.40-beta-20250303-132654-d0e1975b → 1.16.40-beta-20250305-010959-40fb1920
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +146 -0
- package/lib/schema.graphqls +146 -0
- package/package.json +2 -2
package/lib/index.js
CHANGED
@@ -172,6 +172,11 @@ input DownloadTokenInput {
|
|
172
172
|
token: String
|
173
173
|
}
|
174
174
|
|
175
|
+
input EnableEventInput {
|
176
|
+
type: String
|
177
|
+
source: String
|
178
|
+
}
|
179
|
+
|
175
180
|
input GatewayInput {
|
176
181
|
requestLimit: RequestLimitInput
|
177
182
|
blockPolicy: BlockPolicyInput
|
@@ -342,6 +347,11 @@ input RequestAddRoutingSiteInput {
|
|
342
347
|
rules: [RoutingRuleInput!]
|
343
348
|
}
|
344
349
|
|
350
|
+
input RequestAttemptIdInput {
|
351
|
+
eventId: String
|
352
|
+
webhookId: String
|
353
|
+
}
|
354
|
+
|
345
355
|
input RequestAuditFederatedLoginInput {
|
346
356
|
did: String
|
347
357
|
memberPid: String
|
@@ -548,6 +558,11 @@ input RequestCreateWebHookInput {
|
|
548
558
|
params: [WebHookParamInput!]
|
549
559
|
}
|
550
560
|
|
561
|
+
input RequestCreateWebhookEndpointInput {
|
562
|
+
teamDid: String
|
563
|
+
input: WebhookEndpointStateInput
|
564
|
+
}
|
565
|
+
|
551
566
|
input RequestDeleteAccessKeyInput {
|
552
567
|
accessKeyId: String
|
553
568
|
}
|
@@ -636,6 +651,11 @@ input RequestDeleteWebHookInput {
|
|
636
651
|
id: String
|
637
652
|
}
|
638
653
|
|
654
|
+
input RequestDeleteWebhookEndpointInput {
|
655
|
+
teamDid: String
|
656
|
+
id: String
|
657
|
+
}
|
658
|
+
|
639
659
|
input RequestDisbandFederatedLoginInput {
|
640
660
|
did: String
|
641
661
|
}
|
@@ -770,6 +790,22 @@ input RequestGetTrafficInsightsInput {
|
|
770
790
|
paging: PagingInput
|
771
791
|
}
|
772
792
|
|
793
|
+
input RequestGetWebhookAttemptsInput {
|
794
|
+
teamDid: String
|
795
|
+
input: RequestAttemptIdInput
|
796
|
+
paging: PagingInput
|
797
|
+
}
|
798
|
+
|
799
|
+
input RequestGetWebhookEndpointInput {
|
800
|
+
teamDid: String
|
801
|
+
id: String
|
802
|
+
}
|
803
|
+
|
804
|
+
input RequestGetWebhookEndpointsInput {
|
805
|
+
teamDid: String
|
806
|
+
paging: PagingInput
|
807
|
+
}
|
808
|
+
|
773
809
|
input RequestGrantPermissionForRoleInput {
|
774
810
|
teamDid: String
|
775
811
|
roleName: String
|
@@ -1155,6 +1191,12 @@ input RequestUpdateUserTagsInput {
|
|
1155
1191
|
tags: [Uint32!]
|
1156
1192
|
}
|
1157
1193
|
|
1194
|
+
input RequestUpdateWebhookEndpointInput {
|
1195
|
+
teamDid: String
|
1196
|
+
id: String
|
1197
|
+
data: WebhookEndpointStateInput
|
1198
|
+
}
|
1199
|
+
|
1158
1200
|
input RequestUpgradeNodeVersionInput {
|
1159
1201
|
sessionId: String
|
1160
1202
|
}
|
@@ -1372,6 +1414,18 @@ input WebHookParamInput {
|
|
1372
1414
|
type: String
|
1373
1415
|
}
|
1374
1416
|
|
1417
|
+
input WebhookEndpointStateInput {
|
1418
|
+
id: String
|
1419
|
+
apiVersion: String
|
1420
|
+
url: String
|
1421
|
+
description: String
|
1422
|
+
enabledEvents: [EnableEventInput!]
|
1423
|
+
metadata: Any
|
1424
|
+
status: String
|
1425
|
+
createdAt: Uint32
|
1426
|
+
updatedAt: Uint32
|
1427
|
+
}
|
1428
|
+
|
1375
1429
|
type AccessKey {
|
1376
1430
|
accessKeyId: String
|
1377
1431
|
accessKeyPublic: String
|
@@ -1939,6 +1993,11 @@ type DockerRunKeyValuePair {
|
|
1939
1993
|
protocol: String
|
1940
1994
|
}
|
1941
1995
|
|
1996
|
+
type EnableEvent {
|
1997
|
+
type: String
|
1998
|
+
source: String
|
1999
|
+
}
|
2000
|
+
|
1942
2001
|
type Environment {
|
1943
2002
|
name: String
|
1944
2003
|
description: String
|
@@ -2505,6 +2564,10 @@ type ResponseCreateWebHook {
|
|
2505
2564
|
webhook: WebHookSender
|
2506
2565
|
}
|
2507
2566
|
|
2567
|
+
type ResponseCreateWebhookEndpoint {
|
2568
|
+
data: WebhookEndpointState
|
2569
|
+
}
|
2570
|
+
|
2508
2571
|
type ResponseDelegationState {
|
2509
2572
|
code: StatusCode
|
2510
2573
|
state: DelegationState
|
@@ -2522,6 +2585,10 @@ type ResponseDeleteWebHook {
|
|
2522
2585
|
code: StatusCode
|
2523
2586
|
}
|
2524
2587
|
|
2588
|
+
type ResponseDeleteWebhookEndpoint {
|
2589
|
+
data: WebhookEndpointState
|
2590
|
+
}
|
2591
|
+
|
2525
2592
|
type ResponseDisconnectFromStore {
|
2526
2593
|
code: StatusCode
|
2527
2594
|
}
|
@@ -2667,6 +2734,20 @@ type ResponseGetUsersCountPerRole {
|
|
2667
2734
|
counts: [KeyValue!]
|
2668
2735
|
}
|
2669
2736
|
|
2737
|
+
type ResponseGetWebhookAttempts {
|
2738
|
+
list: [WebhookAttemptWithEndpointEventState!]
|
2739
|
+
paging: Paging
|
2740
|
+
}
|
2741
|
+
|
2742
|
+
type ResponseGetWebhookEndpoint {
|
2743
|
+
data: WebhookEndpointWithUserInfo
|
2744
|
+
}
|
2745
|
+
|
2746
|
+
type ResponseGetWebhookEndpoints {
|
2747
|
+
list: [WebhookEndpointWithUserInfo!]
|
2748
|
+
paging: Paging
|
2749
|
+
}
|
2750
|
+
|
2670
2751
|
type ResponseIsDidDomain {
|
2671
2752
|
code: StatusCode
|
2672
2753
|
value: Boolean
|
@@ -2797,6 +2878,10 @@ type ResponseUpdateNginxHttpsCert {
|
|
2797
2878
|
code: StatusCode
|
2798
2879
|
}
|
2799
2880
|
|
2881
|
+
type ResponseUpdateWebhookEndpoint {
|
2882
|
+
data: WebhookEndpointState
|
2883
|
+
}
|
2884
|
+
|
2800
2885
|
type ResponseUpgradeNodeVersion {
|
2801
2886
|
code: StatusCode
|
2802
2887
|
sessionId: String
|
@@ -3080,6 +3165,61 @@ type WebHookSender {
|
|
3080
3165
|
params: [WebHookParam!]
|
3081
3166
|
}
|
3082
3167
|
|
3168
|
+
type WebhookAttemptWithEndpointEventState {
|
3169
|
+
id: String
|
3170
|
+
eventId: String
|
3171
|
+
webhookId: String
|
3172
|
+
status: String
|
3173
|
+
responseStatus: Uint32
|
3174
|
+
responseBody: Any
|
3175
|
+
retryCount: Uint32
|
3176
|
+
createdAt: Uint32
|
3177
|
+
updatedAt: Uint32
|
3178
|
+
endpoint: WebhookEndpointState
|
3179
|
+
event: WebhookEventState
|
3180
|
+
}
|
3181
|
+
|
3182
|
+
type WebhookEndpointState {
|
3183
|
+
id: String
|
3184
|
+
apiVersion: String
|
3185
|
+
url: String
|
3186
|
+
description: String
|
3187
|
+
enabledEvents: [EnableEvent!]
|
3188
|
+
metadata: Any
|
3189
|
+
status: String
|
3190
|
+
createdAt: Uint32
|
3191
|
+
updatedAt: Uint32
|
3192
|
+
}
|
3193
|
+
|
3194
|
+
type WebhookEndpointWithUserInfo {
|
3195
|
+
id: String
|
3196
|
+
apiVersion: String
|
3197
|
+
url: String
|
3198
|
+
description: String
|
3199
|
+
enabledEvents: [EnableEvent!]
|
3200
|
+
metadata: Any
|
3201
|
+
status: String
|
3202
|
+
createdAt: Uint32
|
3203
|
+
updatedAt: Uint32
|
3204
|
+
createUser: UserInfo
|
3205
|
+
updateUser: UserInfo
|
3206
|
+
}
|
3207
|
+
|
3208
|
+
type WebhookEventState {
|
3209
|
+
id: String
|
3210
|
+
type: String
|
3211
|
+
apiVersion: String
|
3212
|
+
data: Any
|
3213
|
+
objectType: String
|
3214
|
+
objectId: String
|
3215
|
+
request: Any
|
3216
|
+
pendingWebhooks: Uint32
|
3217
|
+
metadata: Any
|
3218
|
+
createdAt: Uint32
|
3219
|
+
updatedAt: Uint32
|
3220
|
+
source: String
|
3221
|
+
}
|
3222
|
+
|
3083
3223
|
type WebhookStatistics {
|
3084
3224
|
total: Uint32
|
3085
3225
|
pending: [String!]
|
@@ -3320,6 +3460,9 @@ type Mutation {
|
|
3320
3460
|
updateBlockletAccessPolicy(input: RequestUpdateBlockletAccessPolicyInput): ResponseBlockletAccessPolicy
|
3321
3461
|
deleteBlockletAccessPolicy(input: RequestDeleteBlockletAccessPolicyInput): GeneralResponse
|
3322
3462
|
restartAllContainers: ResponseRestartAllContainers
|
3463
|
+
createWebhookEndpoint(input: RequestCreateWebhookEndpointInput): ResponseCreateWebhookEndpoint
|
3464
|
+
updateWebhookEndpoint(input: RequestUpdateWebhookEndpointInput): ResponseUpdateWebhookEndpoint
|
3465
|
+
deleteWebhookEndpoint(input: RequestDeleteWebhookEndpointInput): ResponseDeleteWebhookEndpoint
|
3323
3466
|
}
|
3324
3467
|
|
3325
3468
|
type Query {
|
@@ -3385,4 +3528,7 @@ type Query {
|
|
3385
3528
|
getBlockletResponseHeaderPolicies(input: RequestGetBlockletResponseHeaderPoliciesInput): ResponseBlockletResponseHeaderPolicies
|
3386
3529
|
getBlockletAccessPolicy(input: RequestGetBlockletAccessPolicyInput): ResponseBlockletAccessPolicy
|
3387
3530
|
getBlockletAccessPolicies(input: RequestGetBlockletAccessPoliciesInput): ResponseBlockletAccessPolicies
|
3531
|
+
getWebhookEndpoints(input: RequestGetWebhookEndpointsInput): ResponseGetWebhookEndpoints
|
3532
|
+
getWebhookEndpoint(input: RequestGetWebhookEndpointInput): ResponseGetWebhookEndpoint
|
3533
|
+
getWebhookAttempts(input: RequestGetWebhookAttemptsInput): ResponseGetWebhookAttempts
|
3388
3534
|
}`;
|
package/lib/schema.graphqls
CHANGED
@@ -172,6 +172,11 @@ input DownloadTokenInput {
|
|
172
172
|
token: String
|
173
173
|
}
|
174
174
|
|
175
|
+
input EnableEventInput {
|
176
|
+
type: String
|
177
|
+
source: String
|
178
|
+
}
|
179
|
+
|
175
180
|
input GatewayInput {
|
176
181
|
requestLimit: RequestLimitInput
|
177
182
|
blockPolicy: BlockPolicyInput
|
@@ -342,6 +347,11 @@ input RequestAddRoutingSiteInput {
|
|
342
347
|
rules: [RoutingRuleInput!]
|
343
348
|
}
|
344
349
|
|
350
|
+
input RequestAttemptIdInput {
|
351
|
+
eventId: String
|
352
|
+
webhookId: String
|
353
|
+
}
|
354
|
+
|
345
355
|
input RequestAuditFederatedLoginInput {
|
346
356
|
did: String
|
347
357
|
memberPid: String
|
@@ -548,6 +558,11 @@ input RequestCreateWebHookInput {
|
|
548
558
|
params: [WebHookParamInput!]
|
549
559
|
}
|
550
560
|
|
561
|
+
input RequestCreateWebhookEndpointInput {
|
562
|
+
teamDid: String
|
563
|
+
input: WebhookEndpointStateInput
|
564
|
+
}
|
565
|
+
|
551
566
|
input RequestDeleteAccessKeyInput {
|
552
567
|
accessKeyId: String
|
553
568
|
}
|
@@ -636,6 +651,11 @@ input RequestDeleteWebHookInput {
|
|
636
651
|
id: String
|
637
652
|
}
|
638
653
|
|
654
|
+
input RequestDeleteWebhookEndpointInput {
|
655
|
+
teamDid: String
|
656
|
+
id: String
|
657
|
+
}
|
658
|
+
|
639
659
|
input RequestDisbandFederatedLoginInput {
|
640
660
|
did: String
|
641
661
|
}
|
@@ -770,6 +790,22 @@ input RequestGetTrafficInsightsInput {
|
|
770
790
|
paging: PagingInput
|
771
791
|
}
|
772
792
|
|
793
|
+
input RequestGetWebhookAttemptsInput {
|
794
|
+
teamDid: String
|
795
|
+
input: RequestAttemptIdInput
|
796
|
+
paging: PagingInput
|
797
|
+
}
|
798
|
+
|
799
|
+
input RequestGetWebhookEndpointInput {
|
800
|
+
teamDid: String
|
801
|
+
id: String
|
802
|
+
}
|
803
|
+
|
804
|
+
input RequestGetWebhookEndpointsInput {
|
805
|
+
teamDid: String
|
806
|
+
paging: PagingInput
|
807
|
+
}
|
808
|
+
|
773
809
|
input RequestGrantPermissionForRoleInput {
|
774
810
|
teamDid: String
|
775
811
|
roleName: String
|
@@ -1155,6 +1191,12 @@ input RequestUpdateUserTagsInput {
|
|
1155
1191
|
tags: [Uint32!]
|
1156
1192
|
}
|
1157
1193
|
|
1194
|
+
input RequestUpdateWebhookEndpointInput {
|
1195
|
+
teamDid: String
|
1196
|
+
id: String
|
1197
|
+
data: WebhookEndpointStateInput
|
1198
|
+
}
|
1199
|
+
|
1158
1200
|
input RequestUpgradeNodeVersionInput {
|
1159
1201
|
sessionId: String
|
1160
1202
|
}
|
@@ -1372,6 +1414,18 @@ input WebHookParamInput {
|
|
1372
1414
|
type: String
|
1373
1415
|
}
|
1374
1416
|
|
1417
|
+
input WebhookEndpointStateInput {
|
1418
|
+
id: String
|
1419
|
+
apiVersion: String
|
1420
|
+
url: String
|
1421
|
+
description: String
|
1422
|
+
enabledEvents: [EnableEventInput!]
|
1423
|
+
metadata: Any
|
1424
|
+
status: String
|
1425
|
+
createdAt: Uint32
|
1426
|
+
updatedAt: Uint32
|
1427
|
+
}
|
1428
|
+
|
1375
1429
|
type AccessKey {
|
1376
1430
|
accessKeyId: String
|
1377
1431
|
accessKeyPublic: String
|
@@ -1939,6 +1993,11 @@ type DockerRunKeyValuePair {
|
|
1939
1993
|
protocol: String
|
1940
1994
|
}
|
1941
1995
|
|
1996
|
+
type EnableEvent {
|
1997
|
+
type: String
|
1998
|
+
source: String
|
1999
|
+
}
|
2000
|
+
|
1942
2001
|
type Environment {
|
1943
2002
|
name: String
|
1944
2003
|
description: String
|
@@ -2505,6 +2564,10 @@ type ResponseCreateWebHook {
|
|
2505
2564
|
webhook: WebHookSender
|
2506
2565
|
}
|
2507
2566
|
|
2567
|
+
type ResponseCreateWebhookEndpoint {
|
2568
|
+
data: WebhookEndpointState
|
2569
|
+
}
|
2570
|
+
|
2508
2571
|
type ResponseDelegationState {
|
2509
2572
|
code: StatusCode
|
2510
2573
|
state: DelegationState
|
@@ -2522,6 +2585,10 @@ type ResponseDeleteWebHook {
|
|
2522
2585
|
code: StatusCode
|
2523
2586
|
}
|
2524
2587
|
|
2588
|
+
type ResponseDeleteWebhookEndpoint {
|
2589
|
+
data: WebhookEndpointState
|
2590
|
+
}
|
2591
|
+
|
2525
2592
|
type ResponseDisconnectFromStore {
|
2526
2593
|
code: StatusCode
|
2527
2594
|
}
|
@@ -2667,6 +2734,20 @@ type ResponseGetUsersCountPerRole {
|
|
2667
2734
|
counts: [KeyValue!]
|
2668
2735
|
}
|
2669
2736
|
|
2737
|
+
type ResponseGetWebhookAttempts {
|
2738
|
+
list: [WebhookAttemptWithEndpointEventState!]
|
2739
|
+
paging: Paging
|
2740
|
+
}
|
2741
|
+
|
2742
|
+
type ResponseGetWebhookEndpoint {
|
2743
|
+
data: WebhookEndpointWithUserInfo
|
2744
|
+
}
|
2745
|
+
|
2746
|
+
type ResponseGetWebhookEndpoints {
|
2747
|
+
list: [WebhookEndpointWithUserInfo!]
|
2748
|
+
paging: Paging
|
2749
|
+
}
|
2750
|
+
|
2670
2751
|
type ResponseIsDidDomain {
|
2671
2752
|
code: StatusCode
|
2672
2753
|
value: Boolean
|
@@ -2797,6 +2878,10 @@ type ResponseUpdateNginxHttpsCert {
|
|
2797
2878
|
code: StatusCode
|
2798
2879
|
}
|
2799
2880
|
|
2881
|
+
type ResponseUpdateWebhookEndpoint {
|
2882
|
+
data: WebhookEndpointState
|
2883
|
+
}
|
2884
|
+
|
2800
2885
|
type ResponseUpgradeNodeVersion {
|
2801
2886
|
code: StatusCode
|
2802
2887
|
sessionId: String
|
@@ -3080,6 +3165,61 @@ type WebHookSender {
|
|
3080
3165
|
params: [WebHookParam!]
|
3081
3166
|
}
|
3082
3167
|
|
3168
|
+
type WebhookAttemptWithEndpointEventState {
|
3169
|
+
id: String
|
3170
|
+
eventId: String
|
3171
|
+
webhookId: String
|
3172
|
+
status: String
|
3173
|
+
responseStatus: Uint32
|
3174
|
+
responseBody: Any
|
3175
|
+
retryCount: Uint32
|
3176
|
+
createdAt: Uint32
|
3177
|
+
updatedAt: Uint32
|
3178
|
+
endpoint: WebhookEndpointState
|
3179
|
+
event: WebhookEventState
|
3180
|
+
}
|
3181
|
+
|
3182
|
+
type WebhookEndpointState {
|
3183
|
+
id: String
|
3184
|
+
apiVersion: String
|
3185
|
+
url: String
|
3186
|
+
description: String
|
3187
|
+
enabledEvents: [EnableEvent!]
|
3188
|
+
metadata: Any
|
3189
|
+
status: String
|
3190
|
+
createdAt: Uint32
|
3191
|
+
updatedAt: Uint32
|
3192
|
+
}
|
3193
|
+
|
3194
|
+
type WebhookEndpointWithUserInfo {
|
3195
|
+
id: String
|
3196
|
+
apiVersion: String
|
3197
|
+
url: String
|
3198
|
+
description: String
|
3199
|
+
enabledEvents: [EnableEvent!]
|
3200
|
+
metadata: Any
|
3201
|
+
status: String
|
3202
|
+
createdAt: Uint32
|
3203
|
+
updatedAt: Uint32
|
3204
|
+
createUser: UserInfo
|
3205
|
+
updateUser: UserInfo
|
3206
|
+
}
|
3207
|
+
|
3208
|
+
type WebhookEventState {
|
3209
|
+
id: String
|
3210
|
+
type: String
|
3211
|
+
apiVersion: String
|
3212
|
+
data: Any
|
3213
|
+
objectType: String
|
3214
|
+
objectId: String
|
3215
|
+
request: Any
|
3216
|
+
pendingWebhooks: Uint32
|
3217
|
+
metadata: Any
|
3218
|
+
createdAt: Uint32
|
3219
|
+
updatedAt: Uint32
|
3220
|
+
source: String
|
3221
|
+
}
|
3222
|
+
|
3083
3223
|
type WebhookStatistics {
|
3084
3224
|
total: Uint32
|
3085
3225
|
pending: [String!]
|
@@ -3322,6 +3462,9 @@ type Mutation {
|
|
3322
3462
|
updateBlockletAccessPolicy(input: RequestUpdateBlockletAccessPolicyInput): ResponseBlockletAccessPolicy
|
3323
3463
|
deleteBlockletAccessPolicy(input: RequestDeleteBlockletAccessPolicyInput): GeneralResponse
|
3324
3464
|
restartAllContainers: ResponseRestartAllContainers
|
3465
|
+
createWebhookEndpoint(input: RequestCreateWebhookEndpointInput): ResponseCreateWebhookEndpoint
|
3466
|
+
updateWebhookEndpoint(input: RequestUpdateWebhookEndpointInput): ResponseUpdateWebhookEndpoint
|
3467
|
+
deleteWebhookEndpoint(input: RequestDeleteWebhookEndpointInput): ResponseDeleteWebhookEndpoint
|
3325
3468
|
}
|
3326
3469
|
|
3327
3470
|
type Query {
|
@@ -3387,5 +3530,8 @@ type Query {
|
|
3387
3530
|
getBlockletResponseHeaderPolicies(input: RequestGetBlockletResponseHeaderPoliciesInput): ResponseBlockletResponseHeaderPolicies
|
3388
3531
|
getBlockletAccessPolicy(input: RequestGetBlockletAccessPolicyInput): ResponseBlockletAccessPolicy
|
3389
3532
|
getBlockletAccessPolicies(input: RequestGetBlockletAccessPoliciesInput): ResponseBlockletAccessPolicies
|
3533
|
+
getWebhookEndpoints(input: RequestGetWebhookEndpointsInput): ResponseGetWebhookEndpoints
|
3534
|
+
getWebhookEndpoint(input: RequestGetWebhookEndpointInput): ResponseGetWebhookEndpoint
|
3535
|
+
getWebhookAttempts(input: RequestGetWebhookAttemptsInput): ResponseGetWebhookAttempts
|
3390
3536
|
}
|
3391
3537
|
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"publishConfig": {
|
4
4
|
"access": "public"
|
5
5
|
},
|
6
|
-
"version": "1.16.40-beta-
|
6
|
+
"version": "1.16.40-beta-20250305-010959-40fb1920",
|
7
7
|
"description": "",
|
8
8
|
"main": "lib/index.js",
|
9
9
|
"files": [
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"keywords": [],
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
15
15
|
"license": "Apache-2.0",
|
16
|
-
"gitHead": "
|
16
|
+
"gitHead": "7d1d3b8f7b80e9b2ff06a2ebc19763f4b110815c",
|
17
17
|
"devDependencies": {
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
19
19
|
}
|