@gobodo/gobodo-api-promise 0.1.99 → 0.1.101

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 (608) hide show
  1. package/README.md +43 -18
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/ApiClient.d.ts +1 -1
  4. package/dist/ApiClient.d.ts.map +1 -1
  5. package/dist/ApiClient.js +3 -3
  6. package/dist/api/AdCampaignsApi.d.ts +1 -1
  7. package/dist/api/AdCampaignsApi.js +2 -2
  8. package/dist/api/AdManagementApi.d.ts +1 -1
  9. package/dist/api/AdManagementApi.js +2 -2
  10. package/dist/api/AdminDataManagementApi.d.ts +1 -1
  11. package/dist/api/AdminDataManagementApi.js +2 -2
  12. package/dist/api/AdsApi.d.ts +1 -1
  13. package/dist/api/AdsApi.js +2 -2
  14. package/dist/api/AttachmentsApi.d.ts +1 -1
  15. package/dist/api/AttachmentsApi.js +2 -2
  16. package/dist/api/AuthenticationApi.d.ts +1 -1
  17. package/dist/api/AuthenticationApi.js +2 -2
  18. package/dist/api/CategoriesApi.d.ts +1 -1
  19. package/dist/api/CategoriesApi.js +2 -2
  20. package/dist/api/CommentsApi.d.ts +1 -1
  21. package/dist/api/CommentsApi.js +2 -2
  22. package/dist/api/ContentManagementApi.d.ts +1 -1
  23. package/dist/api/ContentManagementApi.js +2 -2
  24. package/dist/api/ConversationsApi.d.ts +1 -1
  25. package/dist/api/ConversationsApi.js +2 -2
  26. package/dist/api/CurrencyApi.d.ts +1 -1
  27. package/dist/api/CurrencyApi.js +2 -2
  28. package/dist/api/DataSheetImportsApi.d.ts +1 -1
  29. package/dist/api/DataSheetImportsApi.js +2 -2
  30. package/dist/api/DefaultApi.d.ts +1 -1
  31. package/dist/api/DefaultApi.js +2 -2
  32. package/dist/api/DocumentPartTypesApi.d.ts +1 -1
  33. package/dist/api/DocumentPartTypesApi.js +2 -2
  34. package/dist/api/DocumentTypesApi.d.ts +1 -1
  35. package/dist/api/DocumentTypesApi.js +2 -2
  36. package/dist/api/DocumentsApi.d.ts +1 -1
  37. package/dist/api/DocumentsApi.js +2 -2
  38. package/dist/api/EmailsApi.d.ts +1 -1
  39. package/dist/api/EmailsApi.js +2 -2
  40. package/dist/api/EntryPartsApi.d.ts +1 -1
  41. package/dist/api/EntryPartsApi.js +2 -2
  42. package/dist/api/FacebookApi.d.ts +1 -1
  43. package/dist/api/FacebookApi.js +2 -2
  44. package/dist/api/FieldsApi.d.ts +1 -1
  45. package/dist/api/FieldsApi.js +2 -2
  46. package/dist/api/FormsApi.d.ts +7 -7
  47. package/dist/api/FormsApi.d.ts.map +1 -1
  48. package/dist/api/FormsApi.js +21 -21
  49. package/dist/api/FunctionsApi.d.ts +1 -1
  50. package/dist/api/FunctionsApi.js +2 -2
  51. package/dist/api/GeocodeApi.d.ts +1 -1
  52. package/dist/api/GeocodeApi.js +2 -2
  53. package/dist/api/GobodoManagementApi.d.ts +1 -1
  54. package/dist/api/GobodoManagementApi.js +2 -2
  55. package/dist/api/GoogleApi.d.ts +1 -1
  56. package/dist/api/GoogleApi.js +2 -2
  57. package/dist/api/GraphActionTypesApi.d.ts +48 -1
  58. package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
  59. package/dist/api/GraphActionTypesApi.js +89 -2
  60. package/dist/api/GraphActionsApi.d.ts +232 -3
  61. package/dist/api/GraphActionsApi.d.ts.map +1 -1
  62. package/dist/api/GraphActionsApi.js +419 -10
  63. package/dist/api/GraphObjectTypesApi.d.ts +1 -1
  64. package/dist/api/GraphObjectTypesApi.js +2 -2
  65. package/dist/api/GraphObjectsApi.d.ts +326 -1
  66. package/dist/api/GraphObjectsApi.d.ts.map +1 -1
  67. package/dist/api/GraphObjectsApi.js +590 -2
  68. package/dist/api/GraphRelationshipTypesApi.d.ts +142 -1
  69. package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
  70. package/dist/api/GraphRelationshipTypesApi.js +261 -2
  71. package/dist/api/GraphRelationshipsApi.d.ts +436 -17
  72. package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
  73. package/dist/api/GraphRelationshipsApi.js +818 -73
  74. package/dist/api/GraphSchemasApi.d.ts +1 -1
  75. package/dist/api/GraphSchemasApi.js +2 -2
  76. package/dist/api/GraphTraversalApi.d.ts +1 -1
  77. package/dist/api/GraphTraversalApi.js +2 -2
  78. package/dist/api/GraphsApi.d.ts +25 -25
  79. package/dist/api/GraphsApi.d.ts.map +1 -1
  80. package/dist/api/GraphsApi.js +65 -65
  81. package/dist/api/GroupsApi.d.ts +11 -11
  82. package/dist/api/IAMApi.d.ts +1 -1
  83. package/dist/api/IAMApi.js +2 -2
  84. package/dist/api/ImagesApi.d.ts +1 -1
  85. package/dist/api/ImagesApi.js +2 -2
  86. package/dist/api/InvitesApi.d.ts +1 -1
  87. package/dist/api/InvitesApi.js +2 -2
  88. package/dist/api/LikesApi.d.ts +5 -5
  89. package/dist/api/LikesApi.d.ts.map +1 -1
  90. package/dist/api/LikesApi.js +15 -15
  91. package/dist/api/LinkedINApi.d.ts +1 -1
  92. package/dist/api/LinkedINApi.js +2 -2
  93. package/dist/api/LiveMeetingsApi.d.ts +1 -1
  94. package/dist/api/LiveMeetingsApi.js +2 -2
  95. package/dist/api/MeetingEventsApi.d.ts +1 -1
  96. package/dist/api/MeetingEventsApi.js +2 -2
  97. package/dist/api/NotificationsApi.d.ts +1 -1
  98. package/dist/api/NotificationsApi.js +2 -2
  99. package/dist/api/PagesApi.d.ts +1 -1
  100. package/dist/api/PagesApi.js +2 -2
  101. package/dist/api/PasswordResetApi.d.ts +1 -1
  102. package/dist/api/PasswordResetApi.js +2 -2
  103. package/dist/api/PhoneNumbersApi.d.ts +1 -1
  104. package/dist/api/PhoneNumbersApi.js +2 -2
  105. package/dist/api/PostsApi.d.ts +1 -1
  106. package/dist/api/PostsApi.js +2 -2
  107. package/dist/api/PrivateMessagesApi.d.ts +1 -1
  108. package/dist/api/PrivateMessagesApi.js +2 -2
  109. package/dist/api/PublicationsApi.d.ts +1 -1
  110. package/dist/api/PublicationsApi.js +2 -2
  111. package/dist/api/RestApplicationsApi.d.ts +1 -1
  112. package/dist/api/RestApplicationsApi.js +2 -2
  113. package/dist/api/ScreensApi.d.ts +1 -1
  114. package/dist/api/ScreensApi.js +2 -2
  115. package/dist/api/SitesApi.d.ts +1 -1
  116. package/dist/api/SitesApi.js +2 -2
  117. package/dist/api/SocialGroupsApi.d.ts +1 -1
  118. package/dist/api/SocialGroupsApi.js +2 -2
  119. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  120. package/dist/api/SocialIntegrationApi.js +2 -2
  121. package/dist/api/StripeAccountsApi.d.ts +1 -1
  122. package/dist/api/StripeAccountsApi.js +2 -2
  123. package/dist/api/TemplatesApi.d.ts +1 -1
  124. package/dist/api/TemplatesApi.js +2 -2
  125. package/dist/api/ThemeMappingsApi.d.ts +1 -1
  126. package/dist/api/ThemeMappingsApi.js +2 -2
  127. package/dist/api/TopicsApi.d.ts +1 -1
  128. package/dist/api/TopicsApi.js +2 -2
  129. package/dist/api/TransactionsApi.d.ts +1 -1
  130. package/dist/api/TransactionsApi.js +2 -2
  131. package/dist/api/TwitterApi.d.ts +1 -1
  132. package/dist/api/TwitterApi.js +2 -2
  133. package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
  134. package/dist/api/UserManagerAdministrationApi.js +2 -2
  135. package/dist/api/UserTagsApi.d.ts +5 -5
  136. package/dist/api/UserTagsApi.js +15 -15
  137. package/dist/api/UsersApi.d.ts +1 -1
  138. package/dist/api/UsersApi.js +2 -2
  139. package/dist/api/UtilsApi.d.ts +1 -1
  140. package/dist/api/UtilsApi.js +2 -2
  141. package/dist/api/VideosApi.d.ts +1 -1
  142. package/dist/api/VideosApi.js +2 -2
  143. package/dist/api/WalletsApi.d.ts +1 -1
  144. package/dist/api/WalletsApi.js +2 -2
  145. package/dist/model/APIClient.d.ts +1 -1
  146. package/dist/model/APIClient.js +2 -2
  147. package/dist/model/AccountSessionInput.d.ts +1 -1
  148. package/dist/model/AccountSessionInput.js +2 -2
  149. package/dist/model/AccountSessionResponse.d.ts +1 -1
  150. package/dist/model/AccountSessionResponse.js +2 -2
  151. package/dist/model/Address.d.ts +1 -1
  152. package/dist/model/Address.js +2 -2
  153. package/dist/model/AddressResponse.d.ts +1 -1
  154. package/dist/model/AddressResponse.js +2 -2
  155. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  156. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  157. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +1 -1
  158. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  159. package/dist/model/Article.d.ts +10 -10
  160. package/dist/model/Article.d.ts.map +1 -1
  161. package/dist/model/Article.js +25 -25
  162. package/dist/model/AuthResponse.d.ts +1 -1
  163. package/dist/model/AuthResponse.js +2 -2
  164. package/dist/model/AwsSettings.d.ts +1 -1
  165. package/dist/model/AwsSettings.js +2 -2
  166. package/dist/model/Balance.d.ts +19 -19
  167. package/dist/model/Balance.d.ts.map +1 -1
  168. package/dist/model/Balance.js +78 -78
  169. package/dist/model/BalanceDetails.d.ts +1 -1
  170. package/dist/model/BalanceDetails.js +2 -2
  171. package/dist/model/BalanceResponse.d.ts +1 -1
  172. package/dist/model/BalanceResponse.js +2 -2
  173. package/dist/model/BankAccountInfo.d.ts +1 -1
  174. package/dist/model/BankAccountInfo.js +2 -2
  175. package/dist/model/Base64ImageUpload.d.ts +1 -1
  176. package/dist/model/Base64ImageUpload.js +2 -2
  177. package/dist/model/BlogPostResponse.d.ts +1 -1
  178. package/dist/model/BlogPostResponse.js +2 -2
  179. package/dist/model/CacheInvalidation.d.ts +1 -1
  180. package/dist/model/CacheInvalidation.js +2 -2
  181. package/dist/model/CardInfo.d.ts +1 -1
  182. package/dist/model/CardInfo.js +2 -2
  183. package/dist/model/Comment.d.ts +10 -10
  184. package/dist/model/Comment.d.ts.map +1 -1
  185. package/dist/model/Comment.js +31 -31
  186. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  187. package/dist/model/ConsoleProjectInput.js +2 -2
  188. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  189. package/dist/model/ConsoleProjectResponse.js +2 -2
  190. package/dist/model/Coordinates.d.ts +1 -1
  191. package/dist/model/Coordinates.js +2 -2
  192. package/dist/model/CreateAccountResponse.d.ts +1 -1
  193. package/dist/model/CreateAccountResponse.js +2 -2
  194. package/dist/model/CreateFunctionInput.d.ts +1 -1
  195. package/dist/model/CreateFunctionInput.js +2 -2
  196. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  197. package/dist/model/CreateStripeAccountInput.js +2 -2
  198. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  199. package/dist/model/CreateStripeCustomerInput.js +2 -2
  200. package/dist/model/CreateTopicInput.d.ts +1 -1
  201. package/dist/model/CreateTopicInput.js +2 -2
  202. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  203. package/dist/model/CreateTopicListenerInput.js +2 -2
  204. package/dist/model/Currency.d.ts +1 -1
  205. package/dist/model/Currency.js +2 -2
  206. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  207. package/dist/model/CurrencyGrantInput.js +2 -2
  208. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  209. package/dist/model/CurrencyGrantResponse.js +2 -2
  210. package/dist/model/CurrencyInput.d.ts +1 -1
  211. package/dist/model/CurrencyInput.js +2 -2
  212. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  213. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  214. package/dist/model/CurrencyResponse.d.ts +1 -1
  215. package/dist/model/CurrencyResponse.js +2 -2
  216. package/dist/model/CurrencySettings.d.ts +1 -1
  217. package/dist/model/CurrencySettings.js +2 -2
  218. package/dist/model/CustomerResponse.d.ts +1 -1
  219. package/dist/model/CustomerResponse.js +2 -2
  220. package/dist/model/DataObject.d.ts +1 -1
  221. package/dist/model/DataObject.js +2 -2
  222. package/dist/model/DataSheetImport.d.ts +19 -19
  223. package/dist/model/DataSheetImport.d.ts.map +1 -1
  224. package/dist/model/DataSheetImport.js +53 -53
  225. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  226. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  227. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  228. package/dist/model/DataSheetImportSummary.js +2 -2
  229. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  230. package/dist/model/DeviceRegistrationRequest.js +2 -2
  231. package/dist/model/Document.d.ts +10 -10
  232. package/dist/model/Document.d.ts.map +1 -1
  233. package/dist/model/Document.js +25 -25
  234. package/dist/model/DocumentPart.d.ts +18 -18
  235. package/dist/model/DocumentPart.d.ts.map +1 -1
  236. package/dist/model/DocumentPart.js +52 -52
  237. package/dist/model/DocumentPartType.d.ts +10 -10
  238. package/dist/model/DocumentPartType.d.ts.map +1 -1
  239. package/dist/model/DocumentPartType.js +31 -31
  240. package/dist/model/DocumentType.d.ts +19 -19
  241. package/dist/model/DocumentType.d.ts.map +1 -1
  242. package/dist/model/DocumentType.js +54 -54
  243. package/dist/model/DomainMappingInput.d.ts +1 -1
  244. package/dist/model/DomainMappingInput.js +2 -2
  245. package/dist/model/DomainMappingResponse.d.ts +1 -1
  246. package/dist/model/DomainMappingResponse.js +2 -2
  247. package/dist/model/EmailAddress.d.ts +1 -1
  248. package/dist/model/EmailAddress.js +2 -2
  249. package/dist/model/FieldMapping.d.ts +1 -1
  250. package/dist/model/FieldMapping.js +2 -2
  251. package/dist/model/Fields.d.ts +10 -10
  252. package/dist/model/Fields.d.ts.map +1 -1
  253. package/dist/model/Fields.js +27 -27
  254. package/dist/model/File.d.ts +1 -1
  255. package/dist/model/File.js +2 -2
  256. package/dist/model/FileAttachmentUploadObject.d.ts +1 -1
  257. package/dist/model/FileAttachmentUploadObject.js +2 -2
  258. package/dist/model/Filter.d.ts +1 -1
  259. package/dist/model/Filter.js +2 -2
  260. package/dist/model/FilterManager.d.ts +1 -1
  261. package/dist/model/FilterManager.js +2 -2
  262. package/dist/model/Form.d.ts +10 -10
  263. package/dist/model/Form.d.ts.map +1 -1
  264. package/dist/model/Form.js +37 -37
  265. package/dist/model/FormSection.d.ts +10 -10
  266. package/dist/model/FormSection.d.ts.map +1 -1
  267. package/dist/model/FormSection.js +37 -37
  268. package/dist/model/FormSubmission.d.ts +1 -1
  269. package/dist/model/FormSubmission.js +2 -2
  270. package/dist/model/FunctionConfigInput.d.ts +1 -1
  271. package/dist/model/FunctionConfigInput.js +2 -2
  272. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  273. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  274. package/dist/model/FunctionInput.d.ts +1 -1
  275. package/dist/model/FunctionInput.js +2 -2
  276. package/dist/model/FunctionOutput.d.ts +1 -1
  277. package/dist/model/FunctionOutput.js +2 -2
  278. package/dist/model/GeocodePayload.d.ts +1 -1
  279. package/dist/model/GeocodePayload.js +2 -2
  280. package/dist/model/GeocodeResponse.d.ts +1 -1
  281. package/dist/model/GeocodeResponse.js +2 -2
  282. package/dist/model/GeolocationInput.d.ts +1 -1
  283. package/dist/model/GeolocationInput.js +2 -2
  284. package/dist/model/GetFunctionConfig.d.ts +1 -1
  285. package/dist/model/GetFunctionConfig.js +2 -2
  286. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  287. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  288. package/dist/model/GetFunctionResponse.d.ts +1 -1
  289. package/dist/model/GetFunctionResponse.js +2 -2
  290. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  291. package/dist/model/GoogleCloudSettings.js +2 -2
  292. package/dist/model/Graph.d.ts +1 -1
  293. package/dist/model/Graph.js +2 -2
  294. package/dist/model/GraphAction.d.ts +1 -1
  295. package/dist/model/GraphAction.js +2 -2
  296. package/dist/model/GraphActionPayload.d.ts +1 -1
  297. package/dist/model/GraphActionPayload.js +2 -2
  298. package/dist/model/GraphActionResponse.d.ts +1 -1
  299. package/dist/model/GraphActionResponse.js +2 -2
  300. package/dist/model/GraphActionTypeInput.d.ts +1 -1
  301. package/dist/model/GraphActionTypeInput.js +2 -2
  302. package/dist/model/GraphActionTypeResponse.d.ts +1 -1
  303. package/dist/model/GraphActionTypeResponse.js +2 -2
  304. package/dist/model/GraphInput.d.ts +1 -1
  305. package/dist/model/GraphInput.js +2 -2
  306. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  307. package/dist/model/GraphIteratorEntryPart.js +2 -2
  308. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
  309. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  310. package/dist/model/GraphObject.d.ts +10 -10
  311. package/dist/model/GraphObject.d.ts.map +1 -1
  312. package/dist/model/GraphObject.js +27 -27
  313. package/dist/model/GraphObjectPayload.d.ts +10 -1
  314. package/dist/model/GraphObjectPayload.d.ts.map +1 -1
  315. package/dist/model/GraphObjectPayload.js +31 -2
  316. package/dist/model/GraphObjectResponse.d.ts +1 -1
  317. package/dist/model/GraphObjectResponse.js +2 -2
  318. package/dist/model/GraphObjectType.d.ts +9 -9
  319. package/dist/model/GraphObjectType.d.ts.map +1 -1
  320. package/dist/model/GraphObjectType.js +23 -23
  321. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  322. package/dist/model/GraphObjectTypeInput.js +2 -2
  323. package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
  324. package/dist/model/GraphObjectTypeResponse.js +2 -2
  325. package/dist/model/GraphObjectTypeSchema.d.ts +9 -9
  326. package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
  327. package/dist/model/GraphObjectTypeSchema.js +23 -23
  328. package/dist/model/GraphOwner.d.ts +1 -1
  329. package/dist/model/GraphOwner.js +2 -2
  330. package/dist/model/GraphRelationship.d.ts +1 -1
  331. package/dist/model/GraphRelationship.js +2 -2
  332. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  333. package/dist/model/GraphRelationshipPayload.js +2 -2
  334. package/dist/model/GraphRelationshipResponse.d.ts +1 -1
  335. package/dist/model/GraphRelationshipResponse.js +2 -2
  336. package/dist/model/GraphRelationshipType.d.ts +10 -10
  337. package/dist/model/GraphRelationshipType.d.ts.map +1 -1
  338. package/dist/model/GraphRelationshipType.js +27 -27
  339. package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
  340. package/dist/model/GraphRelationshipTypeInput.js +2 -2
  341. package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
  342. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  343. package/dist/model/GraphResponse.d.ts +1 -1
  344. package/dist/model/GraphResponse.js +2 -2
  345. package/dist/model/GraphSchemaInput.d.ts +1 -1
  346. package/dist/model/GraphSchemaInput.js +2 -2
  347. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  348. package/dist/model/GraphSchemaResponse.js +2 -2
  349. package/dist/model/GraphTraversalInput.d.ts +1 -1
  350. package/dist/model/GraphTraversalInput.js +2 -2
  351. package/dist/model/Image.d.ts +1 -1
  352. package/dist/model/Image.js +2 -2
  353. package/dist/model/InputPart.d.ts +10 -10
  354. package/dist/model/InputPart.d.ts.map +1 -1
  355. package/dist/model/InputPart.js +27 -27
  356. package/dist/model/InputPartHeaders.d.ts +1 -1
  357. package/dist/model/InputPartHeaders.js +2 -2
  358. package/dist/model/JsonArray.d.ts +1 -1
  359. package/dist/model/JsonArray.js +2 -2
  360. package/dist/model/JsonObject.d.ts +1 -1
  361. package/dist/model/JsonObject.js +2 -2
  362. package/dist/model/JsonValue.d.ts +1 -1
  363. package/dist/model/JsonValue.js +2 -2
  364. package/dist/model/KafkaSettings.d.ts +1 -1
  365. package/dist/model/KafkaSettings.js +2 -2
  366. package/dist/model/Link.d.ts +10 -10
  367. package/dist/model/Link.d.ts.map +1 -1
  368. package/dist/model/Link.js +29 -29
  369. package/dist/model/LiveStreamInfo.d.ts +1 -1
  370. package/dist/model/LiveStreamInfo.js +2 -2
  371. package/dist/model/MediaType.d.ts +1 -1
  372. package/dist/model/MediaType.js +2 -2
  373. package/dist/model/MeetingEventInput.d.ts +1 -1
  374. package/dist/model/MeetingEventInput.js +2 -2
  375. package/dist/model/MeetingEventResponse.d.ts +1 -1
  376. package/dist/model/MeetingEventResponse.js +2 -2
  377. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  378. package/dist/model/MeetingEventTypeInput.js +2 -2
  379. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  380. package/dist/model/MeetingEventTypeResponse.js +2 -2
  381. package/dist/model/MeetingInfo.d.ts +10 -10
  382. package/dist/model/MeetingInfo.d.ts.map +1 -1
  383. package/dist/model/MeetingInfo.js +31 -31
  384. package/dist/model/Member.d.ts +10 -10
  385. package/dist/model/Member.d.ts.map +1 -1
  386. package/dist/model/Member.js +31 -31
  387. package/dist/model/MemberGroupCategory.d.ts +1 -1
  388. package/dist/model/MemberGroupCategory.js +2 -2
  389. package/dist/model/MemberList.d.ts +1 -1
  390. package/dist/model/MemberList.js +2 -2
  391. package/dist/model/MemberManagerConfigInput.d.ts +1 -1
  392. package/dist/model/MemberManagerConfigInput.js +2 -2
  393. package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
  394. package/dist/model/MemberManagerConfigResponse.js +2 -2
  395. package/dist/model/MemberManagerInput.d.ts +1 -1
  396. package/dist/model/MemberManagerInput.js +2 -2
  397. package/dist/model/MemberManagerResponse.d.ts +1 -1
  398. package/dist/model/MemberManagerResponse.js +2 -2
  399. package/dist/model/MessageGroup.d.ts +1 -1
  400. package/dist/model/MessageGroup.js +2 -2
  401. package/dist/model/MultipartBody.d.ts +1 -1
  402. package/dist/model/MultipartBody.js +2 -2
  403. package/dist/model/MultivaluedMapStringString.d.ts +1 -1
  404. package/dist/model/MultivaluedMapStringString.js +2 -2
  405. package/dist/model/NotificationInput.d.ts +1 -1
  406. package/dist/model/NotificationInput.js +2 -2
  407. package/dist/model/NotificationResponse.d.ts +1 -1
  408. package/dist/model/NotificationResponse.js +2 -2
  409. package/dist/model/NumberSettings.d.ts +1 -1
  410. package/dist/model/NumberSettings.js +2 -2
  411. package/dist/model/ObjectSettings.d.ts +1 -1
  412. package/dist/model/ObjectSettings.js +2 -2
  413. package/dist/model/Objecttype.d.ts +9 -9
  414. package/dist/model/Objecttype.d.ts.map +1 -1
  415. package/dist/model/Objecttype.js +23 -23
  416. package/dist/model/OutParameter.d.ts +1 -1
  417. package/dist/model/OutParameter.js +2 -2
  418. package/dist/model/Page.d.ts +1 -1
  419. package/dist/model/Page.js +2 -2
  420. package/dist/model/PageSchema.d.ts +1 -1
  421. package/dist/model/PageSchema.js +2 -2
  422. package/dist/model/Pageable.d.ts +1 -1
  423. package/dist/model/Pageable.js +2 -2
  424. package/dist/model/Parameter.d.ts +1 -1
  425. package/dist/model/Parameter.js +2 -2
  426. package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
  427. package/dist/model/PasswordResetInitiateRequest.js +2 -2
  428. package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
  429. package/dist/model/PasswordResetInitiateResponse.js +2 -2
  430. package/dist/model/PasswordResetRequest.d.ts +1 -1
  431. package/dist/model/PasswordResetRequest.js +2 -2
  432. package/dist/model/PasswordResetResponse.d.ts +1 -1
  433. package/dist/model/PasswordResetResponse.js +2 -2
  434. package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
  435. package/dist/model/PasswordResetValidationResponse.js +2 -2
  436. package/dist/model/Path.d.ts +1 -1
  437. package/dist/model/Path.js +2 -2
  438. package/dist/model/PaymentAccountObject.d.ts +1 -1
  439. package/dist/model/PaymentAccountObject.js +2 -2
  440. package/dist/model/PaymentIntentInput.d.ts +1 -1
  441. package/dist/model/PaymentIntentInput.js +2 -2
  442. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  443. package/dist/model/PaymentIntentResponse.js +2 -2
  444. package/dist/model/PaymentMethod.d.ts +9 -9
  445. package/dist/model/PaymentMethod.d.ts.map +1 -1
  446. package/dist/model/PaymentMethod.js +23 -23
  447. package/dist/model/PaymentMethodInput.d.ts +1 -1
  448. package/dist/model/PaymentMethodInput.js +2 -2
  449. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  450. package/dist/model/PaymentMethodResponse.js +2 -2
  451. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  452. package/dist/model/PaymentMethodsResponse.js +2 -2
  453. package/dist/model/Payout.d.ts +1 -1
  454. package/dist/model/Payout.js +2 -2
  455. package/dist/model/PayoutInput.d.ts +1 -1
  456. package/dist/model/PayoutInput.js +2 -2
  457. package/dist/model/PayoutResponse.d.ts +1 -1
  458. package/dist/model/PayoutResponse.js +2 -2
  459. package/dist/model/PhoneNumber.d.ts +9 -9
  460. package/dist/model/PhoneNumber.d.ts.map +1 -1
  461. package/dist/model/PhoneNumber.js +27 -27
  462. package/dist/model/Post.d.ts +1 -1
  463. package/dist/model/Post.js +2 -2
  464. package/dist/model/PrivateMessage.d.ts +1 -1
  465. package/dist/model/PrivateMessage.js +2 -2
  466. package/dist/model/PrivateMessageConversation.d.ts +21 -21
  467. package/dist/model/PrivateMessageConversation.d.ts.map +1 -1
  468. package/dist/model/PrivateMessageConversation.js +59 -59
  469. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  470. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  471. package/dist/model/Profile.d.ts +1 -1
  472. package/dist/model/Profile.js +2 -2
  473. package/dist/model/Profiletype.d.ts +1 -1
  474. package/dist/model/Profiletype.js +2 -2
  475. package/dist/model/PublicationInput.d.ts +1 -1
  476. package/dist/model/PublicationInput.js +2 -2
  477. package/dist/model/PublicationResponse.d.ts +1 -1
  478. package/dist/model/PublicationResponse.js +2 -2
  479. package/dist/model/PurchaseInput.d.ts +1 -1
  480. package/dist/model/PurchaseInput.js +2 -2
  481. package/dist/model/PurchaseResponse.d.ts +1 -1
  482. package/dist/model/PurchaseResponse.js +2 -2
  483. package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
  484. package/dist/model/PurgeDataDefaultResponse.js +2 -2
  485. package/dist/model/RelationshipMapping.d.ts +1 -1
  486. package/dist/model/RelationshipMapping.js +2 -2
  487. package/dist/model/RestApplicationInput.d.ts +1 -1
  488. package/dist/model/RestApplicationInput.js +2 -2
  489. package/dist/model/RestApplicationResponse.d.ts +1 -1
  490. package/dist/model/RestApplicationResponse.js +2 -2
  491. package/dist/model/ScreenSchema.d.ts +10 -10
  492. package/dist/model/ScreenSchema.d.ts.map +1 -1
  493. package/dist/model/ScreenSchema.js +27 -27
  494. package/dist/model/SimulcastInfo.d.ts +1 -1
  495. package/dist/model/SimulcastInfo.js +2 -2
  496. package/dist/model/SiteInput.d.ts +1 -1
  497. package/dist/model/SiteInput.js +2 -2
  498. package/dist/model/SiteResponse.d.ts +1 -1
  499. package/dist/model/SiteResponse.js +2 -2
  500. package/dist/model/SiteTypeInput.d.ts +1 -1
  501. package/dist/model/SiteTypeInput.js +2 -2
  502. package/dist/model/SiteTypeResponse.d.ts +1 -1
  503. package/dist/model/SiteTypeResponse.js +2 -2
  504. package/dist/model/SkinField.d.ts +10 -10
  505. package/dist/model/SkinField.d.ts.map +1 -1
  506. package/dist/model/SkinField.js +27 -27
  507. package/dist/model/SkinFieldResponse.d.ts +1 -1
  508. package/dist/model/SkinFieldResponse.js +2 -2
  509. package/dist/model/SocialGroup.d.ts +1 -1
  510. package/dist/model/SocialGroup.js +2 -2
  511. package/dist/model/SocialGroupInput.d.ts +1 -1
  512. package/dist/model/SocialGroupInput.js +2 -2
  513. package/dist/model/SocialGroupResponse.d.ts +1 -1
  514. package/dist/model/SocialGroupResponse.js +2 -2
  515. package/dist/model/SocialGroupType.d.ts +1 -1
  516. package/dist/model/SocialGroupType.js +2 -2
  517. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  518. package/dist/model/SocialGroupTypeInput.js +2 -2
  519. package/dist/model/Sort.d.ts +1 -1
  520. package/dist/model/Sort.js +2 -2
  521. package/dist/model/SourceTypes.d.ts +1 -1
  522. package/dist/model/SourceTypes.js +2 -2
  523. package/dist/model/StatusUpdate.d.ts +1 -1
  524. package/dist/model/StatusUpdate.js +2 -2
  525. package/dist/model/StripeAccount.d.ts +1 -1
  526. package/dist/model/StripeAccount.js +2 -2
  527. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  528. package/dist/model/StripeCustomerAccount.js +2 -2
  529. package/dist/model/Template.d.ts +1 -1
  530. package/dist/model/Template.js +2 -2
  531. package/dist/model/TemplateResponse.d.ts +1 -1
  532. package/dist/model/TemplateResponse.js +2 -2
  533. package/dist/model/TemplateSchema.d.ts +1 -1
  534. package/dist/model/TemplateSchema.js +2 -2
  535. package/dist/model/ThemeMapping.d.ts +10 -10
  536. package/dist/model/ThemeMapping.d.ts.map +1 -1
  537. package/dist/model/ThemeMapping.js +25 -25
  538. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  539. package/dist/model/ThemeMappingPayload.js +2 -2
  540. package/dist/model/Timezone.d.ts +1 -1
  541. package/dist/model/Timezone.js +2 -2
  542. package/dist/model/Timezone1.d.ts +1 -1
  543. package/dist/model/Timezone1.js +2 -2
  544. package/dist/model/TopicInfoResponse.d.ts +1 -1
  545. package/dist/model/TopicInfoResponse.js +2 -2
  546. package/dist/model/TopicMessageInput.d.ts +1 -1
  547. package/dist/model/TopicMessageInput.js +2 -2
  548. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  549. package/dist/model/TopicSubscriptionResponse.js +2 -2
  550. package/dist/model/Transaction.d.ts +1 -1
  551. package/dist/model/Transaction.js +2 -2
  552. package/dist/model/Transfer.d.ts +1 -1
  553. package/dist/model/Transfer.js +2 -2
  554. package/dist/model/TransferInput.d.ts +1 -1
  555. package/dist/model/TransferInput.js +2 -2
  556. package/dist/model/TransferResponse.d.ts +1 -1
  557. package/dist/model/TransferResponse.js +2 -2
  558. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
  559. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  560. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  561. package/dist/model/TraversalRelationResponse.js +2 -2
  562. package/dist/model/User.d.ts +10 -10
  563. package/dist/model/User.d.ts.map +1 -1
  564. package/dist/model/User.js +31 -31
  565. package/dist/model/UserDataPayload.d.ts +10 -10
  566. package/dist/model/UserDataPayload.d.ts.map +1 -1
  567. package/dist/model/UserDataPayload.js +31 -31
  568. package/dist/model/UserDomain.d.ts +1 -1
  569. package/dist/model/UserDomain.js +2 -2
  570. package/dist/model/UserInvite.d.ts +1 -1
  571. package/dist/model/UserInvite.js +2 -2
  572. package/dist/model/UserInviteInput.d.ts +1 -1
  573. package/dist/model/UserInviteInput.js +2 -2
  574. package/dist/model/UserResponse.d.ts +1 -1
  575. package/dist/model/UserResponse.js +2 -2
  576. package/dist/model/UserSchema.d.ts +10 -10
  577. package/dist/model/UserSchema.d.ts.map +1 -1
  578. package/dist/model/UserSchema.js +31 -31
  579. package/dist/model/Userid.d.ts +1 -1
  580. package/dist/model/Userid.js +2 -2
  581. package/dist/model/UsernameReminderRequest.d.ts +1 -1
  582. package/dist/model/UsernameReminderRequest.js +2 -2
  583. package/dist/model/UsernameReminderResponse.d.ts +1 -1
  584. package/dist/model/UsernameReminderResponse.js +2 -2
  585. package/dist/model/Video.d.ts +10 -10
  586. package/dist/model/Video.d.ts.map +1 -1
  587. package/dist/model/Video.js +25 -25
  588. package/dist/model/VideoLiveUrl.d.ts +1 -1
  589. package/dist/model/VideoLiveUrl.js +2 -2
  590. package/dist/model/VideoSchema.d.ts +10 -10
  591. package/dist/model/VideoSchema.d.ts.map +1 -1
  592. package/dist/model/VideoSchema.js +25 -25
  593. package/dist/model/VideoUploadObject.d.ts +10 -10
  594. package/dist/model/VideoUploadObject.d.ts.map +1 -1
  595. package/dist/model/VideoUploadObject.js +25 -25
  596. package/dist/model/WalletHoldInput.d.ts +1 -1
  597. package/dist/model/WalletHoldInput.js +2 -2
  598. package/dist/model/WalletHoldResponse.d.ts +1 -1
  599. package/dist/model/WalletHoldResponse.js +2 -2
  600. package/dist/model/WalletPayoutInput.d.ts +1 -1
  601. package/dist/model/WalletPayoutInput.js +2 -2
  602. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  603. package/dist/model/WalletPayoutResponse.js +2 -2
  604. package/dist/model/WalletResponse.d.ts +1 -1
  605. package/dist/model/WalletResponse.js +2 -2
  606. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  607. package/dist/model/ZeusPortalCategory.js +2 -2
  608. package/package.json +1 -1
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * gobodo-api
19
19
  * REST Interface for Gobodo API
