@gobodo/gobodo-api 0.1.97 → 0.1.100

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 +602 -684
  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 +79 -61
  59. package/dist/api/GraphActionTypesApi.js +225 -184
  60. package/dist/api/GraphActionsApi.d.ts +28 -149
  61. package/dist/api/GraphActionsApi.js +85 -374
  62. package/dist/api/GraphObjectTypesApi.d.ts +38 -148
  63. package/dist/api/GraphObjectTypesApi.js +140 -392
  64. package/dist/api/GraphObjectsApi.d.ts +194 -1103
  65. package/dist/api/GraphObjectsApi.js +597 -2774
  66. package/dist/api/GraphRelationshipTypesApi.d.ts +67 -303
  67. package/dist/api/GraphRelationshipTypesApi.js +200 -748
  68. package/dist/api/GraphRelationshipsApi.d.ts +83 -494
  69. package/dist/api/GraphRelationshipsApi.js +351 -1306
  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 +274 -233
  76. package/dist/api/IAMApi.d.ts +21 -17
  77. package/dist/api/IAMApi.js +69 -57
  78. package/dist/api/ImagesApi.d.ts +15 -86
  79. package/dist/api/ImagesApi.js +71 -238
  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 -16
  141. package/dist/index.js +204 -85
  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 +10 -10
  157. package/dist/model/Article.js +68 -68
  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 +2 -2
  163. package/dist/model/Balance.js +19 -19
  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 +1 -1
  171. package/dist/model/Base64ImageUpload.js +2 -2
  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 +4 -4
  179. package/dist/model/Comment.js +22 -22
  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 +8 -8
  217. package/dist/model/DataSheetImport.js +76 -76
  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 +11 -11
  225. package/dist/model/Document.js +72 -72
  226. package/dist/model/DocumentPart.d.ts +6 -6
  227. package/dist/model/DocumentPart.js +54 -54
  228. package/dist/model/DocumentPartType.d.ts +4 -4
  229. package/dist/model/DocumentPartType.js +30 -30
  230. package/dist/model/DocumentType.d.ts +6 -6
  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 +5 -5
  241. package/dist/model/Fields.js +25 -25
  242. package/dist/model/File.d.ts +5 -5
  243. package/dist/model/File.js +28 -28
  244. package/dist/model/FileAttachmentUploadObject.d.ts +5 -5
  245. package/dist/model/FileAttachmentUploadObject.js +28 -28
  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 +3 -3
  251. package/dist/model/Form.js +21 -21
  252. package/dist/model/FormSection.d.ts +1 -1
  253. package/dist/model/FormSection.js +2 -2
  254. package/dist/model/FormSubmission.d.ts +3 -3
  255. package/dist/model/FormSubmission.js +17 -17
  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 +5 -5
  281. package/dist/model/Graph.js +33 -33
  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 +3 -3
  303. package/dist/model/GraphObject.js +19 -19
  304. package/dist/model/GraphObjectPayload.d.ts +3 -3
  305. package/dist/model/GraphObjectPayload.js +17 -19
  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 +3 -3
  311. package/dist/model/GraphObjectType.js +18 -18
  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 +3 -3
  317. package/dist/model/GraphObjectTypeSchema.js +18 -18
  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 +43 -43
  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 +42 -42
  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 +5 -3
  345. package/dist/model/InputPart.js +42 -23
  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 +21 -21
  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 +4 -4
  379. package/dist/model/Member.js +24 -24
  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 +3 -3
  407. package/dist/model/Objecttype.js +18 -18
  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 +4 -4
  413. package/dist/model/PageSchema.js +25 -25
  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 +10 -10
  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 +6 -6
  457. package/dist/model/PrivateMessageConversation.js +52 -52
  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 +5 -5
  485. package/dist/model/ScreenSchema.js +37 -37
  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 +5 -5
  497. package/dist/model/SkinField.js +25 -25
  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 +2 -2
  523. package/dist/model/Template.js +10 -10
  524. package/dist/model/TemplateResponse.d.ts +1 -1
  525. package/dist/model/TemplateResponse.js +2 -2
  526. package/dist/model/TemplateSchema.d.ts +2 -2
  527. package/dist/model/TemplateSchema.js +10 -10
  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 +4 -4
  555. package/dist/model/User.js +24 -24
  556. package/dist/model/UserDataPayload.d.ts +4 -4
  557. package/dist/model/UserDataPayload.js +24 -24
  558. package/dist/model/UserDomain.d.ts +1 -1
  559. package/dist/model/UserDomain.js +2 -2
  560. package/dist/model/UserInvite.d.ts +4 -4
  561. package/dist/model/UserInvite.js +26 -26
  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 +4 -4
  567. package/dist/model/UserSchema.js +24 -24
  568. package/dist/model/UserTag.d.ts +3 -3
  569. package/dist/model/UserTag.js +21 -21
  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 +10 -10
  577. package/dist/model/Video.js +63 -63
  578. package/dist/model/VideoLiveUrl.d.ts +1 -1
  579. package/dist/model/VideoLiveUrl.js +2 -2
  580. package/dist/model/VideoSchema.d.ts +10 -10
  581. package/dist/model/VideoSchema.js +63 -63
  582. package/dist/model/VideoUploadObject.d.ts +10 -10
  583. package/dist/model/VideoUploadObject.js +63 -63
  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,11 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
8
+ var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
9
9
  var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
10
- var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
11
- var _GraphRelationshipTypeResponse = _interopRequireDefault(require("../model/GraphRelationshipTypeResponse"));
12
- var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
10
+ var _GraphRelationshipResponse = _interopRequireDefault(require("../model/GraphRelationshipResponse"));
13
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
12
  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); }
15
13
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -20,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
20
18
  * gobodo-api
21
19
  * REST Interface for Gobodo API
22
20
  *
23
- * The version of the OpenAPI document: 0.1.97
21
+ * The version of the OpenAPI document: 0.1.100
24
22
  * Contact: info@gobodo.io
25
23
  *
26
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
29
  /**
32
30
  * GraphRelationships service.
33
31
  * @module api/GraphRelationshipsApi
34
- * @version 0.1.97
32
+ * @version 0.1.100
35
33
  */
36
34
  var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
37
35
  /**
@@ -47,14 +45,16 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
47
45
  }
48
46
 
49
47
  /**
50
- * Callback function to receive the result of the addEndObjectTypes1 operation.
51
- * @callback module:api/GraphRelationshipsApi~addEndObjectTypes1Callback
48
+ * Callback function to receive the result of the createRelationship operation.
49
+ * @callback module:api/GraphRelationshipsApi~createRelationshipCallback
52
50
  * @param {String} error Error message, if any.
53
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
51
+ * @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
54
52
  * @param {String} response The complete HTTP response.
55
53
  */
56
54
 
57
55
  /**
56
+ * Create a Relationship
57
+ * Create a relationship to another object
58
58
  * @param {Number} id
59
59
  * @param {Object} opts Optional parameters
60
60
  * @param {String} [authorization] The authorization token of the logged in user
@@ -63,1034 +63,37 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
63
63
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
64
64
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
65
65
  * @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)
66
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
66
67
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
67
68
  * @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
68
69
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
69
70
  * @param {String} [transactionid] The id of the transaction this operation is being run in
70
71
  * @param {String} [body]
71
- * @param {module:api/GraphRelationshipsApi~addEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
72
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
72
+ * @param {module:api/GraphRelationshipsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
73
+ * data is of type: {@link module:model/GraphRelationshipResponse}
73
74
  */
