connected-spaces-platform.unity.core 4.26.2 → 4.27.0

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.
Files changed (334) hide show
  1. package/Editor/NativePluginBuildProcessor.cs.meta +1 -1
  2. package/Editor.meta +1 -1
  3. package/README.md +41 -9
  4. package/README.md.meta +1 -1
  5. package/Source/CSPFoundation.cs.meta +1 -1
  6. package/Source/ClientUserAgent.cs.meta +1 -1
  7. package/Source/Common/Array.cs.meta +1 -1
  8. package/Source/Common/CancellationToken.cs.meta +1 -1
  9. package/Source/Common/FileExtensions.cs.meta +1 -1
  10. package/Source/Common/List.cs.meta +1 -1
  11. package/Source/Common/Map.cs.meta +1 -1
  12. package/Source/Common/MimeTypeHelper.cs.meta +1 -1
  13. package/Source/Common/MimeTypes.cs.meta +1 -1
  14. package/Source/Common/Variant.cs.meta +1 -1
  15. package/Source/Common/VariantType.cs.meta +1 -1
  16. package/Source/Common/Vector3.cs.meta +1 -1
  17. package/Source/Common/Vector4.cs.meta +1 -1
  18. package/Source/Common.meta +1 -1
  19. package/Source/Csp.cs.meta +1 -1
  20. package/Source/EThirdPartyPlatform.cs.meta +1 -1
  21. package/Source/EndpointURIs.cs.meta +1 -1
  22. package/Source/Il2cppPreserver.cs.meta +1 -1
  23. package/Source/Multiplayer/AssetDetailBlobParams.cs.meta +1 -1
  24. package/Source/Multiplayer/ComponentBase.cs.meta +1 -1
  25. package/Source/Multiplayer/ComponentType.cs.meta +1 -1
  26. package/Source/Multiplayer/ComponentUpdateInfo.cs.meta +1 -1
  27. package/Source/Multiplayer/ComponentUpdateType.cs.meta +1 -1
  28. package/Source/Multiplayer/Components/AnimatedModelActions.cs.meta +1 -1
  29. package/Source/Multiplayer/Components/AnimatedModelPropertyKeys.cs.meta +1 -1
  30. package/Source/Multiplayer/Components/AnimatedModelSpaceComponent.cs.meta +1 -1
  31. package/Source/Multiplayer/Components/AudioPlaybackState.cs.meta +1 -1
  32. package/Source/Multiplayer/Components/AudioPropertyKeys.cs.meta +1 -1
  33. package/Source/Multiplayer/Components/AudioSpaceComponent.cs.meta +1 -1
  34. package/Source/Multiplayer/Components/AudioType.cs.meta +1 -1
  35. package/Source/Multiplayer/Components/AvatarComponentPropertyKeys.cs.meta +1 -1
  36. package/Source/Multiplayer/Components/AvatarPlayMode.cs.meta +1 -1
  37. package/Source/Multiplayer/Components/AvatarSpaceComponent.cs.meta +1 -1
  38. package/Source/Multiplayer/Components/AvatarState.cs.meta +1 -1
  39. package/Source/Multiplayer/Components/BillboardMode.cs.meta +1 -1
  40. package/Source/Multiplayer/Components/ButtonPropertyKeys.cs.meta +1 -1
  41. package/Source/Multiplayer/Components/ButtonSpaceComponent.cs.meta +1 -1
  42. package/Source/Multiplayer/Components/CollisionMode.cs.meta +1 -1
  43. package/Source/Multiplayer/Components/CollisionPropertyKeys.cs.meta +1 -1
  44. package/Source/Multiplayer/Components/CollisionShape.cs.meta +1 -1
  45. package/Source/Multiplayer/Components/CollisionSpaceComponent.cs.meta +1 -1
  46. package/Source/Multiplayer/Components/ConversationPropertyKeys.cs.meta +1 -1
  47. package/Source/Multiplayer/Components/ConversationSpaceComponent.cs.meta +1 -1
  48. package/Source/Multiplayer/Components/CustomComponentPropertyKeys.cs.meta +1 -1
  49. package/Source/Multiplayer/Components/CustomSpaceComponent.cs.meta +1 -1
  50. package/Source/Multiplayer/Components/DisplayMode.cs.meta +1 -1
  51. package/Source/Multiplayer/Components/ECommercePropertyKeys.cs.meta +1 -1
  52. package/Source/Multiplayer/Components/ECommerceSpaceComponent.cs.meta +1 -1
  53. package/Source/Multiplayer/Components/ExternalLinkActions.cs.meta +1 -1
  54. package/Source/Multiplayer/Components/ExternalLinkPropertyKeys.cs.meta +1 -1
  55. package/Source/Multiplayer/Components/ExternalLinkSpaceComponent.cs.meta +1 -1
  56. package/Source/Multiplayer/Components/FiducialMarkerPropertyKeys.cs.meta +1 -1
  57. package/Source/Multiplayer/Components/FiducialMarkerSpaceComponent.cs.meta +1 -1
  58. package/Source/Multiplayer/Components/FogMode.cs.meta +1 -1
  59. package/Source/Multiplayer/Components/FogPropertyKeys.cs.meta +1 -1
  60. package/Source/Multiplayer/Components/FogSpaceComponent.cs.meta +1 -1
  61. package/Source/Multiplayer/Components/GaussianSplatPropertyKeys.cs.meta +1 -1
  62. package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs +6 -5
  63. package/Source/Multiplayer/Components/GaussianSplatSpaceComponent.cs.meta +1 -1
  64. package/Source/Multiplayer/Components/ImagePropertyKeys.cs.meta +1 -1
  65. package/Source/Multiplayer/Components/ImageSpaceComponent.cs.meta +1 -1
  66. package/Source/Multiplayer/Components/Interfaces/IEnableableComponent.cs.meta +1 -1
  67. package/Source/Multiplayer/Components/Interfaces/IExternalResourceComponent.cs.meta +1 -1
  68. package/Source/Multiplayer/Components/Interfaces/IPositionComponent.cs.meta +1 -1
  69. package/Source/Multiplayer/Components/Interfaces/IRotationComponent.cs.meta +1 -1
  70. package/Source/Multiplayer/Components/Interfaces/IScaleComponent.cs.meta +1 -1
  71. package/Source/Multiplayer/Components/Interfaces/IShadowCasterComponent.cs.meta +1 -1
  72. package/Source/Multiplayer/Components/Interfaces/IThirdPartyComponentRef.cs.meta +1 -1
  73. package/Source/Multiplayer/Components/Interfaces/ITransformComponent.cs.meta +1 -1
  74. package/Source/Multiplayer/Components/Interfaces/IVisibleComponent.cs.meta +1 -1
  75. package/Source/Multiplayer/Components/Interfaces.meta +1 -1
  76. package/Source/Multiplayer/Components/LightCookieType.cs.meta +1 -1
  77. package/Source/Multiplayer/Components/LightPropertyKeys.cs.meta +1 -1
  78. package/Source/Multiplayer/Components/LightShadowType.cs.meta +1 -1
  79. package/Source/Multiplayer/Components/LightSpaceComponent.cs.meta +1 -1
  80. package/Source/Multiplayer/Components/LightType.cs.meta +1 -1
  81. package/Source/Multiplayer/Components/LocomotionModel.cs.meta +1 -1
  82. package/Source/Multiplayer/Components/PortalPropertyKeys.cs.meta +1 -1
  83. package/Source/Multiplayer/Components/PortalSpaceComponent.cs.meta +1 -1
  84. package/Source/Multiplayer/Components/ReflectionPropertyKeys.cs.meta +1 -1
  85. package/Source/Multiplayer/Components/ReflectionShape.cs.meta +1 -1
  86. package/Source/Multiplayer/Components/ReflectionSpaceComponent.cs.meta +1 -1
  87. package/Source/Multiplayer/Components/ScriptComponentPropertyKeys.cs.meta +1 -1
  88. package/Source/Multiplayer/Components/ScriptScope.cs.meta +1 -1
  89. package/Source/Multiplayer/Components/ScriptSpaceComponent.cs.meta +1 -1
  90. package/Source/Multiplayer/Components/SplinePropertyKeys.cs.meta +1 -1
  91. package/Source/Multiplayer/Components/SplineSpaceComponent.cs.meta +1 -1
  92. package/Source/Multiplayer/Components/StaticModelPropertyKeys.cs.meta +1 -1
  93. package/Source/Multiplayer/Components/StaticModelSpaceComponent.cs.meta +1 -1
  94. package/Source/Multiplayer/Components/VideoPlayerActions.cs.meta +1 -1
  95. package/Source/Multiplayer/Components/VideoPlayerPlaybackState.cs.meta +1 -1
  96. package/Source/Multiplayer/Components/VideoPlayerPropertyKeys.cs.meta +1 -1
  97. package/Source/Multiplayer/Components/VideoPlayerSourceType.cs.meta +1 -1
  98. package/Source/Multiplayer/Components/VideoPlayerSpaceComponent.cs.meta +1 -1
  99. package/Source/Multiplayer/Components.meta +1 -1
  100. package/Source/Multiplayer/ConnectionState.cs.meta +1 -1
  101. package/Source/Multiplayer/Conversation/BaseMessageInfo.cs.meta +1 -1
  102. package/Source/Multiplayer/Conversation/ConversationInfo.cs.meta +1 -1
  103. package/Source/Multiplayer/Conversation/ConversationMessageType.cs.meta +1 -1
  104. package/Source/Multiplayer/Conversation/ConversationResult.cs.meta +1 -1
  105. package/Source/Multiplayer/Conversation/ConversationSystem.cs.meta +1 -1
  106. package/Source/Multiplayer/Conversation/MessageCollectionResult.cs.meta +1 -1
  107. package/Source/Multiplayer/Conversation/MessageInfo.cs.meta +1 -1
  108. package/Source/Multiplayer/Conversation/MessageResult.cs.meta +1 -1
  109. package/Source/Multiplayer/Conversation.meta +1 -1
  110. package/Source/Multiplayer/ConversationSystemParams.cs.meta +1 -1
  111. package/Source/Multiplayer/EAssetChangeType.cs.meta +1 -1
  112. package/Source/Multiplayer/EPermissionChangeType.cs.meta +1 -1
  113. package/Source/Multiplayer/ErrorCode.cs.meta +1 -1
  114. package/Source/Multiplayer/IEntityDeserialiser.cs.meta +1 -1
  115. package/Source/Multiplayer/IEntitySerialiser.cs.meta +1 -1
  116. package/Source/Multiplayer/MultiplayerConnection.cs.meta +1 -1
  117. package/Source/Multiplayer/ReplicatedValue.cs.meta +1 -1
  118. package/Source/Multiplayer/ReplicatedValueType.cs.meta +1 -1
  119. package/Source/Multiplayer/Script/EntityScript.cs.meta +1 -1
  120. package/Source/Multiplayer/Script.meta +1 -1
  121. package/Source/Multiplayer/SpaceEntity.cs.meta +1 -1
  122. package/Source/Multiplayer/SpaceEntitySystem.cs.meta +1 -1
  123. package/Source/Multiplayer/SpaceEntityType.cs.meta +1 -1
  124. package/Source/Multiplayer/SpaceEntityUpdateFlags.cs.meta +1 -1
  125. package/Source/Multiplayer/SpaceTransform.cs.meta +1 -1
  126. package/Source/Multiplayer/UserPermissionsParams.cs.meta +1 -1
  127. package/Source/Multiplayer.meta +1 -1
  128. package/Source/NativeClassWrapper.cs.meta +1 -1
  129. package/Source/ProgressEventArgs.cs.meta +1 -1
  130. package/Source/Ref.cs.meta +1 -1
  131. package/Source/Systems/Analytics/AnalyticsEvent.cs.meta +1 -1
  132. package/Source/Systems/Analytics/AnalyticsEventInitialiser.cs.meta +1 -1
  133. package/Source/Systems/Analytics/AnalyticsSystem.cs.meta +1 -1
  134. package/Source/Systems/Analytics/IAnalyticsProvider.cs.meta +1 -1
  135. package/Source/Systems/Analytics.meta +1 -1
  136. package/Source/Systems/Assets/Asset.cs.meta +1 -1
  137. package/Source/Systems/Assets/AssetCollection.cs.meta +1 -1
  138. package/Source/Systems/Assets/AssetCollectionResult.cs.meta +1 -1
  139. package/Source/Systems/Assets/AssetCollectionsResult.cs.meta +1 -1
  140. package/Source/Systems/Assets/AssetDataResult.cs.meta +1 -1
  141. package/Source/Systems/Assets/AssetDataSource.cs.meta +1 -1
  142. package/Source/Systems/Assets/AssetResult.cs.meta +1 -1
  143. package/Source/Systems/Assets/AssetSystem.cs.meta +1 -1
  144. package/Source/Systems/Assets/AssetsResult.cs.meta +1 -1
  145. package/Source/Systems/Assets/BufferAssetDataSource.cs.meta +1 -1
  146. package/Source/Systems/Assets/EAssetCollectionType.cs.meta +1 -1
  147. package/Source/Systems/Assets/EAssetPlatform.cs.meta +1 -1
  148. package/Source/Systems/Assets/EAssetType.cs.meta +1 -1
  149. package/Source/Systems/Assets/FileAssetDataSource.cs.meta +1 -1
  150. package/Source/Systems/Assets/LODAsset.cs.meta +1 -1
  151. package/Source/Systems/Assets/LODChain.cs.meta +1 -1
  152. package/Source/Systems/Assets/LODChainResult.cs.meta +1 -1
  153. package/Source/Systems/Assets/UriResult.cs.meta +1 -1
  154. package/Source/Systems/Assets.meta +1 -1
  155. package/Source/Systems/BooleanResult.cs.meta +1 -1
  156. package/Source/Systems/ECommerce/AddShopifyStoreResult.cs.meta +1 -1
  157. package/Source/Systems/ECommerce/CartInfo.cs.meta +1 -1
  158. package/Source/Systems/ECommerce/CartInfoResult.cs.meta +1 -1
  159. package/Source/Systems/ECommerce/CartLine.cs.meta +1 -1
  160. package/Source/Systems/ECommerce/CheckoutInfo.cs.meta +1 -1
  161. package/Source/Systems/ECommerce/CheckoutInfoResult.cs.meta +1 -1
  162. package/Source/Systems/ECommerce/CurrencyInfo.cs.meta +1 -1
  163. package/Source/Systems/ECommerce/ECommerceSystem.cs +74 -0
  164. package/Source/Systems/ECommerce/ECommerceSystem.cs.meta +1 -1
  165. package/Source/Systems/ECommerce/GetShopifyStoresResult.cs +114 -0
  166. package/Source/Systems/ECommerce/GetShopifyStoresResult.cs.meta +11 -0
  167. package/Source/Systems/ECommerce/ProductInfo.cs.meta +1 -1
  168. package/Source/Systems/ECommerce/ProductInfoCollectionResult.cs.meta +1 -1
  169. package/Source/Systems/ECommerce/ProductInfoResult.cs.meta +1 -1
  170. package/Source/Systems/ECommerce/ProductMediaInfo.cs.meta +1 -1
  171. package/Source/Systems/ECommerce/ProductVariantInfo.cs.meta +1 -1
  172. package/Source/Systems/ECommerce/ShopifyStoreInfo.cs.meta +1 -1
  173. package/Source/Systems/ECommerce/ValidateShopifyStoreResult.cs.meta +1 -1
  174. package/Source/Systems/ECommerce/VariantOptionInfo.cs.meta +1 -1
  175. package/Source/Systems/ECommerce.meta +1 -1
  176. package/Source/Systems/ERequestFailureReason.cs.meta +1 -1
  177. package/Source/Systems/EResultCode.cs.meta +1 -1
  178. package/Source/Systems/EventTicketing/EventTicket.cs.meta +1 -1
  179. package/Source/Systems/EventTicketing/EventTicketResult.cs.meta +1 -1
  180. package/Source/Systems/EventTicketing/EventTicketingSystem.cs +35 -14
  181. package/Source/Systems/EventTicketing/EventTicketingSystem.cs.meta +1 -1
  182. package/Source/Systems/EventTicketing/EventTicketingVendor.cs.meta +1 -1
  183. package/Source/Systems/EventTicketing/SpaceIsTicketedResult.cs.meta +1 -1
  184. package/Source/Systems/EventTicketing/TicketStatus.cs.meta +1 -1
  185. package/Source/Systems/EventTicketing/TicketedEvent.cs.meta +1 -1
  186. package/Source/Systems/EventTicketing/TicketedEventCollectionResult.cs.meta +1 -1
  187. package/Source/Systems/EventTicketing/TicketedEventResult.cs.meta +1 -1
  188. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfo.cs.meta +1 -1
  189. package/Source/Systems/EventTicketing/TicketedEventVendorAuthInfoResult.cs.meta +1 -1
  190. package/Source/Systems/EventTicketing.meta +1 -1
  191. package/Source/Systems/GraphQL/GraphQLResult.cs.meta +1 -1
  192. package/Source/Systems/GraphQL/GraphQLSystem.cs.meta +1 -1
  193. package/Source/Systems/GraphQL.meta +1 -1
  194. package/Source/Systems/HTTPHeadersResult.cs.meta +1 -1
  195. package/Source/Systems/Log/LogLevel.cs.meta +1 -1
  196. package/Source/Systems/Log/LogSystem.cs.meta +1 -1
  197. package/Source/Systems/Log.meta +1 -1
  198. package/Source/Systems/Maintenance/MaintenanceInfo.cs.meta +1 -1
  199. package/Source/Systems/Maintenance/MaintenanceInfoResult.cs.meta +1 -1
  200. package/Source/Systems/Maintenance/MaintenanceSystem.cs.meta +1 -1
  201. package/Source/Systems/Maintenance.meta +1 -1
  202. package/Source/Systems/NullResult.cs.meta +1 -1
  203. package/Source/Systems/Organizations/EOrganizationRole.cs +24 -0
  204. package/Source/Systems/Organizations/EOrganizationRole.cs.meta +11 -0
  205. package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs +206 -0
  206. package/Source/Systems/Organizations/InviteOrganizationRoleCollection.cs.meta +11 -0
  207. package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs +160 -0
  208. package/Source/Systems/Organizations/InviteOrganizationRoleInfo.cs.meta +11 -0
  209. package/Source/Systems/Organizations/Organization.cs +382 -0
  210. package/Source/Systems/Organizations/Organization.cs.meta +11 -0
  211. package/Source/Systems/Organizations/OrganizationResult.cs +117 -0
  212. package/Source/Systems/Organizations/OrganizationResult.cs.meta +11 -0
  213. package/Source/Systems/Organizations/OrganizationRoleInfo.cs +160 -0
  214. package/Source/Systems/Organizations/OrganizationRoleInfo.cs.meta +11 -0
  215. package/Source/Systems/Organizations/OrganizationRolesResult.cs +117 -0
  216. package/Source/Systems/Organizations/OrganizationRolesResult.cs.meta +11 -0
  217. package/Source/Systems/Organizations/OrganizationSystem.cs +423 -0
  218. package/Source/Systems/Organizations/OrganizationSystem.cs.meta +11 -0
  219. package/Source/Systems/Organizations.meta +7 -0
  220. package/Source/Systems/Quota/FeatureLimitInfo.cs.meta +1 -1
  221. package/Source/Systems/Quota/FeatureLimitResult.cs.meta +1 -1
  222. package/Source/Systems/Quota/FeatureQuotaInfo.cs.meta +1 -1
  223. package/Source/Systems/Quota/FeatureQuotaResult.cs.meta +1 -1
  224. package/Source/Systems/Quota/FeaturesLimitResult.cs.meta +1 -1
  225. package/Source/Systems/Quota/FeaturesQuotaResult.cs.meta +1 -1
  226. package/Source/Systems/Quota/PeriodEnum.cs.meta +1 -1
  227. package/Source/Systems/Quota/QuotaSystem.cs.meta +1 -1
  228. package/Source/Systems/Quota/TierFeatures.cs.meta +1 -1
  229. package/Source/Systems/Quota/TierNames.cs.meta +1 -1
  230. package/Source/Systems/Quota/UserTierInfo.cs.meta +1 -1
  231. package/Source/Systems/Quota/UserTierResult.cs.meta +1 -1
  232. package/Source/Systems/Quota.meta +1 -1
  233. package/Source/Systems/ResultBase.cs.meta +1 -1
  234. package/Source/Systems/Script/ScriptSystem.cs.meta +1 -1
  235. package/Source/Systems/Script.meta +1 -1
  236. package/Source/Systems/Settings/AvatarInfoResult.cs.meta +1 -1
  237. package/Source/Systems/Settings/AvatarType.cs.meta +1 -1
  238. package/Source/Systems/Settings/SettingsCollection.cs.meta +1 -1
  239. package/Source/Systems/Settings/SettingsCollectionResult.cs.meta +1 -1
  240. package/Source/Systems/Settings/SettingsSystem.cs.meta +1 -1
  241. package/Source/Systems/Settings.meta +1 -1
  242. package/Source/Systems/Spaces/BasicSpace.cs.meta +1 -1
  243. package/Source/Systems/Spaces/BasicSpaceResult.cs.meta +1 -1
  244. package/Source/Systems/Spaces/BasicSpacesResult.cs.meta +1 -1
  245. package/Source/Systems/Spaces/InviteUserRoleInfo.cs.meta +1 -1
  246. package/Source/Systems/Spaces/InviteUserRoleInfoCollection.cs.meta +1 -1
  247. package/Source/Systems/Spaces/PendingInvitesResult.cs.meta +1 -1
  248. package/Source/Systems/Spaces/Site.cs.meta +1 -1
  249. package/Source/Systems/Spaces/SiteResult.cs.meta +1 -1
  250. package/Source/Systems/Spaces/SitesCollectionResult.cs.meta +1 -1
  251. package/Source/Systems/Spaces/Space.cs.meta +1 -1
  252. package/Source/Systems/Spaces/SpaceAttributes.cs.meta +1 -1
  253. package/Source/Systems/Spaces/SpaceGeoLocation.cs.meta +1 -1
  254. package/Source/Systems/Spaces/SpaceGeoLocationResult.cs.meta +1 -1
  255. package/Source/Systems/Spaces/SpaceMetadataResult.cs.meta +1 -1
  256. package/Source/Systems/Spaces/SpaceResult.cs.meta +1 -1
  257. package/Source/Systems/Spaces/SpaceSystem.cs.meta +1 -1
  258. package/Source/Systems/Spaces/SpaceUserRole.cs.meta +1 -1
  259. package/Source/Systems/Spaces/SpacesMetadataResult.cs.meta +1 -1
  260. package/Source/Systems/Spaces/SpacesResult.cs.meta +1 -1
  261. package/Source/Systems/Spaces/UserRoleCollectionResult.cs.meta +1 -1
  262. package/Source/Systems/Spaces/UserRoleInfo.cs.meta +1 -1
  263. package/Source/Systems/Spaces.meta +1 -1
  264. package/Source/Systems/Spatial/Anchor.cs.meta +1 -1
  265. package/Source/Systems/Spatial/AnchorCollectionResult.cs.meta +1 -1
  266. package/Source/Systems/Spatial/AnchorProvider.cs.meta +1 -1
  267. package/Source/Systems/Spatial/AnchorResolution.cs.meta +1 -1
  268. package/Source/Systems/Spatial/AnchorResolutionCollectionResult.cs.meta +1 -1
  269. package/Source/Systems/Spatial/AnchorResolutionResult.cs.meta +1 -1
  270. package/Source/Systems/Spatial/AnchorResult.cs.meta +1 -1
  271. package/Source/Systems/Spatial/AnchorSystem.cs.meta +1 -1
  272. package/Source/Systems/Spatial/EPointOfInterestType.cs.meta +1 -1
  273. package/Source/Systems/Spatial/GeoLocation.cs.meta +1 -1
  274. package/Source/Systems/Spatial/OlyAnchorPosition.cs.meta +1 -1
  275. package/Source/Systems/Spatial/OlyRotation.cs.meta +1 -1
  276. package/Source/Systems/Spatial/POICollectionResult.cs.meta +1 -1
  277. package/Source/Systems/Spatial/POIResult.cs.meta +1 -1
  278. package/Source/Systems/Spatial/PointOfInterest.cs.meta +1 -1
  279. package/Source/Systems/Spatial/PointOfInterestSystem.cs.meta +1 -1
  280. package/Source/Systems/Spatial.meta +1 -1
  281. package/Source/Systems/StringArrayResult.cs.meta +1 -1
  282. package/Source/Systems/StringResult.cs.meta +1 -1
  283. package/Source/Systems/SystemBase.cs.meta +1 -1
  284. package/Source/Systems/SystemsManager.cs +27 -0
  285. package/Source/Systems/SystemsManager.cs.meta +1 -1
  286. package/Source/Systems/UInt64Result.cs.meta +1 -1
  287. package/Source/Systems/Users/AgoraUserTokenParams.cs.meta +1 -1
  288. package/Source/Systems/Users/BasicProfile.cs.meta +1 -1
  289. package/Source/Systems/Users/BasicProfilesResult.cs.meta +1 -1
  290. package/Source/Systems/Users/ELoginState.cs.meta +1 -1
  291. package/Source/Systems/Users/EThirdPartyAuthenticationProviders.cs.meta +1 -1
  292. package/Source/Systems/Users/LoginState.cs +34 -0
  293. package/Source/Systems/Users/LoginState.cs.meta +1 -1
  294. package/Source/Systems/Users/LoginStateResult.cs.meta +1 -1
  295. package/Source/Systems/Users/LoginTokenInfo.cs.meta +1 -1
  296. package/Source/Systems/Users/LoginTokenInfoResult.cs.meta +1 -1
  297. package/Source/Systems/Users/Profile.cs.meta +1 -1
  298. package/Source/Systems/Users/ProfileResult.cs.meta +1 -1
  299. package/Source/Systems/Users/ProviderDetailsResult.cs.meta +1 -1
  300. package/Source/Systems/Users/ThirdPartyProviderDetails.cs.meta +1 -1
  301. package/Source/Systems/Users/UserSystem.cs.meta +1 -1
  302. package/Source/Systems/Users.meta +1 -1
  303. package/Source/Systems/Voip/VoipSystem.cs.meta +1 -1
  304. package/Source/Systems/Voip.meta +1 -1
  305. package/Source/Systems.meta +1 -1
  306. package/Source/Web/EResponseCodes.cs.meta +1 -1
  307. package/Source/Web.meta +1 -1
  308. package/Source/WrapperHelper.cs.meta +1 -1
  309. package/Source.meta +1 -1
  310. package/android64/libConnectedSpacesPlatform.so +0 -0
  311. package/android64/libConnectedSpacesPlatform.so.meta +1 -1
  312. package/android64/libConnectedSpacesPlatform_D.so +0 -0
  313. package/android64/libConnectedSpacesPlatform_D.so.meta +1 -1
  314. package/android64.meta +1 -1
  315. package/ios/libConnectedSpacesPlatform.a +0 -0
  316. package/ios/libConnectedSpacesPlatform.a.meta +1 -1
  317. package/ios/libcrypto.a.meta +1 -1
  318. package/ios/libssl.a.meta +1 -1
  319. package/ios.meta +1 -1
  320. package/macosx/libConnectedSpacesPlatform.dylib +0 -0
  321. package/macosx/libConnectedSpacesPlatform.dylib.meta +2 -2
  322. package/macosx.meta +1 -1
  323. package/package.json +1 -1
  324. package/package.json.meta +1 -1
  325. package/visionos/libConnectedSpacesPlatform.a +0 -0
  326. package/visionos/libConnectedSpacesPlatform.a.meta +1 -1
  327. package/visionos/libcrypto.a.meta +1 -1
  328. package/visionos/libssl.a.meta +1 -1
  329. package/visionos.meta +1 -1
  330. package/windows/ConnectedSpacesPlatform.dll +0 -0
  331. package/windows/ConnectedSpacesPlatform.dll.meta +1 -1
  332. package/windows/ConnectedSpacesPlatform_D.dll +0 -0
  333. package/windows/ConnectedSpacesPlatform_D.dll.meta +1 -1
  334. package/windows.meta +1 -1