20
20
  *
21
- * The version of the OpenAPI document: 0.1.99
21
+ * The version of the OpenAPI document: 0.1.101
22
22
  * Contact: info@gobodo.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * GraphRelationships service.
31
31
  * @module api/GraphRelationshipsApi
32
- * @version 0.1.99
32
+ * @version 0.1.101
33
33
  */
34
34
  var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -45,10 +45,9 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
45
45
  }
46
46
 
47
47
  /**
48
- * Create Relationship
49
- * Create a new relationship
50
- * @param {Number} startObjectId
51
- * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
48
+ * Create a Relationship
49
+ * Create a relationship to another object
50
+ * @param {Number} id
52
51
  * @param {Object} opts Optional parameters
53
52
  * @param {String} [authorization] The authorization token of the logged in user
54
53
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -61,9 +60,91 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
61
60
  * @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
62
61
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
63
62
  * @param {String} [transactionid] The id of the transaction this operation is being run in
63
+ * @param {String} [body]
64
64
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
65
65
  */
66
66
  _createClass(GraphRelationshipsApi, [{
67
+ key: "createRelationshipWithHttpInfo",
68
+ value: function createRelationshipWithHttpInfo(id, opts) {
69
+ opts = opts || {};
70
+ var postBody = opts['body'];
71
+ // verify the required parameter 'id' is set
72
+ if (id === undefined || id === null) {
73
+ throw new Error("Missing the required parameter 'id' when calling createRelationship");
74
+ }
75
+ var pathParams = {
76
+ 'id': id
77
+ };
78
+ var queryParams = {
79
+ 'cacheduration': opts['cacheduration'],
80
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
81
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
82
+ 'cachescope': opts['cachescope'],
83
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
84
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
85
+ };
86
+ var headerParams = {
87
+ 'Authorization': opts['authorization'],
88
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
89
+ 'zeusportal-postas': opts['zeusportalPostas'],
90
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
91
+ 'transactionid': opts['transactionid']
92
+ };
93
+ var formParams = {};
94
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
95
+ var contentTypes = [];
96
+ var accepts = ['application/json'];
97
+ var returnType = _GraphRelationshipResponse["default"];
98
+ return this.apiClient.callApi('/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
99
+ }
100
+
101
+ /**
102
+ * Create a Relationship
103
+ * Create a relationship to another object
104
+ * @param {Number} id
105
+ * @param {Object} opts Optional parameters
106
+ * @param {String} opts.authorization The authorization token of the logged in user
107
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
108
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
109
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
110
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
111
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
112
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
113
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
114
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
115
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
116
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
117
+ * @param {String} opts.body
118
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
119
+ */
120
+ }, {
121
+ key: "createRelationship",
122
+ value: function createRelationship(id, opts) {
123
+ return this.createRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
124
+ return response_and_data.data;
125
+ });
126
+ }
127
+
128
+ /**
129
+ * Create Relationship
130
+ * Create a new relationship
131
+ * @param {Number} startObjectId
132
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to create
133
+ * @param {Object} opts Optional parameters
134
+ * @param {String} [authorization] The authorization token of the logged in user
135
+ * @param {Number} [cacheduration] The how long the cache entry should persist
136
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
137
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
138
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
139
+ * @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)
140
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
141
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
142
+ * @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
143
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
144
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
145
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
146
+ */
147
+ }, {
67
148
  key: "createRelationship1WithHttpInfo",
68
149
  value: function createRelationship1WithHttpInfo(startObjectId, graphRelationshipPayload, opts) {
69
150
  opts = opts || {};
@@ -129,9 +210,90 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
129
210
  });
130
211
  }
