@gobodo/gobodo-api 0.1.93 → 0.1.95

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 (532) hide show
  1. package/README.md +63 -16
  2. package/dist/ApiClient.d.ts +1 -1
  3. package/dist/ApiClient.js +3 -3
  4. package/dist/api/ActionTypesApi.d.ts +1 -1
  5. package/dist/api/ActionTypesApi.js +2 -2
  6. package/dist/api/AdCampaignsApi.d.ts +1 -1
  7. package/dist/api/AdCampaignsApi.js +2 -2
  8. package/dist/api/AdManagementApi.d.ts +1 -1
  9. package/dist/api/AdManagementApi.js +2 -2
  10. package/dist/api/AdminDataManagementApi.d.ts +1 -1
  11. package/dist/api/AdminDataManagementApi.js +2 -2
  12. package/dist/api/AdsApi.d.ts +1 -1
  13. package/dist/api/AdsApi.js +2 -2
  14. package/dist/api/AttachmentsApi.d.ts +1 -1
  15. package/dist/api/AttachmentsApi.js +2 -2
  16. package/dist/api/AuthenticationApi.d.ts +1 -1
  17. package/dist/api/AuthenticationApi.js +2 -2
  18. package/dist/api/CategoriesApi.d.ts +1 -1
  19. package/dist/api/CategoriesApi.js +2 -2
  20. package/dist/api/CommentsApi.d.ts +1 -1
  21. package/dist/api/CommentsApi.js +2 -2
  22. package/dist/api/ContentManagementApi.d.ts +1 -1
  23. package/dist/api/ContentManagementApi.js +2 -2
  24. package/dist/api/ConversationsApi.d.ts +1 -1
  25. package/dist/api/ConversationsApi.js +2 -2
  26. package/dist/api/CurrencyApi.d.ts +1 -1
  27. package/dist/api/CurrencyApi.js +2 -2
  28. package/dist/api/DataSheetImportsApi.d.ts +1 -1
  29. package/dist/api/DataSheetImportsApi.js +2 -2
  30. package/dist/api/DefaultApi.d.ts +1 -1
  31. package/dist/api/DefaultApi.js +2 -2
  32. package/dist/api/DocumentPartTypesApi.d.ts +1 -1
  33. package/dist/api/DocumentPartTypesApi.js +2 -2
  34. package/dist/api/DocumentTypesApi.d.ts +1 -1
  35. package/dist/api/DocumentTypesApi.js +2 -2
  36. package/dist/api/DocumentsApi.d.ts +1 -1
  37. package/dist/api/DocumentsApi.js +2 -2
  38. package/dist/api/EmailsApi.d.ts +1 -1
  39. package/dist/api/EmailsApi.js +2 -2
  40. package/dist/api/EntryPartsApi.d.ts +1 -1
  41. package/dist/api/EntryPartsApi.js +2 -2
  42. package/dist/api/FacebookApi.d.ts +1 -1
  43. package/dist/api/FacebookApi.js +2 -2
  44. package/dist/api/FieldsApi.d.ts +1 -1
  45. package/dist/api/FieldsApi.js +2 -2
  46. package/dist/api/FilesApi.d.ts +1 -1
  47. package/dist/api/FilesApi.js +2 -2
  48. package/dist/api/FormsApi.d.ts +1 -1
  49. package/dist/api/FormsApi.js +2 -2
  50. package/dist/api/FunctionsApi.d.ts +1 -1
  51. package/dist/api/FunctionsApi.js +2 -2
  52. package/dist/api/GeocodeApi.d.ts +1 -1
  53. package/dist/api/GeocodeApi.js +2 -2
  54. package/dist/api/GobodoManagementApi.d.ts +1 -1
  55. package/dist/api/GobodoManagementApi.js +2 -2
  56. package/dist/api/GoogleApi.d.ts +1 -1
  57. package/dist/api/GoogleApi.js +2 -2
  58. package/dist/api/GraphActionTypesApi.d.ts +1 -1
  59. package/dist/api/GraphActionTypesApi.js +2 -2
  60. package/dist/api/GraphActionsApi.d.ts +1 -1
  61. package/dist/api/GraphActionsApi.js +2 -2
  62. package/dist/api/GraphObjectTypesApi.d.ts +1 -1
  63. package/dist/api/GraphObjectTypesApi.js +2 -2
  64. package/dist/api/GraphObjectsApi.d.ts +1 -1
  65. package/dist/api/GraphObjectsApi.js +2 -2
  66. package/dist/api/GraphRelationshipTypesApi.d.ts +1 -1
  67. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  68. package/dist/api/GraphRelationshipsApi.d.ts +1 -1
  69. package/dist/api/GraphRelationshipsApi.js +2 -2
  70. package/dist/api/GraphSchemasApi.d.ts +1 -1
  71. package/dist/api/GraphSchemasApi.js +2 -2
  72. package/dist/api/GraphTraversalApi.d.ts +1 -1
  73. package/dist/api/GraphTraversalApi.js +2 -2
  74. package/dist/api/GraphsApi.d.ts +1 -1
  75. package/dist/api/GraphsApi.js +2 -2
  76. package/dist/api/IAMApi.d.ts +1 -1
  77. package/dist/api/IAMApi.js +2 -2
  78. package/dist/api/ImagesApi.d.ts +11 -6
  79. package/dist/api/ImagesApi.js +25 -12
  80. package/dist/api/InvitesApi.d.ts +1 -1
  81. package/dist/api/InvitesApi.js +2 -2
  82. package/dist/api/LikesApi.d.ts +1 -1
  83. package/dist/api/LikesApi.js +2 -2
  84. package/dist/api/LinkedINApi.d.ts +1 -1
  85. package/dist/api/LinkedINApi.js +2 -2
  86. package/dist/api/LiveMeetingsApi.d.ts +1 -1
  87. package/dist/api/LiveMeetingsApi.js +2 -2
  88. package/dist/api/MeetingEventsApi.d.ts +489 -1
  89. package/dist/api/MeetingEventsApi.js +1215 -91
  90. package/dist/api/NotificationsApi.d.ts +1 -1
  91. package/dist/api/NotificationsApi.js +2 -2
  92. package/dist/api/PagesApi.d.ts +5 -6
  93. package/dist/api/PagesApi.js +11 -11
  94. package/dist/api/PhoneNumbersApi.d.ts +1 -1
  95. package/dist/api/PhoneNumbersApi.js +2 -2
  96. package/dist/api/PostsApi.d.ts +1 -1
  97. package/dist/api/PostsApi.js +2 -2
  98. package/dist/api/PrivateMessagesApi.d.ts +1 -1
  99. package/dist/api/PrivateMessagesApi.js +2 -2
  100. package/dist/api/PublicationsApi.d.ts +233 -1
  101. package/dist/api/PublicationsApi.js +542 -8
  102. package/dist/api/RestApplicationsApi.d.ts +1 -1
  103. package/dist/api/RestApplicationsApi.js +2 -2
  104. package/dist/api/ScreensApi.d.ts +1 -1
  105. package/dist/api/ScreensApi.js +2 -2
  106. package/dist/api/SitesApi.d.ts +1 -1
  107. package/dist/api/SitesApi.js +2 -2
  108. package/dist/api/SocialGroupsApi.d.ts +506 -0
  109. package/dist/api/SocialGroupsApi.js +1181 -0
  110. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  111. package/dist/api/SocialIntegrationApi.js +2 -2
  112. package/dist/api/StripeAccountsApi.d.ts +1 -1
  113. package/dist/api/StripeAccountsApi.js +2 -2
  114. package/dist/api/TagsApi.d.ts +1 -1
  115. package/dist/api/TagsApi.js +2 -2
  116. package/dist/api/TemplatesApi.d.ts +1 -1
  117. package/dist/api/TemplatesApi.js +2 -2
  118. package/dist/api/ThemeMappingsApi.d.ts +1 -1
  119. package/dist/api/ThemeMappingsApi.js +2 -2
  120. package/dist/api/TopicsApi.d.ts +1 -1
  121. package/dist/api/TopicsApi.js +2 -2
  122. package/dist/api/TransactionsApi.d.ts +1 -1
  123. package/dist/api/TransactionsApi.js +2 -2
  124. package/dist/api/TwitterApi.d.ts +1 -1
  125. package/dist/api/TwitterApi.js +2 -2
  126. package/dist/api/UserTagsApi.d.ts +1 -1
  127. package/dist/api/UserTagsApi.js +2 -2
  128. package/dist/api/UsersApi.d.ts +4 -5
  129. package/dist/api/UsersApi.js +10 -10
  130. package/dist/api/UtilsApi.d.ts +1 -1
  131. package/dist/api/UtilsApi.js +2 -2
  132. package/dist/api/VideosApi.d.ts +1 -1
  133. package/dist/api/VideosApi.js +2 -2
  134. package/dist/api/WalletsApi.d.ts +1 -1
  135. package/dist/api/WalletsApi.js +2 -2
  136. package/dist/index.d.ts +14 -3
  137. package/dist/index.js +91 -14
  138. package/dist/model/APIClient.d.ts +1 -1
  139. package/dist/model/APIClient.js +2 -2
  140. package/dist/model/AccountSessionInput.d.ts +1 -1
  141. package/dist/model/AccountSessionInput.js +2 -2
  142. package/dist/model/AccountSessionResponse.d.ts +1 -1
  143. package/dist/model/AccountSessionResponse.js +2 -2
  144. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  145. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  146. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
  147. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  148. package/dist/model/Article.d.ts +2 -2
  149. package/dist/model/Article.js +9 -9
  150. package/dist/model/AuthResponse.d.ts +1 -1
  151. package/dist/model/AuthResponse.js +2 -2
  152. package/dist/model/AwsSettings.d.ts +1 -1
  153. package/dist/model/AwsSettings.js +2 -2
  154. package/dist/model/Balance.d.ts +2 -2
  155. package/dist/model/Balance.js +25 -25
  156. package/dist/model/BalanceDetails.d.ts +1 -1
  157. package/dist/model/BalanceDetails.js +2 -2
  158. package/dist/model/BalanceResponse.d.ts +1 -1
  159. package/dist/model/BalanceResponse.js +2 -2
  160. package/dist/model/BankAccountInfo.d.ts +1 -1
  161. package/dist/model/BankAccountInfo.js +2 -2
  162. package/dist/model/BlogPostResponse.d.ts +65 -0
  163. package/dist/model/BlogPostResponse.js +294 -0
  164. package/dist/model/CardInfo.d.ts +1 -1
  165. package/dist/model/CardInfo.js +2 -2
  166. package/dist/model/Comment.d.ts +3 -3
  167. package/dist/model/Comment.js +14 -14
  168. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  169. package/dist/model/ConsoleProjectInput.js +2 -2
  170. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  171. package/dist/model/ConsoleProjectResponse.js +2 -2
  172. package/dist/model/Coordinates.d.ts +1 -1
  173. package/dist/model/Coordinates.js +2 -2
  174. package/dist/model/CreateAccountResponse.d.ts +1 -1
  175. package/dist/model/CreateAccountResponse.js +2 -2
  176. package/dist/model/CreateFunctionInput.d.ts +1 -1
  177. package/dist/model/CreateFunctionInput.js +2 -2
  178. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  179. package/dist/model/CreateStripeAccountInput.js +2 -2
  180. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  181. package/dist/model/CreateStripeCustomerInput.js +2 -2
  182. package/dist/model/CreateTopicInput.d.ts +1 -1
  183. package/dist/model/CreateTopicInput.js +2 -2
  184. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  185. package/dist/model/CreateTopicListenerInput.js +2 -2
  186. package/dist/model/Currency.d.ts +1 -1
  187. package/dist/model/Currency.js +2 -2
  188. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  189. package/dist/model/CurrencyGrantInput.js +2 -2
  190. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  191. package/dist/model/CurrencyGrantResponse.js +2 -2
  192. package/dist/model/CurrencyInput.d.ts +1 -1
  193. package/dist/model/CurrencyInput.js +2 -2
  194. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  195. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  196. package/dist/model/CurrencyResponse.d.ts +1 -1
  197. package/dist/model/CurrencyResponse.js +2 -2
  198. package/dist/model/CurrencySettings.d.ts +1 -1
  199. package/dist/model/CurrencySettings.js +2 -2
  200. package/dist/model/CustomerResponse.d.ts +1 -1
  201. package/dist/model/CustomerResponse.js +2 -2
  202. package/dist/model/DataObject.d.ts +1 -1
  203. package/dist/model/DataObject.js +2 -2
  204. package/dist/model/DataSheetImport.d.ts +3 -3
  205. package/dist/model/DataSheetImport.js +22 -22
  206. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  207. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  208. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  209. package/dist/model/DataSheetImportSummary.js +2 -2
  210. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  211. package/dist/model/DeviceRegistrationRequest.js +2 -2
  212. package/dist/model/Document.d.ts +2 -2
  213. package/dist/model/Document.js +9 -9
  214. package/dist/model/DocumentPart.d.ts +1 -1
  215. package/dist/model/DocumentPart.js +2 -2
  216. package/dist/model/DocumentPartType.d.ts +3 -3
  217. package/dist/model/DocumentPartType.js +14 -14
  218. package/dist/model/DocumentType.d.ts +2 -2
  219. package/dist/model/DocumentType.js +9 -9
  220. package/dist/model/EmailAddress.d.ts +2 -2
  221. package/dist/model/EmailAddress.js +13 -13
  222. package/dist/model/FieldMapping.d.ts +1 -1
  223. package/dist/model/FieldMapping.js +2 -2
  224. package/dist/model/Fields.d.ts +2 -2
  225. package/dist/model/Fields.js +10 -10
  226. package/dist/model/File.d.ts +2 -2
  227. package/dist/model/File.js +14 -14
  228. package/dist/model/FileAttachmentUploadObject.d.ts +2 -2
  229. package/dist/model/FileAttachmentUploadObject.js +14 -14
  230. package/dist/model/Filter.d.ts +1 -1
  231. package/dist/model/Filter.js +2 -2
  232. package/dist/model/FilterManager.d.ts +2 -2
  233. package/dist/model/FilterManager.js +9 -9
  234. package/dist/model/Form.d.ts +2 -2
  235. package/dist/model/Form.js +13 -13
  236. package/dist/model/FormSection.d.ts +1 -1
  237. package/dist/model/FormSection.js +2 -2
  238. package/dist/model/FormSubmission.d.ts +1 -1
  239. package/dist/model/FormSubmission.js +2 -2
  240. package/dist/model/FunctionConfigInput.d.ts +1 -1
  241. package/dist/model/FunctionConfigInput.js +2 -2
  242. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  243. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  244. package/dist/model/FunctionInput.d.ts +1 -1
  245. package/dist/model/FunctionInput.js +2 -2
  246. package/dist/model/FunctionOutput.d.ts +1 -1
  247. package/dist/model/FunctionOutput.js +2 -2
  248. package/dist/model/Geocode.d.ts +1 -1
  249. package/dist/model/Geocode.js +2 -2
  250. package/dist/model/GeocodePayload.d.ts +1 -1
  251. package/dist/model/GeocodePayload.js +2 -2
  252. package/dist/model/GeolocationInput.d.ts +1 -1
  253. package/dist/model/GeolocationInput.js +2 -2
  254. package/dist/model/GetFunctionConfig.d.ts +1 -1
  255. package/dist/model/GetFunctionConfig.js +2 -2
  256. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  257. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  258. package/dist/model/GetFunctionResponse.d.ts +1 -1
  259. package/dist/model/GetFunctionResponse.js +2 -2
  260. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  261. package/dist/model/GoogleCloudSettings.js +2 -2
  262. package/dist/model/Graph.d.ts +1 -1
  263. package/dist/model/Graph.js +2 -2
  264. package/dist/model/GraphAction.d.ts +2 -2
  265. package/dist/model/GraphAction.js +11 -11
  266. package/dist/model/GraphActionPayload.d.ts +1 -1
  267. package/dist/model/GraphActionPayload.js +2 -2
  268. package/dist/model/GraphActionResponse.d.ts +1 -1
  269. package/dist/model/GraphActionResponse.js +2 -2
  270. package/dist/model/GraphDatabaseService.d.ts +1 -1
  271. package/dist/model/GraphDatabaseService.js +2 -2
  272. package/dist/model/GraphGeocode.d.ts +1 -1
  273. package/dist/model/GraphGeocode.js +2 -2
  274. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  275. package/dist/model/GraphIteratorEntryPart.js +2 -2
  276. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
  277. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  278. package/dist/model/GraphObject.d.ts +1 -1
  279. package/dist/model/GraphObject.js +2 -2
  280. package/dist/model/GraphObjectPayload.d.ts +1 -1
  281. package/dist/model/GraphObjectPayload.js +2 -2
  282. package/dist/model/GraphObjectResponse.d.ts +1 -1
  283. package/dist/model/GraphObjectResponse.js +2 -2
  284. package/dist/model/GraphObjectSchema.d.ts +1 -1
  285. package/dist/model/GraphObjectSchema.js +2 -2
  286. package/dist/model/GraphObjectType.d.ts +1 -1
  287. package/dist/model/GraphObjectType.js +2 -2
  288. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  289. package/dist/model/GraphObjectTypeInput.js +2 -2
  290. package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
  291. package/dist/model/GraphObjectTypeResponse.js +2 -2
  292. package/dist/model/GraphObjectTypeSchema.d.ts +1 -1
  293. package/dist/model/GraphObjectTypeSchema.js +2 -2
  294. package/dist/model/GraphOwner.d.ts +1 -1
  295. package/dist/model/GraphOwner.js +2 -2
  296. package/dist/model/GraphRelationship.d.ts +2 -2
  297. package/dist/model/GraphRelationship.js +11 -11
  298. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  299. package/dist/model/GraphRelationshipPayload.js +2 -2
  300. package/dist/model/GraphRelationshipType.d.ts +1 -1
  301. package/dist/model/GraphRelationshipType.js +2 -2
  302. package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
  303. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  304. package/dist/model/GraphSchema.d.ts +1 -1
  305. package/dist/model/GraphSchema.js +2 -2
  306. package/dist/model/GraphSchemaInput.d.ts +1 -1
  307. package/dist/model/GraphSchemaInput.js +2 -2
  308. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  309. package/dist/model/GraphSchemaResponse.js +2 -2
  310. package/dist/model/GraphTraversalInput.d.ts +1 -1
  311. package/dist/model/GraphTraversalInput.js +2 -2
  312. package/dist/model/Image.d.ts +26 -4
  313. package/dist/model/Image.js +70 -21
  314. package/dist/model/ImageUploadObject.d.ts +3 -3
  315. package/dist/model/ImageUploadObject.js +22 -22
  316. package/dist/model/InputPart.d.ts +2 -2
  317. package/dist/model/InputPart.js +12 -12
  318. package/dist/model/InputPartMediaType.d.ts +1 -1
  319. package/dist/model/InputPartMediaType.js +2 -2
  320. package/dist/model/KafkaSettings.d.ts +1 -1
  321. package/dist/model/KafkaSettings.js +2 -2
  322. package/dist/model/Link.d.ts +1 -1
  323. package/dist/model/Link.js +2 -2
  324. package/dist/model/LiveStreamInfo.d.ts +1 -1
  325. package/dist/model/LiveStreamInfo.js +2 -2
  326. package/dist/model/MeetingEvent.d.ts +2 -2
  327. package/dist/model/MeetingEvent.js +14 -14
  328. package/dist/model/MeetingEventInput.d.ts +65 -0
  329. package/dist/model/MeetingEventInput.js +312 -0
  330. package/dist/model/MeetingEventResponse.d.ts +75 -0
  331. package/dist/model/MeetingEventResponse.js +334 -0
  332. package/dist/model/MeetingEventTimezone.d.ts +1 -1
  333. package/dist/model/MeetingEventTimezone.js +2 -2
  334. package/dist/model/MeetingEventTypeInput.d.ts +47 -0
  335. package/dist/model/MeetingEventTypeInput.js +190 -0
  336. package/dist/model/MeetingEventTypeResponse.d.ts +39 -0
  337. package/dist/model/MeetingEventTypeResponse.js +188 -0
  338. package/dist/model/MeetingInfo.d.ts +1 -1
  339. package/dist/model/MeetingInfo.js +2 -2
  340. package/dist/model/Member.d.ts +3 -3
  341. package/dist/model/Member.js +21 -21
  342. package/dist/model/MemberGroupCategory.d.ts +1 -1
  343. package/dist/model/MemberGroupCategory.js +2 -2
  344. package/dist/model/MemberList.d.ts +1 -1
  345. package/dist/model/MemberList.js +2 -2
  346. package/dist/model/MessageGroup.d.ts +1 -1
  347. package/dist/model/MessageGroup.js +2 -2
  348. package/dist/model/MultipartBody.d.ts +1 -1
  349. package/dist/model/MultipartBody.js +2 -2
  350. package/dist/model/NotificationInput.d.ts +1 -1
  351. package/dist/model/NotificationInput.js +2 -2
  352. package/dist/model/NotificationResponse.d.ts +1 -1
  353. package/dist/model/NotificationResponse.js +2 -2
  354. package/dist/model/NumberSettings.d.ts +1 -1
  355. package/dist/model/NumberSettings.js +2 -2
  356. package/dist/model/ObjectSettings.d.ts +1 -1
  357. package/dist/model/ObjectSettings.js +2 -2
  358. package/dist/model/Objecttype.d.ts +1 -1
  359. package/dist/model/Objecttype.js +2 -2
  360. package/dist/model/OutParameter.d.ts +1 -1
  361. package/dist/model/OutParameter.js +2 -2
  362. package/dist/model/Page.d.ts +1 -1
  363. package/dist/model/Page.js +2 -2
  364. package/dist/model/PageSchema.d.ts +2 -2
  365. package/dist/model/PageSchema.js +13 -13
  366. package/dist/model/Pageable.d.ts +1 -1
  367. package/dist/model/Pageable.js +2 -2
  368. package/dist/model/Parameter.d.ts +1 -1
  369. package/dist/model/Parameter.js +2 -2
  370. package/dist/model/Path.d.ts +1 -1
  371. package/dist/model/Path.js +2 -2
  372. package/dist/model/PaymentAccountObject.d.ts +1 -1
  373. package/dist/model/PaymentAccountObject.js +2 -2
  374. package/dist/model/PaymentIntentInput.d.ts +1 -1
  375. package/dist/model/PaymentIntentInput.js +2 -2
  376. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  377. package/dist/model/PaymentIntentResponse.js +2 -2
  378. package/dist/model/PaymentMethod.d.ts +2 -2
  379. package/dist/model/PaymentMethod.js +9 -9
  380. package/dist/model/PaymentMethodInput.d.ts +1 -1
  381. package/dist/model/PaymentMethodInput.js +2 -2
  382. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  383. package/dist/model/PaymentMethodResponse.js +2 -2
  384. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  385. package/dist/model/PaymentMethodsResponse.js +2 -2
  386. package/dist/model/Payout.d.ts +1 -1
  387. package/dist/model/Payout.js +2 -2
  388. package/dist/model/PayoutInput.d.ts +1 -1
  389. package/dist/model/PayoutInput.js +2 -2
  390. package/dist/model/PayoutResponse.d.ts +1 -1
  391. package/dist/model/PayoutResponse.js +2 -2
  392. package/dist/model/PhoneNumber.d.ts +1 -1
  393. package/dist/model/PhoneNumber.js +2 -2
  394. package/dist/model/Post.d.ts +1 -1
  395. package/dist/model/Post.js +2 -2
  396. package/dist/model/PrivateMessage.d.ts +1 -1
  397. package/dist/model/PrivateMessage.js +2 -2
  398. package/dist/model/PrivateMessageConversation.d.ts +3 -3
  399. package/dist/model/PrivateMessageConversation.js +23 -23
  400. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  401. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  402. package/dist/model/Profile.d.ts +1 -1
  403. package/dist/model/Profile.js +2 -2
  404. package/dist/model/Profiletype.d.ts +1 -1
  405. package/dist/model/Profiletype.js +2 -2
  406. package/dist/model/PropertyContainer.d.ts +1 -1
  407. package/dist/model/PropertyContainer.js +2 -2
  408. package/dist/model/PublicationInput.d.ts +45 -0
  409. package/dist/model/PublicationInput.js +176 -0
  410. package/dist/model/PublicationResponse.d.ts +61 -0
  411. package/dist/model/PublicationResponse.js +272 -0
  412. package/dist/model/PurchaseInput.d.ts +1 -1
  413. package/dist/model/PurchaseInput.js +2 -2
  414. package/dist/model/PurchaseResponse.d.ts +1 -1
  415. package/dist/model/PurchaseResponse.js +2 -2
  416. package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
  417. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  418. package/dist/model/RelationshipMapping.d.ts +1 -1
  419. package/dist/model/RelationshipMapping.js +2 -2
  420. package/dist/model/RestApplicationInput.d.ts +1 -1
  421. package/dist/model/RestApplicationInput.js +2 -2
  422. package/dist/model/RestApplicationResponse.d.ts +1 -1
  423. package/dist/model/RestApplicationResponse.js +2 -2
  424. package/dist/model/ScreenSchema.d.ts +1 -1
  425. package/dist/model/ScreenSchema.js +2 -2
  426. package/dist/model/SimulcastInfo.d.ts +1 -1
  427. package/dist/model/SimulcastInfo.js +2 -2
  428. package/dist/model/SiteInput.d.ts +1 -1
  429. package/dist/model/SiteInput.js +2 -2
  430. package/dist/model/SiteResponse.d.ts +1 -1
  431. package/dist/model/SiteResponse.js +2 -2
  432. package/dist/model/SiteTypeInput.d.ts +1 -1
  433. package/dist/model/SiteTypeInput.js +2 -2
  434. package/dist/model/SiteTypeResponse.d.ts +1 -1
  435. package/dist/model/SiteTypeResponse.js +2 -2
  436. package/dist/model/SkinField.d.ts +2 -2
  437. package/dist/model/SkinField.js +10 -10
  438. package/dist/model/SkinFieldResponse.d.ts +1 -1
  439. package/dist/model/SkinFieldResponse.js +2 -2
  440. package/dist/model/SocialGroup.d.ts +1 -1
  441. package/dist/model/SocialGroup.js +2 -2
  442. package/dist/model/SocialGroupInput.d.ts +44 -0
  443. package/dist/model/SocialGroupInput.js +168 -0
  444. package/dist/model/SocialGroupResponse.d.ts +75 -0
  445. package/dist/model/SocialGroupResponse.js +340 -0
  446. package/dist/model/SocialGroupType.d.ts +2 -2
  447. package/dist/model/SocialGroupType.js +13 -13
  448. package/dist/model/SocialGroupTypeInput.d.ts +45 -0
  449. package/dist/model/SocialGroupTypeInput.js +174 -0
  450. package/dist/model/Sort.d.ts +1 -1
  451. package/dist/model/Sort.js +2 -2
  452. package/dist/model/SourceTypes.d.ts +1 -1
  453. package/dist/model/SourceTypes.js +2 -2
  454. package/dist/model/StatusUpdate.d.ts +1 -1
  455. package/dist/model/StatusUpdate.js +2 -2
  456. package/dist/model/StreetAddress.d.ts +1 -1
  457. package/dist/model/StreetAddress.js +2 -2
  458. package/dist/model/StripeAccount.d.ts +1 -1
  459. package/dist/model/StripeAccount.js +2 -2
  460. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  461. package/dist/model/StripeCustomerAccount.js +2 -2
  462. package/dist/model/Template.d.ts +1 -1
  463. package/dist/model/Template.js +2 -2
  464. package/dist/model/TemplateResponse.d.ts +1 -1
  465. package/dist/model/TemplateResponse.js +2 -2
  466. package/dist/model/TemplateSchema.d.ts +1 -1
  467. package/dist/model/TemplateSchema.js +2 -2
  468. package/dist/model/ThemeMapping.d.ts +1 -1
  469. package/dist/model/ThemeMapping.js +2 -2
  470. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  471. package/dist/model/ThemeMappingPayload.js +2 -2
  472. package/dist/model/Timezone.d.ts +32 -0
  473. package/dist/model/Timezone.js +117 -0
  474. package/dist/model/Timezone1.d.ts +32 -0
  475. package/dist/model/Timezone1.js +117 -0
  476. package/dist/model/TopicInfoResponse.d.ts +1 -1
  477. package/dist/model/TopicInfoResponse.js +2 -2
  478. package/dist/model/TopicMessageInput.d.ts +1 -1
  479. package/dist/model/TopicMessageInput.js +2 -2
  480. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  481. package/dist/model/TopicSubscriptionResponse.js +2 -2
  482. package/dist/model/Transaction.d.ts +1 -1
  483. package/dist/model/Transaction.js +2 -2
  484. package/dist/model/Transfer.d.ts +1 -1
  485. package/dist/model/Transfer.js +2 -2
  486. package/dist/model/TransferInput.d.ts +1 -1
  487. package/dist/model/TransferInput.js +2 -2
  488. package/dist/model/TransferResponse.d.ts +1 -1
  489. package/dist/model/TransferResponse.js +2 -2
  490. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
  491. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  492. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  493. package/dist/model/TraversalRelationResponse.js +2 -2
  494. package/dist/model/User.d.ts +3 -3
  495. package/dist/model/User.js +21 -21
  496. package/dist/model/UserDataPayload.d.ts +3 -3
  497. package/dist/model/UserDataPayload.js +21 -21
  498. package/dist/model/UserDomain.d.ts +1 -1
  499. package/dist/model/UserDomain.js +2 -2
  500. package/dist/model/UserInvite.d.ts +1 -1
  501. package/dist/model/UserInvite.js +2 -2
  502. package/dist/model/UserInviteInput.d.ts +1 -1
  503. package/dist/model/UserInviteInput.js +2 -2
  504. package/dist/model/UserResponse.d.ts +1 -1
  505. package/dist/model/UserResponse.js +2 -2
  506. package/dist/model/UserSchema.d.ts +3 -3
  507. package/dist/model/UserSchema.js +21 -21
  508. package/dist/model/UserTag.d.ts +1 -1
  509. package/dist/model/UserTag.js +2 -2
  510. package/dist/model/Userid.d.ts +1 -1
  511. package/dist/model/Userid.js +2 -2
  512. package/dist/model/Video.d.ts +2 -2
  513. package/dist/model/Video.js +14 -14
  514. package/dist/model/VideoLiveUrl.d.ts +2 -2
  515. package/dist/model/VideoLiveUrl.js +13 -13
  516. package/dist/model/VideoSchema.d.ts +2 -2
  517. package/dist/model/VideoSchema.js +14 -14
  518. package/dist/model/VideoUploadObject.d.ts +2 -2
  519. package/dist/model/VideoUploadObject.js +14 -14
  520. package/dist/model/WalletHoldInput.d.ts +1 -1
  521. package/dist/model/WalletHoldInput.js +2 -2
  522. package/dist/model/WalletHoldResponse.d.ts +1 -1
  523. package/dist/model/WalletHoldResponse.js +2 -2
  524. package/dist/model/WalletPayoutInput.d.ts +1 -1
  525. package/dist/model/WalletPayoutInput.js +2 -2
  526. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  527. package/dist/model/WalletPayoutResponse.js +2 -2
  528. package/dist/model/WalletResponse.d.ts +1 -1
  529. package/dist/model/WalletResponse.js +2 -2
  530. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  531. package/dist/model/ZeusPortalCategory.js +2 -2
  532. package/package.json +2 -2
