@gobodo/gobodo-api 0.1.96 → 0.1.99

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 (596) hide show
  1. package/README.md +582 -685
  2. package/dist/ApiClient.d.ts +1 -1
  3. package/dist/ApiClient.js +7 -3
  4. package/dist/api/ActionTypesApi.d.ts +2 -1
  5. package/dist/api/ActionTypesApi.js +6 -3
  6. package/dist/api/AdCampaignsApi.d.ts +30 -47
  7. package/dist/api/AdCampaignsApi.js +107 -145
  8. package/dist/api/AdManagementApi.d.ts +53 -41
  9. package/dist/api/AdManagementApi.js +186 -156
  10. package/dist/api/AdminDataManagementApi.d.ts +4 -3
  11. package/dist/api/AdminDataManagementApi.js +17 -15
  12. package/dist/api/AdsApi.d.ts +24 -43
  13. package/dist/api/AdsApi.js +80 -124
  14. package/dist/api/AttachmentsApi.d.ts +14 -58
  15. package/dist/api/AttachmentsApi.js +64 -166
  16. package/dist/api/AuthenticationApi.d.ts +1 -1
  17. package/dist/api/AuthenticationApi.js +12 -12
  18. package/dist/api/CategoriesApi.d.ts +17 -10
  19. package/dist/api/CategoriesApi.js +88 -65
  20. package/dist/api/CommentsApi.d.ts +11 -53
  21. package/dist/api/CommentsApi.js +64 -159
  22. package/dist/api/ContentManagementApi.d.ts +44 -16
  23. package/dist/api/ContentManagementApi.js +306 -222
  24. package/dist/api/ConversationsApi.d.ts +13 -29
  25. package/dist/api/ConversationsApi.js +87 -119
  26. package/dist/api/CurrencyApi.d.ts +8 -1
  27. package/dist/api/CurrencyApi.js +71 -50
  28. package/dist/api/DataSheetImportsApi.d.ts +23 -11
  29. package/dist/api/DataSheetImportsApi.js +167 -127
  30. package/dist/api/DefaultApi.d.ts +18 -13
  31. package/dist/api/DefaultApi.js +73 -58
  32. package/dist/api/DocumentPartTypesApi.d.ts +3 -1
  33. package/dist/api/DocumentPartTypesApi.js +23 -16
  34. package/dist/api/DocumentTypesApi.d.ts +3 -1
  35. package/dist/api/DocumentTypesApi.js +23 -16
  36. package/dist/api/DocumentsApi.d.ts +20 -32
  37. package/dist/api/DocumentsApi.js +131 -153
  38. package/dist/api/EmailsApi.d.ts +5 -1
  39. package/dist/api/EmailsApi.js +43 -30
  40. package/dist/api/EntryPartsApi.d.ts +21 -33
  41. package/dist/api/EntryPartsApi.js +132 -152
  42. package/dist/api/FacebookApi.d.ts +1 -1
  43. package/dist/api/FacebookApi.js +3 -3
  44. package/dist/api/FieldsApi.d.ts +4 -1
  45. package/dist/api/FieldsApi.js +33 -23
  46. package/dist/api/FilesApi.d.ts +5 -5
  47. package/dist/api/FilesApi.js +13 -12
  48. package/dist/api/FormsApi.d.ts +52 -34
  49. package/dist/api/FormsApi.js +233 -182
  50. package/dist/api/FunctionsApi.d.ts +21 -27
  51. package/dist/api/FunctionsApi.js +196 -203
  52. package/dist/api/GeocodeApi.d.ts +30 -70
  53. package/dist/api/GeocodeApi.js +72 -176
  54. package/dist/api/GobodoManagementApi.d.ts +6 -1
  55. package/dist/api/GobodoManagementApi.js +53 -37
  56. package/dist/api/GoogleApi.d.ts +1 -1
  57. package/dist/api/GoogleApi.js +3 -3
  58. package/dist/api/GraphActionTypesApi.d.ts +68 -78
  59. package/dist/api/GraphActionTypesApi.js +190 -218
  60. package/dist/api/GraphActionsApi.d.ts +16 -220
  61. package/dist/api/GraphActionsApi.js +50 -537
  62. package/dist/api/GraphObjectTypesApi.d.ts +38 -148
  63. package/dist/api/GraphObjectTypesApi.js +140 -392
  64. package/dist/api/GraphObjectsApi.d.ts +131 -1177
  65. package/dist/api/GraphObjectsApi.js +525 -3035
  66. package/dist/api/GraphRelationshipTypesApi.d.ts +51 -371
  67. package/dist/api/GraphRelationshipTypesApi.js +181 -934
  68. package/dist/api/GraphRelationshipsApi.d.ts +43 -675
  69. package/dist/api/GraphRelationshipsApi.js +132 -1603
  70. package/dist/api/GraphSchemasApi.d.ts +9 -229
  71. package/dist/api/GraphSchemasApi.js +86 -610
  72. package/dist/api/GraphTraversalApi.d.ts +12 -5
  73. package/dist/api/GraphTraversalApi.js +80 -58
  74. package/dist/api/GraphsApi.d.ts +102 -87
  75. package/dist/api/GraphsApi.js +277 -236
  76. package/dist/api/IAMApi.d.ts +21 -17
  77. package/dist/api/IAMApi.js +69 -57
  78. package/dist/api/ImagesApi.d.ts +17 -88
  79. package/dist/api/ImagesApi.js +73 -240
  80. package/dist/api/InvitesApi.d.ts +6 -1
  81. package/dist/api/InvitesApi.js +53 -37
  82. package/dist/api/LikesApi.d.ts +42 -29
  83. package/dist/api/LikesApi.js +179 -143
  84. package/dist/api/LinkedINApi.d.ts +1 -1
  85. package/dist/api/LinkedINApi.js +3 -3
  86. package/dist/api/LiveMeetingsApi.d.ts +5 -3
  87. package/dist/api/LiveMeetingsApi.js +27 -22
  88. package/dist/api/MeetingEventsApi.d.ts +20 -131
  89. package/dist/api/MeetingEventsApi.js +175 -431
  90. package/dist/api/NotificationsApi.d.ts +15 -1
  91. package/dist/api/NotificationsApi.js +137 -97
  92. package/dist/api/PagesApi.d.ts +15 -31
  93. package/dist/api/PagesApi.js +94 -126
  94. package/dist/api/PasswordResetApi.d.ts +78 -0
  95. package/dist/api/PasswordResetApi.js +189 -0
  96. package/dist/api/PhoneNumbersApi.d.ts +6 -1
  97. package/dist/api/PhoneNumbersApi.js +53 -37
  98. package/dist/api/PostsApi.d.ts +9 -29
  99. package/dist/api/PostsApi.js +47 -91
  100. package/dist/api/PrivateMessagesApi.d.ts +24 -33
  101. package/dist/api/PrivateMessagesApi.js +160 -171
  102. package/dist/api/PublicationsApi.d.ts +10 -25
  103. package/dist/api/PublicationsApi.js +83 -116
  104. package/dist/api/RestApplicationsApi.d.ts +6 -1
  105. package/dist/api/RestApplicationsApi.js +51 -36
  106. package/dist/api/ScreensApi.d.ts +4 -1
  107. package/dist/api/ScreensApi.js +33 -23
  108. package/dist/api/SitesApi.d.ts +11 -1
  109. package/dist/api/SitesApi.js +99 -70
  110. package/dist/api/SocialGroupsApi.d.ts +25 -6
  111. package/dist/api/SocialGroupsApi.js +193 -139
  112. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  113. package/dist/api/SocialIntegrationApi.js +6 -6
  114. package/dist/api/StripeAccountsApi.d.ts +42 -3
  115. package/dist/api/StripeAccountsApi.js +397 -281
  116. package/dist/api/TagsApi.d.ts +2 -1
  117. package/dist/api/TagsApi.js +6 -3
  118. package/dist/api/TemplatesApi.d.ts +4 -1
  119. package/dist/api/TemplatesApi.js +33 -23
  120. package/dist/api/ThemeMappingsApi.d.ts +8 -5
  121. package/dist/api/ThemeMappingsApi.js +39 -29
  122. package/dist/api/TopicsApi.d.ts +9 -1
  123. package/dist/api/TopicsApi.js +83 -58
  124. package/dist/api/TransactionsApi.d.ts +1 -1
  125. package/dist/api/TransactionsApi.js +5 -5
  126. package/dist/api/TwitterApi.d.ts +1 -1
  127. package/dist/api/TwitterApi.js +3 -3
  128. package/dist/api/UserManagerAdministrationApi.d.ts +96 -0
  129. package/dist/api/UserManagerAdministrationApi.js +234 -0
  130. package/dist/api/UserTagsApi.d.ts +33 -75
  131. package/dist/api/UserTagsApi.js +111 -209
  132. package/dist/api/UsersApi.d.ts +12 -1
  133. package/dist/api/UsersApi.js +111 -78
  134. package/dist/api/UtilsApi.d.ts +1 -1
  135. package/dist/api/UtilsApi.js +3 -3
  136. package/dist/api/VideosApi.d.ts +17 -57
  137. package/dist/api/VideosApi.js +102 -192
  138. package/dist/api/WalletsApi.d.ts +18 -1
  139. package/dist/api/WalletsApi.js +167 -118
  140. package/dist/index.d.ts +33 -17
  141. package/dist/index.js +204 -92
  142. package/dist/model/APIClient.d.ts +2 -2
  143. package/dist/model/APIClient.js +10 -10
  144. package/dist/model/AccountSessionInput.d.ts +1 -1
  145. package/dist/model/AccountSessionInput.js +2 -2
  146. package/dist/model/AccountSessionResponse.d.ts +1 -1
  147. package/dist/model/AccountSessionResponse.js +2 -2
  148. package/dist/model/Address.d.ts +33 -0
  149. package/dist/model/Address.js +137 -0
  150. package/dist/model/AddressResponse.d.ts +46 -0
  151. package/dist/model/AddressResponse.js +168 -0
  152. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  153. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  154. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
  155. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  156. package/dist/model/Article.d.ts +9 -9
  157. package/dist/model/Article.js +66 -66
  158. package/dist/model/AuthResponse.d.ts +1 -1
  159. package/dist/model/AuthResponse.js +2 -2
  160. package/dist/model/AwsSettings.d.ts +1 -1
  161. package/dist/model/AwsSettings.js +2 -2
  162. package/dist/model/Balance.d.ts +4 -4
  163. package/dist/model/Balance.js +45 -45
  164. package/dist/model/BalanceDetails.d.ts +1 -1
  165. package/dist/model/BalanceDetails.js +2 -2
  166. package/dist/model/BalanceResponse.d.ts +1 -1
  167. package/dist/model/BalanceResponse.js +2 -2
  168. package/dist/model/BankAccountInfo.d.ts +1 -1
  169. package/dist/model/BankAccountInfo.js +2 -2
  170. package/dist/model/Base64ImageUpload.d.ts +4 -2
  171. package/dist/model/Base64ImageUpload.js +31 -10
  172. package/dist/model/BlogPostResponse.d.ts +1 -1
  173. package/dist/model/BlogPostResponse.js +2 -2
  174. package/dist/model/CacheInvalidation.d.ts +46 -0
  175. package/dist/model/CacheInvalidation.js +137 -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 +5 -5
  179. package/dist/model/Comment.js +29 -29
  180. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  181. package/dist/model/ConsoleProjectInput.js +2 -2
  182. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  183. package/dist/model/ConsoleProjectResponse.js +2 -2
  184. package/dist/model/Coordinates.d.ts +1 -1
  185. package/dist/model/Coordinates.js +2 -2
  186. package/dist/model/CreateAccountResponse.d.ts +1 -1
  187. package/dist/model/CreateAccountResponse.js +2 -2
  188. package/dist/model/CreateFunctionInput.d.ts +1 -1
  189. package/dist/model/CreateFunctionInput.js +2 -2
  190. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  191. package/dist/model/CreateStripeAccountInput.js +2 -2
  192. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  193. package/dist/model/CreateStripeCustomerInput.js +2 -2
  194. package/dist/model/CreateTopicInput.d.ts +1 -1
  195. package/dist/model/CreateTopicInput.js +2 -2
  196. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  197. package/dist/model/CreateTopicListenerInput.js +2 -2
  198. package/dist/model/Currency.d.ts +1 -1
  199. package/dist/model/Currency.js +2 -2
  200. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  201. package/dist/model/CurrencyGrantInput.js +2 -2
  202. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  203. package/dist/model/CurrencyGrantResponse.js +2 -2
  204. package/dist/model/CurrencyInput.d.ts +1 -1
  205. package/dist/model/CurrencyInput.js +2 -2
  206. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  207. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  208. package/dist/model/CurrencyResponse.d.ts +1 -1
  209. package/dist/model/CurrencyResponse.js +2 -2
  210. package/dist/model/CurrencySettings.d.ts +1 -1
  211. package/dist/model/CurrencySettings.js +2 -2
  212. package/dist/model/CustomerResponse.d.ts +1 -1
  213. package/dist/model/CustomerResponse.js +2 -2
  214. package/dist/model/DataObject.d.ts +1 -1
  215. package/dist/model/DataObject.js +2 -2
  216. package/dist/model/DataSheetImport.d.ts +7 -7
  217. package/dist/model/DataSheetImport.js +63 -63
  218. package/dist/model/DataSheetImportPrivacySettings.d.ts +2 -2
  219. package/dist/model/DataSheetImportPrivacySettings.js +10 -10
  220. package/dist/model/DataSheetImportSummary.d.ts +2 -2
  221. package/dist/model/DataSheetImportSummary.js +14 -14
  222. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  223. package/dist/model/DeviceRegistrationRequest.js +2 -2
  224. package/dist/model/Document.d.ts +10 -10
  225. package/dist/model/Document.js +70 -70
  226. package/dist/model/DocumentPart.d.ts +6 -6
  227. package/dist/model/DocumentPart.js +47 -47
  228. package/dist/model/DocumentPartType.d.ts +4 -4
  229. package/dist/model/DocumentPartType.js +30 -30
  230. package/dist/model/DocumentType.d.ts +7 -7
  231. package/dist/model/DocumentType.js +46 -46
  232. package/dist/model/DomainMappingInput.d.ts +40 -0
  233. package/dist/model/DomainMappingInput.js +122 -0
  234. package/dist/model/DomainMappingResponse.d.ts +40 -0
  235. package/dist/model/DomainMappingResponse.js +122 -0
  236. package/dist/model/EmailAddress.d.ts +1 -1
  237. package/dist/model/EmailAddress.js +2 -2
  238. package/dist/model/FieldMapping.d.ts +1 -1
  239. package/dist/model/FieldMapping.js +2 -2
  240. package/dist/model/Fields.d.ts +3 -3
  241. package/dist/model/Fields.js +16 -16
  242. package/dist/model/File.d.ts +4 -4
  243. package/dist/model/File.js +27 -27
  244. package/dist/model/FileAttachmentUploadObject.d.ts +4 -4
  245. package/dist/model/FileAttachmentUploadObject.js +27 -27
  246. package/dist/model/Filter.d.ts +1 -1
  247. package/dist/model/Filter.js +2 -2
  248. package/dist/model/FilterManager.d.ts +1 -1
  249. package/dist/model/FilterManager.js +2 -2
  250. package/dist/model/Form.d.ts +2 -2
  251. package/dist/model/Form.js +15 -15
  252. package/dist/model/FormSection.d.ts +1 -1
  253. package/dist/model/FormSection.js +2 -2
  254. package/dist/model/FormSubmission.d.ts +2 -2
  255. package/dist/model/FormSubmission.js +13 -13
  256. package/dist/model/FunctionConfigInput.d.ts +1 -1
  257. package/dist/model/FunctionConfigInput.js +2 -2
  258. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  259. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  260. package/dist/model/FunctionInput.d.ts +1 -1
  261. package/dist/model/FunctionInput.js +2 -2
  262. package/dist/model/FunctionOutput.d.ts +1 -1
  263. package/dist/model/FunctionOutput.js +2 -2
  264. package/dist/model/Geocode.d.ts +1 -1
  265. package/dist/model/Geocode.js +2 -2
  266. package/dist/model/GeocodePayload.d.ts +1 -1
  267. package/dist/model/GeocodePayload.js +6 -6
  268. package/dist/model/GeocodeResponse.d.ts +42 -0
  269. package/dist/model/GeocodeResponse.js +140 -0
  270. package/dist/model/GeolocationInput.d.ts +1 -1
  271. package/dist/model/GeolocationInput.js +2 -2
  272. package/dist/model/GetFunctionConfig.d.ts +1 -1
  273. package/dist/model/GetFunctionConfig.js +2 -2
  274. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  275. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  276. package/dist/model/GetFunctionResponse.d.ts +1 -1
  277. package/dist/model/GetFunctionResponse.js +2 -2
  278. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  279. package/dist/model/GoogleCloudSettings.js +2 -2
  280. package/dist/model/Graph.d.ts +6 -6
  281. package/dist/model/Graph.js +37 -37
  282. package/dist/model/GraphAction.d.ts +2 -2
  283. package/dist/model/GraphAction.js +11 -11
  284. package/dist/model/GraphActionPayload.d.ts +1 -1
  285. package/dist/model/GraphActionPayload.js +2 -2
  286. package/dist/model/GraphActionResponse.d.ts +3 -1
  287. package/dist/model/GraphActionResponse.js +26 -2
  288. package/dist/model/GraphActionTypeInput.d.ts +55 -0
  289. package/dist/model/GraphActionTypeInput.js +316 -0
  290. package/dist/model/GraphActionTypeResponse.d.ts +69 -0
  291. package/dist/model/GraphActionTypeResponse.js +407 -0
  292. package/dist/model/GraphDatabaseService.d.ts +2 -2
  293. package/dist/model/GraphDatabaseService.js +10 -10
  294. package/dist/model/GraphGeocode.d.ts +1 -1
  295. package/dist/model/GraphGeocode.js +2 -2
  296. package/dist/model/GraphInput.d.ts +43 -0
  297. package/dist/model/GraphInput.js +152 -0
  298. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  299. package/dist/model/GraphIteratorEntryPart.js +2 -2
  300. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +2 -2
  301. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +9 -9
  302. package/dist/model/GraphObject.d.ts +2 -2
  303. package/dist/model/GraphObject.js +11 -11
  304. package/dist/model/GraphObjectPayload.d.ts +2 -3
  305. package/dist/model/GraphObjectPayload.js +10 -24
  306. package/dist/model/GraphObjectResponse.d.ts +11 -3
  307. package/dist/model/GraphObjectResponse.js +74 -6
  308. package/dist/model/GraphObjectSchema.d.ts +4 -4
  309. package/dist/model/GraphObjectSchema.js +31 -31
  310. package/dist/model/GraphObjectType.d.ts +2 -2
  311. package/dist/model/GraphObjectType.js +11 -11
  312. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  313. package/dist/model/GraphObjectTypeInput.js +2 -2
  314. package/dist/model/GraphObjectTypeResponse.d.ts +9 -7
  315. package/dist/model/GraphObjectTypeResponse.js +59 -28
  316. package/dist/model/GraphObjectTypeSchema.d.ts +2 -2
  317. package/dist/model/GraphObjectTypeSchema.js +11 -11
  318. package/dist/model/GraphOwner.d.ts +1 -1
  319. package/dist/model/GraphOwner.js +2 -2
  320. package/dist/model/GraphRelationship.d.ts +2 -2
  321. package/dist/model/GraphRelationship.js +11 -11
  322. package/dist/model/GraphRelationshipPayload.d.ts +3 -3
  323. package/dist/model/GraphRelationshipPayload.js +22 -24
  324. package/dist/model/GraphRelationshipResponse.d.ts +55 -0
  325. package/dist/model/GraphRelationshipResponse.js +229 -0
  326. package/dist/model/GraphRelationshipType.d.ts +6 -6
  327. package/dist/model/GraphRelationshipType.js +40 -40
  328. package/dist/model/GraphRelationshipTypeInput.d.ts +59 -0
  329. package/dist/model/GraphRelationshipTypeInput.js +367 -0
  330. package/dist/model/GraphRelationshipTypeResponse.d.ts +4 -1
  331. package/dist/model/GraphRelationshipTypeResponse.js +38 -2
  332. package/dist/model/GraphResponse.d.ts +54 -0
  333. package/dist/model/GraphResponse.js +196 -0
  334. package/dist/model/GraphSchema.d.ts +7 -7
  335. package/dist/model/GraphSchema.js +46 -46
  336. package/dist/model/GraphSchemaInput.d.ts +1 -1
  337. package/dist/model/GraphSchemaInput.js +2 -2
  338. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  339. package/dist/model/GraphSchemaResponse.js +2 -2
  340. package/dist/model/GraphTraversalInput.d.ts +7 -1
  341. package/dist/model/GraphTraversalInput.js +74 -2
  342. package/dist/model/Image.d.ts +1 -1
  343. package/dist/model/Image.js +2 -2
  344. package/dist/model/InputPart.d.ts +4 -2
  345. package/dist/model/InputPart.js +37 -18
  346. package/dist/model/InputPartHeaders.d.ts +29 -0
  347. package/dist/model/InputPartHeaders.js +87 -0
  348. package/dist/model/InputPartMediaType.d.ts +1 -1
  349. package/dist/model/InputPartMediaType.js +2 -2
  350. package/dist/model/JsonArray.d.ts +34 -0
  351. package/dist/model/JsonArray.js +95 -0
  352. package/dist/model/JsonObject.d.ts +41 -0
  353. package/dist/model/JsonObject.js +143 -0
  354. package/dist/model/JsonValue.d.ts +40 -0
  355. package/dist/model/JsonValue.js +132 -0
  356. package/dist/model/KafkaSettings.d.ts +1 -1
  357. package/dist/model/KafkaSettings.js +2 -2
  358. package/dist/model/Link.d.ts +3 -3
  359. package/dist/model/Link.js +19 -19
  360. package/dist/model/LiveStreamInfo.d.ts +1 -1
  361. package/dist/model/LiveStreamInfo.js +2 -2
  362. package/dist/model/MediaType.d.ts +33 -0
  363. package/dist/model/MediaType.js +127 -0
  364. package/dist/model/MeetingEvent.d.ts +7 -7
  365. package/dist/model/MeetingEvent.js +50 -50
  366. package/dist/model/MeetingEventInput.d.ts +1 -1
  367. package/dist/model/MeetingEventInput.js +2 -2
  368. package/dist/model/MeetingEventResponse.d.ts +1 -1
  369. package/dist/model/MeetingEventResponse.js +2 -2
  370. package/dist/model/MeetingEventTimezone.d.ts +1 -1
  371. package/dist/model/MeetingEventTimezone.js +2 -2
  372. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  373. package/dist/model/MeetingEventTypeInput.js +2 -2
  374. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  375. package/dist/model/MeetingEventTypeResponse.js +2 -2
  376. package/dist/model/MeetingInfo.d.ts +2 -2
  377. package/dist/model/MeetingInfo.js +15 -15
  378. package/dist/model/Member.d.ts +3 -3
  379. package/dist/model/Member.js +20 -20
  380. package/dist/model/MemberGroupCategory.d.ts +1 -1
  381. package/dist/model/MemberGroupCategory.js +2 -2
  382. package/dist/model/MemberList.d.ts +1 -1
  383. package/dist/model/MemberList.js +2 -2
  384. package/dist/model/MemberManagerConfigInput.d.ts +39 -0
  385. package/dist/model/MemberManagerConfigInput.js +124 -0
  386. package/dist/model/MemberManagerConfigResponse.d.ts +41 -0
  387. package/dist/model/MemberManagerConfigResponse.js +134 -0
  388. package/dist/model/MemberManagerInput.d.ts +41 -0
  389. package/dist/model/MemberManagerInput.js +134 -0
  390. package/dist/model/MemberManagerResponse.d.ts +41 -0
  391. package/dist/model/MemberManagerResponse.js +134 -0
  392. package/dist/model/MessageGroup.d.ts +1 -1
  393. package/dist/model/MessageGroup.js +2 -2
  394. package/dist/model/MultipartBody.d.ts +1 -1
  395. package/dist/model/MultipartBody.js +2 -2
  396. package/dist/model/MultivaluedMapStringString.d.ts +29 -0
  397. package/dist/model/MultivaluedMapStringString.js +87 -0
  398. package/dist/model/NotificationInput.d.ts +1 -1
  399. package/dist/model/NotificationInput.js +2 -2
  400. package/dist/model/NotificationResponse.d.ts +1 -1
  401. package/dist/model/NotificationResponse.js +2 -2
  402. package/dist/model/NumberSettings.d.ts +1 -1
  403. package/dist/model/NumberSettings.js +2 -2
  404. package/dist/model/ObjectSettings.d.ts +1 -1
  405. package/dist/model/ObjectSettings.js +2 -2
  406. package/dist/model/Objecttype.d.ts +2 -2
  407. package/dist/model/Objecttype.js +11 -11
  408. package/dist/model/OutParameter.d.ts +1 -1
  409. package/dist/model/OutParameter.js +2 -2
  410. package/dist/model/Page.d.ts +3 -3
  411. package/dist/model/Page.js +16 -16
  412. package/dist/model/PageSchema.d.ts +3 -3
  413. package/dist/model/PageSchema.js +17 -17
  414. package/dist/model/Pageable.d.ts +3 -3
  415. package/dist/model/Pageable.js +16 -16
  416. package/dist/model/Parameter.d.ts +1 -1
  417. package/dist/model/Parameter.js +2 -2
  418. package/dist/model/PasswordResetInitiateRequest.d.ts +38 -0
  419. package/dist/model/PasswordResetInitiateRequest.js +112 -0
  420. package/dist/model/PasswordResetInitiateResponse.d.ts +46 -0
  421. package/dist/model/PasswordResetInitiateResponse.js +156 -0
  422. package/dist/model/PasswordResetRequest.d.ts +42 -0
  423. package/dist/model/PasswordResetRequest.js +136 -0
  424. package/dist/model/PasswordResetResponse.d.ts +46 -0
  425. package/dist/model/PasswordResetResponse.js +162 -0
  426. package/dist/model/PasswordResetValidationResponse.d.ts +46 -0
  427. package/dist/model/PasswordResetValidationResponse.js +162 -0
  428. package/dist/model/Path.d.ts +1 -1
  429. package/dist/model/Path.js +9 -9
  430. package/dist/model/PaymentAccountObject.d.ts +1 -1
  431. package/dist/model/PaymentAccountObject.js +2 -2
  432. package/dist/model/PaymentIntentInput.d.ts +1 -1
  433. package/dist/model/PaymentIntentInput.js +2 -2
  434. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  435. package/dist/model/PaymentIntentResponse.js +2 -2
  436. package/dist/model/PaymentMethod.d.ts +2 -2
  437. package/dist/model/PaymentMethod.js +9 -9
  438. package/dist/model/PaymentMethodInput.d.ts +1 -1
  439. package/dist/model/PaymentMethodInput.js +2 -2
  440. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  441. package/dist/model/PaymentMethodResponse.js +2 -2
  442. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  443. package/dist/model/PaymentMethodsResponse.js +2 -2
  444. package/dist/model/Payout.d.ts +2 -2
  445. package/dist/model/Payout.js +15 -15
  446. package/dist/model/PayoutInput.d.ts +1 -1
  447. package/dist/model/PayoutInput.js +2 -2
  448. package/dist/model/PayoutResponse.d.ts +1 -1
  449. package/dist/model/PayoutResponse.js +2 -2
  450. package/dist/model/PhoneNumber.d.ts +3 -3
  451. package/dist/model/PhoneNumber.js +20 -20
  452. package/dist/model/Post.d.ts +3 -3
  453. package/dist/model/Post.js +17 -17
  454. package/dist/model/PrivateMessage.d.ts +4 -4
  455. package/dist/model/PrivateMessage.js +28 -28
  456. package/dist/model/PrivateMessageConversation.d.ts +4 -4
  457. package/dist/model/PrivateMessageConversation.js +41 -41
  458. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  459. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  460. package/dist/model/Profile.d.ts +2 -2
  461. package/dist/model/Profile.js +14 -14
  462. package/dist/model/Profiletype.d.ts +1 -1
  463. package/dist/model/Profiletype.js +2 -2
  464. package/dist/model/PropertyContainer.d.ts +1 -1
  465. package/dist/model/PropertyContainer.js +2 -2
  466. package/dist/model/PublicationInput.d.ts +1 -1
  467. package/dist/model/PublicationInput.js +2 -2
  468. package/dist/model/PublicationResponse.d.ts +1 -1
  469. package/dist/model/PublicationResponse.js +2 -2
  470. package/dist/model/PurchaseInput.d.ts +1 -1
  471. package/dist/model/PurchaseInput.js +2 -2
  472. package/dist/model/PurchaseResponse.d.ts +1 -1
  473. package/dist/model/PurchaseResponse.js +2 -2
  474. package/dist/model/PurgeDataDefaultResponse.d.ts +41 -0
  475. package/dist/model/PurgeDataDefaultResponse.js +143 -0
  476. package/dist/model/PurgeDataDefaultResponseValue.d.ts +1 -1
  477. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  478. package/dist/model/RelationshipMapping.d.ts +2 -2
  479. package/dist/model/RelationshipMapping.js +18 -18
  480. package/dist/model/RestApplicationInput.d.ts +1 -1
  481. package/dist/model/RestApplicationInput.js +2 -2
  482. package/dist/model/RestApplicationResponse.d.ts +1 -1
  483. package/dist/model/RestApplicationResponse.js +2 -2
  484. package/dist/model/ScreenSchema.d.ts +4 -4
  485. package/dist/model/ScreenSchema.js +29 -29
  486. package/dist/model/SimulcastInfo.d.ts +1 -1
  487. package/dist/model/SimulcastInfo.js +2 -2
  488. package/dist/model/SiteInput.d.ts +1 -1
  489. package/dist/model/SiteInput.js +2 -2
  490. package/dist/model/SiteResponse.d.ts +1 -1
  491. package/dist/model/SiteResponse.js +2 -2
  492. package/dist/model/SiteTypeInput.d.ts +1 -1
  493. package/dist/model/SiteTypeInput.js +2 -2
  494. package/dist/model/SiteTypeResponse.d.ts +1 -1
  495. package/dist/model/SiteTypeResponse.js +2 -2
  496. package/dist/model/SkinField.d.ts +3 -3
  497. package/dist/model/SkinField.js +16 -16
  498. package/dist/model/SkinFieldResponse.d.ts +1 -1
  499. package/dist/model/SkinFieldResponse.js +2 -2
  500. package/dist/model/SocialGroup.d.ts +2 -2
  501. package/dist/model/SocialGroup.js +14 -14
  502. package/dist/model/SocialGroupInput.d.ts +1 -1
  503. package/dist/model/SocialGroupInput.js +2 -2
  504. package/dist/model/SocialGroupResponse.d.ts +1 -1
  505. package/dist/model/SocialGroupResponse.js +2 -2
  506. package/dist/model/SocialGroupType.d.ts +1 -1
  507. package/dist/model/SocialGroupType.js +2 -2
  508. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  509. package/dist/model/SocialGroupTypeInput.js +2 -2
  510. package/dist/model/Sort.d.ts +2 -2
  511. package/dist/model/Sort.js +9 -9
  512. package/dist/model/SourceTypes.d.ts +1 -1
  513. package/dist/model/SourceTypes.js +2 -2
  514. package/dist/model/StatusUpdate.d.ts +2 -2
  515. package/dist/model/StatusUpdate.js +10 -10
  516. package/dist/model/StreetAddress.d.ts +1 -1
  517. package/dist/model/StreetAddress.js +2 -2
  518. package/dist/model/StripeAccount.d.ts +2 -2
  519. package/dist/model/StripeAccount.js +10 -10
  520. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  521. package/dist/model/StripeCustomerAccount.js +2 -2
  522. package/dist/model/Template.d.ts +1 -1
  523. package/dist/model/Template.js +2 -2
  524. package/dist/model/TemplateResponse.d.ts +1 -1
  525. package/dist/model/TemplateResponse.js +2 -2
  526. package/dist/model/TemplateSchema.d.ts +1 -1
  527. package/dist/model/TemplateSchema.js +2 -2
  528. package/dist/model/ThemeMapping.d.ts +2 -2
  529. package/dist/model/ThemeMapping.js +14 -14
  530. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  531. package/dist/model/ThemeMappingPayload.js +2 -2
  532. package/dist/model/Timezone.d.ts +1 -1
  533. package/dist/model/Timezone.js +2 -2
  534. package/dist/model/Timezone1.d.ts +1 -1
  535. package/dist/model/Timezone1.js +2 -2
  536. package/dist/model/TopicInfoResponse.d.ts +1 -1
  537. package/dist/model/TopicInfoResponse.js +2 -2
  538. package/dist/model/TopicMessageInput.d.ts +1 -1
  539. package/dist/model/TopicMessageInput.js +2 -2
  540. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  541. package/dist/model/TopicSubscriptionResponse.js +2 -2
  542. package/dist/model/Transaction.d.ts +1 -1
  543. package/dist/model/Transaction.js +2 -2
  544. package/dist/model/Transfer.d.ts +2 -2
  545. package/dist/model/Transfer.js +12 -12
  546. package/dist/model/TransferInput.d.ts +1 -1
  547. package/dist/model/TransferInput.js +2 -2
  548. package/dist/model/TransferResponse.d.ts +1 -1
  549. package/dist/model/TransferResponse.js +2 -2
  550. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +2 -2
  551. package/dist/model/TransferResponsePaymentMethodDetails.js +12 -12
  552. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  553. package/dist/model/TraversalRelationResponse.js +10 -10
  554. package/dist/model/User.d.ts +3 -3
  555. package/dist/model/User.js +20 -20
  556. package/dist/model/UserDataPayload.d.ts +3 -3
  557. package/dist/model/UserDataPayload.js +20 -20
  558. package/dist/model/UserDomain.d.ts +1 -1
  559. package/dist/model/UserDomain.js +2 -2
  560. package/dist/model/UserInvite.d.ts +2 -2
  561. package/dist/model/UserInvite.js +14 -14
  562. package/dist/model/UserInviteInput.d.ts +1 -1
  563. package/dist/model/UserInviteInput.js +2 -2
  564. package/dist/model/UserResponse.d.ts +1 -1
  565. package/dist/model/UserResponse.js +2 -2
  566. package/dist/model/UserSchema.d.ts +3 -3
  567. package/dist/model/UserSchema.js +20 -20
  568. package/dist/model/UserTag.d.ts +2 -2
  569. package/dist/model/UserTag.js +10 -10
  570. package/dist/model/Userid.d.ts +1 -1
  571. package/dist/model/Userid.js +2 -2
  572. package/dist/model/UsernameReminderRequest.d.ts +38 -0
  573. package/dist/model/UsernameReminderRequest.js +112 -0
  574. package/dist/model/UsernameReminderResponse.d.ts +46 -0
  575. package/dist/model/UsernameReminderResponse.js +156 -0
  576. package/dist/model/Video.d.ts +9 -9
  577. package/dist/model/Video.js +64 -64
  578. package/dist/model/VideoLiveUrl.d.ts +1 -1
  579. package/dist/model/VideoLiveUrl.js +2 -2
  580. package/dist/model/VideoSchema.d.ts +9 -9
  581. package/dist/model/VideoSchema.js +64 -64
  582. package/dist/model/VideoUploadObject.d.ts +9 -9
  583. package/dist/model/VideoUploadObject.js +64 -64
  584. package/dist/model/WalletHoldInput.d.ts +1 -1
  585. package/dist/model/WalletHoldInput.js +2 -2
  586. package/dist/model/WalletHoldResponse.d.ts +1 -1
  587. package/dist/model/WalletHoldResponse.js +2 -2
  588. package/dist/model/WalletPayoutInput.d.ts +1 -1
  589. package/dist/model/WalletPayoutInput.js +2 -2
  590. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  591. package/dist/model/WalletPayoutResponse.js +2 -2
  592. package/dist/model/WalletResponse.d.ts +1 -1
  593. package/dist/model/WalletResponse.js +2 -2
  594. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  595. package/dist/model/ZeusPortalCategory.js +2 -2
  596. package/package.json +3 -3