131
212
 
213
+ /**
214
+ * Create Relationships
215
+ * Create relationships to other objects
216
+ * @param {Number} id
217
+ * @param {Object} opts Optional parameters
218
+ * @param {String} [authorization] The authorization token of the logged in user
219
+ * @param {Number} [cacheduration] The how long the cache entry should persist
220
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
221
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
222
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
223
+ * @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)
224
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
225
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
226
+ * @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
227
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
228
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
229
+ * @param {String} [body]
230
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
231
+ */
232
+ }, {
233
+ key: "createRelationshipsWithHttpInfo",
234
+ value: function createRelationshipsWithHttpInfo(id, opts) {
235
+ opts = opts || {};
236
+ var postBody = opts['body'];
237
+ // verify the required parameter 'id' is set
238
+ if (id === undefined || id === null) {
239
+ throw new Error("Missing the required parameter 'id' when calling createRelationships");
240
+ }
241
+ var pathParams = {
242
+ 'id': id
243
+ };
244
+ var queryParams = {
245
+ 'cacheduration': opts['cacheduration'],
246
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
247
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
248
+ 'cachescope': opts['cachescope'],
249
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
250
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
251
+ };
252
+ var headerParams = {
253
+ 'Authorization': opts['authorization'],
254
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
255
+ 'zeusportal-postas': opts['zeusportalPostas'],
256
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
257
+ 'transactionid': opts['transactionid']
258
+ };
259
+ var formParams = {};
260
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
261
+ var contentTypes = [];
262
+ var accepts = ['application/json'];
263
+ var returnType = [_GraphRelationshipResponse["default"]];
264
+ return this.apiClient.callApi('/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
265
+ }
266
+
267
+ /**
268
+ * Create Relationships
269
+ * Create relationships to other objects
270
+ * @param {Number} id
271
+ * @param {Object} opts Optional parameters
272
+ * @param {String} opts.authorization The authorization token of the logged in user
273
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
274
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
275
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
276
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
277
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
278
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
279
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
280
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
281
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
282
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
283
+ * @param {String} opts.body
284
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
285
+ */
286
+ }, {
287
+ key: "createRelationships",
288
+ value: function createRelationships(id, opts) {
289
+ return this.createRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
290
+ return response_and_data.data;
291
+ });
292
+ }
293
+
132
294
  /**
133
295
  * Delete Relationship
134
- * Delete a relationship
296
+ * Delete an individual relationship
135
297
  * @param {Number} id
136
298
  * @param {Object} opts Optional parameters
137
299
  * @param {String} [authorization] The authorization token of the logged in user
@@ -148,13 +310,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
148
310
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
149
311
  */