@@ -0,0 +1,117 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// @ingroup Organization System
16
+ /// <summary>Data class used to contain a Users Organization Role Info object.</summary>
17
+
18
+ public class OrganizationRolesResult : Csp.Systems.ResultBase, IDisposable
19
+ {
20
+ internal override string _safeTypeName { get; } = "csp_systems_OrganizationRolesResult";
21
+
22
+ #region P/Invoke
23
+ #pragma warning disable IDE1006
24
+
25
+
26
+
27
+ [
28
+ DllImport(
29
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
30
+ "__Internal"
31
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
32
+ "ConnectedSpacesPlatform_D"
33
+ #else
34
+ "ConnectedSpacesPlatform"
35
+ #endif
36
+ ),
37
+ SuppressUnmanagedCodeSecurity
38
+ ]
39
+ static extern NativePointer csp_systems_OrganizationRolesResult_GetOrganizationRoleInfoC_ArrayRC(IntPtr @class);
40
+
41
+ [
42
+ DllImport(
43
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
44
+ "__Internal"
45
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
46
+ "ConnectedSpacesPlatform_D"
47
+ #else
48
+ "ConnectedSpacesPlatform"
49
+ #endif
50
+ ),
51
+ SuppressUnmanagedCodeSecurity
52
+ ]
53
+ static extern NativePointer csp_systems_OrganizationRolesResult_Ctor_voidP(IntPtr arg1);
54
+
55
+ [
56
+ DllImport(
57
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
58
+ "__Internal"
59
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
60
+ "ConnectedSpacesPlatform_D"
61
+ #else
62
+ "ConnectedSpacesPlatform"
63
+ #endif
64
+ ),
65
+ SuppressUnmanagedCodeSecurity
66
+ ]
67
+ static extern void csp_systems_OrganizationRolesResult_Dtor(IntPtr @class);
68
+
69
+ #pragma warning restore IDE1006
70
+ #endregion
71
+
72
+ internal OrganizationRolesResult(NativePointer ptr) : base(ptr) { }
73
+
74
+ public OrganizationRolesResult(Csp.Systems.ResultBase baseInstance)
75
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
76
+ {
77
+ // Prevent previous instance from freeing underlying pointer when destroyed
78
+ baseInstance._ownsPtr = false;
79
+ }
80
+
81
+ /// <summary>Retrieves the Organization Role Info result.</summary>
82
+ /// <returns>Array of Organization Role Info objects.</returns>
83
+
84
+
85
+ public Csp.Common.Array<Csp.Systems.OrganizationRoleInfo> GetOrganizationRoleInfo()
86
+ {
87
+ var _result = new Csp.Common.Array<Csp.Systems.OrganizationRoleInfo>(
88
+ csp_systems_OrganizationRolesResult_GetOrganizationRoleInfoC_ArrayRC(_ptr)
89
+ );
90
+
91
+ return _result;
92
+ }
93
+
94
+ ~OrganizationRolesResult()
95
+ {
96
+ //RealDispose();
97
+ }
98
+
99
+ void RealDispose()
100
+ {
101
+ if (_ownsPtr && !_disposed)
102
+ {
103
+ csp_systems_OrganizationRolesResult_Dtor(_ptr);
104
+ _disposed = true;
105
+ }
106
+
107
+ _disposed = true;
108
+ }
109
+
110
+ new public void Dispose()
111
+ {
112
+ RealDispose();
113
+ GC.SuppressFinalize(this);
114
+ }
115
+ }
116
+ }
117
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: ff56b5040d224d2c836530393ecacc1b
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,423 @@
1
+ // WARNING: DO NOT EDIT THIS FILE! IT IS A GENERATED FILE AND
2
+ // ANY CHANGES YOU MAKE WILL BE OVERWRITTEN ON THE NEXT BUILD
3
+
4
+ #nullable enable annotations
5
+
6
+ using System;
7
+ using System.Collections.Generic;
8
+ using System.Reflection;
9
+ using System.Runtime.InteropServices;
10
+ using System.Security;
11
+ using System.Threading.Tasks;
12
+
13
+ namespace Csp.Systems
14
+ {
15
+ /// @ingroup Quota System
16
+ /// <summary>Public facing system that allows interfacing with the Organization System.</summary>
17
+ /// <remarks>.</remarks>
18
+
19
+ public class OrganizationSystem : Csp.Systems.SystemBase
20
+ {
21
+ internal override string _safeTypeName { get; } = "csp_systems_OrganizationSystem";
22
+
23
+ #region P/Invoke
24
+ #pragma warning disable IDE1006
25
+
26
+ [
27
+ DllImport(
28
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
29
+ "__Internal"
30
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
31
+ "ConnectedSpacesPlatform_D"
32
+ #else
33
+ "ConnectedSpacesPlatform"
34
+ #endif
35
+ ),
36
+ SuppressUnmanagedCodeSecurity
37
+ ]
38
+ static extern void csp_systems_OrganizationSystem_SetMemberJoinedOrganizationCallback_void_MemberJoinedOrganizationCallback(
39
+ IntPtr @class,
40
+ SetMemberJoinedOrganizationCallbackCallbackDelegate callback,
41
+ IntPtr callbackStateObject
42
+ );
43
+
44
+ [
45
+ DllImport(
46
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
47
+ "__Internal"
48
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
49
+ "ConnectedSpacesPlatform_D"
50
+ #else
51
+ "ConnectedSpacesPlatform"
52
+ #endif
53
+ ),
54
+ SuppressUnmanagedCodeSecurity
55
+ ]
56
+ static extern void csp_systems_OrganizationSystem_Dtor(IntPtr @class);
57
+
58
+ [
59
+ DllImport(
60
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
61
+ "__Internal"
62
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
63
+ "ConnectedSpacesPlatform_D"
64
+ #else
65
+ "ConnectedSpacesPlatform"
66
+ #endif
67
+ ),
68
+ SuppressUnmanagedCodeSecurity
69
+ ]
70
+ static extern void csp_systems_OrganizationSystem_InviteToOrganization_void_StringRC_StringRC_ArrayRC_StringRC_StringRC_NullResultCallback(
71
+ IntPtr @class,
72
+ string OrganizationId,
73
+ string Email,
74
+ IntPtr OrganizationRoles,
75
+ string EmailLinkUrl,
76
+ string SignupUrl,
77
+ InviteToOrganizationCallbackDelegate callback,
78
+ IntPtr callbackStateObject
79
+ );
80
+
81
+ [
82
+ DllImport(
83
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
84
+ "__Internal"
85
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
86
+ "ConnectedSpacesPlatform_D"
87
+ #else
88
+ "ConnectedSpacesPlatform"
89
+ #endif
90
+ ),
91
+ SuppressUnmanagedCodeSecurity
92
+ ]
93
+ static extern void csp_systems_OrganizationSystem_BulkInviteToOrganization_void_StringRC_InviteOrganizationRoleCollectionRC_NullResultCallback(
94
+ IntPtr @class,
95
+ string OrganizationId,
96
+ IntPtr InviteUsers,
97
+ BulkInviteToOrganizationCallbackDelegate callback,
98
+ IntPtr callbackStateObject
99
+ );
100
+
101
+ [
102
+ DllImport(
103
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
104
+ "__Internal"
105
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
106
+ "ConnectedSpacesPlatform_D"
107
+ #else
108
+ "ConnectedSpacesPlatform"
109
+ #endif
110
+ ),
111
+ SuppressUnmanagedCodeSecurity
112
+ ]
113
+ static extern void csp_systems_OrganizationSystem_GetUserRolesInOrganization_void_StringRC_ArrayRC_OrganizationRolesResultCallback(
114
+ IntPtr @class,
115
+ string OrganizationId,
116
+ IntPtr UserIds,
117
+ GetUserRolesInOrganizationCallbackDelegate callback,
118
+ IntPtr callbackStateObject
119
+ );
120
+
121
+ [
122
+ DllImport(
123
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
124
+ "__Internal"
125
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
126
+ "ConnectedSpacesPlatform_D"
127
+ #else
128
+ "ConnectedSpacesPlatform"
129
+ #endif
130
+ ),
131
+ SuppressUnmanagedCodeSecurity
132
+ ]
133
+ static extern void csp_systems_OrganizationSystem_RemoveUserFromOrganization_void_StringRC_StringRC_NullResultCallback(
134
+ IntPtr @class,
135
+ string OrganizationId,
136
+ string UserId,
137
+ RemoveUserFromOrganizationCallbackDelegate callback,
138
+ IntPtr callbackStateObject
139
+ );
140
+
141
+ [
142
+ DllImport(
143
+ #if !UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS)
144
+ "__Internal"
145
+ #elif DEBUG && !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX
146
+ "ConnectedSpacesPlatform_D"
147
+ #else
148
+ "ConnectedSpacesPlatform"
149
+ #endif
150
+ ),
151
+ SuppressUnmanagedCodeSecurity
152
+ ]
153
+ static extern NativePointer csp_systems_OrganizationSystem_Ctor();
154
+
155
+ #pragma warning restore IDE1006
156
+ #endregion
157
+
158
+ internal OrganizationSystem(NativePointer ptr) : base(ptr) { }
159
+
160
+ public OrganizationSystem(Csp.Systems.SystemBase baseInstance)
161
+ : base(new NativePointer(baseInstance._ptr, baseInstance._ownsPtr ? (byte)1 : (byte)0))
162
+ {
163
+ // Prevent previous instance from freeing underlying pointer when destroyed
164
+ baseInstance._ownsPtr = false;
165
+ }
166
+
167
+ delegate void SetMemberJoinedOrganizationCallbackCallbackDelegate(IntPtr _StateObject__, string arg1);
168
+
169
+ delegate void InviteToOrganizationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
170
+
171
+ delegate void BulkInviteToOrganizationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
172
+
173
+ delegate void GetUserRolesInOrganizationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
174
+
175
+ delegate void RemoveUserFromOrganizationCallbackDelegate(IntPtr _StateObject__, NativePointer Result);
176
+
177
+ readonly List<GCHandle> eventHandles = new List<GCHandle>();
178
+
179
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
180
+ [AOT.MonoPInvokeCallback (typeof (SetMemberJoinedOrganizationCallbackCallbackDelegate))]
181
+ #endif
182
+ static void SetMemberJoinedOrganizationCallbackCallbackDelegateFunction(IntPtr _StateObject__, string _arg1)
183
+ {
184
+ var _handle = (GCHandle)_StateObject__;
185
+ var _this = (OrganizationSystem)_handle.Target;
186
+ _this.RealOnMemberJoinedOrganization?.Invoke(_this, _arg1);
187
+ }
188
+
189
+ static readonly SetMemberJoinedOrganizationCallbackCallbackDelegate OnMemberJoinedOrganizationDelegateInstance =
190
+ SetMemberJoinedOrganizationCallbackCallbackDelegateFunction;
191
+
192
+ bool OnMemberJoinedOrganizationInitialised = false;
193
+ event EventHandler<string>? RealOnMemberJoinedOrganization;
194
+ public event EventHandler<string> OnMemberJoinedOrganization
195
+ {
196
+ add
197
+ {
198
+ if (!OnMemberJoinedOrganizationInitialised)
199
+ {
200
+ var handle = GCHandle.Alloc(this);
201
+ csp_systems_OrganizationSystem_SetMemberJoinedOrganizationCallback_void_MemberJoinedOrganizationCallback(
202
+ _ptr,
203
+ OnMemberJoinedOrganizationDelegateInstance,
204
+ (IntPtr)handle
205
+ );
206
+ eventHandles.Add(handle);
207
+ OnMemberJoinedOrganizationInitialised = true;
208
+ }
209
+
210
+ RealOnMemberJoinedOrganization += value;
211
+ }
212
+ remove { RealOnMemberJoinedOrganization -= value; }
213
+ }
214
+
215
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
216
+ [AOT.MonoPInvokeCallback (typeof (InviteToOrganizationCallbackDelegate))]
217
+ #endif
218
+ static void InviteToOrganizationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
219
+ {
220
+ var _handle = (GCHandle)_StateObject__;
221
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
222
+ var _this = (OrganizationSystem)tcs.Task.AsyncState;
223
+
224
+ var task_result = new Csp.Systems.NullResult(_Result);
225
+
226
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
227
+ {
228
+ return;
229
+ }
230
+
231
+ tcs.SetResult(task_result);
232
+ _handle.Free();
233
+ }
234
+
235
+ static readonly InviteToOrganizationCallbackDelegate InviteToOrganizationDelegateInstance =
236
+ InviteToOrganizationCallbackDelegateFunction;
237
+
238
+ /// <summary>Invites a given email to the User's Organization.</summary>
239
+ /// <remarks>Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their</remarks>
240
+ /// <remarks>call will be rejected.</remarks>
241
+ /// <param name="OrganizationId">Id of the Organization the user should be added to. If no Id is specified,</param>
242
+ /// <remarks>the Id of the Organization the user is currently authenticated against will be used.</remarks>
243
+ /// <param name="Email">Email to invite to the Organization.</param>
244
+ /// <param name="OrganizationRoles">The role/s in the Organization the invited User is to have.</param>
245
+ /// <param name="EmailLinkUrl">Link that will be provided in the invite email</param>
246
+ /// <param name="SignupUrl">Destination link that will be provided in the invite email</param>
247
+ /// <returns>The result for the request</returns>
248
+
249
+ public Task<Csp.Systems.NullResult> InviteToOrganization(
250
+ string? OrganizationId,
251
+ string Email,
252
+ Csp.Common.Array<Csp.Systems.EOrganizationRole> OrganizationRoles,
253
+ string? EmailLinkUrl,
254
+ string? SignupUrl
255
+ ) {
256
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
257
+ var handle = GCHandle.Alloc(tcs);
258
+
259
+ csp_systems_OrganizationSystem_InviteToOrganization_void_StringRC_StringRC_ArrayRC_StringRC_StringRC_NullResultCallback(
260
+ _ptr,
261
+ OrganizationId,
262
+ Email,
263
+ OrganizationRoles._ptr,
264
+ EmailLinkUrl,
265
+ SignupUrl,
266
+ InviteToOrganizationDelegateInstance,
267
+ (IntPtr)handle
268
+ );
269
+
270
+ return tcs.Task;
271
+ }
272
+
273
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
274
+ [AOT.MonoPInvokeCallback (typeof (BulkInviteToOrganizationCallbackDelegate))]
275
+ #endif
276
+ static void BulkInviteToOrganizationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
277
+ {
278
+ var _handle = (GCHandle)_StateObject__;
279
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
280
+ var _this = (OrganizationSystem)tcs.Task.AsyncState;
281
+
282
+ var task_result = new Csp.Systems.NullResult(_Result);
283
+
284
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
285
+ {
286
+ return;
287
+ }
288
+
289
+ tcs.SetResult(task_result);
290
+ _handle.Free();
291
+ }
292
+
293
+ static readonly BulkInviteToOrganizationCallbackDelegate BulkInviteToOrganizationDelegateInstance =
294
+ BulkInviteToOrganizationCallbackDelegateFunction;
295
+
296
+ /// <summary>Invites all the given emails to the User's Organization.</summary>
297
+ /// <remarks>Only a User with an Admin or Owner Organization role can invite people to the organization. If the User does not have the required role their</remarks>
298
+ /// <remarks>call will be rejected.</remarks>
299
+ /// <param name="OrganizationId">Id of the Organization the users should be added to. If no Id is specified,</param>
300
+ /// <remarks>the Id of the Organization the user is currently authenticated against will be used.</remarks>
301
+ /// <param name="InviteUsers">Collection containing the EmailLinkUrl and SignupUrl as well as the emails and</param>
302
+ /// <remarks>Organization role/s of the Users to be invited.</remarks>
303
+ /// <returns>The result for the request</returns>
304
+
305
+ public Task<Csp.Systems.NullResult> BulkInviteToOrganization(
306
+ string? OrganizationId,
307
+ Csp.Systems.InviteOrganizationRoleCollection InviteUsers
308
+ ) {
309
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
310
+ var handle = GCHandle.Alloc(tcs);
311
+
312
+ csp_systems_OrganizationSystem_BulkInviteToOrganization_void_StringRC_InviteOrganizationRoleCollectionRC_NullResultCallback(
313
+ _ptr,
314
+ OrganizationId,
315
+ InviteUsers._ptr,
316
+ BulkInviteToOrganizationDelegateInstance,
317
+ (IntPtr)handle
318
+ );
319
+
320
+ return tcs.Task;
321
+ }
322
+
323
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
324
+ [AOT.MonoPInvokeCallback (typeof (GetUserRolesInOrganizationCallbackDelegate))]
325
+ #endif
326
+ static void GetUserRolesInOrganizationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
327
+ {
328
+ var _handle = (GCHandle)_StateObject__;
329
+ var tcs = (TaskCompletionSource<Csp.Systems.OrganizationRolesResult>)_handle.Target;
330
+ var _this = (OrganizationSystem)tcs.Task.AsyncState;
331
+
332
+ var task_result = new Csp.Systems.OrganizationRolesResult(_Result);
333
+
334
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
335
+ {
336
+ return;
337
+ }
338
+
339
+ tcs.SetResult(task_result);
340
+ _handle.Free();
341
+ }
342
+
343
+ static readonly GetUserRolesInOrganizationCallbackDelegate GetUserRolesInOrganizationDelegateInstance =
344
+ GetUserRolesInOrganizationCallbackDelegateFunction;
345
+
346
+ /// <summary>Retrieves the Organisation User Role information for the User Ids that have been passed in.</summary>
347
+ /// <remarks>Only a User with an Admin or Owner Organization role can request the role information for other Organization members.</remarks>
348
+ /// <remarks>A User without these roles can only request information about their own Organization role and should pass an array containing only their own</remarks>
349
+ /// <remarks>User Id.</remarks>
350
+ /// <param name="OrganizationId">Id of the Organization you want to get user roles for. If no Id is</param>
351
+ /// <remarks>specified, the Id of the Organization the user is currently authenticated against will be used.</remarks>
352
+ /// <param name="UserIds">Array of User Ids for which the Organization User Roles will be retrieved.</param>
353
+ /// <returns>Result class</returns>
354
+
355
+ public Task<Csp.Systems.OrganizationRolesResult> GetUserRolesInOrganization(
356
+ string? OrganizationId,
357
+ Csp.Common.Array<string> UserIds
358
+ ) {
359
+ var tcs = new TaskCompletionSource<Csp.Systems.OrganizationRolesResult>(this);
360
+ var handle = GCHandle.Alloc(tcs);
361
+
362
+ csp_systems_OrganizationSystem_GetUserRolesInOrganization_void_StringRC_ArrayRC_OrganizationRolesResultCallback(
363
+ _ptr,
364
+ OrganizationId,
365
+ UserIds._ptr,
366
+ GetUserRolesInOrganizationDelegateInstance,
367
+ (IntPtr)handle
368
+ );
369
+
370
+ return tcs.Task;
371
+ }
372
+
373
+ #if !UNITY_EDITOR && ENABLE_IL2CPP
374
+ [AOT.MonoPInvokeCallback (typeof (RemoveUserFromOrganizationCallbackDelegate))]
375
+ #endif
376
+ static void RemoveUserFromOrganizationCallbackDelegateFunction(IntPtr _StateObject__, NativePointer _Result)
377
+ {
378
+ var _handle = (GCHandle)_StateObject__;
379
+ var tcs = (TaskCompletionSource<Csp.Systems.NullResult>)_handle.Target;
380
+ var _this = (OrganizationSystem)tcs.Task.AsyncState;
381
+
382
+ var task_result = new Csp.Systems.NullResult(_Result);
383
+
384
+ if (task_result.GetResultCode() == Csp.Systems.EResultCode.InProgress)
385
+ {
386
+ return;
387
+ }
388
+
389
+ tcs.SetResult(task_result);
390
+ _handle.Free();
391
+ }
392
+
393
+ static readonly RemoveUserFromOrganizationCallbackDelegate RemoveUserFromOrganizationDelegateInstance =
394
+ RemoveUserFromOrganizationCallbackDelegateFunction;
395
+
396
+ /// <summary>Removes a User from the Organization.</summary>
397
+ /// <remarks>Only a User with an Admin or Owner Organization role can remove other Users from the Organization. If the user does not have the required role</remarks>
398
+ /// <remarks>their call will be rejected. Anyone can remove themselves from an Organization.</remarks>
399
+ /// <param name="OrganizationId">Id of the Organization you want to remove a user from. If no Id is</param>
400
+ /// <remarks>specified, the Id of the Organization the user is currently authenticated against will be used.</remarks>
401
+ /// <param name="UserId">Unique ID of User.</param>
402
+ /// <returns>The result for the request</returns>
403
+
404
+ public Task<Csp.Systems.NullResult> RemoveUserFromOrganization(string? OrganizationId, string UserId)
405
+ {
406
+ var tcs = new TaskCompletionSource<Csp.Systems.NullResult>(this);
407
+ var handle = GCHandle.Alloc(tcs);
408
+
409
+ csp_systems_OrganizationSystem_RemoveUserFromOrganization_void_StringRC_StringRC_NullResultCallback(
410
+ _ptr,
411
+ OrganizationId,
412
+ UserId,
413
+ RemoveUserFromOrganizationDelegateInstance,
414
+ (IntPtr)handle
415
+ );
416
+
417
+ return tcs.Task;
418
+ }
419
+
420
+ protected OrganizationSystem() { }
421
+ }
422
+ }
423
+
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: 0a32eb6b6499451a8416be0fc09e55f4
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,7 @@
1
+ fileFormatVersion: 2
2
+ guid: 64f4549e3e90435e8604e4c30319c5fb
3
+ DefaultImporter:
4
+ externalObjects: {}
5
+ userData:
6
+ assetBundleName:
7
+ assetBundleVariant:
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 0308eec761d04b298e0a1b14e626823a
2
+ guid: 753284848f5045f992849390d3104a1c
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 8496e99144f24d57b171d2cb37cdc2c8
2
+ guid: af59cf2732f44e33a812b3e68a729418
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 63d8094078c9417e8b37f2f5728da1f0
2
+ guid: 67f46843f4c9429f900de443f165aa10
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 6159b3cd61374f0798a0bd3181c15f68
2
+ guid: 4734207358ec4884b242ac15261f0b76
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: f9598ddb33cb453099028e4e924ee9a9
2
+ guid: 6082f57057494ed2b2337d602a8c6b2f
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 92e218f6032f4636bfe2423ffafb7ebc
2
+ guid: 065d40291885472c903a70ce681f6387
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 0fdbd8082b81480bb986e6b3813c32df
2
+ guid: 30cd92050da0498db5252d4041fa8fdd
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 5028e7f155db4028a1547a5a4c1febc9
2
+ guid: c1f8da83f59f4013b300571255fb6365
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: e728ce389763407fbc8d49e571c9688b
2
+ guid: aa5f05878d6c4b5cbf011ce2646590d7
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 7f1751dffd4841fba51b9a417c75e86f
2
+ guid: 4cca8fc9e8f04280a7eb8ae5781e6ff5
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: c15a7ac2186543e1b100c0a8c7b42449
2
+ guid: 2f2d8ff80382441b92524bcc3788b1da
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 4a113699e0e0405b9933d0625b7e9382
2
+ guid: f20e961f85a04ca4a0e3094e845abc10
3
3
  MonoImporter:
4
4
  externalObjects: {}
5
5
  serializedVersion: 2
@@ -1,5 +1,5 @@
1
1
  fileFormatVersion: 2
2
- guid: 4da5aab1fb0c4b2a822757cf2f7c84f6
2
+ guid: 91664ae15935486e99756ac773b51a81
3
3
  DefaultImporter:
4
4
  externalObjects: {}
5
5
  userData: