@gobodo/gobodo-api-promise 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 (585) hide show
  1. package/README.md +63 -16
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/ApiClient.d.ts +1 -1
  4. package/dist/ApiClient.js +3 -3
  5. package/dist/api/ActionTypesApi.d.ts +1 -1
  6. package/dist/api/ActionTypesApi.js +2 -2
  7. package/dist/api/AdCampaignsApi.d.ts +1 -1
  8. package/dist/api/AdCampaignsApi.js +2 -2
  9. package/dist/api/AdManagementApi.d.ts +1 -1
  10. package/dist/api/AdManagementApi.js +2 -2
  11. package/dist/api/AdminDataManagementApi.d.ts +1 -1
  12. package/dist/api/AdminDataManagementApi.js +2 -2
  13. package/dist/api/AdsApi.d.ts +1 -1
  14. package/dist/api/AdsApi.js +2 -2
  15. package/dist/api/AttachmentsApi.d.ts +1 -1
  16. package/dist/api/AttachmentsApi.js +2 -2
  17. package/dist/api/AuthenticationApi.d.ts +1 -1
  18. package/dist/api/AuthenticationApi.js +2 -2
  19. package/dist/api/CategoriesApi.d.ts +1 -1
  20. package/dist/api/CategoriesApi.js +2 -2
  21. package/dist/api/CommentsApi.d.ts +1 -1
  22. package/dist/api/CommentsApi.js +2 -2
  23. package/dist/api/ContentManagementApi.d.ts +1 -1
  24. package/dist/api/ContentManagementApi.js +2 -2
  25. package/dist/api/ConversationsApi.d.ts +1 -1
  26. package/dist/api/ConversationsApi.js +2 -2
  27. package/dist/api/CurrencyApi.d.ts +1 -1
  28. package/dist/api/CurrencyApi.js +2 -2
  29. package/dist/api/DataSheetImportsApi.d.ts +1 -1
  30. package/dist/api/DataSheetImportsApi.js +2 -2
  31. package/dist/api/DefaultApi.d.ts +1 -1
  32. package/dist/api/DefaultApi.js +2 -2
  33. package/dist/api/DocumentPartTypesApi.d.ts +1 -1
  34. package/dist/api/DocumentPartTypesApi.js +2 -2
  35. package/dist/api/DocumentTypesApi.d.ts +1 -1
  36. package/dist/api/DocumentTypesApi.js +2 -2
  37. package/dist/api/DocumentsApi.d.ts +1 -1
  38. package/dist/api/DocumentsApi.js +2 -2
  39. package/dist/api/EmailsApi.d.ts +1 -1
  40. package/dist/api/EmailsApi.js +2 -2
  41. package/dist/api/EntryPartsApi.d.ts +1 -1
  42. package/dist/api/EntryPartsApi.js +2 -2
  43. package/dist/api/FacebookApi.d.ts +1 -1
  44. package/dist/api/FacebookApi.js +2 -2
  45. package/dist/api/FieldsApi.d.ts +1 -1
  46. package/dist/api/FieldsApi.js +2 -2
  47. package/dist/api/FilesApi.d.ts +1 -1
  48. package/dist/api/FilesApi.js +2 -2
  49. package/dist/api/FormsApi.d.ts +1 -1
  50. package/dist/api/FormsApi.js +2 -2
  51. package/dist/api/FunctionsApi.d.ts +1 -1
  52. package/dist/api/FunctionsApi.js +2 -2
  53. package/dist/api/GeocodeApi.d.ts +1 -1
  54. package/dist/api/GeocodeApi.js +2 -2
  55. package/dist/api/GobodoManagementApi.d.ts +1 -1
  56. package/dist/api/GobodoManagementApi.js +2 -2
  57. package/dist/api/GoogleApi.d.ts +1 -1
  58. package/dist/api/GoogleApi.js +2 -2
  59. package/dist/api/GraphActionTypesApi.d.ts +1 -1
  60. package/dist/api/GraphActionTypesApi.js +2 -2
  61. package/dist/api/GraphActionsApi.d.ts +1 -1
  62. package/dist/api/GraphActionsApi.js +2 -2
  63. package/dist/api/GraphObjectTypesApi.d.ts +1 -1
  64. package/dist/api/GraphObjectTypesApi.js +2 -2
  65. package/dist/api/GraphObjectsApi.d.ts +1 -1
  66. package/dist/api/GraphObjectsApi.js +2 -2
  67. package/dist/api/GraphRelationshipTypesApi.d.ts +1 -1
  68. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  69. package/dist/api/GraphRelationshipsApi.d.ts +1 -1
  70. package/dist/api/GraphRelationshipsApi.js +2 -2
  71. package/dist/api/GraphSchemasApi.d.ts +1 -1
  72. package/dist/api/GraphSchemasApi.js +2 -2
  73. package/dist/api/GraphTraversalApi.d.ts +1 -1
  74. package/dist/api/GraphTraversalApi.js +2 -2
  75. package/dist/api/GraphsApi.d.ts +1 -1
  76. package/dist/api/GraphsApi.js +2 -2
  77. package/dist/api/GroupsApi.d.ts +11 -11
  78. package/dist/api/IAMApi.d.ts +1 -1
  79. package/dist/api/IAMApi.js +2 -2
  80. package/dist/api/ImagesApi.d.ts +27 -13
  81. package/dist/api/ImagesApi.d.ts.map +1 -1
  82. package/dist/api/ImagesApi.js +36 -18
  83. package/dist/api/InvitesApi.d.ts +1 -1
  84. package/dist/api/InvitesApi.js +2 -2
  85. package/dist/api/LikesApi.d.ts +1 -1
  86. package/dist/api/LikesApi.js +2 -2
  87. package/dist/api/LinkedINApi.d.ts +1 -1
  88. package/dist/api/LinkedINApi.js +2 -2
  89. package/dist/api/LiveMeetingsApi.d.ts +1 -1
  90. package/dist/api/LiveMeetingsApi.js +2 -2
  91. package/dist/api/MeetingEventsApi.d.ts +947 -45
  92. package/dist/api/MeetingEventsApi.d.ts.map +1 -1
  93. package/dist/api/MeetingEventsApi.js +1535 -109
  94. package/dist/api/NotificationsApi.d.ts +1 -1
  95. package/dist/api/NotificationsApi.js +2 -2
  96. package/dist/api/PagesApi.d.ts +9 -13
  97. package/dist/api/PagesApi.d.ts.map +1 -1
  98. package/dist/api/PagesApi.js +16 -17
  99. package/dist/api/PhoneNumbersApi.d.ts +1 -1
  100. package/dist/api/PhoneNumbersApi.js +2 -2
  101. package/dist/api/PostsApi.d.ts +1 -1
  102. package/dist/api/PostsApi.js +2 -2
  103. package/dist/api/PrivateMessagesApi.d.ts +1 -1
  104. package/dist/api/PrivateMessagesApi.js +2 -2
  105. package/dist/api/PublicationsApi.d.ts +431 -1
  106. package/dist/api/PublicationsApi.d.ts.map +1 -1
  107. package/dist/api/PublicationsApi.js +683 -5
  108. package/dist/api/RestApplicationsApi.d.ts +1 -1
  109. package/dist/api/RestApplicationsApi.js +2 -2
  110. package/dist/api/ScreensApi.d.ts +1 -1
  111. package/dist/api/ScreensApi.js +2 -2
  112. package/dist/api/SitesApi.d.ts +1 -1
  113. package/dist/api/SitesApi.js +2 -2
  114. package/dist/api/SocialGroupsApi.d.ts +925 -0
  115. package/dist/api/SocialGroupsApi.d.ts.map +1 -0
  116. package/dist/api/SocialGroupsApi.js +1496 -0
  117. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  118. package/dist/api/SocialIntegrationApi.js +2 -2
  119. package/dist/api/StripeAccountsApi.d.ts +1 -1
  120. package/dist/api/StripeAccountsApi.js +2 -2
  121. package/dist/api/TagsApi.d.ts +1 -1
  122. package/dist/api/TagsApi.js +2 -2
  123. package/dist/api/TemplatesApi.d.ts +1 -1
  124. package/dist/api/TemplatesApi.js +2 -2
  125. package/dist/api/ThemeMappingsApi.d.ts +1 -1
  126. package/dist/api/ThemeMappingsApi.js +2 -2
  127. package/dist/api/TopicsApi.d.ts +1 -1
  128. package/dist/api/TopicsApi.js +2 -2
  129. package/dist/api/TransactionsApi.d.ts +1 -1
  130. package/dist/api/TransactionsApi.js +2 -2
  131. package/dist/api/TwitterApi.d.ts +1 -1
  132. package/dist/api/TwitterApi.js +2 -2
  133. package/dist/api/UserTagsApi.d.ts +1 -1
  134. package/dist/api/UserTagsApi.js +2 -2
  135. package/dist/api/UsersApi.d.ts +7 -11
  136. package/dist/api/UsersApi.d.ts.map +1 -1
  137. package/dist/api/UsersApi.js +14 -15
  138. package/dist/api/UtilsApi.d.ts +1 -1
  139. package/dist/api/UtilsApi.js +2 -2
  140. package/dist/api/VideosApi.d.ts +1 -1
  141. package/dist/api/VideosApi.js +2 -2
  142. package/dist/api/WalletsApi.d.ts +1 -1
  143. package/dist/api/WalletsApi.js +2 -2
  144. package/dist/index.d.ts +14 -3
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +91 -14
  147. package/dist/model/APIClient.d.ts +1 -1
  148. package/dist/model/APIClient.js +2 -2
  149. package/dist/model/AccountSessionInput.d.ts +1 -1
  150. package/dist/model/AccountSessionInput.js +2 -2
  151. package/dist/model/AccountSessionResponse.d.ts +1 -1
  152. package/dist/model/AccountSessionResponse.js +2 -2
  153. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  154. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  155. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
  156. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  157. package/dist/model/Article.d.ts +10 -10
  158. package/dist/model/Article.d.ts.map +1 -1
  159. package/dist/model/Article.js +25 -25
  160. package/dist/model/AuthResponse.d.ts +1 -1
  161. package/dist/model/AuthResponse.js +2 -2
  162. package/dist/model/AwsSettings.d.ts +1 -1
  163. package/dist/model/AwsSettings.js +2 -2
  164. package/dist/model/Balance.d.ts +10 -10
  165. package/dist/model/Balance.d.ts.map +1 -1
  166. package/dist/model/Balance.js +44 -44
  167. package/dist/model/BalanceDetails.d.ts +1 -1
  168. package/dist/model/BalanceDetails.js +2 -2
  169. package/dist/model/BalanceResponse.d.ts +1 -1
  170. package/dist/model/BalanceResponse.js +2 -2
  171. package/dist/model/BankAccountInfo.d.ts +1 -1
  172. package/dist/model/BankAccountInfo.js +2 -2
  173. package/dist/model/BlogPostResponse.d.ts +170 -0
  174. package/dist/model/BlogPostResponse.d.ts.map +1 -0
  175. package/dist/model/BlogPostResponse.js +517 -0
  176. package/dist/model/CardInfo.d.ts +1 -1
  177. package/dist/model/CardInfo.js +2 -2
  178. package/dist/model/Comment.d.ts +11 -11
  179. package/dist/model/Comment.d.ts.map +1 -1
  180. package/dist/model/Comment.js +30 -30
  181. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  182. package/dist/model/ConsoleProjectInput.js +2 -2
  183. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  184. package/dist/model/ConsoleProjectResponse.js +2 -2
  185. package/dist/model/Coordinates.d.ts +1 -1
  186. package/dist/model/Coordinates.js +2 -2
  187. package/dist/model/CreateAccountResponse.d.ts +1 -1
  188. package/dist/model/CreateAccountResponse.js +2 -2
  189. package/dist/model/CreateFunctionInput.d.ts +1 -1
  190. package/dist/model/CreateFunctionInput.js +2 -2
  191. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  192. package/dist/model/CreateStripeAccountInput.js +2 -2
  193. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  194. package/dist/model/CreateStripeCustomerInput.js +2 -2
  195. package/dist/model/CreateTopicInput.d.ts +1 -1
  196. package/dist/model/CreateTopicInput.js +2 -2
  197. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  198. package/dist/model/CreateTopicListenerInput.js +2 -2
  199. package/dist/model/Currency.d.ts +1 -1
  200. package/dist/model/Currency.js +2 -2
  201. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  202. package/dist/model/CurrencyGrantInput.js +2 -2
  203. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  204. package/dist/model/CurrencyGrantResponse.js +2 -2
  205. package/dist/model/CurrencyInput.d.ts +1 -1
  206. package/dist/model/CurrencyInput.js +2 -2
  207. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  208. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  209. package/dist/model/CurrencyResponse.d.ts +1 -1
  210. package/dist/model/CurrencyResponse.js +2 -2
  211. package/dist/model/CurrencySettings.d.ts +1 -1
  212. package/dist/model/CurrencySettings.js +2 -2
  213. package/dist/model/CustomerResponse.d.ts +1 -1
  214. package/dist/model/CustomerResponse.js +2 -2
  215. package/dist/model/DataObject.d.ts +1 -1
  216. package/dist/model/DataObject.js +2 -2
  217. package/dist/model/DataSheetImport.d.ts +19 -19
  218. package/dist/model/DataSheetImport.d.ts.map +1 -1
  219. package/dist/model/DataSheetImport.js +56 -56
  220. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  221. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  222. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  223. package/dist/model/DataSheetImportSummary.js +2 -2
  224. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  225. package/dist/model/DeviceRegistrationRequest.js +2 -2
  226. package/dist/model/Document.d.ts +10 -10
  227. package/dist/model/Document.d.ts.map +1 -1
  228. package/dist/model/Document.js +25 -25
  229. package/dist/model/DocumentPart.d.ts +1 -1
  230. package/dist/model/DocumentPart.js +2 -2
  231. package/dist/model/DocumentPartType.d.ts +14 -14
  232. package/dist/model/DocumentPartType.d.ts.map +1 -1
  233. package/dist/model/DocumentPartType.js +38 -38
  234. package/dist/model/DocumentType.d.ts +10 -10
  235. package/dist/model/DocumentType.d.ts.map +1 -1
  236. package/dist/model/DocumentType.js +25 -25
  237. package/dist/model/EmailAddress.d.ts +9 -9
  238. package/dist/model/EmailAddress.d.ts.map +1 -1
  239. package/dist/model/EmailAddress.js +27 -27
  240. package/dist/model/FieldMapping.d.ts +1 -1
  241. package/dist/model/FieldMapping.js +2 -2
  242. package/dist/model/Fields.d.ts +10 -10
  243. package/dist/model/Fields.d.ts.map +1 -1
  244. package/dist/model/Fields.js +27 -27
  245. package/dist/model/File.d.ts +10 -10
  246. package/dist/model/File.d.ts.map +1 -1
  247. package/dist/model/File.js +31 -31
  248. package/dist/model/FileAttachmentUploadObject.d.ts +10 -10
  249. package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
  250. package/dist/model/FileAttachmentUploadObject.js +31 -31
  251. package/dist/model/Filter.d.ts +1 -1
  252. package/dist/model/Filter.js +2 -2
  253. package/dist/model/FilterManager.d.ts +10 -10
  254. package/dist/model/FilterManager.d.ts.map +1 -1
  255. package/dist/model/FilterManager.js +25 -25
  256. package/dist/model/Form.d.ts +10 -10
  257. package/dist/model/Form.d.ts.map +1 -1
  258. package/dist/model/Form.js +29 -29
  259. package/dist/model/FormSection.d.ts +1 -1
  260. package/dist/model/FormSection.js +2 -2
  261. package/dist/model/FormSubmission.d.ts +1 -1
  262. package/dist/model/FormSubmission.js +2 -2
  263. package/dist/model/FunctionConfigInput.d.ts +1 -1
  264. package/dist/model/FunctionConfigInput.js +2 -2
  265. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  266. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  267. package/dist/model/FunctionInput.d.ts +1 -1
  268. package/dist/model/FunctionInput.js +2 -2
  269. package/dist/model/FunctionOutput.d.ts +1 -1
  270. package/dist/model/FunctionOutput.js +2 -2
  271. package/dist/model/Geocode.d.ts +1 -1
  272. package/dist/model/Geocode.js +2 -2
  273. package/dist/model/GeocodePayload.d.ts +1 -1
  274. package/dist/model/GeocodePayload.js +2 -2
  275. package/dist/model/GeolocationInput.d.ts +1 -1
  276. package/dist/model/GeolocationInput.js +2 -2
  277. package/dist/model/GetFunctionConfig.d.ts +1 -1
  278. package/dist/model/GetFunctionConfig.js +2 -2
  279. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  280. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  281. package/dist/model/GetFunctionResponse.d.ts +1 -1
  282. package/dist/model/GetFunctionResponse.js +2 -2
  283. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  284. package/dist/model/GoogleCloudSettings.js +2 -2
  285. package/dist/model/Graph.d.ts +1 -1
  286. package/dist/model/Graph.js +2 -2
  287. package/dist/model/GraphAction.d.ts +12 -12
  288. package/dist/model/GraphAction.d.ts.map +1 -1
  289. package/dist/model/GraphAction.js +29 -29
  290. package/dist/model/GraphActionPayload.d.ts +1 -1
  291. package/dist/model/GraphActionPayload.js +2 -2
  292. package/dist/model/GraphActionResponse.d.ts +1 -1
  293. package/dist/model/GraphActionResponse.js +2 -2
  294. package/dist/model/GraphDatabaseService.d.ts +1 -1
  295. package/dist/model/GraphDatabaseService.js +2 -2
  296. package/dist/model/GraphGeocode.d.ts +1 -1
  297. package/dist/model/GraphGeocode.js +2 -2
  298. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  299. package/dist/model/GraphIteratorEntryPart.js +2 -2
  300. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
  301. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  302. package/dist/model/GraphObject.d.ts +1 -1
  303. package/dist/model/GraphObject.js +2 -2
  304. package/dist/model/GraphObjectPayload.d.ts +1 -1
  305. package/dist/model/GraphObjectPayload.js +2 -2
  306. package/dist/model/GraphObjectResponse.d.ts +1 -1
  307. package/dist/model/GraphObjectResponse.js +2 -2
  308. package/dist/model/GraphObjectSchema.d.ts +1 -1
  309. package/dist/model/GraphObjectSchema.js +2 -2
  310. package/dist/model/GraphObjectType.d.ts +1 -1
  311. package/dist/model/GraphObjectType.js +2 -2
  312. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  313. package/dist/model/GraphObjectTypeInput.js +2 -2
  314. package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
  315. package/dist/model/GraphObjectTypeResponse.js +2 -2
  316. package/dist/model/GraphObjectTypeSchema.d.ts +1 -1
  317. package/dist/model/GraphObjectTypeSchema.js +2 -2
  318. package/dist/model/GraphOwner.d.ts +1 -1
  319. package/dist/model/GraphOwner.js +2 -2
  320. package/dist/model/GraphRelationship.d.ts +12 -12
  321. package/dist/model/GraphRelationship.d.ts.map +1 -1
  322. package/dist/model/GraphRelationship.js +30 -30
  323. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  324. package/dist/model/GraphRelationshipPayload.js +2 -2
  325. package/dist/model/GraphRelationshipType.d.ts +1 -1
  326. package/dist/model/GraphRelationshipType.js +2 -2
  327. package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
  328. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  329. package/dist/model/GraphSchema.d.ts +1 -1
  330. package/dist/model/GraphSchema.js +2 -2
  331. package/dist/model/GraphSchemaInput.d.ts +1 -1
  332. package/dist/model/GraphSchemaInput.js +2 -2
  333. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  334. package/dist/model/GraphSchemaResponse.js +2 -2
  335. package/dist/model/GraphTraversalInput.d.ts +1 -1
  336. package/dist/model/GraphTraversalInput.js +2 -2
  337. package/dist/model/Image.d.ts +42 -20
  338. package/dist/model/Image.d.ts.map +1 -1
  339. package/dist/model/Image.js +102 -53
  340. package/dist/model/ImageUploadObject.d.ts +19 -19
  341. package/dist/model/ImageUploadObject.d.ts.map +1 -1
  342. package/dist/model/ImageUploadObject.js +56 -56
  343. package/dist/model/InputPart.d.ts +10 -10
  344. package/dist/model/InputPart.d.ts.map +1 -1
  345. package/dist/model/InputPart.js +29 -29
  346. package/dist/model/InputPartMediaType.d.ts +1 -1
  347. package/dist/model/InputPartMediaType.js +2 -2
  348. package/dist/model/KafkaSettings.d.ts +1 -1
  349. package/dist/model/KafkaSettings.js +2 -2
  350. package/dist/model/Link.d.ts +1 -1
  351. package/dist/model/Link.js +2 -2
  352. package/dist/model/LiveStreamInfo.d.ts +1 -1
  353. package/dist/model/LiveStreamInfo.js +2 -2
  354. package/dist/model/MeetingEvent.d.ts +10 -10
  355. package/dist/model/MeetingEvent.d.ts.map +1 -1
  356. package/dist/model/MeetingEvent.js +31 -31
  357. package/dist/model/MeetingEventInput.d.ts +202 -0
  358. package/dist/model/MeetingEventInput.d.ts.map +1 -0
  359. package/dist/model/MeetingEventInput.js +603 -0
  360. package/dist/model/MeetingEventResponse.d.ts +220 -0
  361. package/dist/model/MeetingEventResponse.d.ts.map +1 -0
  362. package/dist/model/MeetingEventResponse.js +642 -0
  363. package/dist/model/MeetingEventTimezone.d.ts +1 -1
  364. package/dist/model/MeetingEventTimezone.js +2 -2
  365. package/dist/model/MeetingEventTypeInput.d.ts +120 -0
  366. package/dist/model/MeetingEventTypeInput.d.ts.map +1 -0
  367. package/dist/model/MeetingEventTypeInput.js +345 -0
  368. package/dist/model/MeetingEventTypeResponse.d.ts +128 -0
  369. package/dist/model/MeetingEventTypeResponse.d.ts.map +1 -0
  370. package/dist/model/MeetingEventTypeResponse.js +377 -0
  371. package/dist/model/MeetingInfo.d.ts +1 -1
  372. package/dist/model/MeetingInfo.js +2 -2
  373. package/dist/model/Member.d.ts +19 -19
  374. package/dist/model/Member.d.ts.map +1 -1
  375. package/dist/model/Member.js +54 -54
  376. package/dist/model/MemberGroupCategory.d.ts +1 -1
  377. package/dist/model/MemberGroupCategory.js +2 -2
  378. package/dist/model/MemberList.d.ts +1 -1
  379. package/dist/model/MemberList.js +2 -2
  380. package/dist/model/MessageGroup.d.ts +1 -1
  381. package/dist/model/MessageGroup.js +2 -2
  382. package/dist/model/MultipartBody.d.ts +1 -1
  383. package/dist/model/MultipartBody.js +2 -2
  384. package/dist/model/NotificationInput.d.ts +1 -1
  385. package/dist/model/NotificationInput.js +2 -2
  386. package/dist/model/NotificationResponse.d.ts +1 -1
  387. package/dist/model/NotificationResponse.js +2 -2
  388. package/dist/model/NumberSettings.d.ts +1 -1
  389. package/dist/model/NumberSettings.js +2 -2
  390. package/dist/model/ObjectSettings.d.ts +1 -1
  391. package/dist/model/ObjectSettings.js +2 -2
  392. package/dist/model/Objecttype.d.ts +1 -1
  393. package/dist/model/Objecttype.js +2 -2
  394. package/dist/model/OutParameter.d.ts +1 -1
  395. package/dist/model/OutParameter.js +2 -2
  396. package/dist/model/Page.d.ts +1 -1
  397. package/dist/model/Page.js +2 -2
  398. package/dist/model/PageSchema.d.ts +10 -10
  399. package/dist/model/PageSchema.d.ts.map +1 -1
  400. package/dist/model/PageSchema.js +29 -29
  401. package/dist/model/Pageable.d.ts +1 -1
  402. package/dist/model/Pageable.js +2 -2
  403. package/dist/model/Parameter.d.ts +1 -1
  404. package/dist/model/Parameter.js +2 -2
  405. package/dist/model/Path.d.ts +1 -1
  406. package/dist/model/Path.js +2 -2
  407. package/dist/model/PaymentAccountObject.d.ts +1 -1
  408. package/dist/model/PaymentAccountObject.js +2 -2
  409. package/dist/model/PaymentIntentInput.d.ts +1 -1
  410. package/dist/model/PaymentIntentInput.js +2 -2
  411. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  412. package/dist/model/PaymentIntentResponse.js +2 -2
  413. package/dist/model/PaymentMethod.d.ts +9 -9
  414. package/dist/model/PaymentMethod.d.ts.map +1 -1
  415. package/dist/model/PaymentMethod.js +23 -23
  416. package/dist/model/PaymentMethodInput.d.ts +1 -1
  417. package/dist/model/PaymentMethodInput.js +2 -2
  418. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  419. package/dist/model/PaymentMethodResponse.js +2 -2
  420. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  421. package/dist/model/PaymentMethodsResponse.js +2 -2
  422. package/dist/model/Payout.d.ts +1 -1
  423. package/dist/model/Payout.js +2 -2
  424. package/dist/model/PayoutInput.d.ts +1 -1
  425. package/dist/model/PayoutInput.js +2 -2
  426. package/dist/model/PayoutResponse.d.ts +1 -1
  427. package/dist/model/PayoutResponse.js +2 -2
  428. package/dist/model/PhoneNumber.d.ts +1 -1
  429. package/dist/model/PhoneNumber.js +2 -2
  430. package/dist/model/Post.d.ts +1 -1
  431. package/dist/model/Post.js +2 -2
  432. package/dist/model/PrivateMessage.d.ts +1 -1
  433. package/dist/model/PrivateMessage.js +2 -2
  434. package/dist/model/PrivateMessageConversation.d.ts +21 -21
  435. package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
  436. package/dist/model/PrivateMessageConversation.js +59 -59
  437. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  438. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  439. package/dist/model/Profile.d.ts +1 -1
  440. package/dist/model/Profile.js +2 -2
  441. package/dist/model/Profiletype.d.ts +1 -1
  442. package/dist/model/Profiletype.js +2 -2
  443. package/dist/model/PropertyContainer.d.ts +1 -1
  444. package/dist/model/PropertyContainer.js +2 -2
  445. package/dist/model/PublicationInput.d.ts +102 -0
  446. package/dist/model/PublicationInput.d.ts.map +1 -0
  447. package/dist/model/PublicationInput.js +297 -0
  448. package/dist/model/PublicationResponse.d.ts +166 -0
  449. package/dist/model/PublicationResponse.d.ts.map +1 -0
  450. package/dist/model/PublicationResponse.js +495 -0
  451. package/dist/model/PurchaseInput.d.ts +1 -1
  452. package/dist/model/PurchaseInput.js +2 -2
  453. package/dist/model/PurchaseResponse.d.ts +1 -1
  454. package/dist/model/PurchaseResponse.js +2 -2
  455. package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
  456. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  457. package/dist/model/RelationshipMapping.d.ts +1 -1
  458. package/dist/model/RelationshipMapping.js +2 -2
  459. package/dist/model/RestApplicationInput.d.ts +1 -1
  460. package/dist/model/RestApplicationInput.js +2 -2
  461. package/dist/model/RestApplicationResponse.d.ts +1 -1
  462. package/dist/model/RestApplicationResponse.js +2 -2
  463. package/dist/model/ScreenSchema.d.ts +1 -1
  464. package/dist/model/ScreenSchema.js +2 -2
  465. package/dist/model/SimulcastInfo.d.ts +1 -1
  466. package/dist/model/SimulcastInfo.js +2 -2
  467. package/dist/model/SiteInput.d.ts +1 -1
  468. package/dist/model/SiteInput.js +2 -2
  469. package/dist/model/SiteResponse.d.ts +1 -1
  470. package/dist/model/SiteResponse.js +2 -2
  471. package/dist/model/SiteTypeInput.d.ts +1 -1
  472. package/dist/model/SiteTypeInput.js +2 -2
  473. package/dist/model/SiteTypeResponse.d.ts +1 -1
  474. package/dist/model/SiteTypeResponse.js +2 -2
  475. package/dist/model/SkinField.d.ts +10 -10
  476. package/dist/model/SkinField.d.ts.map +1 -1
  477. package/dist/model/SkinField.js +27 -27
  478. package/dist/model/SkinFieldResponse.d.ts +1 -1
  479. package/dist/model/SkinFieldResponse.js +2 -2
  480. package/dist/model/SocialGroup.d.ts +1 -1
  481. package/dist/model/SocialGroup.js +2 -2
  482. package/dist/model/SocialGroupInput.d.ts +101 -0
  483. package/dist/model/SocialGroupInput.d.ts.map +1 -0
  484. package/dist/model/SocialGroupInput.js +289 -0
  485. package/dist/model/SocialGroupResponse.d.ts +204 -0
  486. package/dist/model/SocialGroupResponse.d.ts.map +1 -0
  487. package/dist/model/SocialGroupResponse.js +614 -0
  488. package/dist/model/SocialGroupType.d.ts +12 -12
  489. package/dist/model/SocialGroupType.d.ts.map +1 -1
  490. package/dist/model/SocialGroupType.js +31 -31
  491. package/dist/model/SocialGroupTypeInput.d.ts +102 -0
  492. package/dist/model/SocialGroupTypeInput.d.ts.map +1 -0
  493. package/dist/model/SocialGroupTypeInput.js +295 -0
  494. package/dist/model/Sort.d.ts +1 -1
  495. package/dist/model/Sort.js +2 -2
  496. package/dist/model/SourceTypes.d.ts +1 -1
  497. package/dist/model/SourceTypes.js +2 -2
  498. package/dist/model/StatusUpdate.d.ts +1 -1
  499. package/dist/model/StatusUpdate.js +2 -2
  500. package/dist/model/StreetAddress.d.ts +1 -1
  501. package/dist/model/StreetAddress.js +2 -2
  502. package/dist/model/StripeAccount.d.ts +1 -1
  503. package/dist/model/StripeAccount.js +2 -2
  504. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  505. package/dist/model/StripeCustomerAccount.js +2 -2
  506. package/dist/model/Template.d.ts +1 -1
  507. package/dist/model/Template.js +2 -2
  508. package/dist/model/TemplateResponse.d.ts +1 -1
  509. package/dist/model/TemplateResponse.js +2 -2
  510. package/dist/model/TemplateSchema.d.ts +1 -1
  511. package/dist/model/TemplateSchema.js +2 -2
  512. package/dist/model/ThemeMapping.d.ts +1 -1
  513. package/dist/model/ThemeMapping.js +2 -2
  514. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  515. package/dist/model/ThemeMappingPayload.js +2 -2
  516. package/dist/model/Timezone.d.ts +65 -0
  517. package/dist/model/Timezone.d.ts.map +1 -0
  518. package/dist/model/Timezone.js +187 -0
  519. package/dist/model/Timezone1.d.ts +65 -0
  520. package/dist/model/Timezone1.d.ts.map +1 -0
  521. package/dist/model/Timezone1.js +187 -0
  522. package/dist/model/TopicInfoResponse.d.ts +1 -1
  523. package/dist/model/TopicInfoResponse.js +2 -2
  524. package/dist/model/TopicMessageInput.d.ts +1 -1
  525. package/dist/model/TopicMessageInput.js +2 -2
  526. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  527. package/dist/model/TopicSubscriptionResponse.js +2 -2
  528. package/dist/model/Transaction.d.ts +1 -1
  529. package/dist/model/Transaction.js +2 -2
  530. package/dist/model/Transfer.d.ts +1 -1
  531. package/dist/model/Transfer.js +2 -2
  532. package/dist/model/TransferInput.d.ts +1 -1
  533. package/dist/model/TransferInput.js +2 -2
  534. package/dist/model/TransferResponse.d.ts +1 -1
  535. package/dist/model/TransferResponse.js +2 -2
  536. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
  537. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  538. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  539. package/dist/model/TraversalRelationResponse.js +2 -2
  540. package/dist/model/User.d.ts +19 -19
  541. package/dist/model/User.d.ts.map +1 -1
  542. package/dist/model/User.js +54 -54
  543. package/dist/model/UserDataPayload.d.ts +19 -19
  544. package/dist/model/UserDataPayload.d.ts.map +1 -1
  545. package/dist/model/UserDataPayload.js +54 -54
  546. package/dist/model/UserDomain.d.ts +1 -1
  547. package/dist/model/UserDomain.js +2 -2
  548. package/dist/model/UserInvite.d.ts +1 -1
  549. package/dist/model/UserInvite.js +2 -2
  550. package/dist/model/UserInviteInput.d.ts +1 -1
  551. package/dist/model/UserInviteInput.js +2 -2
  552. package/dist/model/UserResponse.d.ts +1 -1
  553. package/dist/model/UserResponse.js +2 -2
  554. package/dist/model/UserSchema.d.ts +19 -19
  555. package/dist/model/UserSchema.d.ts.map +1 -1
  556. package/dist/model/UserSchema.js +54 -54
  557. package/dist/model/UserTag.d.ts +1 -1
  558. package/dist/model/UserTag.js +2 -2
  559. package/dist/model/Userid.d.ts +1 -1
  560. package/dist/model/Userid.js +2 -2
  561. package/dist/model/Video.d.ts +10 -10
  562. package/dist/model/Video.d.ts.map +1 -1
  563. package/dist/model/Video.js +31 -31
  564. package/dist/model/VideoLiveUrl.d.ts +9 -9
  565. package/dist/model/VideoLiveUrl.d.ts.map +1 -1
  566. package/dist/model/VideoLiveUrl.js +27 -27
  567. package/dist/model/VideoSchema.d.ts +10 -10
  568. package/dist/model/VideoSchema.d.ts.map +1 -1
  569. package/dist/model/VideoSchema.js +31 -31
  570. package/dist/model/VideoUploadObject.d.ts +10 -10
  571. package/dist/model/VideoUploadObject.d.ts.map +1 -1
  572. package/dist/model/VideoUploadObject.js +31 -31
  573. package/dist/model/WalletHoldInput.d.ts +1 -1
  574. package/dist/model/WalletHoldInput.js +2 -2
  575. package/dist/model/WalletHoldResponse.d.ts +1 -1
  576. package/dist/model/WalletHoldResponse.js +2 -2
  577. package/dist/model/WalletPayoutInput.d.ts +1 -1
  578. package/dist/model/WalletPayoutInput.js +2 -2
  579. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  580. package/dist/model/WalletPayoutResponse.js +2 -2
  581. package/dist/model/WalletResponse.d.ts +1 -1
  582. package/dist/model/WalletResponse.js +2 -2
  583. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  584. package/dist/model/ZeusPortalCategory.js +2 -2
  585. package/package.json +2 -2
@@ -0,0 +1,1496 @@
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(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
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(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
20
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(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
+ * Adds the users corresponding to the list of userids to the group
54
+ * Adds the users corresponding to the list of userids to the group
55
+ * @param {Number} groupid
56
+ * @param {Array.<Number>} requestBody Id of user or an array of user ids to add
57
+ * @param {Object} opts Optional parameters
58
+ * @param {String} [authorization] The authorization token of the logged in user
59
+ * @param {Number} [cacheduration] The how long the cache entry should persist
60
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
61
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
62
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
63
+ * @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)
64
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
65
+ * @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
66
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
67
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
68
+ * @param {String} [inviteCode]
69
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
70
+ */
71
+ _createClass(SocialGroupsApi, [{
72
+ key: "addGroupMembersWithHttpInfo",
73
+ value: function addGroupMembersWithHttpInfo(groupid, requestBody, opts) {
74
+ opts = opts || {};
75
+ var postBody = requestBody;
76
+ // verify the required parameter 'groupid' is set
77
+ if (groupid === undefined || groupid === null) {
78
+ throw new Error("Missing the required parameter 'groupid' when calling addGroupMembers");
79
+ }
80
+ // verify the required parameter 'requestBody' is set
81
+ if (requestBody === undefined || requestBody === null) {
82
+ throw new Error("Missing the required parameter 'requestBody' when calling addGroupMembers");
83
+ }
84
+ var pathParams = {
85
+ 'groupid': groupid
86
+ };
87
+ var queryParams = {
88
+ 'inviteCode': opts['inviteCode']
89
+ };
90
+ var headerParams = {
91
+ 'Authorization': opts['authorization'],
92
+ 'cacheduration': opts['cacheduration'],
93
+ 'cachegroup': opts['cachegroup'],
94
+ 'cachekey': opts['cachekey'],
95
+ 'cachescope': opts['cachescope'],
96
+ 'cacheuser': opts['cacheuser'],
97
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
98
+ 'zeusportal-postas': opts['zeusportalPostas'],
99
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
100
+ 'transactionid': opts['transactionid']
101
+ };
102
+ var formParams = {};
103
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
104
+ var contentTypes = [];
105
+ var accepts = ['*/*'];
106
+ var returnType = null;
107
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/addmembers', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
108
+ }
109
+
110
+ /**
111
+ * Adds the users corresponding to the list of userids to the group
112
+ * Adds the users corresponding to the list of userids to the group
113
+ * @param {Number} groupid
114
+ * @param {Array.<Number>} requestBody Id of user or an array of user ids to add
115
+ * @param {Object} opts Optional parameters
116
+ * @param {String} opts.authorization The authorization token of the logged in user
117
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
118
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
119
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
120
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
121
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
122
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
123
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
124
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
125
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
126
+ * @param {String} opts.inviteCode
127
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
128
+ */
129
+ }, {
130
+ key: "addGroupMembers",
131
+ value: function addGroupMembers(groupid, requestBody, opts) {
132
+ return this.addGroupMembersWithHttpInfo(groupid, requestBody, opts).then(function (response_and_data) {
133
+ return response_and_data.data;
134
+ });
135
+ }
136
+
137
+ /**
138
+ * Create Group
139
+ * Create new group(s)
140
+ * @param {module:model/SocialGroup} socialGroup Group object or array of objects to create
141
+ * @param {Object} opts Optional parameters
142
+ * @param {String} [authorization] The authorization token of the logged in user
143
+ * @param {Number} [cacheduration] The how long the cache entry should persist
144
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
145
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
146
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
147
+ * @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)
148
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
149
+ * @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
150
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
151
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
152
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SocialGroupResponse>} and HTTP response
153
+ */
154
+ }, {
155
+ key: "createGroupWithHttpInfo",
156
+ value: function createGroupWithHttpInfo(socialGroup, opts) {
157
+ opts = opts || {};
158
+ var postBody = socialGroup;
159
+ // verify the required parameter 'socialGroup' is set
160
+ if (socialGroup === undefined || socialGroup === null) {
161
+ throw new Error("Missing the required parameter 'socialGroup' when calling createGroup");
162
+ }
163
+ var pathParams = {};
164
+ var queryParams = {};
165
+ var headerParams = {
166
+ 'Authorization': opts['authorization'],
167
+ 'cacheduration': opts['cacheduration'],
168
+ 'cachegroup': opts['cachegroup'],
169
+ 'cachekey': opts['cachekey'],
170
+ 'cachescope': opts['cachescope'],
171
+ 'cacheuser': opts['cacheuser'],
172
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
173
+ 'zeusportal-postas': opts['zeusportalPostas'],
174
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
175
+ 'transactionid': opts['transactionid']
176
+ };
177
+ var formParams = {};
178
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
179
+ var contentTypes = [];
180
+ var accepts = ['*/*'];
181
+ var returnType = [_SocialGroupResponse["default"]];
182
+ return this.apiClient.callApi('/graph/data/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
183
+ }
184
+
185
+ /**
186
+ * Create Group
187
+ * Create new group(s)
188
+ * @param {module:model/SocialGroup} socialGroup Group object or array of objects to create
189
+ * @param {Object} opts Optional parameters
190
+ * @param {String} opts.authorization The authorization token of the logged in user
191
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
192
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
193
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
194
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
195
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
196
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
197
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
198
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
199
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
200
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SocialGroupResponse>}
201
+ */
202
+ }, {
203
+ key: "createGroup",
204
+ value: function createGroup(socialGroup, opts) {
205
+ return this.createGroupWithHttpInfo(socialGroup, opts).then(function (response_and_data) {
206
+ return response_and_data.data;
207
+ });
208
+ }
209
+
210
+ /**
211
+ * Create a new social group type
212
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
213
+ * @param {Object} opts Optional parameters
214
+ * @param {String} [authorization] The authorization token of the logged in user
215
+ * @param {Number} [cacheduration] The how long the cache entry should persist
216
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
217
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
218
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
219
+ * @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)
220
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
221
+ * @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
222
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
223
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
224
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SocialGroupType} and HTTP response
225
+ */
226
+ }, {
227
+ key: "createSocialGroupTypeWithHttpInfo",
228
+ value: function createSocialGroupTypeWithHttpInfo(socialGroupTypeInput, opts) {
229
+ opts = opts || {};
230
+ var postBody = socialGroupTypeInput;
231
+ // verify the required parameter 'socialGroupTypeInput' is set
232
+ if (socialGroupTypeInput === undefined || socialGroupTypeInput === null) {
233
+ throw new Error("Missing the required parameter 'socialGroupTypeInput' when calling createSocialGroupType");
234
+ }
235
+ var pathParams = {};
236
+ var queryParams = {};
237
+ var headerParams = {
238
+ 'Authorization': opts['authorization'],
239
+ 'cacheduration': opts['cacheduration'],
240
+ 'cachegroup': opts['cachegroup'],
241
+ 'cachekey': opts['cachekey'],
242
+ 'cachescope': opts['cachescope'],
243
+ 'cacheuser': opts['cacheuser'],
244
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
245
+ 'zeusportal-postas': opts['zeusportalPostas'],
246
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
247
+ 'transactionid': opts['transactionid']
248
+ };
249
+ var formParams = {};
250
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
251
+ var contentTypes = [];
252
+ var accepts = ['application/json'];
253
+ var returnType = _SocialGroupType["default"];
254
+ return this.apiClient.callApi('/graph/data/groups/types', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
255
+ }
256
+
257
+ /**
258
+ * Create a new social group type
259
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
260
+ * @param {Object} opts Optional parameters
261
+ * @param {String} opts.authorization The authorization token of the logged in user
262
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
263
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
264
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
265
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
266
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
267
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
268
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
269
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
270
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
271
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SocialGroupType}
272
+ */
273
+ }, {
274
+ key: "createSocialGroupType",
275
+ value: function createSocialGroupType(socialGroupTypeInput, opts) {
276
+ return this.createSocialGroupTypeWithHttpInfo(socialGroupTypeInput, opts).then(function (response_and_data) {
277
+ return response_and_data.data;
278
+ });
279
+ }
280
+
281
+ /**
282
+ * Delete a social group type
283
+ * @param {Number} socialGroupTypeId
284
+ * @param {Object} opts Optional parameters
285
+ * @param {String} [authorization] The authorization token of the logged in user
286
+ * @param {Number} [cacheduration] The how long the cache entry should persist
287
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
288
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
289
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
290
+ * @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)
291
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
292
+ * @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
293
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
294
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
295
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
296
+ */
297
+ }, {
298
+ key: "deleteSocialGroupTypeWithHttpInfo",
299
+ value: function deleteSocialGroupTypeWithHttpInfo(socialGroupTypeId, opts) {
300
+ opts = opts || {};
301
+ var postBody = null;
302
+ // verify the required parameter 'socialGroupTypeId' is set
303
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
304
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling deleteSocialGroupType");
305
+ }
306
+ var pathParams = {
307
+ 'socialGroupTypeId': socialGroupTypeId
308
+ };
309
+ var queryParams = {};
310
+ var headerParams = {
311
+ 'Authorization': opts['authorization'],
312
+ 'cacheduration': opts['cacheduration'],
313
+ 'cachegroup': opts['cachegroup'],
314
+ 'cachekey': opts['cachekey'],
315
+ 'cachescope': opts['cachescope'],
316
+ 'cacheuser': opts['cacheuser'],
317
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
318
+ 'zeusportal-postas': opts['zeusportalPostas'],
319
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
320
+ 'transactionid': opts['transactionid']
321
+ };
322
+ var formParams = {};
323
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
324
+ var contentTypes = [];
325
+ var accepts = [];
326
+ var returnType = null;
327
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
328
+ }
329
+
330
+ /**
331
+ * Delete a social group type
332
+ * @param {Number} socialGroupTypeId
333
+ * @param {Object} opts Optional parameters
334
+ * @param {String} opts.authorization The authorization token of the logged in user
335
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
336
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
337
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
338
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
339
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
340
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
341
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
342
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
343
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
344
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
345
+ */
346
+ }, {
347
+ key: "deleteSocialGroupType",
348
+ value: function deleteSocialGroupType(socialGroupTypeId, opts) {
349
+ return this.deleteSocialGroupTypeWithHttpInfo(socialGroupTypeId, opts).then(function (response_and_data) {
350
+ return response_and_data.data;
351
+ });
352
+ }
353
+
354
+ /**
355
+ * Edit Group
356
+ * Edits a Group
357
+ * @param {Number} id
358
+ * @param {module:model/SocialGroupInput} socialGroupInput Conversation object or array of objects to create
359
+ * @param {Object} opts Optional parameters
360
+ * @param {String} [authorization] The authorization token of the logged in user
361
+ * @param {Number} [cacheduration] The how long the cache entry should persist
362
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
363
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
364
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
365
+ * @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)
366
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
367
+ * @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
368
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
369
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
370
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Page} and HTTP response
371
+ */
372
+ }, {
373
+ key: "editGroupWithHttpInfo",
374
+ value: function editGroupWithHttpInfo(id, socialGroupInput, opts) {
375
+ opts = opts || {};
376
+ var postBody = socialGroupInput;
377
+ // verify the required parameter 'id' is set
378
+ if (id === undefined || id === null) {
379
+ throw new Error("Missing the required parameter 'id' when calling editGroup");
380
+ }
381
+ // verify the required parameter 'socialGroupInput' is set
382
+ if (socialGroupInput === undefined || socialGroupInput === null) {
383
+ throw new Error("Missing the required parameter 'socialGroupInput' when calling editGroup");
384
+ }
385
+ var pathParams = {
386
+ 'id': id
387
+ };
388
+ var queryParams = {};
389
+ var headerParams = {
390
+ 'Authorization': opts['authorization'],
391
+ 'cacheduration': opts['cacheduration'],
392
+ 'cachegroup': opts['cachegroup'],
393
+ 'cachekey': opts['cachekey'],
394
+ 'cachescope': opts['cachescope'],
395
+ 'cacheuser': opts['cacheuser'],
396
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
397
+ 'zeusportal-postas': opts['zeusportalPostas'],
398
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
399
+ 'transactionid': opts['transactionid']
400
+ };
401
+ var formParams = {};
402
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
403
+ var contentTypes = [];
404
+ var accepts = ['*/*'];
405
+ var returnType = _Page["default"];
406
+ return this.apiClient.callApi('/graph/data/groups/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
407
+ }
408
+
409
+ /**
410
+ * Edit Group
411
+ * Edits a Group
412
+ * @param {Number} id
413
+ * @param {module:model/SocialGroupInput} socialGroupInput Conversation object or array of objects to create
414
+ * @param {Object} opts Optional parameters
415
+ * @param {String} opts.authorization The authorization token of the logged in user
416
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
417
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
418
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
419
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
420
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
421
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
422
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
423
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
424
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
425
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Page}
426
+ */
427
+ }, {
428
+ key: "editGroup",
429
+ value: function editGroup(id, socialGroupInput, opts) {
430
+ return this.editGroupWithHttpInfo(id, socialGroupInput, opts).then(function (response_and_data) {
431
+ return response_and_data.data;
432
+ });
433
+ }
434
+
435
+ /**
436
+ * Root for the API
437
+ * @param {Object} opts Optional parameters
438
+ * @param {String} [authorization] The authorization token of the logged in user
439
+ * @param {Number} [cacheduration] The how long the cache entry should persist
440
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
441
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
442
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
443
+ * @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)
444
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
445
+ * @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
446
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
447
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
448
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
449
+ */
450
+ }, {
451
+ key: "get33WithHttpInfo",
452
+ value: function get33WithHttpInfo(opts) {
453
+ opts = opts || {};
454
+ var postBody = null;
455
+ var pathParams = {};
456
+ var queryParams = {};
457
+ var headerParams = {
458
+ 'Authorization': opts['authorization'],
459
+ 'cacheduration': opts['cacheduration'],
460
+ 'cachegroup': opts['cachegroup'],
461
+ 'cachekey': opts['cachekey'],
462
+ 'cachescope': opts['cachescope'],
463
+ 'cacheuser': opts['cacheuser'],
464
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
465
+ 'zeusportal-postas': opts['zeusportalPostas'],
466
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
467
+ 'transactionid': opts['transactionid']
468
+ };
469
+ var formParams = {};
470
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
471
+ var contentTypes = [];
472
+ var accepts = ['*/*'];
473
+ var returnType = null;
474
+ return this.apiClient.callApi('/graph/data/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
475
+ }
476
+
477
+ /**
478
+ * Root for the API
479
+ * @param {Object} opts Optional parameters
480
+ * @param {String} opts.authorization The authorization token of the logged in user
481
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
482
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
483
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
484
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
485
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
486
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
487
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
488
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
489
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
490
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
491
+ */
492
+ }, {
493
+ key: "get33",
494
+ value: function get33(opts) {
495
+ return this.get33WithHttpInfo(opts).then(function (response_and_data) {
496
+ return response_and_data.data;
497
+ });
498
+ }
499
+
500
+ /**
501
+ * Get all social group types
502
+ * @param {Object} opts Optional parameters
503
+ * @param {String} [authorization] The authorization token of the logged in user
504
+ * @param {Number} [cacheduration] The how long the cache entry should persist
505
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
506
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
507
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
508
+ * @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)
509
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
510
+ * @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
511
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
512
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
513
+ * @param {Number} [pagenum]
514
+ * @param {Number} [pagesize]
515
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SocialGroupType>} and HTTP response
516
+ */
517
+ }, {
518
+ key: "getAllSocialGroupTypesWithHttpInfo",
519
+ value: function getAllSocialGroupTypesWithHttpInfo(opts) {
520
+ opts = opts || {};
521
+ var postBody = null;
522
+ var pathParams = {};
523
+ var queryParams = {
524
+ 'pagenum': opts['pagenum'],
525
+ 'pagesize': opts['pagesize']
526
+ };
527
+ var headerParams = {
528
+ 'Authorization': opts['authorization'],
529
+ 'cacheduration': opts['cacheduration'],
530
+ 'cachegroup': opts['cachegroup'],
531
+ 'cachekey': opts['cachekey'],
532
+ 'cachescope': opts['cachescope'],
533
+ 'cacheuser': opts['cacheuser'],
534
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
535
+ 'zeusportal-postas': opts['zeusportalPostas'],
536
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
537
+ 'transactionid': opts['transactionid']
538
+ };
539
+ var formParams = {};
540
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
541
+ var contentTypes = [];
542
+ var accepts = ['application/json'];
543
+ var returnType = [_SocialGroupType["default"]];
544
+ return this.apiClient.callApi('/graph/data/groups/types', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
545
+ }
546
+
547
+ /**
548
+ * Get all social group types
549
+ * @param {Object} opts Optional parameters
550
+ * @param {String} opts.authorization The authorization token of the logged in user
551
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
552
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
553
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
554
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
555
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
556
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
557
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
558
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
559
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
560
+ * @param {Number} opts.pagenum
561
+ * @param {Number} opts.pagesize
562
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SocialGroupType>}
563
+ */
564
+ }, {
565
+ key: "getAllSocialGroupTypes",
566
+ value: function getAllSocialGroupTypes(opts) {
567
+ return this.getAllSocialGroupTypesWithHttpInfo(opts).then(function (response_and_data) {
568
+ return response_and_data.data;
569
+ });
570
+ }
571
+
572
+ /**
573
+ * Get all child social group types of a parent
574
+ * @param {Number} parentId
575
+ * @param {Object} opts Optional parameters
576
+ * @param {String} [authorization] The authorization token of the logged in user
577
+ * @param {Number} [cacheduration] The how long the cache entry should persist
578
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
579
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
580
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
581
+ * @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)
582
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
583
+ * @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
584
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
585
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
586
+ * @param {Number} [pagenum]
587
+ * @param {Number} [pagesize]
588
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SocialGroupType>} and HTTP response
589
+ */
590
+ }, {
591
+ key: "getChildSocialGroupTypesWithHttpInfo",
592
+ value: function getChildSocialGroupTypesWithHttpInfo(parentId, opts) {
593
+ opts = opts || {};
594
+ var postBody = null;
595
+ // verify the required parameter 'parentId' is set
596
+ if (parentId === undefined || parentId === null) {
597
+ throw new Error("Missing the required parameter 'parentId' when calling getChildSocialGroupTypes");
598
+ }
599
+ var pathParams = {
600
+ 'parentId': parentId
601
+ };
602
+ var queryParams = {
603
+ 'pagenum': opts['pagenum'],
604
+ 'pagesize': opts['pagesize']
605
+ };
606
+ var headerParams = {
607
+ 'Authorization': opts['authorization'],
608
+ 'cacheduration': opts['cacheduration'],
609
+ 'cachegroup': opts['cachegroup'],
610
+ 'cachekey': opts['cachekey'],
611
+ 'cachescope': opts['cachescope'],
612
+ 'cacheuser': opts['cacheuser'],
613
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
614
+ 'zeusportal-postas': opts['zeusportalPostas'],
615
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
616
+ 'transactionid': opts['transactionid']
617
+ };
618
+ var formParams = {};
619
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
620
+ var contentTypes = [];
621
+ var accepts = ['application/json'];
622
+ var returnType = [_SocialGroupType["default"]];
623
+ return this.apiClient.callApi('/graph/data/groups/types/{parentId}/children', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
624
+ }
625
+
626
+ /**
627
+ * Get all child social group types of a parent
628
+ * @param {Number} parentId
629
+ * @param {Object} opts Optional parameters
630
+ * @param {String} opts.authorization The authorization token of the logged in user
631
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
632
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
633
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
634
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
635
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
636
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
637
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
638
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
639
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
640
+ * @param {Number} opts.pagenum
641
+ * @param {Number} opts.pagesize
642
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SocialGroupType>}
643
+ */
644
+ }, {
645
+ key: "getChildSocialGroupTypes",
646
+ value: function getChildSocialGroupTypes(parentId, opts) {
647
+ return this.getChildSocialGroupTypesWithHttpInfo(parentId, opts).then(function (response_and_data) {
648
+ return response_and_data.data;
649
+ });
650
+ }
651
+
652
+ /**
653
+ * Returns the admins in the group
654
+ * Returns the admins in the group
655
+ * @param {Number} groupid
656
+ * @param {Object} opts Optional parameters
657
+ * @param {String} [authorization] The authorization token of the logged in user
658
+ * @param {Number} [cacheduration] The how long the cache entry should persist
659
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
660
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
661
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
662
+ * @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)
663
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
664
+ * @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
665
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
666
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
667
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/User>} and HTTP response
668
+ */
669
+ }, {
670
+ key: "getGroupAdministratorsWithHttpInfo",
671
+ value: function getGroupAdministratorsWithHttpInfo(groupid, opts) {
672
+ opts = opts || {};
673
+ var postBody = null;
674
+ // verify the required parameter 'groupid' is set
675
+ if (groupid === undefined || groupid === null) {
676
+ throw new Error("Missing the required parameter 'groupid' when calling getGroupAdministrators");
677
+ }
678
+ var pathParams = {
679
+ 'groupid': groupid
680
+ };
681
+ var queryParams = {};
682
+ var headerParams = {
683
+ 'Authorization': opts['authorization'],
684
+ 'cacheduration': opts['cacheduration'],
685
+ 'cachegroup': opts['cachegroup'],
686
+ 'cachekey': opts['cachekey'],
687
+ 'cachescope': opts['cachescope'],
688
+ 'cacheuser': opts['cacheuser'],
689
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
690
+ 'zeusportal-postas': opts['zeusportalPostas'],
691
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
692
+ 'transactionid': opts['transactionid']
693
+ };
694
+ var formParams = {};
695
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
696
+ var contentTypes = [];
697
+ var accepts = ['*/*'];
698
+ var returnType = [_User["default"]];
699
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/administrators', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
700
+ }
701
+
702
+ /**
703
+ * Returns the admins in the group
704
+ * Returns the admins in the group
705
+ * @param {Number} groupid
706
+ * @param {Object} opts Optional parameters
707
+ * @param {String} opts.authorization The authorization token of the logged in user
708
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
709
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
710
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
711
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
712
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
713
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
714
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
715
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
716
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
717
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/User>}
718
+ */
719
+ }, {
720
+ key: "getGroupAdministrators",
721
+ value: function getGroupAdministrators(groupid, opts) {
722
+ return this.getGroupAdministratorsWithHttpInfo(groupid, opts).then(function (response_and_data) {
723
+ return response_and_data.data;
724
+ });
725
+ }
726
+
727
+ /**
728
+ * Get Group By Id
729
+ * Returns the group with the given id
730
+ * @param {Number} id
731
+ * @param {Object} opts Optional parameters
732
+ * @param {String} [authorization] The authorization token of the logged in user
733
+ * @param {Number} [cacheduration] The how long the cache entry should persist
734
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
735
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
736
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
737
+ * @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)
738
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
739
+ * @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
740
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
741
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
742
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SocialGroupResponse} and HTTP response
743
+ */
744
+ }, {
745
+ key: "getGroupByIdWithHttpInfo",
746
+ value: function getGroupByIdWithHttpInfo(id, opts) {
747
+ opts = opts || {};
748
+ var postBody = null;
749
+ // verify the required parameter 'id' is set
750
+ if (id === undefined || id === null) {
751
+ throw new Error("Missing the required parameter 'id' when calling getGroupById");
752
+ }
753
+ var pathParams = {
754
+ 'id': id
755
+ };
756
+ var queryParams = {};
757
+ var headerParams = {
758
+ 'Authorization': opts['authorization'],
759
+ 'cacheduration': opts['cacheduration'],
760
+ 'cachegroup': opts['cachegroup'],
761
+ 'cachekey': opts['cachekey'],
762
+ 'cachescope': opts['cachescope'],
763
+ 'cacheuser': opts['cacheuser'],
764
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
765
+ 'zeusportal-postas': opts['zeusportalPostas'],
766
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
767
+ 'transactionid': opts['transactionid']
768
+ };
769
+ var formParams = {};
770
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
771
+ var contentTypes = [];
772
+ var accepts = ['application/json'];
773
+ var returnType = _SocialGroupResponse["default"];
774
+ return this.apiClient.callApi('/graph/data/groups/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
775
+ }
776
+
777
+ /**
778
+ * Get Group By Id
779
+ * Returns the group with the given id
780
+ * @param {Number} id
781
+ * @param {Object} opts Optional parameters
782
+ * @param {String} opts.authorization The authorization token of the logged in user
783
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
784
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
785
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
786
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
787
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
788
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
789
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
790
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
791
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
792
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SocialGroupResponse}
793
+ */
794
+ }, {
795
+ key: "getGroupById",
796
+ value: function getGroupById(id, opts) {
797
+ return this.getGroupByIdWithHttpInfo(id, opts).then(function (response_and_data) {
798
+ return response_and_data.data;
799
+ });
800
+ }
801
+
802
+ /**
803
+ * Returns the users in the group
804
+ * Returns the users in the group
805
+ * @param {Number} groupid
806
+ * @param {Object} opts Optional parameters
807
+ * @param {String} [authorization] The authorization token of the logged in user
808
+ * @param {Number} [cacheduration] The how long the cache entry should persist
809
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
810
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
811
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
812
+ * @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)
813
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
814
+ * @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
815
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
816
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
817
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/User>} and HTTP response
818
+ */
819
+ }, {
820
+ key: "getGroupMembersWithHttpInfo",
821
+ value: function getGroupMembersWithHttpInfo(groupid, opts) {
822
+ opts = opts || {};
823
+ var postBody = null;
824
+ // verify the required parameter 'groupid' is set
825
+ if (groupid === undefined || groupid === null) {
826
+ throw new Error("Missing the required parameter 'groupid' when calling getGroupMembers");
827
+ }
828
+ var pathParams = {
829
+ 'groupid': groupid
830
+ };
831
+ var queryParams = {};
832
+ var headerParams = {
833
+ 'Authorization': opts['authorization'],
834
+ 'cacheduration': opts['cacheduration'],
835
+ 'cachegroup': opts['cachegroup'],
836
+ 'cachekey': opts['cachekey'],
837
+ 'cachescope': opts['cachescope'],
838
+ 'cacheuser': opts['cacheuser'],
839
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
840
+ 'zeusportal-postas': opts['zeusportalPostas'],
841
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
842
+ 'transactionid': opts['transactionid']
843
+ };
844
+ var formParams = {};
845
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
846
+ var contentTypes = [];
847
+ var accepts = ['*/*'];
848
+ var returnType = [_User["default"]];
849
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
850
+ }
851
+
852
+ /**
853
+ * Returns the users in the group
854
+ * Returns the users in the group
855
+ * @param {Number} groupid
856
+ * @param {Object} opts Optional parameters
857
+ * @param {String} opts.authorization The authorization token of the logged in user
858
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
859
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
860
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
861
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
862
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
863
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
864
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
865
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
866
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
867
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/User>}
868
+ */
869
+ }, {
870
+ key: "getGroupMembers",
871
+ value: function getGroupMembers(groupid, opts) {
872
+ return this.getGroupMembersWithHttpInfo(groupid, opts).then(function (response_and_data) {
873
+ return response_and_data.data;
874
+ });
875
+ }
876
+
877
+ /**
878
+ * Get a social group type by id
879
+ * @param {Number} socialGroupTypeId
880
+ * @param {Object} opts Optional parameters
881
+ * @param {String} [authorization] The authorization token of the logged in user
882
+ * @param {Number} [cacheduration] The how long the cache entry should persist
883
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
884
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
885
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
886
+ * @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)
887
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
888
+ * @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
889
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
890
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
891
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SocialGroupType} and HTTP response
892
+ */
893
+ }, {
894
+ key: "getSocialGroupTypeByIdWithHttpInfo",
895
+ value: function getSocialGroupTypeByIdWithHttpInfo(socialGroupTypeId, opts) {
896
+ opts = opts || {};
897
+ var postBody = null;
898
+ // verify the required parameter 'socialGroupTypeId' is set
899
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
900
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling getSocialGroupTypeById");
901
+ }
902
+ var pathParams = {
903
+ 'socialGroupTypeId': socialGroupTypeId
904
+ };
905
+ var queryParams = {};
906
+ var headerParams = {
907
+ 'Authorization': opts['authorization'],
908
+ 'cacheduration': opts['cacheduration'],
909
+ 'cachegroup': opts['cachegroup'],
910
+ 'cachekey': opts['cachekey'],
911
+ 'cachescope': opts['cachescope'],
912
+ 'cacheuser': opts['cacheuser'],
913
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
914
+ 'zeusportal-postas': opts['zeusportalPostas'],
915
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
916
+ 'transactionid': opts['transactionid']
917
+ };
918
+ var formParams = {};
919
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
920
+ var contentTypes = [];
921
+ var accepts = ['application/json'];
922
+ var returnType = _SocialGroupType["default"];
923
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
924
+ }
925
+
926
+ /**
927
+ * Get a social group type by id
928
+ * @param {Number} socialGroupTypeId
929
+ * @param {Object} opts Optional parameters
930
+ * @param {String} opts.authorization The authorization token of the logged in user
931
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
932
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
933
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
934
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
935
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
936
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
937
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
938
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
939
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
940
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SocialGroupType}
941
+ */
942
+ }, {
943
+ key: "getSocialGroupTypeById",
944
+ value: function getSocialGroupTypeById(socialGroupTypeId, opts) {
945
+ return this.getSocialGroupTypeByIdWithHttpInfo(socialGroupTypeId, opts).then(function (response_and_data) {
946
+ return response_and_data.data;
947
+ });
948
+ }
949
+
950
+ /**
951
+ * Check if a social group type exists
952
+ * @param {Number} socialGroupTypeId
953
+ * @param {Object} opts Optional parameters
954
+ * @param {String} [authorization] The authorization token of the logged in user
955
+ * @param {Number} [cacheduration] The how long the cache entry should persist
956
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
957
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
958
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
959
+ * @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)
960
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
961
+ * @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
962
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
963
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
964
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
965
+ */
966
+ }, {
967
+ key: "isSocialGroupTypeExistsWithHttpInfo",
968
+ value: function isSocialGroupTypeExistsWithHttpInfo(socialGroupTypeId, opts) {
969
+ opts = opts || {};
970
+ var postBody = null;
971
+ // verify the required parameter 'socialGroupTypeId' is set
972
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
973
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling isSocialGroupTypeExists");
974
+ }
975
+ var pathParams = {
976
+ 'socialGroupTypeId': socialGroupTypeId
977
+ };
978
+ var queryParams = {};
979
+ var headerParams = {
980
+ 'Authorization': opts['authorization'],
981
+ 'cacheduration': opts['cacheduration'],
982
+ 'cachegroup': opts['cachegroup'],
983
+ 'cachekey': opts['cachekey'],
984
+ 'cachescope': opts['cachescope'],
985
+ 'cacheuser': opts['cacheuser'],
986
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
987
+ 'zeusportal-postas': opts['zeusportalPostas'],
988
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
989
+ 'transactionid': opts['transactionid']
990
+ };
991
+ var formParams = {};
992
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
993
+ var contentTypes = [];
994
+ var accepts = ['application/json'];
995
+ var returnType = 'Boolean';
996
+ return this.apiClient.callApi('/graph/data/groups/types/exists/{socialGroupTypeId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
997
+ }
998
+
999
+ /**
1000
+ * Check if a social group type exists
1001
+ * @param {Number} socialGroupTypeId
1002
+ * @param {Object} opts Optional parameters
1003
+ * @param {String} opts.authorization The authorization token of the logged in user
1004
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1005
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1006
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1007
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1008
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1009
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1010
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1011
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1012
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1013
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Boolean}
1014
+ */
1015
+ }, {
1016
+ key: "isSocialGroupTypeExists",
1017
+ value: function isSocialGroupTypeExists(socialGroupTypeId, opts) {
1018
+ return this.isSocialGroupTypeExistsWithHttpInfo(socialGroupTypeId, opts).then(function (response_and_data) {
1019
+ return response_and_data.data;
1020
+ });
1021
+ }
1022
+
1023
+ /**
1024
+ * Adds the currently logged in user to the group
1025
+ * Adds the currently logged in user to the group
1026
+ * @param {Number} groupid
1027
+ * @param {Object} opts Optional parameters
1028
+ * @param {String} [authorization] The authorization token of the logged in user
1029
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1030
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1031
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1032
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1033
+ * @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)
1034
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1035
+ * @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
1036
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1037
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1038
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1039
+ */
1040
+ }, {
1041
+ key: "joinGroupWithHttpInfo",
1042
+ value: function joinGroupWithHttpInfo(groupid, opts) {
1043
+ opts = opts || {};
1044
+ var postBody = null;
1045
+ // verify the required parameter 'groupid' is set
1046
+ if (groupid === undefined || groupid === null) {
1047
+ throw new Error("Missing the required parameter 'groupid' when calling joinGroup");
1048
+ }
1049
+ var pathParams = {
1050
+ 'groupid': groupid
1051
+ };
1052
+ var queryParams = {};
1053
+ var headerParams = {
1054
+ 'Authorization': opts['authorization'],
1055
+ 'cacheduration': opts['cacheduration'],
1056
+ 'cachegroup': opts['cachegroup'],
1057
+ 'cachekey': opts['cachekey'],
1058
+ 'cachescope': opts['cachescope'],
1059
+ 'cacheuser': opts['cacheuser'],
1060
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1061
+ 'zeusportal-postas': opts['zeusportalPostas'],
1062
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1063
+ 'transactionid': opts['transactionid']
1064
+ };
1065
+ var formParams = {};
1066
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1067
+ var contentTypes = [];
1068
+ var accepts = ['*/*'];
1069
+ var returnType = null;
1070
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/join', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1071
+ }
1072
+
1073
+ /**
1074
+ * Adds the currently logged in user to the group
1075
+ * Adds the currently logged in user to the group
1076
+ * @param {Number} groupid
1077
+ * @param {Object} opts Optional parameters
1078
+ * @param {String} opts.authorization The authorization token of the logged in user
1079
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1080
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1081
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1082
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1083
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1084
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1085
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1086
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1087
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1088
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1089
+ */
1090
+ }, {
1091
+ key: "joinGroup",
1092
+ value: function joinGroup(groupid, opts) {
1093
+ return this.joinGroupWithHttpInfo(groupid, opts).then(function (response_and_data) {
1094
+ return response_and_data.data;
1095
+ });
1096
+ }
1097
+
1098
+ /**
1099
+ * Remove the user from the group
1100
+ * Returns the users in the group
1101
+ * @param {Number} groupid
1102
+ * @param {Number} uid
1103
+ * @param {Object} opts Optional parameters
1104
+ * @param {String} [authorization] The authorization token of the logged in user
1105
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1106
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1107
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1108
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1109
+ * @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)
1110
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1111
+ * @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
1112
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1113
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1114
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1115
+ */
1116
+ }, {
1117
+ key: "removeGroupMemberWithHttpInfo",
1118
+ value: function removeGroupMemberWithHttpInfo(groupid, uid, opts) {
1119
+ opts = opts || {};
1120
+ var postBody = null;
1121
+ // verify the required parameter 'groupid' is set
1122
+ if (groupid === undefined || groupid === null) {
1123
+ throw new Error("Missing the required parameter 'groupid' when calling removeGroupMember");
1124
+ }
1125
+ // verify the required parameter 'uid' is set
1126
+ if (uid === undefined || uid === null) {
1127
+ throw new Error("Missing the required parameter 'uid' when calling removeGroupMember");
1128
+ }
1129
+ var pathParams = {
1130
+ 'groupid': groupid,
1131
+ 'uid': uid
1132
+ };
1133
+ var queryParams = {};
1134
+ var headerParams = {
1135
+ 'Authorization': opts['authorization'],
1136
+ 'cacheduration': opts['cacheduration'],
1137
+ 'cachegroup': opts['cachegroup'],
1138
+ 'cachekey': opts['cachekey'],
1139
+ 'cachescope': opts['cachescope'],
1140
+ 'cacheuser': opts['cacheuser'],
1141
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1142
+ 'zeusportal-postas': opts['zeusportalPostas'],
1143
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1144
+ 'transactionid': opts['transactionid']
1145
+ };
1146
+ var formParams = {};
1147
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1148
+ var contentTypes = [];
1149
+ var accepts = ['*/*'];
1150
+ var returnType = null;
1151
+ return this.apiClient.callApi('/graph/data/groups/{groupid}/members/{uid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1152
+ }
1153
+
1154
+ /**
1155
+ * Remove the user from the group
1156
+ * Returns the users in the group
1157
+ * @param {Number} groupid
1158
+ * @param {Number} uid
1159
+ * @param {Object} opts Optional parameters
1160
+ * @param {String} opts.authorization The authorization token of the logged in user
1161
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1162
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1163
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1164
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1165
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1166
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1167
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1168
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1169
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1170
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1171
+ */
1172
+ }, {
1173
+ key: "removeGroupMember",
1174
+ value: function removeGroupMember(groupid, uid, opts) {
1175
+ return this.removeGroupMemberWithHttpInfo(groupid, uid, opts).then(function (response_and_data) {
1176
+ return response_and_data.data;
1177
+ });
1178
+ }
1179
+
1180
+ /**
1181
+ * Search social group types by name
1182
+ * @param {Object} opts Optional parameters
1183
+ * @param {String} [authorization] The authorization token of the logged in user
1184
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1185
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1186
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1187
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1188
+ * @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)
1189
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1190
+ * @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
1191
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1192
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1193
+ * @param {String} [name]
1194
+ * @param {Number} [pagenum]
1195
+ * @param {Number} [pagesize]
1196
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SocialGroupType>} and HTTP response
1197
+ */
1198
+ }, {
1199
+ key: "searchSocialGroupTypesWithHttpInfo",
1200
+ value: function searchSocialGroupTypesWithHttpInfo(opts) {
1201
+ opts = opts || {};
1202
+ var postBody = null;
1203
+ var pathParams = {};
1204
+ var queryParams = {
1205
+ 'name': opts['name'],
1206
+ 'pagenum': opts['pagenum'],
1207
+ 'pagesize': opts['pagesize']
1208
+ };
1209
+ var headerParams = {
1210
+ 'Authorization': opts['authorization'],
1211
+ 'cacheduration': opts['cacheduration'],
1212
+ 'cachegroup': opts['cachegroup'],
1213
+ 'cachekey': opts['cachekey'],
1214
+ 'cachescope': opts['cachescope'],
1215
+ 'cacheuser': opts['cacheuser'],
1216
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1217
+ 'zeusportal-postas': opts['zeusportalPostas'],
1218
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1219
+ 'transactionid': opts['transactionid']
1220
+ };
1221
+ var formParams = {};
1222
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1223
+ var contentTypes = [];
1224
+ var accepts = ['application/json'];
1225
+ var returnType = [_SocialGroupType["default"]];
1226
+ return this.apiClient.callApi('/graph/data/groups/types/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1227
+ }
1228
+
1229
+ /**
1230
+ * Search social group types by name
1231
+ * @param {Object} opts Optional parameters
1232
+ * @param {String} opts.authorization The authorization token of the logged in user
1233
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1234
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1235
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1236
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1237
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1238
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1239
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1240
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1241
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1242
+ * @param {String} opts.name
1243
+ * @param {Number} opts.pagenum
1244
+ * @param {Number} opts.pagesize
1245
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SocialGroupType>}
1246
+ */
1247
+ }, {
1248
+ key: "searchSocialGroupTypes",
1249
+ value: function searchSocialGroupTypes(opts) {
1250
+ return this.searchSocialGroupTypesWithHttpInfo(opts).then(function (response_and_data) {
1251
+ return response_and_data.data;
1252
+ });
1253
+ }
1254
+
1255
+ /**
1256
+ * Set Multiple Properties
1257
+ * Set multiple properties attaced to an object / record
1258
+ * @param {Number} id
1259
+ * @param {Object} opts Optional parameters
1260
+ * @param {String} [authorization] The authorization token of the logged in user
1261
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1262
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1263
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1264
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1265
+ * @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)
1266
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1267
+ * @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
1268
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1269
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1270
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
1271
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1272
+ */
1273
+ }, {
1274
+ key: "setGroupPropertiesWithHttpInfo",
1275
+ value: function setGroupPropertiesWithHttpInfo(id, opts) {
1276
+ opts = opts || {};
1277
+ var postBody = opts['requestBody'];
1278
+ // verify the required parameter 'id' is set
1279
+ if (id === undefined || id === null) {
1280
+ throw new Error("Missing the required parameter 'id' when calling setGroupProperties");
1281
+ }
1282
+ var pathParams = {
1283
+ 'id': id
1284
+ };
1285
+ var queryParams = {};
1286
+ var headerParams = {
1287
+ 'Authorization': opts['authorization'],
1288
+ 'cacheduration': opts['cacheduration'],
1289
+ 'cachegroup': opts['cachegroup'],
1290
+ 'cachekey': opts['cachekey'],
1291
+ 'cachescope': opts['cachescope'],
1292
+ 'cacheuser': opts['cacheuser'],
1293
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1294
+ 'zeusportal-postas': opts['zeusportalPostas'],
1295
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1296
+ 'transactionid': opts['transactionid']
1297
+ };
1298
+ var formParams = {};
1299
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1300
+ var contentTypes = ['application/json'];
1301
+ var accepts = ['*/*'];
1302
+ var returnType = null;
1303
+ return this.apiClient.callApi('/graph/data/groups/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1304
+ }
1305
+
1306
+ /**
1307
+ * Set Multiple Properties
1308
+ * Set multiple properties attaced to an object / record
1309
+ * @param {Number} id
1310
+ * @param {Object} opts Optional parameters
1311
+ * @param {String} opts.authorization The authorization token of the logged in user
1312
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1313
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1314
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1315
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1316
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1317
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1318
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1319
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1320
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1321
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
1322
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1323
+ */
1324
+ }, {
1325
+ key: "setGroupProperties",
1326
+ value: function setGroupProperties(id, opts) {
1327
+ return this.setGroupPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
1328
+ return response_and_data.data;
1329
+ });
1330
+ }
1331
+
1332
+ /**
1333
+ * Update Property
1334
+ * Update a specific property
1335
+ * @param {Number} id
1336
+ * @param {String} prop
1337
+ * @param {Object} opts Optional parameters
1338
+ * @param {String} [authorization] The authorization token of the logged in user
1339
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1340
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1341
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1342
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1343
+ * @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)
1344
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1345
+ * @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
1346
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1347
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1348
+ * @param {String} [body]
1349
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1350
+ */
1351
+ }, {
1352
+ key: "setGroupPropertyWithHttpInfo",
1353
+ value: function setGroupPropertyWithHttpInfo(id, prop, opts) {
1354
+ opts = opts || {};
1355
+ var postBody = opts['body'];
1356
+ // verify the required parameter 'id' is set
1357
+ if (id === undefined || id === null) {
1358
+ throw new Error("Missing the required parameter 'id' when calling setGroupProperty");
1359
+ }
1360
+ // verify the required parameter 'prop' is set
1361
+ if (prop === undefined || prop === null) {
1362
+ throw new Error("Missing the required parameter 'prop' when calling setGroupProperty");
1363
+ }
1364
+ var pathParams = {
1365
+ 'id': id,
1366
+ 'prop': prop
1367
+ };
1368
+ var queryParams = {};
1369
+ var headerParams = {
1370
+ 'Authorization': opts['authorization'],
1371
+ 'cacheduration': opts['cacheduration'],
1372
+ 'cachegroup': opts['cachegroup'],
1373
+ 'cachekey': opts['cachekey'],
1374
+ 'cachescope': opts['cachescope'],
1375
+ 'cacheuser': opts['cacheuser'],
1376
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1377
+ 'zeusportal-postas': opts['zeusportalPostas'],
1378
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1379
+ 'transactionid': opts['transactionid']
1380
+ };
1381
+ var formParams = {};
1382
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1383
+ var contentTypes = ['application/json'];
1384
+ var accepts = ['*/*'];
1385
+ var returnType = null;
1386
+ return this.apiClient.callApi('/graph/data/groups/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1387
+ }
1388
+
1389
+ /**
1390
+ * Update Property
1391
+ * Update a specific property
1392
+ * @param {Number} id
1393
+ * @param {String} prop
1394
+ * @param {Object} opts Optional parameters
1395
+ * @param {String} opts.authorization The authorization token of the logged in user
1396
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1397
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1398
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1399
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1400
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1401
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1402
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1403
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1404
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1405
+ * @param {String} opts.body
1406
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1407
+ */
1408
+ }, {
1409
+ key: "setGroupProperty",
1410
+ value: function setGroupProperty(id, prop, opts) {
1411
+ return this.setGroupPropertyWithHttpInfo(id, prop, opts).then(function (response_and_data) {
1412
+ return response_and_data.data;
1413
+ });
1414
+ }
1415
+
1416
+ /**
1417
+ * Update a social group type
1418
+ * @param {Number} socialGroupTypeId
1419
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
1420
+ * @param {Object} opts Optional parameters
1421
+ * @param {String} [authorization] The authorization token of the logged in user
1422
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1423
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1424
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1425
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1426
+ * @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)
1427
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1428
+ * @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
1429
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1430
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1431
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SocialGroupType} and HTTP response
1432
+ */
1433
+ }, {
1434
+ key: "updateSocialGroupTypeWithHttpInfo",
1435
+ value: function updateSocialGroupTypeWithHttpInfo(socialGroupTypeId, socialGroupTypeInput, opts) {
1436
+ opts = opts || {};
1437
+ var postBody = socialGroupTypeInput;
1438
+ // verify the required parameter 'socialGroupTypeId' is set
1439
+ if (socialGroupTypeId === undefined || socialGroupTypeId === null) {
1440
+ throw new Error("Missing the required parameter 'socialGroupTypeId' when calling updateSocialGroupType");
1441
+ }
1442
+ // verify the required parameter 'socialGroupTypeInput' is set
1443
+ if (socialGroupTypeInput === undefined || socialGroupTypeInput === null) {
1444
+ throw new Error("Missing the required parameter 'socialGroupTypeInput' when calling updateSocialGroupType");
1445
+ }
1446
+ var pathParams = {
1447
+ 'socialGroupTypeId': socialGroupTypeId
1448
+ };
1449
+ var queryParams = {};
1450
+ var headerParams = {
1451
+ 'Authorization': opts['authorization'],
1452
+ 'cacheduration': opts['cacheduration'],
1453
+ 'cachegroup': opts['cachegroup'],
1454
+ 'cachekey': opts['cachekey'],
1455
+ 'cachescope': opts['cachescope'],
1456
+ 'cacheuser': opts['cacheuser'],
1457
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1458
+ 'zeusportal-postas': opts['zeusportalPostas'],
1459
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1460
+ 'transactionid': opts['transactionid']
1461
+ };
1462
+ var formParams = {};
1463
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1464
+ var contentTypes = [];
1465
+ var accepts = ['application/json'];
1466
+ var returnType = _SocialGroupType["default"];
1467
+ return this.apiClient.callApi('/graph/data/groups/types/{socialGroupTypeId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1468
+ }
1469
+
1470
+ /**
1471
+ * Update a social group type
1472
+ * @param {Number} socialGroupTypeId
1473
+ * @param {module:model/SocialGroupTypeInput} socialGroupTypeInput
1474
+ * @param {Object} opts Optional parameters
1475
+ * @param {String} opts.authorization The authorization token of the logged in user
1476
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1477
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1478
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1479
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1480
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1481
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1482
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1483
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1484
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1485
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SocialGroupType}
1486
+ */
1487
+ }, {
1488
+ key: "updateSocialGroupType",
1489
+ value: function updateSocialGroupType(socialGroupTypeId, socialGroupTypeInput, opts) {
1490
+ return this.updateSocialGroupTypeWithHttpInfo(socialGroupTypeId, socialGroupTypeInput, opts).then(function (response_and_data) {
1491
+ return response_and_data.data;
1492
+ });
1493
+ }
1494
+ }]);
1495
+ return SocialGroupsApi;
1496
+ }();