@blocklet/server-js 1.16.52-beta-20251002-030549-0f91dab2 → 1.16.52-beta-20251005-235515-42ad5caf
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 +297 -2
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +2224 -181
- package/dist/types.js +627 -2
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +5778 -3138
- package/lib/node.d.ts +297 -2
- package/lib/schema/graphql.json +2224 -181
- package/lib/types.js +627 -2
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/lib/types.js
CHANGED
|
@@ -96,6 +96,11 @@
|
|
|
96
96
|
* // createOAuthClient,
|
|
97
97
|
* // updateOAuthClient,
|
|
98
98
|
* // deleteOAuthClient,
|
|
99
|
+
* // getOrgs,
|
|
100
|
+
* // getOrg,
|
|
101
|
+
* // getOrgMembers,
|
|
102
|
+
* // getOrgInvitableUsers,
|
|
103
|
+
* // getOrgResource,
|
|
99
104
|
* // ]
|
|
100
105
|
*/
|
|
101
106
|
|
|
@@ -248,6 +253,14 @@
|
|
|
248
253
|
* // connectToAigne,
|
|
249
254
|
* // disconnectToAigne,
|
|
250
255
|
* // verifyAigneConnection,
|
|
256
|
+
* // createOrg,
|
|
257
|
+
* // updateOrg,
|
|
258
|
+
* // deleteOrg,
|
|
259
|
+
* // addOrgMember,
|
|
260
|
+
* // removeOrgMember,
|
|
261
|
+
* // inviteMembersToOrg,
|
|
262
|
+
* // addOrgResource,
|
|
263
|
+
* // migrateOrgResource,
|
|
251
264
|
* // ]
|
|
252
265
|
*/
|
|
253
266
|
|
|
@@ -728,6 +741,34 @@
|
|
|
728
741
|
* @property {...ABTNodeClient.UserInfoInput} createUser
|
|
729
742
|
*/
|
|
730
743
|
|
|
744
|
+
/**
|
|
745
|
+
* Structure of ABTNodeClient.OrgInput
|
|
746
|
+
*
|
|
747
|
+
* @memberof ABTNodeClient
|
|
748
|
+
* @typedef {object} ABTNodeClient.OrgInput
|
|
749
|
+
* @property {string} id
|
|
750
|
+
* @property {string} name
|
|
751
|
+
* @property {string} description
|
|
752
|
+
* @property {string} ownerDid
|
|
753
|
+
* @property {number} createdAt
|
|
754
|
+
* @property {number} updatedAt
|
|
755
|
+
* @property {Array<...ABTNodeClient.null>} members
|
|
756
|
+
* @property {...ABTNodeClient.UserInfoInput} owner
|
|
757
|
+
* @property {number} membersCount
|
|
758
|
+
* @property {Array<...ABTNodeClient.null>} passports
|
|
759
|
+
* @property {any} metadata
|
|
760
|
+
*/
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Structure of ABTNodeClient.OrgSettingsInput
|
|
764
|
+
*
|
|
765
|
+
* @memberof ABTNodeClient
|
|
766
|
+
* @typedef {object} ABTNodeClient.OrgSettingsInput
|
|
767
|
+
* @property {boolean} enabled
|
|
768
|
+
* @property {number} maxMemberPerOrg
|
|
769
|
+
* @property {number} maxOrgPerUser
|
|
770
|
+
*/
|
|
771
|
+
|
|
731
772
|
/**
|
|
732
773
|
* Structure of ABTNodeClient.PagingInput
|
|
733
774
|
*
|
|
@@ -941,6 +982,18 @@
|
|
|
941
982
|
* @property {string} certificate
|
|
942
983
|
*/
|
|
943
984
|
|
|
985
|
+
/**
|
|
986
|
+
* Structure of ABTNodeClient.RequestAddOrgResourceInput
|
|
987
|
+
*
|
|
988
|
+
* @memberof ABTNodeClient
|
|
989
|
+
* @typedef {object} ABTNodeClient.RequestAddOrgResourceInput
|
|
990
|
+
* @property {string} teamDid
|
|
991
|
+
* @property {string} orgId
|
|
992
|
+
* @property {Array<...ABTNodeClient.null>} resourceIds
|
|
993
|
+
* @property {string} type
|
|
994
|
+
* @property {any} metadata
|
|
995
|
+
*/
|
|
996
|
+
|
|
944
997
|
/**
|
|
945
998
|
* Structure of ABTNodeClient.RequestAddRoutingRuleInput
|
|
946
999
|
*
|
|
@@ -1078,6 +1131,7 @@
|
|
|
1078
1131
|
* @property {...ABTNodeClient.InviteSettingsInput} invite
|
|
1079
1132
|
* @property {...ABTNodeClient.BlockletGatewayInput} gateway
|
|
1080
1133
|
* @property {...ABTNodeClient.AigneConfigInput} aigne
|
|
1134
|
+
* @property {...ABTNodeClient.OrgSettingsInput} org
|
|
1081
1135
|
*/
|
|
1082
1136
|
|
|
1083
1137
|
/**
|
|
@@ -1277,6 +1331,17 @@
|
|
|
1277
1331
|
* @property {string} passportExpireTime
|
|
1278
1332
|
*/
|
|
1279
1333
|
|
|
1334
|
+
/**
|
|
1335
|
+
* Structure of ABTNodeClient.RequestCreateOrgInput
|
|
1336
|
+
*
|
|
1337
|
+
* @memberof ABTNodeClient
|
|
1338
|
+
* @typedef {object} ABTNodeClient.RequestCreateOrgInput
|
|
1339
|
+
* @property {string} teamDid
|
|
1340
|
+
* @property {string} name
|
|
1341
|
+
* @property {string} description
|
|
1342
|
+
* @property {string} ownerDid
|
|
1343
|
+
*/
|
|
1344
|
+
|
|
1280
1345
|
/**
|
|
1281
1346
|
* Structure of ABTNodeClient.RequestCreatePassportIssuanceInput
|
|
1282
1347
|
*
|
|
@@ -1353,6 +1418,7 @@
|
|
|
1353
1418
|
* @property {string} childName
|
|
1354
1419
|
* @property {Array<...ABTNodeClient.null>} permissions
|
|
1355
1420
|
* @property {string} extra
|
|
1421
|
+
* @property {string} orgId
|
|
1356
1422
|
*/
|
|
1357
1423
|
|
|
1358
1424
|
/**
|
|
@@ -1769,6 +1835,57 @@
|
|
|
1769
1835
|
* @property {Array<...ABTNodeClient.null>} source
|
|
1770
1836
|
*/
|
|
1771
1837
|
|
|
1838
|
+
/**
|
|
1839
|
+
* Structure of ABTNodeClient.RequestGetOrgDataInput
|
|
1840
|
+
*
|
|
1841
|
+
* @memberof ABTNodeClient
|
|
1842
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgDataInput
|
|
1843
|
+
* @property {string} teamDid
|
|
1844
|
+
* @property {string} orgId
|
|
1845
|
+
* @property {...ABTNodeClient.PagingInput} paging
|
|
1846
|
+
*/
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Structure of ABTNodeClient.RequestGetOrgInput
|
|
1850
|
+
*
|
|
1851
|
+
* @memberof ABTNodeClient
|
|
1852
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgInput
|
|
1853
|
+
* @property {string} teamDid
|
|
1854
|
+
* @property {string} id
|
|
1855
|
+
*/
|
|
1856
|
+
|
|
1857
|
+
/**
|
|
1858
|
+
* Structure of ABTNodeClient.RequestGetOrgMemberInput
|
|
1859
|
+
*
|
|
1860
|
+
* @memberof ABTNodeClient
|
|
1861
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgMemberInput
|
|
1862
|
+
* @property {string} teamDid
|
|
1863
|
+
* @property {string} orgId
|
|
1864
|
+
* @property {string} userDid
|
|
1865
|
+
*/
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* Structure of ABTNodeClient.RequestGetOrgResourceInput
|
|
1869
|
+
*
|
|
1870
|
+
* @memberof ABTNodeClient
|
|
1871
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgResourceInput
|
|
1872
|
+
* @property {string} teamDid
|
|
1873
|
+
* @property {string} orgId
|
|
1874
|
+
* @property {string} resourceId
|
|
1875
|
+
*/
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Structure of ABTNodeClient.RequestGetOrgsInput
|
|
1879
|
+
*
|
|
1880
|
+
* @memberof ABTNodeClient
|
|
1881
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgsInput
|
|
1882
|
+
* @property {string} teamDid
|
|
1883
|
+
* @property {...ABTNodeClient.OrgInput} org
|
|
1884
|
+
* @property {...ABTNodeClient.PagingInput} paging
|
|
1885
|
+
* @property {...ABTNodeClient.OrgQueryType} type
|
|
1886
|
+
* @property {string} userDid
|
|
1887
|
+
*/
|
|
1888
|
+
|
|
1772
1889
|
/**
|
|
1773
1890
|
* Structure of ABTNodeClient.RequestGetPassportIssuancesInput
|
|
1774
1891
|
*
|
|
@@ -1922,6 +2039,29 @@
|
|
|
1922
2039
|
* @property {...ABTNodeClient.BlockletDistInput} dist
|
|
1923
2040
|
*/
|
|
1924
2041
|
|
|
2042
|
+
/**
|
|
2043
|
+
* Structure of ABTNodeClient.RequestInvitableUsersInput
|
|
2044
|
+
*
|
|
2045
|
+
* @memberof ABTNodeClient
|
|
2046
|
+
* @typedef {object} ABTNodeClient.RequestInvitableUsersInput
|
|
2047
|
+
* @property {string} teamDid
|
|
2048
|
+
* @property {string} id
|
|
2049
|
+
* @property {...ABTNodeClient.UserQueryInput} query
|
|
2050
|
+
*/
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Structure of ABTNodeClient.RequestInviteMembersToOrgInput
|
|
2054
|
+
*
|
|
2055
|
+
* @memberof ABTNodeClient
|
|
2056
|
+
* @typedef {object} ABTNodeClient.RequestInviteMembersToOrgInput
|
|
2057
|
+
* @property {string} teamDid
|
|
2058
|
+
* @property {string} orgId
|
|
2059
|
+
* @property {Array<...ABTNodeClient.null>} userDids
|
|
2060
|
+
* @property {string} role
|
|
2061
|
+
* @property {string} inviteType
|
|
2062
|
+
* @property {string} email
|
|
2063
|
+
*/
|
|
2064
|
+
|
|
1925
2065
|
/**
|
|
1926
2066
|
* Structure of ABTNodeClient.RequestIsDidDomainInput
|
|
1927
2067
|
*
|
|
@@ -2031,6 +2171,17 @@
|
|
|
2031
2171
|
* @property {string} appSk
|
|
2032
2172
|
*/
|
|
2033
2173
|
|
|
2174
|
+
/**
|
|
2175
|
+
* Structure of ABTNodeClient.RequestMigrateOrgResourceInput
|
|
2176
|
+
*
|
|
2177
|
+
* @memberof ABTNodeClient
|
|
2178
|
+
* @typedef {object} ABTNodeClient.RequestMigrateOrgResourceInput
|
|
2179
|
+
* @property {string} teamDid
|
|
2180
|
+
* @property {string} from
|
|
2181
|
+
* @property {string} to
|
|
2182
|
+
* @property {Array<...ABTNodeClient.null>} resourceIds
|
|
2183
|
+
*/
|
|
2184
|
+
|
|
2034
2185
|
/**
|
|
2035
2186
|
* Structure of ABTNodeClient.RequestNodeRoutingInput
|
|
2036
2187
|
*
|
|
@@ -2368,6 +2519,7 @@
|
|
|
2368
2519
|
* @typedef {object} ABTNodeClient.RequestTeamRoleInput
|
|
2369
2520
|
* @property {string} teamDid
|
|
2370
2521
|
* @property {...ABTNodeClient.RoleUpdateInput} role
|
|
2522
|
+
* @property {string} orgId
|
|
2371
2523
|
*/
|
|
2372
2524
|
|
|
2373
2525
|
/**
|
|
@@ -2505,6 +2657,15 @@
|
|
|
2505
2657
|
* @property {string} name
|
|
2506
2658
|
*/
|
|
2507
2659
|
|
|
2660
|
+
/**
|
|
2661
|
+
* Structure of ABTNodeClient.RequestUpdateOrgInput
|
|
2662
|
+
*
|
|
2663
|
+
* @memberof ABTNodeClient
|
|
2664
|
+
* @typedef {object} ABTNodeClient.RequestUpdateOrgInput
|
|
2665
|
+
* @property {string} teamDid
|
|
2666
|
+
* @property {...ABTNodeClient.OrgInput} org
|
|
2667
|
+
*/
|
|
2668
|
+
|
|
2508
2669
|
/**
|
|
2509
2670
|
* Structure of ABTNodeClient.RequestUpdatePermissionsForRoleInput
|
|
2510
2671
|
*
|
|
@@ -2988,6 +3149,21 @@
|
|
|
2988
3149
|
* @property {Array<...ABTNodeClient.null>} dateRange
|
|
2989
3150
|
*/
|
|
2990
3151
|
|
|
3152
|
+
/**
|
|
3153
|
+
* Structure of ABTNodeClient.UserOrgInput
|
|
3154
|
+
*
|
|
3155
|
+
* @memberof ABTNodeClient
|
|
3156
|
+
* @typedef {object} ABTNodeClient.UserOrgInput
|
|
3157
|
+
* @property {string} id
|
|
3158
|
+
* @property {string} orgId
|
|
3159
|
+
* @property {string} userDid
|
|
3160
|
+
* @property {...ABTNodeClient.OrgUserStatus} status
|
|
3161
|
+
* @property {number} createdAt
|
|
3162
|
+
* @property {number} updatedAt
|
|
3163
|
+
* @property {...ABTNodeClient.UserInfoInput} user
|
|
3164
|
+
* @property {any} metadata
|
|
3165
|
+
*/
|
|
3166
|
+
|
|
2991
3167
|
/**
|
|
2992
3168
|
* Structure of ABTNodeClient.UserPhoneInfoInput
|
|
2993
3169
|
*
|
|
@@ -3678,6 +3854,7 @@
|
|
|
3678
3854
|
* @property {...ABTNodeClient.Gateway} gateway
|
|
3679
3855
|
* @property {boolean} enableSessionHardening
|
|
3680
3856
|
* @property {...ABTNodeClient.AigneConfig} aigne
|
|
3857
|
+
* @property {...ABTNodeClient.OrgSettings} org
|
|
3681
3858
|
*/
|
|
3682
3859
|
|
|
3683
3860
|
/**
|
|
@@ -3864,6 +4041,7 @@
|
|
|
3864
4041
|
* @property {Array<...ABTNodeClient.null>} dependents
|
|
3865
4042
|
* @property {boolean} required
|
|
3866
4043
|
* @property {...ABTNodeClient.RuntimeInfo} appRuntimeInfo
|
|
4044
|
+
* @property {...ABTNodeClient.BlockletStatus} greenStatus
|
|
3867
4045
|
*/
|
|
3868
4046
|
|
|
3869
4047
|
/**
|
|
@@ -4175,6 +4353,18 @@
|
|
|
4175
4353
|
* @property {string} teamDid
|
|
4176
4354
|
* @property {string} interfaceName
|
|
4177
4355
|
* @property {...ABTNodeClient.PassportDisplay} display
|
|
4356
|
+
* @property {string} orgId
|
|
4357
|
+
* @property {Array<...ABTNodeClient.null>} inviteUserDids
|
|
4358
|
+
*/
|
|
4359
|
+
|
|
4360
|
+
/**
|
|
4361
|
+
* Structure of ABTNodeClient.InviteResult
|
|
4362
|
+
*
|
|
4363
|
+
* @memberof ABTNodeClient
|
|
4364
|
+
* @typedef {object} ABTNodeClient.InviteResult
|
|
4365
|
+
* @property {Array<...ABTNodeClient.null>} successDids
|
|
4366
|
+
* @property {Array<...ABTNodeClient.null>} failedDids
|
|
4367
|
+
* @property {string} inviteLink
|
|
4178
4368
|
*/
|
|
4179
4369
|
|
|
4180
4370
|
/**
|
|
@@ -4400,6 +4590,14 @@
|
|
|
4400
4590
|
* @property {...ABTNodeClient.ResponseConnectToEndpoint} connectToAigne
|
|
4401
4591
|
* @property {...ABTNodeClient.GeneralResponse} disconnectToAigne
|
|
4402
4592
|
* @property {...ABTNodeClient.GeneralResponse} verifyAigneConnection
|
|
4593
|
+
* @property {...ABTNodeClient.ResponseGetOrg} createOrg
|
|
4594
|
+
* @property {...ABTNodeClient.ResponseGetOrg} updateOrg
|
|
4595
|
+
* @property {...ABTNodeClient.GeneralResponse} deleteOrg
|
|
4596
|
+
* @property {...ABTNodeClient.ResponseGetOrg} addOrgMember
|
|
4597
|
+
* @property {...ABTNodeClient.GeneralResponse} removeOrgMember
|
|
4598
|
+
* @property {...ABTNodeClient.ResponseInviteMembersToOrg} inviteMembersToOrg
|
|
4599
|
+
* @property {...ABTNodeClient.ResponseOrgResourceOperation} addOrgResource
|
|
4600
|
+
* @property {...ABTNodeClient.ResponseOrgResourceOperation} migrateOrgResource
|
|
4403
4601
|
*/
|
|
4404
4602
|
|
|
4405
4603
|
/**
|
|
@@ -4672,6 +4870,57 @@
|
|
|
4672
4870
|
* @property {boolean} required
|
|
4673
4871
|
*/
|
|
4674
4872
|
|
|
4873
|
+
/**
|
|
4874
|
+
* Structure of ABTNodeClient.Org
|
|
4875
|
+
*
|
|
4876
|
+
* @memberof ABTNodeClient
|
|
4877
|
+
* @typedef {object} ABTNodeClient.Org
|
|
4878
|
+
* @property {string} id
|
|
4879
|
+
* @property {string} name
|
|
4880
|
+
* @property {string} description
|
|
4881
|
+
* @property {string} ownerDid
|
|
4882
|
+
* @property {number} createdAt
|
|
4883
|
+
* @property {number} updatedAt
|
|
4884
|
+
* @property {Array<...ABTNodeClient.null>} members
|
|
4885
|
+
* @property {...ABTNodeClient.UserInfo} owner
|
|
4886
|
+
* @property {number} membersCount
|
|
4887
|
+
* @property {Array<...ABTNodeClient.null>} passports
|
|
4888
|
+
* @property {any} metadata
|
|
4889
|
+
*/
|
|
4890
|
+
|
|
4891
|
+
/**
|
|
4892
|
+
* Structure of ABTNodeClient.OrgResourceResult
|
|
4893
|
+
*
|
|
4894
|
+
* @memberof ABTNodeClient
|
|
4895
|
+
* @typedef {object} ABTNodeClient.OrgResourceResult
|
|
4896
|
+
* @property {Array<...ABTNodeClient.null>} success
|
|
4897
|
+
* @property {Array<...ABTNodeClient.null>} failed
|
|
4898
|
+
*/
|
|
4899
|
+
|
|
4900
|
+
/**
|
|
4901
|
+
* Structure of ABTNodeClient.OrgResources
|
|
4902
|
+
*
|
|
4903
|
+
* @memberof ABTNodeClient
|
|
4904
|
+
* @typedef {object} ABTNodeClient.OrgResources
|
|
4905
|
+
* @property {string} id
|
|
4906
|
+
* @property {string} orgId
|
|
4907
|
+
* @property {string} resourceId
|
|
4908
|
+
* @property {string} type
|
|
4909
|
+
* @property {any} metadata
|
|
4910
|
+
* @property {number} createdAt
|
|
4911
|
+
* @property {number} updatedAt
|
|
4912
|
+
*/
|
|
4913
|
+
|
|
4914
|
+
/**
|
|
4915
|
+
* Structure of ABTNodeClient.OrgSettings
|
|
4916
|
+
*
|
|
4917
|
+
* @memberof ABTNodeClient
|
|
4918
|
+
* @typedef {object} ABTNodeClient.OrgSettings
|
|
4919
|
+
* @property {boolean} enabled
|
|
4920
|
+
* @property {number} maxMemberPerOrg
|
|
4921
|
+
* @property {number} maxOrgPerUser
|
|
4922
|
+
*/
|
|
4923
|
+
|
|
4675
4924
|
/**
|
|
4676
4925
|
* Structure of ABTNodeClient.OwnerNft
|
|
4677
4926
|
*
|
|
@@ -4895,6 +5144,11 @@
|
|
|
4895
5144
|
* @property {...ABTNodeClient.ResponseOAuthClient} createOAuthClient
|
|
4896
5145
|
* @property {...ABTNodeClient.ResponseOAuthClient} updateOAuthClient
|
|
4897
5146
|
* @property {...ABTNodeClient.GeneralResponse} deleteOAuthClient
|
|
5147
|
+
* @property {...ABTNodeClient.ResponseGetOrgs} getOrgs
|
|
5148
|
+
* @property {...ABTNodeClient.ResponseGetOrg} getOrg
|
|
5149
|
+
* @property {...ABTNodeClient.ResponseOrgUsers} getOrgMembers
|
|
5150
|
+
* @property {...ABTNodeClient.ResponseUsers} getOrgInvitableUsers
|
|
5151
|
+
* @property {...ABTNodeClient.ResponseGetOrgResource} getOrgResource
|
|
4898
5152
|
*/
|
|
4899
5153
|
|
|
4900
5154
|
/**
|
|
@@ -5731,6 +5985,34 @@
|
|
|
5731
5985
|
* @property {number} unreadCount
|
|
5732
5986
|
*/
|
|
5733
5987
|
|
|
5988
|
+
/**
|
|
5989
|
+
* Structure of ABTNodeClient.ResponseGetOrg
|
|
5990
|
+
*
|
|
5991
|
+
* @memberof ABTNodeClient
|
|
5992
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrg
|
|
5993
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
5994
|
+
* @property {...ABTNodeClient.Org} org
|
|
5995
|
+
*/
|
|
5996
|
+
|
|
5997
|
+
/**
|
|
5998
|
+
* Structure of ABTNodeClient.ResponseGetOrgResource
|
|
5999
|
+
*
|
|
6000
|
+
* @memberof ABTNodeClient
|
|
6001
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrgResource
|
|
6002
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6003
|
+
* @property {Array<...ABTNodeClient.null>} data
|
|
6004
|
+
*/
|
|
6005
|
+
|
|
6006
|
+
/**
|
|
6007
|
+
* Structure of ABTNodeClient.ResponseGetOrgs
|
|
6008
|
+
*
|
|
6009
|
+
* @memberof ABTNodeClient
|
|
6010
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrgs
|
|
6011
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6012
|
+
* @property {Array<...ABTNodeClient.null>} orgs
|
|
6013
|
+
* @property {...ABTNodeClient.Paging} paging
|
|
6014
|
+
*/
|
|
6015
|
+
|
|
5734
6016
|
/**
|
|
5735
6017
|
* Structure of ABTNodeClient.ResponseGetPassportCountPerRole
|
|
5736
6018
|
*
|
|
@@ -5931,6 +6213,15 @@
|
|
|
5931
6213
|
* @property {...ABTNodeClient.Paging} paging
|
|
5932
6214
|
*/
|
|
5933
6215
|
|
|
6216
|
+
/**
|
|
6217
|
+
* Structure of ABTNodeClient.ResponseInviteMembersToOrg
|
|
6218
|
+
*
|
|
6219
|
+
* @memberof ABTNodeClient
|
|
6220
|
+
* @typedef {object} ABTNodeClient.ResponseInviteMembersToOrg
|
|
6221
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6222
|
+
* @property {...ABTNodeClient.InviteResult} data
|
|
6223
|
+
*/
|
|
6224
|
+
|
|
5934
6225
|
/**
|
|
5935
6226
|
* Structure of ABTNodeClient.ResponseIsDidDomain
|
|
5936
6227
|
*
|
|
@@ -6033,6 +6324,25 @@
|
|
|
6033
6324
|
* @property {Array<...ABTNodeClient.null>} list
|
|
6034
6325
|
*/
|
|
6035
6326
|
|
|
6327
|
+
/**
|
|
6328
|
+
* Structure of ABTNodeClient.ResponseOrgResourceOperation
|
|
6329
|
+
*
|
|
6330
|
+
* @memberof ABTNodeClient
|
|
6331
|
+
* @typedef {object} ABTNodeClient.ResponseOrgResourceOperation
|
|
6332
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6333
|
+
* @property {...ABTNodeClient.OrgResourceResult} data
|
|
6334
|
+
*/
|
|
6335
|
+
|
|
6336
|
+
/**
|
|
6337
|
+
* Structure of ABTNodeClient.ResponseOrgUsers
|
|
6338
|
+
*
|
|
6339
|
+
* @memberof ABTNodeClient
|
|
6340
|
+
* @typedef {object} ABTNodeClient.ResponseOrgUsers
|
|
6341
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6342
|
+
* @property {Array<...ABTNodeClient.null>} users
|
|
6343
|
+
* @property {...ABTNodeClient.Paging} paging
|
|
6344
|
+
*/
|
|
6345
|
+
|
|
6036
6346
|
/**
|
|
6037
6347
|
* Structure of ABTNodeClient.ResponsePassport
|
|
6038
6348
|
*
|
|
@@ -6498,6 +6808,7 @@
|
|
|
6498
6808
|
* @property {string} title
|
|
6499
6809
|
* @property {boolean} isProtected
|
|
6500
6810
|
* @property {any} extra
|
|
6811
|
+
* @property {string} orgId
|
|
6501
6812
|
*/
|
|
6502
6813
|
|
|
6503
6814
|
/**
|
|
@@ -6886,6 +7197,21 @@
|
|
|
6886
7197
|
* @property {Array<...ABTNodeClient.null>} dateRange
|
|
6887
7198
|
*/
|
|
6888
7199
|
|
|
7200
|
+
/**
|
|
7201
|
+
* Structure of ABTNodeClient.UserOrg
|
|
7202
|
+
*
|
|
7203
|
+
* @memberof ABTNodeClient
|
|
7204
|
+
* @typedef {object} ABTNodeClient.UserOrg
|
|
7205
|
+
* @property {string} id
|
|
7206
|
+
* @property {string} orgId
|
|
7207
|
+
* @property {string} userDid
|
|
7208
|
+
* @property {...ABTNodeClient.OrgUserStatus} status
|
|
7209
|
+
* @property {number} createdAt
|
|
7210
|
+
* @property {number} updatedAt
|
|
7211
|
+
* @property {...ABTNodeClient.UserInfo} user
|
|
7212
|
+
* @property {any} metadata
|
|
7213
|
+
*/
|
|
7214
|
+
|
|
6889
7215
|
/**
|
|
6890
7216
|
* Structure of ABTNodeClient.UserPhoneInfo
|
|
6891
7217
|
*
|
|
@@ -7394,7 +7720,7 @@
|
|
|
7394
7720
|
*
|
|
7395
7721
|
* @memberof ABTNodeClient
|
|
7396
7722
|
* @typedef {object} ABTNodeClient.GetRolesParams
|
|
7397
|
-
* @property {...ABTNodeClient.
|
|
7723
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
7398
7724
|
*/
|
|
7399
7725
|
|
|
7400
7726
|
/**
|
|
@@ -7433,7 +7759,7 @@
|
|
|
7433
7759
|
*
|
|
7434
7760
|
* @memberof ABTNodeClient
|
|
7435
7761
|
* @typedef {object} ABTNodeClient.GetInvitationsParams
|
|
7436
|
-
* @property {...ABTNodeClient.
|
|
7762
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
7437
7763
|
*/
|
|
7438
7764
|
|
|
7439
7765
|
/**
|
|
@@ -8073,6 +8399,71 @@
|
|
|
8073
8399
|
* @property {...ABTNodeClient.RequestDeleteOAuthClientInput} input
|
|
8074
8400
|
*/
|
|
8075
8401
|
|
|
8402
|
+
/**
|
|
8403
|
+
* Structure of ABTNodeClient.GetOrgsParams
|
|
8404
|
+
*
|
|
8405
|
+
* Checkout the following snippet for the format of GetOrgsParams:
|
|
8406
|
+
* ```json
|
|
8407
|
+
{}
|
|
8408
|
+
* ```
|
|
8409
|
+
*
|
|
8410
|
+
* @memberof ABTNodeClient
|
|
8411
|
+
* @typedef {object} ABTNodeClient.GetOrgsParams
|
|
8412
|
+
* @property {...ABTNodeClient.RequestGetOrgsInput} input
|
|
8413
|
+
*/
|
|
8414
|
+
|
|
8415
|
+
/**
|
|
8416
|
+
* Structure of ABTNodeClient.GetOrgParams
|
|
8417
|
+
*
|
|
8418
|
+
* Checkout the following snippet for the format of GetOrgParams:
|
|
8419
|
+
* ```json
|
|
8420
|
+
{}
|
|
8421
|
+
* ```
|
|
8422
|
+
*
|
|
8423
|
+
* @memberof ABTNodeClient
|
|
8424
|
+
* @typedef {object} ABTNodeClient.GetOrgParams
|
|
8425
|
+
* @property {...ABTNodeClient.RequestGetOrgInput} input
|
|
8426
|
+
*/
|
|
8427
|
+
|
|
8428
|
+
/**
|
|
8429
|
+
* Structure of ABTNodeClient.GetOrgMembersParams
|
|
8430
|
+
*
|
|
8431
|
+
* Checkout the following snippet for the format of GetOrgMembersParams:
|
|
8432
|
+
* ```json
|
|
8433
|
+
{}
|
|
8434
|
+
* ```
|
|
8435
|
+
*
|
|
8436
|
+
* @memberof ABTNodeClient
|
|
8437
|
+
* @typedef {object} ABTNodeClient.GetOrgMembersParams
|
|
8438
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
8439
|
+
*/
|
|
8440
|
+
|
|
8441
|
+
/**
|
|
8442
|
+
* Structure of ABTNodeClient.GetOrgInvitableUsersParams
|
|
8443
|
+
*
|
|
8444
|
+
* Checkout the following snippet for the format of GetOrgInvitableUsersParams:
|
|
8445
|
+
* ```json
|
|
8446
|
+
{}
|
|
8447
|
+
* ```
|
|
8448
|
+
*
|
|
8449
|
+
* @memberof ABTNodeClient
|
|
8450
|
+
* @typedef {object} ABTNodeClient.GetOrgInvitableUsersParams
|
|
8451
|
+
* @property {...ABTNodeClient.RequestInvitableUsersInput} input
|
|
8452
|
+
*/
|
|
8453
|
+
|
|
8454
|
+
/**
|
|
8455
|
+
* Structure of ABTNodeClient.GetOrgResourceParams
|
|
8456
|
+
*
|
|
8457
|
+
* Checkout the following snippet for the format of GetOrgResourceParams:
|
|
8458
|
+
* ```json
|
|
8459
|
+
{}
|
|
8460
|
+
* ```
|
|
8461
|
+
*
|
|
8462
|
+
* @memberof ABTNodeClient
|
|
8463
|
+
* @typedef {object} ABTNodeClient.GetOrgResourceParams
|
|
8464
|
+
* @property {...ABTNodeClient.RequestGetOrgResourceInput} input
|
|
8465
|
+
*/
|
|
8466
|
+
|
|
8076
8467
|
/**
|
|
8077
8468
|
* Structure of ABTNodeClient.InstallBlockletParams
|
|
8078
8469
|
*
|
|
@@ -9841,6 +10232,110 @@
|
|
|
9841
10232
|
* @property {...ABTNodeClient.RequestVerifyAigneConnectionInput} input
|
|
9842
10233
|
*/
|
|
9843
10234
|
|
|
10235
|
+
/**
|
|
10236
|
+
* Structure of ABTNodeClient.CreateOrgParams
|
|
10237
|
+
*
|
|
10238
|
+
* Checkout the following snippet for the format of CreateOrgParams:
|
|
10239
|
+
* ```json
|
|
10240
|
+
{}
|
|
10241
|
+
* ```
|
|
10242
|
+
*
|
|
10243
|
+
* @memberof ABTNodeClient
|
|
10244
|
+
* @typedef {object} ABTNodeClient.CreateOrgParams
|
|
10245
|
+
* @property {...ABTNodeClient.RequestCreateOrgInput} input
|
|
10246
|
+
*/
|
|
10247
|
+
|
|
10248
|
+
/**
|
|
10249
|
+
* Structure of ABTNodeClient.UpdateOrgParams
|
|
10250
|
+
*
|
|
10251
|
+
* Checkout the following snippet for the format of UpdateOrgParams:
|
|
10252
|
+
* ```json
|
|
10253
|
+
{}
|
|
10254
|
+
* ```
|
|
10255
|
+
*
|
|
10256
|
+
* @memberof ABTNodeClient
|
|
10257
|
+
* @typedef {object} ABTNodeClient.UpdateOrgParams
|
|
10258
|
+
* @property {...ABTNodeClient.RequestUpdateOrgInput} input
|
|
10259
|
+
*/
|
|
10260
|
+
|
|
10261
|
+
/**
|
|
10262
|
+
* Structure of ABTNodeClient.DeleteOrgParams
|
|
10263
|
+
*
|
|
10264
|
+
* Checkout the following snippet for the format of DeleteOrgParams:
|
|
10265
|
+
* ```json
|
|
10266
|
+
{}
|
|
10267
|
+
* ```
|
|
10268
|
+
*
|
|
10269
|
+
* @memberof ABTNodeClient
|
|
10270
|
+
* @typedef {object} ABTNodeClient.DeleteOrgParams
|
|
10271
|
+
* @property {...ABTNodeClient.RequestGetOrgInput} input
|
|
10272
|
+
*/
|
|
10273
|
+
|
|
10274
|
+
/**
|
|
10275
|
+
* Structure of ABTNodeClient.AddOrgMemberParams
|
|
10276
|
+
*
|
|
10277
|
+
* Checkout the following snippet for the format of AddOrgMemberParams:
|
|
10278
|
+
* ```json
|
|
10279
|
+
{}
|
|
10280
|
+
* ```
|
|
10281
|
+
*
|
|
10282
|
+
* @memberof ABTNodeClient
|
|
10283
|
+
* @typedef {object} ABTNodeClient.AddOrgMemberParams
|
|
10284
|
+
* @property {...ABTNodeClient.RequestGetOrgMemberInput} input
|
|
10285
|
+
*/
|
|
10286
|
+
|
|
10287
|
+
/**
|
|
10288
|
+
* Structure of ABTNodeClient.RemoveOrgMemberParams
|
|
10289
|
+
*
|
|
10290
|
+
* Checkout the following snippet for the format of RemoveOrgMemberParams:
|
|
10291
|
+
* ```json
|
|
10292
|
+
{}
|
|
10293
|
+
* ```
|
|
10294
|
+
*
|
|
10295
|
+
* @memberof ABTNodeClient
|
|
10296
|
+
* @typedef {object} ABTNodeClient.RemoveOrgMemberParams
|
|
10297
|
+
* @property {...ABTNodeClient.RequestGetOrgMemberInput} input
|
|
10298
|
+
*/
|
|
10299
|
+
|
|
10300
|
+
/**
|
|
10301
|
+
* Structure of ABTNodeClient.InviteMembersToOrgParams
|
|
10302
|
+
*
|
|
10303
|
+
* Checkout the following snippet for the format of InviteMembersToOrgParams:
|
|
10304
|
+
* ```json
|
|
10305
|
+
{}
|
|
10306
|
+
* ```
|
|
10307
|
+
*
|
|
10308
|
+
* @memberof ABTNodeClient
|
|
10309
|
+
* @typedef {object} ABTNodeClient.InviteMembersToOrgParams
|
|
10310
|
+
* @property {...ABTNodeClient.RequestInviteMembersToOrgInput} input
|
|
10311
|
+
*/
|
|
10312
|
+
|
|
10313
|
+
/**
|
|
10314
|
+
* Structure of ABTNodeClient.AddOrgResourceParams
|
|
10315
|
+
*
|
|
10316
|
+
* Checkout the following snippet for the format of AddOrgResourceParams:
|
|
10317
|
+
* ```json
|
|
10318
|
+
{}
|
|
10319
|
+
* ```
|
|
10320
|
+
*
|
|
10321
|
+
* @memberof ABTNodeClient
|
|
10322
|
+
* @typedef {object} ABTNodeClient.AddOrgResourceParams
|
|
10323
|
+
* @property {...ABTNodeClient.RequestAddOrgResourceInput} input
|
|
10324
|
+
*/
|
|
10325
|
+
|
|
10326
|
+
/**
|
|
10327
|
+
* Structure of ABTNodeClient.MigrateOrgResourceParams
|
|
10328
|
+
*
|
|
10329
|
+
* Checkout the following snippet for the format of MigrateOrgResourceParams:
|
|
10330
|
+
* ```json
|
|
10331
|
+
{}
|
|
10332
|
+
* ```
|
|
10333
|
+
*
|
|
10334
|
+
* @memberof ABTNodeClient
|
|
10335
|
+
* @typedef {object} ABTNodeClient.MigrateOrgResourceParams
|
|
10336
|
+
* @property {...ABTNodeClient.RequestMigrateOrgResourceInput} input
|
|
10337
|
+
*/
|
|
10338
|
+
|
|
9844
10339
|
/**
|
|
9845
10340
|
* getBlocklet
|
|
9846
10341
|
*
|
|
@@ -10701,6 +11196,56 @@
|
|
|
10701
11196
|
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
10702
11197
|
*/
|
|
10703
11198
|
|
|
11199
|
+
/**
|
|
11200
|
+
* getOrgs
|
|
11201
|
+
*
|
|
11202
|
+
* @name ABTNodeClient#getOrgs
|
|
11203
|
+
* @param {ABTNodeClient.GetOrgsParams} params
|
|
11204
|
+
* @function
|
|
11205
|
+
* @memberof ABTNodeClient
|
|
11206
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrgs>} Checkout {@link ABTNodeClient.ResponseGetOrgs} for resolved data format
|
|
11207
|
+
*/
|
|
11208
|
+
|
|
11209
|
+
/**
|
|
11210
|
+
* getOrg
|
|
11211
|
+
*
|
|
11212
|
+
* @name ABTNodeClient#getOrg
|
|
11213
|
+
* @param {ABTNodeClient.GetOrgParams} params
|
|
11214
|
+
* @function
|
|
11215
|
+
* @memberof ABTNodeClient
|
|
11216
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
11217
|
+
*/
|
|
11218
|
+
|
|
11219
|
+
/**
|
|
11220
|
+
* getOrgMembers
|
|
11221
|
+
*
|
|
11222
|
+
* @name ABTNodeClient#getOrgMembers
|
|
11223
|
+
* @param {ABTNodeClient.GetOrgMembersParams} params
|
|
11224
|
+
* @function
|
|
11225
|
+
* @memberof ABTNodeClient
|
|
11226
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgUsers>} Checkout {@link ABTNodeClient.ResponseOrgUsers} for resolved data format
|
|
11227
|
+
*/
|
|
11228
|
+
|
|
11229
|
+
/**
|
|
11230
|
+
* getOrgInvitableUsers
|
|
11231
|
+
*
|
|
11232
|
+
* @name ABTNodeClient#getOrgInvitableUsers
|
|
11233
|
+
* @param {ABTNodeClient.GetOrgInvitableUsersParams} params
|
|
11234
|
+
* @function
|
|
11235
|
+
* @memberof ABTNodeClient
|
|
11236
|
+
* @returns {Promise<ABTNodeClient.ResponseUsers>} Checkout {@link ABTNodeClient.ResponseUsers} for resolved data format
|
|
11237
|
+
*/
|
|
11238
|
+
|
|
11239
|
+
/**
|
|
11240
|
+
* getOrgResource
|
|
11241
|
+
*
|
|
11242
|
+
* @name ABTNodeClient#getOrgResource
|
|
11243
|
+
* @param {ABTNodeClient.GetOrgResourceParams} params
|
|
11244
|
+
* @function
|
|
11245
|
+
* @memberof ABTNodeClient
|
|
11246
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrgResource>} Checkout {@link ABTNodeClient.ResponseGetOrgResource} for resolved data format
|
|
11247
|
+
*/
|
|
11248
|
+
|
|
10704
11249
|
/**
|
|
10705
11250
|
* installBlocklet
|
|
10706
11251
|
*
|
|
@@ -12078,5 +12623,85 @@
|
|
|
12078
12623
|
* @memberof ABTNodeClient
|
|
12079
12624
|
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12080
12625
|
*/
|
|
12626
|
+
|
|
12627
|
+
/**
|
|
12628
|
+
* createOrg
|
|
12629
|
+
*
|
|
12630
|
+
* @name ABTNodeClient#createOrg
|
|
12631
|
+
* @param {ABTNodeClient.CreateOrgParams} params
|
|
12632
|
+
* @function
|
|
12633
|
+
* @memberof ABTNodeClient
|
|
12634
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12635
|
+
*/
|
|
12636
|
+
|
|
12637
|
+
/**
|
|
12638
|
+
* updateOrg
|
|
12639
|
+
*
|
|
12640
|
+
* @name ABTNodeClient#updateOrg
|
|
12641
|
+
* @param {ABTNodeClient.UpdateOrgParams} params
|
|
12642
|
+
* @function
|
|
12643
|
+
* @memberof ABTNodeClient
|
|
12644
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12645
|
+
*/
|
|
12646
|
+
|
|
12647
|
+
/**
|
|
12648
|
+
* deleteOrg
|
|
12649
|
+
*
|
|
12650
|
+
* @name ABTNodeClient#deleteOrg
|
|
12651
|
+
* @param {ABTNodeClient.DeleteOrgParams} params
|
|
12652
|
+
* @function
|
|
12653
|
+
* @memberof ABTNodeClient
|
|
12654
|
+
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12655
|
+
*/
|
|
12656
|
+
|
|
12657
|
+
/**
|
|
12658
|
+
* addOrgMember
|
|
12659
|
+
*
|
|
12660
|
+
* @name ABTNodeClient#addOrgMember
|
|
12661
|
+
* @param {ABTNodeClient.AddOrgMemberParams} params
|
|
12662
|
+
* @function
|
|
12663
|
+
* @memberof ABTNodeClient
|
|
12664
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12665
|
+
*/
|
|
12666
|
+
|
|
12667
|
+
/**
|
|
12668
|
+
* removeOrgMember
|
|
12669
|
+
*
|
|
12670
|
+
* @name ABTNodeClient#removeOrgMember
|
|
12671
|
+
* @param {ABTNodeClient.RemoveOrgMemberParams} params
|
|
12672
|
+
* @function
|
|
12673
|
+
* @memberof ABTNodeClient
|
|
12674
|
+
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12675
|
+
*/
|
|
12676
|
+
|
|
12677
|
+
/**
|
|
12678
|
+
* inviteMembersToOrg
|
|
12679
|
+
*
|
|
12680
|
+
* @name ABTNodeClient#inviteMembersToOrg
|
|
12681
|
+
* @param {ABTNodeClient.InviteMembersToOrgParams} params
|
|
12682
|
+
* @function
|
|
12683
|
+
* @memberof ABTNodeClient
|
|
12684
|
+
* @returns {Promise<ABTNodeClient.ResponseInviteMembersToOrg>} Checkout {@link ABTNodeClient.ResponseInviteMembersToOrg} for resolved data format
|
|
12685
|
+
*/
|
|
12686
|
+
|
|
12687
|
+
/**
|
|
12688
|
+
* addOrgResource
|
|
12689
|
+
*
|
|
12690
|
+
* @name ABTNodeClient#addOrgResource
|
|
12691
|
+
* @param {ABTNodeClient.AddOrgResourceParams} params
|
|
12692
|
+
* @function
|
|
12693
|
+
* @memberof ABTNodeClient
|
|
12694
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgResourceOperation>} Checkout {@link ABTNodeClient.ResponseOrgResourceOperation} for resolved data format
|
|
12695
|
+
*/
|
|
12696
|
+
|
|
12697
|
+
/**
|
|
12698
|
+
* migrateOrgResource
|
|
12699
|
+
*
|
|
12700
|
+
* @name ABTNodeClient#migrateOrgResource
|
|
12701
|
+
* @param {ABTNodeClient.MigrateOrgResourceParams} params
|
|
12702
|
+
* @function
|
|
12703
|
+
* @memberof ABTNodeClient
|
|
12704
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgResourceOperation>} Checkout {@link ABTNodeClient.ResponseOrgResourceOperation} for resolved data format
|
|
12705
|
+
*/
|
|
12081
12706
|
"use strict";
|
|
12082
12707
|
//# sourceMappingURL=types.js.map
|