@@ -5,28 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _Comment = _interopRequireDefault(require("../model/Comment"));
9
- var _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
10
- var _Geocode = _interopRequireDefault(require("../model/Geocode"));
11
- var _GeocodePayload = _interopRequireDefault(require("../model/GeocodePayload"));
12
- var _Graph = _interopRequireDefault(require("../model/Graph"));
13
- var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
8
+ var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
14
9
  var _GraphActionPayload = _interopRequireDefault(require("../model/GraphActionPayload"));
15
10
  var _GraphActionResponse = _interopRequireDefault(require("../model/GraphActionResponse"));
16
- var _GraphGeocode = _interopRequireDefault(require("../model/GraphGeocode"));
17
11
  var _GraphObjectPayload = _interopRequireDefault(require("../model/GraphObjectPayload"));
18
- var _GraphObjectSchema = _interopRequireDefault(require("../model/GraphObjectSchema"));
19
- var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
20
- var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
21
- var _Image = _interopRequireDefault(require("../model/Image"));
22
- var _InputPart = _interopRequireDefault(require("../model/InputPart"));
23
- var _MeetingEvent = _interopRequireDefault(require("../model/MeetingEvent"));
12
+ var _GraphObjectResponse = _interopRequireDefault(require("../model/GraphObjectResponse"));
13
+ var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
24
14
  var _MeetingInfo = _interopRequireDefault(require("../model/MeetingInfo"));
25
- var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
15
+ var _PurgeDataDefaultResponse = _interopRequireDefault(require("../model/PurgeDataDefaultResponse"));
26
16
  var _UserInvite = _interopRequireDefault(require("../model/UserInvite"));
27
17
  var _UserInviteInput = _interopRequireDefault(require("../model/UserInviteInput"));
28
- var _UserTag = _interopRequireDefault(require("../model/UserTag"));
29
- var _Video = _interopRequireDefault(require("../model/Video"));
30
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
31
19
  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); }
32
20
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -37,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
37
25
  * gobodo-api
38
26
  * REST Interface for Gobodo API
39
27
  *
40
- * The version of the OpenAPI document: 0.1.96
28
+ * The version of the OpenAPI document: 0.1.99
41
29
  * Contact: info@gobodo.io
42
30
  *
43
31
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,7 +36,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
48
36
  /**
49
37
  * GraphObjects service.
50
38
  * @module api/GraphObjectsApi
51
- * @version 0.1.96
39
+ * @version 0.1.99
52
40
  */
53
41
  var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
54
42
  /**
@@ -83,6 +71,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
83
71
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
84
72
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
85
73
  * @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)
74
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
86
75
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
87
76
  * @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
88
77
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
@@ -105,14 +94,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
105
94
  var pathParams = {
106
95
  'objectid': objectid
107
96
  };
108
- var queryParams = {};
109
- var headerParams = {
110
- 'Authorization': opts['authorization'],
97
+ var queryParams = {
111
98
  'cacheduration': opts['cacheduration'],
112
- 'cachegroup': opts['cachegroup'],
113
- 'cachekey': opts['cachekey'],
99
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
100
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
114
101
  'cachescope': opts['cachescope'],
115
- 'cacheuser': opts['cacheuser'],
102
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
103
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
104
+ };
105
+ var headerParams = {
106
+ 'Authorization': opts['authorization'],
116
107
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
117
108
  'zeusportal-postas': opts['zeusportalPostas'],
118
109
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -123,14 +114,14 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
123
114
  var contentTypes = ['application/json'];
124
115
  var accepts = ['application/json'];
125
116
  var returnType = null;
126
- return this.apiClient.callApi('/graph/data/live/{objectid}/add', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
117
+ return this.apiClient.callApi('/live/{objectid}/add', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
127
118
  }
128
119
 
129
120
  /**
130
121
  * Callback function to receive the result of the addLiveStream operation.
131
122
  * @callback module:api/GraphObjectsApi~addLiveStreamCallback
132
123
  * @param {String} error Error message, if any.
133
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
124
+ * @param {module:model/PurgeDataDefaultResponse} data The data returned by the service call.
134
125
  * @param {String} response The complete HTTP response.
135
126
  */
136
127
 
@@ -145,12 +136,13 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
145
136
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
146
137
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
147
138
  * @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)
139
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
148
140
  * @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
141
  * @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
142
  * @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
143
  * @param {String} [transactionid] The id of the transaction this operation is being run in
152
144
  * @param {module:api/GraphObjectsApi~addLiveStreamCallback} callback The callback function, accepting three arguments: error, data, response
153
- * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
145
+ * data is of type: {@link module:model/PurgeDataDefaultResponse}
154
146
  */