74
75
  return _createClass(GraphRelationshipsApi, [{
75
- key: "addEndObjectTypes1",
76
- value: function addEndObjectTypes1(id, opts, callback) {
77
- opts = opts || {};
78
- var postBody = opts['body'];
79
- // verify the required parameter 'id' is set
80
- if (id === undefined || id === null) {
81
- throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
82
- }
83
- var pathParams = {
84
- 'id': id
85
- };
86
- var queryParams = {};
87
- var headerParams = {
88
- 'Authorization': opts['authorization'],
89
- 'cacheduration': opts['cacheduration'],
90
- 'cachegroup': opts['cachegroup'],
91
- 'cachekey': opts['cachekey'],
92
- 'cachescope': opts['cachescope'],
93
- 'cacheuser': opts['cacheuser'],
94
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
95
- 'zeusportal-postas': opts['zeusportalPostas'],
96
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
97
- 'transactionid': opts['transactionid']
98
- };
99
- var formParams = {};
100
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
101
- var contentTypes = ['application/json'];
102
- var accepts = ['application/json'];
103
- var returnType = _PurgeDataDefaultResponseValue["default"];
104
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
105
- }
106
-
107
- /**
108
- * Callback function to receive the result of the addStartObjectTypes operation.
109
- * @callback module:api/GraphRelationshipsApi~addStartObjectTypesCallback
110
- * @param {String} error Error message, if any.
111
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
112
- * @param {String} response The complete HTTP response.
113
- */
114
-
115
- /**
116
- * @param {Number} id
117
- * @param {Object} opts Optional parameters
118
- * @param {String} [authorization] The authorization token of the logged in user
119
- * @param {Number} [cacheduration] The how long the cache entry should persist
120
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
121
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
122
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
123
- * @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)
124
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
125
- * @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
126
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
127
- * @param {String} [transactionid] The id of the transaction this operation is being run in
128
- * @param {String} [body]
129
- * @param {module:api/GraphRelationshipsApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
130
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
131
- */
132
- }, {
133
- key: "addStartObjectTypes",
134
- value: function addStartObjectTypes(id, opts, callback) {
135
- opts = opts || {};
136
- var postBody = opts['body'];
137
- // verify the required parameter 'id' is set
138
- if (id === undefined || id === null) {
139
- throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
140
- }
141
- var pathParams = {
142
- 'id': id
143
- };
144
- var queryParams = {};
145
- var headerParams = {
146
- 'Authorization': opts['authorization'],
147
- 'cacheduration': opts['cacheduration'],
148
- 'cachegroup': opts['cachegroup'],
149
- 'cachekey': opts['cachekey'],
150
- 'cachescope': opts['cachescope'],
151
- 'cacheuser': opts['cacheuser'],
152
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
153
- 'zeusportal-postas': opts['zeusportalPostas'],
154
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
155
- 'transactionid': opts['transactionid']
156
- };
157
- var formParams = {};
158
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
159
- var contentTypes = ['application/json'];
160
- var accepts = ['application/json'];
161
- var returnType = _PurgeDataDefaultResponseValue["default"];
162
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
163
- }
164
-
165
- /**
166
- * Callback function to receive the result of the createRelationship operation.
167
- * @callback module:api/GraphRelationshipsApi~createRelationshipCallback
168
- * @param {String} error Error message, if any.
169
- * @param {module:model/GraphRelationship} data The data returned by the service call.
170
- * @param {String} response The complete HTTP response.
171
- */
172
-
173
- /**
174
- * Create a Relationship
175
- * Create a relationship to another object
176
- * @param {Number} id The id of the object that we are creating relationships on
177
- * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
178
- * @param {Object} opts Optional parameters
179
- * @param {String} [authorization] The authorization token of the logged in user
180
- * @param {Number} [cacheduration] The how long the cache entry should persist
181
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
182
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
183
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
184
- * @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)
185
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
186
- * @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
187
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
188
- * @param {String} [transactionid] The id of the transaction this operation is being run in
189
- * @param {module:api/GraphRelationshipsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
190
- * data is of type: {@link module:model/GraphRelationship}
191
- */
192
- }, {
193
76
  key: "createRelationship",
194
- value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
195
- opts = opts || {};
196
- var postBody = graphRelationshipPayload;
197
- // verify the required parameter 'id' is set
198
- if (id === undefined || id === null) {
199
- throw new Error("Missing the required parameter 'id' when calling createRelationship");
200
- }
201
- // verify the required parameter 'graphRelationshipPayload' is set
202
- if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
203
- throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
204
- }
205
- var pathParams = {
206
- 'id': id
207
- };
208
- var queryParams = {};
209
- var headerParams = {
210
- 'Authorization': opts['authorization'],
211
- 'cacheduration': opts['cacheduration'],
212
- 'cachegroup': opts['cachegroup'],
213
- 'cachekey': opts['cachekey'],
214
- 'cachescope': opts['cachescope'],
215
- 'cacheuser': opts['cacheuser'],
216
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
217
- 'zeusportal-postas': opts['zeusportalPostas'],
218
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
219
- 'transactionid': opts['transactionid']
220
- };
221
- var formParams = {};
222
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
223
- var contentTypes = ['application/json'];
224
- var accepts = ['application/json'];
225
- var returnType = _GraphRelationship["default"];
226
- return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
227
- }
228
-
229
- /**
230
- * Callback function to receive the result of the createRelationshipType operation.
231
- * @callback module:api/GraphRelationshipsApi~createRelationshipTypeCallback
232
- * @param {String} error Error message, if any.
233
- * @param {module:model/GraphRelationshipType} data The data returned by the service call.
234
- * @param {String} response The complete HTTP response.
235
- */
236
-
237
- /**
238
- * Create relationshp type
239
- * Creates a new relationship type
240
- * @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
241
- * @param {Object} opts Optional parameters
242
- * @param {String} [authorization] The authorization token of the logged in user
243
- * @param {Number} [cacheduration] The how long the cache entry should persist
244
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
245
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
246
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
247
- * @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)
248
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
249
- * @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
250
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
251
- * @param {String} [transactionid] The id of the transaction this operation is being run in
252
- * @param {module:api/GraphRelationshipsApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
253
- * data is of type: {@link module:model/GraphRelationshipType}
254
- */
255
- }, {
256
- key: "createRelationshipType",
257
- value: function createRelationshipType(graphRelationshipType, opts, callback) {
258
- opts = opts || {};
259
- var postBody = graphRelationshipType;
260
- // verify the required parameter 'graphRelationshipType' is set
261
- if (graphRelationshipType === undefined || graphRelationshipType === null) {
262
- throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
263
- }
264
- var pathParams = {};
265
- var queryParams = {};
266
- var headerParams = {
267
- 'Authorization': opts['authorization'],
268
- 'cacheduration': opts['cacheduration'],
269
- 'cachegroup': opts['cachegroup'],
270
- 'cachekey': opts['cachekey'],
271
- 'cachescope': opts['cachescope'],
272
- 'cacheuser': opts['cacheuser'],
273
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
274
- 'zeusportal-postas': opts['zeusportalPostas'],
275
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
276
- 'transactionid': opts['transactionid']
277
- };
278
- var formParams = {};
279
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
280
- var contentTypes = ['application/json'];
281
- var accepts = ['application/json'];
282
- var returnType = _GraphRelationshipType["default"];
283
- return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
284
- }
285
-
286
- /**
287
- * Callback function to receive the result of the createRelationships operation.
288
- * @callback module:api/GraphRelationshipsApi~createRelationshipsCallback
289
- * @param {String} error Error message, if any.
290
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
291
- * @param {String} response The complete HTTP response.
292
- */
293
-
294
- /**
295
- * Create Relationships
296
- * Create a relationships to other objects
297
- * @param {Number} id The id of the object that we are creating relationships on
298
- * @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
299
- * @param {Object} opts Optional parameters
300
- * @param {String} [authorization] The authorization token of the logged in user
301
- * @param {Number} [cacheduration] The how long the cache entry should persist
302
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
303
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
304
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
305
- * @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)
306
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
307
- * @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
308
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
309
- * @param {String} [transactionid] The id of the transaction this operation is being run in
310
- * @param {module:api/GraphRelationshipsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
311
- * data is of type: {@link Array.<module:model/GraphRelationship>}
312
- */
313
- }, {
314
- key: "createRelationships",
315
- value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
316
- opts = opts || {};
317
- var postBody = graphRelationshipPayload;
318
- // verify the required parameter 'id' is set
319
- if (id === undefined || id === null) {
320
- throw new Error("Missing the required parameter 'id' when calling createRelationships");
321
- }
322
- // verify the required parameter 'graphRelationshipPayload' is set
323
- if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
324
- throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
325
- }
326
- var pathParams = {
327
- 'id': id
328
- };
329
- var queryParams = {};
330
- var headerParams = {
331
- 'Authorization': opts['authorization'],
332
- 'cacheduration': opts['cacheduration'],
333
- 'cachegroup': opts['cachegroup'],
334
- 'cachekey': opts['cachekey'],
335
- 'cachescope': opts['cachescope'],
336
- 'cacheuser': opts['cacheuser'],
337
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
338
- 'zeusportal-postas': opts['zeusportalPostas'],
339
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
340
- 'transactionid': opts['transactionid']
341
- };
342
- var formParams = {};
343
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
344
- var contentTypes = ['application/json'];
345
- var accepts = ['application/json'];
346
- var returnType = [_GraphRelationship["default"]];
347
- return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
348
- }
349
-
350
- /**
351
- * Callback function to receive the result of the deleteRelationship operation.
352
- * @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
353
- * @param {String} error Error message, if any.
354
- * @param data This operation does not return a value.
355
- * @param {String} response The complete HTTP response.
356
- */
357
-
358
- /**
359
- * Delete Relationship
360
- * Delete an individual relationship
361
- * @param {Number} id
362
- * @param {Object} opts Optional parameters
363
- * @param {String} [authorization] The authorization token of the logged in user
364
- * @param {Number} [cacheduration] The how long the cache entry should persist
365
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
366
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
367
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
368
- * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
369
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
370
- * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
371
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
372
- * @param {String} [transactionid] The id of the transaction this operation is being run in
373
- * @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
374
- */
375
- }, {
376
- key: "deleteRelationship",
377
- value: function deleteRelationship(id, opts, callback) {
77
+ value: function createRelationship(id, opts, callback) {
378
78
  opts = opts || {};
379
- var postBody = null;
79
+ var postBody = opts['body'];
380
80
  // verify the required parameter 'id' is set
381
81
  if (id === undefined || id === null) {
382
- throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
383
- }
384
- var pathParams = {
385
- 'id': id
386
- };
387
- var queryParams = {};
388
- var headerParams = {
389
- 'Authorization': opts['authorization'],
390
- 'cacheduration': opts['cacheduration'],
391
- 'cachegroup': opts['cachegroup'],
392
- 'cachekey': opts['cachekey'],
393
- 'cachescope': opts['cachescope'],
394
- 'cacheuser': opts['cacheuser'],
395
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
396
- 'zeusportal-postas': opts['zeusportalPostas'],
397
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
398
- 'transactionid': opts['transactionid']
399
- };
400
- var formParams = {};
401
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
402
- var contentTypes = [];
403
- var accepts = ['*/*'];
404
- var returnType = null;
405
- return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
406
- }
407
-
408
- /**
409
- * Callback function to receive the result of the get10 operation.
410
- * @callback module:api/GraphRelationshipsApi~get10Callback
411
- * @param {String} error Error message, if any.
412
- * @param data This operation does not return a value.
413
- * @param {String} response The complete HTTP response.
414
- */
415
-
416
- /**
417
- * Root for the API
418
- * @param {Object} opts Optional parameters
419
- * @param {String} [authorization] The authorization token of the logged in user
420
- * @param {Number} [cacheduration] The how long the cache entry should persist
421
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
422
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
423
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
424
- * @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)
425
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
426
- * @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
427
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
428
- * @param {String} [transactionid] The id of the transaction this operation is being run in
429
- * @param {module:api/GraphRelationshipsApi~get10Callback} callback The callback function, accepting three arguments: error, data, response
430
- */
431
- }, {
432
- key: "get10",
433
- value: function get10(opts, callback) {
434
- opts = opts || {};
435
- var postBody = null;
436
- var pathParams = {};
437
- var queryParams = {};
438
- var headerParams = {
439
- 'Authorization': opts['authorization'],
440
- 'cacheduration': opts['cacheduration'],
441
- 'cachegroup': opts['cachegroup'],
442
- 'cachekey': opts['cachekey'],
443
- 'cachescope': opts['cachescope'],
444
- 'cacheuser': opts['cacheuser'],
445
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
446
- 'zeusportal-postas': opts['zeusportalPostas'],
447
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
448
- 'transactionid': opts['transactionid']
449
- };
450
- var formParams = {};
451
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
452
- var contentTypes = [];
453
- var accepts = ['*/*'];
454
- var returnType = null;
455
- return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
456
- }
457
-
458
- /**
459
- * Callback function to receive the result of the get9 operation.
460
- * @callback module:api/GraphRelationshipsApi~get9Callback
461
- * @param {String} error Error message, if any.
462
- * @param data This operation does not return a value.
463
- * @param {String} response The complete HTTP response.
464
- */
465
-
466
- /**
467
- * Root for the API
468
- * @param {Object} opts Optional parameters
469
- * @param {String} [authorization] The authorization token of the logged in user
470
- * @param {Number} [cacheduration] The how long the cache entry should persist
471
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
472
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
473
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
474
- * @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)
475
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
476
- * @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
477
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
478
- * @param {String} [transactionid] The id of the transaction this operation is being run in
479
- * @param {module:api/GraphRelationshipsApi~get9Callback} callback The callback function, accepting three arguments: error, data, response
480
- */
481
- }, {
482
- key: "get9",
483
- value: function get9(opts, callback) {
484
- opts = opts || {};
485
- var postBody = null;
486
- var pathParams = {};
487
- var queryParams = {};
488
- var headerParams = {
489
- 'Authorization': opts['authorization'],
490
- 'cacheduration': opts['cacheduration'],
491
- 'cachegroup': opts['cachegroup'],
492
- 'cachekey': opts['cachekey'],
493
- 'cachescope': opts['cachescope'],
494
- 'cacheuser': opts['cacheuser'],
495
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
496
- 'zeusportal-postas': opts['zeusportalPostas'],
497
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
498
- 'transactionid': opts['transactionid']
499
- };
500
- var formParams = {};
501
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
502
- var contentTypes = [];
503
- var accepts = ['*/*'];
504
- var returnType = null;
505
- return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
506
- }
507
-
508
- /**
509
- * Callback function to receive the result of the getAllRelationships operation.
510
- * @callback module:api/GraphRelationshipsApi~getAllRelationshipsCallback
511
- * @param {String} error Error message, if any.
512
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
513
- * @param {String} response The complete HTTP response.
514
- */
515
-
516
- /**
517
- * Get All Relationships
518
- * Returns a listing of relationships
519
- * @param {Number} id The id of the object that we are retrieving relationships on
520
- * @param {Object} opts Optional parameters
521
- * @param {String} [authorization] The authorization token of the logged in user
522
- * @param {Number} [cacheduration] The how long the cache entry should persist
523
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
524
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
525
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
526
- * @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)
527
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
528
- * @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
529
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
530
- * @param {String} [transactionid] The id of the transaction this operation is being run in
531
- * @param {module:api/GraphRelationshipsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
532
- * data is of type: {@link Array.<module:model/GraphRelationship>}
533
- */
534
- }, {
535
- key: "getAllRelationships",
536
- value: function getAllRelationships(id, opts, callback) {
537
- opts = opts || {};
538
- var postBody = null;
539
- // verify the required parameter 'id' is set
540
- if (id === undefined || id === null) {
541
- throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
542
- }
543
- var pathParams = {
544
- 'id': id
545
- };
546
- var queryParams = {};
547
- var headerParams = {
548
- 'Authorization': opts['authorization'],
549
- 'cacheduration': opts['cacheduration'],
550
- 'cachegroup': opts['cachegroup'],
551
- 'cachekey': opts['cachekey'],
552
- 'cachescope': opts['cachescope'],
553
- 'cacheuser': opts['cacheuser'],
554
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
555
- 'zeusportal-postas': opts['zeusportalPostas'],
556
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
557
- 'transactionid': opts['transactionid']
558
- };
559
- var formParams = {};
560
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
561
- var contentTypes = [];
562
- var accepts = ['application/json'];
563
- var returnType = [_GraphRelationship["default"]];
564
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
565
- }
566
-
567
- /**
568
- * Callback function to receive the result of the getAllRelationshipsByType operation.
569
- * @callback module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback
570
- * @param {String} error Error message, if any.
571
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
572
- * @param {String} response The complete HTTP response.
573
- */
574
-
575
- /**
576
- * Get All Relationships By Type
577
- * Returns a listing of relationships
578
- * @param {Number} id The id of the relationship type we are searching for
579
- * @param {Number} reltypeid The id of the object that we are retrieving relationships on
580
- * @param {Object} opts Optional parameters
581
- * @param {String} [authorization] The authorization token of the logged in user
582
- * @param {Number} [cacheduration] The how long the cache entry should persist
583
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
584
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
585
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
586
- * @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)
587
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
588
- * @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
589
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
590
- * @param {String} [transactionid] The id of the transaction this operation is being run in
591
- * @param {module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
592
- * data is of type: {@link Array.<module:model/GraphRelationship>}
593
- */
594
- }, {
595
- key: "getAllRelationshipsByType",
596
- value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
597
- opts = opts || {};
598
- var postBody = null;
599
- // verify the required parameter 'id' is set
600
- if (id === undefined || id === null) {
601
- throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
602
- }
603
- // verify the required parameter 'reltypeid' is set
604
- if (reltypeid === undefined || reltypeid === null) {
605
- throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
606
- }
607
- var pathParams = {
608
- 'id': id,
609
- 'reltypeid': reltypeid
610
- };
611
- var queryParams = {};
612
- var headerParams = {
613
- 'Authorization': opts['authorization'],
614
- 'cacheduration': opts['cacheduration'],
615
- 'cachegroup': opts['cachegroup'],
616
- 'cachekey': opts['cachekey'],
617
- 'cachescope': opts['cachescope'],
618
- 'cacheuser': opts['cacheuser'],
619
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
620
- 'zeusportal-postas': opts['zeusportalPostas'],
621
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
622
- 'transactionid': opts['transactionid']
623
- };
624
- var formParams = {};
625
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
626
- var contentTypes = [];
627
- var accepts = ['application/json'];
628
- var returnType = [_GraphRelationship["default"]];
629
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
630
- }
631
-
632
- /**
633
- * Callback function to receive the result of the getEndObjectTypes operation.
634
- * @callback module:api/GraphRelationshipsApi~getEndObjectTypesCallback
635
- * @param {String} error Error message, if any.
636
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
637
- * @param {String} response The complete HTTP response.
638
- */
639
-
640
- /**
641
- * Retrieves the end object types on the relationship type
642
- * @param {Number} id
643
- * @param {Object} opts Optional parameters
644
- * @param {String} [authorization] The authorization token of the logged in user
645
- * @param {Number} [cacheduration] The how long the cache entry should persist
646
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
647
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
648
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
649
- * @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)
650
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
651
- * @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
652
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
653
- * @param {String} [transactionid] The id of the transaction this operation is being run in
654
- * @param {module:api/GraphRelationshipsApi~getEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
655
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
656
- */
657
- }, {
658
- key: "getEndObjectTypes",
659
- value: function getEndObjectTypes(id, opts, callback) {
660
- opts = opts || {};
661
- var postBody = null;
662
- // verify the required parameter 'id' is set
663
- if (id === undefined || id === null) {
664
- throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes");
665
- }
666
- var pathParams = {
667
- 'id': id
668
- };
669
- var queryParams = {};
670
- var headerParams = {
671
- 'Authorization': opts['authorization'],
672
- 'cacheduration': opts['cacheduration'],
673
- 'cachegroup': opts['cachegroup'],
674
- 'cachekey': opts['cachekey'],
675
- 'cachescope': opts['cachescope'],
676
- 'cacheuser': opts['cacheuser'],
677
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
678
- 'zeusportal-postas': opts['zeusportalPostas'],
679
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
680
- 'transactionid': opts['transactionid']
681
- };
682
- var formParams = {};
683
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
684
- var contentTypes = [];
685
- var accepts = ['application/json'];
686
- var returnType = _PurgeDataDefaultResponseValue["default"];
687
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
688
- }
689
-
690
- /**
691
- * Callback function to receive the result of the getFields2 operation.
692
- * @callback module:api/GraphRelationshipsApi~getFields2Callback
693
- * @param {String} error Error message, if any.
694
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
695
- * @param {String} response The complete HTTP response.
696
- */
697
-
698
- /**
699
- * @param {Number} id
700
- * @param {Object} opts Optional parameters
701
- * @param {String} [authorization] The authorization token of the logged in user
702
- * @param {Number} [cacheduration] The how long the cache entry should persist
703
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
704
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
705
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
706
- * @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)
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
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
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
710
- * @param {String} [transactionid] The id of the transaction this operation is being run in
711
- * @param {module:api/GraphRelationshipsApi~getFields2Callback} callback The callback function, accepting three arguments: error, data, response
712
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
713
- */
714
- }, {
715
- key: "getFields2",
716
- value: function getFields2(id, opts, callback) {
717
- opts = opts || {};
718
- var postBody = null;
719
- // verify the required parameter 'id' is set
720
- if (id === undefined || id === null) {
721
- throw new Error("Missing the required parameter 'id' when calling getFields2");
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 = [];
742
- var accepts = ['application/json'];
743
- var returnType = _PurgeDataDefaultResponseValue["default"];
744
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
745
- }
746
-
747
- /**
748
- * Callback function to receive the result of the getRelProperties operation.
749
- * @callback module:api/GraphRelationshipsApi~getRelPropertiesCallback
750
- * @param {String} error Error message, if any.
751
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
752
- * @param {String} response The complete HTTP response.
753
- */
754
-
755
- /**
756
- * Get Properties
757
- * Get all properties attached to a relationship
758
- * @param {Number} id
759
- * @param {Object} opts Optional parameters
760
- * @param {String} [authorization] The authorization token of the logged in user
761
- * @param {Number} [cacheduration] The how long the cache entry should persist
762
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
763
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
764
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
765
- * @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)
766
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
767
- * @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
768
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
769
- * @param {String} [transactionid] The id of the transaction this operation is being run in
770
- * @param {module:api/GraphRelationshipsApi~getRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
771
- * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
772
- */
773
- }, {
774
- key: "getRelProperties",
775
- value: function getRelProperties(id, opts, callback) {
776
- opts = opts || {};
777
- var postBody = null;
778
- // verify the required parameter 'id' is set
779
- if (id === undefined || id === null) {
780
- throw new Error("Missing the required parameter 'id' when calling getRelProperties");
781
- }
782
- var pathParams = {
783
- 'id': id
784
- };
785
- var queryParams = {};
786
- var headerParams = {
787
- 'Authorization': opts['authorization'],
788
- 'cacheduration': opts['cacheduration'],
789
- 'cachegroup': opts['cachegroup'],
790
- 'cachekey': opts['cachekey'],
791
- 'cachescope': opts['cachescope'],
792
- 'cacheuser': opts['cacheuser'],
793
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
794
- 'zeusportal-postas': opts['zeusportalPostas'],
795
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
796
- 'transactionid': opts['transactionid']
797
- };
798
- var formParams = {};
799
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
800
- var contentTypes = [];
801
- var accepts = ['application/json'];
802
- var returnType = {
803
- 'String': _PurgeDataDefaultResponseValue["default"]
804
- };
805
- return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
806
- }
807
-
808
- /**
809
- * Callback function to receive the result of the getRelProperty operation.
810
- * @callback module:api/GraphRelationshipsApi~getRelPropertyCallback
811
- * @param {String} error Error message, if any.
812
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
813
- * @param {String} response The complete HTTP response.
814
- */
815
-
816
- /**
817
- * Get Property
818
- * Get a single property attached to a relationship
819
- * @param {Number} id
820
- * @param {String} prop
821
- * @param {Object} opts Optional parameters
822
- * @param {String} [authorization] The authorization token of the logged in user
823
- * @param {Number} [cacheduration] The how long the cache entry should persist
824
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
825
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
826
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
827
- * @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)
828
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
829
- * @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
830
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
831
- * @param {String} [transactionid] The id of the transaction this operation is being run in
832
- * @param {module:api/GraphRelationshipsApi~getRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
833
- * data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
834
- */
835
- }, {
836
- key: "getRelProperty",
837
- value: function getRelProperty(id, prop, 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 getRelProperty");
843
- }
844
- // verify the required parameter 'prop' is set
845
- if (prop === undefined || prop === null) {
846
- throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
847
- }
848
- var pathParams = {
849
- 'id': id,
850
- 'prop': prop
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 = {
870
- 'String': _PurgeDataDefaultResponseValue["default"]
871
- };
872
- return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
873
- }
874
-
875
- /**
876
- * Callback function to receive the result of the getRelationshipById operation.
877
- * @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
878
- * @param {String} error Error message, if any.
879
- * @param {module:model/GraphRelationship} data The data returned by the service call.
880
- * @param {String} response The complete HTTP response.
881
- */
882
-
883
- /**
884
- * Gets the relationship by id
885
- * @param {Number} id
886
- * @param {Object} opts Optional parameters
887
- * @param {String} [authorization] The authorization token of the logged in user
888
- * @param {Number} [cacheduration] The how long the cache entry should persist
889
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
890
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
891
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
892
- * @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)
893
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
894
- * @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
895
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
896
- * @param {String} [transactionid] The id of the transaction this operation is being run in
897
- * @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
898
- * data is of type: {@link module:model/GraphRelationship}
899
- */
900
- }, {
901
- key: "getRelationshipById",
902
- value: function getRelationshipById(id, opts, callback) {
903
- opts = opts || {};
904
- var postBody = null;
905
- // verify the required parameter 'id' is set
906
- if (id === undefined || id === null) {
907
- throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
908
- }
909
- var pathParams = {
910
- 'id': id
911
- };
912
- var queryParams = {};
913
- var headerParams = {
914
- 'Authorization': opts['authorization'],
915
- 'cacheduration': opts['cacheduration'],
916
- 'cachegroup': opts['cachegroup'],
917
- 'cachekey': opts['cachekey'],
918
- 'cachescope': opts['cachescope'],
919
- 'cacheuser': opts['cacheuser'],
920
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
921
- 'zeusportal-postas': opts['zeusportalPostas'],
922
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
923
- 'transactionid': opts['transactionid']
924
- };
925
- var formParams = {};
926
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
927
- var contentTypes = [];
928
- var accepts = ['application/json'];
929
- var returnType = _GraphRelationship["default"];
930
- return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
931
- }
932
-
933
- /**
934
- * Callback function to receive the result of the getRelationshipTypeByClassName operation.
935
- * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback
936
- * @param {String} error Error message, if any.
937
- * @param {module:model/GraphRelationshipType} data The data returned by the service call.
938
- * @param {String} response The complete HTTP response.
939
- */
940
-
941
- /**
942
- * Gets the relationship type by the java classname
943
- * @param {String} classname
944
- * @param {Object} opts Optional parameters
945
- * @param {String} [authorization] The authorization token of the logged in user
946
- * @param {Number} [cacheduration] The how long the cache entry should persist
947
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
948
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
949
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
950
- * @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)
951
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
952
- * @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
953
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
954
- * @param {String} [transactionid] The id of the transaction this operation is being run in
955
- * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback} callback The callback function, accepting three arguments: error, data, response
956
- * data is of type: {@link module:model/GraphRelationshipType}
957
- */
958
- }, {
959
- key: "getRelationshipTypeByClassName",
960
- value: function getRelationshipTypeByClassName(classname, opts, callback) {
961
- opts = opts || {};
962
- var postBody = null;
963
- // verify the required parameter 'classname' is set
964
- if (classname === undefined || classname === null) {
965
- throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
966
- }
967
- var pathParams = {
968
- 'classname': classname
969
- };
970
- var queryParams = {};
971
- var headerParams = {
972
- 'Authorization': opts['authorization'],
973
- 'cacheduration': opts['cacheduration'],
974
- 'cachegroup': opts['cachegroup'],
975
- 'cachekey': opts['cachekey'],
976
- 'cachescope': opts['cachescope'],
977
- 'cacheuser': opts['cacheuser'],
978
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
979
- 'zeusportal-postas': opts['zeusportalPostas'],
980
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
981
- 'transactionid': opts['transactionid']
982
- };
983
- var formParams = {};
984
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
985
- var contentTypes = [];
986
- var accepts = ['*/*'];
987
- var returnType = _GraphRelationshipType["default"];
988
- return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
989
- }
990
-
991
- /**
992
- * Callback function to receive the result of the getRelationshipTypeById operation.
993
- * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback
994
- * @param {String} error Error message, if any.
995
- * @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
996
- * @param {String} response The complete HTTP response.
997
- */
998
-
999
- /**
1000
- * Gets the relationship type by key
1001
- * @param {String} id
1002
- * @param {Object} opts Optional parameters
1003
- * @param {String} [authorization] The authorization token of the logged in user
1004
- * @param {Number} [cacheduration] The how long the cache entry should persist
1005
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1006
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1007
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1008
- * @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)
1009
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1010
- * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1011
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1012
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1013
- * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
1014
- * data is of type: {@link module:model/GraphRelationshipTypeResponse}
1015
- */
1016
- }, {
1017
- key: "getRelationshipTypeById",
1018
- value: function getRelationshipTypeById(id, opts, callback) {
1019
- opts = opts || {};
1020
- var postBody = null;
1021
- // verify the required parameter 'id' is set
1022
- if (id === undefined || id === null) {
1023
- throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
1024
- }
1025
- var pathParams = {
1026
- 'id': id
1027
- };
1028
- var queryParams = {};
1029
- var headerParams = {
1030
- 'Authorization': opts['authorization'],
1031
- 'cacheduration': opts['cacheduration'],
1032
- 'cachegroup': opts['cachegroup'],
1033
- 'cachekey': opts['cachekey'],
1034
- 'cachescope': opts['cachescope'],
1035
- 'cacheuser': opts['cacheuser'],
1036
- 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1037
- 'zeusportal-postas': opts['zeusportalPostas'],
1038
- 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1039
- 'transactionid': opts['transactionid']
1040
- };
1041
- var formParams = {};
1042
- var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1043
- var contentTypes = [];
1044
- var accepts = ['application/json'];
1045
- var returnType = _GraphRelationshipTypeResponse["default"];
1046
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1047
- }
1048
-
1049
- /**
1050
- * Callback function to receive the result of the getRelationshipTypeByKey operation.
1051
- * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback
1052
- * @param {String} error Error message, if any.
1053
- * @param {module:model/GraphRelationshipTypeResponse} data The data returned by the service call.
1054
- * @param {String} response The complete HTTP response.
1055
- */
1056
-
1057
- /**
1058
- * Gets the relationship type by key
1059
- * @param {String} key
1060
- * @param {Object} opts Optional parameters
1061
- * @param {String} [authorization] The authorization token of the logged in user
1062
- * @param {Number} [cacheduration] The how long the cache entry should persist
1063
- * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1064
- * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1065
- * @param {module:model/String} [cachescope] The scope of storage of the cache item
1066
- * @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)
1067
- * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1068
- * @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
1069
- * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1070
- * @param {String} [transactionid] The id of the transaction this operation is being run in
1071
- * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
1072
- * data is of type: {@link module:model/GraphRelationshipTypeResponse}
1073
- */
1074
- }, {
1075
- key: "getRelationshipTypeByKey",
1076
- value: function getRelationshipTypeByKey(key, opts, callback) {
1077
- opts = opts || {};
1078
- var postBody = null;
1079
- // verify the required parameter 'key' is set
1080
- if (key === undefined || key === null) {
1081
- throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
82
+ throw new Error("Missing the required parameter 'id' when calling createRelationship");
1082
83
  }
1083
84
  var pathParams = {
1084
- 'key': key
85
+ 'id': id
1085
86
  };
1086
- var queryParams = {};
1087
- var headerParams = {
1088
- 'Authorization': opts['authorization'],
87
+ var queryParams = {
1089
88
  'cacheduration': opts['cacheduration'],
1090
- 'cachegroup': opts['cachegroup'],
1091
- 'cachekey': opts['cachekey'],
89
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
90
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1092
91
  'cachescope': opts['cachescope'],
1093
- 'cacheuser': opts['cacheuser'],
92
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
93
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
94
+ };
95
+ var headerParams = {
96
+ 'Authorization': opts['authorization'],
1094
97
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1095
98
  'zeusportal-postas': opts['zeusportalPostas'],
1096
99
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1100,21 +103,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1100
103
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1101
104
  var contentTypes = [];
1102
105
  var accepts = ['application/json'];
1103
- var returnType = _GraphRelationshipTypeResponse["default"];
1104
- return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
106
+ var returnType = _GraphRelationshipResponse["default"];
107
+ return this.apiClient.callApi('/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1105
108
  }
1106
109
 
1107
110
  /**
1108
- * Callback function to receive the result of the getRelationships operation.
1109
- * @callback module:api/GraphRelationshipsApi~getRelationshipsCallback
111
+ * Callback function to receive the result of the createRelationship1 operation.
112
+ * @callback module:api/GraphRelationshipsApi~createRelationship1Callback
1110
113
  * @param {String} error Error message, if any.
1111
- * @param {module:model/GraphRelationship} data The data returned by the service call.
114
+ * @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
1112
115
  * @param {String} response The complete HTTP response.
1113
116
  */
1114
117
 
1115
118
  /**
1116
- * Get relationships in the graph
1117
- * @param {Number} id
119
+ * Create Relationship
120
+ * Create a new relationship
121
+ * @param {Number} startObjectId
122
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
1118
123
  * @param {Object} opts Optional parameters
1119
124
  * @param {String} [authorization] The authorization token of the logged in user
1120
125
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1122,33 +127,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1122
127
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1123
128
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1124
129
  * @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)
130
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1125
131
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1126
132
  * @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
1127
133
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1128
134
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1129
- * @param {module:api/GraphRelationshipsApi~getRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
1130
- * data is of type: {@link module:model/GraphRelationship}
135
+ * @param {module:api/GraphRelationshipsApi~createRelationship1Callback} callback The callback function, accepting three arguments: error, data, response
136
+ * data is of type: {@link module:model/GraphRelationshipResponse}
1131
137
  */
1132
138
  }, {
1133
- key: "getRelationships",
1134
- value: function getRelationships(id, opts, callback) {
139
+ key: "createRelationship1",
140
+ value: function createRelationship1(startObjectId, graphRelationshipPayload, opts, callback) {
1135
141
  opts = opts || {};
1136
- var postBody = null;
1137
- // verify the required parameter 'id' is set
1138
- if (id === undefined || id === null) {
1139
- throw new Error("Missing the required parameter 'id' when calling getRelationships");
142
+ var postBody = graphRelationshipPayload;
143
+ // verify the required parameter 'startObjectId' is set
144
+ if (startObjectId === undefined || startObjectId === null) {
145
+ throw new Error("Missing the required parameter 'startObjectId' when calling createRelationship1");
146
+ }
147
+ // verify the required parameter 'graphRelationshipPayload' is set
148
+ if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
149
+ throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship1");
1140
150
  }
1141
151
  var pathParams = {
1142
- 'id': id
152
+ 'startObjectId': startObjectId
1143
153
  };
1144
- var queryParams = {};
1145
- var headerParams = {
1146
- 'Authorization': opts['authorization'],
154
+ var queryParams = {
1147
155
  'cacheduration': opts['cacheduration'],
1148
- 'cachegroup': opts['cachegroup'],
1149
- 'cachekey': opts['cachekey'],
156
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
157
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1150
158
  'cachescope': opts['cachescope'],
1151
- 'cacheuser': opts['cacheuser'],
159
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
160
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
161
+ };
162
+ var headerParams = {
163
+ 'Authorization': opts['authorization'],
1152
164
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1153
165
  'zeusportal-postas': opts['zeusportalPostas'],
1154
166
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1158,22 +170,22 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1158
170
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1159
171
  var contentTypes = [];
1160
172
  var accepts = ['application/json'];
1161
- var returnType = _GraphRelationship["default"];
1162
- return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
173
+ var returnType = _GraphRelationshipResponse["default"];
174
+ return this.apiClient.callApi('/relationship/from/{startObjectId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1163
175
  }
1164
176
 
1165
177
  /**
1166
- * Callback function to receive the result of the getRelationships1 operation.
1167
- * @callback module:api/GraphRelationshipsApi~getRelationships1Callback
178
+ * Callback function to receive the result of the createRelationships operation.
179
+ * @callback module:api/GraphRelationshipsApi~createRelationshipsCallback
1168
180
  * @param {String} error Error message, if any.
1169
- * @param {module:model/GraphRelationship} data The data returned by the service call.
181
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1170
182
  * @param {String} response The complete HTTP response.
1171
183
  */
1172
184
 
1173
185
  /**
1174
- * Get relationships in the graph with the given object type
186
+ * Create Relationships
187
+ * Create relationships to other objects
1175
188
  * @param {Number} id
1176
- * @param {String} type
1177
189
  * @param {Object} opts Optional parameters
1178
190
  * @param {String} [authorization] The authorization token of the logged in user
1179
191
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1181,38 +193,37 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1181
193
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1182
194
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1183
195
  * @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)
196
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1184
197
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1185
198
  * @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
1186
199
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1187
200
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1188
- * @param {module:api/GraphRelationshipsApi~getRelationships1Callback} callback The callback function, accepting three arguments: error, data, response
1189
- * data is of type: {@link module:model/GraphRelationship}
201
+ * @param {String} [body]
202
+ * @param {module:api/GraphRelationshipsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
203
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1190
204
  */
1191
205
  }, {
1192
- key: "getRelationships1",
1193
- value: function getRelationships1(id, type, opts, callback) {
206
+ key: "createRelationships",
207
+ value: function createRelationships(id, opts, callback) {
1194
208
  opts = opts || {};
1195
- var postBody = null;
209
+ var postBody = opts['body'];
1196
210
  // verify the required parameter 'id' is set
1197
211
  if (id === undefined || id === null) {
1198
- throw new Error("Missing the required parameter 'id' when calling getRelationships1");
1199
- }
1200
- // verify the required parameter 'type' is set
1201
- if (type === undefined || type === null) {
1202
- throw new Error("Missing the required parameter 'type' when calling getRelationships1");
212
+ throw new Error("Missing the required parameter 'id' when calling createRelationships");
1203
213
  }
1204
214
  var pathParams = {
1205
- 'id': id,
1206
- 'type': type
215
+ 'id': id
1207
216
  };
1208
- var queryParams = {};
1209
- var headerParams = {
1210
- 'Authorization': opts['authorization'],
217
+ var queryParams = {
1211
218
  'cacheduration': opts['cacheduration'],
1212
- 'cachegroup': opts['cachegroup'],
1213
- 'cachekey': opts['cachekey'],
219
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
220
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1214
221
  'cachescope': opts['cachescope'],
1215
- 'cacheuser': opts['cacheuser'],
222
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
223
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
224
+ };
225
+ var headerParams = {
226
+ 'Authorization': opts['authorization'],
1216
227
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1217
228
  'zeusportal-postas': opts['zeusportalPostas'],
1218
229
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1222,23 +233,22 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1222
233
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1223
234
  var contentTypes = [];
1224
235
  var accepts = ['application/json'];
1225
- var returnType = _GraphRelationship["default"];
1226
- return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
236
+ var returnType = [_GraphRelationshipResponse["default"]];
237
+ return this.apiClient.callApi('/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1227
238
  }
1228
239
 
1229
240
  /**
1230
- * Callback function to receive the result of the getRelationshipsByTypeIn operation.
1231
- * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback
241
+ * Callback function to receive the result of the deleteRelationship operation.
242
+ * @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
1232
243
  * @param {String} error Error message, if any.
1233
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
244
+ * @param data This operation does not return a value.
1234
245
  * @param {String} response The complete HTTP response.
1235
246
  */
1236
247
 
1237
248
  /**
1238
- * Get Incoming Relationships By Type
1239
- * Returns a listing of relationships
1240
- * @param {Number} id The id of the object that we are retrieving relationships on
1241
- * @param {Number} reltypeid The id of the relationship type we are searching for
249
+ * Delete Relationship
250
+ * Delete a relationship
251
+ * @param {Number} id
1242
252
  * @param {Object} opts Optional parameters
1243
253
  * @param {String} [authorization] The authorization token of the logged in user
1244
254
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1246,38 +256,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1246
256
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1247
257
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1248
258
  * @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)
259
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1249
260
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1250
261
  * @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
1251
262
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1252
263
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1253
- * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
1254
- * data is of type: {@link Array.<module:model/GraphRelationship>}
264
+ * @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
1255
265
  */
1256
266
  }, {
1257
- key: "getRelationshipsByTypeIn",
1258
- value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
267
+ key: "deleteRelationship",
268
+ value: function deleteRelationship(id, opts, callback) {
1259
269
  opts = opts || {};
1260
270
  var postBody = null;
1261
271
  // verify the required parameter 'id' is set
1262
272
  if (id === undefined || id === null) {
1263
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
1264
- }
1265
- // verify the required parameter 'reltypeid' is set
1266
- if (reltypeid === undefined || reltypeid === null) {
1267
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
273
+ throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
1268
274
  }
1269
275
  var pathParams = {
1270
- 'id': id,
1271
- 'reltypeid': reltypeid
276
+ 'id': id
1272
277
  };
1273
- var queryParams = {};
1274
- var headerParams = {
1275
- 'Authorization': opts['authorization'],
278
+ var queryParams = {
1276
279
  'cacheduration': opts['cacheduration'],
1277
- 'cachegroup': opts['cachegroup'],
1278
- 'cachekey': opts['cachekey'],
280
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
281
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1279
282
  'cachescope': opts['cachescope'],
1280
- 'cacheuser': opts['cacheuser'],
283
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
284
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
285
+ };
286
+ var headerParams = {
287
+ 'Authorization': opts['authorization'],
1281
288
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1282
289
  'zeusportal-postas': opts['zeusportalPostas'],
1283
290
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1287,23 +294,22 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1287
294
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1288
295
  var contentTypes = [];
1289
296
  var accepts = ['application/json'];
1290
- var returnType = [_GraphRelationship["default"]];
1291
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
297
+ var returnType = null;
298
+ return this.apiClient.callApi('/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1292
299
  }
1293
300
 
1294
301
  /**
1295
- * Callback function to receive the result of the getRelationshipsByTypeOut operation.
1296
- * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback
302
+ * Callback function to receive the result of the getAllRelationships operation.
303
+ * @callback module:api/GraphRelationshipsApi~getAllRelationshipsCallback
1297
304
  * @param {String} error Error message, if any.
1298
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
305
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1299
306
  * @param {String} response The complete HTTP response.
1300
307
  */
1301
308
 
1302
309
  /**
1303
- * Get Outgoing Relationships By Type
310
+ * Get All Relationships
1304
311
  * Returns a listing of relationships
1305
- * @param {Number} id The id of the object that we are retrieving relationships on
1306
- * @param {Number} reltypeid The id of the relationship type we are searching for
312
+ * @param {Number} id
1307
313
  * @param {Object} opts Optional parameters
1308
314
  * @param {String} [authorization] The authorization token of the logged in user
1309
315
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1311,38 +317,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1311
317
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1312
318
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1313
319
  * @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)
320
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1314
321
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1315
322
  * @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
1316
323
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1317
324
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1318
- * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
1319
- * data is of type: {@link Array.<module:model/GraphRelationship>}
325
+ * @param {module:api/GraphRelationshipsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
326
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1320
327
  */
1321
328
  }, {
1322
- key: "getRelationshipsByTypeOut",
1323
- value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
329
+ key: "getAllRelationships",
330
+ value: function getAllRelationships(id, opts, callback) {
1324
331
  opts = opts || {};
1325
332
  var postBody = null;
1326
333
  // verify the required parameter 'id' is set
1327
334
  if (id === undefined || id === null) {
1328
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
1329
- }
1330
- // verify the required parameter 'reltypeid' is set
1331
- if (reltypeid === undefined || reltypeid === null) {
1332
- throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
335
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
1333
336
  }
1334
337
  var pathParams = {
1335
- 'id': id,
1336
- 'reltypeid': reltypeid
338
+ 'id': id
1337
339
  };
1338
- var queryParams = {};
1339
- var headerParams = {
1340
- 'Authorization': opts['authorization'],
340
+ var queryParams = {
1341
341
  'cacheduration': opts['cacheduration'],
1342
- 'cachegroup': opts['cachegroup'],
1343
- 'cachekey': opts['cachekey'],
342
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
343
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1344
344
  'cachescope': opts['cachescope'],
1345
- 'cacheuser': opts['cacheuser'],
345
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
346
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
347
+ };
348
+ var headerParams = {
349
+ 'Authorization': opts['authorization'],
1346
350
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1347
351
  'zeusportal-postas': opts['zeusportalPostas'],
1348
352
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1352,22 +356,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1352
356
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1353
357
  var contentTypes = [];
1354
358
  var accepts = ['application/json'];
1355
- var returnType = [_GraphRelationship["default"]];
1356
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
359
+ var returnType = [_GraphRelationshipResponse["default"]];
360
+ return this.apiClient.callApi('/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1357
361
  }
1358
362
 
1359
363
  /**
1360
- * Callback function to receive the result of the getRelationshipsIn operation.
1361
- * @callback module:api/GraphRelationshipsApi~getRelationshipsInCallback
364
+ * Callback function to receive the result of the getAllRelationshipsByType operation.
365
+ * @callback module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback
1362
366
  * @param {String} error Error message, if any.
1363
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
367
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1364
368
  * @param {String} response The complete HTTP response.
1365
369
  */
1366
370
 
1367
371
  /**
1368
- * Get Incoming Relationships
372
+ * Get All Relationships By Type
1369
373
  * Returns a listing of relationships
1370
- * @param {Number} id The id of the object that we are retrieving relationships on
374
+ * @param {Number} id
375
+ * @param {Number} reltypeid
1371
376
  * @param {Object} opts Optional parameters
1372
377
  * @param {String} [authorization] The authorization token of the logged in user
1373
378
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1375,33 +380,41 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1375
380
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1376
381
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1377
382
  * @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)
383
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1378
384
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1379
385
  * @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
1380
386
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1381
387
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1382
- * @param {module:api/GraphRelationshipsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
1383
- * data is of type: {@link Array.<module:model/GraphRelationship>}
388
+ * @param {module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
389
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1384
390
  */
1385
391
  }, {
1386
- key: "getRelationshipsIn",
1387
- value: function getRelationshipsIn(id, opts, callback) {
392
+ key: "getAllRelationshipsByType",
393
+ value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
1388
394
  opts = opts || {};
1389
395
  var postBody = null;
1390
396
  // verify the required parameter 'id' is set
1391
397
  if (id === undefined || id === null) {
1392
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
398
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
399
+ }
400
+ // verify the required parameter 'reltypeid' is set
401
+ if (reltypeid === undefined || reltypeid === null) {
402
+ throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
1393
403
  }
1394
404
  var pathParams = {
1395
- 'id': id
405
+ 'id': id,
406
+ 'reltypeid': reltypeid
1396
407
  };
1397
- var queryParams = {};
1398
- var headerParams = {
1399
- 'Authorization': opts['authorization'],
408
+ var queryParams = {
1400
409
  'cacheduration': opts['cacheduration'],
1401
- 'cachegroup': opts['cachegroup'],
1402
- 'cachekey': opts['cachekey'],
410
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
411
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1403
412
  'cachescope': opts['cachescope'],
1404
- 'cacheuser': opts['cacheuser'],
413
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
414
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
415
+ };
416
+ var headerParams = {
417
+ 'Authorization': opts['authorization'],
1405
418
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1406
419
  'zeusportal-postas': opts['zeusportalPostas'],
1407
420
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1411,22 +424,21 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1411
424
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1412
425
  var contentTypes = [];
1413
426
  var accepts = ['application/json'];
1414
- var returnType = [_GraphRelationship["default"]];
1415
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
427
+ var returnType = [_GraphRelationshipResponse["default"]];
428
+ return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1416
429
  }
1417
430
 
1418
431
  /**
1419
- * Callback function to receive the result of the getRelationshipsOut operation.
1420
- * @callback module:api/GraphRelationshipsApi~getRelationshipsOutCallback
432
+ * Callback function to receive the result of the getRelationshipById operation.
433
+ * @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
1421
434
  * @param {String} error Error message, if any.
1422
- * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
435
+ * @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
1423
436
  * @param {String} response The complete HTTP response.
1424
437
  */
1425
438
 
1426
439
  /**
1427
- * Get Outgoing Relationships
1428
- * Returns a listing of relationships
1429
- * @param {Number} id The id of the object that we are retrieving relationships on
440
+ * Gets the relationship by id
441
+ * @param {Number} id
1430
442
  * @param {Object} opts Optional parameters
1431
443
  * @param {String} [authorization] The authorization token of the logged in user
1432
444
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1434,33 +446,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1434
446
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1435
447
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1436
448
  * @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)
449
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1437
450
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1438
451
  * @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
1439
452
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1440
453
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1441
- * @param {module:api/GraphRelationshipsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
1442
- * data is of type: {@link Array.<module:model/GraphRelationship>}
454
+ * @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
455
+ * data is of type: {@link module:model/GraphRelationshipResponse}
1443
456
  */
1444
457
  }, {
1445
- key: "getRelationshipsOut",
1446
- value: function getRelationshipsOut(id, opts, callback) {
458
+ key: "getRelationshipById",
459
+ value: function getRelationshipById(id, opts, callback) {
1447
460
  opts = opts || {};
1448
461
  var postBody = null;
1449
462
  // verify the required parameter 'id' is set
1450
463
  if (id === undefined || id === null) {
1451
- throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
464
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
1452
465
  }
1453
466
  var pathParams = {
1454
467
  'id': id
1455
468
  };
1456
- var queryParams = {};
1457
- var headerParams = {
1458
- 'Authorization': opts['authorization'],
469
+ var queryParams = {
1459
470
  'cacheduration': opts['cacheduration'],
1460
- 'cachegroup': opts['cachegroup'],
1461
- 'cachekey': opts['cachekey'],
471
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
472
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1462
473
  'cachescope': opts['cachescope'],
1463
- 'cacheuser': opts['cacheuser'],
474
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
475
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
476
+ };
477
+ var headerParams = {
478
+ 'Authorization': opts['authorization'],
1464
479
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1465
480
  'zeusportal-postas': opts['zeusportalPostas'],
1466
481
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1470,20 +485,21 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1470
485
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1471
486
  var contentTypes = [];
1472
487
  var accepts = ['application/json'];
1473
- var returnType = [_GraphRelationship["default"]];
1474
- return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
488
+ var returnType = _GraphRelationshipResponse["default"];
489
+ return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1475
490
  }
1476
491
 
1477
492
  /**
1478
- * Callback function to receive the result of the getStartObjectTypes operation.
1479
- * @callback module:api/GraphRelationshipsApi~getStartObjectTypesCallback
493
+ * Callback function to receive the result of the getRelationshipProperties operation.
494
+ * @callback module:api/GraphRelationshipsApi~getRelationshipPropertiesCallback
1480
495
  * @param {String} error Error message, if any.
1481
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
496
+ * @param data This operation does not return a value.
1482
497
  * @param {String} response The complete HTTP response.
1483
498
  */
1484
499
 
1485
500
  /**
1486
- * Retrieves the start object types on the relationship type
501
+ * Get Relationship Properties
502
+ * Get properties of a relationship
1487
503
  * @param {Number} id
1488
504
  * @param {Object} opts Optional parameters
1489
505
  * @param {String} [authorization] The authorization token of the logged in user
@@ -1492,33 +508,35 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1492
508
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1493
509
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1494
510
  * @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)
511
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1495
512
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1496
513
  * @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
1497
514
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1498
515
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1499
- * @param {module:api/GraphRelationshipsApi~getStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1500
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
516
+ * @param {module:api/GraphRelationshipsApi~getRelationshipPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
1501
517
  */
1502
518
  }, {
1503
- key: "getStartObjectTypes",
1504
- value: function getStartObjectTypes(id, opts, callback) {
519
+ key: "getRelationshipProperties",
520
+ value: function getRelationshipProperties(id, opts, callback) {
1505
521
  opts = opts || {};
1506
522
  var postBody = null;
1507
523
  // verify the required parameter 'id' is set
1508
524
  if (id === undefined || id === null) {
1509
- throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
525
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
1510
526
  }
1511
527
  var pathParams = {
1512
528
  'id': id
1513
529
  };
1514
- var queryParams = {};
1515
- var headerParams = {
1516
- 'Authorization': opts['authorization'],
530
+ var queryParams = {
1517
531
  'cacheduration': opts['cacheduration'],
1518
- 'cachegroup': opts['cachegroup'],
1519
- 'cachekey': opts['cachekey'],
532
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
533
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1520
534
  'cachescope': opts['cachescope'],
1521
- 'cacheuser': opts['cacheuser'],
535
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
536
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
537
+ };
538
+ var headerParams = {
539
+ 'Authorization': opts['authorization'],
1522
540
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1523
541
  'zeusportal-postas': opts['zeusportalPostas'],
1524
542
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1528,20 +546,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1528
546
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1529
547
  var contentTypes = [];
1530
548
  var accepts = ['application/json'];
1531
- var returnType = _PurgeDataDefaultResponseValue["default"];
1532
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
549
+ var returnType = null;
550
+ return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1533
551
  }
1534
552
 
1535
553
  /**
1536
- * Callback function to receive the result of the removeEndObjectTypes operation.
1537
- * @callback module:api/GraphRelationshipsApi~removeEndObjectTypesCallback
554
+ * Callback function to receive the result of the getRelationshipsByTypeIn operation.
555
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback
1538
556
  * @param {String} error Error message, if any.
1539
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
557
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1540
558
  * @param {String} response The complete HTTP response.
1541
559
  */
1542
560
 
1543
561
  /**
562
+ * Get Incoming Relationships By Type
563
+ * Returns a listing of relationships
1544
564
  * @param {Number} id
565
+ * @param {Number} reltypeid
1545
566
  * @param {Object} opts Optional parameters
1546
567
  * @param {String} [authorization] The authorization token of the logged in user
1547
568
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1549,34 +570,41 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1549
570
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1550
571
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1551
572
  * @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)
573
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1552
574
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1553
575
  * @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
1554
576
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1555
577
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1556
- * @param {String} [body]
1557
- * @param {module:api/GraphRelationshipsApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1558
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
578
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
579
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1559
580
  */
1560
581
  }, {
1561
- key: "removeEndObjectTypes",
1562
- value: function removeEndObjectTypes(id, opts, callback) {
582
+ key: "getRelationshipsByTypeIn",
583
+ value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
1563
584
  opts = opts || {};
1564
- var postBody = opts['body'];
585
+ var postBody = null;
1565
586
  // verify the required parameter 'id' is set
1566
587
  if (id === undefined || id === null) {
1567
- throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
588
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
589
+ }
590
+ // verify the required parameter 'reltypeid' is set
591
+ if (reltypeid === undefined || reltypeid === null) {
592
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
1568
593
  }
1569
594
  var pathParams = {
1570
- 'id': id
595
+ 'id': id,
596
+ 'reltypeid': reltypeid
1571
597
  };
1572
- var queryParams = {};
1573
- var headerParams = {
1574
- 'Authorization': opts['authorization'],
598
+ var queryParams = {
1575
599
  'cacheduration': opts['cacheduration'],
1576
- 'cachegroup': opts['cachegroup'],
1577
- 'cachekey': opts['cachekey'],
600
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
601
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1578
602
  'cachescope': opts['cachescope'],
1579
- 'cacheuser': opts['cacheuser'],
603
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
604
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
605
+ };
606
+ var headerParams = {
607
+ 'Authorization': opts['authorization'],
1580
608
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1581
609
  'zeusportal-postas': opts['zeusportalPostas'],
1582
610
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1584,22 +612,25 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1584
612
  };
1585
613
  var formParams = {};
1586
614
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1587
- var contentTypes = ['application/json'];
615
+ var contentTypes = [];
1588
616
  var accepts = ['application/json'];
1589
- var returnType = _PurgeDataDefaultResponseValue["default"];
1590
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
617
+ var returnType = [_GraphRelationshipResponse["default"]];
618
+ return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1591
619
  }
1592
620
 
1593
621
  /**
1594
- * Callback function to receive the result of the removeStartObjectTypes operation.
1595
- * @callback module:api/GraphRelationshipsApi~removeStartObjectTypesCallback
622
+ * Callback function to receive the result of the getRelationshipsByTypeOut operation.
623
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback
1596
624
  * @param {String} error Error message, if any.
1597
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
625
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1598
626
  * @param {String} response The complete HTTP response.
1599
627
  */
1600
628
 
1601
629
  /**
630
+ * Get Outgoing Relationships By Type
631
+ * Returns a listing of relationships
1602
632
  * @param {Number} id
633
+ * @param {Number} reltypeid
1603
634
  * @param {Object} opts Optional parameters
1604
635
  * @param {String} [authorization] The authorization token of the logged in user
1605
636
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1607,34 +638,41 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1607
638
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1608
639
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1609
640
  * @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)
641
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1610
642
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1611
643
  * @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
1612
644
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1613
645
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1614
- * @param {String} [body]
1615
- * @param {module:api/GraphRelationshipsApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1616
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
646
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
647
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1617
648
  */
1618
649
  }, {
1619
- key: "removeStartObjectTypes",
1620
- value: function removeStartObjectTypes(id, opts, callback) {
650
+ key: "getRelationshipsByTypeOut",
651
+ value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
1621
652
  opts = opts || {};
1622
- var postBody = opts['body'];
653
+ var postBody = null;
1623
654
  // verify the required parameter 'id' is set
1624
655
  if (id === undefined || id === null) {
1625
- throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
656
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
657
+ }
658
+ // verify the required parameter 'reltypeid' is set
659
+ if (reltypeid === undefined || reltypeid === null) {
660
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
1626
661
  }
1627
662
  var pathParams = {
1628
- 'id': id
663
+ 'id': id,
664
+ 'reltypeid': reltypeid
1629
665
  };
1630
- var queryParams = {};
1631
- var headerParams = {
1632
- 'Authorization': opts['authorization'],
666
+ var queryParams = {
1633
667
  'cacheduration': opts['cacheduration'],
1634
- 'cachegroup': opts['cachegroup'],
1635
- 'cachekey': opts['cachekey'],
668
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
669
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1636
670
  'cachescope': opts['cachescope'],
1637
- 'cacheuser': opts['cacheuser'],
671
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
672
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
673
+ };
674
+ var headerParams = {
675
+ 'Authorization': opts['authorization'],
1638
676
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1639
677
  'zeusportal-postas': opts['zeusportalPostas'],
1640
678
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1642,23 +680,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1642
680
  };
1643
681
  var formParams = {};
1644
682
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1645
- var contentTypes = ['application/json'];
683
+ var contentTypes = [];
1646
684
  var accepts = ['application/json'];
1647
- var returnType = _PurgeDataDefaultResponseValue["default"];
1648
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
685
+ var returnType = [_GraphRelationshipResponse["default"]];
686
+ return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1649
687
  }
1650
688
 
1651
689
  /**
1652
- * Callback function to receive the result of the setRelProperties operation.
1653
- * @callback module:api/GraphRelationshipsApi~setRelPropertiesCallback
690
+ * Callback function to receive the result of the getRelationshipsIn operation.
691
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsInCallback
1654
692
  * @param {String} error Error message, if any.
1655
- * @param data This operation does not return a value.
693
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1656
694
  * @param {String} response The complete HTTP response.
1657
695
  */
1658
696
 
1659
697
  /**
1660
- * Set Multiple Properties
1661
- * Set multiple properties attaced to an object / record
698
+ * Get Incoming Relationships
699
+ * Returns a listing of relationships
1662
700
  * @param {Number} id
1663
701
  * @param {Object} opts Optional parameters
1664
702
  * @param {String} [authorization] The authorization token of the logged in user
@@ -1667,33 +705,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1667
705
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1668
706
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1669
707
  * @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)
708
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1670
709
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1671
710
  * @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
1672
711
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1673
712
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1674
- * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
1675
- * @param {module:api/GraphRelationshipsApi~setRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
713
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
714
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1676
715
  */
1677
716
  }, {
1678
- key: "setRelProperties",
1679
- value: function setRelProperties(id, opts, callback) {
717
+ key: "getRelationshipsIn",
718
+ value: function getRelationshipsIn(id, opts, callback) {
1680
719
  opts = opts || {};
1681
- var postBody = opts['requestBody'];
720
+ var postBody = null;
1682
721
  // verify the required parameter 'id' is set
1683
722
  if (id === undefined || id === null) {
1684
- throw new Error("Missing the required parameter 'id' when calling setRelProperties");
723
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
1685
724
  }
1686
725
  var pathParams = {
1687
726
  'id': id
1688
727
  };
1689
- var queryParams = {};
1690
- var headerParams = {
1691
- 'Authorization': opts['authorization'],
728
+ var queryParams = {
1692
729
  'cacheduration': opts['cacheduration'],
1693
- 'cachegroup': opts['cachegroup'],
1694
- 'cachekey': opts['cachekey'],
730
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
731
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1695
732
  'cachescope': opts['cachescope'],
1696
- 'cacheuser': opts['cacheuser'],
733
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
734
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
735
+ };
736
+ var headerParams = {
737
+ 'Authorization': opts['authorization'],
1697
738
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1698
739
  'zeusportal-postas': opts['zeusportalPostas'],
1699
740
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1702,24 +743,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1702
743
  var formParams = {};
1703
744
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1704
745
  var contentTypes = [];
1705
- var accepts = ['*/*'];
1706
- var returnType = null;
1707
- return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
746
+ var accepts = ['application/json'];
747
+ var returnType = [_GraphRelationshipResponse["default"]];
748
+ return this.apiClient.callApi('/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1708
749
  }
1709
750
 
1710
751
  /**
1711
- * Callback function to receive the result of the setRelProperty operation.
1712
- * @callback module:api/GraphRelationshipsApi~setRelPropertyCallback
752
+ * Callback function to receive the result of the getRelationshipsOut operation.
753
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsOutCallback
1713
754
  * @param {String} error Error message, if any.
1714
- * @param data This operation does not return a value.
755
+ * @param {Array.<module:model/GraphRelationshipResponse>} data The data returned by the service call.
1715
756
  * @param {String} response The complete HTTP response.
1716
757
  */
1717
758
 
1718
759
  /**
1719
- * Update Property
1720
- * Update a specific property
760
+ * Get Outgoing Relationships
761
+ * Returns a listing of relationships
1721
762
  * @param {Number} id
1722
- * @param {String} prop
1723
763
  * @param {Object} opts Optional parameters
1724
764
  * @param {String} [authorization] The authorization token of the logged in user
1725
765
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1727,38 +767,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1727
767
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1728
768
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1729
769
  * @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)
770
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1730
771
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1731
772
  * @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
1732
773
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1733
774
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1734
- * @param {String} [body]
1735
- * @param {module:api/GraphRelationshipsApi~setRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
775
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
776
+ * data is of type: {@link Array.<module:model/GraphRelationshipResponse>}
1736
777
  */
1737
778
  }, {
1738
- key: "setRelProperty",
1739
- value: function setRelProperty(id, prop, opts, callback) {
779
+ key: "getRelationshipsOut",
780
+ value: function getRelationshipsOut(id, opts, callback) {
1740
781
  opts = opts || {};
1741
- var postBody = opts['body'];
782
+ var postBody = null;
1742
783
  // verify the required parameter 'id' is set
1743
784
  if (id === undefined || id === null) {
1744
- throw new Error("Missing the required parameter 'id' when calling setRelProperty");
1745
- }
1746
- // verify the required parameter 'prop' is set
1747
- if (prop === undefined || prop === null) {
1748
- throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
785
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
1749
786
  }
1750
787
  var pathParams = {
1751
- 'id': id,
1752
- 'prop': prop
788
+ 'id': id
1753
789
  };
1754
- var queryParams = {};
1755
- var headerParams = {
1756
- 'Authorization': opts['authorization'],
790
+ var queryParams = {
1757
791
  'cacheduration': opts['cacheduration'],
1758
- 'cachegroup': opts['cachegroup'],
1759
- 'cachekey': opts['cachekey'],
792
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
793
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1760
794
  'cachescope': opts['cachescope'],
1761
- 'cacheuser': opts['cacheuser'],
795
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
796
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
797
+ };
798
+ var headerParams = {
799
+ 'Authorization': opts['authorization'],
1762
800
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1763
801
  'zeusportal-postas': opts['zeusportalPostas'],
1764
802
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1767,24 +805,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1767
805
  var formParams = {};
1768
806
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1769
807
  var contentTypes = [];
1770
- var accepts = ['*/*'];
1771
- var returnType = null;
1772
- return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
808
+ var accepts = ['application/json'];
809
+ var returnType = [_GraphRelationshipResponse["default"]];
810
+ return this.apiClient.callApi('/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1773
811
  }
1774
812
 
1775
813
  /**
1776
- * Callback function to receive the result of the updateRelationshipType operation.
1777
- * @callback module:api/GraphRelationshipsApi~updateRelationshipTypeCallback
814
+ * Callback function to receive the result of the updateRelationship operation.
815
+ * @callback module:api/GraphRelationshipsApi~updateRelationshipCallback
1778
816
  * @param {String} error Error message, if any.
1779
- * @param {module:model/GraphRelationshipType} data The data returned by the service call.
817
+ * @param {module:model/GraphRelationshipResponse} data The data returned by the service call.
1780
818
  * @param {String} response The complete HTTP response.
1781
819
  */
1782
820
 
1783
821
  /**
1784
- * Update a relationshp type
1785
- * Performs an update of the relationship type
1786
- * @param {Number} id The id of the relationship type we are updating
1787
- * @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
822
+ * Update Relationship
823
+ * Update an existing relationship
824
+ * @param {Number} id
825
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
1788
826
  * @param {Object} opts Optional parameters
1789
827
  * @param {String} [authorization] The authorization token of the logged in user
1790
828
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -1792,37 +830,40 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1792
830
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1793
831
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1794
832
  * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
833
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1795
834
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1796
835
  * @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
1797
836
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1798
837
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1799
- * @param {module:api/GraphRelationshipsApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
1800
- * data is of type: {@link module:model/GraphRelationshipType}
838
+ * @param {module:api/GraphRelationshipsApi~updateRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
839
+ * data is of type: {@link module:model/GraphRelationshipResponse}
1801
840
  */
1802
841
  }, {
1803
- key: "updateRelationshipType",
1804
- value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
842
+ key: "updateRelationship",
843
+ value: function updateRelationship(id, graphRelationshipPayload, opts, callback) {
1805
844
  opts = opts || {};
1806
- var postBody = graphRelationshipType;
845
+ var postBody = graphRelationshipPayload;
1807
846
  // verify the required parameter 'id' is set
1808
847
  if (id === undefined || id === null) {
1809
- throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
848
+ throw new Error("Missing the required parameter 'id' when calling updateRelationship");
1810
849
  }
1811
- // verify the required parameter 'graphRelationshipType' is set
1812
- if (graphRelationshipType === undefined || graphRelationshipType === null) {
1813
- throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
850
+ // verify the required parameter 'graphRelationshipPayload' is set
851
+ if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
852
+ throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
1814
853
  }
1815
854
  var pathParams = {
1816
855
  'id': id
1817
856
  };
1818
- var queryParams = {};
1819
- var headerParams = {
1820
- 'Authorization': opts['authorization'],
857
+ var queryParams = {
1821
858
  'cacheduration': opts['cacheduration'],
1822
- 'cachegroup': opts['cachegroup'],
1823
- 'cachekey': opts['cachekey'],
859
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
860
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1824
861
  'cachescope': opts['cachescope'],
1825
- 'cacheuser': opts['cacheuser'],
862
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
863
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
864
+ };
865
+ var headerParams = {
866
+ 'Authorization': opts['authorization'],
1826
867
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1827
868
  'zeusportal-postas': opts['zeusportalPostas'],
1828
869
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1830,21 +871,23 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1830
871
  };
1831
872
  var formParams = {};
1832
873
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1833
- var contentTypes = ['application/json'];
874
+ var contentTypes = [];
1834
875
  var accepts = ['application/json'];
1835
- var returnType = _GraphRelationshipType["default"];
1836
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
876
+ var returnType = _GraphRelationshipResponse["default"];
877
+ return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1837
878
  }
1838
879
 
1839
880
  /**
1840
- * Callback function to receive the result of the updateTemplate2 operation.
1841
- * @callback module:api/GraphRelationshipsApi~updateTemplate2Callback
881
+ * Callback function to receive the result of the updateRelationshipProperties operation.
882
+ * @callback module:api/GraphRelationshipsApi~updateRelationshipPropertiesCallback
1842
883
  * @param {String} error Error message, if any.
1843
- * @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
884
+ * @param data This operation does not return a value.
1844
885
  * @param {String} response The complete HTTP response.
1845
886
  */
1846
887
 
1847
888
  /**
889
+ * Update Relationship Properties
890
+ * Update properties of a relationship
1848
891
  * @param {Number} id
1849
892
  * @param {Object} opts Optional parameters
1850
893
  * @param {String} [authorization] The authorization token of the logged in user
@@ -1853,34 +896,36 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1853
896
  * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1854
897
  * @param {module:model/String} [cachescope] The scope of storage of the cache item
1855
898
  * @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)
899
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1856
900
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1857
901
  * @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
1858
902
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1859
903
  * @param {String} [transactionid] The id of the transaction this operation is being run in
1860
- * @param {String} [body]
1861
- * @param {module:api/GraphRelationshipsApi~updateTemplate2Callback} callback The callback function, accepting three arguments: error, data, response
1862
- * data is of type: {@link module:model/PurgeDataDefaultResponseValue}
904
+ * @param {Object.<String, Object>} [body]
905
+ * @param {module:api/GraphRelationshipsApi~updateRelationshipPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
1863
906
  */
1864
907
  }, {
1865
- key: "updateTemplate2",
1866
- value: function updateTemplate2(id, opts, callback) {
908
+ key: "updateRelationshipProperties",
909
+ value: function updateRelationshipProperties(id, opts, callback) {
1867
910
  opts = opts || {};
1868
911
  var postBody = opts['body'];
1869
912
  // verify the required parameter 'id' is set
1870
913
  if (id === undefined || id === null) {
1871
- throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
914
+ throw new Error("Missing the required parameter 'id' when calling updateRelationshipProperties");
1872
915
  }
1873
916
  var pathParams = {
1874
917
  'id': id
1875
918
  };
1876
- var queryParams = {};
1877
- var headerParams = {
1878
- 'Authorization': opts['authorization'],
919
+ var queryParams = {
1879
920
  'cacheduration': opts['cacheduration'],
1880
- 'cachegroup': opts['cachegroup'],
1881
- 'cachekey': opts['cachekey'],
921
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
922
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1882
923
  'cachescope': opts['cachescope'],
1883
- 'cacheuser': opts['cacheuser'],
924
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
925
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
926
+ };
927
+ var headerParams = {
928
+ 'Authorization': opts['authorization'],
1884
929
  'zeusportal-postas-app': opts['zeusportalPostasApp'],
1885
930
  'zeusportal-postas': opts['zeusportalPostas'],
1886
931
  'zeusportal-postas-site': opts['zeusportalPostasSite'],
@@ -1888,10 +933,10 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
1888
933
  };
1889
934
  var formParams = {};
1890
935
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1891
- var contentTypes = ['application/json'];
936
+ var contentTypes = [];
1892
937
  var accepts = ['application/json'];
1893
- var returnType = _PurgeDataDefaultResponseValue["default"];
1894
- return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
938
+ var returnType = null;
939
+ return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1895
940
  }
1896
941
  }]);
1897
942
  }();