@blocklet/server-js 1.17.4-beta-20251202-034514-637cd8e2 → 1.17.4-beta-20251202-122551-267b614d
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/dist/browser.d.ts +19 -0
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +118 -0
- package/dist/types.js +40 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +36 -1
- package/lib/node.d.ts +19 -0
- package/lib/schema/graphql.json +118 -0
- package/lib/types.js +40 -0
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/docs/QUERIES.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ABT Node GraphQL API List
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
> Updated on 2025-11-
|
|
4
|
+
> Updated on 2025-11-30T16:10:00.856Z
|
|
5
5
|
|
|
6
6
|
## Table of Contents
|
|
7
7
|
|
|
@@ -5884,8 +5884,10 @@ No arguments
|
|
|
5884
5884
|
type
|
|
5885
5885
|
updatedAt
|
|
5886
5886
|
params {
|
|
5887
|
+
consecutiveFailures
|
|
5887
5888
|
defaultValue
|
|
5888
5889
|
description
|
|
5890
|
+
enabled
|
|
5889
5891
|
name
|
|
5890
5892
|
required
|
|
5891
5893
|
type
|
|
@@ -5913,8 +5915,10 @@ No arguments
|
|
|
5913
5915
|
title
|
|
5914
5916
|
type
|
|
5915
5917
|
params {
|
|
5918
|
+
consecutiveFailures
|
|
5916
5919
|
defaultValue
|
|
5917
5920
|
description
|
|
5921
|
+
enabled
|
|
5918
5922
|
name
|
|
5919
5923
|
required
|
|
5920
5924
|
type
|
|
@@ -48483,8 +48487,10 @@ mutation {
|
|
|
48483
48487
|
title
|
|
48484
48488
|
type
|
|
48485
48489
|
params {
|
|
48490
|
+
consecutiveFailures
|
|
48486
48491
|
defaultValue
|
|
48487
48492
|
description
|
|
48493
|
+
enabled
|
|
48488
48494
|
name
|
|
48489
48495
|
required
|
|
48490
48496
|
type
|
|
@@ -48511,6 +48517,35 @@ mutation {
|
|
|
48511
48517
|
}
|
|
48512
48518
|
```
|
|
48513
48519
|
|
|
48520
|
+
### updateWebHookState
|
|
48521
|
+
|
|
48522
|
+
#### Arguments
|
|
48523
|
+
|
|
48524
|
+
* **input**, optional, null
|
|
48525
|
+
|
|
48526
|
+
#### Result Format
|
|
48527
|
+
|
|
48528
|
+
```graphql
|
|
48529
|
+
mutation {
|
|
48530
|
+
updateWebHookState {
|
|
48531
|
+
data {
|
|
48532
|
+
apiVersion
|
|
48533
|
+
createdAt
|
|
48534
|
+
description
|
|
48535
|
+
id
|
|
48536
|
+
metadata
|
|
48537
|
+
status
|
|
48538
|
+
updatedAt
|
|
48539
|
+
url
|
|
48540
|
+
enabledEvents {
|
|
48541
|
+
source
|
|
48542
|
+
type
|
|
48543
|
+
}
|
|
48544
|
+
}
|
|
48545
|
+
}
|
|
48546
|
+
}
|
|
48547
|
+
```
|
|
48548
|
+
|
|
48514
48549
|
### createProject
|
|
48515
48550
|
|
|
48516
48551
|
#### Arguments
|
package/lib/node.d.ts
CHANGED
|
@@ -454,6 +454,9 @@ declare class ABTNodeClient {
|
|
|
454
454
|
verifyAccessKey(params: PartialDeep<ABTNodeClient.VerifyAccessKeyParams>): Promise<ABTNodeClient.ResponseAccessKey>;
|
|
455
455
|
createWebHook(params: PartialDeep<ABTNodeClient.CreateWebHookParams>): Promise<ABTNodeClient.ResponseCreateWebHook>;
|
|
456
456
|
deleteWebHook(params: PartialDeep<ABTNodeClient.DeleteWebHookParams>): Promise<ABTNodeClient.ResponseDeleteWebHook>;
|
|
457
|
+
updateWebHookState(
|
|
458
|
+
params: PartialDeep<ABTNodeClient.UpdateWebHookStateParams>
|
|
459
|
+
): Promise<ABTNodeClient.ResponseCreateWebhookEndpoint>;
|
|
457
460
|
createProject(params: PartialDeep<ABTNodeClient.CreateProjectParams>): Promise<ABTNodeClient.ResponseProject>;
|
|
458
461
|
updateProject(params: PartialDeep<ABTNodeClient.UpdateProjectParams>): Promise<ABTNodeClient.ResponseProject>;
|
|
459
462
|
deleteProject(params: PartialDeep<ABTNodeClient.DeleteProjectParams>): Promise<ABTNodeClient.GeneralResponse>;
|
|
@@ -2251,6 +2254,13 @@ declare namespace ABTNodeClient {
|
|
|
2251
2254
|
tags: number[];
|
|
2252
2255
|
}
|
|
2253
2256
|
|
|
2257
|
+
interface RequestUpdateWebHookStateInput {
|
|
2258
|
+
id: string;
|
|
2259
|
+
url: string;
|
|
2260
|
+
enabled: boolean;
|
|
2261
|
+
consecutiveFailures: number;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2254
2264
|
interface RequestUpdateWebhookEndpointInput {
|
|
2255
2265
|
teamDid: string;
|
|
2256
2266
|
id: string;
|
|
@@ -2593,6 +2603,8 @@ declare namespace ABTNodeClient {
|
|
|
2593
2603
|
defaultValue: string;
|
|
2594
2604
|
value: string;
|
|
2595
2605
|
type: string;
|
|
2606
|
+
enabled: boolean;
|
|
2607
|
+
consecutiveFailures: number;
|
|
2596
2608
|
}
|
|
2597
2609
|
|
|
2598
2610
|
interface WebhookEndpointStateInput {
|
|
@@ -3524,6 +3536,7 @@ declare namespace ABTNodeClient {
|
|
|
3524
3536
|
verifyAccessKey: ABTNodeClient.ResponseAccessKey;
|
|
3525
3537
|
createWebHook: ABTNodeClient.ResponseCreateWebHook;
|
|
3526
3538
|
deleteWebHook: ABTNodeClient.ResponseDeleteWebHook;
|
|
3539
|
+
updateWebHookState: ABTNodeClient.ResponseCreateWebhookEndpoint;
|
|
3527
3540
|
createProject: ABTNodeClient.ResponseProject;
|
|
3528
3541
|
updateProject: ABTNodeClient.ResponseProject;
|
|
3529
3542
|
deleteProject: ABTNodeClient.GeneralResponse;
|
|
@@ -5007,6 +5020,8 @@ declare namespace ABTNodeClient {
|
|
|
5007
5020
|
defaultValue: string;
|
|
5008
5021
|
value: string;
|
|
5009
5022
|
type: string;
|
|
5023
|
+
enabled: boolean;
|
|
5024
|
+
consecutiveFailures: number;
|
|
5010
5025
|
}
|
|
5011
5026
|
|
|
5012
5027
|
interface WebHookSender {
|
|
@@ -5842,6 +5857,10 @@ declare namespace ABTNodeClient {
|
|
|
5842
5857
|
input: ABTNodeClient.RequestDeleteWebHookInput;
|
|
5843
5858
|
}
|
|
5844
5859
|
|
|
5860
|
+
interface UpdateWebHookStateParams {
|
|
5861
|
+
input: ABTNodeClient.RequestUpdateWebHookStateInput;
|
|
5862
|
+
}
|
|
5863
|
+
|
|
5845
5864
|
interface CreateProjectParams {
|
|
5846
5865
|
input: ABTNodeClient.RequestCreateProjectInput;
|
|
5847
5866
|
}
|
package/lib/schema/graphql.json
CHANGED
|
@@ -11782,6 +11782,57 @@
|
|
|
11782
11782
|
"enumValues": null,
|
|
11783
11783
|
"possibleTypes": null
|
|
11784
11784
|
},
|
|
11785
|
+
{
|
|
11786
|
+
"kind": "INPUT_OBJECT",
|
|
11787
|
+
"name": "RequestUpdateWebHookStateInput",
|
|
11788
|
+
"description": null,
|
|
11789
|
+
"fields": null,
|
|
11790
|
+
"inputFields": [
|
|
11791
|
+
{
|
|
11792
|
+
"name": "id",
|
|
11793
|
+
"description": null,
|
|
11794
|
+
"type": {
|
|
11795
|
+
"kind": "SCALAR",
|
|
11796
|
+
"name": "String",
|
|
11797
|
+
"ofType": null
|
|
11798
|
+
},
|
|
11799
|
+
"defaultValue": null
|
|
11800
|
+
},
|
|
11801
|
+
{
|
|
11802
|
+
"name": "url",
|
|
11803
|
+
"description": null,
|
|
11804
|
+
"type": {
|
|
11805
|
+
"kind": "SCALAR",
|
|
11806
|
+
"name": "String",
|
|
11807
|
+
"ofType": null
|
|
11808
|
+
},
|
|
11809
|
+
"defaultValue": null
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
"name": "enabled",
|
|
11813
|
+
"description": null,
|
|
11814
|
+
"type": {
|
|
11815
|
+
"kind": "SCALAR",
|
|
11816
|
+
"name": "Boolean",
|
|
11817
|
+
"ofType": null
|
|
11818
|
+
},
|
|
11819
|
+
"defaultValue": null
|
|
11820
|
+
},
|
|
11821
|
+
{
|
|
11822
|
+
"name": "consecutiveFailures",
|
|
11823
|
+
"description": null,
|
|
11824
|
+
"type": {
|
|
11825
|
+
"kind": "SCALAR",
|
|
11826
|
+
"name": "Uint32",
|
|
11827
|
+
"ofType": null
|
|
11828
|
+
},
|
|
11829
|
+
"defaultValue": null
|
|
11830
|
+
}
|
|
11831
|
+
],
|
|
11832
|
+
"interfaces": null,
|
|
11833
|
+
"enumValues": null,
|
|
11834
|
+
"possibleTypes": null
|
|
11835
|
+
},
|
|
11785
11836
|
{
|
|
11786
11837
|
"kind": "INPUT_OBJECT",
|
|
11787
11838
|
"name": "RequestUpdateWebhookEndpointInput",
|
|
@@ -14530,6 +14581,26 @@
|
|
|
14530
14581
|
"ofType": null
|
|
14531
14582
|
},
|
|
14532
14583
|
"defaultValue": null
|
|
14584
|
+
},
|
|
14585
|
+
{
|
|
14586
|
+
"name": "enabled",
|
|
14587
|
+
"description": null,
|
|
14588
|
+
"type": {
|
|
14589
|
+
"kind": "SCALAR",
|
|
14590
|
+
"name": "Boolean",
|
|
14591
|
+
"ofType": null
|
|
14592
|
+
},
|
|
14593
|
+
"defaultValue": null
|
|
14594
|
+
},
|
|
14595
|
+
{
|
|
14596
|
+
"name": "consecutiveFailures",
|
|
14597
|
+
"description": null,
|
|
14598
|
+
"type": {
|
|
14599
|
+
"kind": "SCALAR",
|
|
14600
|
+
"name": "Uint32",
|
|
14601
|
+
"ofType": null
|
|
14602
|
+
},
|
|
14603
|
+
"defaultValue": null
|
|
14533
14604
|
}
|
|
14534
14605
|
],
|
|
14535
14606
|
"interfaces": null,
|
|
@@ -34781,6 +34852,30 @@
|
|
|
34781
34852
|
},
|
|
34782
34853
|
"isDeprecated": false,
|
|
34783
34854
|
"deprecationReason": null
|
|
34855
|
+
},
|
|
34856
|
+
{
|
|
34857
|
+
"name": "enabled",
|
|
34858
|
+
"description": null,
|
|
34859
|
+
"args": [],
|
|
34860
|
+
"type": {
|
|
34861
|
+
"kind": "SCALAR",
|
|
34862
|
+
"name": "Boolean",
|
|
34863
|
+
"ofType": null
|
|
34864
|
+
},
|
|
34865
|
+
"isDeprecated": false,
|
|
34866
|
+
"deprecationReason": null
|
|
34867
|
+
},
|
|
34868
|
+
{
|
|
34869
|
+
"name": "consecutiveFailures",
|
|
34870
|
+
"description": null,
|
|
34871
|
+
"args": [],
|
|
34872
|
+
"type": {
|
|
34873
|
+
"kind": "SCALAR",
|
|
34874
|
+
"name": "Uint32",
|
|
34875
|
+
"ofType": null
|
|
34876
|
+
},
|
|
34877
|
+
"isDeprecated": false,
|
|
34878
|
+
"deprecationReason": null
|
|
34784
34879
|
}
|
|
34785
34880
|
],
|
|
34786
34881
|
"inputFields": null,
|
|
@@ -38816,6 +38911,29 @@
|
|
|
38816
38911
|
"isDeprecated": false,
|
|
38817
38912
|
"deprecationReason": null
|
|
38818
38913
|
},
|
|
38914
|
+
{
|
|
38915
|
+
"name": "updateWebHookState",
|
|
38916
|
+
"description": null,
|
|
38917
|
+
"args": [
|
|
38918
|
+
{
|
|
38919
|
+
"name": "input",
|
|
38920
|
+
"description": null,
|
|
38921
|
+
"type": {
|
|
38922
|
+
"kind": "INPUT_OBJECT",
|
|
38923
|
+
"name": "RequestUpdateWebHookStateInput",
|
|
38924
|
+
"ofType": null
|
|
38925
|
+
},
|
|
38926
|
+
"defaultValue": null
|
|
38927
|
+
}
|
|
38928
|
+
],
|
|
38929
|
+
"type": {
|
|
38930
|
+
"kind": "OBJECT",
|
|
38931
|
+
"name": "ResponseCreateWebhookEndpoint",
|
|
38932
|
+
"ofType": null
|
|
38933
|
+
},
|
|
38934
|
+
"isDeprecated": false,
|
|
38935
|
+
"deprecationReason": null
|
|
38936
|
+
},
|
|
38819
38937
|
{
|
|
38820
38938
|
"name": "createProject",
|
|
38821
38939
|
"description": null,
|
package/lib/types.js
CHANGED
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
* // verifyAccessKey,
|
|
222
222
|
* // createWebHook,
|
|
223
223
|
* // deleteWebHook,
|
|
224
|
+
* // updateWebHookState,
|
|
224
225
|
* // createProject,
|
|
225
226
|
* // updateProject,
|
|
226
227
|
* // deleteProject,
|
|
@@ -2781,6 +2782,17 @@
|
|
|
2781
2782
|
* @property {Array<...ABTNodeClient.null>} tags
|
|
2782
2783
|
*/
|
|
2783
2784
|
|
|
2785
|
+
/**
|
|
2786
|
+
* Structure of ABTNodeClient.RequestUpdateWebHookStateInput
|
|
2787
|
+
*
|
|
2788
|
+
* @memberof ABTNodeClient
|
|
2789
|
+
* @typedef {object} ABTNodeClient.RequestUpdateWebHookStateInput
|
|
2790
|
+
* @property {string} id
|
|
2791
|
+
* @property {string} url
|
|
2792
|
+
* @property {boolean} enabled
|
|
2793
|
+
* @property {number} consecutiveFailures
|
|
2794
|
+
*/
|
|
2795
|
+
|
|
2784
2796
|
/**
|
|
2785
2797
|
* Structure of ABTNodeClient.RequestUpdateWebhookEndpointInput
|
|
2786
2798
|
*
|
|
@@ -3291,6 +3303,8 @@
|
|
|
3291
3303
|
* @property {string} defaultValue
|
|
3292
3304
|
* @property {string} value
|
|
3293
3305
|
* @property {string} type
|
|
3306
|
+
* @property {boolean} enabled
|
|
3307
|
+
* @property {number} consecutiveFailures
|
|
3294
3308
|
*/
|
|
3295
3309
|
|
|
3296
3310
|
/**
|
|
@@ -4574,6 +4588,7 @@
|
|
|
4574
4588
|
* @property {...ABTNodeClient.ResponseAccessKey} verifyAccessKey
|
|
4575
4589
|
* @property {...ABTNodeClient.ResponseCreateWebHook} createWebHook
|
|
4576
4590
|
* @property {...ABTNodeClient.ResponseDeleteWebHook} deleteWebHook
|
|
4591
|
+
* @property {...ABTNodeClient.ResponseCreateWebhookEndpoint} updateWebHookState
|
|
4577
4592
|
* @property {...ABTNodeClient.ResponseProject} createProject
|
|
4578
4593
|
* @property {...ABTNodeClient.ResponseProject} updateProject
|
|
4579
4594
|
* @property {...ABTNodeClient.GeneralResponse} deleteProject
|
|
@@ -7301,6 +7316,8 @@
|
|
|
7301
7316
|
* @property {string} defaultValue
|
|
7302
7317
|
* @property {string} value
|
|
7303
7318
|
* @property {string} type
|
|
7319
|
+
* @property {boolean} enabled
|
|
7320
|
+
* @property {number} consecutiveFailures
|
|
7304
7321
|
*/
|
|
7305
7322
|
|
|
7306
7323
|
/**
|
|
@@ -9847,6 +9864,19 @@
|
|
|
9847
9864
|
* @property {...ABTNodeClient.RequestDeleteWebHookInput} input
|
|
9848
9865
|
*/
|
|
9849
9866
|
|
|
9867
|
+
/**
|
|
9868
|
+
* Structure of ABTNodeClient.UpdateWebHookStateParams
|
|
9869
|
+
*
|
|
9870
|
+
* Checkout the following snippet for the format of UpdateWebHookStateParams:
|
|
9871
|
+
* ```json
|
|
9872
|
+
{}
|
|
9873
|
+
* ```
|
|
9874
|
+
*
|
|
9875
|
+
* @memberof ABTNodeClient
|
|
9876
|
+
* @typedef {object} ABTNodeClient.UpdateWebHookStateParams
|
|
9877
|
+
* @property {...ABTNodeClient.RequestUpdateWebHookStateInput} input
|
|
9878
|
+
*/
|
|
9879
|
+
|
|
9850
9880
|
/**
|
|
9851
9881
|
* Structure of ABTNodeClient.CreateProjectParams
|
|
9852
9882
|
*
|
|
@@ -12323,6 +12353,16 @@
|
|
|
12323
12353
|
* @returns {Promise<ABTNodeClient.ResponseDeleteWebHook>} Checkout {@link ABTNodeClient.ResponseDeleteWebHook} for resolved data format
|
|
12324
12354
|
*/
|
|
12325
12355
|
|
|
12356
|
+
/**
|
|
12357
|
+
* updateWebHookState
|
|
12358
|
+
*
|
|
12359
|
+
* @name ABTNodeClient#updateWebHookState
|
|
12360
|
+
* @param {ABTNodeClient.UpdateWebHookStateParams} params
|
|
12361
|
+
* @function
|
|
12362
|
+
* @memberof ABTNodeClient
|
|
12363
|
+
* @returns {Promise<ABTNodeClient.ResponseCreateWebhookEndpoint>} Checkout {@link ABTNodeClient.ResponseCreateWebhookEndpoint} for resolved data format
|
|
12364
|
+
*/
|
|
12365
|
+
|
|
12326
12366
|
/**
|
|
12327
12367
|
* createProject
|
|
12328
12368
|
*
|