@gobodo/gobodo-api 0.1.97 → 0.1.100

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