155
147
  }, {
156
148
  key: "addLiveStream",
@@ -164,159 +156,27 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
164
156
  var pathParams = {
165
157
  'objectid': objectid
166
158
  };
167
- var queryParams = {};
168
- var headerParams = {
169
- 'Authorization': opts['authorization'],
170
- 'cacheduration': opts['cacheduration'],
171
- 'cachegroup': opts['cachegroup'],
172
- 'cachekey': opts['cachekey'],
173
- 'cachescope': opts['cachescope'],
174
- 'cacheuser': opts['cacheuser'],
175
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
176
- 'zeusportal-postas': opts['zeusportalPostas'],
177
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
178
- 'transactionid': opts['transactionid']
179
- };
180
- var formParams = {};
181
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
182
- var contentTypes = [];
183
- var accepts = ['application/json'];
184
- var returnType = {
185
- 'String': _PurgeDataDefaultResponseValue["default"]
186
- };
187
- return this.apiClient.callApi('/graph/data/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
188
- }
189
-
190
- /**
191
- * Callback function to receive the result of the attachFile operation.
192
- * @callback module:api/GraphObjectsApi~attachFileCallback
193
- * @param {String} error Error message, if any.
194
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
195
- * @param {String} response The complete HTTP response.
196
- */
197
-
198
- /**
199
- * @param {Number} id The id of the object that the file is being attached to
200
- * @param {Object} opts Optional parameters
201
- * @param {String} [authorization] The authorization token of the logged in user
202
- * @param {Number} [cacheduration] The how long the cache entry should persist
203
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
204
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
205
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
206
- * @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)
207
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
208
- * @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
209
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
210
- * @param {String} [transactionid] The id of the transaction this operation is being run in
211
- * @param {Object.<String, {String: [InputPart]}>} [formDataMap]
212
- * @param {Object.<String, {String: InputPart}>} [formData]
213
- * @param {Array.<module:model/InputPart>} [parts]
214
- * @param {String} [preamble]
215
- * @param {module:api/GraphObjectsApi~attachFileCallback} callback The callback function, accepting three arguments: error, data, response
216
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
217
- */
218
- }, {
219
- key: "attachFile",
220
- value: function attachFile(id, opts, callback) {
221
- opts = opts || {};
222
- var postBody = null;
223
- // verify the required parameter 'id' is set
224
- if (id === undefined || id === null) {
225
- throw new Error("Missing the required parameter 'id' when calling attachFile");
226
- }
227
- var pathParams = {
228
- 'id': id
229
- };
230
- var queryParams = {};
231
- var headerParams = {
232
- 'Authorization': opts['authorization'],
159
+ var queryParams = {
233
160
  'cacheduration': opts['cacheduration'],
234
- 'cachegroup': opts['cachegroup'],
235
- 'cachekey': opts['cachekey'],
161
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
162
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
236
163
  'cachescope': opts['cachescope'],
237
- 'cacheuser': opts['cacheuser'],
238
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
239
- 'zeusportal-postas': opts['zeusportalPostas'],
240
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
241
- 'transactionid': opts['transactionid']
242
- };
243
- var formParams = {
244
- 'formDataMap': opts['formDataMap'],
245
- 'formData': opts['formData'],
246
- 'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
247
- 'preamble': opts['preamble']
248
- };
249
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
250
- var contentTypes = ['multipart/form-data'];
251
- var accepts = ['application/json'];
252
- var returnType = _PurgeDataDefaultResponseValue["default"];
253
- return this.apiClient.callApi('/graph/data/object/{id}/attachfile', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
254
- }
255
-
256
- /**
257
- * Callback function to receive the result of the attachImage operation.
258
- * @callback module:api/GraphObjectsApi~attachImageCallback
259
- * @param {String} error Error message, if any.
260
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
261
- * @param {String} response The complete HTTP response.
262
- */
263
-
264
- /**
265
- * @param {Number} id The id of the object that the image is being attached to
266
- * @param {Object} opts Optional parameters
267
- * @param {String} [authorization] The authorization token of the logged in user
268
- * @param {Number} [cacheduration] The how long the cache entry should persist
269
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
270
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
271
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
272
- * @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)
273
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
274
- * @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
275
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
276
- * @param {String} [transactionid] The id of the transaction this operation is being run in
277
- * @param {Object.<String, {String: [InputPart]}>} [formDataMap]
278
- * @param {Object.<String, {String: InputPart}>} [formData]
279
- * @param {Array.<module:model/InputPart>} [parts]
280
- * @param {String} [preamble]
281
- * @param {module:api/GraphObjectsApi~attachImageCallback} callback The callback function, accepting three arguments: error, data, response
282
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
283
- */
284
- }, {
285
- key: "attachImage",
286
- value: function attachImage(id, opts, callback) {
287
- opts = opts || {};
288
- var postBody = null;
289
- // verify the required parameter 'id' is set
290
- if (id === undefined || id === null) {
291
- throw new Error("Missing the required parameter 'id' when calling attachImage");
292
- }
293
- var pathParams = {
294
- 'id': id
164
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
165
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
295
166
  };
296
- var queryParams = {};
297
167
  var headerParams = {
298
168
  'Authorization': opts['authorization'],
299
- 'cacheduration': opts['cacheduration'],
300
- 'cachegroup': opts['cachegroup'],
301
- 'cachekey': opts['cachekey'],
302
- 'cachescope': opts['cachescope'],
303
- 'cacheuser': opts['cacheuser'],
304
169
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
305
170
  'zeusportal-postas': opts['zeusportalPostas'],
306
171
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
307
172
  'transactionid': opts['transactionid']
308
173
  };
309
- var formParams = {
310
- 'formDataMap': opts['formDataMap'],
311
- 'formData': opts['formData'],
312
- 'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
313
- 'preamble': opts['preamble']
314
- };
174
+ var formParams = {};
315
175
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
316
- var contentTypes = ['multipart/form-data'];
176
+ var contentTypes = [];
317
177
  var accepts = ['application/json'];
318
- var returnType = _PurgeDataDefaultResponseValue["default"];
319
- return this.apiClient.callApi('/graph/data/object/{id}/attachimage', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
178
+ var returnType = _PurgeDataDefaultResponse["default"];
179
+ return this.apiClient.callApi('/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
320
180
  }
321
181
 
322
182
  /**
@@ -328,8 +188,10 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
328
188
  */
329
189
 
330
190
  /**
331
- * @param {Number} id The id of the object that we are performing the action on
332
- * @param {Array.<module:model/GraphActionPayload>} graphActionPayload Conversation object or array of objects to create
191
+ * Create Actions
192
+ * Create actions on an object
193
+ * @param {Number} id
194
+ * @param {Array.<module:model/GraphActionPayload>} graphActionPayload Actions payload
333
195
  * @param {Object} opts Optional parameters
334
196
  * @param {String} [authorization] The authorization token of the logged in user
335
197
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -337,6 +199,7 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
337
199
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
338
200
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
339
201
  * @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)
202
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
340
203
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
341
204
  * @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
342
205
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
@@ -360,135 +223,16 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
360
223
  var pathParams = {
361
224
  'id': id
362
225
  };
363
- var queryParams = {};
364
- var headerParams = {
365
- 'Authorization': opts['authorization'],
366
- 'cacheduration': opts['cacheduration'],
367
- 'cachegroup': opts['cachegroup'],
368
- 'cachekey': opts['cachekey'],
369
- 'cachescope': opts['cachescope'],
370
- 'cacheuser': opts['cacheuser'],
371
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
372
- 'zeusportal-postas': opts['zeusportalPostas'],
373
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
374
- 'transactionid': opts['transactionid']
375
- };
376
- var formParams = {};
377
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
378
- var contentTypes = ['application/json'];
379
- var accepts = ['application/json'];
380
- var returnType = [_GraphActionResponse["default"]];
381
- return this.apiClient.callApi('/graph/data/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
382
- }
383
-
384
- /**
385
- * Callback function to receive the result of the createAddObjectsToGraph operation.
386
- * @callback module:api/GraphObjectsApi~createAddObjectsToGraphCallback
387
- * @param {String} error Error message, if any.
388
- * @param {module:model/GraphObjectSchema} data The data returned by the service call.
389
- * @param {String} response The complete HTTP response.
390
- */
391
-
392
- /**
393
- * Adds objects to the graph
394
- * @param {Number} id
395
- * @param {Object} opts Optional parameters
396
- * @param {String} [authorization] The authorization token of the logged in user
397
- * @param {Number} [cacheduration] The how long the cache entry should persist
398
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
399
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
400
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
401
- * @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)
402
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
403
- * @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
404
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
405
- * @param {String} [transactionid] The id of the transaction this operation is being run in
406
- * @param {String} [body]
407
- * @param {module:api/GraphObjectsApi~createAddObjectsToGraphCallback} callback The callback function, accepting three arguments: error, data, response
408
- * data is of type: {@link module:model/GraphObjectSchema}
409
- */
410
- }, {
411
- key: "createAddObjectsToGraph",
412
- value: function createAddObjectsToGraph(id, opts, callback) {
413
- opts = opts || {};
414
- var postBody = opts['body'];
415
- // verify the required parameter 'id' is set
416
- if (id === undefined || id === null) {
417
- throw new Error("Missing the required parameter 'id' when calling createAddObjectsToGraph");
418
- }
419
- var pathParams = {
420
- 'id': id
421
- };
422
- var queryParams = {};
423
- var headerParams = {
424
- 'Authorization': opts['authorization'],
226
+ var queryParams = {
425
227
  'cacheduration': opts['cacheduration'],
426
- 'cachegroup': opts['cachegroup'],
427
- 'cachekey': opts['cachekey'],
228
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
229
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
428
230
  'cachescope': opts['cachescope'],
429
- 'cacheuser': opts['cacheuser'],
430
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
431
- 'zeusportal-postas': opts['zeusportalPostas'],
432
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
433
- 'transactionid': opts['transactionid']
434
- };
435
- var formParams = {};
436
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
437
- var contentTypes = ['application/json'];
438
- var accepts = ['application/json'];
439
- var returnType = _GraphObjectSchema["default"];
440
- return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
441
- }
442
-
443
- /**
444
- * Callback function to receive the result of the createGeocodes operation.
445
- * @callback module:api/GraphObjectsApi~createGeocodesCallback
446
- * @param {String} error Error message, if any.
447
- * @param {module:model/Geocode} data The data returned by the service call.
448
- * @param {String} response The complete HTTP response.
449
- */
450
-
451
- /**
452
- * @param {Number} id The id of the object that we are retrieving geolocation information from
453
- * @param {module:model/GeocodePayload} geocodePayload Conversation object or array of objects to create
454
- * @param {Object} opts Optional parameters
455
- * @param {String} [authorization] The authorization token of the logged in user
456
- * @param {Number} [cacheduration] The how long the cache entry should persist
457
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
458
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
459
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
460
- * @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)
461
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
462
- * @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
463
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
464
- * @param {String} [transactionid] The id of the transaction this operation is being run in
465
- * @param {module:api/GraphObjectsApi~createGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
466
- * data is of type: {@link module:model/Geocode}
467
- */
468
- }, {
469
- key: "createGeocodes",
470
- value: function createGeocodes(id, geocodePayload, opts, callback) {
471
- opts = opts || {};
472
- var postBody = geocodePayload;
473
- // verify the required parameter 'id' is set
474
- if (id === undefined || id === null) {
475
- throw new Error("Missing the required parameter 'id' when calling createGeocodes");
476
- }
477
- // verify the required parameter 'geocodePayload' is set
478
- if (geocodePayload === undefined || geocodePayload === null) {
479
- throw new Error("Missing the required parameter 'geocodePayload' when calling createGeocodes");
480
- }
481
- var pathParams = {
482
- 'id': id
231
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
232
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
483
233
  };
484
- var queryParams = {};
485
234
  var headerParams = {
486
235
  'Authorization': opts['authorization'],
487
- 'cacheduration': opts['cacheduration'],
488
- 'cachegroup': opts['cachegroup'],
489
- 'cachekey': opts['cachekey'],
490
- 'cachescope': opts['cachescope'],
491
- 'cacheuser': opts['cacheuser'],
492
236
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
493
237
  'zeusportal-postas': opts['zeusportalPostas'],
494
238
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -496,10 +240,10 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
496
240
  };
497
241
  var formParams = {};
498
242
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
499
- var contentTypes = ['application/json'];
243
+ var contentTypes = [];
500
244
  var accepts = ['application/json'];
501
- var returnType = _Geocode["default"];
502
- return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
245
+ var returnType = [_GraphActionResponse["default"]];
246
+ return this.apiClient.callApi('/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
503
247
  }
504
248
 
505
249
  /**
@@ -513,2314 +257,8 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
513
257
  /**
514
258
  * Returns an invite by id
515
259
  * Returns a live meeting invite by id
516
- * @param {Number} inviteid The id of the invite we are retrieving
517
- * @param {module:model/UserInviteInput} userInviteInput An Invite Input
518
- * @param {Object} opts Optional parameters
519
- * @param {String} [authorization] The authorization token of the logged in user
520
- * @param {Number} [cacheduration] The how long the cache entry should persist
521
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
522
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
523
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
524
- * @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)
525
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
526
- * @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
527
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
528
- * @param {String} [transactionid] The id of the transaction this operation is being run in
529
- * @param {module:api/GraphObjectsApi~createInviteOnObjectCallback} callback The callback function, accepting three arguments: error, data, response
530
- * data is of type: {@link module:model/UserInvite}
531
- */
532
- }, {
533
- key: "createInviteOnObject",
534
- value: function createInviteOnObject(inviteid, userInviteInput, opts, callback) {
535
- opts = opts || {};
536
- var postBody = userInviteInput;
537
- // verify the required parameter 'inviteid' is set
538
- if (inviteid === undefined || inviteid === null) {
539
- throw new Error("Missing the required parameter 'inviteid' when calling createInviteOnObject");
540
- }
541
- // verify the required parameter 'userInviteInput' is set
542
- if (userInviteInput === undefined || userInviteInput === null) {
543
- throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
544
- }
545
- var pathParams = {
546
- 'inviteid': inviteid
547
- };
548
- var queryParams = {};
549
- var headerParams = {
550
- 'Authorization': opts['authorization'],
551
- 'cacheduration': opts['cacheduration'],
552
- 'cachegroup': opts['cachegroup'],
553
- 'cachekey': opts['cachekey'],
554
- 'cachescope': opts['cachescope'],
555
- 'cacheuser': opts['cacheuser'],
556
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
557
- 'zeusportal-postas': opts['zeusportalPostas'],
558
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
559
- 'transactionid': opts['transactionid']
560
- };
561
- var formParams = {};
562
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
563
- var contentTypes = ['application/json'];
564
- var accepts = ['application/json'];
565
- var returnType = _UserInvite["default"];
566
- return this.apiClient.callApi('/graph/data/invites/{objectid}/invite', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
567
- }
568
-
569
- /**
570
- * Callback function to receive the result of the createObject operation.
571
- * @callback module:api/GraphObjectsApi~createObjectCallback
572
- * @param {String} error Error message, if any.
573
- * @param {module:model/GraphObjectSchema} data The data returned by the service call.
574
- * @param {String} response The complete HTTP response.
575
- */
576
-
577
- /**
578
- * Create Objects
579
- * Create graph object(s)
580
- * @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject object data or array of object data to create
581
- * @param {Object} opts Optional parameters
582
- * @param {String} [authorization] The authorization token of the logged in user
583
- * @param {Number} [cacheduration] The how long the cache entry should persist
584
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
585
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
586
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
587
- * @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)
588
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
589
- * @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
590
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
591
- * @param {String} [transactionid] The id of the transaction this operation is being run in
592
- * @param {module:api/GraphObjectsApi~createObjectCallback} callback The callback function, accepting three arguments: error, data, response
593
- * data is of type: {@link module:model/GraphObjectSchema}
594
- */
595
- }, {
596
- key: "createObject",
597
- value: function createObject(graphObjectPayload, opts, callback) {
598
- opts = opts || {};
599
- var postBody = graphObjectPayload;
600
- // verify the required parameter 'graphObjectPayload' is set
601
- if (graphObjectPayload === undefined || graphObjectPayload === null) {
602
- throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObject");
603
- }
604
- var pathParams = {};
605
- var queryParams = {};
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 = _GraphObjectSchema["default"];
623
- return this.apiClient.callApi('/graph/data/object', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
624
- }
625
-
626
- /**
627
- * Callback function to receive the result of the createObjects operation.
628
- * @callback module:api/GraphObjectsApi~createObjectsCallback
629
- * @param {String} error Error message, if any.
630
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
631
- * @param {String} response The complete HTTP response.
632
- */
633
-
634
- /**
635
- * Create Objects
636
- * Create graph object(s)
637
- * @param {Array.<module:model/GraphObjectPayload>} graphObjectPayload GraphObject object data or array of object data to create
638
- * @param {Object} opts Optional parameters
639
- * @param {String} [authorization] The authorization token of the logged in user
640
- * @param {Number} [cacheduration] The how long the cache entry should persist
641
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
642
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
643
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
644
- * @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)
645
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
646
- * @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
647
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
648
- * @param {String} [transactionid] The id of the transaction this operation is being run in
649
- * @param {module:api/GraphObjectsApi~createObjectsCallback} callback The callback function, accepting three arguments: error, data, response
650
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
651
- */
652
- }, {
653
- key: "createObjects",
654
- value: function createObjects(graphObjectPayload, opts, callback) {
655
- opts = opts || {};
656
- var postBody = graphObjectPayload;
657
- // verify the required parameter 'graphObjectPayload' is set
658
- if (graphObjectPayload === undefined || graphObjectPayload === null) {
659
- throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObjects");
660
- }
661
- var pathParams = {};
662
- var queryParams = {};
663
- var headerParams = {
664
- 'Authorization': opts['authorization'],
665
- 'cacheduration': opts['cacheduration'],
666
- 'cachegroup': opts['cachegroup'],
667
- 'cachekey': opts['cachekey'],
668
- 'cachescope': opts['cachescope'],
669
- 'cacheuser': opts['cacheuser'],
670
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
671
- 'zeusportal-postas': opts['zeusportalPostas'],
672
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
673
- 'transactionid': opts['transactionid']
674
- };
675
- var formParams = {};
676
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
677
- var contentTypes = [];
678
- var accepts = ['application/json'];
679
- var returnType = [_GraphObjectSchema["default"]];
680
- return this.apiClient.callApi('/graph/data/object/createobjects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
681
- }
682
-
683
- /**
684
- * Callback function to receive the result of the createRelationship operation.
685
- * @callback module:api/GraphObjectsApi~createRelationshipCallback
686
- * @param {String} error Error message, if any.
687
- * @param {module:model/GraphRelationship} data The data returned by the service call.
688
- * @param {String} response The complete HTTP response.
689
- */
690
-
691
- /**
692
- * Create a Relationship
693
- * Create a relationship to another object
694
- * @param {Number} id The id of the object that we are creating relationships on
695
- * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
696
- * @param {Object} opts Optional parameters
697
- * @param {String} [authorization] The authorization token of the logged in user
698
- * @param {Number} [cacheduration] The how long the cache entry should persist
699
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
700
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
701
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
702
- * @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)
703
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
704
- * @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
705
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
706
- * @param {String} [transactionid] The id of the transaction this operation is being run in
707
- * @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
708
- * data is of type: {@link module:model/GraphRelationship}
709
- */
710
- }, {
711
- key: "createRelationship",
712
- value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
713
- opts = opts || {};
714
- var postBody = graphRelationshipPayload;
715
- // verify the required parameter 'id' is set
716
- if (id === undefined || id === null) {
717
- throw new Error("Missing the required parameter 'id' when calling createRelationship");
718
- }
719
- // verify the required parameter 'graphRelationshipPayload' is set
720
- if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
721
- throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
722
- }
723
- var pathParams = {
724
- 'id': id
725
- };
726
- var queryParams = {};
727
- var headerParams = {
728
- 'Authorization': opts['authorization'],
729
- 'cacheduration': opts['cacheduration'],
730
- 'cachegroup': opts['cachegroup'],
731
- 'cachekey': opts['cachekey'],
732
- 'cachescope': opts['cachescope'],
733
- 'cacheuser': opts['cacheuser'],
734
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
735
- 'zeusportal-postas': opts['zeusportalPostas'],
736
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
737
- 'transactionid': opts['transactionid']
738
- };
739
- var formParams = {};
740
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
741
- var contentTypes = ['application/json'];
742
- var accepts = ['application/json'];
743
- var returnType = _GraphRelationship["default"];
744
- return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
745
- }
746
-
747
- /**
748
- * Callback function to receive the result of the createRelationships operation.
749
- * @callback module:api/GraphObjectsApi~createRelationshipsCallback
750
- * @param {String} error Error message, if any.
751
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
752
- * @param {String} response The complete HTTP response.
753
- */
754
-
755
- /**
756
- * Create Relationships
757
- * Create a relationships to other objects
758
- * @param {Number} id The id of the object that we are creating relationships on
759
- * @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
760
- * @param {Object} opts Optional parameters
761
- * @param {String} [authorization] The authorization token of the logged in user
762
- * @param {Number} [cacheduration] The how long the cache entry should persist
763
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
764
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
765
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
766
- * @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)
767
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
768
- * @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
769
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
770
- * @param {String} [transactionid] The id of the transaction this operation is being run in
771
- * @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
772
- * data is of type: {@link Array.<module:model/GraphRelationship>}
773
- */
774
- }, {
775
- key: "createRelationships",
776
- value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
777
- opts = opts || {};
778
- var postBody = graphRelationshipPayload;
779
- // verify the required parameter 'id' is set
780
- if (id === undefined || id === null) {
781
- throw new Error("Missing the required parameter 'id' when calling createRelationships");
782
- }
783
- // verify the required parameter 'graphRelationshipPayload' is set
784
- if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
785
- throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
786
- }
787
- var pathParams = {
788
- 'id': id
789
- };
790
- var queryParams = {};
791
- var headerParams = {
792
- 'Authorization': opts['authorization'],
793
- 'cacheduration': opts['cacheduration'],
794
- 'cachegroup': opts['cachegroup'],
795
- 'cachekey': opts['cachekey'],
796
- 'cachescope': opts['cachescope'],
797
- 'cacheuser': opts['cacheuser'],
798
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
799
- 'zeusportal-postas': opts['zeusportalPostas'],
800
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
801
- 'transactionid': opts['transactionid']
802
- };
803
- var formParams = {};
804
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
805
- var contentTypes = ['application/json'];
806
- var accepts = ['application/json'];
807
- var returnType = [_GraphRelationship["default"]];
808
- return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
809
- }
810
-
811
- /**
812
- * Callback function to receive the result of the deleteGeocode operation.
813
- * @callback module:api/GraphObjectsApi~deleteGeocodeCallback
814
- * @param {String} error Error message, if any.
815
- * @param data This operation does not return a value.
816
- * @param {String} response The complete HTTP response.
817
- */
818
-
819
- /**
820
- * @param {Number} id The id of the geocode to delete
821
- * @param {Number} geocodeid The id of the object whose properties we are updating
822
- * @param {Object} opts Optional parameters
823
- * @param {String} [authorization] The authorization token of the logged in user
824
- * @param {Number} [cacheduration] The how long the cache entry should persist
825
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
826
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
827
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
828
- * @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)
829
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
830
- * @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
831
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
832
- * @param {String} [transactionid] The id of the transaction this operation is being run in
833
- * @param {module:api/GraphObjectsApi~deleteGeocodeCallback} callback The callback function, accepting three arguments: error, data, response
834
- */
835
- }, {
836
- key: "deleteGeocode",
837
- value: function deleteGeocode(id, geocodeid, opts, callback) {
838
- opts = opts || {};
839
- var postBody = null;
840
- // verify the required parameter 'id' is set
841
- if (id === undefined || id === null) {
842
- throw new Error("Missing the required parameter 'id' when calling deleteGeocode");
843
- }
844
- // verify the required parameter 'geocodeid' is set
845
- if (geocodeid === undefined || geocodeid === null) {
846
- throw new Error("Missing the required parameter 'geocodeid' when calling deleteGeocode");
847
- }
848
- var pathParams = {
849
- 'id': id,
850
- 'geocodeid': geocodeid
851
- };
852
- var queryParams = {};
853
- var headerParams = {
854
- 'Authorization': opts['authorization'],
855
- 'cacheduration': opts['cacheduration'],
856
- 'cachegroup': opts['cachegroup'],
857
- 'cachekey': opts['cachekey'],
858
- 'cachescope': opts['cachescope'],
859
- 'cacheuser': opts['cacheuser'],
860
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
861
- 'zeusportal-postas': opts['zeusportalPostas'],
862
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
863
- 'transactionid': opts['transactionid']
864
- };
865
- var formParams = {};
866
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
867
- var contentTypes = [];
868
- var accepts = ['application/json'];
869
- var returnType = null;
870
- return this.apiClient.callApi('/graph/data/object/{id}/geocode/{geocodeid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
871
- }
872
-
873
- /**
874
- * Callback function to receive the result of the deleteLike operation.
875
- * @callback module:api/GraphObjectsApi~deleteLikeCallback
876
- * @param {String} error Error message, if any.
877
- * @param data This operation does not return a value.
878
- * @param {String} response The complete HTTP response.
879
- */
880
-
881
- /**
882
- * Delete Like
883
- * Delete an individual like
884
- * @param {Number} objectid
885
- * @param {Object} opts Optional parameters
886
- * @param {String} [authorization] The authorization token of the logged in user
887
- * @param {Number} [cacheduration] The how long the cache entry should persist
888
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
889
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
890
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
891
- * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
892
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
893
- * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
894
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
895
- * @param {String} [transactionid] The id of the transaction this operation is being run in
896
- * @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
897
- */
898
- }, {
899
- key: "deleteLike",
900
- value: function deleteLike(objectid, opts, callback) {
901
- opts = opts || {};
902
- var postBody = null;
903
- // verify the required parameter 'objectid' is set
904
- if (objectid === undefined || objectid === null) {
905
- throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
906
- }
907
- var pathParams = {
908
- 'objectid': objectid
909
- };
910
- var queryParams = {};
911
- var headerParams = {
912
- 'Authorization': opts['authorization'],
913
- 'cacheduration': opts['cacheduration'],
914
- 'cachegroup': opts['cachegroup'],
915
- 'cachekey': opts['cachekey'],
916
- 'cachescope': opts['cachescope'],
917
- 'cacheuser': opts['cacheuser'],
918
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
919
- 'zeusportal-postas': opts['zeusportalPostas'],
920
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
921
- 'transactionid': opts['transactionid']
922
- };
923
- var formParams = {};
924
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
925
- var contentTypes = [];
926
- var accepts = ['*/*'];
927
- var returnType = null;
928
- return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
929
- }
930
-
931
- /**
932
- * Callback function to receive the result of the deleteObject operation.
933
- * @callback module:api/GraphObjectsApi~deleteObjectCallback
934
- * @param {String} error Error message, if any.
935
- * @param data This operation does not return a value.
936
- * @param {String} response The complete HTTP response.
937
- */
938
-
939
- /**
940
- * Delete's the object with the id
941
- * @param {Number} id The id of the object to delete
942
- * @param {Object} opts Optional parameters
943
- * @param {String} [authorization] The authorization token of the logged in user
944
- * @param {Number} [cacheduration] The how long the cache entry should persist
945
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
946
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
947
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
948
- * @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)
949
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
950
- * @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
951
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
952
- * @param {String} [transactionid] The id of the transaction this operation is being run in
953
- * @param {module:api/GraphObjectsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
954
- */
955
- }, {
956
- key: "deleteObject",
957
- value: function deleteObject(id, opts, callback) {
958
- opts = opts || {};
959
- var postBody = null;
960
- // verify the required parameter 'id' is set
961
- if (id === undefined || id === null) {
962
- throw new Error("Missing the required parameter 'id' when calling deleteObject");
963
- }
964
- var pathParams = {
965
- 'id': id
966
- };
967
- var queryParams = {};
968
- var headerParams = {
969
- 'Authorization': opts['authorization'],
970
- 'cacheduration': opts['cacheduration'],
971
- 'cachegroup': opts['cachegroup'],
972
- 'cachekey': opts['cachekey'],
973
- 'cachescope': opts['cachescope'],
974
- 'cacheuser': opts['cacheuser'],
975
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
976
- 'zeusportal-postas': opts['zeusportalPostas'],
977
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
978
- 'transactionid': opts['transactionid']
979
- };
980
- var formParams = {};
981
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
982
- var contentTypes = [];
983
- var accepts = ['application/json'];
984
- var returnType = null;
985
- return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
986
- }
987
-
988
- /**
989
- * Callback function to receive the result of the dislike operation.
990
- * @callback module:api/GraphObjectsApi~dislikeCallback
991
- * @param {String} error Error message, if any.
992
- * @param data This operation does not return a value.
993
- * @param {String} response The complete HTTP response.
994
- */
995
-
996
- /**
997
- * Dislike an Object
998
- * Dislike an object
999
- * @param {Number} objectid
1000
- * @param {Object} opts Optional parameters
1001
- * @param {String} [authorization] The authorization token of the logged in user
1002
- * @param {Number} [cacheduration] The how long the cache entry should persist
1003
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1004
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1005
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1006
- * @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)
1007
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1008
- * @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
1009
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1010
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1011
- * @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
1012
- */
1013
- }, {
1014
- key: "dislike",
1015
- value: function dislike(objectid, opts, callback) {
1016
- opts = opts || {};
1017
- var postBody = null;
1018
- // verify the required parameter 'objectid' is set
1019
- if (objectid === undefined || objectid === null) {
1020
- throw new Error("Missing the required parameter 'objectid' when calling dislike");
1021
- }
1022
- var pathParams = {
1023
- 'objectid': objectid
1024
- };
1025
- var queryParams = {};
1026
- var headerParams = {
1027
- 'Authorization': opts['authorization'],
1028
- 'cacheduration': opts['cacheduration'],
1029
- 'cachegroup': opts['cachegroup'],
1030
- 'cachekey': opts['cachekey'],
1031
- 'cachescope': opts['cachescope'],
1032
- 'cacheuser': opts['cacheuser'],
1033
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1034
- 'zeusportal-postas': opts['zeusportalPostas'],
1035
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1036
- 'transactionid': opts['transactionid']
1037
- };
1038
- var formParams = {};
1039
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1040
- var contentTypes = [];
1041
- var accepts = ['*/*'];
1042
- var returnType = null;
1043
- return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1044
- }
1045
-
1046
- /**
1047
- * Callback function to receive the result of the doPostFunction operation.
1048
- * @callback module:api/GraphObjectsApi~doPostFunctionCallback
1049
- * @param {String} error Error message, if any.
1050
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
1051
- * @param {String} response The complete HTTP response.
1052
- */
1053
-
1054
- /**
1055
- * @param {Number} id The id of the object we are calling the function on
1056
- * @param {String} _function
1057
- * @param {Object} opts Optional parameters
1058
- * @param {String} [authorization] The authorization token of the logged in user
1059
- * @param {Number} [cacheduration] The how long the cache entry should persist
1060
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1061
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1062
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1063
- * @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)
1064
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1065
- * @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
1066
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1067
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1068
- * @param {String} [body]
1069
- * @param {module:api/GraphObjectsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
1070
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
1071
- */
1072
- }, {
1073
- key: "doPostFunction",
1074
- value: function doPostFunction(id, _function, opts, callback) {
1075
- opts = opts || {};
1076
- var postBody = opts['body'];
1077
- // verify the required parameter 'id' is set
1078
- if (id === undefined || id === null) {
1079
- throw new Error("Missing the required parameter 'id' when calling doPostFunction");
1080
- }
1081
- // verify the required parameter '_function' is set
1082
- if (_function === undefined || _function === null) {
1083
- throw new Error("Missing the required parameter '_function' when calling doPostFunction");
1084
- }
1085
- var pathParams = {
1086
- 'id': id,
1087
- 'function': _function
1088
- };
1089
- var queryParams = {};
1090
- var headerParams = {
1091
- 'Authorization': opts['authorization'],
1092
- 'cacheduration': opts['cacheduration'],
1093
- 'cachegroup': opts['cachegroup'],
1094
- 'cachekey': opts['cachekey'],
1095
- 'cachescope': opts['cachescope'],
1096
- 'cacheuser': opts['cacheuser'],
1097
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1098
- 'zeusportal-postas': opts['zeusportalPostas'],
1099
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1100
- 'transactionid': opts['transactionid']
1101
- };
1102
- var formParams = {};
1103
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1104
- var contentTypes = ['application/json'];
1105
- var accepts = ['application/json'];
1106
- var returnType = _PurgeDataDefaultResponseValue["default"];
1107
- return this.apiClient.callApi('/graph/data/object/{id}/function/{function}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1108
- }
1109
-
1110
- /**
1111
- * Callback function to receive the result of the follow operation.
1112
- * @callback module:api/GraphObjectsApi~followCallback
1113
- * @param {String} error Error message, if any.
1114
- * @param data This operation does not return a value.
1115
- * @param {String} response The complete HTTP response.
1116
- */
1117
-
1118
- /**
1119
- * @param {Number} id The id of the object being followed
1120
- * @param {Object} opts Optional parameters
1121
- * @param {String} [authorization] The authorization token of the logged in user
1122
- * @param {Number} [cacheduration] The how long the cache entry should persist
1123
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1124
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1125
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1126
- * @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)
1127
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1128
- * @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
1129
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1130
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1131
- * @param {module:api/GraphObjectsApi~followCallback} callback The callback function, accepting three arguments: error, data, response
1132
- */
1133
- }, {
1134
- key: "follow",
1135
- value: function follow(id, opts, callback) {
1136
- opts = opts || {};
1137
- var postBody = null;
1138
- // verify the required parameter 'id' is set
1139
- if (id === undefined || id === null) {
1140
- throw new Error("Missing the required parameter 'id' when calling follow");
1141
- }
1142
- var pathParams = {
1143
- 'id': id
1144
- };
1145
- var queryParams = {};
1146
- var headerParams = {
1147
- 'Authorization': opts['authorization'],
1148
- 'cacheduration': opts['cacheduration'],
1149
- 'cachegroup': opts['cachegroup'],
1150
- 'cachekey': opts['cachekey'],
1151
- 'cachescope': opts['cachescope'],
1152
- 'cacheuser': opts['cacheuser'],
1153
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1154
- 'zeusportal-postas': opts['zeusportalPostas'],
1155
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1156
- 'transactionid': opts['transactionid']
1157
- };
1158
- var formParams = {};
1159
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1160
- var contentTypes = [];
1161
- var accepts = ['application/json'];
1162
- var returnType = null;
1163
- return this.apiClient.callApi('/graph/data/object/{id}/follow', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1164
- }
1165
-
1166
- /**
1167
- * Callback function to receive the result of the get7 operation.
1168
- * @callback module:api/GraphObjectsApi~get7Callback
1169
- * @param {String} error Error message, if any.
1170
- * @param data This operation does not return a value.
1171
- * @param {String} response The complete HTTP response.
1172
- */
1173
-
1174
- /**
1175
- * Root for the API
1176
- * @param {Object} opts Optional parameters
1177
- * @param {String} [authorization] The authorization token of the logged in user
1178
- * @param {Number} [cacheduration] The how long the cache entry should persist
1179
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1180
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1181
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1182
- * @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)
1183
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1184
- * @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
1185
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1186
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1187
- * @param {module:api/GraphObjectsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
1188
- */
1189
- }, {
1190
- key: "get7",
1191
- value: function get7(opts, callback) {
1192
- opts = opts || {};
1193
- var postBody = null;
1194
- var pathParams = {};
1195
- var queryParams = {};
1196
- var headerParams = {
1197
- 'Authorization': opts['authorization'],
1198
- 'cacheduration': opts['cacheduration'],
1199
- 'cachegroup': opts['cachegroup'],
1200
- 'cachekey': opts['cachekey'],
1201
- 'cachescope': opts['cachescope'],
1202
- 'cacheuser': opts['cacheuser'],
1203
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1204
- 'zeusportal-postas': opts['zeusportalPostas'],
1205
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1206
- 'transactionid': opts['transactionid']
1207
- };
1208
- var formParams = {};
1209
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1210
- var contentTypes = [];
1211
- var accepts = ['application/json'];
1212
- var returnType = null;
1213
- return this.apiClient.callApi('/graph/data/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1214
- }
1215
-
1216
- /**
1217
- * Callback function to receive the result of the getActions operation.
1218
- * @callback module:api/GraphObjectsApi~getActionsCallback
1219
- * @param {String} error Error message, if any.
1220
- * @param {Array.<module:model/GraphAction>} data The data returned by the service call.
1221
- * @param {String} response The complete HTTP response.
1222
- */
1223
-
1224
- /**
1225
- * Get Actions
1226
- * Get actions attached to an object
1227
- * @param {Number} id The id of the object that we are retrieving actions on
1228
- * @param {Object} opts Optional parameters
1229
- * @param {String} [authorization] The authorization token of the logged in user
1230
- * @param {Number} [cacheduration] The how long the cache entry should persist
1231
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1232
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1233
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1234
- * @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)
1235
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1236
- * @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
1237
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1238
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1239
- * @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
1240
- * data is of type: {@link Array.<module:model/GraphAction>}
1241
- */
1242
- }, {
1243
- key: "getActions",
1244
- value: function getActions(id, opts, callback) {
1245
- opts = opts || {};
1246
- var postBody = null;
1247
- // verify the required parameter 'id' is set
1248
- if (id === undefined || id === null) {
1249
- throw new Error("Missing the required parameter 'id' when calling getActions");
1250
- }
1251
- var pathParams = {
1252
- 'id': id
1253
- };
1254
- var queryParams = {};
1255
- var headerParams = {
1256
- 'Authorization': opts['authorization'],
1257
- 'cacheduration': opts['cacheduration'],
1258
- 'cachegroup': opts['cachegroup'],
1259
- 'cachekey': opts['cachekey'],
1260
- 'cachescope': opts['cachescope'],
1261
- 'cacheuser': opts['cacheuser'],
1262
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1263
- 'zeusportal-postas': opts['zeusportalPostas'],
1264
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1265
- 'transactionid': opts['transactionid']
1266
- };
1267
- var formParams = {};
1268
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1269
- var contentTypes = [];
1270
- var accepts = ['application/json'];
1271
- var returnType = [_GraphAction["default"]];
1272
- return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1273
- }
1274
-
1275
- /**
1276
- * Callback function to receive the result of the getActionsByType operation.
1277
- * @callback module:api/GraphObjectsApi~getActionsByTypeCallback
1278
- * @param {String} error Error message, if any.
1279
- * @param {Array.<module:model/GraphAction>} data The data returned by the service call.
1280
- * @param {String} response The complete HTTP response.
1281
- */
1282
-
1283
- /**
1284
- * Get Actions By Type
1285
- * Get actions attached to an object by type
1286
- * @param {Number} id
1287
- * @param {Number} actiontypeid
1288
- * @param {Object} opts Optional parameters
1289
- * @param {String} [authorization] The authorization token of the logged in user
1290
- * @param {Number} [cacheduration] The how long the cache entry should persist
1291
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1292
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1293
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1294
- * @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)
1295
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1296
- * @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
1297
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1298
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1299
- * @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
1300
- * data is of type: {@link Array.<module:model/GraphAction>}
1301
- */
1302
- }, {
1303
- key: "getActionsByType",
1304
- value: function getActionsByType(id, actiontypeid, opts, callback) {
1305
- opts = opts || {};
1306
- var postBody = null;
1307
- // verify the required parameter 'id' is set
1308
- if (id === undefined || id === null) {
1309
- throw new Error("Missing the required parameter 'id' when calling getActionsByType");
1310
- }
1311
- // verify the required parameter 'actiontypeid' is set
1312
- if (actiontypeid === undefined || actiontypeid === null) {
1313
- throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
1314
- }
1315
- var pathParams = {
1316
- 'id': id,
1317
- 'actiontypeid': actiontypeid
1318
- };
1319
- var queryParams = {};
1320
- var headerParams = {
1321
- 'Authorization': opts['authorization'],
1322
- 'cacheduration': opts['cacheduration'],
1323
- 'cachegroup': opts['cachegroup'],
1324
- 'cachekey': opts['cachekey'],
1325
- 'cachescope': opts['cachescope'],
1326
- 'cacheuser': opts['cacheuser'],
1327
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1328
- 'zeusportal-postas': opts['zeusportalPostas'],
1329
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1330
- 'transactionid': opts['transactionid']
1331
- };
1332
- var formParams = {};
1333
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1334
- var contentTypes = [];
1335
- var accepts = ['application/json'];
1336
- var returnType = [_GraphAction["default"]];
1337
- return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1338
- }
1339
-
1340
- /**
1341
- * Callback function to receive the result of the getAllRelationships operation.
1342
- * @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
1343
- * @param {String} error Error message, if any.
1344
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
1345
- * @param {String} response The complete HTTP response.
1346
- */
1347
-
1348
- /**
1349
- * Get All Relationships
1350
- * Returns a listing of relationships
1351
- * @param {Number} id The id of the object that we are retrieving relationships on
1352
- * @param {Object} opts Optional parameters
1353
- * @param {String} [authorization] The authorization token of the logged in user
1354
- * @param {Number} [cacheduration] The how long the cache entry should persist
1355
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1356
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1357
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1358
- * @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)
1359
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1360
- * @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
1361
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1362
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1363
- * @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
1364
- * data is of type: {@link Array.<module:model/GraphRelationship>}
1365
- */
1366
- }, {
1367
- key: "getAllRelationships",
1368
- value: function getAllRelationships(id, opts, callback) {
1369
- opts = opts || {};
1370
- var postBody = null;
1371
- // verify the required parameter 'id' is set
1372
- if (id === undefined || id === null) {
1373
- throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
1374
- }
1375
- var pathParams = {
1376
- 'id': id
1377
- };
1378
- var queryParams = {};
1379
- var headerParams = {
1380
- 'Authorization': opts['authorization'],
1381
- 'cacheduration': opts['cacheduration'],
1382
- 'cachegroup': opts['cachegroup'],
1383
- 'cachekey': opts['cachekey'],
1384
- 'cachescope': opts['cachescope'],
1385
- 'cacheuser': opts['cacheuser'],
1386
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1387
- 'zeusportal-postas': opts['zeusportalPostas'],
1388
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1389
- 'transactionid': opts['transactionid']
1390
- };
1391
- var formParams = {};
1392
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1393
- var contentTypes = [];
1394
- var accepts = ['application/json'];
1395
- var returnType = [_GraphRelationship["default"]];
1396
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1397
- }
1398
-
1399
- /**
1400
- * Callback function to receive the result of the getAllRelationshipsByType operation.
1401
- * @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
1402
- * @param {String} error Error message, if any.
1403
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
1404
- * @param {String} response The complete HTTP response.
1405
- */
1406
-
1407
- /**
1408
- * Get All Relationships By Type
1409
- * Returns a listing of relationships
1410
- * @param {Number} id The id of the relationship type we are searching for
1411
- * @param {Number} reltypeid The id of the object that we are retrieving relationships on
1412
- * @param {Object} opts Optional parameters
1413
- * @param {String} [authorization] The authorization token of the logged in user
1414
- * @param {Number} [cacheduration] The how long the cache entry should persist
1415
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1416
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1417
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1418
- * @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)
1419
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1420
- * @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
1421
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1422
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1423
- * @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
1424
- * data is of type: {@link Array.<module:model/GraphRelationship>}
1425
- */
1426
- }, {
1427
- key: "getAllRelationshipsByType",
1428
- value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
1429
- opts = opts || {};
1430
- var postBody = null;
1431
- // verify the required parameter 'id' is set
1432
- if (id === undefined || id === null) {
1433
- throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
1434
- }
1435
- // verify the required parameter 'reltypeid' is set
1436
- if (reltypeid === undefined || reltypeid === null) {
1437
- throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
1438
- }
1439
- var pathParams = {
1440
- 'id': id,
1441
- 'reltypeid': reltypeid
1442
- };
1443
- var queryParams = {};
1444
- var headerParams = {
1445
- 'Authorization': opts['authorization'],
1446
- 'cacheduration': opts['cacheduration'],
1447
- 'cachegroup': opts['cachegroup'],
1448
- 'cachekey': opts['cachekey'],
1449
- 'cachescope': opts['cachescope'],
1450
- 'cacheuser': opts['cacheuser'],
1451
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1452
- 'zeusportal-postas': opts['zeusportalPostas'],
1453
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1454
- 'transactionid': opts['transactionid']
1455
- };
1456
- var formParams = {};
1457
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1458
- var contentTypes = [];
1459
- var accepts = ['application/json'];
1460
- var returnType = [_GraphRelationship["default"]];
1461
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1462
- }
1463
-
1464
- /**
1465
- * Callback function to receive the result of the getComments operation.
1466
- * @callback module:api/GraphObjectsApi~getCommentsCallback
1467
- * @param {String} error Error message, if any.
1468
- * @param {Array.<module:model/Comment>} data The data returned by the service call.
1469
- * @param {String} response The complete HTTP response.
1470
- */
1471
-
1472
- /**
1473
- * @param {Number} objectid
1474
- * @param {Object} opts Optional parameters
1475
- * @param {String} [authorization] The authorization token of the logged in user
1476
- * @param {Number} [cacheduration] The how long the cache entry should persist
1477
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1478
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1479
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1480
- * @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)
1481
- * @param {Number} [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} [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} [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} [transactionid] The id of the transaction this operation is being run in
1485
- * @param {module:api/GraphObjectsApi~getCommentsCallback} callback The callback function, accepting three arguments: error, data, response
1486
- * data is of type: {@link Array.<module:model/Comment>}
1487
- */
1488
- }, {
1489
- key: "getComments",
1490
- value: function getComments(objectid, opts, callback) {
1491
- opts = opts || {};
1492
- var postBody = null;
1493
- // verify the required parameter 'objectid' is set
1494
- if (objectid === undefined || objectid === null) {
1495
- throw new Error("Missing the required parameter 'objectid' when calling getComments");
1496
- }
1497
- var pathParams = {
1498
- 'objectid': objectid
1499
- };
1500
- var queryParams = {};
1501
- var headerParams = {
1502
- 'Authorization': opts['authorization'],
1503
- 'cacheduration': opts['cacheduration'],
1504
- 'cachegroup': opts['cachegroup'],
1505
- 'cachekey': opts['cachekey'],
1506
- 'cachescope': opts['cachescope'],
1507
- 'cacheuser': opts['cacheuser'],
1508
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1509
- 'zeusportal-postas': opts['zeusportalPostas'],
1510
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1511
- 'transactionid': opts['transactionid']
1512
- };
1513
- var formParams = {};
1514
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1515
- var contentTypes = [];
1516
- var accepts = ['application/json'];
1517
- var returnType = [_Comment["default"]];
1518
- return this.apiClient.callApi('/graph/data/object/{objectid}/comments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1519
- }
1520
-
1521
- /**
1522
- * Callback function to receive the result of the getDataSheetImports operation.
1523
- * @callback module:api/GraphObjectsApi~getDataSheetImportsCallback
1524
- * @param {String} error Error message, if any.
1525
- * @param {Array.<module:model/DataSheetImport>} data The data returned by the service call.
1526
- * @param {String} response The complete HTTP response.
1527
- */
1528
-
1529
- /**
1530
- * Get Related Objects
1531
- * Get Related Objects
1532
- * @param {Number} objectid The id of the object we are importing the datasheet to
1533
- * @param {Object} opts Optional parameters
1534
- * @param {String} [authorization] The authorization token of the logged in user
1535
- * @param {Number} [cacheduration] The how long the cache entry should persist
1536
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1537
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1538
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1539
- * @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)
1540
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1541
- * @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
1542
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1543
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1544
- * @param {module:api/GraphObjectsApi~getDataSheetImportsCallback} callback The callback function, accepting three arguments: error, data, response
1545
- * data is of type: {@link Array.<module:model/DataSheetImport>}
1546
- */
1547
- }, {
1548
- key: "getDataSheetImports",
1549
- value: function getDataSheetImports(objectid, opts, callback) {
1550
- opts = opts || {};
1551
- var postBody = null;
1552
- // verify the required parameter 'objectid' is set
1553
- if (objectid === undefined || objectid === null) {
1554
- throw new Error("Missing the required parameter 'objectid' when calling getDataSheetImports");
1555
- }
1556
- var pathParams = {
1557
- 'objectid': objectid
1558
- };
1559
- var queryParams = {};
1560
- var headerParams = {
1561
- 'Authorization': opts['authorization'],
1562
- 'cacheduration': opts['cacheduration'],
1563
- 'cachegroup': opts['cachegroup'],
1564
- 'cachekey': opts['cachekey'],
1565
- 'cachescope': opts['cachescope'],
1566
- 'cacheuser': opts['cacheuser'],
1567
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1568
- 'zeusportal-postas': opts['zeusportalPostas'],
1569
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1570
- 'transactionid': opts['transactionid']
1571
- };
1572
- var formParams = {};
1573
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1574
- var contentTypes = [];
1575
- var accepts = ['application/json'];
1576
- var returnType = [_DataSheetImport["default"]];
1577
- return this.apiClient.callApi('/graph/data/object/{objectid}/datasheetimports', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1578
- }
1579
-
1580
- /**
1581
- * Callback function to receive the result of the getEvents operation.
1582
- * @callback module:api/GraphObjectsApi~getEventsCallback
1583
- * @param {String} error Error message, if any.
1584
- * @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
1585
- * @param {String} response The complete HTTP response.
1586
- */
1587
-
1588
- /**
1589
- * Get Events
1590
- * Returns a listing of meeting events contained in or attached to this object
1591
- * @param {Number} id The id of the object that we are retrieving events for
1592
- * @param {Object} opts Optional parameters
1593
- * @param {String} [authorization] The authorization token of the logged in user
1594
- * @param {Number} [cacheduration] The how long the cache entry should persist
1595
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1596
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1597
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1598
- * @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)
1599
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1600
- * @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
1601
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1602
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1603
- * @param {module:api/GraphObjectsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
1604
- * data is of type: {@link Array.<module:model/MeetingEvent>}
1605
- */
1606
- }, {
1607
- key: "getEvents",
1608
- value: function getEvents(id, opts, callback) {
1609
- opts = opts || {};
1610
- var postBody = null;
1611
- // verify the required parameter 'id' is set
1612
- if (id === undefined || id === null) {
1613
- throw new Error("Missing the required parameter 'id' when calling getEvents");
1614
- }
1615
- var pathParams = {
1616
- 'id': id
1617
- };
1618
- var queryParams = {};
1619
- var headerParams = {
1620
- 'Authorization': opts['authorization'],
1621
- 'cacheduration': opts['cacheduration'],
1622
- 'cachegroup': opts['cachegroup'],
1623
- 'cachekey': opts['cachekey'],
1624
- 'cachescope': opts['cachescope'],
1625
- 'cacheuser': opts['cacheuser'],
1626
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1627
- 'zeusportal-postas': opts['zeusportalPostas'],
1628
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1629
- 'transactionid': opts['transactionid']
1630
- };
1631
- var formParams = {};
1632
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1633
- var contentTypes = [];
1634
- var accepts = ['application/json'];
1635
- var returnType = [_MeetingEvent["default"]];
1636
- return this.apiClient.callApi('/graph/data/object/{id}/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1637
- }
1638
-
1639
- /**
1640
- * Callback function to receive the result of the getEventsDateRange operation.
1641
- * @callback module:api/GraphObjectsApi~getEventsDateRangeCallback
1642
- * @param {String} error Error message, if any.
1643
- * @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
1644
- * @param {String} response The complete HTTP response.
1645
- */
1646
-
1647
- /**
1648
- * Get Events Date Range
1649
- * Returns a listing of meeting events contained in or attached to this object within the specified date range
1650
- * @param {Number} id The id of the object that we are retrieving events for
1651
- * @param {Number} startdate The unix epoch time for the start time of the event
1652
- * @param {Number} enddate The unix epoch time for the end time of the event
1653
- * @param {Object} opts Optional parameters
1654
- * @param {String} [authorization] The authorization token of the logged in user
1655
- * @param {Number} [cacheduration] The how long the cache entry should persist
1656
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1657
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1658
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1659
- * @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)
1660
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1661
- * @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
1662
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1663
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1664
- * @param {module:api/GraphObjectsApi~getEventsDateRangeCallback} callback The callback function, accepting three arguments: error, data, response
1665
- * data is of type: {@link Array.<module:model/MeetingEvent>}
1666
- */
1667
- }, {
1668
- key: "getEventsDateRange",
1669
- value: function getEventsDateRange(id, startdate, enddate, opts, callback) {
1670
- opts = opts || {};
1671
- var postBody = null;
1672
- // verify the required parameter 'id' is set
1673
- if (id === undefined || id === null) {
1674
- throw new Error("Missing the required parameter 'id' when calling getEventsDateRange");
1675
- }
1676
- // verify the required parameter 'startdate' is set
1677
- if (startdate === undefined || startdate === null) {
1678
- throw new Error("Missing the required parameter 'startdate' when calling getEventsDateRange");
1679
- }
1680
- // verify the required parameter 'enddate' is set
1681
- if (enddate === undefined || enddate === null) {
1682
- throw new Error("Missing the required parameter 'enddate' when calling getEventsDateRange");
1683
- }
1684
- var pathParams = {
1685
- 'id': id,
1686
- 'startdate': startdate,
1687
- 'enddate': enddate
1688
- };
1689
- var queryParams = {};
1690
- var headerParams = {
1691
- 'Authorization': opts['authorization'],
1692
- 'cacheduration': opts['cacheduration'],
1693
- 'cachegroup': opts['cachegroup'],
1694
- 'cachekey': opts['cachekey'],
1695
- 'cachescope': opts['cachescope'],
1696
- 'cacheuser': opts['cacheuser'],
1697
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1698
- 'zeusportal-postas': opts['zeusportalPostas'],
1699
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1700
- 'transactionid': opts['transactionid']
1701
- };
1702
- var formParams = {};
1703
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1704
- var contentTypes = [];
1705
- var accepts = ['application/json'];
1706
- var returnType = [_MeetingEvent["default"]];
1707
- return this.apiClient.callApi('/graph/data/object/{id}/events/{startdate}:{enddate}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1708
- }
1709
-
1710
- /**
1711
- * Callback function to receive the result of the getEventsFuture operation.
1712
- * @callback module:api/GraphObjectsApi~getEventsFutureCallback
1713
- * @param {String} error Error message, if any.
1714
- * @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
1715
- * @param {String} response The complete HTTP response.
1716
- */
1717
-
1718
- /**
1719
- * Get Events Future
1720
- * Returns a listing of future meeting events contained in or attached to this object
1721
- * @param {Number} id The id of the object that we are retrieving events for
1722
- * @param {Object} opts Optional parameters
1723
- * @param {String} [authorization] The authorization token of the logged in user
1724
- * @param {Number} [cacheduration] The how long the cache entry should persist
1725
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1726
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1727
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1728
- * @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)
1729
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1730
- * @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
1731
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1732
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1733
- * @param {module:api/GraphObjectsApi~getEventsFutureCallback} callback The callback function, accepting three arguments: error, data, response
1734
- * data is of type: {@link Array.<module:model/MeetingEvent>}
1735
- */
1736
- }, {
1737
- key: "getEventsFuture",
1738
- value: function getEventsFuture(id, opts, callback) {
1739
- opts = opts || {};
1740
- var postBody = null;
1741
- // verify the required parameter 'id' is set
1742
- if (id === undefined || id === null) {
1743
- throw new Error("Missing the required parameter 'id' when calling getEventsFuture");
1744
- }
1745
- var pathParams = {
1746
- 'id': id
1747
- };
1748
- var queryParams = {};
1749
- var headerParams = {
1750
- 'Authorization': opts['authorization'],
1751
- 'cacheduration': opts['cacheduration'],
1752
- 'cachegroup': opts['cachegroup'],
1753
- 'cachekey': opts['cachekey'],
1754
- 'cachescope': opts['cachescope'],
1755
- 'cacheuser': opts['cacheuser'],
1756
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1757
- 'zeusportal-postas': opts['zeusportalPostas'],
1758
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1759
- 'transactionid': opts['transactionid']
1760
- };
1761
- var formParams = {};
1762
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1763
- var contentTypes = [];
1764
- var accepts = ['application/json'];
1765
- var returnType = [_MeetingEvent["default"]];
1766
- return this.apiClient.callApi('/graph/data/object/{id}/events/future', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1767
- }
1768
-
1769
- /**
1770
- * Callback function to receive the result of the getEventsPast operation.
1771
- * @callback module:api/GraphObjectsApi~getEventsPastCallback
1772
- * @param {String} error Error message, if any.
1773
- * @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
1774
- * @param {String} response The complete HTTP response.
1775
- */
1776
-
1777
- /**
1778
- * Get Events
1779
- * Returns a listing of past meeting events contained in or attached to this object
1780
- * @param {Number} id The id of the object that we are retrieving events for
1781
- * @param {Object} opts Optional parameters
1782
- * @param {String} [authorization] The authorization token of the logged in user
1783
- * @param {Number} [cacheduration] The how long the cache entry should persist
1784
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1785
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1786
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1787
- * @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)
1788
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1789
- * @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
1790
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1791
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1792
- * @param {module:api/GraphObjectsApi~getEventsPastCallback} callback The callback function, accepting three arguments: error, data, response
1793
- * data is of type: {@link Array.<module:model/MeetingEvent>}
1794
- */
1795
- }, {
1796
- key: "getEventsPast",
1797
- value: function getEventsPast(id, opts, callback) {
1798
- opts = opts || {};
1799
- var postBody = null;
1800
- // verify the required parameter 'id' is set
1801
- if (id === undefined || id === null) {
1802
- throw new Error("Missing the required parameter 'id' when calling getEventsPast");
1803
- }
1804
- var pathParams = {
1805
- 'id': id
1806
- };
1807
- var queryParams = {};
1808
- var headerParams = {
1809
- 'Authorization': opts['authorization'],
1810
- 'cacheduration': opts['cacheduration'],
1811
- 'cachegroup': opts['cachegroup'],
1812
- 'cachekey': opts['cachekey'],
1813
- 'cachescope': opts['cachescope'],
1814
- 'cacheuser': opts['cacheuser'],
1815
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1816
- 'zeusportal-postas': opts['zeusportalPostas'],
1817
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1818
- 'transactionid': opts['transactionid']
1819
- };
1820
- var formParams = {};
1821
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1822
- var contentTypes = [];
1823
- var accepts = ['application/json'];
1824
- var returnType = [_MeetingEvent["default"]];
1825
- return this.apiClient.callApi('/graph/data/object/{id}/events/past', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1826
- }
1827
-
1828
- /**
1829
- * Callback function to receive the result of the getFiles operation.
1830
- * @callback module:api/GraphObjectsApi~getFilesCallback
1831
- * @param {String} error Error message, if any.
1832
- * @param {Array.<File>} data The data returned by the service call.
1833
- * @param {String} response The complete HTTP response.
1834
- */
1835
-
1836
- /**
1837
- * @param {Number} id
1838
- * @param {Object} opts Optional parameters
1839
- * @param {String} [authorization] The authorization token of the logged in user
1840
- * @param {Number} [cacheduration] The how long the cache entry should persist
1841
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1842
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1843
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1844
- * @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)
1845
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1846
- * @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
1847
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1848
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1849
- * @param {module:api/GraphObjectsApi~getFilesCallback} callback The callback function, accepting three arguments: error, data, response
1850
- * data is of type: {@link Array.<File>}
1851
- */
1852
- }, {
1853
- key: "getFiles",
1854
- value: function getFiles(id, opts, callback) {
1855
- opts = opts || {};
1856
- var postBody = null;
1857
- // verify the required parameter 'id' is set
1858
- if (id === undefined || id === null) {
1859
- throw new Error("Missing the required parameter 'id' when calling getFiles");
1860
- }
1861
- var pathParams = {
1862
- 'id': id
1863
- };
1864
- var queryParams = {};
1865
- var headerParams = {
1866
- 'Authorization': opts['authorization'],
1867
- 'cacheduration': opts['cacheduration'],
1868
- 'cachegroup': opts['cachegroup'],
1869
- 'cachekey': opts['cachekey'],
1870
- 'cachescope': opts['cachescope'],
1871
- 'cacheuser': opts['cacheuser'],
1872
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1873
- 'zeusportal-postas': opts['zeusportalPostas'],
1874
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1875
- 'transactionid': opts['transactionid']
1876
- };
1877
- var formParams = {};
1878
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1879
- var contentTypes = [];
1880
- var accepts = ['application/json'];
1881
- var returnType = [File];
1882
- return this.apiClient.callApi('/graph/data/object/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1883
- }
1884
-
1885
- /**
1886
- * Callback function to receive the result of the getGeocodes operation.
1887
- * @callback module:api/GraphObjectsApi~getGeocodesCallback
1888
- * @param {String} error Error message, if any.
1889
- * @param {Array.<module:model/GraphGeocode>} data The data returned by the service call.
1890
- * @param {String} response The complete HTTP response.
1891
- */
1892
-
1893
- /**
1894
- * @param {Number} id The id of the object to retrieve the geolocation information
1895
- * @param {Object} opts Optional parameters
1896
- * @param {String} [authorization] The authorization token of the logged in user
1897
- * @param {Number} [cacheduration] The how long the cache entry should persist
1898
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1899
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1900
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1901
- * @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)
1902
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1903
- * @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
1904
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1905
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1906
- * @param {module:api/GraphObjectsApi~getGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
1907
- * data is of type: {@link Array.<module:model/GraphGeocode>}
1908
- */
1909
- }, {
1910
- key: "getGeocodes",
1911
- value: function getGeocodes(id, opts, callback) {
1912
- opts = opts || {};
1913
- var postBody = null;
1914
- // verify the required parameter 'id' is set
1915
- if (id === undefined || id === null) {
1916
- throw new Error("Missing the required parameter 'id' when calling getGeocodes");
1917
- }
1918
- var pathParams = {
1919
- 'id': id
1920
- };
1921
- var queryParams = {};
1922
- var headerParams = {
1923
- 'Authorization': opts['authorization'],
1924
- 'cacheduration': opts['cacheduration'],
1925
- 'cachegroup': opts['cachegroup'],
1926
- 'cachekey': opts['cachekey'],
1927
- 'cachescope': opts['cachescope'],
1928
- 'cacheuser': opts['cacheuser'],
1929
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1930
- 'zeusportal-postas': opts['zeusportalPostas'],
1931
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1932
- 'transactionid': opts['transactionid']
1933
- };
1934
- var formParams = {};
1935
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1936
- var contentTypes = [];
1937
- var accepts = ['application/json'];
1938
- var returnType = [_GraphGeocode["default"]];
1939
- return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1940
- }
1941
-
1942
- /**
1943
- * Callback function to receive the result of the getGraphs operation.
1944
- * @callback module:api/GraphObjectsApi~getGraphsCallback
1945
- * @param {String} error Error message, if any.
1946
- * @param {Array.<module:model/Graph>} data The data returned by the service call.
1947
- * @param {String} response The complete HTTP response.
1948
- */
1949
-
1950
- /**
1951
- * @param {Number} id The id of the object whose graphs we are retrieving
1952
- * @param {Object} opts Optional parameters
1953
- * @param {String} [authorization] The authorization token of the logged in user
1954
- * @param {Number} [cacheduration] The how long the cache entry should persist
1955
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1956
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1957
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1958
- * @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)
1959
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1960
- * @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
1961
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1962
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1963
- * @param {module:api/GraphObjectsApi~getGraphsCallback} callback The callback function, accepting three arguments: error, data, response
1964
- * data is of type: {@link Array.<module:model/Graph>}
1965
- */
1966
- }, {
1967
- key: "getGraphs",
1968
- value: function getGraphs(id, opts, callback) {
1969
- opts = opts || {};
1970
- var postBody = null;
1971
- // verify the required parameter 'id' is set
1972
- if (id === undefined || id === null) {
1973
- throw new Error("Missing the required parameter 'id' when calling getGraphs");
1974
- }
1975
- var pathParams = {
1976
- 'id': id
1977
- };
1978
- var queryParams = {};
1979
- var headerParams = {
1980
- 'Authorization': opts['authorization'],
1981
- 'cacheduration': opts['cacheduration'],
1982
- 'cachegroup': opts['cachegroup'],
1983
- 'cachekey': opts['cachekey'],
1984
- 'cachescope': opts['cachescope'],
1985
- 'cacheuser': opts['cacheuser'],
1986
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1987
- 'zeusportal-postas': opts['zeusportalPostas'],
1988
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1989
- 'transactionid': opts['transactionid']
1990
- };
1991
- var formParams = {};
1992
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1993
- var contentTypes = [];
1994
- var accepts = ['application/json'];
1995
- var returnType = [_Graph["default"]];
1996
- return this.apiClient.callApi('/graph/data/object/{id}/graphs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1997
- }
1998
-
1999
- /**
2000
- * Callback function to receive the result of the getImages operation.
2001
- * @callback module:api/GraphObjectsApi~getImagesCallback
2002
- * @param {String} error Error message, if any.
2003
- * @param {Array.<module:model/Image>} data The data returned by the service call.
2004
- * @param {String} response The complete HTTP response.
2005
- */
2006
-
2007
- /**
2008
- * @param {Number} id
2009
- * @param {Object} opts Optional parameters
2010
- * @param {String} [authorization] The authorization token of the logged in user
2011
- * @param {Number} [cacheduration] The how long the cache entry should persist
2012
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2013
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2014
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2015
- * @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)
2016
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2017
- * @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
2018
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2019
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2020
- * @param {module:api/GraphObjectsApi~getImagesCallback} callback The callback function, accepting three arguments: error, data, response
2021
- * data is of type: {@link Array.<module:model/Image>}
2022
- */
2023
- }, {
2024
- key: "getImages",
2025
- value: function getImages(id, opts, callback) {
2026
- opts = opts || {};
2027
- var postBody = null;
2028
- // verify the required parameter 'id' is set
2029
- if (id === undefined || id === null) {
2030
- throw new Error("Missing the required parameter 'id' when calling getImages");
2031
- }
2032
- var pathParams = {
2033
- 'id': id
2034
- };
2035
- var queryParams = {};
2036
- var headerParams = {
2037
- 'Authorization': opts['authorization'],
2038
- 'cacheduration': opts['cacheduration'],
2039
- 'cachegroup': opts['cachegroup'],
2040
- 'cachekey': opts['cachekey'],
2041
- 'cachescope': opts['cachescope'],
2042
- 'cacheuser': opts['cacheuser'],
2043
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2044
- 'zeusportal-postas': opts['zeusportalPostas'],
2045
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2046
- 'transactionid': opts['transactionid']
2047
- };
2048
- var formParams = {};
2049
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2050
- var contentTypes = [];
2051
- var accepts = ['application/json'];
2052
- var returnType = [_Image["default"]];
2053
- return this.apiClient.callApi('/graph/data/object/{id}/images', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2054
- }
2055
-
2056
- /**
2057
- * Callback function to receive the result of the getNewsfeed operation.
2058
- * @callback module:api/GraphObjectsApi~getNewsfeedCallback
2059
- * @param {String} error Error message, if any.
2060
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
2061
- * @param {String} response The complete HTTP response.
2062
- */
2063
-
2064
- /**
2065
- * @param {Number} id The id of the object that we are retrieving news feed items for
2066
- * @param {Object} opts Optional parameters
2067
- * @param {String} [authorization] The authorization token of the logged in user
2068
- * @param {Number} [cacheduration] The how long the cache entry should persist
2069
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2070
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2071
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2072
- * @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)
2073
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2074
- * @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
2075
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2076
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2077
- * @param {module:api/GraphObjectsApi~getNewsfeedCallback} callback The callback function, accepting three arguments: error, data, response
2078
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
2079
- */
2080
- }, {
2081
- key: "getNewsfeed",
2082
- value: function getNewsfeed(id, opts, callback) {
2083
- opts = opts || {};
2084
- var postBody = null;
2085
- // verify the required parameter 'id' is set
2086
- if (id === undefined || id === null) {
2087
- throw new Error("Missing the required parameter 'id' when calling getNewsfeed");
2088
- }
2089
- var pathParams = {
2090
- 'id': id
2091
- };
2092
- var queryParams = {};
2093
- var headerParams = {
2094
- 'Authorization': opts['authorization'],
2095
- 'cacheduration': opts['cacheduration'],
2096
- 'cachegroup': opts['cachegroup'],
2097
- 'cachekey': opts['cachekey'],
2098
- 'cachescope': opts['cachescope'],
2099
- 'cacheuser': opts['cacheuser'],
2100
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2101
- 'zeusportal-postas': opts['zeusportalPostas'],
2102
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2103
- 'transactionid': opts['transactionid']
2104
- };
2105
- var formParams = {};
2106
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2107
- var contentTypes = [];
2108
- var accepts = ['application/json'];
2109
- var returnType = _PurgeDataDefaultResponseValue["default"];
2110
- return this.apiClient.callApi('/graph/data/object/{id}/newsfeed', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2111
- }
2112
-
2113
- /**
2114
- * Callback function to receive the result of the getNewsfeedIndexed operation.
2115
- * @callback module:api/GraphObjectsApi~getNewsfeedIndexedCallback
2116
- * @param {String} error Error message, if any.
2117
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
2118
- * @param {String} response The complete HTTP response.
2119
- */
2120
-
2121
- /**
2122
- * @param {Number} id The id of the object that we are retrieving news feed items for
2123
- * @param {Number} start
2124
- * @param {Number} end
2125
- * @param {Object} opts Optional parameters
2126
- * @param {String} [authorization] The authorization token of the logged in user
2127
- * @param {Number} [cacheduration] The how long the cache entry should persist
2128
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2129
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2130
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2131
- * @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)
2132
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2133
- * @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
2134
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2135
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2136
- * @param {module:api/GraphObjectsApi~getNewsfeedIndexedCallback} callback The callback function, accepting three arguments: error, data, response
2137
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
2138
- */
2139
- }, {
2140
- key: "getNewsfeedIndexed",
2141
- value: function getNewsfeedIndexed(id, start, end, opts, callback) {
2142
- opts = opts || {};
2143
- var postBody = null;
2144
- // verify the required parameter 'id' is set
2145
- if (id === undefined || id === null) {
2146
- throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexed");
2147
- }
2148
- // verify the required parameter 'start' is set
2149
- if (start === undefined || start === null) {
2150
- throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexed");
2151
- }
2152
- // verify the required parameter 'end' is set
2153
- if (end === undefined || end === null) {
2154
- throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexed");
2155
- }
2156
- var pathParams = {
2157
- 'id': id,
2158
- 'start': start,
2159
- 'end': end
2160
- };
2161
- var queryParams = {};
2162
- var headerParams = {
2163
- 'Authorization': opts['authorization'],
2164
- 'cacheduration': opts['cacheduration'],
2165
- 'cachegroup': opts['cachegroup'],
2166
- 'cachekey': opts['cachekey'],
2167
- 'cachescope': opts['cachescope'],
2168
- 'cacheuser': opts['cacheuser'],
2169
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2170
- 'zeusportal-postas': opts['zeusportalPostas'],
2171
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2172
- 'transactionid': opts['transactionid']
2173
- };
2174
- var formParams = {};
2175
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2176
- var contentTypes = [];
2177
- var accepts = ['application/json'];
2178
- var returnType = _PurgeDataDefaultResponseValue["default"];
2179
- return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}-{end}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2180
- }
2181
-
2182
- /**
2183
- * Callback function to receive the result of the getNewsfeedIndexedStart operation.
2184
- * @callback module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback
2185
- * @param {String} error Error message, if any.
2186
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
2187
- * @param {String} response The complete HTTP response.
2188
- */
2189
-
2190
- /**
2191
- * @param {Number} id The id of the object that we are retrieving news feed items for
2192
- * @param {Number} start
2193
- * @param {Number} end
2194
- * @param {Object} opts Optional parameters
2195
- * @param {String} [authorization] The authorization token of the logged in user
2196
- * @param {Number} [cacheduration] The how long the cache entry should persist
2197
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2198
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2199
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2200
- * @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)
2201
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2202
- * @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
2203
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2204
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2205
- * @param {module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback} callback The callback function, accepting three arguments: error, data, response
2206
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
2207
- */
2208
- }, {
2209
- key: "getNewsfeedIndexedStart",
2210
- value: function getNewsfeedIndexedStart(id, start, end, opts, callback) {
2211
- opts = opts || {};
2212
- var postBody = null;
2213
- // verify the required parameter 'id' is set
2214
- if (id === undefined || id === null) {
2215
- throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexedStart");
2216
- }
2217
- // verify the required parameter 'start' is set
2218
- if (start === undefined || start === null) {
2219
- throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexedStart");
2220
- }
2221
- // verify the required parameter 'end' is set
2222
- if (end === undefined || end === null) {
2223
- throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexedStart");
2224
- }
2225
- var pathParams = {
2226
- 'id': id,
2227
- 'start': start,
2228
- 'end': end
2229
- };
2230
- var queryParams = {};
2231
- var headerParams = {
2232
- 'Authorization': opts['authorization'],
2233
- 'cacheduration': opts['cacheduration'],
2234
- 'cachegroup': opts['cachegroup'],
2235
- 'cachekey': opts['cachekey'],
2236
- 'cachescope': opts['cachescope'],
2237
- 'cacheuser': opts['cacheuser'],
2238
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2239
- 'zeusportal-postas': opts['zeusportalPostas'],
2240
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2241
- 'transactionid': opts['transactionid']
2242
- };
2243
- var formParams = {};
2244
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2245
- var contentTypes = [];
2246
- var accepts = ['application/json'];
2247
- var returnType = _PurgeDataDefaultResponseValue["default"];
2248
- return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2249
- }
2250
-
2251
- /**
2252
- * Callback function to receive the result of the getObjectById operation.
2253
- * @callback module:api/GraphObjectsApi~getObjectByIdCallback
2254
- * @param {String} error Error message, if any.
2255
- * @param {module:model/GraphObjectSchema} data The data returned by the service call.
2256
- * @param {String} response The complete HTTP response.
2257
- */
2258
-
2259
- /**
2260
- * Gets object by id
2261
- * @param {Number} id The id of the object that we are retreiving
2262
- * @param {Object} opts Optional parameters
2263
- * @param {String} [authorization] The authorization token of the logged in user
2264
- * @param {Number} [cacheduration] The how long the cache entry should persist
2265
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2266
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2267
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2268
- * @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)
2269
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2270
- * @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
2271
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2272
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2273
- * @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
2274
- * data is of type: {@link module:model/GraphObjectSchema}
2275
- */
2276
- }, {
2277
- key: "getObjectById",
2278
- value: function getObjectById(id, opts, callback) {
2279
- opts = opts || {};
2280
- var postBody = null;
2281
- // verify the required parameter 'id' is set
2282
- if (id === undefined || id === null) {
2283
- throw new Error("Missing the required parameter 'id' when calling getObjectById");
2284
- }
2285
- var pathParams = {
2286
- 'id': id
2287
- };
2288
- var queryParams = {};
2289
- var headerParams = {
2290
- 'Authorization': opts['authorization'],
2291
- 'cacheduration': opts['cacheduration'],
2292
- 'cachegroup': opts['cachegroup'],
2293
- 'cachekey': opts['cachekey'],
2294
- 'cachescope': opts['cachescope'],
2295
- 'cacheuser': opts['cacheuser'],
2296
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2297
- 'zeusportal-postas': opts['zeusportalPostas'],
2298
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2299
- 'transactionid': opts['transactionid']
2300
- };
2301
- var formParams = {};
2302
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2303
- var contentTypes = [];
2304
- var accepts = ['application/json'];
2305
- var returnType = _GraphObjectSchema["default"];
2306
- return this.apiClient.callApi('/graph/data/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2307
- }
2308
-
2309
- /**
2310
- * Callback function to receive the result of the getObjectByKey operation.
2311
- * @callback module:api/GraphObjectsApi~getObjectByKeyCallback
2312
- * @param {String} error Error message, if any.
2313
- * @param {module:model/GraphObjectSchema} data The data returned by the service call.
2314
- * @param {String} response The complete HTTP response.
2315
- */
2316
-
2317
- /**
2318
- * Get Object By Key
2319
- * Get An Object By it's key identifier
2320
- * @param {String} key The unique key of the object we are retrieving
2321
- * @param {Object} opts Optional parameters
2322
- * @param {String} [authorization] The authorization token of the logged in user
2323
- * @param {Number} [cacheduration] The how long the cache entry should persist
2324
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2325
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2326
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2327
- * @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)
2328
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2329
- * @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
2330
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2331
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2332
- * @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
2333
- * data is of type: {@link module:model/GraphObjectSchema}
2334
- */
2335
- }, {
2336
- key: "getObjectByKey",
2337
- value: function getObjectByKey(key, opts, callback) {
2338
- opts = opts || {};
2339
- var postBody = null;
2340
- // verify the required parameter 'key' is set
2341
- if (key === undefined || key === null) {
2342
- throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
2343
- }
2344
- var pathParams = {
2345
- 'key': key
2346
- };
2347
- var queryParams = {};
2348
- var headerParams = {
2349
- 'Authorization': opts['authorization'],
2350
- 'cacheduration': opts['cacheduration'],
2351
- 'cachegroup': opts['cachegroup'],
2352
- 'cachekey': opts['cachekey'],
2353
- 'cachescope': opts['cachescope'],
2354
- 'cacheuser': opts['cacheuser'],
2355
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2356
- 'zeusportal-postas': opts['zeusportalPostas'],
2357
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2358
- 'transactionid': opts['transactionid']
2359
- };
2360
- var formParams = {};
2361
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2362
- var contentTypes = [];
2363
- var accepts = ['application/json'];
2364
- var returnType = _GraphObjectSchema["default"];
2365
- return this.apiClient.callApi('/graph/data/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2366
- }
2367
-
2368
- /**
2369
- * Callback function to receive the result of the getObjectFromSchema operation.
2370
- * @callback module:api/GraphObjectsApi~getObjectFromSchemaCallback
2371
- * @param {String} error Error message, if any.
2372
- * @param {module:model/GraphObjectSchema} data The data returned by the service call.
2373
- * @param {String} response The complete HTTP response.
2374
- */
2375
-
2376
- /**
2377
- * Get Object From Schema
2378
- * Get the object representation of the Graph Schema
2379
- * @param {String} schemakey The unique id of the graph schema we are retrieving
2380
- * @param {Object} opts Optional parameters
2381
- * @param {String} [authorization] The authorization token of the logged in user
2382
- * @param {Number} [cacheduration] The how long the cache entry should persist
2383
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2384
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2385
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2386
- * @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)
2387
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2388
- * @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
2389
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2390
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2391
- * @param {module:api/GraphObjectsApi~getObjectFromSchemaCallback} callback The callback function, accepting three arguments: error, data, response
2392
- * data is of type: {@link module:model/GraphObjectSchema}
2393
- */
2394
- }, {
2395
- key: "getObjectFromSchema",
2396
- value: function getObjectFromSchema(schemakey, opts, callback) {
2397
- opts = opts || {};
2398
- var postBody = null;
2399
- // verify the required parameter 'schemakey' is set
2400
- if (schemakey === undefined || schemakey === null) {
2401
- throw new Error("Missing the required parameter 'schemakey' when calling getObjectFromSchema");
2402
- }
2403
- var pathParams = {
2404
- 'schemakey': schemakey
2405
- };
2406
- var queryParams = {};
2407
- var headerParams = {
2408
- 'Authorization': opts['authorization'],
2409
- 'cacheduration': opts['cacheduration'],
2410
- 'cachegroup': opts['cachegroup'],
2411
- 'cachekey': opts['cachekey'],
2412
- 'cachescope': opts['cachescope'],
2413
- 'cacheuser': opts['cacheuser'],
2414
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2415
- 'zeusportal-postas': opts['zeusportalPostas'],
2416
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2417
- 'transactionid': opts['transactionid']
2418
- };
2419
- var formParams = {};
2420
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2421
- var contentTypes = [];
2422
- var accepts = ['application/json'];
2423
- var returnType = _GraphObjectSchema["default"];
2424
- return this.apiClient.callApi('/graph/data/object/schema/{schemakey}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2425
- }
2426
-
2427
- /**
2428
- * Callback function to receive the result of the getObjectProperties operation.
2429
- * @callback module:api/GraphObjectsApi~getObjectPropertiesCallback
2430
- * @param {String} error Error message, if any.
2431
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
2432
- * @param {String} response The complete HTTP response.
2433
- */
2434
-
2435
- /**
2436
- * Get Properties
2437
- * Get all properties attached to an object
2438
- * @param {Number} id The id of the object whose properties we are retrieve
2439
- * @param {Object} opts Optional parameters
2440
- * @param {String} [authorization] The authorization token of the logged in user
2441
- * @param {Number} [cacheduration] The how long the cache entry should persist
2442
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2443
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2444
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2445
- * @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)
2446
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2447
- * @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
2448
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2449
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2450
- * @param {module:api/GraphObjectsApi~getObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
2451
- * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
2452
- */
2453
- }, {
2454
- key: "getObjectProperties",
2455
- value: function getObjectProperties(id, opts, callback) {
2456
- opts = opts || {};
2457
- var postBody = null;
2458
- // verify the required parameter 'id' is set
2459
- if (id === undefined || id === null) {
2460
- throw new Error("Missing the required parameter 'id' when calling getObjectProperties");
2461
- }
2462
- var pathParams = {
2463
- 'id': id
2464
- };
2465
- var queryParams = {};
2466
- var headerParams = {
2467
- 'Authorization': opts['authorization'],
2468
- 'cacheduration': opts['cacheduration'],
2469
- 'cachegroup': opts['cachegroup'],
2470
- 'cachekey': opts['cachekey'],
2471
- 'cachescope': opts['cachescope'],
2472
- 'cacheuser': opts['cacheuser'],
2473
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2474
- 'zeusportal-postas': opts['zeusportalPostas'],
2475
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2476
- 'transactionid': opts['transactionid']
2477
- };
2478
- var formParams = {};
2479
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2480
- var contentTypes = [];
2481
- var accepts = ['application/json'];
2482
- var returnType = {
2483
- 'String': _PurgeDataDefaultResponseValue["default"]
2484
- };
2485
- return this.apiClient.callApi('/graph/data/object/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2486
- }
2487
-
2488
- /**
2489
- * Callback function to receive the result of the getObjectProperty operation.
2490
- * @callback module:api/GraphObjectsApi~getObjectPropertyCallback
2491
- * @param {String} error Error message, if any.
2492
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
2493
- * @param {String} response The complete HTTP response.
2494
- */
2495
-
2496
- /**
2497
- * Get Property
2498
- * Get a single property attached to an object
2499
- * @param {Number} id The id of the object whose properties we are retrieve
2500
- * @param {String} prop The property is retrieving
2501
- * @param {Object} opts Optional parameters
2502
- * @param {String} [authorization] The authorization token of the logged in user
2503
- * @param {Number} [cacheduration] The how long the cache entry should persist
2504
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2505
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2506
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2507
- * @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)
2508
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2509
- * @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
2510
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2511
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2512
- * @param {module:api/GraphObjectsApi~getObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
2513
- * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
2514
- */
2515
- }, {
2516
- key: "getObjectProperty",
2517
- value: function getObjectProperty(id, prop, opts, callback) {
2518
- opts = opts || {};
2519
- var postBody = null;
2520
- // verify the required parameter 'id' is set
2521
- if (id === undefined || id === null) {
2522
- throw new Error("Missing the required parameter 'id' when calling getObjectProperty");
2523
- }
2524
- // verify the required parameter 'prop' is set
2525
- if (prop === undefined || prop === null) {
2526
- throw new Error("Missing the required parameter 'prop' when calling getObjectProperty");
2527
- }
2528
- var pathParams = {
2529
- 'id': id,
2530
- 'prop': prop
2531
- };
2532
- var queryParams = {};
2533
- var headerParams = {
2534
- 'Authorization': opts['authorization'],
2535
- 'cacheduration': opts['cacheduration'],
2536
- 'cachegroup': opts['cachegroup'],
2537
- 'cachekey': opts['cachekey'],
2538
- 'cachescope': opts['cachescope'],
2539
- 'cacheuser': opts['cacheuser'],
2540
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2541
- 'zeusportal-postas': opts['zeusportalPostas'],
2542
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2543
- 'transactionid': opts['transactionid']
2544
- };
2545
- var formParams = {};
2546
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2547
- var contentTypes = [];
2548
- var accepts = ['application/json'];
2549
- var returnType = {
2550
- 'String': _PurgeDataDefaultResponseValue["default"]
2551
- };
2552
- return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2553
- }
2554
-
2555
- /**
2556
- * Callback function to receive the result of the getObjectsInGraph operation.
2557
- * @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
2558
- * @param {String} error Error message, if any.
2559
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
2560
- * @param {String} response The complete HTTP response.
2561
- */
2562
-
2563
- /**
2564
- * Get objects in the graph
2565
- * @param {Number} id
2566
- * @param {Object} opts Optional parameters
2567
- * @param {String} [authorization] The authorization token of the logged in user
2568
- * @param {Number} [cacheduration] The how long the cache entry should persist
2569
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2570
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2571
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2572
- * @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)
2573
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2574
- * @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
2575
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2576
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2577
- * @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
2578
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
2579
- */
2580
- }, {
2581
- key: "getObjectsInGraph",
2582
- value: function getObjectsInGraph(id, opts, callback) {
2583
- opts = opts || {};
2584
- var postBody = null;
2585
- // verify the required parameter 'id' is set
2586
- if (id === undefined || id === null) {
2587
- throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
2588
- }
2589
- var pathParams = {
2590
- 'id': id
2591
- };
2592
- var queryParams = {};
2593
- var headerParams = {
2594
- 'Authorization': opts['authorization'],
2595
- 'cacheduration': opts['cacheduration'],
2596
- 'cachegroup': opts['cachegroup'],
2597
- 'cachekey': opts['cachekey'],
2598
- 'cachescope': opts['cachescope'],
2599
- 'cacheuser': opts['cacheuser'],
2600
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2601
- 'zeusportal-postas': opts['zeusportalPostas'],
2602
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2603
- 'transactionid': opts['transactionid']
2604
- };
2605
- var formParams = {};
2606
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2607
- var contentTypes = [];
2608
- var accepts = ['application/json'];
2609
- var returnType = [_GraphObjectSchema["default"]];
2610
- return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2611
- }
2612
-
2613
- /**
2614
- * Callback function to receive the result of the getObjectsInGraphByTag operation.
2615
- * @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
2616
- * @param {String} error Error message, if any.
2617
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
2618
- * @param {String} response The complete HTTP response.
2619
- */
2620
-
2621
- /**
2622
- * Get objects in the graph with the given tag
2623
- * @param {Number} id
2624
- * @param {String} tag
2625
- * @param {Object} opts Optional parameters
2626
- * @param {String} [authorization] The authorization token of the logged in user
2627
- * @param {Number} [cacheduration] The how long the cache entry should persist
2628
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2629
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2630
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2631
- * @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)
2632
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2633
- * @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
2634
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2635
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2636
- * @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
2637
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
2638
- */
2639
- }, {
2640
- key: "getObjectsInGraphByTag",
2641
- value: function getObjectsInGraphByTag(id, tag, opts, callback) {
2642
- opts = opts || {};
2643
- var postBody = null;
2644
- // verify the required parameter 'id' is set
2645
- if (id === undefined || id === null) {
2646
- throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
2647
- }
2648
- // verify the required parameter 'tag' is set
2649
- if (tag === undefined || tag === null) {
2650
- throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
2651
- }
2652
- var pathParams = {
2653
- 'id': id,
2654
- 'tag': tag
2655
- };
2656
- var queryParams = {};
2657
- var headerParams = {
2658
- 'Authorization': opts['authorization'],
2659
- 'cacheduration': opts['cacheduration'],
2660
- 'cachegroup': opts['cachegroup'],
2661
- 'cachekey': opts['cachekey'],
2662
- 'cachescope': opts['cachescope'],
2663
- 'cacheuser': opts['cacheuser'],
2664
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2665
- 'zeusportal-postas': opts['zeusportalPostas'],
2666
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2667
- 'transactionid': opts['transactionid']
2668
- };
2669
- var formParams = {};
2670
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2671
- var contentTypes = [];
2672
- var accepts = ['application/json'];
2673
- var returnType = [_GraphObjectSchema["default"]];
2674
- return this.apiClient.callApi('/graph/data/graph/{id}/objects/tag/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2675
- }
2676
-
2677
- /**
2678
- * Callback function to receive the result of the getObjectsInGraphByType operation.
2679
- * @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
2680
- * @param {String} error Error message, if any.
2681
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
2682
- * @param {String} response The complete HTTP response.
2683
- */
2684
-
2685
- /**
2686
- * Get objects in the graph with the given object type
2687
- * @param {Number} id
2688
- * @param {String} type
2689
- * @param {Object} opts Optional parameters
2690
- * @param {String} [authorization] The authorization token of the logged in user
2691
- * @param {Number} [cacheduration] The how long the cache entry should persist
2692
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2693
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2694
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2695
- * @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)
2696
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2697
- * @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
2698
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2699
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2700
- * @param {Number} [page]
2701
- * @param {Number} [size]
2702
- * @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
2703
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
2704
- */
2705
- }, {
2706
- key: "getObjectsInGraphByType",
2707
- value: function getObjectsInGraphByType(id, type, opts, callback) {
2708
- opts = opts || {};
2709
- var postBody = null;
2710
- // verify the required parameter 'id' is set
2711
- if (id === undefined || id === null) {
2712
- throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
2713
- }
2714
- // verify the required parameter 'type' is set
2715
- if (type === undefined || type === null) {
2716
- throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
2717
- }
2718
- var pathParams = {
2719
- 'id': id,
2720
- 'type': type
2721
- };
2722
- var queryParams = {
2723
- 'page': opts['page'],
2724
- 'size': opts['size']
2725
- };
2726
- var headerParams = {
2727
- 'Authorization': opts['authorization'],
2728
- 'cacheduration': opts['cacheduration'],
2729
- 'cachegroup': opts['cachegroup'],
2730
- 'cachekey': opts['cachekey'],
2731
- 'cachescope': opts['cachescope'],
2732
- 'cacheuser': opts['cacheuser'],
2733
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2734
- 'zeusportal-postas': opts['zeusportalPostas'],
2735
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2736
- 'transactionid': opts['transactionid']
2737
- };
2738
- var formParams = {};
2739
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2740
- var contentTypes = [];
2741
- var accepts = ['application/json'];
2742
- var returnType = [_GraphObjectSchema["default"]];
2743
- return this.apiClient.callApi('/graph/data/graph/{id}/objects/type/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2744
- }
2745
-
2746
- /**
2747
- * Callback function to receive the result of the getRelatedObjects operation.
2748
- * @callback module:api/GraphObjectsApi~getRelatedObjectsCallback
2749
- * @param {String} error Error message, if any.
2750
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
2751
- * @param {String} response The complete HTTP response.
2752
- */
2753
-
2754
- /**
2755
- * Get Related Objects
2756
- * Get Related Objects by relationship type
2757
- * @param {Number} objectid The id of the object that we are retreiving related objects from
2758
- * @param {Number} reltypeid The relationship type id
2759
- * @param {Object} opts Optional parameters
2760
- * @param {String} [authorization] The authorization token of the logged in user
2761
- * @param {Number} [cacheduration] The how long the cache entry should persist
2762
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2763
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2764
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
2765
- * @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)
2766
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2767
- * @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
2768
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2769
- * @param {String} [transactionid] The id of the transaction this operation is being run in
2770
- * @param {module:api/GraphObjectsApi~getRelatedObjectsCallback} callback The callback function, accepting three arguments: error, data, response
2771
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
2772
- */
2773
- }, {
2774
- key: "getRelatedObjects",
2775
- value: function getRelatedObjects(objectid, reltypeid, opts, callback) {
2776
- opts = opts || {};
2777
- var postBody = null;
2778
- // verify the required parameter 'objectid' is set
2779
- if (objectid === undefined || objectid === null) {
2780
- throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjects");
2781
- }
2782
- // verify the required parameter 'reltypeid' is set
2783
- if (reltypeid === undefined || reltypeid === null) {
2784
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjects");
2785
- }
2786
- var pathParams = {
2787
- 'objectid': objectid,
2788
- 'reltypeid': reltypeid
2789
- };
2790
- var queryParams = {};
2791
- var headerParams = {
2792
- 'Authorization': opts['authorization'],
2793
- 'cacheduration': opts['cacheduration'],
2794
- 'cachegroup': opts['cachegroup'],
2795
- 'cachekey': opts['cachekey'],
2796
- 'cachescope': opts['cachescope'],
2797
- 'cacheuser': opts['cacheuser'],
2798
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2799
- 'zeusportal-postas': opts['zeusportalPostas'],
2800
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2801
- 'transactionid': opts['transactionid']
2802
- };
2803
- var formParams = {};
2804
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2805
- var contentTypes = [];
2806
- var accepts = ['application/json'];
2807
- var returnType = [_GraphObjectSchema["default"]];
2808
- return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2809
- }
2810
-
2811
- /**
2812
- * Callback function to receive the result of the getRelatedObjectsIn operation.
2813
- * @callback module:api/GraphObjectsApi~getRelatedObjectsInCallback
2814
- * @param {String} error Error message, if any.
2815
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
2816
- * @param {String} response The complete HTTP response.
2817
- */
2818
-
2819
- /**
2820
- * Get Related Objects
2821
- * Get Related Objects from incoming relationships by relationship type
2822
- * @param {Number} objectid The id of the object that we are retreiving related objects from
2823
- * @param {Number} reltypeid The relationship type id
260
+ * @param {Number} inviteid The id of the invite we are retrieving
261
+ * @param {module:model/UserInviteInput} userInviteInput An Invite Input
2824
262
  * @param {Object} opts Optional parameters
2825
263
  * @param {String} [authorization] The authorization token of the logged in user
2826
264
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2828,38 +266,40 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2828
266
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2829
267
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
2830
268
  * @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)
269
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2831
270
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2832
271
  * @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
2833
272
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2834
273
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2835
- * @param {module:api/GraphObjectsApi~getRelatedObjectsInCallback} callback The callback function, accepting three arguments: error, data, response
2836
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
274
+ * @param {module:api/GraphObjectsApi~createInviteOnObjectCallback} callback The callback function, accepting three arguments: error, data, response
275
+ * data is of type: {@link module:model/UserInvite}
2837
276
  */
2838
277
  }, {
2839
- key: "getRelatedObjectsIn",
2840
- value: function getRelatedObjectsIn(objectid, reltypeid, opts, callback) {
278
+ key: "createInviteOnObject",
279
+ value: function createInviteOnObject(inviteid, userInviteInput, opts, callback) {
2841
280
  opts = opts || {};
2842
- var postBody = null;
2843
- // verify the required parameter 'objectid' is set
2844
- if (objectid === undefined || objectid === null) {
2845
- throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsIn");
281
+ var postBody = userInviteInput;
282
+ // verify the required parameter 'inviteid' is set
283
+ if (inviteid === undefined || inviteid === null) {
284
+ throw new Error("Missing the required parameter 'inviteid' when calling createInviteOnObject");
2846
285
  }
2847
- // verify the required parameter 'reltypeid' is set
2848
- if (reltypeid === undefined || reltypeid === null) {
2849
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsIn");
286
+ // verify the required parameter 'userInviteInput' is set
287
+ if (userInviteInput === undefined || userInviteInput === null) {
288
+ throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
2850
289
  }
2851
290
  var pathParams = {
2852
- 'objectid': objectid,
2853
- 'reltypeid': reltypeid
291
+ 'inviteid': inviteid
2854
292
  };
2855
- var queryParams = {};
2856
- var headerParams = {
2857
- 'Authorization': opts['authorization'],
293
+ var queryParams = {
2858
294
  'cacheduration': opts['cacheduration'],
2859
- 'cachegroup': opts['cachegroup'],
2860
- 'cachekey': opts['cachekey'],
295
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
296
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2861
297
  'cachescope': opts['cachescope'],
2862
- 'cacheuser': opts['cacheuser'],
298
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
299
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
300
+ };
301
+ var headerParams = {
302
+ 'Authorization': opts['authorization'],
2863
303
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
2864
304
  'zeusportal-postas': opts['zeusportalPostas'],
2865
305
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -2867,25 +307,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2867
307
  };
2868
308
  var formParams = {};
2869
309
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2870
- var contentTypes = [];
310
+ var contentTypes = ['application/json'];
2871
311
  var accepts = ['application/json'];
2872
- var returnType = [_GraphObjectSchema["default"]];
2873
- return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
312
+ var returnType = _UserInvite["default"];
313
+ return this.apiClient.callApi('/invites/{objectid}/invite', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2874
314
  }
2875
315
 
2876
316
  /**
2877
- * Callback function to receive the result of the getRelatedObjectsOut operation.
2878
- * @callback module:api/GraphObjectsApi~getRelatedObjectsOutCallback
317
+ * Callback function to receive the result of the createObject operation.
318
+ * @callback module:api/GraphObjectsApi~createObjectCallback
2879
319
  * @param {String} error Error message, if any.
2880
- * @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
320
+ * @param {module:model/GraphObjectResponse} data The data returned by the service call.
2881
321
  * @param {String} response The complete HTTP response.
2882
322
  */
2883
323
 
2884
324
  /**
2885
- * Get Related Objects
2886
- * Get Related Objects from outgoing relationships by relationship type
2887
- * @param {Number} objectid The id of the object that we are retrieving the related objects from
2888
- * @param {Number} reltypeid The relationship type id
325
+ * Create Objects
326
+ * Create graph object(s)
327
+ * @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject object data or array of object data to create
2889
328
  * @param {Object} opts Optional parameters
2890
329
  * @param {String} [authorization] The authorization token of the logged in user
2891
330
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2893,38 +332,34 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2893
332
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2894
333
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
2895
334
  * @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)
335
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2896
336
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2897
337
  * @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
2898
338
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2899
339
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2900
- * @param {module:api/GraphObjectsApi~getRelatedObjectsOutCallback} callback The callback function, accepting three arguments: error, data, response
2901
- * data is of type: {@link Array.<module:model/GraphObjectSchema>}
340
+ * @param {module:api/GraphObjectsApi~createObjectCallback} callback The callback function, accepting three arguments: error, data, response
341
+ * data is of type: {@link module:model/GraphObjectResponse}
2902
342
  */
2903
343
  }, {
2904
- key: "getRelatedObjectsOut",
2905
- value: function getRelatedObjectsOut(objectid, reltypeid, opts, callback) {
344
+ key: "createObject",
345
+ value: function createObject(graphObjectPayload, opts, callback) {
2906
346
  opts = opts || {};
2907
- var postBody = null;
2908
- // verify the required parameter 'objectid' is set
2909
- if (objectid === undefined || objectid === null) {
2910
- throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsOut");
2911
- }
2912
- // verify the required parameter 'reltypeid' is set
2913
- if (reltypeid === undefined || reltypeid === null) {
2914
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsOut");
347
+ var postBody = graphObjectPayload;
348
+ // verify the required parameter 'graphObjectPayload' is set
349
+ if (graphObjectPayload === undefined || graphObjectPayload === null) {
350
+ throw new Error("Missing the required parameter 'graphObjectPayload' when calling createObject");
2915
351
  }
2916
- var pathParams = {
2917
- 'objectid': objectid,
2918
- 'reltypeid': reltypeid
352
+ var pathParams = {};
353
+ var queryParams = {
354
+ 'cacheduration': opts['cacheduration'],
355
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
356
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
357
+ 'cachescope': opts['cachescope'],
358
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
359
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
2919
360
  };
2920
- var queryParams = {};
2921
361
  var headerParams = {
2922
362
  'Authorization': opts['authorization'],
2923
- 'cacheduration': opts['cacheduration'],
2924
- 'cachegroup': opts['cachegroup'],
2925
- 'cachekey': opts['cachekey'],
2926
- 'cachescope': opts['cachescope'],
2927
- 'cacheuser': opts['cacheuser'],
2928
363
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
2929
364
  'zeusportal-postas': opts['zeusportalPostas'],
2930
365
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -2934,23 +369,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2934
369
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2935
370
  var contentTypes = [];
2936
371
  var accepts = ['application/json'];
2937
- var returnType = [_GraphObjectSchema["default"]];
2938
- return this.apiClient.callApi('/graph/data/object/{objectid}/relatedobjects/{reltypeid}/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
372
+ var returnType = _GraphObjectResponse["default"];
373
+ return this.apiClient.callApi('/object', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
2939
374
  }
2940
375
 
2941
376
  /**
2942
- * Callback function to receive the result of the getRelationshipsByTypeIn operation.
2943
- * @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
377
+ * Callback function to receive the result of the createRelationship operation.
378
+ * @callback module:api/GraphObjectsApi~createRelationshipCallback
2944
379
  * @param {String} error Error message, if any.
2945
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
380
+ * @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
2946
381
  * @param {String} response The complete HTTP response.
2947
382
  */
2948
383
 
2949
384
  /**
2950
- * Get Incoming Relationships By Type
2951
- * Returns a listing of relationships
2952
- * @param {Number} id The id of the object that we are retrieving relationships on
2953
- * @param {Number} reltypeid The id of the relationship type we are searching for
385
+ * Create a Relationship
386
+ * Create a relationship to another object
387
+ * @param {Number} id
2954
388
  * @param {Object} opts Optional parameters
2955
389
  * @param {String} [authorization] The authorization token of the logged in user
2956
390
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -2958,38 +392,37 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2958
392
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2959
393
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
2960
394
  * @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)
395
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
2961
396
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2962
397
  * @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
2963
398
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2964
399
  * @param {String} [transactionid] The id of the transaction this operation is being run in
2965
- * @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
2966
- * data is of type: {@link Array.<module:model/GraphRelationship>}
400
+ * @param {String} [body]
401
+ * @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
402
+ * data is of type: {@link module:model/GraphRelationshipResponse}
2967
403
  */
2968
404
  }, {
2969
- key: "getRelationshipsByTypeIn",
2970
- value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
405
+ key: "createRelationship",
406
+ value: function createRelationship(id, opts, callback) {
2971
407
  opts = opts || {};
2972
- var postBody = null;
408
+ var postBody = opts['body'];
2973
409
  // verify the required parameter 'id' is set
2974
410
  if (id === undefined || id === null) {
2975
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
2976
- }
2977
- // verify the required parameter 'reltypeid' is set
2978
- if (reltypeid === undefined || reltypeid === null) {
2979
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
411
+ throw new Error("Missing the required parameter 'id' when calling createRelationship");
2980
412
  }
2981
413
  var pathParams = {
2982
- 'id': id,
2983
- 'reltypeid': reltypeid
414
+ 'id': id
2984
415
  };
2985
- var queryParams = {};
2986
- var headerParams = {
2987
- 'Authorization': opts['authorization'],
416
+ var queryParams = {
2988
417
  'cacheduration': opts['cacheduration'],
2989
- 'cachegroup': opts['cachegroup'],
2990
- 'cachekey': opts['cachekey'],
418
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
419
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
2991
420
  'cachescope': opts['cachescope'],
2992
- 'cacheuser': opts['cacheuser'],
421
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
422
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
423
+ };
424
+ var headerParams = {
425
+ 'Authorization': opts['authorization'],
2993
426
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
2994
427
  'zeusportal-postas': opts['zeusportalPostas'],
2995
428
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -2999,23 +432,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
2999
432
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3000
433
  var contentTypes = [];
3001
434
  var accepts = ['application/json'];
3002
- var returnType = [_GraphRelationship["default"]];
3003
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
435
+ var returnType = _GraphRelationshipResponse["default"];
436
+ return this.apiClient.callApi('/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3004
437
  }
3005
438
 
3006
439
  /**
3007
- * Callback function to receive the result of the getRelationshipsByTypeOut operation.
3008
- * @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
440
+ * Callback function to receive the result of the createRelationships operation.
441
+ * @callback module:api/GraphObjectsApi~createRelationshipsCallback
3009
442
  * @param {String} error Error message, if any.
3010
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
443
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3011
444
  * @param {String} response The complete HTTP response.
3012
445
  */
3013
446
 
3014
447
  /**
3015
- * Get Outgoing Relationships By Type
3016
- * Returns a listing of relationships
3017
- * @param {Number} id The id of the object that we are retrieving relationships on
3018
- * @param {Number} reltypeid The id of the relationship type we are searching for
448
+ * Create Relationships
449
+ * Create relationships to other objects
450
+ * @param {Number} id
3019
451
  * @param {Object} opts Optional parameters
3020
452
  * @param {String} [authorization] The authorization token of the logged in user
3021
453
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3023,38 +455,37 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3023
455
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3024
456
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3025
457
  * @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)
458
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3026
459
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3027
460
  * @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
3028
461
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3029
462
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3030
- * @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
3031
- * data is of type: {@link Array.<module:model/GraphRelationship>}
463
+ * @param {String} [body]
464
+ * @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
465
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3032
466
  */
3033
467
  }, {
3034
- key: "getRelationshipsByTypeOut",
3035
- value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
468
+ key: "createRelationships",
469
+ value: function createRelationships(id, opts, callback) {
3036
470
  opts = opts || {};
3037
- var postBody = null;
471
+ var postBody = opts['body'];
3038
472
  // verify the required parameter 'id' is set
3039
473
  if (id === undefined || id === null) {
3040
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
3041
- }
3042
- // verify the required parameter 'reltypeid' is set
3043
- if (reltypeid === undefined || reltypeid === null) {
3044
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
474
+ throw new Error("Missing the required parameter 'id' when calling createRelationships");
3045
475
  }
3046
476
  var pathParams = {
3047
- 'id': id,
3048
- 'reltypeid': reltypeid
477
+ 'id': id
3049
478
  };
3050
- var queryParams = {};
3051
- var headerParams = {
3052
- 'Authorization': opts['authorization'],
479
+ var queryParams = {
3053
480
  'cacheduration': opts['cacheduration'],
3054
- 'cachegroup': opts['cachegroup'],
3055
- 'cachekey': opts['cachekey'],
481
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
482
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3056
483
  'cachescope': opts['cachescope'],
3057
- 'cacheuser': opts['cacheuser'],
484
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
485
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
486
+ };
487
+ var headerParams = {
488
+ 'Authorization': opts['authorization'],
3058
489
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3059
490
  'zeusportal-postas': opts['zeusportalPostas'],
3060
491
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3064,22 +495,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3064
495
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3065
496
  var contentTypes = [];
3066
497
  var accepts = ['application/json'];
3067
- var returnType = [_GraphRelationship["default"]];
3068
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
498
+ var returnType = [_GraphRelationshipResponse["default"]];
499
+ return this.apiClient.callApi('/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3069
500
  }
3070
501
 
3071
502
  /**
3072
- * Callback function to receive the result of the getRelationshipsIn operation.
3073
- * @callback module:api/GraphObjectsApi~getRelationshipsInCallback
503
+ * Callback function to receive the result of the deleteLike operation.
504
+ * @callback module:api/GraphObjectsApi~deleteLikeCallback
3074
505
  * @param {String} error Error message, if any.
3075
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
506
+ * @param data This operation does not return a value.
3076
507
  * @param {String} response The complete HTTP response.
3077
508
  */
3078
509
 
3079
510
  /**
3080
- * Get Incoming Relationships
3081
- * Returns a listing of relationships
3082
- * @param {Number} id The id of the object that we are retrieving relationships on
511
+ * Delete Like
512
+ * Delete an individual like
513
+ * @param {Number} objectid
3083
514
  * @param {Object} opts Optional parameters
3084
515
  * @param {String} [authorization] The authorization token of the logged in user
3085
516
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3087,33 +518,35 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3087
518
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3088
519
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3089
520
  * @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)
521
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3090
522
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3091
523
  * @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
3092
524
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3093
525
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3094
- * @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
3095
- * data is of type: {@link Array.<module:model/GraphRelationship>}
526
+ * @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
3096
527
  */
3097
528
  }, {
3098
- key: "getRelationshipsIn",
3099
- value: function getRelationshipsIn(id, opts, callback) {
529
+ key: "deleteLike",
530
+ value: function deleteLike(objectid, opts, callback) {
3100
531
  opts = opts || {};
3101
532
  var postBody = null;
3102
- // verify the required parameter 'id' is set
3103
- if (id === undefined || id === null) {
3104
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
533
+ // verify the required parameter 'objectid' is set
534
+ if (objectid === undefined || objectid === null) {
535
+ throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
3105
536
  }
3106
537
  var pathParams = {
3107
- 'id': id
538
+ 'objectid': objectid
3108
539
  };
3109
- var queryParams = {};
3110
- var headerParams = {
3111
- 'Authorization': opts['authorization'],
540
+ var queryParams = {
3112
541
  'cacheduration': opts['cacheduration'],
3113
- 'cachegroup': opts['cachegroup'],
3114
- 'cachekey': opts['cachekey'],
542
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
543
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3115
544
  'cachescope': opts['cachescope'],
3116
- 'cacheuser': opts['cacheuser'],
545
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
546
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
547
+ };
548
+ var headerParams = {
549
+ 'Authorization': opts['authorization'],
3117
550
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3118
551
  'zeusportal-postas': opts['zeusportalPostas'],
3119
552
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3122,23 +555,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3122
555
  var formParams = {};
3123
556
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3124
557
  var contentTypes = [];
3125
- var accepts = ['application/json'];
3126
- var returnType = [_GraphRelationship["default"]];
3127
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
558
+ var accepts = ['*/*'];
559
+ var returnType = null;
560
+ return this.apiClient.callApi('/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3128
561
  }
3129
562
 
3130
563
  /**
3131
- * Callback function to receive the result of the getRelationshipsOut operation.
3132
- * @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
564
+ * Callback function to receive the result of the dislike operation.
565
+ * @callback module:api/GraphObjectsApi~dislikeCallback
3133
566
  * @param {String} error Error message, if any.
3134
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
567
+ * @param data This operation does not return a value.
3135
568
  * @param {String} response The complete HTTP response.
3136
569
  */
3137
570
 
3138
571
  /**
3139
- * Get Outgoing Relationships
3140
- * Returns a listing of relationships
3141
- * @param {Number} id The id of the object that we are retrieving relationships on
572
+ * Dislike an Object
573
+ * Dislike an object
574
+ * @param {Number} objectid
3142
575
  * @param {Object} opts Optional parameters
3143
576
  * @param {String} [authorization] The authorization token of the logged in user
3144
577
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3146,33 +579,35 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3146
579
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3147
580
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3148
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 {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3149
583
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3150
584
  * @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
3151
585
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3152
586
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3153
- * @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
3154
- * data is of type: {@link Array.<module:model/GraphRelationship>}
587
+ * @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
3155
588
  */
3156
589
  }, {
3157
- key: "getRelationshipsOut",
3158
- value: function getRelationshipsOut(id, opts, callback) {
590
+ key: "dislike",
591
+ value: function dislike(objectid, opts, callback) {
3159
592
  opts = opts || {};
3160
593
  var postBody = null;
3161
- // verify the required parameter 'id' is set
3162
- if (id === undefined || id === null) {
3163
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
594
+ // verify the required parameter 'objectid' is set
595
+ if (objectid === undefined || objectid === null) {
596
+ throw new Error("Missing the required parameter 'objectid' when calling dislike");
3164
597
  }
3165
598
  var pathParams = {
3166
- 'id': id
599
+ 'objectid': objectid
3167
600
  };
3168
- var queryParams = {};
3169
- var headerParams = {
3170
- 'Authorization': opts['authorization'],
601
+ var queryParams = {
3171
602
  'cacheduration': opts['cacheduration'],
3172
- 'cachegroup': opts['cachegroup'],
3173
- 'cachekey': opts['cachekey'],
603
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
604
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3174
605
  'cachescope': opts['cachescope'],
3175
- 'cacheuser': opts['cacheuser'],
606
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
607
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
608
+ };
609
+ var headerParams = {
610
+ 'Authorization': opts['authorization'],
3176
611
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3177
612
  'zeusportal-postas': opts['zeusportalPostas'],
3178
613
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3181,20 +616,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3181
616
  var formParams = {};
3182
617
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3183
618
  var contentTypes = [];
3184
- var accepts = ['application/json'];
3185
- var returnType = [_GraphRelationship["default"]];
3186
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
619
+ var accepts = ['*/*'];
620
+ var returnType = null;
621
+ return this.apiClient.callApi('/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3187
622
  }
3188
623
 
3189
624
  /**
3190
- * Callback function to receive the result of the getTags operation.
3191
- * @callback module:api/GraphObjectsApi~getTagsCallback
625
+ * Callback function to receive the result of the getActions operation.
626
+ * @callback module:api/GraphObjectsApi~getActionsCallback
3192
627
  * @param {String} error Error message, if any.
3193
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
628
+ * @param {Array.<module:model/GraphActionResponse>} data The data returned by the service call.
3194
629
  * @param {String} response The complete HTTP response.
3195
630
  */
3196
631
 
3197
632
  /**
633
+ * Get Actions
634
+ * Get actions attached to an object
3198
635
  * @param {Number} id
3199
636
  * @param {Object} opts Optional parameters
3200
637
  * @param {String} [authorization] The authorization token of the logged in user
@@ -3203,33 +640,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3203
640
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3204
641
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3205
642
  * @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)
643
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3206
644
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3207
645
  * @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
3208
646
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3209
647
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3210
- * @param {module:api/GraphObjectsApi~getTagsCallback} callback The callback function, accepting three arguments: error, data, response
3211
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
648
+ * @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
649
+ * data is of type: {@link Array.<module:model/GraphActionResponse>}
3212
650
  */
3213
651
  }, {
3214
- key: "getTags",
3215
- value: function getTags(id, opts, callback) {
652
+ key: "getActions",
653
+ value: function getActions(id, opts, callback) {
3216
654
  opts = opts || {};
3217
655
  var postBody = null;
3218
656
  // verify the required parameter 'id' is set
3219
657
  if (id === undefined || id === null) {
3220
- throw new Error("Missing the required parameter 'id' when calling getTags");
658
+ throw new Error("Missing the required parameter 'id' when calling getActions");
3221
659
  }
3222
660
  var pathParams = {
3223
661
  'id': id
3224
662
  };
3225
- var queryParams = {};
3226
- var headerParams = {
3227
- 'Authorization': opts['authorization'],
663
+ var queryParams = {
3228
664
  'cacheduration': opts['cacheduration'],
3229
- 'cachegroup': opts['cachegroup'],
3230
- 'cachekey': opts['cachekey'],
665
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
666
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3231
667
  'cachescope': opts['cachescope'],
3232
- 'cacheuser': opts['cacheuser'],
668
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
669
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
670
+ };
671
+ var headerParams = {
672
+ 'Authorization': opts['authorization'],
3233
673
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3234
674
  'zeusportal-postas': opts['zeusportalPostas'],
3235
675
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3239,20 +679,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3239
679
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3240
680
  var contentTypes = [];
3241
681
  var accepts = ['application/json'];
3242
- var returnType = _PurgeDataDefaultResponseValue["default"];
3243
- return this.apiClient.callApi('/graph/data/object/{id}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
682
+ var returnType = [_GraphActionResponse["default"]];
683
+ return this.apiClient.callApi('/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3244
684
  }
3245
685
 
3246
686
  /**
3247
- * Callback function to receive the result of the getUserTags operation.
3248
- * @callback module:api/GraphObjectsApi~getUserTagsCallback
687
+ * Callback function to receive the result of the getActionsByType operation.
688
+ * @callback module:api/GraphObjectsApi~getActionsByTypeCallback
3249
689
  * @param {String} error Error message, if any.
3250
- * @param {Array.<String>} data The data returned by the service call.
690
+ * @param {Array.<module:model/GraphActionResponse>} data The data returned by the service call.
3251
691
  * @param {String} response The complete HTTP response.
3252
692
  */
3253
693
 
3254
694
  /**
695
+ * Get Actions By Type
696
+ * Get actions attached to an object by type
3255
697
  * @param {Number} id
698
+ * @param {Number} actiontypeid
3256
699
  * @param {Object} opts Optional parameters
3257
700
  * @param {String} [authorization] The authorization token of the logged in user
3258
701
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3260,33 +703,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3260
703
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3261
704
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3262
705
  * @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)
706
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3263
707
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3264
708
  * @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
3265
709
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3266
710
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3267
- * @param {module:api/GraphObjectsApi~getUserTagsCallback} callback The callback function, accepting three arguments: error, data, response
3268
- * data is of type: {@link Array.<String>}
711
+ * @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
712
+ * data is of type: {@link Array.<module:model/GraphActionResponse>}
3269
713
  */
3270
714
  }, {
3271
- key: "getUserTags",
3272
- value: function getUserTags(id, opts, callback) {
715
+ key: "getActionsByType",
716
+ value: function getActionsByType(id, actiontypeid, opts, callback) {
3273
717
  opts = opts || {};
3274
718
  var postBody = null;
3275
719
  // verify the required parameter 'id' is set
3276
720
  if (id === undefined || id === null) {
3277
- throw new Error("Missing the required parameter 'id' when calling getUserTags");
721
+ throw new Error("Missing the required parameter 'id' when calling getActionsByType");
722
+ }
723
+ // verify the required parameter 'actiontypeid' is set
724
+ if (actiontypeid === undefined || actiontypeid === null) {
725
+ throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
3278
726
  }
3279
727
  var pathParams = {
3280
- 'id': id
728
+ 'id': id,
729
+ 'actiontypeid': actiontypeid
3281
730
  };
3282
- var queryParams = {};
3283
- var headerParams = {
3284
- 'Authorization': opts['authorization'],
731
+ var queryParams = {
3285
732
  'cacheduration': opts['cacheduration'],
3286
- 'cachegroup': opts['cachegroup'],
3287
- 'cachekey': opts['cachekey'],
733
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
734
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3288
735
  'cachescope': opts['cachescope'],
3289
- 'cacheuser': opts['cacheuser'],
736
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
737
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
738
+ };
739
+ var headerParams = {
740
+ 'Authorization': opts['authorization'],
3290
741
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3291
742
  'zeusportal-postas': opts['zeusportalPostas'],
3292
743
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3296,19 +747,21 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3296
747
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3297
748
  var contentTypes = [];
3298
749
  var accepts = ['application/json'];
3299
- var returnType = ['String'];
3300
- return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
750
+ var returnType = [_GraphActionResponse["default"]];
751
+ return this.apiClient.callApi('/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3301
752
  }
3302
753
 
3303
754
  /**
3304
- * Callback function to receive the result of the getVideos operation.
3305
- * @callback module:api/GraphObjectsApi~getVideosCallback
755
+ * Callback function to receive the result of the getAllRelationships operation.
756
+ * @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
3306
757
  * @param {String} error Error message, if any.
3307
- * @param {Array.<module:model/Video>} data The data returned by the service call.
758
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3308
759
  * @param {String} response The complete HTTP response.
3309
760
  */
3310
761
 
3311
762
  /**
763
+ * Get All Relationships
764
+ * Returns a listing of relationships
3312
765
  * @param {Number} id
3313
766
  * @param {Object} opts Optional parameters
3314
767
  * @param {String} [authorization] The authorization token of the logged in user
@@ -3317,33 +770,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3317
770
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3318
771
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3319
772
  * @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)
773
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3320
774
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3321
775
  * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
3322
776
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3323
777
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3324
- * @param {module:api/GraphObjectsApi~getVideosCallback} callback The callback function, accepting three arguments: error, data, response
3325
- * data is of type: {@link Array.<module:model/Video>}
778
+ * @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
779
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3326
780
  */
3327
781
  }, {
3328
- key: "getVideos",
3329
- value: function getVideos(id, opts, callback) {
782
+ key: "getAllRelationships",
783
+ value: function getAllRelationships(id, opts, callback) {
3330
784
  opts = opts || {};
3331
785
  var postBody = null;
3332
786
  // verify the required parameter 'id' is set
3333
787
  if (id === undefined || id === null) {
3334
- throw new Error("Missing the required parameter 'id' when calling getVideos");
788
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
3335
789
  }
3336
790
  var pathParams = {
3337
791
  'id': id
3338
792
  };
3339
- var queryParams = {};
3340
- var headerParams = {
3341
- 'Authorization': opts['authorization'],
793
+ var queryParams = {
3342
794
  'cacheduration': opts['cacheduration'],
3343
- 'cachegroup': opts['cachegroup'],
3344
- 'cachekey': opts['cachekey'],
795
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
796
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3345
797
  'cachescope': opts['cachescope'],
3346
- 'cacheuser': opts['cacheuser'],
798
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
799
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
800
+ };
801
+ var headerParams = {
802
+ 'Authorization': opts['authorization'],
3347
803
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3348
804
  'zeusportal-postas': opts['zeusportalPostas'],
3349
805
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3353,22 +809,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3353
809
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3354
810
  var contentTypes = [];
3355
811
  var accepts = ['application/json'];
3356
- var returnType = [_Video["default"]];
3357
- return this.apiClient.callApi('/graph/data/object/{id}/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
812
+ var returnType = [_GraphRelationshipResponse["default"]];
813
+ return this.apiClient.callApi('/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3358
814
  }
3359
815
 
3360
816
  /**
3361
- * Callback function to receive the result of the isDisliked operation.
3362
- * @callback module:api/GraphObjectsApi~isDislikedCallback
817
+ * Callback function to receive the result of the getAllRelationshipsByType operation.
818
+ * @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
3363
819
  * @param {String} error Error message, if any.
3364
- * @param {Boolean} data The data returned by the service call.
820
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3365
821
  * @param {String} response The complete HTTP response.
3366
822
  */
3367
823
 
3368
824
  /**
3369
- * Check if the user has disliked the object
3370
- * Checks if the user has disliked the object
3371
- * @param {Number} objectid
825
+ * Get All Relationships By Type
826
+ * Returns a listing of relationships
827
+ * @param {Number} id
828
+ * @param {Number} reltypeid
3372
829
  * @param {Object} opts Optional parameters
3373
830
  * @param {String} [authorization] The authorization token of the logged in user
3374
831
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3376,33 +833,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3376
833
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3377
834
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3378
835
  * @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)
836
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3379
837
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3380
838
  * @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
3381
839
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3382
840
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3383
- * @param {module:api/GraphObjectsApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
3384
- * data is of type: {@link Boolean}
841
+ * @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
842
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3385
843
  */
3386
844
  }, {
3387
- key: "isDisliked",
3388
- value: function isDisliked(objectid, opts, callback) {
845
+ key: "getAllRelationshipsByType",
846
+ value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
3389
847
  opts = opts || {};
3390
848
  var postBody = null;
3391
- // verify the required parameter 'objectid' is set
3392
- if (objectid === undefined || objectid === null) {
3393
- throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
849
+ // verify the required parameter 'id' is set
850
+ if (id === undefined || id === null) {
851
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
852
+ }
853
+ // verify the required parameter 'reltypeid' is set
854
+ if (reltypeid === undefined || reltypeid === null) {
855
+ throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
3394
856
  }
3395
857
  var pathParams = {
3396
- 'objectid': objectid
858
+ 'id': id,
859
+ 'reltypeid': reltypeid
3397
860
  };
3398
- var queryParams = {};
3399
- var headerParams = {
3400
- 'Authorization': opts['authorization'],
861
+ var queryParams = {
3401
862
  'cacheduration': opts['cacheduration'],
3402
- 'cachegroup': opts['cachegroup'],
3403
- 'cachekey': opts['cachekey'],
863
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
864
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3404
865
  'cachescope': opts['cachescope'],
3405
- 'cacheuser': opts['cacheuser'],
866
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
867
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
868
+ };
869
+ var headerParams = {
870
+ 'Authorization': opts['authorization'],
3406
871
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3407
872
  'zeusportal-postas': opts['zeusportalPostas'],
3408
873
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3411,23 +876,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3411
876
  var formParams = {};
3412
877
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3413
878
  var contentTypes = [];
3414
- var accepts = ['text/plain'];
3415
- var returnType = 'Boolean';
3416
- return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
879
+ var accepts = ['application/json'];
880
+ var returnType = [_GraphRelationshipResponse["default"]];
881
+ return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3417
882
  }
3418
883
 
3419
884
  /**
3420
- * Callback function to receive the result of the isLiked operation.
3421
- * @callback module:api/GraphObjectsApi~isLikedCallback
885
+ * Callback function to receive the result of the getObjectById operation.
886
+ * @callback module:api/GraphObjectsApi~getObjectByIdCallback
3422
887
  * @param {String} error Error message, if any.
3423
- * @param {Boolean} data The data returned by the service call.
888
+ * @param {module:model/GraphObjectResponse} data The data returned by the service call.
3424
889
  * @param {String} response The complete HTTP response.
3425
890
  */
3426
891
 
3427
892
  /**
3428
- * Check if the user has liked the object
3429
- * Checks if the user has liked the object
3430
- * @param {Number} objectid
893
+ * Get Object By Id
894
+ * Gets object by id
895
+ * @param {Number} id The id of the object that we are retrieving
3431
896
  * @param {Object} opts Optional parameters
3432
897
  * @param {String} [authorization] The authorization token of the logged in user
3433
898
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3435,33 +900,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3435
900
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3436
901
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3437
902
  * @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)
903
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3438
904
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3439
905
  * @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
3440
906
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3441
907
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3442
- * @param {module:api/GraphObjectsApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
3443
- * data is of type: {@link Boolean}
908
+ * @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
909
+ * data is of type: {@link module:model/GraphObjectResponse}
3444
910
  */
3445
911
  }, {
3446
- key: "isLiked",
3447
- value: function isLiked(objectid, opts, callback) {
912
+ key: "getObjectById",
913
+ value: function getObjectById(id, opts, callback) {
3448
914
  opts = opts || {};
3449
915
  var postBody = null;
3450
- // verify the required parameter 'objectid' is set
3451
- if (objectid === undefined || objectid === null) {
3452
- throw new Error("Missing the required parameter 'objectid' when calling isLiked");
916
+ // verify the required parameter 'id' is set
917
+ if (id === undefined || id === null) {
918
+ throw new Error("Missing the required parameter 'id' when calling getObjectById");
3453
919
  }
3454
920
  var pathParams = {
3455
- 'objectid': objectid
921
+ 'id': id
3456
922
  };
3457
- var queryParams = {};
3458
- var headerParams = {
3459
- 'Authorization': opts['authorization'],
923
+ var queryParams = {
3460
924
  'cacheduration': opts['cacheduration'],
3461
- 'cachegroup': opts['cachegroup'],
3462
- 'cachekey': opts['cachekey'],
925
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
926
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3463
927
  'cachescope': opts['cachescope'],
3464
- 'cacheuser': opts['cacheuser'],
928
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
929
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
930
+ };
931
+ var headerParams = {
932
+ 'Authorization': opts['authorization'],
3465
933
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3466
934
  'zeusportal-postas': opts['zeusportalPostas'],
3467
935
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3470,23 +938,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3470
938
  var formParams = {};
3471
939
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3472
940
  var contentTypes = [];
3473
- var accepts = ['text/plain'];
3474
- var returnType = 'Boolean';
3475
- return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
941
+ var accepts = ['application/json'];
942
+ var returnType = _GraphObjectResponse["default"];
943
+ return this.apiClient.callApi('/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3476
944
  }
3477
945
 
3478
946
  /**
3479
- * Callback function to receive the result of the like operation.
3480
- * @callback module:api/GraphObjectsApi~likeCallback
947
+ * Callback function to receive the result of the getObjectByKey operation.
948
+ * @callback module:api/GraphObjectsApi~getObjectByKeyCallback
3481
949
  * @param {String} error Error message, if any.
3482
- * @param data This operation does not return a value.
950
+ * @param {module:model/GraphObjectResponse} data The data returned by the service call.
3483
951
  * @param {String} response The complete HTTP response.
3484
952
  */
3485
953
 
3486
954
  /**
3487
- * Like an Object
3488
- * Likes an object
3489
- * @param {Number} objectid
955
+ * Get Object By Key
956
+ * Get An Object By it's key identifier
957
+ * @param {String} key The unique key of the object we are retrieving
3490
958
  * @param {Object} opts Optional parameters
3491
959
  * @param {String} [authorization] The authorization token of the logged in user
3492
960
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3494,32 +962,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3494
962
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3495
963
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3496
964
  * @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)
965
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3497
966
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3498
967
  * @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
3499
968
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3500
969
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3501
- * @param {module:api/GraphObjectsApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
970
+ * @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
971
+ * data is of type: {@link module:model/GraphObjectResponse}
3502
972
  */
3503
973
  }, {
3504
- key: "like",
3505
- value: function like(objectid, opts, callback) {
974
+ key: "getObjectByKey",
975
+ value: function getObjectByKey(key, opts, callback) {
3506
976
  opts = opts || {};
3507
977
  var postBody = null;
3508
- // verify the required parameter 'objectid' is set
3509
- if (objectid === undefined || objectid === null) {
3510
- throw new Error("Missing the required parameter 'objectid' when calling like");
978
+ // verify the required parameter 'key' is set
979
+ if (key === undefined || key === null) {
980
+ throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
3511
981
  }
3512
982
  var pathParams = {
3513
- 'objectid': objectid
983
+ 'key': key
3514
984
  };
3515
- var queryParams = {};
3516
- var headerParams = {
3517
- 'Authorization': opts['authorization'],
985
+ var queryParams = {
3518
986
  'cacheduration': opts['cacheduration'],
3519
- 'cachegroup': opts['cachegroup'],
3520
- 'cachekey': opts['cachekey'],
987
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
988
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3521
989
  'cachescope': opts['cachescope'],
3522
- 'cacheuser': opts['cacheuser'],
990
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
991
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
992
+ };
993
+ var headerParams = {
994
+ 'Authorization': opts['authorization'],
3523
995
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3524
996
  'zeusportal-postas': opts['zeusportalPostas'],
3525
997
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3528,24 +1000,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3528
1000
  var formParams = {};
3529
1001
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3530
1002
  var contentTypes = [];
3531
- var accepts = ['*/*'];
3532
- var returnType = null;
3533
- return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1003
+ var accepts = ['application/json'];
1004
+ var returnType = _GraphObjectResponse["default"];
1005
+ return this.apiClient.callApi('/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3534
1006
  }
3535
1007
 
3536
1008
  /**
3537
- * Callback function to receive the result of the setObjectProperties operation.
3538
- * @callback module:api/GraphObjectsApi~setObjectPropertiesCallback
1009
+ * Callback function to receive the result of the getRelationshipsByTypeIn operation.
1010
+ * @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
3539
1011
  * @param {String} error Error message, if any.
3540
- * @param data This operation does not return a value.
1012
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3541
1013
  * @param {String} response The complete HTTP response.
3542
1014
  */
3543
1015
 
3544
1016
  /**
3545
- * Set Multiple Properties
3546
- * Set multiple properties attaced to an object / record
3547
- * @param {Number} id The id of the object whose properties we are updating
3548
- * @param {Object.<String, Object>} body The property map to set in Json format
1017
+ * Get Incoming Relationships By Type
1018
+ * Returns a listing of relationships
1019
+ * @param {Number} id
1020
+ * @param {Number} reltypeid
3549
1021
  * @param {Object} opts Optional parameters
3550
1022
  * @param {String} [authorization] The authorization token of the logged in user
3551
1023
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3553,36 +1025,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3553
1025
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3554
1026
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3555
1027
  * @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)
1028
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3556
1029
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3557
1030
  * @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
3558
1031
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3559
1032
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3560
- * @param {module:api/GraphObjectsApi~setObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
1033
+ * @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
1034
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3561
1035
  */
3562
1036
  }, {
3563
- key: "setObjectProperties",
3564
- value: function setObjectProperties(id, body, opts, callback) {
1037
+ key: "getRelationshipsByTypeIn",
1038
+ value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
3565
1039
  opts = opts || {};
3566
- var postBody = body;
1040
+ var postBody = null;
3567
1041
  // verify the required parameter 'id' is set
3568
1042
  if (id === undefined || id === null) {
3569
- throw new Error("Missing the required parameter 'id' when calling setObjectProperties");
1043
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
3570
1044
  }
3571
- // verify the required parameter 'body' is set
3572
- if (body === undefined || body === null) {
3573
- throw new Error("Missing the required parameter 'body' when calling setObjectProperties");
1045
+ // verify the required parameter 'reltypeid' is set
1046
+ if (reltypeid === undefined || reltypeid === null) {
1047
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
3574
1048
  }
3575
1049
  var pathParams = {
3576
- 'id': id
1050
+ 'id': id,
1051
+ 'reltypeid': reltypeid
3577
1052
  };
3578
- var queryParams = {};
3579
- var headerParams = {
3580
- 'Authorization': opts['authorization'],
1053
+ var queryParams = {
3581
1054
  'cacheduration': opts['cacheduration'],
3582
- 'cachegroup': opts['cachegroup'],
3583
- 'cachekey': opts['cachekey'],
1055
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1056
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3584
1057
  'cachescope': opts['cachescope'],
3585
- 'cacheuser': opts['cacheuser'],
1058
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1059
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1060
+ };
1061
+ var headerParams = {
1062
+ 'Authorization': opts['authorization'],
3586
1063
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3587
1064
  'zeusportal-postas': opts['zeusportalPostas'],
3588
1065
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3590,25 +1067,25 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3590
1067
  };
3591
1068
  var formParams = {};
3592
1069
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3593
- var contentTypes = ['application/json'];
1070
+ var contentTypes = [];
3594
1071
  var accepts = ['application/json'];
3595
- var returnType = null;
3596
- return this.apiClient.callApi('/graph/data/object/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1072
+ var returnType = [_GraphRelationshipResponse["default"]];
1073
+ return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3597
1074
  }
3598
1075
 
3599
1076
  /**
3600
- * Callback function to receive the result of the setObjectProperty operation.
3601
- * @callback module:api/GraphObjectsApi~setObjectPropertyCallback
1077
+ * Callback function to receive the result of the getRelationshipsByTypeOut operation.
1078
+ * @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
3602
1079
  * @param {String} error Error message, if any.
3603
- * @param data This operation does not return a value.
1080
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3604
1081
  * @param {String} response The complete HTTP response.
3605
1082
  */
3606
1083
 
3607
1084
  /**
3608
- * Update Property
3609
- * Update a specific property
3610
- * @param {Number} id The id of the object whose properties we are updating
3611
- * @param {String} prop The property being updated
1085
+ * Get Outgoing Relationships By Type
1086
+ * Returns a listing of relationships
1087
+ * @param {Number} id
1088
+ * @param {Number} reltypeid
3612
1089
  * @param {Object} opts Optional parameters
3613
1090
  * @param {String} [authorization] The authorization token of the logged in user
3614
1091
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3616,38 +1093,41 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3616
1093
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3617
1094
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3618
1095
  * @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)
1096
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3619
1097
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3620
1098
  * @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
3621
1099
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3622
1100
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3623
- * @param {String} [body] The value that is being set
3624
- * @param {module:api/GraphObjectsApi~setObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
1101
+ * @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
1102
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3625
1103
  */
3626
1104
  }, {
3627
- key: "setObjectProperty",
3628
- value: function setObjectProperty(id, prop, opts, callback) {
1105
+ key: "getRelationshipsByTypeOut",
1106
+ value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
3629
1107
  opts = opts || {};
3630
- var postBody = opts['body'];
1108
+ var postBody = null;
3631
1109
  // verify the required parameter 'id' is set
3632
1110
  if (id === undefined || id === null) {
3633
- throw new Error("Missing the required parameter 'id' when calling setObjectProperty");
1111
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
3634
1112
  }
3635
- // verify the required parameter 'prop' is set
3636
- if (prop === undefined || prop === null) {
3637
- throw new Error("Missing the required parameter 'prop' when calling setObjectProperty");
1113
+ // verify the required parameter 'reltypeid' is set
1114
+ if (reltypeid === undefined || reltypeid === null) {
1115
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
3638
1116
  }
3639
1117
  var pathParams = {
3640
1118
  'id': id,
3641
- 'prop': prop
1119
+ 'reltypeid': reltypeid
3642
1120
  };
3643
- var queryParams = {};
3644
- var headerParams = {
3645
- 'Authorization': opts['authorization'],
1121
+ var queryParams = {
3646
1122
  'cacheduration': opts['cacheduration'],
3647
- 'cachegroup': opts['cachegroup'],
3648
- 'cachekey': opts['cachekey'],
1123
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1124
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3649
1125
  'cachescope': opts['cachescope'],
3650
- 'cacheuser': opts['cacheuser'],
1126
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1127
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1128
+ };
1129
+ var headerParams = {
1130
+ 'Authorization': opts['authorization'],
3651
1131
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3652
1132
  'zeusportal-postas': opts['zeusportalPostas'],
3653
1133
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3655,21 +1135,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3655
1135
  };
3656
1136
  var formParams = {};
3657
1137
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3658
- var contentTypes = ['application/json'];
1138
+ var contentTypes = [];
3659
1139
  var accepts = ['application/json'];
3660
- var returnType = null;
3661
- return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1140
+ var returnType = [_GraphRelationshipResponse["default"]];
1141
+ return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3662
1142
  }
3663
1143
 
3664
1144
  /**
3665
- * Callback function to receive the result of the tagUsers operation.
3666
- * @callback module:api/GraphObjectsApi~tagUsersCallback
1145
+ * Callback function to receive the result of the getRelationshipsIn operation.
1146
+ * @callback module:api/GraphObjectsApi~getRelationshipsInCallback
3667
1147
  * @param {String} error Error message, if any.
3668
- * @param {Array.<module:model/UserTag>} data The data returned by the service call.
1148
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3669
1149
  * @param {String} response The complete HTTP response.
3670
1150
  */
3671
1151
 
3672
1152
  /**
1153
+ * Get Incoming Relationships
1154
+ * Returns a listing of relationships
3673
1155
  * @param {Number} id
3674
1156
  * @param {Object} opts Optional parameters
3675
1157
  * @param {String} [authorization] The authorization token of the logged in user
@@ -3678,34 +1160,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3678
1160
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3679
1161
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3680
1162
  * @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)
1163
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3681
1164
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3682
1165
  * @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
3683
1166
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3684
1167
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3685
- * @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
3686
- * @param {module:api/GraphObjectsApi~tagUsersCallback} callback The callback function, accepting three arguments: error, data, response
3687
- * data is of type: {@link Array.<module:model/UserTag>}
1168
+ * @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
1169
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3688
1170
  */
3689
1171
  }, {
3690
- key: "tagUsers",
3691
- value: function tagUsers(id, opts, callback) {
1172
+ key: "getRelationshipsIn",
1173
+ value: function getRelationshipsIn(id, opts, callback) {
3692
1174
  opts = opts || {};
3693
- var postBody = opts['purgeDataDefaultResponseValue'];
1175
+ var postBody = null;
3694
1176
  // verify the required parameter 'id' is set
3695
1177
  if (id === undefined || id === null) {
3696
- throw new Error("Missing the required parameter 'id' when calling tagUsers");
1178
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
3697
1179
  }
3698
1180
  var pathParams = {
3699
1181
  'id': id
3700
1182
  };
3701
- var queryParams = {};
3702
- var headerParams = {
3703
- 'Authorization': opts['authorization'],
1183
+ var queryParams = {
3704
1184
  'cacheduration': opts['cacheduration'],
3705
- 'cachegroup': opts['cachegroup'],
3706
- 'cachekey': opts['cachekey'],
1185
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1186
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3707
1187
  'cachescope': opts['cachescope'],
3708
- 'cacheuser': opts['cacheuser'],
1188
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1189
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1190
+ };
1191
+ var headerParams = {
1192
+ 'Authorization': opts['authorization'],
3709
1193
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3710
1194
  'zeusportal-postas': opts['zeusportalPostas'],
3711
1195
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3713,25 +1197,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3713
1197
  };
3714
1198
  var formParams = {};
3715
1199
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3716
- var contentTypes = ['application/json'];
1200
+ var contentTypes = [];
3717
1201
  var accepts = ['application/json'];
3718
- var returnType = [_UserTag["default"]];
3719
- return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1202
+ var returnType = [_GraphRelationshipResponse["default"]];
1203
+ return this.apiClient.callApi('/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3720
1204
  }
3721
1205
 
3722
1206
  /**
3723
- * Callback function to receive the result of the updateObject operation.
3724
- * @callback module:api/GraphObjectsApi~updateObjectCallback
1207
+ * Callback function to receive the result of the getRelationshipsOut operation.
1208
+ * @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
3725
1209
  * @param {String} error Error message, if any.
3726
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
1210
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
3727
1211
  * @param {String} response The complete HTTP response.
3728
1212
  */
3729
1213
 
3730
1214
  /**
3731
- * Update an Object
3732
- * Performs an update of the Graph Object
3733
- * @param {Number} id The id of the object that we are updating
3734
- * @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject data object to update
1215
+ * Get Outgoing Relationships
1216
+ * Returns a listing of relationships
1217
+ * @param {Number} id
3735
1218
  * @param {Object} opts Optional parameters
3736
1219
  * @param {String} [authorization] The authorization token of the logged in user
3737
1220
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3739,37 +1222,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3739
1222
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3740
1223
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3741
1224
  * @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)
1225
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3742
1226
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3743
1227
  * @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
3744
1228
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3745
1229
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3746
- * @param {module:api/GraphObjectsApi~updateObjectCallback} callback The callback function, accepting three arguments: error, data, response
3747
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
1230
+ * @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
1231
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
3748
1232
  */
3749
1233
  }, {
3750
- key: "updateObject",
3751
- value: function updateObject(id, graphObjectPayload, opts, callback) {
1234
+ key: "getRelationshipsOut",
1235
+ value: function getRelationshipsOut(id, opts, callback) {
3752
1236
  opts = opts || {};
3753
- var postBody = graphObjectPayload;
1237
+ var postBody = null;
3754
1238
  // verify the required parameter 'id' is set
3755
1239
  if (id === undefined || id === null) {
3756
- throw new Error("Missing the required parameter 'id' when calling updateObject");
3757
- }
3758
- // verify the required parameter 'graphObjectPayload' is set
3759
- if (graphObjectPayload === undefined || graphObjectPayload === null) {
3760
- throw new Error("Missing the required parameter 'graphObjectPayload' when calling updateObject");
1240
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
3761
1241
  }
3762
1242
  var pathParams = {
3763
1243
  'id': id
3764
1244
  };
3765
- var queryParams = {};
3766
- var headerParams = {
3767
- 'Authorization': opts['authorization'],
1245
+ var queryParams = {
3768
1246
  'cacheduration': opts['cacheduration'],
3769
- 'cachegroup': opts['cachegroup'],
3770
- 'cachekey': opts['cachekey'],
1247
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1248
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3771
1249
  'cachescope': opts['cachescope'],
3772
- 'cacheuser': opts['cacheuser'],
1250
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1251
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1252
+ };
1253
+ var headerParams = {
1254
+ 'Authorization': opts['authorization'],
3773
1255
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3774
1256
  'zeusportal-postas': opts['zeusportalPostas'],
3775
1257
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3779,21 +1261,22 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3779
1261
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3780
1262
  var contentTypes = [];
3781
1263
  var accepts = ['application/json'];
3782
- var returnType = _PurgeDataDefaultResponseValue["default"];
3783
- return this.apiClient.callApi('/graph/data/object/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1264
+ var returnType = [_GraphRelationshipResponse["default"]];
1265
+ return this.apiClient.callApi('/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3784
1266
  }
3785
1267
 
3786
1268
  /**
3787
- * Callback function to receive the result of the updateTags operation.
3788
- * @callback module:api/GraphObjectsApi~updateTagsCallback
1269
+ * Callback function to receive the result of the isDisliked operation.
1270
+ * @callback module:api/GraphObjectsApi~isDislikedCallback
3789
1271
  * @param {String} error Error message, if any.
3790
- * @param data This operation does not return a value.
1272
+ * @param {Boolean} data The data returned by the service call.
3791
1273
  * @param {String} response The complete HTTP response.
3792
1274
  */
3793
1275
 
3794
1276
  /**
3795
- * @param {Number} id The id of the object whose tags we are updating
3796
- * @param {String} body Conversation object or array of objects to create
1277
+ * Check if the user has disliked the object
1278
+ * Checks if the user has disliked the object
1279
+ * @param {Number} objectid
3797
1280
  * @param {Object} opts Optional parameters
3798
1281
  * @param {String} [authorization] The authorization token of the logged in user
3799
1282
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3801,36 +1284,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3801
1284
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3802
1285
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3803
1286
  * @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)
1287
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3804
1288
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3805
1289
  * @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
3806
1290
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3807
1291
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3808
- * @param {module:api/GraphObjectsApi~updateTagsCallback} callback The callback function, accepting three arguments: error, data, response
1292
+ * @param {module:api/GraphObjectsApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
1293
+ * data is of type: {@link Boolean}
3809
1294
  */
3810
1295
  }, {
3811
- key: "updateTags",
3812
- value: function updateTags(id, body, opts, callback) {
1296
+ key: "isDisliked",
1297
+ value: function isDisliked(objectid, opts, callback) {
3813
1298
  opts = opts || {};
3814
- var postBody = body;
3815
- // verify the required parameter 'id' is set
3816
- if (id === undefined || id === null) {
3817
- throw new Error("Missing the required parameter 'id' when calling updateTags");
3818
- }
3819
- // verify the required parameter 'body' is set
3820
- if (body === undefined || body === null) {
3821
- throw new Error("Missing the required parameter 'body' when calling updateTags");
1299
+ var postBody = null;
1300
+ // verify the required parameter 'objectid' is set
1301
+ if (objectid === undefined || objectid === null) {
1302
+ throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
3822
1303
  }
3823
1304
  var pathParams = {
3824
- 'id': id
1305
+ 'objectid': objectid
3825
1306
  };
3826
- var queryParams = {};
3827
- var headerParams = {
3828
- 'Authorization': opts['authorization'],
1307
+ var queryParams = {
3829
1308
  'cacheduration': opts['cacheduration'],
3830
- 'cachegroup': opts['cachegroup'],
3831
- 'cachekey': opts['cachekey'],
1309
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1310
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3832
1311
  'cachescope': opts['cachescope'],
3833
- 'cacheuser': opts['cacheuser'],
1312
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1313
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1314
+ };
1315
+ var headerParams = {
1316
+ 'Authorization': opts['authorization'],
3834
1317
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3835
1318
  'zeusportal-postas': opts['zeusportalPostas'],
3836
1319
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3838,24 +1321,24 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3838
1321
  };
3839
1322
  var formParams = {};
3840
1323
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3841
- var contentTypes = ['application/json'];
3842
- var accepts = ['application/json'];
3843
- var returnType = null;
3844
- return this.apiClient.callApi('/graph/data/object/{id}/tags', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1324
+ var contentTypes = [];
1325
+ var accepts = ['text/plain'];
1326
+ var returnType = 'Boolean';
1327
+ return this.apiClient.callApi('/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3845
1328
  }
3846
1329
 
3847
1330
  /**
3848
- * Callback function to receive the result of the view operation.
3849
- * @callback module:api/GraphObjectsApi~viewCallback
1331
+ * Callback function to receive the result of the isLiked operation.
1332
+ * @callback module:api/GraphObjectsApi~isLikedCallback
3850
1333
  * @param {String} error Error message, if any.
3851
- * @param data This operation does not return a value.
1334
+ * @param {Boolean} data The data returned by the service call.
3852
1335
  * @param {String} response The complete HTTP response.
3853
1336
  */
3854
1337
 
3855
1338
  /**
3856
- * Marks the object as viewed
3857
- * Marks the object as viewed by the logged in user
3858
- * @param {Number} objectid The id of the object being viewed
1339
+ * Check if the user has liked the object
1340
+ * Checks if the user has liked the object
1341
+ * @param {Number} objectid
3859
1342
  * @param {Object} opts Optional parameters
3860
1343
  * @param {String} [authorization] The authorization token of the logged in user
3861
1344
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3863,32 +1346,36 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3863
1346
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3864
1347
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3865
1348
  * @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)
1349
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3866
1350
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3867
1351
  * @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
3868
1352
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3869
1353
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3870
- * @param {module:api/GraphObjectsApi~viewCallback} callback The callback function, accepting three arguments: error, data, response
1354
+ * @param {module:api/GraphObjectsApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
1355
+ * data is of type: {@link Boolean}
3871
1356
  */
3872
1357
  }, {
3873
- key: "view",
3874
- value: function view(objectid, opts, callback) {
1358
+ key: "isLiked",
1359
+ value: function isLiked(objectid, opts, callback) {
3875
1360
  opts = opts || {};
3876
1361
  var postBody = null;
3877
1362
  // verify the required parameter 'objectid' is set
3878
1363
  if (objectid === undefined || objectid === null) {
3879
- throw new Error("Missing the required parameter 'objectid' when calling view");
1364
+ throw new Error("Missing the required parameter 'objectid' when calling isLiked");
3880
1365
  }
3881
1366
  var pathParams = {
3882
1367
  'objectid': objectid
3883
1368
  };
3884
- var queryParams = {};
3885
- var headerParams = {
3886
- 'Authorization': opts['authorization'],
1369
+ var queryParams = {
3887
1370
  'cacheduration': opts['cacheduration'],
3888
- 'cachegroup': opts['cachegroup'],
3889
- 'cachekey': opts['cachekey'],
1371
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1372
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3890
1373
  'cachescope': opts['cachescope'],
3891
- 'cacheuser': opts['cacheuser'],
1374
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1375
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1376
+ };
1377
+ var headerParams = {
1378
+ 'Authorization': opts['authorization'],
3892
1379
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3893
1380
  'zeusportal-postas': opts['zeusportalPostas'],
3894
1381
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3897,23 +1384,23 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3897
1384
  var formParams = {};
3898
1385
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3899
1386
  var contentTypes = [];
3900
- var accepts = ['application/json'];
3901
- var returnType = null;
3902
- return this.apiClient.callApi('/graph/data/object/{objectid}/view', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1387
+ var accepts = ['text/plain'];
1388
+ var returnType = 'Boolean';
1389
+ return this.apiClient.callApi('/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3903
1390
  }
3904
1391
 
3905
1392
  /**
3906
- * Callback function to receive the result of the viewPost operation.
3907
- * @callback module:api/GraphObjectsApi~viewPostCallback
1393
+ * Callback function to receive the result of the like operation.
1394
+ * @callback module:api/GraphObjectsApi~likeCallback
3908
1395
  * @param {String} error Error message, if any.
3909
1396
  * @param data This operation does not return a value.
3910
1397
  * @param {String} response The complete HTTP response.
3911
1398
  */
3912
1399
 
3913
1400
  /**
3914
- * Marks the object as viewed (HTTP Post Operation)
3915
- * Marks the object as viewed by the logged in user
3916
- * @param {Number} id The id of the object being viewed
1401
+ * Like an Object
1402
+ * Likes an object
1403
+ * @param {Number} objectid
3917
1404
  * @param {Object} opts Optional parameters
3918
1405
  * @param {String} [authorization] The authorization token of the logged in user
3919
1406
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -3921,32 +1408,35 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3921
1408
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
3922
1409
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
3923
1410
  * @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)
1411
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
3924
1412
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
3925
1413
  * @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
3926
1414
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
3927
1415
  * @param {String} [transactionid] The id of the transaction this operation is being run in
3928
- * @param {module:api/GraphObjectsApi~viewPostCallback} callback The callback function, accepting three arguments: error, data, response
1416
+ * @param {module:api/GraphObjectsApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
3929
1417
  */
3930
1418
  }, {
3931
- key: "viewPost",
3932
- value: function viewPost(id, opts, callback) {
1419
+ key: "like",
1420
+ value: function like(objectid, opts, callback) {
3933
1421
  opts = opts || {};
3934
1422
  var postBody = null;
3935
- // verify the required parameter 'id' is set
3936
- if (id === undefined || id === null) {
3937
- throw new Error("Missing the required parameter 'id' when calling viewPost");
1423
+ // verify the required parameter 'objectid' is set
1424
+ if (objectid === undefined || objectid === null) {
1425
+ throw new Error("Missing the required parameter 'objectid' when calling like");
3938
1426
  }
3939
1427
  var pathParams = {
3940
- 'id': id
1428
+ 'objectid': objectid
3941
1429
  };
3942
- var queryParams = {};
3943
- var headerParams = {
3944
- 'Authorization': opts['authorization'],
1430
+ var queryParams = {
3945
1431
  'cacheduration': opts['cacheduration'],
3946
- 'cachegroup': opts['cachegroup'],
3947
- 'cachekey': opts['cachekey'],
1432
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1433
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
3948
1434
  'cachescope': opts['cachescope'],
3949
- 'cacheuser': opts['cacheuser'],
1435
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1436
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1437
+ };
1438
+ var headerParams = {
1439
+ 'Authorization': opts['authorization'],
3950
1440
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
3951
1441
  'zeusportal-postas': opts['zeusportalPostas'],
3952
1442
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -3955,9 +1445,9 @@ var GraphObjectsApi = exports["default"] = /*#__PURE__*/function () {
3955
1445
  var formParams = {};
3956
1446
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
3957
1447
  var contentTypes = [];
3958
- var accepts = ['application/json'];
1448
+ var accepts = ['*/*'];
3959
1449
  var returnType = null;
3960
- return this.apiClient.callApi('/graph/data/object/{id}/view', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1450
+ return this.apiClient.callApi('/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
3961
1451
  }
3962
1452
  }]);
3963
1453
  }();