@blocklet/server-js 1.16.52-beta-20251003-083412-fdfc4e36 → 1.16.52-beta-20251008-091027-c46c73e3
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 +303 -2
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +2387 -303
- package/dist/types.js +637 -2
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +5565 -3138
- package/lib/node.d.ts +303 -2
- package/lib/schema/graphql.json +2387 -303
- package/lib/types.js +637 -2
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/dist/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,67 @@
|
|
|
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
|
+
* @property {...ABTNodeClient.RequestGetOrgsOptionsInput} options
|
|
1888
|
+
*/
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Structure of ABTNodeClient.RequestGetOrgsOptionsInput
|
|
1892
|
+
*
|
|
1893
|
+
* @memberof ABTNodeClient
|
|
1894
|
+
* @typedef {object} ABTNodeClient.RequestGetOrgsOptionsInput
|
|
1895
|
+
* @property {boolean} includeMembers
|
|
1896
|
+
* @property {boolean} includePassports
|
|
1897
|
+
*/
|
|
1898
|
+
|
|
1772
1899
|
/**
|
|
1773
1900
|
* Structure of ABTNodeClient.RequestGetPassportIssuancesInput
|
|
1774
1901
|
*
|
|
@@ -1922,6 +2049,29 @@
|
|
|
1922
2049
|
* @property {...ABTNodeClient.BlockletDistInput} dist
|
|
1923
2050
|
*/
|
|
1924
2051
|
|
|
2052
|
+
/**
|
|
2053
|
+
* Structure of ABTNodeClient.RequestInvitableUsersInput
|
|
2054
|
+
*
|
|
2055
|
+
* @memberof ABTNodeClient
|
|
2056
|
+
* @typedef {object} ABTNodeClient.RequestInvitableUsersInput
|
|
2057
|
+
* @property {string} teamDid
|
|
2058
|
+
* @property {string} id
|
|
2059
|
+
* @property {...ABTNodeClient.UserQueryInput} query
|
|
2060
|
+
*/
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Structure of ABTNodeClient.RequestInviteMembersToOrgInput
|
|
2064
|
+
*
|
|
2065
|
+
* @memberof ABTNodeClient
|
|
2066
|
+
* @typedef {object} ABTNodeClient.RequestInviteMembersToOrgInput
|
|
2067
|
+
* @property {string} teamDid
|
|
2068
|
+
* @property {string} orgId
|
|
2069
|
+
* @property {Array<...ABTNodeClient.null>} userDids
|
|
2070
|
+
* @property {string} role
|
|
2071
|
+
* @property {string} inviteType
|
|
2072
|
+
* @property {string} email
|
|
2073
|
+
*/
|
|
2074
|
+
|
|
1925
2075
|
/**
|
|
1926
2076
|
* Structure of ABTNodeClient.RequestIsDidDomainInput
|
|
1927
2077
|
*
|
|
@@ -2031,6 +2181,17 @@
|
|
|
2031
2181
|
* @property {string} appSk
|
|
2032
2182
|
*/
|
|
2033
2183
|
|
|
2184
|
+
/**
|
|
2185
|
+
* Structure of ABTNodeClient.RequestMigrateOrgResourceInput
|
|
2186
|
+
*
|
|
2187
|
+
* @memberof ABTNodeClient
|
|
2188
|
+
* @typedef {object} ABTNodeClient.RequestMigrateOrgResourceInput
|
|
2189
|
+
* @property {string} teamDid
|
|
2190
|
+
* @property {string} from
|
|
2191
|
+
* @property {string} to
|
|
2192
|
+
* @property {Array<...ABTNodeClient.null>} resourceIds
|
|
2193
|
+
*/
|
|
2194
|
+
|
|
2034
2195
|
/**
|
|
2035
2196
|
* Structure of ABTNodeClient.RequestNodeRoutingInput
|
|
2036
2197
|
*
|
|
@@ -2368,6 +2529,7 @@
|
|
|
2368
2529
|
* @typedef {object} ABTNodeClient.RequestTeamRoleInput
|
|
2369
2530
|
* @property {string} teamDid
|
|
2370
2531
|
* @property {...ABTNodeClient.RoleUpdateInput} role
|
|
2532
|
+
* @property {string} orgId
|
|
2371
2533
|
*/
|
|
2372
2534
|
|
|
2373
2535
|
/**
|
|
@@ -2505,6 +2667,15 @@
|
|
|
2505
2667
|
* @property {string} name
|
|
2506
2668
|
*/
|
|
2507
2669
|
|
|
2670
|
+
/**
|
|
2671
|
+
* Structure of ABTNodeClient.RequestUpdateOrgInput
|
|
2672
|
+
*
|
|
2673
|
+
* @memberof ABTNodeClient
|
|
2674
|
+
* @typedef {object} ABTNodeClient.RequestUpdateOrgInput
|
|
2675
|
+
* @property {string} teamDid
|
|
2676
|
+
* @property {...ABTNodeClient.OrgInput} org
|
|
2677
|
+
*/
|
|
2678
|
+
|
|
2508
2679
|
/**
|
|
2509
2680
|
* Structure of ABTNodeClient.RequestUpdatePermissionsForRoleInput
|
|
2510
2681
|
*
|
|
@@ -2988,6 +3159,21 @@
|
|
|
2988
3159
|
* @property {Array<...ABTNodeClient.null>} dateRange
|
|
2989
3160
|
*/
|
|
2990
3161
|
|
|
3162
|
+
/**
|
|
3163
|
+
* Structure of ABTNodeClient.UserOrgInput
|
|
3164
|
+
*
|
|
3165
|
+
* @memberof ABTNodeClient
|
|
3166
|
+
* @typedef {object} ABTNodeClient.UserOrgInput
|
|
3167
|
+
* @property {string} id
|
|
3168
|
+
* @property {string} orgId
|
|
3169
|
+
* @property {string} userDid
|
|
3170
|
+
* @property {...ABTNodeClient.OrgUserStatus} status
|
|
3171
|
+
* @property {number} createdAt
|
|
3172
|
+
* @property {number} updatedAt
|
|
3173
|
+
* @property {...ABTNodeClient.UserInfoInput} user
|
|
3174
|
+
* @property {any} metadata
|
|
3175
|
+
*/
|
|
3176
|
+
|
|
2991
3177
|
/**
|
|
2992
3178
|
* Structure of ABTNodeClient.UserPhoneInfoInput
|
|
2993
3179
|
*
|
|
@@ -3678,6 +3864,7 @@
|
|
|
3678
3864
|
* @property {...ABTNodeClient.Gateway} gateway
|
|
3679
3865
|
* @property {boolean} enableSessionHardening
|
|
3680
3866
|
* @property {...ABTNodeClient.AigneConfig} aigne
|
|
3867
|
+
* @property {...ABTNodeClient.OrgSettings} org
|
|
3681
3868
|
*/
|
|
3682
3869
|
|
|
3683
3870
|
/**
|
|
@@ -3864,6 +4051,7 @@
|
|
|
3864
4051
|
* @property {Array<...ABTNodeClient.null>} dependents
|
|
3865
4052
|
* @property {boolean} required
|
|
3866
4053
|
* @property {...ABTNodeClient.RuntimeInfo} appRuntimeInfo
|
|
4054
|
+
* @property {...ABTNodeClient.BlockletStatus} greenStatus
|
|
3867
4055
|
*/
|
|
3868
4056
|
|
|
3869
4057
|
/**
|
|
@@ -4175,6 +4363,18 @@
|
|
|
4175
4363
|
* @property {string} teamDid
|
|
4176
4364
|
* @property {string} interfaceName
|
|
4177
4365
|
* @property {...ABTNodeClient.PassportDisplay} display
|
|
4366
|
+
* @property {string} orgId
|
|
4367
|
+
* @property {Array<...ABTNodeClient.null>} inviteUserDids
|
|
4368
|
+
*/
|
|
4369
|
+
|
|
4370
|
+
/**
|
|
4371
|
+
* Structure of ABTNodeClient.InviteResult
|
|
4372
|
+
*
|
|
4373
|
+
* @memberof ABTNodeClient
|
|
4374
|
+
* @typedef {object} ABTNodeClient.InviteResult
|
|
4375
|
+
* @property {Array<...ABTNodeClient.null>} successDids
|
|
4376
|
+
* @property {Array<...ABTNodeClient.null>} failedDids
|
|
4377
|
+
* @property {string} inviteLink
|
|
4178
4378
|
*/
|
|
4179
4379
|
|
|
4180
4380
|
/**
|
|
@@ -4400,6 +4600,14 @@
|
|
|
4400
4600
|
* @property {...ABTNodeClient.ResponseConnectToEndpoint} connectToAigne
|
|
4401
4601
|
* @property {...ABTNodeClient.GeneralResponse} disconnectToAigne
|
|
4402
4602
|
* @property {...ABTNodeClient.GeneralResponse} verifyAigneConnection
|
|
4603
|
+
* @property {...ABTNodeClient.ResponseGetOrg} createOrg
|
|
4604
|
+
* @property {...ABTNodeClient.ResponseGetOrg} updateOrg
|
|
4605
|
+
* @property {...ABTNodeClient.GeneralResponse} deleteOrg
|
|
4606
|
+
* @property {...ABTNodeClient.ResponseGetOrg} addOrgMember
|
|
4607
|
+
* @property {...ABTNodeClient.GeneralResponse} removeOrgMember
|
|
4608
|
+
* @property {...ABTNodeClient.ResponseInviteMembersToOrg} inviteMembersToOrg
|
|
4609
|
+
* @property {...ABTNodeClient.ResponseOrgResourceOperation} addOrgResource
|
|
4610
|
+
* @property {...ABTNodeClient.ResponseOrgResourceOperation} migrateOrgResource
|
|
4403
4611
|
*/
|
|
4404
4612
|
|
|
4405
4613
|
/**
|
|
@@ -4672,6 +4880,57 @@
|
|
|
4672
4880
|
* @property {boolean} required
|
|
4673
4881
|
*/
|
|
4674
4882
|
|
|
4883
|
+
/**
|
|
4884
|
+
* Structure of ABTNodeClient.Org
|
|
4885
|
+
*
|
|
4886
|
+
* @memberof ABTNodeClient
|
|
4887
|
+
* @typedef {object} ABTNodeClient.Org
|
|
4888
|
+
* @property {string} id
|
|
4889
|
+
* @property {string} name
|
|
4890
|
+
* @property {string} description
|
|
4891
|
+
* @property {string} ownerDid
|
|
4892
|
+
* @property {number} createdAt
|
|
4893
|
+
* @property {number} updatedAt
|
|
4894
|
+
* @property {Array<...ABTNodeClient.null>} members
|
|
4895
|
+
* @property {...ABTNodeClient.UserInfo} owner
|
|
4896
|
+
* @property {number} membersCount
|
|
4897
|
+
* @property {Array<...ABTNodeClient.null>} passports
|
|
4898
|
+
* @property {any} metadata
|
|
4899
|
+
*/
|
|
4900
|
+
|
|
4901
|
+
/**
|
|
4902
|
+
* Structure of ABTNodeClient.OrgResourceResult
|
|
4903
|
+
*
|
|
4904
|
+
* @memberof ABTNodeClient
|
|
4905
|
+
* @typedef {object} ABTNodeClient.OrgResourceResult
|
|
4906
|
+
* @property {Array<...ABTNodeClient.null>} success
|
|
4907
|
+
* @property {Array<...ABTNodeClient.null>} failed
|
|
4908
|
+
*/
|
|
4909
|
+
|
|
4910
|
+
/**
|
|
4911
|
+
* Structure of ABTNodeClient.OrgResources
|
|
4912
|
+
*
|
|
4913
|
+
* @memberof ABTNodeClient
|
|
4914
|
+
* @typedef {object} ABTNodeClient.OrgResources
|
|
4915
|
+
* @property {string} id
|
|
4916
|
+
* @property {string} orgId
|
|
4917
|
+
* @property {string} resourceId
|
|
4918
|
+
* @property {string} type
|
|
4919
|
+
* @property {any} metadata
|
|
4920
|
+
* @property {number} createdAt
|
|
4921
|
+
* @property {number} updatedAt
|
|
4922
|
+
*/
|
|
4923
|
+
|
|
4924
|
+
/**
|
|
4925
|
+
* Structure of ABTNodeClient.OrgSettings
|
|
4926
|
+
*
|
|
4927
|
+
* @memberof ABTNodeClient
|
|
4928
|
+
* @typedef {object} ABTNodeClient.OrgSettings
|
|
4929
|
+
* @property {boolean} enabled
|
|
4930
|
+
* @property {number} maxMemberPerOrg
|
|
4931
|
+
* @property {number} maxOrgPerUser
|
|
4932
|
+
*/
|
|
4933
|
+
|
|
4675
4934
|
/**
|
|
4676
4935
|
* Structure of ABTNodeClient.OwnerNft
|
|
4677
4936
|
*
|
|
@@ -4895,6 +5154,11 @@
|
|
|
4895
5154
|
* @property {...ABTNodeClient.ResponseOAuthClient} createOAuthClient
|
|
4896
5155
|
* @property {...ABTNodeClient.ResponseOAuthClient} updateOAuthClient
|
|
4897
5156
|
* @property {...ABTNodeClient.GeneralResponse} deleteOAuthClient
|
|
5157
|
+
* @property {...ABTNodeClient.ResponseGetOrgs} getOrgs
|
|
5158
|
+
* @property {...ABTNodeClient.ResponseGetOrg} getOrg
|
|
5159
|
+
* @property {...ABTNodeClient.ResponseOrgUsers} getOrgMembers
|
|
5160
|
+
* @property {...ABTNodeClient.ResponseUsers} getOrgInvitableUsers
|
|
5161
|
+
* @property {...ABTNodeClient.ResponseGetOrgResource} getOrgResource
|
|
4898
5162
|
*/
|
|
4899
5163
|
|
|
4900
5164
|
/**
|
|
@@ -5731,6 +5995,34 @@
|
|
|
5731
5995
|
* @property {number} unreadCount
|
|
5732
5996
|
*/
|
|
5733
5997
|
|
|
5998
|
+
/**
|
|
5999
|
+
* Structure of ABTNodeClient.ResponseGetOrg
|
|
6000
|
+
*
|
|
6001
|
+
* @memberof ABTNodeClient
|
|
6002
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrg
|
|
6003
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6004
|
+
* @property {...ABTNodeClient.Org} org
|
|
6005
|
+
*/
|
|
6006
|
+
|
|
6007
|
+
/**
|
|
6008
|
+
* Structure of ABTNodeClient.ResponseGetOrgResource
|
|
6009
|
+
*
|
|
6010
|
+
* @memberof ABTNodeClient
|
|
6011
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrgResource
|
|
6012
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6013
|
+
* @property {Array<...ABTNodeClient.null>} data
|
|
6014
|
+
*/
|
|
6015
|
+
|
|
6016
|
+
/**
|
|
6017
|
+
* Structure of ABTNodeClient.ResponseGetOrgs
|
|
6018
|
+
*
|
|
6019
|
+
* @memberof ABTNodeClient
|
|
6020
|
+
* @typedef {object} ABTNodeClient.ResponseGetOrgs
|
|
6021
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6022
|
+
* @property {Array<...ABTNodeClient.null>} orgs
|
|
6023
|
+
* @property {...ABTNodeClient.Paging} paging
|
|
6024
|
+
*/
|
|
6025
|
+
|
|
5734
6026
|
/**
|
|
5735
6027
|
* Structure of ABTNodeClient.ResponseGetPassportCountPerRole
|
|
5736
6028
|
*
|
|
@@ -5931,6 +6223,15 @@
|
|
|
5931
6223
|
* @property {...ABTNodeClient.Paging} paging
|
|
5932
6224
|
*/
|
|
5933
6225
|
|
|
6226
|
+
/**
|
|
6227
|
+
* Structure of ABTNodeClient.ResponseInviteMembersToOrg
|
|
6228
|
+
*
|
|
6229
|
+
* @memberof ABTNodeClient
|
|
6230
|
+
* @typedef {object} ABTNodeClient.ResponseInviteMembersToOrg
|
|
6231
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6232
|
+
* @property {...ABTNodeClient.InviteResult} data
|
|
6233
|
+
*/
|
|
6234
|
+
|
|
5934
6235
|
/**
|
|
5935
6236
|
* Structure of ABTNodeClient.ResponseIsDidDomain
|
|
5936
6237
|
*
|
|
@@ -6033,6 +6334,25 @@
|
|
|
6033
6334
|
* @property {Array<...ABTNodeClient.null>} list
|
|
6034
6335
|
*/
|
|
6035
6336
|
|
|
6337
|
+
/**
|
|
6338
|
+
* Structure of ABTNodeClient.ResponseOrgResourceOperation
|
|
6339
|
+
*
|
|
6340
|
+
* @memberof ABTNodeClient
|
|
6341
|
+
* @typedef {object} ABTNodeClient.ResponseOrgResourceOperation
|
|
6342
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6343
|
+
* @property {...ABTNodeClient.OrgResourceResult} data
|
|
6344
|
+
*/
|
|
6345
|
+
|
|
6346
|
+
/**
|
|
6347
|
+
* Structure of ABTNodeClient.ResponseOrgUsers
|
|
6348
|
+
*
|
|
6349
|
+
* @memberof ABTNodeClient
|
|
6350
|
+
* @typedef {object} ABTNodeClient.ResponseOrgUsers
|
|
6351
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6352
|
+
* @property {Array<...ABTNodeClient.null>} users
|
|
6353
|
+
* @property {...ABTNodeClient.Paging} paging
|
|
6354
|
+
*/
|
|
6355
|
+
|
|
6036
6356
|
/**
|
|
6037
6357
|
* Structure of ABTNodeClient.ResponsePassport
|
|
6038
6358
|
*
|
|
@@ -6498,6 +6818,7 @@
|
|
|
6498
6818
|
* @property {string} title
|
|
6499
6819
|
* @property {boolean} isProtected
|
|
6500
6820
|
* @property {any} extra
|
|
6821
|
+
* @property {string} orgId
|
|
6501
6822
|
*/
|
|
6502
6823
|
|
|
6503
6824
|
/**
|
|
@@ -6886,6 +7207,21 @@
|
|
|
6886
7207
|
* @property {Array<...ABTNodeClient.null>} dateRange
|
|
6887
7208
|
*/
|
|
6888
7209
|
|
|
7210
|
+
/**
|
|
7211
|
+
* Structure of ABTNodeClient.UserOrg
|
|
7212
|
+
*
|
|
7213
|
+
* @memberof ABTNodeClient
|
|
7214
|
+
* @typedef {object} ABTNodeClient.UserOrg
|
|
7215
|
+
* @property {string} id
|
|
7216
|
+
* @property {string} orgId
|
|
7217
|
+
* @property {string} userDid
|
|
7218
|
+
* @property {...ABTNodeClient.OrgUserStatus} status
|
|
7219
|
+
* @property {number} createdAt
|
|
7220
|
+
* @property {number} updatedAt
|
|
7221
|
+
* @property {...ABTNodeClient.UserInfo} user
|
|
7222
|
+
* @property {any} metadata
|
|
7223
|
+
*/
|
|
7224
|
+
|
|
6889
7225
|
/**
|
|
6890
7226
|
* Structure of ABTNodeClient.UserPhoneInfo
|
|
6891
7227
|
*
|
|
@@ -7394,7 +7730,7 @@
|
|
|
7394
7730
|
*
|
|
7395
7731
|
* @memberof ABTNodeClient
|
|
7396
7732
|
* @typedef {object} ABTNodeClient.GetRolesParams
|
|
7397
|
-
* @property {...ABTNodeClient.
|
|
7733
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
7398
7734
|
*/
|
|
7399
7735
|
|
|
7400
7736
|
/**
|
|
@@ -7433,7 +7769,7 @@
|
|
|
7433
7769
|
*
|
|
7434
7770
|
* @memberof ABTNodeClient
|
|
7435
7771
|
* @typedef {object} ABTNodeClient.GetInvitationsParams
|
|
7436
|
-
* @property {...ABTNodeClient.
|
|
7772
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
7437
7773
|
*/
|
|
7438
7774
|
|
|
7439
7775
|
/**
|
|
@@ -8073,6 +8409,71 @@
|
|
|
8073
8409
|
* @property {...ABTNodeClient.RequestDeleteOAuthClientInput} input
|
|
8074
8410
|
*/
|
|
8075
8411
|
|
|
8412
|
+
/**
|
|
8413
|
+
* Structure of ABTNodeClient.GetOrgsParams
|
|
8414
|
+
*
|
|
8415
|
+
* Checkout the following snippet for the format of GetOrgsParams:
|
|
8416
|
+
* ```json
|
|
8417
|
+
{}
|
|
8418
|
+
* ```
|
|
8419
|
+
*
|
|
8420
|
+
* @memberof ABTNodeClient
|
|
8421
|
+
* @typedef {object} ABTNodeClient.GetOrgsParams
|
|
8422
|
+
* @property {...ABTNodeClient.RequestGetOrgsInput} input
|
|
8423
|
+
*/
|
|
8424
|
+
|
|
8425
|
+
/**
|
|
8426
|
+
* Structure of ABTNodeClient.GetOrgParams
|
|
8427
|
+
*
|
|
8428
|
+
* Checkout the following snippet for the format of GetOrgParams:
|
|
8429
|
+
* ```json
|
|
8430
|
+
{}
|
|
8431
|
+
* ```
|
|
8432
|
+
*
|
|
8433
|
+
* @memberof ABTNodeClient
|
|
8434
|
+
* @typedef {object} ABTNodeClient.GetOrgParams
|
|
8435
|
+
* @property {...ABTNodeClient.RequestGetOrgInput} input
|
|
8436
|
+
*/
|
|
8437
|
+
|
|
8438
|
+
/**
|
|
8439
|
+
* Structure of ABTNodeClient.GetOrgMembersParams
|
|
8440
|
+
*
|
|
8441
|
+
* Checkout the following snippet for the format of GetOrgMembersParams:
|
|
8442
|
+
* ```json
|
|
8443
|
+
{}
|
|
8444
|
+
* ```
|
|
8445
|
+
*
|
|
8446
|
+
* @memberof ABTNodeClient
|
|
8447
|
+
* @typedef {object} ABTNodeClient.GetOrgMembersParams
|
|
8448
|
+
* @property {...ABTNodeClient.RequestGetOrgDataInput} input
|
|
8449
|
+
*/
|
|
8450
|
+
|
|
8451
|
+
/**
|
|
8452
|
+
* Structure of ABTNodeClient.GetOrgInvitableUsersParams
|
|
8453
|
+
*
|
|
8454
|
+
* Checkout the following snippet for the format of GetOrgInvitableUsersParams:
|
|
8455
|
+
* ```json
|
|
8456
|
+
{}
|
|
8457
|
+
* ```
|
|
8458
|
+
*
|
|
8459
|
+
* @memberof ABTNodeClient
|
|
8460
|
+
* @typedef {object} ABTNodeClient.GetOrgInvitableUsersParams
|
|
8461
|
+
* @property {...ABTNodeClient.RequestInvitableUsersInput} input
|
|
8462
|
+
*/
|
|
8463
|
+
|
|
8464
|
+
/**
|
|
8465
|
+
* Structure of ABTNodeClient.GetOrgResourceParams
|
|
8466
|
+
*
|
|
8467
|
+
* Checkout the following snippet for the format of GetOrgResourceParams:
|
|
8468
|
+
* ```json
|
|
8469
|
+
{}
|
|
8470
|
+
* ```
|
|
8471
|
+
*
|
|
8472
|
+
* @memberof ABTNodeClient
|
|
8473
|
+
* @typedef {object} ABTNodeClient.GetOrgResourceParams
|
|
8474
|
+
* @property {...ABTNodeClient.RequestGetOrgResourceInput} input
|
|
8475
|
+
*/
|
|
8476
|
+
|
|
8076
8477
|
/**
|
|
8077
8478
|
* Structure of ABTNodeClient.InstallBlockletParams
|
|
8078
8479
|
*
|
|
@@ -9841,6 +10242,110 @@
|
|
|
9841
10242
|
* @property {...ABTNodeClient.RequestVerifyAigneConnectionInput} input
|
|
9842
10243
|
*/
|
|
9843
10244
|
|
|
10245
|
+
/**
|
|
10246
|
+
* Structure of ABTNodeClient.CreateOrgParams
|
|
10247
|
+
*
|
|
10248
|
+
* Checkout the following snippet for the format of CreateOrgParams:
|
|
10249
|
+
* ```json
|
|
10250
|
+
{}
|
|
10251
|
+
* ```
|
|
10252
|
+
*
|
|
10253
|
+
* @memberof ABTNodeClient
|
|
10254
|
+
* @typedef {object} ABTNodeClient.CreateOrgParams
|
|
10255
|
+
* @property {...ABTNodeClient.RequestCreateOrgInput} input
|
|
10256
|
+
*/
|
|
10257
|
+
|
|
10258
|
+
/**
|
|
10259
|
+
* Structure of ABTNodeClient.UpdateOrgParams
|
|
10260
|
+
*
|
|
10261
|
+
* Checkout the following snippet for the format of UpdateOrgParams:
|
|
10262
|
+
* ```json
|
|
10263
|
+
{}
|
|
10264
|
+
* ```
|
|
10265
|
+
*
|
|
10266
|
+
* @memberof ABTNodeClient
|
|
10267
|
+
* @typedef {object} ABTNodeClient.UpdateOrgParams
|
|
10268
|
+
* @property {...ABTNodeClient.RequestUpdateOrgInput} input
|
|
10269
|
+
*/
|
|
10270
|
+
|
|
10271
|
+
/**
|
|
10272
|
+
* Structure of ABTNodeClient.DeleteOrgParams
|
|
10273
|
+
*
|
|
10274
|
+
* Checkout the following snippet for the format of DeleteOrgParams:
|
|
10275
|
+
* ```json
|
|
10276
|
+
{}
|
|
10277
|
+
* ```
|
|
10278
|
+
*
|
|
10279
|
+
* @memberof ABTNodeClient
|
|
10280
|
+
* @typedef {object} ABTNodeClient.DeleteOrgParams
|
|
10281
|
+
* @property {...ABTNodeClient.RequestGetOrgInput} input
|
|
10282
|
+
*/
|
|
10283
|
+
|
|
10284
|
+
/**
|
|
10285
|
+
* Structure of ABTNodeClient.AddOrgMemberParams
|
|
10286
|
+
*
|
|
10287
|
+
* Checkout the following snippet for the format of AddOrgMemberParams:
|
|
10288
|
+
* ```json
|
|
10289
|
+
{}
|
|
10290
|
+
* ```
|
|
10291
|
+
*
|
|
10292
|
+
* @memberof ABTNodeClient
|
|
10293
|
+
* @typedef {object} ABTNodeClient.AddOrgMemberParams
|
|
10294
|
+
* @property {...ABTNodeClient.RequestGetOrgMemberInput} input
|
|
10295
|
+
*/
|
|
10296
|
+
|
|
10297
|
+
/**
|
|
10298
|
+
* Structure of ABTNodeClient.RemoveOrgMemberParams
|
|
10299
|
+
*
|
|
10300
|
+
* Checkout the following snippet for the format of RemoveOrgMemberParams:
|
|
10301
|
+
* ```json
|
|
10302
|
+
{}
|
|
10303
|
+
* ```
|
|
10304
|
+
*
|
|
10305
|
+
* @memberof ABTNodeClient
|
|
10306
|
+
* @typedef {object} ABTNodeClient.RemoveOrgMemberParams
|
|
10307
|
+
* @property {...ABTNodeClient.RequestGetOrgMemberInput} input
|
|
10308
|
+
*/
|
|
10309
|
+
|
|
10310
|
+
/**
|
|
10311
|
+
* Structure of ABTNodeClient.InviteMembersToOrgParams
|
|
10312
|
+
*
|
|
10313
|
+
* Checkout the following snippet for the format of InviteMembersToOrgParams:
|
|
10314
|
+
* ```json
|
|
10315
|
+
{}
|
|
10316
|
+
* ```
|
|
10317
|
+
*
|
|
10318
|
+
* @memberof ABTNodeClient
|
|
10319
|
+
* @typedef {object} ABTNodeClient.InviteMembersToOrgParams
|
|
10320
|
+
* @property {...ABTNodeClient.RequestInviteMembersToOrgInput} input
|
|
10321
|
+
*/
|
|
10322
|
+
|
|
10323
|
+
/**
|
|
10324
|
+
* Structure of ABTNodeClient.AddOrgResourceParams
|
|
10325
|
+
*
|
|
10326
|
+
* Checkout the following snippet for the format of AddOrgResourceParams:
|
|
10327
|
+
* ```json
|
|
10328
|
+
{}
|
|
10329
|
+
* ```
|
|
10330
|
+
*
|
|
10331
|
+
* @memberof ABTNodeClient
|
|
10332
|
+
* @typedef {object} ABTNodeClient.AddOrgResourceParams
|
|
10333
|
+
* @property {...ABTNodeClient.RequestAddOrgResourceInput} input
|
|
10334
|
+
*/
|
|
10335
|
+
|
|
10336
|
+
/**
|
|
10337
|
+
* Structure of ABTNodeClient.MigrateOrgResourceParams
|
|
10338
|
+
*
|
|
10339
|
+
* Checkout the following snippet for the format of MigrateOrgResourceParams:
|
|
10340
|
+
* ```json
|
|
10341
|
+
{}
|
|
10342
|
+
* ```
|
|
10343
|
+
*
|
|
10344
|
+
* @memberof ABTNodeClient
|
|
10345
|
+
* @typedef {object} ABTNodeClient.MigrateOrgResourceParams
|
|
10346
|
+
* @property {...ABTNodeClient.RequestMigrateOrgResourceInput} input
|
|
10347
|
+
*/
|
|
10348
|
+
|
|
9844
10349
|
/**
|
|
9845
10350
|
* getBlocklet
|
|
9846
10351
|
*
|
|
@@ -10701,6 +11206,56 @@
|
|
|
10701
11206
|
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
10702
11207
|
*/
|
|
10703
11208
|
|
|
11209
|
+
/**
|
|
11210
|
+
* getOrgs
|
|
11211
|
+
*
|
|
11212
|
+
* @name ABTNodeClient#getOrgs
|
|
11213
|
+
* @param {ABTNodeClient.GetOrgsParams} params
|
|
11214
|
+
* @function
|
|
11215
|
+
* @memberof ABTNodeClient
|
|
11216
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrgs>} Checkout {@link ABTNodeClient.ResponseGetOrgs} for resolved data format
|
|
11217
|
+
*/
|
|
11218
|
+
|
|
11219
|
+
/**
|
|
11220
|
+
* getOrg
|
|
11221
|
+
*
|
|
11222
|
+
* @name ABTNodeClient#getOrg
|
|
11223
|
+
* @param {ABTNodeClient.GetOrgParams} params
|
|
11224
|
+
* @function
|
|
11225
|
+
* @memberof ABTNodeClient
|
|
11226
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
11227
|
+
*/
|
|
11228
|
+
|
|
11229
|
+
/**
|
|
11230
|
+
* getOrgMembers
|
|
11231
|
+
*
|
|
11232
|
+
* @name ABTNodeClient#getOrgMembers
|
|
11233
|
+
* @param {ABTNodeClient.GetOrgMembersParams} params
|
|
11234
|
+
* @function
|
|
11235
|
+
* @memberof ABTNodeClient
|
|
11236
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgUsers>} Checkout {@link ABTNodeClient.ResponseOrgUsers} for resolved data format
|
|
11237
|
+
*/
|
|
11238
|
+
|
|
11239
|
+
/**
|
|
11240
|
+
* getOrgInvitableUsers
|
|
11241
|
+
*
|
|
11242
|
+
* @name ABTNodeClient#getOrgInvitableUsers
|
|
11243
|
+
* @param {ABTNodeClient.GetOrgInvitableUsersParams} params
|
|
11244
|
+
* @function
|
|
11245
|
+
* @memberof ABTNodeClient
|
|
11246
|
+
* @returns {Promise<ABTNodeClient.ResponseUsers>} Checkout {@link ABTNodeClient.ResponseUsers} for resolved data format
|
|
11247
|
+
*/
|
|
11248
|
+
|
|
11249
|
+
/**
|
|
11250
|
+
* getOrgResource
|
|
11251
|
+
*
|
|
11252
|
+
* @name ABTNodeClient#getOrgResource
|
|
11253
|
+
* @param {ABTNodeClient.GetOrgResourceParams} params
|
|
11254
|
+
* @function
|
|
11255
|
+
* @memberof ABTNodeClient
|
|
11256
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrgResource>} Checkout {@link ABTNodeClient.ResponseGetOrgResource} for resolved data format
|
|
11257
|
+
*/
|
|
11258
|
+
|
|
10704
11259
|
/**
|
|
10705
11260
|
* installBlocklet
|
|
10706
11261
|
*
|
|
@@ -12078,5 +12633,85 @@
|
|
|
12078
12633
|
* @memberof ABTNodeClient
|
|
12079
12634
|
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12080
12635
|
*/
|
|
12636
|
+
|
|
12637
|
+
/**
|
|
12638
|
+
* createOrg
|
|
12639
|
+
*
|
|
12640
|
+
* @name ABTNodeClient#createOrg
|
|
12641
|
+
* @param {ABTNodeClient.CreateOrgParams} params
|
|
12642
|
+
* @function
|
|
12643
|
+
* @memberof ABTNodeClient
|
|
12644
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12645
|
+
*/
|
|
12646
|
+
|
|
12647
|
+
/**
|
|
12648
|
+
* updateOrg
|
|
12649
|
+
*
|
|
12650
|
+
* @name ABTNodeClient#updateOrg
|
|
12651
|
+
* @param {ABTNodeClient.UpdateOrgParams} params
|
|
12652
|
+
* @function
|
|
12653
|
+
* @memberof ABTNodeClient
|
|
12654
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12655
|
+
*/
|
|
12656
|
+
|
|
12657
|
+
/**
|
|
12658
|
+
* deleteOrg
|
|
12659
|
+
*
|
|
12660
|
+
* @name ABTNodeClient#deleteOrg
|
|
12661
|
+
* @param {ABTNodeClient.DeleteOrgParams} params
|
|
12662
|
+
* @function
|
|
12663
|
+
* @memberof ABTNodeClient
|
|
12664
|
+
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12665
|
+
*/
|
|
12666
|
+
|
|
12667
|
+
/**
|
|
12668
|
+
* addOrgMember
|
|
12669
|
+
*
|
|
12670
|
+
* @name ABTNodeClient#addOrgMember
|
|
12671
|
+
* @param {ABTNodeClient.AddOrgMemberParams} params
|
|
12672
|
+
* @function
|
|
12673
|
+
* @memberof ABTNodeClient
|
|
12674
|
+
* @returns {Promise<ABTNodeClient.ResponseGetOrg>} Checkout {@link ABTNodeClient.ResponseGetOrg} for resolved data format
|
|
12675
|
+
*/
|
|
12676
|
+
|
|
12677
|
+
/**
|
|
12678
|
+
* removeOrgMember
|
|
12679
|
+
*
|
|
12680
|
+
* @name ABTNodeClient#removeOrgMember
|
|
12681
|
+
* @param {ABTNodeClient.RemoveOrgMemberParams} params
|
|
12682
|
+
* @function
|
|
12683
|
+
* @memberof ABTNodeClient
|
|
12684
|
+
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
12685
|
+
*/
|
|
12686
|
+
|
|
12687
|
+
/**
|
|
12688
|
+
* inviteMembersToOrg
|
|
12689
|
+
*
|
|
12690
|
+
* @name ABTNodeClient#inviteMembersToOrg
|
|
12691
|
+
* @param {ABTNodeClient.InviteMembersToOrgParams} params
|
|
12692
|
+
* @function
|
|
12693
|
+
* @memberof ABTNodeClient
|
|
12694
|
+
* @returns {Promise<ABTNodeClient.ResponseInviteMembersToOrg>} Checkout {@link ABTNodeClient.ResponseInviteMembersToOrg} for resolved data format
|
|
12695
|
+
*/
|
|
12696
|
+
|
|
12697
|
+
/**
|
|
12698
|
+
* addOrgResource
|
|
12699
|
+
*
|
|
12700
|
+
* @name ABTNodeClient#addOrgResource
|
|
12701
|
+
* @param {ABTNodeClient.AddOrgResourceParams} params
|
|
12702
|
+
* @function
|
|
12703
|
+
* @memberof ABTNodeClient
|
|
12704
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgResourceOperation>} Checkout {@link ABTNodeClient.ResponseOrgResourceOperation} for resolved data format
|
|
12705
|
+
*/
|
|
12706
|
+
|
|
12707
|
+
/**
|
|
12708
|
+
* migrateOrgResource
|
|
12709
|
+
*
|
|
12710
|
+
* @name ABTNodeClient#migrateOrgResource
|
|
12711
|
+
* @param {ABTNodeClient.MigrateOrgResourceParams} params
|
|
12712
|
+
* @function
|
|
12713
|
+
* @memberof ABTNodeClient
|
|
12714
|
+
* @returns {Promise<ABTNodeClient.ResponseOrgResourceOperation>} Checkout {@link ABTNodeClient.ResponseOrgResourceOperation} for resolved data format
|
|
12715
|
+
*/
|
|
12081
12716
|
"use strict";
|
|
12082
12717
|
//# sourceMappingURL=types.js.map
|