@@ -0,0 +1,1181 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _Page = _interopRequireDefault(require("../model/Page"));
9
+ var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
10
+ var _SocialGroup = _interopRequireDefault(require("../model/SocialGroup"));
11
+ var _SocialGroupInput = _interopRequireDefault(require("../model/SocialGroupInput"));
12
+ var _SocialGroupResponse = _interopRequireDefault(require("../model/SocialGroupResponse"));
13
+ var _SocialGroupType = _interopRequireDefault(require("../model/SocialGroupType"));
14
+ var _SocialGroupTypeInput = _interopRequireDefault(require("../model/SocialGroupTypeInput"));
15
+ var _User = _interopRequireDefault(require("../model/User"));
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
18
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
19
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
20
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
23
+ * gobodo-api
24
+ * REST Interface for Gobodo API
25
+ *
26
+ * The version of the OpenAPI document: 0.1.95
27
+ * Contact: info@gobodo.io
28
+ *
29
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30
+ * https://openapi-generator.tech
31
+ * Do not edit the class manually.
32
+ *
33
+ */
34
+ /**
35
+ * SocialGroups service.
36
+ * @module api/SocialGroupsApi
37
+ * @version 0.1.95
38
+ */
39
+ var SocialGroupsApi = exports["default"] = /*#__PURE__*/function () {
40
+ /**
41
+ * Constructs a new SocialGroupsApi.
42
+ * @alias module:api/SocialGroupsApi
43
+ * @class
44
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
45
+ * default to {@link module:ApiClient#instance} if unspecified.
46
+ */
47
+ function SocialGroupsApi(apiClient) {
48
+ _classCallCheck(this, SocialGroupsApi);
49
+ this.apiClient = apiClient || _ApiClient["default"].instance;
50
+ }
51
+
52
+ /**
53
+ * Callback function to receive the result of the addGroupMembers operation.
54
+ * @callback module:api/SocialGroupsApi~addGroupMembersCallback
55
+ * @param {String} error Error message, if any.
56
+ * @param data This operation does not return a value.
57
+ * @param {String} response The complete HTTP response.
58
+ */
59
+
60
+ /**
61
+ * Adds the users corresponding to the list of userids to the group
62
+ * Adds the users corresponding to the list of userids to the group
63
+ * @param {Number} groupid
64
+ * @param {Array.<Number>} requestBody Id of user or an array of user ids to add
65
+ * @param {Object} opts Optional parameters
66
+ * @param {String} [authorization] The authorization token of the logged in user
67
+ * @param {Number} [cacheduration] The how long the cache entry should persist
68
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
69
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
70
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
71
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
72
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
73
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
74
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
75
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
76
+ * @param {String} [inviteCode]
77
+ * @param {module:api/SocialGroupsApi~addGroupMembersCallback} callback The callback function, accepting three arguments: error, data, response
78
+ */
79
+ return _createClass(SocialGroupsApi, [{
80
+ key: "addGroupMembers",
81
+ value: function addGroupMembers(groupid, requestBody, opts, callback) {
82
+ opts = opts || {};
83
+ var postBody = requestBody;
84
+ // verify the required parameter 'groupid' is set
85
+ if (groupid === undefined || groupid === null) {
86
+ throw new Error("Missing the required parameter 'groupid' when calling addGroupMembers");
87
+ }
88
+ // verify the required parameter 'requestBody' is set
89
+ if (requestBody === undefined || requestBody === null) {
90
+ throw new Error("Missing the required parameter 'requestBody' when calling addGroupMembers");
91
+ }
92
+ var pathParams = {
93
+ 'groupid': groupid
94
+ };
95
+ var queryParams = {
96
+ 'inviteCode': opts['inviteCode']
97
+ };
98
+ var headerParams = {
99
+ 'Authorization': opts['authorization'],
100
+ 'cacheduration': opts['cacheduration'],
101
+ 'cachegroup': opts['cachegroup'],
102
+ 'cachekey': opts['cachekey'],
103
+ 'cachescope': opts['cachescope'],
104
+ 'cacheuser': opts['cacheuser'],
105
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
106
+ 'zeusportal-postas': opts['zeusportalPostas'],
107
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
108
+ 'transactionid': opts['transactionid']
109
+ };
110
+ var formParams = {};
111
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
112
+ var contentTypes = [];
113
+ var accepts = ['*/*'];
114
+ var returnType = null;
115
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/addmembers', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
116
+ }
117
+
118
+ /**
119
+ * Callback function to receive the result of the createGroup operation.
120
+ * @callback module:api/SocialGroupsApi~createGroupCallback
121
+ * @param {String} error Error message, if any.
122
+ * @param {Array.<module:model/SocialGroupResponse>} data The data returned by the service call.
123
+ * @param {String} response The complete HTTP response.
124
+ */
125
+
126
+ /**
127
+ * Create Group
128
+ * Create new group(s)
129
+ * @param {module:model/SocialGroup} socialGroup Group object or array of objects to create
130
+ * @param {Object} opts Optional parameters
131
+ * @param {String} [authorization] The authorization token of the logged in user
132
+ * @param {Number} [cacheduration] The how long the cache entry should persist
133
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
134
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
135
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
136
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
137
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
138
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
139
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
140
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
141
+ * @param {module:api/SocialGroupsApi~createGroupCallback} callback The callback function, accepting three arguments: error, data, response
142
+ * data is of type: {@link Array.<module:model/SocialGroupResponse>}
143
+ */
144
+ }, {
145
+ key: "createGroup",
146
+ value: function createGroup(socialGroup, opts, callback) {
147
+ opts = opts || {};
148
+ var postBody = socialGroup;
149
+ // verify the required parameter 'socialGroup' is set
150
+ if (socialGroup === undefined || socialGroup === null) {
151
+ throw new Error("Missing the required parameter 'socialGroup' when calling createGroup");
152
+ }
153
+ var pathParams = {};
154
+ var queryParams = {};
155
+ var headerParams = {
156
+ 'Authorization': opts['authorization'],
157
+ 'cacheduration': opts['cacheduration'],
158
+ 'cachegroup': opts['cachegroup'],
159
+ 'cachekey': opts['cachekey'],
160
+ 'cachescope': opts['cachescope'],
161
+ 'cacheuser': opts['cacheuser'],
162
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
163
+ 'zeusportal-postas': opts['zeusportalPostas'],
164
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
165
+ 'transactionid': opts['transactionid']
166
+ };
167
+ var formParams = {};
168
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
169
+ var contentTypes = [];
170
+ var accepts = ['*/*'];
171
+ var returnType = [_SocialGroupResponse["default"]];
172
+ return this.apiClient.callApi('/graph/data/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
173
+ }
174
+
175
+ /**
176
+ * Callback function to receive the result of the createSocialGroupType operation.
177
+ * @callback module:api/SocialGroupsApi~createSocialGroupTypeCallback
178
+ * @param {String} error Error message, if any.
179
+ * @param {module:model/SocialGroupType} data The data returned by the service call.
180
+ * @param {String} response The complete HTTP response.
181
+ */
182
+
183
+ /**
184
+ * Create a new social group type
185
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
186
+ * @param {Object} opts Optional parameters
187
+ * @param {String} [authorization] The authorization token of the logged in user
188
+ * @param {Number} [cacheduration] The how long the cache entry should persist
189
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
190
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
191
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
192
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
193
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
194
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
195
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
196
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
197
+ * @param {module:api/SocialGroupsApi~createSocialGroupTypeCallback} callback The callback function, accepting three arguments: error, data, response
198
+ * data is of type: {@link module:model/SocialGroupType}
199
+ */
200
+ }, {
201
+ key: "createSocialGroupType",
202
+ value: function createSocialGroupType(socialGroupTypeInput, opts, callback) {
203
+ opts = opts || {};
204
+ var postBody = socialGroupTypeInput;
205
+ // verify the required parameter 'socialGroupTypeInput' is set
206
+ if (socialGroupTypeInput === undefined || socialGroupTypeInput === null) {
207
+ throw new Error("Missing the required parameter 'socialGroupTypeInput' when calling createSocialGroupType");
208
+ }
209
+ var pathParams = {};
210
+ var queryParams = {};
211
+ var headerParams = {
212
+ 'Authorization': opts['authorization'],
213
+ 'cacheduration': opts['cacheduration'],
214
+ 'cachegroup': opts['cachegroup'],
215
+ 'cachekey': opts['cachekey'],
216
+ 'cachescope': opts['cachescope'],
217
+ 'cacheuser': opts['cacheuser'],
218
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
219
+ 'zeusportal-postas': opts['zeusportalPostas'],
220
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
221
+ 'transactionid': opts['transactionid']
222
+ };
223
+ var formParams = {};
224
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
225
+ var contentTypes = [];
226
+ var accepts = ['application/json'];
227
+ var returnType = _SocialGroupType["default"];
228
+ return this.apiClient.callApi('/graph/data/groups/types', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
229
+ }
230
+
231
+ /**
232
+ * Callback function to receive the result of the deleteSocialGroupType operation.
233
+ * @callback module:api/SocialGroupsApi~deleteSocialGroupTypeCallback
234
+ * @param {String} error Error message, if any.
235
+ * @param data This operation does not return a value.
236
+ * @param {String} response The complete HTTP response.
237
+ */
238
+
239
+ /**
240
+ * Delete a social group type
241
+ * @param {Number} socialGroupTypeId
242
+ * @param {Object} opts Optional parameters
243
+ * @param {String} [authorization] The authorization token of the logged in user
244
+ * @param {Number} [cacheduration] The how long the cache entry should persist
245
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
246
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
247
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
248
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
249
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
250
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
251
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
252
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
253
+ * @param {module:api/SocialGroupsApi~deleteSocialGroupTypeCallback} callback The callback function, accepting three arguments: error, data, response
254
+ */
255
+ }, {
256
+ key: "deleteSocialGroupType",
257
+ value: function deleteSocialGroupType(socialGroupTypeId, opts, callback) {
258
+ opts = opts || {};
259
+ var postBody = null;
260
+ // verify the required parameter 'socialGroupTypeId' is set
261
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
262
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling deleteSocialGroupType");
263
+ }
264
+ var pathParams = {
265
+ 'socialGroupTypeId': socialGroupTypeId
266
+ };
267
+ var queryParams = {};
268
+ var headerParams = {
269
+ 'Authorization': opts['authorization'],
270
+ 'cacheduration': opts['cacheduration'],
271
+ 'cachegroup': opts['cachegroup'],
272
+ 'cachekey': opts['cachekey'],
273
+ 'cachescope': opts['cachescope'],
274
+ 'cacheuser': opts['cacheuser'],
275
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
276
+ 'zeusportal-postas': opts['zeusportalPostas'],
277
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
278
+ 'transactionid': opts['transactionid']
279
+ };
280
+ var formParams = {};
281
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
282
+ var contentTypes = [];
283
+ var accepts = [];
284
+ var returnType = null;
285
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
286
+ }
287
+
288
+ /**
289
+ * Callback function to receive the result of the editGroup operation.
290
+ * @callback module:api/SocialGroupsApi~editGroupCallback
291
+ * @param {String} error Error message, if any.
292
+ * @param {module:model/Page} data The data returned by the service call.
293
+ * @param {String} response The complete HTTP response.
294
+ */
295
+
296
+ /**
297
+ * Edit Group
298
+ * Edits a Group
299
+ * @param {Number} id
300
+ * @param {module:model/SocialGroupInput} socialGroupInput Conversation object or array of objects to create
301
+ * @param {Object} opts Optional parameters
302
+ * @param {String} [authorization] The authorization token of the logged in user
303
+ * @param {Number} [cacheduration] The how long the cache entry should persist
304
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
305
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
306
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
307
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
308
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
309
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
310
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
311
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
312
+ * @param {module:api/SocialGroupsApi~editGroupCallback} callback The callback function, accepting three arguments: error, data, response
313
+ * data is of type: {@link module:model/Page}
314
+ */
315
+ }, {
316
+ key: "editGroup",
317
+ value: function editGroup(id, socialGroupInput, opts, callback) {
318
+ opts = opts || {};
319
+ var postBody = socialGroupInput;
320
+ // verify the required parameter 'id' is set
321
+ if (id === undefined || id === null) {
322
+ throw new Error("Missing the required parameter 'id' when calling editGroup");
323
+ }
324
+ // verify the required parameter 'socialGroupInput' is set
325
+ if (socialGroupInput === undefined || socialGroupInput === null) {
326
+ throw new Error("Missing the required parameter 'socialGroupInput' when calling editGroup");
327
+ }
328
+ var pathParams = {
329
+ 'id': id
330
+ };
331
+ var queryParams = {};
332
+ var headerParams = {
333
+ 'Authorization': opts['authorization'],
334
+ 'cacheduration': opts['cacheduration'],
335
+ 'cachegroup': opts['cachegroup'],
336
+ 'cachekey': opts['cachekey'],
337
+ 'cachescope': opts['cachescope'],
338
+ 'cacheuser': opts['cacheuser'],
339
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
340
+ 'zeusportal-postas': opts['zeusportalPostas'],
341
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
342
+ 'transactionid': opts['transactionid']
343
+ };
344
+ var formParams = {};
345
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
346
+ var contentTypes = [];
347
+ var accepts = ['*/*'];
348
+ var returnType = _Page["default"];
349
+ return this.apiClient.callApi('/graph/data/groups/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
350
+ }
351
+
352
+ /**
353
+ * Callback function to receive the result of the get33 operation.
354
+ * @callback module:api/SocialGroupsApi~get33Callback
355
+ * @param {String} error Error message, if any.
356
+ * @param data This operation does not return a value.
357
+ * @param {String} response The complete HTTP response.
358
+ */
359
+
360
+ /**
361
+ * Root for the API
362
+ * @param {Object} opts Optional parameters
363
+ * @param {String} [authorization] The authorization token of the logged in user
364
+ * @param {Number} [cacheduration] The how long the cache entry should persist
365
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
366
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
367
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
368
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
369
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
370
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
371
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
372
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
373
+ * @param {module:api/SocialGroupsApi~get33Callback} callback The callback function, accepting three arguments: error, data, response
374
+ */
375
+ }, {
376
+ key: "get33",
377
+ value: function get33(opts, callback) {
378
+ opts = opts || {};
379
+ var postBody = null;
380
+ var pathParams = {};
381
+ var queryParams = {};
382
+ var headerParams = {
383
+ 'Authorization': opts['authorization'],
384
+ 'cacheduration': opts['cacheduration'],
385
+ 'cachegroup': opts['cachegroup'],
386
+ 'cachekey': opts['cachekey'],
387
+ 'cachescope': opts['cachescope'],
388
+ 'cacheuser': opts['cacheuser'],
389
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
390
+ 'zeusportal-postas': opts['zeusportalPostas'],
391
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
392
+ 'transactionid': opts['transactionid']
393
+ };
394
+ var formParams = {};
395
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
396
+ var contentTypes = [];
397
+ var accepts = ['*/*'];
398
+ var returnType = null;
399
+ return this.apiClient.callApi('/graph/data/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
400
+ }
401
+
402
+ /**
403
+ * Callback function to receive the result of the getAllSocialGroupTypes operation.
404
+ * @callback module:api/SocialGroupsApi~getAllSocialGroupTypesCallback
405
+ * @param {String} error Error message, if any.
406
+ * @param {Array.<module:model/SocialGroupType>} data The data returned by the service call.
407
+ * @param {String} response The complete HTTP response.
408
+ */
409
+
410
+ /**
411
+ * Get all social group types
412
+ * @param {Object} opts Optional parameters
413
+ * @param {String} [authorization] The authorization token of the logged in user
414
+ * @param {Number} [cacheduration] The how long the cache entry should persist
415
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
416
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
417
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
418
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
419
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
420
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
421
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
422
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
423
+ * @param {Number} [pagenum]
424
+ * @param {Number} [pagesize]
425
+ * @param {module:api/SocialGroupsApi~getAllSocialGroupTypesCallback} callback The callback function, accepting three arguments: error, data, response
426
+ * data is of type: {@link Array.<module:model/SocialGroupType>}
427
+ */
428
+ }, {
429
+ key: "getAllSocialGroupTypes",
430
+ value: function getAllSocialGroupTypes(opts, callback) {
431
+ opts = opts || {};
432
+ var postBody = null;
433
+ var pathParams = {};
434
+ var queryParams = {
435
+ 'pagenum': opts['pagenum'],
436
+ 'pagesize': opts['pagesize']
437
+ };
438
+ var headerParams = {
439
+ 'Authorization': opts['authorization'],
440
+ 'cacheduration': opts['cacheduration'],
441
+ 'cachegroup': opts['cachegroup'],
442
+ 'cachekey': opts['cachekey'],
443
+ 'cachescope': opts['cachescope'],
444
+ 'cacheuser': opts['cacheuser'],
445
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
446
+ 'zeusportal-postas': opts['zeusportalPostas'],
447
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
448
+ 'transactionid': opts['transactionid']
449
+ };
450
+ var formParams = {};
451
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
452
+ var contentTypes = [];
453
+ var accepts = ['application/json'];
454
+ var returnType = [_SocialGroupType["default"]];
455
+ return this.apiClient.callApi('/graph/data/groups/types', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
456
+ }
457
+
458
+ /**
459
+ * Callback function to receive the result of the getChildSocialGroupTypes operation.
460
+ * @callback module:api/SocialGroupsApi~getChildSocialGroupTypesCallback
461
+ * @param {String} error Error message, if any.
462
+ * @param {Array.<module:model/SocialGroupType>} data The data returned by the service call.
463
+ * @param {String} response The complete HTTP response.
464
+ */
465
+
466
+ /**
467
+ * Get all child social group types of a parent
468
+ * @param {Number} parentId
469
+ * @param {Object} opts Optional parameters
470
+ * @param {String} [authorization] The authorization token of the logged in user
471
+ * @param {Number} [cacheduration] The how long the cache entry should persist
472
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
473
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
474
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
475
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
476
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
477
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
478
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
479
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
480
+ * @param {Number} [pagenum]
481
+ * @param {Number} [pagesize]
482
+ * @param {module:api/SocialGroupsApi~getChildSocialGroupTypesCallback} callback The callback function, accepting three arguments: error, data, response
483
+ * data is of type: {@link Array.<module:model/SocialGroupType>}
484
+ */
485
+ }, {
486
+ key: "getChildSocialGroupTypes",
487
+ value: function getChildSocialGroupTypes(parentId, opts, callback) {
488
+ opts = opts || {};
489
+ var postBody = null;
490
+ // verify the required parameter 'parentId' is set
491
+ if (parentId === undefined || parentId === null) {
492
+ throw new Error("Missing the required parameter 'parentId' when calling getChildSocialGroupTypes");
493
+ }
494
+ var pathParams = {
495
+ 'parentId': parentId
496
+ };
497
+ var queryParams = {
498
+ 'pagenum': opts['pagenum'],
499
+ 'pagesize': opts['pagesize']
500
+ };
501
+ var headerParams = {
502
+ 'Authorization': opts['authorization'],
503
+ 'cacheduration': opts['cacheduration'],
504
+ 'cachegroup': opts['cachegroup'],
505
+ 'cachekey': opts['cachekey'],
506
+ 'cachescope': opts['cachescope'],
507
+ 'cacheuser': opts['cacheuser'],
508
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
509
+ 'zeusportal-postas': opts['zeusportalPostas'],
510
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
511
+ 'transactionid': opts['transactionid']
512
+ };
513
+ var formParams = {};
514
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
515
+ var contentTypes = [];
516
+ var accepts = ['application/json'];
517
+ var returnType = [_SocialGroupType["default"]];
518
+ return this.apiClient.callApi('/graph/data/groups/types/{parentId}/children', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
519
+ }
520
+
521
+ /**
522
+ * Callback function to receive the result of the getGroupAdministrators operation.
523
+ * @callback module:api/SocialGroupsApi~getGroupAdministratorsCallback
524
+ * @param {String} error Error message, if any.
525
+ * @param {Array.<module:model/User>} data The data returned by the service call.
526
+ * @param {String} response The complete HTTP response.
527
+ */
528
+
529
+ /**
530
+ * Returns the admins in the group
531
+ * Returns the admins in the group
532
+ * @param {Number} groupid
533
+ * @param {Object} opts Optional parameters
534
+ * @param {String} [authorization] The authorization token of the logged in user
535
+ * @param {Number} [cacheduration] The how long the cache entry should persist
536
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
537
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
538
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
539
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
540
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
541
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
542
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
543
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
544
+ * @param {module:api/SocialGroupsApi~getGroupAdministratorsCallback} callback The callback function, accepting three arguments: error, data, response
545
+ * data is of type: {@link Array.<module:model/User>}
546
+ */
547
+ }, {
548
+ key: "getGroupAdministrators",
549
+ value: function getGroupAdministrators(groupid, opts, callback) {
550
+ opts = opts || {};
551
+ var postBody = null;
552
+ // verify the required parameter 'groupid' is set
553
+ if (groupid === undefined || groupid === null) {
554
+ throw new Error("Missing the required parameter 'groupid' when calling getGroupAdministrators");
555
+ }
556
+ var pathParams = {
557
+ 'groupid': groupid
558
+ };
559
+ var queryParams = {};
560
+ var headerParams = {
561
+ 'Authorization': opts['authorization'],
562
+ 'cacheduration': opts['cacheduration'],
563
+ 'cachegroup': opts['cachegroup'],
564
+ 'cachekey': opts['cachekey'],
565
+ 'cachescope': opts['cachescope'],
566
+ 'cacheuser': opts['cacheuser'],
567
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
568
+ 'zeusportal-postas': opts['zeusportalPostas'],
569
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
570
+ 'transactionid': opts['transactionid']
571
+ };
572
+ var formParams = {};
573
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
574
+ var contentTypes = [];
575
+ var accepts = ['*/*'];
576
+ var returnType = [_User["default"]];
577
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/administrators', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
578
+ }
579
+
580
+ /**
581
+ * Callback function to receive the result of the getGroupById operation.
582
+ * @callback module:api/SocialGroupsApi~getGroupByIdCallback
583
+ * @param {String} error Error message, if any.
584
+ * @param {module:model/SocialGroupResponse} data The data returned by the service call.
585
+ * @param {String} response The complete HTTP response.
586
+ */
587
+
588
+ /**
589
+ * Get Group By Id
590
+ * Returns the group with the given id
591
+ * @param {Number} id
592
+ * @param {Object} opts Optional parameters
593
+ * @param {String} [authorization] The authorization token of the logged in user
594
+ * @param {Number} [cacheduration] The how long the cache entry should persist
595
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
596
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
597
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
598
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
599
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
600
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
601
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
602
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
603
+ * @param {module:api/SocialGroupsApi~getGroupByIdCallback} callback The callback function, accepting three arguments: error, data, response
604
+ * data is of type: {@link module:model/SocialGroupResponse}
605
+ */
606
+ }, {
607
+ key: "getGroupById",
608
+ value: function getGroupById(id, opts, callback) {
609
+ opts = opts || {};
610
+ var postBody = null;
611
+ // verify the required parameter 'id' is set
612
+ if (id === undefined || id === null) {
613
+ throw new Error("Missing the required parameter 'id' when calling getGroupById");
614
+ }
615
+ var pathParams = {
616
+ 'id': id
617
+ };
618
+ var queryParams = {};
619
+ var headerParams = {
620
+ 'Authorization': opts['authorization'],
621
+ 'cacheduration': opts['cacheduration'],
622
+ 'cachegroup': opts['cachegroup'],
623
+ 'cachekey': opts['cachekey'],
624
+ 'cachescope': opts['cachescope'],
625
+ 'cacheuser': opts['cacheuser'],
626
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
627
+ 'zeusportal-postas': opts['zeusportalPostas'],
628
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
629
+ 'transactionid': opts['transactionid']
630
+ };
631
+ var formParams = {};
632
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
633
+ var contentTypes = [];
634
+ var accepts = ['application/json'];
635
+ var returnType = _SocialGroupResponse["default"];
636
+ return this.apiClient.callApi('/graph/data/groups/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
637
+ }
638
+
639
+ /**
640
+ * Callback function to receive the result of the getGroupMembers operation.
641
+ * @callback module:api/SocialGroupsApi~getGroupMembersCallback
642
+ * @param {String} error Error message, if any.
643
+ * @param {Array.<module:model/User>} data The data returned by the service call.
644
+ * @param {String} response The complete HTTP response.
645
+ */
646
+
647
+ /**
648
+ * Returns the users in the group
649
+ * Returns the users in the group
650
+ * @param {Number} groupid
651
+ * @param {Object} opts Optional parameters
652
+ * @param {String} [authorization] The authorization token of the logged in user
653
+ * @param {Number} [cacheduration] The how long the cache entry should persist
654
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
655
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
656
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
657
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
658
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
659
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
660
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
661
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
662
+ * @param {module:api/SocialGroupsApi~getGroupMembersCallback} callback The callback function, accepting three arguments: error, data, response
663
+ * data is of type: {@link Array.<module:model/User>}
664
+ */
665
+ }, {
666
+ key: "getGroupMembers",
667
+ value: function getGroupMembers(groupid, opts, callback) {
668
+ opts = opts || {};
669
+ var postBody = null;
670
+ // verify the required parameter 'groupid' is set
671
+ if (groupid === undefined || groupid === null) {
672
+ throw new Error("Missing the required parameter 'groupid' when calling getGroupMembers");
673
+ }
674
+ var pathParams = {
675
+ 'groupid': groupid
676
+ };
677
+ var queryParams = {};
678
+ var headerParams = {
679
+ 'Authorization': opts['authorization'],
680
+ 'cacheduration': opts['cacheduration'],
681
+ 'cachegroup': opts['cachegroup'],
682
+ 'cachekey': opts['cachekey'],
683
+ 'cachescope': opts['cachescope'],
684
+ 'cacheuser': opts['cacheuser'],
685
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
686
+ 'zeusportal-postas': opts['zeusportalPostas'],
687
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
688
+ 'transactionid': opts['transactionid']
689
+ };
690
+ var formParams = {};
691
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
692
+ var contentTypes = [];
693
+ var accepts = ['*/*'];
694
+ var returnType = [_User["default"]];
695
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
696
+ }
697
+
698
+ /**
699
+ * Callback function to receive the result of the getSocialGroupTypeById operation.
700
+ * @callback module:api/SocialGroupsApi~getSocialGroupTypeByIdCallback
701
+ * @param {String} error Error message, if any.
702
+ * @param {module:model/SocialGroupType} data The data returned by the service call.
703
+ * @param {String} response The complete HTTP response.
704
+ */
705
+
706
+ /**
707
+ * Get a social group type by id
708
+ * @param {Number} socialGroupTypeId
709
+ * @param {Object} opts Optional parameters
710
+ * @param {String} [authorization] The authorization token of the logged in user
711
+ * @param {Number} [cacheduration] The how long the cache entry should persist
712
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
713
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
714
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
715
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
716
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
717
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
718
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
719
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
720
+ * @param {module:api/SocialGroupsApi~getSocialGroupTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
721
+ * data is of type: {@link module:model/SocialGroupType}
722
+ */
723
+ }, {
724
+ key: "getSocialGroupTypeById",
725
+ value: function getSocialGroupTypeById(socialGroupTypeId, opts, callback) {
726
+ opts = opts || {};
727
+ var postBody = null;
728
+ // verify the required parameter 'socialGroupTypeId' is set
729
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
730
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling getSocialGroupTypeById");
731
+ }
732
+ var pathParams = {
733
+ 'socialGroupTypeId': socialGroupTypeId
734
+ };
735
+ var queryParams = {};
736
+ var headerParams = {
737
+ 'Authorization': opts['authorization'],
738
+ 'cacheduration': opts['cacheduration'],
739
+ 'cachegroup': opts['cachegroup'],
740
+ 'cachekey': opts['cachekey'],
741
+ 'cachescope': opts['cachescope'],
742
+ 'cacheuser': opts['cacheuser'],
743
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
744
+ 'zeusportal-postas': opts['zeusportalPostas'],
745
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
746
+ 'transactionid': opts['transactionid']
747
+ };
748
+ var formParams = {};
749
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
750
+ var contentTypes = [];
751
+ var accepts = ['application/json'];
752
+ var returnType = _SocialGroupType["default"];
753
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
754
+ }
755
+
756
+ /**
757
+ * Callback function to receive the result of the isSocialGroupTypeExists operation.
758
+ * @callback module:api/SocialGroupsApi~isSocialGroupTypeExistsCallback
759
+ * @param {String} error Error message, if any.
760
+ * @param {Boolean} data The data returned by the service call.
761
+ * @param {String} response The complete HTTP response.
762
+ */
763
+
764
+ /**
765
+ * Check if a social group type exists
766
+ * @param {Number} socialGroupTypeId
767
+ * @param {Object} opts Optional parameters
768
+ * @param {String} [authorization] The authorization token of the logged in user
769
+ * @param {Number} [cacheduration] The how long the cache entry should persist
770
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
771
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
772
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
773
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
774
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
775
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
776
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
777
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
778
+ * @param {module:api/SocialGroupsApi~isSocialGroupTypeExistsCallback} callback The callback function, accepting three arguments: error, data, response
779
+ * data is of type: {@link Boolean}
780
+ */
781
+ }, {
782
+ key: "isSocialGroupTypeExists",
783
+ value: function isSocialGroupTypeExists(socialGroupTypeId, opts, callback) {
784
+ opts = opts || {};
785
+ var postBody = null;
786
+ // verify the required parameter 'socialGroupTypeId' is set
787
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
788
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling isSocialGroupTypeExists");
789
+ }
790
+ var pathParams = {
791
+ 'socialGroupTypeId': socialGroupTypeId
792
+ };
793
+ var queryParams = {};
794
+ var headerParams = {
795
+ 'Authorization': opts['authorization'],
796
+ 'cacheduration': opts['cacheduration'],
797
+ 'cachegroup': opts['cachegroup'],
798
+ 'cachekey': opts['cachekey'],
799
+ 'cachescope': opts['cachescope'],
800
+ 'cacheuser': opts['cacheuser'],
801
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
802
+ 'zeusportal-postas': opts['zeusportalPostas'],
803
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
804
+ 'transactionid': opts['transactionid']
805
+ };
806
+ var formParams = {};
807
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
808
+ var contentTypes = [];
809
+ var accepts = ['application/json'];
810
+ var returnType = 'Boolean';
811
+ return this.apiClient.callApi('/graph/data/groups/types/exists/{socialGroupTypeId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
812
+ }
813
+
814
+ /**
815
+ * Callback function to receive the result of the joinGroup operation.
816
+ * @callback module:api/SocialGroupsApi~joinGroupCallback
817
+ * @param {String} error Error message, if any.
818
+ * @param data This operation does not return a value.
819
+ * @param {String} response The complete HTTP response.
820
+ */
821
+
822
+ /**
823
+ * Adds the currently logged in user to the group
824
+ * Adds the currently logged in user to the group
825
+ * @param {Number} groupid
826
+ * @param {Object} opts Optional parameters
827
+ * @param {String} [authorization] The authorization token of the logged in user
828
+ * @param {Number} [cacheduration] The how long the cache entry should persist
829
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
830
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
831
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
832
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
833
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
834
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
835
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
836
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
837
+ * @param {module:api/SocialGroupsApi~joinGroupCallback} callback The callback function, accepting three arguments: error, data, response
838
+ */
839
+ }, {
840
+ key: "joinGroup",
841
+ value: function joinGroup(groupid, opts, callback) {
842
+ opts = opts || {};
843
+ var postBody = null;
844
+ // verify the required parameter 'groupid' is set
845
+ if (groupid === undefined || groupid === null) {
846
+ throw new Error("Missing the required parameter 'groupid' when calling joinGroup");
847
+ }
848
+ var pathParams = {
849
+ 'groupid': groupid
850
+ };
851
+ var queryParams = {};
852
+ var headerParams = {
853
+ 'Authorization': opts['authorization'],
854
+ 'cacheduration': opts['cacheduration'],
855
+ 'cachegroup': opts['cachegroup'],
856
+ 'cachekey': opts['cachekey'],
857
+ 'cachescope': opts['cachescope'],
858
+ 'cacheuser': opts['cacheuser'],
859
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
860
+ 'zeusportal-postas': opts['zeusportalPostas'],
861
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
862
+ 'transactionid': opts['transactionid']
863
+ };
864
+ var formParams = {};
865
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
866
+ var contentTypes = [];
867
+ var accepts = ['*/*'];
868
+ var returnType = null;
869
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/join', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
870
+ }
871
+
872
+ /**
873
+ * Callback function to receive the result of the removeGroupMember operation.
874
+ * @callback module:api/SocialGroupsApi~removeGroupMemberCallback
875
+ * @param {String} error Error message, if any.
876
+ * @param data This operation does not return a value.
877
+ * @param {String} response The complete HTTP response.
878
+ */
879
+
880
+ /**
881
+ * Remove the user from the group
882
+ * Returns the users in the group
883
+ * @param {Number} groupid
884
+ * @param {Number} uid
885
+ * @param {Object} opts Optional parameters
886
+ * @param {String} [authorization] The authorization token of the logged in user
887
+ * @param {Number} [cacheduration] The how long the cache entry should persist
888
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
889
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
890
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
891
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
892
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
893
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
894
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
895
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
896
+ * @param {module:api/SocialGroupsApi~removeGroupMemberCallback} callback The callback function, accepting three arguments: error, data, response
897
+ */
898
+ }, {
899
+ key: "removeGroupMember",
900
+ value: function removeGroupMember(groupid, uid, opts, callback) {
901
+ opts = opts || {};
902
+ var postBody = null;
903
+ // verify the required parameter 'groupid' is set
904
+ if (groupid === undefined || groupid === null) {
905
+ throw new Error("Missing the required parameter 'groupid' when calling removeGroupMember");
906
+ }
907
+ // verify the required parameter 'uid' is set
908
+ if (uid === undefined || uid === null) {
909
+ throw new Error("Missing the required parameter 'uid' when calling removeGroupMember");
910
+ }
911
+ var pathParams = {
912
+ 'groupid': groupid,
913
+ 'uid': uid
914
+ };
915
+ var queryParams = {};
916
+ var headerParams = {
917
+ 'Authorization': opts['authorization'],
918
+ 'cacheduration': opts['cacheduration'],
919
+ 'cachegroup': opts['cachegroup'],
920
+ 'cachekey': opts['cachekey'],
921
+ 'cachescope': opts['cachescope'],
922
+ 'cacheuser': opts['cacheuser'],
923
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
924
+ 'zeusportal-postas': opts['zeusportalPostas'],
925
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
926
+ 'transactionid': opts['transactionid']
927
+ };
928
+ var formParams = {};
929
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
930
+ var contentTypes = [];
931
+ var accepts = ['*/*'];
932
+ var returnType = null;
933
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/members/{uid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
934
+ }
935
+
936
+ /**
937
+ * Callback function to receive the result of the searchSocialGroupTypes operation.
938
+ * @callback module:api/SocialGroupsApi~searchSocialGroupTypesCallback
939
+ * @param {String} error Error message, if any.
940
+ * @param {Array.<module:model/SocialGroupType>} data The data returned by the service call.
941
+ * @param {String} response The complete HTTP response.
942
+ */
943
+
944
+ /**
945
+ * Search social group types by name
946
+ * @param {Object} opts Optional parameters
947
+ * @param {String} [authorization] The authorization token of the logged in user
948
+ * @param {Number} [cacheduration] The how long the cache entry should persist
949
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
950
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
951
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
952
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
953
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
954
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
955
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
956
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
957
+ * @param {String} [name]
958
+ * @param {Number} [pagenum]
959
+ * @param {Number} [pagesize]
960
+ * @param {module:api/SocialGroupsApi~searchSocialGroupTypesCallback} callback The callback function, accepting three arguments: error, data, response
961
+ * data is of type: {@link Array.<module:model/SocialGroupType>}
962
+ */
963
+ }, {
964
+ key: "searchSocialGroupTypes",
965
+ value: function searchSocialGroupTypes(opts, callback) {
966
+ opts = opts || {};
967
+ var postBody = null;
968
+ var pathParams = {};
969
+ var queryParams = {
970
+ 'name': opts['name'],
971
+ 'pagenum': opts['pagenum'],
972
+ 'pagesize': opts['pagesize']
973
+ };
974
+ var headerParams = {
975
+ 'Authorization': opts['authorization'],
976
+ 'cacheduration': opts['cacheduration'],
977
+ 'cachegroup': opts['cachegroup'],
978
+ 'cachekey': opts['cachekey'],
979
+ 'cachescope': opts['cachescope'],
980
+ 'cacheuser': opts['cacheuser'],
981
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
982
+ 'zeusportal-postas': opts['zeusportalPostas'],
983
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
984
+ 'transactionid': opts['transactionid']
985
+ };
986
+ var formParams = {};
987
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
988
+ var contentTypes = [];
989
+ var accepts = ['application/json'];
990
+ var returnType = [_SocialGroupType["default"]];
991
+ return this.apiClient.callApi('/graph/data/groups/types/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
992
+ }
993
+
994
+ /**
995
+ * Callback function to receive the result of the setGroupProperties operation.
996
+ * @callback module:api/SocialGroupsApi~setGroupPropertiesCallback
997
+ * @param {String} error Error message, if any.
998
+ * @param data This operation does not return a value.
999
+ * @param {String} response The complete HTTP response.
1000
+ */
1001
+
1002
+ /**
1003
+ * Set Multiple Properties
1004
+ * Set multiple properties attaced to an object / record
1005
+ * @param {Number} id
1006
+ * @param {Object} opts Optional parameters
1007
+ * @param {String} [authorization] The authorization token of the logged in user
1008
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1009
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1010
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1011
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1012
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1013
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1014
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1015
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1016
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1017
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
1018
+ * @param {module:api/SocialGroupsApi~setGroupPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
1019
+ */
1020
+ }, {
1021
+ key: "setGroupProperties",
1022
+ value: function setGroupProperties(id, opts, callback) {
1023
+ opts = opts || {};
1024
+ var postBody = opts['requestBody'];
1025
+ // verify the required parameter 'id' is set
1026
+ if (id === undefined || id === null) {
1027
+ throw new Error("Missing the required parameter 'id' when calling setGroupProperties");
1028
+ }
1029
+ var pathParams = {
1030
+ 'id': id
1031
+ };
1032
+ var queryParams = {};
1033
+ var headerParams = {
1034
+ 'Authorization': opts['authorization'],
1035
+ 'cacheduration': opts['cacheduration'],
1036
+ 'cachegroup': opts['cachegroup'],
1037
+ 'cachekey': opts['cachekey'],
1038
+ 'cachescope': opts['cachescope'],
1039
+ 'cacheuser': opts['cacheuser'],
1040
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1041
+ 'zeusportal-postas': opts['zeusportalPostas'],
1042
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1043
+ 'transactionid': opts['transactionid']
1044
+ };
1045
+ var formParams = {};
1046
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1047
+ var contentTypes = ['application/json'];
1048
+ var accepts = ['*/*'];
1049
+ var returnType = null;
1050
+ return this.apiClient.callApi('/graph/data/groups/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1051
+ }
1052
+
1053
+ /**
1054
+ * Callback function to receive the result of the setGroupProperty operation.
1055
+ * @callback module:api/SocialGroupsApi~setGroupPropertyCallback
1056
+ * @param {String} error Error message, if any.
1057
+ * @param data This operation does not return a value.
1058
+ * @param {String} response The complete HTTP response.
1059
+ */
1060
+
1061
+ /**
1062
+ * Update Property
1063
+ * Update a specific property
1064
+ * @param {Number} id
1065
+ * @param {String} prop
1066
+ * @param {Object} opts Optional parameters
1067
+ * @param {String} [authorization] The authorization token of the logged in user
1068
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1069
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1070
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1071
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1072
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1073
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1074
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1075
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1076
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1077
+ * @param {String} [body]
1078
+ * @param {module:api/SocialGroupsApi~setGroupPropertyCallback} callback The callback function, accepting three arguments: error, data, response
1079
+ */
1080
+ }, {
1081
+ key: "setGroupProperty",
1082
+ value: function setGroupProperty(id, prop, opts, callback) {
1083
+ opts = opts || {};
1084
+ var postBody = opts['body'];
1085
+ // verify the required parameter 'id' is set
1086
+ if (id === undefined || id === null) {
1087
+ throw new Error("Missing the required parameter 'id' when calling setGroupProperty");
1088
+ }
1089
+ // verify the required parameter 'prop' is set
1090
+ if (prop === undefined || prop === null) {
1091
+ throw new Error("Missing the required parameter 'prop' when calling setGroupProperty");
1092
+ }
1093
+ var pathParams = {
1094
+ 'id': id,
1095
+ 'prop': prop
1096
+ };
1097
+ var queryParams = {};
1098
+ var headerParams = {
1099
+ 'Authorization': opts['authorization'],
1100
+ 'cacheduration': opts['cacheduration'],
1101
+ 'cachegroup': opts['cachegroup'],
1102
+ 'cachekey': opts['cachekey'],
1103
+ 'cachescope': opts['cachescope'],
1104
+ 'cacheuser': opts['cacheuser'],
1105
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1106
+ 'zeusportal-postas': opts['zeusportalPostas'],
1107
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1108
+ 'transactionid': opts['transactionid']
1109
+ };
1110
+ var formParams = {};
1111
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1112
+ var contentTypes = ['application/json'];
1113
+ var accepts = ['*/*'];
1114
+ var returnType = null;
1115
+ return this.apiClient.callApi('/graph/data/groups/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1116
+ }
1117
+
1118
+ /**
1119
+ * Callback function to receive the result of the updateSocialGroupType operation.
1120
+ * @callback module:api/SocialGroupsApi~updateSocialGroupTypeCallback
1121
+ * @param {String} error Error message, if any.
1122
+ * @param {module:model/SocialGroupType} data The data returned by the service call.
1123
+ * @param {String} response The complete HTTP response.
1124
+ */
1125
+
1126
+ /**
1127
+ * Update a social group type
1128
+ * @param {Number} socialGroupTypeId
1129
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
1130
+ * @param {Object} opts Optional parameters
1131
+ * @param {String} [authorization] The authorization token of the logged in user
1132
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1133
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1134
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1135
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1136
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1137
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1138
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1139
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1140
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1141
+ * @param {module:api/SocialGroupsApi~updateSocialGroupTypeCallback} callback The callback function, accepting three arguments: error, data, response
1142
+ * data is of type: {@link module:model/SocialGroupType}
1143
+ */
1144
+ }, {
1145
+ key: "updateSocialGroupType",
1146
+ value: function updateSocialGroupType(socialGroupTypeId, socialGroupTypeInput, opts, callback) {
1147
+ opts = opts || {};
1148
+ var postBody = socialGroupTypeInput;
1149
+ // verify the required parameter 'socialGroupTypeId' is set
1150
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
1151
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling updateSocialGroupType");
1152
+ }
1153
+ // verify the required parameter 'socialGroupTypeInput' is set
1154
+ if (socialGroupTypeInput === undefined || socialGroupTypeInput === null) {
1155
+ throw new Error("Missing the required parameter 'socialGroupTypeInput' when calling updateSocialGroupType");
1156
+ }
1157
+ var pathParams = {
1158
+ 'socialGroupTypeId': socialGroupTypeId
1159
+ };
1160
+ var queryParams = {};
1161
+ var headerParams = {
1162
+ 'Authorization': opts['authorization'],
1163
+ 'cacheduration': opts['cacheduration'],
1164
+ 'cachegroup': opts['cachegroup'],
1165
+ 'cachekey': opts['cachekey'],
1166
+ 'cachescope': opts['cachescope'],
1167
+ 'cacheuser': opts['cacheuser'],
1168
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1169
+ 'zeusportal-postas': opts['zeusportalPostas'],
1170
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1171
+ 'transactionid': opts['transactionid']
1172
+ };
1173
+ var formParams = {};
1174
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1175
+ var contentTypes = [];
1176
+ var accepts = ['application/json'];
1177
+ var returnType = _SocialGroupType["default"];
1178
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1179
+ }
1180
+ }]);
1181
+ }();