150
312
  }, {
151
- key: "deleteRelationshipWithHttpInfo",
152
- value: function deleteRelationshipWithHttpInfo(id, opts) {
313
+ key: "deleteRelationship1WithHttpInfo",
314
+ value: function deleteRelationship1WithHttpInfo(id, opts) {
153
315
  opts = opts || {};
154
316
  var postBody = null;
155
317
  // verify the required parameter 'id' is set
156
318
  if (id === undefined || id === null) {
157
- throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
319
+ throw new Error("Missing the required parameter 'id' when calling deleteRelationship1");
158
320
  }
159
321
  var pathParams = {
160
322
  'id': id
@@ -184,7 +346,7 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
184
346
 
185
347
  /**
186
348
  * Delete Relationship
187
- * Delete a relationship
349
+ * Delete an individual relationship
188
350
  * @param {Number} id
189
351
  * @param {Object} opts Optional parameters
190
352
  * @param {String} opts.authorization The authorization token of the logged in user
@@ -201,15 +363,16 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
201
363
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
202
364
  */
203
365
  }, {
204
- key: "deleteRelationship",
205
- value: function deleteRelationship(id, opts) {
206
- return this.deleteRelationshipWithHttpInfo(id, opts).then(function (response_and_data) {
366
+ key: "deleteRelationship1",
367
+ value: function deleteRelationship1(id, opts) {
368
+ return this.deleteRelationship1WithHttpInfo(id, opts).then(function (response_and_data) {
207
369
  return response_and_data.data;
208
370
  });
209
371
  }
210
372
 
211
373
  /**
212
- * Gets the relationship by id
374
+ * Get All Relationships
375
+ * Returns a listing of relationships
213
376
  * @param {Number} id
214
377
  * @param {Object} opts Optional parameters
215
378
  * @param {String} [authorization] The authorization token of the logged in user
@@ -223,16 +386,16 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
223
386
  * @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
224
387
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
225
388
  * @param {String} [transactionid] The id of the transaction this operation is being run in
226
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
389
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
227
390
  */
228
391
  }, {
229
- key: "getRelationshipByIdWithHttpInfo",
230
- value: function getRelationshipByIdWithHttpInfo(id, opts) {
392
+ key: "getAllRelationshipsWithHttpInfo",
393
+ value: function getAllRelationshipsWithHttpInfo(id, opts) {
231
394
  opts = opts || {};
232
395
  var postBody = null;
233
396
  // verify the required parameter 'id' is set
234
397
  if (id === undefined || id === null) {
235
- throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
398
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
236
399
  }
237
400
  var pathParams = {
238
401
  'id': id
@@ -256,12 +419,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
256
419
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
257
420
  var contentTypes = [];
258
421
  var accepts = ['application/json'];
259
- var returnType = _GraphRelationshipResponse["default"];
260
- return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
422
+ var returnType = [_GraphRelationshipResponse["default"]];
423
+ return this.apiClient.callApi('/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
261
424
  }
262
425
 
263
426
  /**
264
- * Gets the relationship by id
427
+ * Get All Relationships
428
+ * Returns a listing of relationships
265
429
  * @param {Number} id
266
430
  * @param {Object} opts Optional parameters
267
431
  * @param {String} opts.authorization The authorization token of the logged in user
@@ -275,20 +439,21 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
275
439
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
276
440
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
277
441
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
278
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
442
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
279
443
  */
280
444
  }, {
281
- key: "getRelationshipById",
282
- value: function getRelationshipById(id, opts) {
283
- return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
445
+ key: "getAllRelationships",
446
+ value: function getAllRelationships(id, opts) {
447
+ return this.getAllRelationshipsWithHttpInfo(id, opts).then(function (response_and_data) {
284
448
  return response_and_data.data;
285
449
  });
286
450
  }
287
451
 
288
452
  /**
289
- * Get Relationship Properties
290
- * Get properties of a relationship
453
+ * Get All Relationships By Type
454
+ * Returns a listing of relationships
291
455
  * @param {Number} id
456
+ * @param {Number} reltypeid
292
457
  * @param {Object} opts Optional parameters
293
458
  * @param {String} [authorization] The authorization token of the logged in user
294
459
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -301,19 +466,24 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
301
466
  * @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
302
467
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
303
468
  * @param {String} [transactionid] The id of the transaction this operation is being run in
304
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
469
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
305
470
  */
306
471
  }, {
307
- key: "getRelationshipPropertiesWithHttpInfo",
308
- value: function getRelationshipPropertiesWithHttpInfo(id, opts) {
472
+ key: "getAllRelationshipsByTypeWithHttpInfo",
473
+ value: function getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts) {
309
474
  opts = opts || {};
310
475
  var postBody = null;
311
476
  // verify the required parameter 'id' is set
312
477
  if (id === undefined || id === null) {
313
- throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
478
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
479
+ }
480
+ // verify the required parameter 'reltypeid' is set
481
+ if (reltypeid === undefined || reltypeid === null) {
482
+ throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
314
483
  }
315
484
  var pathParams = {
316
- 'id': id
485
+ 'id': id,
486
+ 'reltypeid': reltypeid
317
487
  };
318
488
  var queryParams = {
319
489
  'cacheduration': opts['cacheduration'],
@@ -334,14 +504,15 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
334
504
  var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
335
505
  var contentTypes = [];
336
506
  var accepts = ['application/json'];
337
- var returnType = null;
338
- return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
507
+ var returnType = [_GraphRelationshipResponse["default"]];
508
+ return this.apiClient.callApi('/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
339
509
  }
340
510
 
341
511
  /**
342
- * Get Relationship Properties
343
- * Get properties of a relationship
512
+ * Get All Relationships By Type
513
+ * Returns a listing of relationships
344
514
  * @param {Number} id
515
+ * @param {Number} reltypeid
345
516
  * @param {Object} opts Optional parameters
346
517
  * @param {String} opts.authorization The authorization token of the logged in user
347
518
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -354,21 +525,19 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
354
525
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
355
526
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
356
527
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
357
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
528
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
358
529
  */
359
530
  }, {
360
- key: "getRelationshipProperties",
361
- value: function getRelationshipProperties(id, opts) {
362
- return this.getRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
531
+ key: "getAllRelationshipsByType",
532
+ value: function getAllRelationshipsByType(id, reltypeid, opts) {
533
+ return this.getAllRelationshipsByTypeWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
363
534
  return response_and_data.data;
364
535
  });
365
536
  }
366
537
 
367
538
  /**
368
- * Update Relationship
369
- * Update an existing relationship
539
+ * Gets the relationship by id
370
540
  * @param {Number} id
371
- * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
372
541
  * @param {Object} opts Optional parameters
373
542
  * @param {String} [authorization] The authorization token of the logged in user
374
543
  * @param {Number} [cacheduration] The how long the cache entry should persist
@@ -384,17 +553,13 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
384
553
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
385
554
  */
386
555
  }, {
387
- key: "updateRelationshipWithHttpInfo",
388
- value: function updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
556
+ key: "getRelationshipByIdWithHttpInfo",
557
+ value: function getRelationshipByIdWithHttpInfo(id, opts) {
389
558
  opts = opts || {};
390
- var postBody = graphRelationshipPayload;
559
+ var postBody = null;
391
560
  // verify the required parameter 'id' is set
392
561
  if (id === undefined || id === null) {
393
- throw new Error("Missing the required parameter 'id' when calling updateRelationship");
394
- }
395
- // verify the required parameter 'graphRelationshipPayload' is set
396
- if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
397
- throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
562
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
398
563
  }
399
564
  var pathParams = {
400
565
  'id': id
@@ -419,14 +584,12 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
419
584
  var contentTypes = [];
420
585
  var accepts = ['application/json'];
421
586
  var returnType = _GraphRelationshipResponse["default"];
422
- return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
587
+ return this.apiClient.callApi('/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
423
588
  }
424
589
 
425
590
  /**
426
- * Update Relationship
427
- * Update an existing relationship
591
+ * Gets the relationship by id
428
592
  * @param {Number} id
429
- * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
430
593
  * @param {Object} opts Optional parameters
431
594
  * @param {String} opts.authorization The authorization token of the logged in user
432
595
  * @param {Number} opts.cacheduration The how long the cache entry should persist
@@ -442,16 +605,16 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
442
605
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
443
606
  */
444
607
  }, {
445
- key: "updateRelationship",
446
- value: function updateRelationship(id, graphRelationshipPayload, opts) {
447
- return this.updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
608
+ key: "getRelationshipById",
609
+ value: function getRelationshipById(id, opts) {
610
+ return this.getRelationshipByIdWithHttpInfo(id, opts).then(function (response_and_data) {
448
611
  return response_and_data.data;
449
612
  });
450
613
  }
451
614
 
452
615
  /**
453
- * Update Relationship Properties
454
- * Update properties of a relationship
616
+ * Get Relationship Properties
617
+ * Get properties of a relationship
455
618
  * @param {Number} id
456
619
  * @param {Object} opts Optional parameters
457
620
  * @param {String} [authorization] The authorization token of the logged in user
@@ -465,17 +628,16 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
465
628
  * @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
466
629
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
467
630
  * @param {String} [transactionid] The id of the transaction this operation is being run in
468
- * @param {Object.<String, Object>} [body]
469
631
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
470
632
  */
471
633
  }, {
472
- key: "updateRelationshipPropertiesWithHttpInfo",
473
- value: function updateRelationshipPropertiesWithHttpInfo(id, opts) {
634
+ key: "getRelationshipPropertiesWithHttpInfo",
635
+ value: function getRelationshipPropertiesWithHttpInfo(id, opts) {
474
636
  opts = opts || {};
475
- var postBody = opts['body'];
637
+ var postBody = null;
476
638
  // verify the required parameter 'id' is set
477
639
  if (id === undefined || id === null) {
478
- throw new Error("Missing the required parameter 'id' when calling updateRelationshipProperties");
640
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipProperties");
479
641
  }
480
642
  var pathParams = {
481
643
  'id': id
@@ -500,12 +662,12 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
500
662
  var contentTypes = [];
501
663
  var accepts = ['application/json'];
502
664
  var returnType = null;
503
- return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
665
+ return this.apiClient.callApi('/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
504
666
  }
505
667
 
506
668
  /**
507
- * Update Relationship Properties
508
- * Update properties of a relationship
669
+ * Get Relationship Properties
670
+ * Get properties of a relationship
509
671
  * @param {Number} id
510
672
  * @param {Object} opts Optional parameters
511
673
  * @param {String} opts.authorization The authorization token of the logged in user
@@ -519,13 +681,596 @@ var GraphRelationshipsApi = exports["default"] = /*#__PURE__*/function () {
519
681
  * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
520
682
  * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
521
683
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
522
- * @param {Object.<String, Object>} opts.body
523
684
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
524
685
  */
525
686
  }, {
526
- key: "updateRelationshipProperties",
527
- value: function updateRelationshipProperties(id, opts) {
528
- return this.updateRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
687
+ key: "getRelationshipProperties",
688
+ value: function getRelationshipProperties(id, opts) {
689
+ return this.getRelationshipPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
690
+ return response_and_data.data;
691
+ });
692
+ }
693
+
694
+ /**
695
+ * Get Incoming Relationships By Type
696
+ * Returns a listing of relationships
697
+ * @param {Number} id
698
+ * @param {Number} reltypeid
699
+ * @param {Object} opts Optional parameters
700
+ * @param {String} [authorization] The authorization token of the logged in user
701
+ * @param {Number} [cacheduration] The how long the cache entry should persist
702
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
703
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
704
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
705
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
706
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
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
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
712
+ */
713
+ }, {
714
+ key: "getRelationshipsByTypeInWithHttpInfo",
715
+ value: function getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts) {
716
+ opts = opts || {};
717
+ var postBody = null;
718
+ // verify the required parameter 'id' is set
719
+ if (id === undefined || id === null) {
720
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
721
+ }
722
+ // verify the required parameter 'reltypeid' is set
723
+ if (reltypeid === undefined || reltypeid === null) {
724
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
725
+ }
726
+ var pathParams = {
727
+ 'id': id,
728
+ 'reltypeid': reltypeid
729
+ };
730
+ var queryParams = {
731
+ 'cacheduration': opts['cacheduration'],
732
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
733
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
734
+ 'cachescope': opts['cachescope'],
735
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
736
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
737
+ };
738
+ var headerParams = {
739
+ 'Authorization': opts['authorization'],
740
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
741
+ 'zeusportal-postas': opts['zeusportalPostas'],
742
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
743
+ 'transactionid': opts['transactionid']
744
+ };
745
+ var formParams = {};
746
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
747
+ var contentTypes = [];
748
+ var accepts = ['application/json'];
749
+ var returnType = [_GraphRelationshipResponse["default"]];
750
+ return this.apiClient.callApi('/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
751
+ }
752
+
753
+ /**
754
+ * Get Incoming Relationships By Type
755
+ * Returns a listing of relationships
756
+ * @param {Number} id
757
+ * @param {Number} reltypeid
758
+ * @param {Object} opts Optional parameters
759
+ * @param {String} opts.authorization The authorization token of the logged in user
760
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
761
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
762
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
763
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
764
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
765
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
766
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
767
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
768
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
769
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
770
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
771
+ */
772
+ }, {
773
+ key: "getRelationshipsByTypeIn",
774
+ value: function getRelationshipsByTypeIn(id, reltypeid, opts) {
775
+ return this.getRelationshipsByTypeInWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
776
+ return response_and_data.data;
777
+ });
778
+ }
779
+
780
+ /**
781
+ * Get Outgoing Relationships By Type
782
+ * Returns a listing of relationships
783
+ * @param {Number} id
784
+ * @param {Number} reltypeid
785
+ * @param {Object} opts Optional parameters
786
+ * @param {String} [authorization] The authorization token of the logged in user
787
+ * @param {Number} [cacheduration] The how long the cache entry should persist
788
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
789
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
790
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
791
+ * @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)
792
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
793
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
794
+ * @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
795
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
796
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
797
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
798
+ */
799
+ }, {
800
+ key: "getRelationshipsByTypeOutWithHttpInfo",
801
+ value: function getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts) {
802
+ opts = opts || {};
803
+ var postBody = null;
804
+ // verify the required parameter 'id' is set
805
+ if (id === undefined || id === null) {
806
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
807
+ }
808
+ // verify the required parameter 'reltypeid' is set
809
+ if (reltypeid === undefined || reltypeid === null) {
810
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
811
+ }
812
+ var pathParams = {
813
+ 'id': id,
814
+ 'reltypeid': reltypeid
815
+ };
816
+ var queryParams = {
817
+ 'cacheduration': opts['cacheduration'],
818
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
819
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
820
+ 'cachescope': opts['cachescope'],
821
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
822
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
823
+ };
824
+ var headerParams = {
825
+ 'Authorization': opts['authorization'],
826
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
827
+ 'zeusportal-postas': opts['zeusportalPostas'],
828
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
829
+ 'transactionid': opts['transactionid']
830
+ };
831
+ var formParams = {};
832
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
833
+ var contentTypes = [];
834
+ var accepts = ['application/json'];
835
+ var returnType = [_GraphRelationshipResponse["default"]];
836
+ return this.apiClient.callApi('/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
837
+ }
838
+
839
+ /**
840
+ * Get Outgoing Relationships By Type
841
+ * Returns a listing of relationships
842
+ * @param {Number} id
843
+ * @param {Number} reltypeid
844
+ * @param {Object} opts Optional parameters
845
+ * @param {String} opts.authorization The authorization token of the logged in user
846
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
847
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
848
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
849
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
850
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
851
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
852
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
853
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
854
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
855
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
856
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
857
+ */
858
+ }, {
859
+ key: "getRelationshipsByTypeOut",
860
+ value: function getRelationshipsByTypeOut(id, reltypeid, opts) {
861
+ return this.getRelationshipsByTypeOutWithHttpInfo(id, reltypeid, opts).then(function (response_and_data) {
862
+ return response_and_data.data;
863
+ });
864
+ }
865
+
866
+ /**
867
+ * Get Incoming Relationships
868
+ * Returns a listing of relationships
869
+ * @param {Number} id
870
+ * @param {Object} opts Optional parameters
871
+ * @param {String} [authorization] The authorization token of the logged in user
872
+ * @param {Number} [cacheduration] The how long the cache entry should persist
873
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
874
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
875
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
876
+ * @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)
877
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
878
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
879
+ * @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
880
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
881
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
882
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
883
+ */
884
+ }, {
885
+ key: "getRelationshipsInWithHttpInfo",
886
+ value: function getRelationshipsInWithHttpInfo(id, opts) {
887
+ opts = opts || {};
888
+ var postBody = null;
889
+ // verify the required parameter 'id' is set
890
+ if (id === undefined || id === null) {
891
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
892
+ }
893
+ var pathParams = {
894
+ 'id': id
895
+ };
896
+ var queryParams = {
897
+ 'cacheduration': opts['cacheduration'],
898
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
899
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
900
+ 'cachescope': opts['cachescope'],
901
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
902
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
903
+ };
904
+ var headerParams = {
905
+ 'Authorization': opts['authorization'],
906
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
907
+ 'zeusportal-postas': opts['zeusportalPostas'],
908
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
909
+ 'transactionid': opts['transactionid']
910
+ };
911
+ var formParams = {};
912
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
913
+ var contentTypes = [];
914
+ var accepts = ['application/json'];
915
+ var returnType = [_GraphRelationshipResponse["default"]];
916
+ return this.apiClient.callApi('/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
917
+ }
918
+
919
+ /**
920
+ * Get Incoming Relationships
921
+ * Returns a listing of relationships
922
+ * @param {Number} id
923
+ * @param {Object} opts Optional parameters
924
+ * @param {String} opts.authorization The authorization token of the logged in user
925
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
926
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
927
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
928
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
929
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
930
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
931
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
932
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
933
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
934
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
935
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
936
+ */
937
+ }, {
938
+ key: "getRelationshipsIn",
939
+ value: function getRelationshipsIn(id, opts) {
940
+ return this.getRelationshipsInWithHttpInfo(id, opts).then(function (response_and_data) {
941
+ return response_and_data.data;
942
+ });
943
+ }
944
+
945
+ /**
946
+ * Get Outgoing Relationships
947
+ * Returns a listing of relationships
948
+ * @param {Number} id
949
+ * @param {Object} opts Optional parameters
950
+ * @param {String} [authorization] The authorization token of the logged in user
951
+ * @param {Number} [cacheduration] The how long the cache entry should persist
952
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
953
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
954
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
955
+ * @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)
956
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
957
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
958
+ * @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
959
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
960
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
961
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/GraphRelationshipResponse>} and HTTP response
962
+ */
963
+ }, {
964
+ key: "getRelationshipsOutWithHttpInfo",
965
+ value: function getRelationshipsOutWithHttpInfo(id, opts) {
966
+ opts = opts || {};
967
+ var postBody = null;
968
+ // verify the required parameter 'id' is set
969
+ if (id === undefined || id === null) {
970
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
971
+ }
972
+ var pathParams = {
973
+ 'id': id
974
+ };
975
+ var queryParams = {
976
+ 'cacheduration': opts['cacheduration'],
977
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
978
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
979
+ 'cachescope': opts['cachescope'],
980
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
981
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
982
+ };
983
+ var headerParams = {
984
+ 'Authorization': opts['authorization'],
985
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
986
+ 'zeusportal-postas': opts['zeusportalPostas'],
987
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
988
+ 'transactionid': opts['transactionid']
989
+ };
990
+ var formParams = {};
991
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
992
+ var contentTypes = [];
993
+ var accepts = ['application/json'];
994
+ var returnType = [_GraphRelationshipResponse["default"]];
995
+ return this.apiClient.callApi('/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
996
+ }
997
+
998
+ /**
999
+ * Get Outgoing Relationships
1000
+ * Returns a listing of relationships
1001
+ * @param {Number} id
1002
+ * @param {Object} opts Optional parameters
1003
+ * @param {String} opts.authorization The authorization token of the logged in user
1004
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1005
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1006
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1007
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1008
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1009
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
1010
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1011
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1012
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1013
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1014
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/GraphRelationshipResponse>}
1015
+ */
1016
+ }, {
1017
+ key: "getRelationshipsOut",
1018
+ value: function getRelationshipsOut(id, opts) {
1019
+ return this.getRelationshipsOutWithHttpInfo(id, opts).then(function (response_and_data) {
1020
+ return response_and_data.data;
1021
+ });
1022
+ }
1023
+
1024
+ /**
1025
+ * Update Relationship Properties
1026
+ * Update properties of a relationship
1027
+ * @param {Number} id
1028
+ * @param {Object} opts Optional parameters
1029
+ * @param {String} [authorization] The authorization token of the logged in user
1030
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1031
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1032
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1033
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1034
+ * @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)
1035
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1036
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1037
+ * @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
1038
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1039
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1040
+ * @param {Object.<String, Object>} [body]
1041
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1042
+ */
1043
+ }, {
1044
+ key: "setRelPropertiesWithHttpInfo",
1045
+ value: function setRelPropertiesWithHttpInfo(id, opts) {
1046
+ opts = opts || {};
1047
+ var postBody = opts['body'];
1048
+ // verify the required parameter 'id' is set
1049
+ if (id === undefined || id === null) {
1050
+ throw new Error("Missing the required parameter 'id' when calling setRelProperties");
1051
+ }
1052
+ var pathParams = {
1053
+ 'id': id
1054
+ };
1055
+ var queryParams = {
1056
+ 'cacheduration': opts['cacheduration'],
1057
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1058
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1059
+ 'cachescope': opts['cachescope'],
1060
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1061
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1062
+ };
1063
+ var headerParams = {
1064
+ 'Authorization': opts['authorization'],
1065
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1066
+ 'zeusportal-postas': opts['zeusportalPostas'],
1067
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1068
+ 'transactionid': opts['transactionid']
1069
+ };
1070
+ var formParams = {};
1071
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1072
+ var contentTypes = [];
1073
+ var accepts = ['application/json'];
1074
+ var returnType = null;
1075
+ return this.apiClient.callApi('/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1076
+ }
1077
+
1078
+ /**
1079
+ * Update Relationship Properties
1080
+ * Update properties of a relationship
1081
+ * @param {Number} id
1082
+ * @param {Object} opts Optional parameters
1083
+ * @param {String} opts.authorization The authorization token of the logged in user
1084
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1085
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1086
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1087
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1088
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1089
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
1090
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1091
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1092
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1093
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1094
+ * @param {Object.<String, Object>} opts.body
1095
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1096
+ */
1097
+ }, {
1098
+ key: "setRelProperties",
1099
+ value: function setRelProperties(id, opts) {
1100
+ return this.setRelPropertiesWithHttpInfo(id, opts).then(function (response_and_data) {
1101
+ return response_and_data.data;
1102
+ });
1103
+ }
1104
+
1105
+ /**
1106
+ * Update Property
1107
+ * Update a specific property
1108
+ * @param {Number} id
1109
+ * @param {String} prop
1110
+ * @param {Object} opts Optional parameters
1111
+ * @param {String} [authorization] The authorization token of the logged in user
1112
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1113
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1114
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1115
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1116
+ * @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)
1117
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1118
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1119
+ * @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
1120
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1121
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1122
+ * @param {Object.<String, Object>} [body]
1123
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1124
+ */
1125
+ }, {
1126
+ key: "setRelPropertyWithHttpInfo",
1127
+ value: function setRelPropertyWithHttpInfo(id, prop, opts) {
1128
+ opts = opts || {};
1129
+ var postBody = opts['body'];
1130
+ // verify the required parameter 'id' is set
1131
+ if (id === undefined || id === null) {
1132
+ throw new Error("Missing the required parameter 'id' when calling setRelProperty");
1133
+ }
1134
+ // verify the required parameter 'prop' is set
1135
+ if (prop === undefined || prop === null) {
1136
+ throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
1137
+ }
1138
+ var pathParams = {
1139
+ 'id': id,
1140
+ 'prop': prop
1141
+ };
1142
+ var queryParams = {
1143
+ 'cacheduration': opts['cacheduration'],
1144
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1145
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1146
+ 'cachescope': opts['cachescope'],
1147
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1148
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1149
+ };
1150
+ var headerParams = {
1151
+ 'Authorization': opts['authorization'],
1152
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1153
+ 'zeusportal-postas': opts['zeusportalPostas'],
1154
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1155
+ 'transactionid': opts['transactionid']
1156
+ };
1157
+ var formParams = {};
1158
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1159
+ var contentTypes = [];
1160
+ var accepts = ['application/json'];
1161
+ var returnType = null;
1162
+ return this.apiClient.callApi('/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1163
+ }
1164
+
1165
+ /**
1166
+ * Update Property
1167
+ * Update a specific property
1168
+ * @param {Number} id
1169
+ * @param {String} prop
1170
+ * @param {Object} opts Optional parameters
1171
+ * @param {String} opts.authorization The authorization token of the logged in user
1172
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1173
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1174
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1175
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1176
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1177
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
1178
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1179
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1180
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1181
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1182
+ * @param {Object.<String, Object>} opts.body
1183
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1184
+ */
1185
+ }, {
1186
+ key: "setRelProperty",
1187
+ value: function setRelProperty(id, prop, opts) {
1188
+ return this.setRelPropertyWithHttpInfo(id, prop, opts).then(function (response_and_data) {
1189
+ return response_and_data.data;
1190
+ });
1191
+ }
1192
+
1193
+ /**
1194
+ * Update Relationship
1195
+ * Update an existing relationship
1196
+ * @param {Number} id
1197
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
1198
+ * @param {Object} opts Optional parameters
1199
+ * @param {String} [authorization] The authorization token of the logged in user
1200
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1201
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1202
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1203
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1204
+ * @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)
1205
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
1206
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1207
+ * @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
1208
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1209
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1210
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationshipResponse} and HTTP response
1211
+ */
1212
+ }, {
1213
+ key: "updateRelationshipWithHttpInfo",
1214
+ value: function updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts) {
1215
+ opts = opts || {};
1216
+ var postBody = graphRelationshipPayload;
1217
+ // verify the required parameter 'id' is set
1218
+ if (id === undefined || id === null) {
1219
+ throw new Error("Missing the required parameter 'id' when calling updateRelationship");
1220
+ }
1221
+ // verify the required parameter 'graphRelationshipPayload' is set
1222
+ if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
1223
+ throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling updateRelationship");
1224
+ }
1225
+ var pathParams = {
1226
+ 'id': id
1227
+ };
1228
+ var queryParams = {
1229
+ 'cacheduration': opts['cacheduration'],
1230
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
1231
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
1232
+ 'cachescope': opts['cachescope'],
1233
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
1234
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
1235
+ };
1236
+ var headerParams = {
1237
+ 'Authorization': opts['authorization'],
1238
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1239
+ 'zeusportal-postas': opts['zeusportalPostas'],
1240
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1241
+ 'transactionid': opts['transactionid']
1242
+ };
1243
+ var formParams = {};
1244
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1245
+ var contentTypes = [];
1246
+ var accepts = ['application/json'];
1247
+ var returnType = _GraphRelationshipResponse["default"];
1248
+ return this.apiClient.callApi('/relationship/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1249
+ }
1250
+
1251
+ /**
1252
+ * Update Relationship
1253
+ * Update an existing relationship
1254
+ * @param {Number} id
1255
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Relationship data to update
1256
+ * @param {Object} opts Optional parameters
1257
+ * @param {String} opts.authorization The authorization token of the logged in user
1258
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1259
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1260
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1261
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1262
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1263
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
1264
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1265
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1266
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1267
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1268
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationshipResponse}
1269
+ */
1270
+ }, {
1271
+ key: "updateRelationship",
1272
+ value: function updateRelationship(id, graphRelationshipPayload, opts) {
1273
+ return this.updateRelationshipWithHttpInfo(id, graphRelationshipPayload, opts).then(function (response_and_data) {
529
1274
  return response_and_data.data;
530
1275
  });
531
1276
  }