@gobodo/gobodo-api 0.1.2

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 (414) hide show
  1. package/README.md +742 -0
  2. package/dist/ApiClient.js +781 -0
  3. package/dist/api/ActionTypesApi.js +97 -0
  4. package/dist/api/AdCampaignsApi.js +392 -0
  5. package/dist/api/AdManagementApi.js +563 -0
  6. package/dist/api/AdminDataManagementApi.js +97 -0
  7. package/dist/api/AdsApi.js +301 -0
  8. package/dist/api/AttachmentsApi.js +361 -0
  9. package/dist/api/AuthenticationApi.js +292 -0
  10. package/dist/api/CategoriesApi.js +353 -0
  11. package/dist/api/CommentsApi.js +408 -0
  12. package/dist/api/ContentManagementApi.js +1171 -0
  13. package/dist/api/ConversationsApi.js +434 -0
  14. package/dist/api/DataSheetImportsApi.js +828 -0
  15. package/dist/api/DefaultApi.js +548 -0
  16. package/dist/api/DocumentsApi.js +635 -0
  17. package/dist/api/EntryPartsApi.js +670 -0
  18. package/dist/api/FacebookApi.js +80 -0
  19. package/dist/api/FieldsApi.js +199 -0
  20. package/dist/api/FilesApi.js +95 -0
  21. package/dist/api/FormsApi.js +885 -0
  22. package/dist/api/FunctionsApi.js +96 -0
  23. package/dist/api/GeocodeApi.js +277 -0
  24. package/dist/api/GoogleApi.js +80 -0
  25. package/dist/api/GraphActionsApi.js +523 -0
  26. package/dist/api/GraphObjectTypesApi.js +413 -0
  27. package/dist/api/GraphObjectsApi.js +3077 -0
  28. package/dist/api/GraphRelationshipTypesApi.js +831 -0
  29. package/dist/api/GraphRelationshipsApi.js +1500 -0
  30. package/dist/api/GraphSchemasApi.js +365 -0
  31. package/dist/api/GraphTraversalApi.js +291 -0
  32. package/dist/api/GraphsApi.js +571 -0
  33. package/dist/api/GroupsApi.js +568 -0
  34. package/dist/api/IAMApi.js +211 -0
  35. package/dist/api/ImagesApi.js +414 -0
  36. package/dist/api/InvitesApi.js +268 -0
  37. package/dist/api/LikesApi.js +601 -0
  38. package/dist/api/LinkedINApi.js +80 -0
  39. package/dist/api/LiveMeetingsApi.js +145 -0
  40. package/dist/api/MeetingEventsApi.js +286 -0
  41. package/dist/api/PagesApi.js +475 -0
  42. package/dist/api/PostsApi.js +262 -0
  43. package/dist/api/PrivateMessagesApi.js +752 -0
  44. package/dist/api/PublicationsApi.js +86 -0
  45. package/dist/api/ScreensApi.js +183 -0
  46. package/dist/api/SocialIntegrationApi.js +188 -0
  47. package/dist/api/StripeAccountsApi.js +461 -0
  48. package/dist/api/TagsApi.js +96 -0
  49. package/dist/api/TemplatesApi.js +183 -0
  50. package/dist/api/ThemeMappingsApi.js +178 -0
  51. package/dist/api/TransactionsApi.js +147 -0
  52. package/dist/api/TwitterApi.js +80 -0
  53. package/dist/api/UserTagsApi.js +467 -0
  54. package/dist/api/UsersApi.js +466 -0
  55. package/dist/api/UtilsApi.js +75 -0
  56. package/dist/api/VideosApi.js +564 -0
  57. package/dist/index.js +1295 -0
  58. package/dist/model/APIClient.js +180 -0
  59. package/dist/model/Account.js +315 -0
  60. package/dist/model/AchCreditTransfer.js +122 -0
  61. package/dist/model/AchDebit.js +140 -0
  62. package/dist/model/AcssDebit.js +106 -0
  63. package/dist/model/AddInvoiceItem.js +126 -0
  64. package/dist/model/Address.js +140 -0
  65. package/dist/model/Affirm.js +104 -0
  66. package/dist/model/AfterpayClearpay.js +113 -0
  67. package/dist/model/Alipay.js +95 -0
  68. package/dist/model/AlternateStatementDescriptors.js +104 -0
  69. package/dist/model/Alternative.js +104 -0
  70. package/dist/model/AmexExpressCheckout.js +86 -0
  71. package/dist/model/AmountDetails.js +97 -0
  72. package/dist/model/ApplePay.js +86 -0
  73. package/dist/model/Application.js +122 -0
  74. package/dist/model/ApplicationFee.js +267 -0
  75. package/dist/model/AppliesTo.js +95 -0
  76. package/dist/model/Article.js +272 -0
  77. package/dist/model/AuBecsDebit.js +95 -0
  78. package/dist/model/Authorization.js +93 -0
  79. package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +95 -0
  80. package/dist/model/AutomaticTax.js +95 -0
  81. package/dist/model/BacsDebit.js +95 -0
  82. package/dist/model/BacsDebitPayments.js +95 -0
  83. package/dist/model/BalanceSettings.js +95 -0
  84. package/dist/model/BalanceTransaction.js +234 -0
  85. package/dist/model/BalanceTransactionSource.js +84 -0
  86. package/dist/model/Bancontact.js +180 -0
  87. package/dist/model/BankTransfer.js +106 -0
  88. package/dist/model/BillingDetails.js +124 -0
  89. package/dist/model/BillingThresholds.js +95 -0
  90. package/dist/model/Blik.js +86 -0
  91. package/dist/model/BlikMandateOptions.js +115 -0
  92. package/dist/model/BlikMandateOptionsOffSessionDetails.js +122 -0
  93. package/dist/model/Boleto.js +95 -0
  94. package/dist/model/Breakdown.js +108 -0
  95. package/dist/model/BusinessProfile.js +160 -0
  96. package/dist/model/Capabilities.js +383 -0
  97. package/dist/model/Card.js +247 -0
  98. package/dist/model/CardPresent.js +268 -0
  99. package/dist/model/CashBalance.js +135 -0
  100. package/dist/model/Charge.js +706 -0
  101. package/dist/model/ChargeCollection.js +146 -0
  102. package/dist/model/Checks.js +113 -0
  103. package/dist/model/Comment.js +210 -0
  104. package/dist/model/Company.js +238 -0
  105. package/dist/model/Computed.js +108 -0
  106. package/dist/model/Controller.js +104 -0
  107. package/dist/model/Coordinates.js +84 -0
  108. package/dist/model/Coupon.js +256 -0
  109. package/dist/model/CreateAccountResponse.js +95 -0
  110. package/dist/model/CreateAccountResponseFailureException.js +117 -0
  111. package/dist/model/CreateAccountResponseFailureExceptionCause.js +106 -0
  112. package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +138 -0
  113. package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +95 -0
  114. package/dist/model/CreateCustomerResponse.js +95 -0
  115. package/dist/model/CreateStripeAccountInput.js +129 -0
  116. package/dist/model/CreateStripeCustomerInput.js +95 -0
  117. package/dist/model/CreditedItems.js +104 -0
  118. package/dist/model/CurrencyOption.js +135 -0
  119. package/dist/model/CurrentPhase.js +104 -0
  120. package/dist/model/CustomField.js +104 -0
  121. package/dist/model/CustomUnitAmount.js +113 -0
  122. package/dist/model/Customer.js +400 -0
  123. package/dist/model/CustomerAcceptance.js +126 -0
  124. package/dist/model/CustomerBalance.js +86 -0
  125. package/dist/model/CustomerNotification.js +104 -0
  126. package/dist/model/CustomerTaxId.js +104 -0
  127. package/dist/model/DataObject.js +84 -0
  128. package/dist/model/DataSheetImport.js +320 -0
  129. package/dist/model/DataSheetImportPrivacySettings.js +93 -0
  130. package/dist/model/DataSheetImportSummary.js +120 -0
  131. package/dist/model/DateOfBirth.js +113 -0
  132. package/dist/model/DeclineChargeOn.js +104 -0
  133. package/dist/model/DefaultSettings.js +177 -0
  134. package/dist/model/Discount.js +104 -0
  135. package/dist/model/DiscountAmount.js +115 -0
  136. package/dist/model/Dispute.js +260 -0
  137. package/dist/model/Document.js +292 -0
  138. package/dist/model/DocumentPart.js +243 -0
  139. package/dist/model/DocumentPartType.js +160 -0
  140. package/dist/model/DocumentType.js +196 -0
  141. package/dist/model/EmailSent.js +104 -0
  142. package/dist/model/Eps.js +104 -0
  143. package/dist/model/Errors.js +113 -0
  144. package/dist/model/EuBankTransfer.js +95 -0
  145. package/dist/model/Evidence.js +410 -0
  146. package/dist/model/EvidenceDetails.js +122 -0
  147. package/dist/model/ExternalAccount.js +84 -0
  148. package/dist/model/ExternalAccountCollection.js +146 -0
  149. package/dist/model/Familymart.js +104 -0
  150. package/dist/model/Fee.js +131 -0
  151. package/dist/model/FeeRefund.js +182 -0
  152. package/dist/model/FeeRefundCollection.js +146 -0
  153. package/dist/model/FieldMapping.js +139 -0
  154. package/dist/model/Fields.js +462 -0
  155. package/dist/model/File.js +156 -0
  156. package/dist/model/FileAttachmentUpload.js +88 -0
  157. package/dist/model/FileAttachmentUploadObject.js +165 -0
  158. package/dist/model/FileLink.js +178 -0
  159. package/dist/model/FileLinkCollection.js +146 -0
  160. package/dist/model/Filter.js +84 -0
  161. package/dist/model/FilterManager.js +86 -0
  162. package/dist/model/FinancialAddress.js +148 -0
  163. package/dist/model/FinancialConnections.js +95 -0
  164. package/dist/model/Form.js +174 -0
  165. package/dist/model/FormSection.js +131 -0
  166. package/dist/model/FormSubmission.js +134 -0
  167. package/dist/model/Fpx.js +113 -0
  168. package/dist/model/FraudDetails.js +104 -0
  169. package/dist/model/FromQuote.js +115 -0
  170. package/dist/model/FutureRequirements.js +144 -0
  171. package/dist/model/GeneratedFrom.js +126 -0
  172. package/dist/model/Geocode.js +106 -0
  173. package/dist/model/GeocodePayload.js +88 -0
  174. package/dist/model/GeolocationInput.js +132 -0
  175. package/dist/model/Giropay.js +122 -0
  176. package/dist/model/GooglePay.js +86 -0
  177. package/dist/model/Grabpay.js +95 -0
  178. package/dist/model/Graph.js +213 -0
  179. package/dist/model/GraphAction.js +140 -0
  180. package/dist/model/GraphDatabaseService.js +129 -0
  181. package/dist/model/GraphGeocode.js +136 -0
  182. package/dist/model/GraphIteratorEntryPart.js +77 -0
  183. package/dist/model/GraphIteratorEntryPartStackTrace.js +138 -0
  184. package/dist/model/GraphObject.js +192 -0
  185. package/dist/model/GraphObjectDescriptorSchema.js +179 -0
  186. package/dist/model/GraphObjectPayload.js +151 -0
  187. package/dist/model/GraphObjectSchema.js +223 -0
  188. package/dist/model/GraphObjectType.js +254 -0
  189. package/dist/model/GraphObjectTypeSchema.js +254 -0
  190. package/dist/model/GraphOwner.js +93 -0
  191. package/dist/model/GraphRelation.js +133 -0
  192. package/dist/model/GraphRelationObjectObject.js +133 -0
  193. package/dist/model/GraphRelationship.js +143 -0
  194. package/dist/model/GraphRelationshipPayload.js +104 -0
  195. package/dist/model/GraphRelationshipType.js +309 -0
  196. package/dist/model/GraphSchema.js +262 -0
  197. package/dist/model/GraphTraversalInput.js +255 -0
  198. package/dist/model/Iban.js +122 -0
  199. package/dist/model/Ideal.js +162 -0
  200. package/dist/model/Image.js +192 -0
  201. package/dist/model/ImageUpload.js +88 -0
  202. package/dist/model/ImageUploadObject.js +192 -0
  203. package/dist/model/InlineObject.js +124 -0
  204. package/dist/model/InlineObject1.js +124 -0
  205. package/dist/model/InlineObject2.js +124 -0
  206. package/dist/model/InlineObject3.js +124 -0
  207. package/dist/model/InlineObject4.js +124 -0
  208. package/dist/model/InlineObject5.js +124 -0
  209. package/dist/model/InlineResponseDefault.js +124 -0
  210. package/dist/model/InputPart.js +106 -0
  211. package/dist/model/InputPartMediaType.js +113 -0
  212. package/dist/model/Installments.js +97 -0
  213. package/dist/model/InteracPresent.js +241 -0
  214. package/dist/model/Invoice.js +925 -0
  215. package/dist/model/InvoiceLineItem.js +329 -0
  216. package/dist/model/InvoiceLineItemCollection.js +146 -0
  217. package/dist/model/InvoiceLineItemPeriod.js +104 -0
  218. package/dist/model/InvoiceSettings.js +95 -0
  219. package/dist/model/JapanAddress.js +149 -0
  220. package/dist/model/JsonArray.js +252 -0
  221. package/dist/model/JsonNull.js +252 -0
  222. package/dist/model/JsonObject.js +252 -0
  223. package/dist/model/JsonPrimitive.js +288 -0
  224. package/dist/model/Klarna.js +104 -0
  225. package/dist/model/Konbini.js +97 -0
  226. package/dist/model/Lawson.js +104 -0
  227. package/dist/model/Level3.js +142 -0
  228. package/dist/model/LineItem.js +220 -0
  229. package/dist/model/LineItemCollection.js +146 -0
  230. package/dist/model/Link.js +140 -0
  231. package/dist/model/LiveStreamInfo.js +94 -0
  232. package/dist/model/Location.js +113 -0
  233. package/dist/model/Mandate.js +195 -0
  234. package/dist/model/MandateOptions.js +95 -0
  235. package/dist/model/Masterpass.js +124 -0
  236. package/dist/model/MeetingEvent.js +251 -0
  237. package/dist/model/MeetingEventTimezone.js +102 -0
  238. package/dist/model/MeetingInfo.js +126 -0
  239. package/dist/model/Member.js +212 -0
  240. package/dist/model/MemberGroupCategory.js +120 -0
  241. package/dist/model/MemberList.js +101 -0
  242. package/dist/model/MessageGroup.js +95 -0
  243. package/dist/model/Ministop.js +104 -0
  244. package/dist/model/MultiUse.js +86 -0
  245. package/dist/model/Multibanco.js +104 -0
  246. package/dist/model/MultipartBody.js +84 -0
  247. package/dist/model/MultipartFormDataInput.js +108 -0
  248. package/dist/model/Networks.js +104 -0
  249. package/dist/model/NextAction.js +249 -0
  250. package/dist/model/NextActionAlipayHandleRedirect.js +122 -0
  251. package/dist/model/NextActionCardAwaitNotification.js +104 -0
  252. package/dist/model/NextActionDisplayBankTransferInstructions.js +142 -0
  253. package/dist/model/NextActionDisplayBoletoDetails.js +122 -0
  254. package/dist/model/NextActionDisplayDetails.js +106 -0
  255. package/dist/model/NextActionKonbiniDisplayDetails.js +115 -0
  256. package/dist/model/NextActionOxxoDisplayDetails.js +113 -0
  257. package/dist/model/NextActionRedirectToUrl.js +104 -0
  258. package/dist/model/Objecttype.js +244 -0
  259. package/dist/model/Offline.js +86 -0
  260. package/dist/model/Online.js +104 -0
  261. package/dist/model/Outcome.js +160 -0
  262. package/dist/model/OwnershipDeclaration.js +113 -0
  263. package/dist/model/Oxxo.js +95 -0
  264. package/dist/model/P24.js +113 -0
  265. package/dist/model/PackageDimensions.js +122 -0
  266. package/dist/model/Page.js +169 -0
  267. package/dist/model/PageSchema.js +229 -0
  268. package/dist/model/Pageable.js +122 -0
  269. package/dist/model/Path.js +77 -0
  270. package/dist/model/PauseCollection.js +104 -0
  271. package/dist/model/PaymentIntent.js +534 -0
  272. package/dist/model/PaymentIntentInput.js +102 -0
  273. package/dist/model/PaymentIntentResponse.js +84 -0
  274. package/dist/model/PaymentMethod.js +120 -0
  275. package/dist/model/PaymentMethodDetails.js +480 -0
  276. package/dist/model/PaymentMethodOptions.js +152 -0
  277. package/dist/model/PaymentSettings.js +115 -0
  278. package/dist/model/PaymentSource.js +84 -0
  279. package/dist/model/PaymentSourceCollection.js +146 -0
  280. package/dist/model/Paynow.js +95 -0
  281. package/dist/model/PaynowDisplayQrCode.js +113 -0
  282. package/dist/model/PayoutSchedule.js +122 -0
  283. package/dist/model/PendingInvoiceItemInterval.js +104 -0
  284. package/dist/model/PendingUpdate.js +133 -0
  285. package/dist/model/Person.js +381 -0
  286. package/dist/model/Phase.js +286 -0
  287. package/dist/model/PhaseItem.js +157 -0
  288. package/dist/model/Plan.js +292 -0
  289. package/dist/model/Post.js +167 -0
  290. package/dist/model/Price.js +309 -0
  291. package/dist/model/PrivateMessage.js +222 -0
  292. package/dist/model/PrivateMessageConversation.js +222 -0
  293. package/dist/model/PrivateMessageConversationSchema.js +125 -0
  294. package/dist/model/Processing.js +106 -0
  295. package/dist/model/Product.js +310 -0
  296. package/dist/model/Profile.js +106 -0
  297. package/dist/model/Profiletype.js +106 -0
  298. package/dist/model/PromotionCode.js +220 -0
  299. package/dist/model/Promptpay.js +95 -0
  300. package/dist/model/PromptpayDisplayQrCode.js +122 -0
  301. package/dist/model/PropertyContainer.js +97 -0
  302. package/dist/model/ProrationDetails.js +97 -0
  303. package/dist/model/Quote.js +520 -0
  304. package/dist/model/RadarOptions.js +95 -0
  305. package/dist/model/Receipt.js +167 -0
  306. package/dist/model/Recurring.js +133 -0
  307. package/dist/model/Refund.js +332 -0
  308. package/dist/model/RefundCollection.js +146 -0
  309. package/dist/model/Relationship.js +140 -0
  310. package/dist/model/RelationshipMapping.js +159 -0
  311. package/dist/model/RenderingOptions.js +95 -0
  312. package/dist/model/RequestOptions.js +167 -0
  313. package/dist/model/RequestOptionsProxyCredential.js +84 -0
  314. package/dist/model/Requirements.js +162 -0
  315. package/dist/model/Restrictions.js +126 -0
  316. package/dist/model/Review.js +238 -0
  317. package/dist/model/Rule.js +113 -0
  318. package/dist/model/SamsungPay.js +86 -0
  319. package/dist/model/ScreenSchema.js +299 -0
  320. package/dist/model/Seicomart.js +104 -0
  321. package/dist/model/SepaCreditTransfer.js +113 -0
  322. package/dist/model/SepaDebit.js +142 -0
  323. package/dist/model/SepaDebitMandateOptions.js +86 -0
  324. package/dist/model/SepaDebitPayments.js +95 -0
  325. package/dist/model/Session.js +122 -0
  326. package/dist/model/Settings.js +185 -0
  327. package/dist/model/SettingsBranding.js +140 -0
  328. package/dist/model/SettingsCardIssuing.js +97 -0
  329. package/dist/model/SettingsCardPayments.js +124 -0
  330. package/dist/model/SettingsDashboard.js +104 -0
  331. package/dist/model/SettingsPayments.js +131 -0
  332. package/dist/model/SettingsPayouts.js +115 -0
  333. package/dist/model/SettingsTreasury.js +97 -0
  334. package/dist/model/SetupAttempt.js +280 -0
  335. package/dist/model/SetupIntent.js +376 -0
  336. package/dist/model/ShippingDetails.js +133 -0
  337. package/dist/model/SimulcastInfo.js +96 -0
  338. package/dist/model/SingleUse.js +104 -0
  339. package/dist/model/SkinField.js +462 -0
  340. package/dist/model/SocialGroup.js +273 -0
  341. package/dist/model/SocialGroupType.js +149 -0
  342. package/dist/model/Sofort.js +189 -0
  343. package/dist/model/Sort.js +93 -0
  344. package/dist/model/SortCode.js +113 -0
  345. package/dist/model/Spei.js +113 -0
  346. package/dist/model/StatusTransitions.js +113 -0
  347. package/dist/model/StatusUpdate.js +147 -0
  348. package/dist/model/Store.js +95 -0
  349. package/dist/model/Stores.js +130 -0
  350. package/dist/model/StreetAddress.js +111 -0
  351. package/dist/model/StripeAccount.js +111 -0
  352. package/dist/model/StripeCustomerAccount.js +111 -0
  353. package/dist/model/StripeError.js +202 -0
  354. package/dist/model/Subscription.js +556 -0
  355. package/dist/model/SubscriptionCollection.js +146 -0
  356. package/dist/model/SubscriptionData.js +104 -0
  357. package/dist/model/SubscriptionItem.js +195 -0
  358. package/dist/model/SubscriptionItemCollection.js +146 -0
  359. package/dist/model/SubscriptionSchedule.js +300 -0
  360. package/dist/model/Tax.js +115 -0
  361. package/dist/model/TaxAmount.js +124 -0
  362. package/dist/model/TaxCode.js +122 -0
  363. package/dist/model/TaxId.js +189 -0
  364. package/dist/model/TaxIdCollection.js +146 -0
  365. package/dist/model/TaxRate.js +214 -0
  366. package/dist/model/Template.js +131 -0
  367. package/dist/model/TemplateSchema.js +144 -0
  368. package/dist/model/TestClock.js +167 -0
  369. package/dist/model/ThemeMapping.js +124 -0
  370. package/dist/model/ThemeMappingPayload.js +122 -0
  371. package/dist/model/ThreeDSecure.js +122 -0
  372. package/dist/model/ThreeDSecureUsage.js +95 -0
  373. package/dist/model/ThresholdItemReason.js +104 -0
  374. package/dist/model/ThresholdReason.js +106 -0
  375. package/dist/model/Tier.js +131 -0
  376. package/dist/model/Tip.js +95 -0
  377. package/dist/model/TosAcceptance.js +122 -0
  378. package/dist/model/TotalDetails.js +124 -0
  379. package/dist/model/Transaction.js +84 -0
  380. package/dist/model/Transfer.js +285 -0
  381. package/dist/model/TransferData.js +124 -0
  382. package/dist/model/TransferReversal.js +220 -0
  383. package/dist/model/TransferReversalCollection.js +146 -0
  384. package/dist/model/TransformQuantity.js +104 -0
  385. package/dist/model/TransformUsage.js +104 -0
  386. package/dist/model/TraversalQuery.js +209 -0
  387. package/dist/model/TraversalQueryStartobjecttypes.js +179 -0
  388. package/dist/model/USBankAccount.js +140 -0
  389. package/dist/model/Upfront.js +126 -0
  390. package/dist/model/User.js +212 -0
  391. package/dist/model/UserDataPayload.js +212 -0
  392. package/dist/model/UserDomain.js +102 -0
  393. package/dist/model/UserInvite.js +191 -0
  394. package/dist/model/UserInviteInput.js +120 -0
  395. package/dist/model/UserSchema.js +212 -0
  396. package/dist/model/UserTag.js +124 -0
  397. package/dist/model/Verification.js +113 -0
  398. package/dist/model/VerificationDocument.js +140 -0
  399. package/dist/model/VerifyWithMicrodeposits.js +113 -0
  400. package/dist/model/Video.js +255 -0
  401. package/dist/model/VideoLiveUrl.js +84 -0
  402. package/dist/model/VideoSchema.js +284 -0
  403. package/dist/model/VideoUpload.js +88 -0
  404. package/dist/model/VideoUploadObject.js +228 -0
  405. package/dist/model/VisaCheckout.js +124 -0
  406. package/dist/model/Wallet.js +170 -0
  407. package/dist/model/Wechat.js +86 -0
  408. package/dist/model/WechatPay.js +104 -0
  409. package/dist/model/WechatPayDisplayQrCode.js +122 -0
  410. package/dist/model/WechatPayRedirectToAndroidApp.js +158 -0
  411. package/dist/model/WechatPayRedirectToIosApp.js +95 -0
  412. package/dist/model/Zengin.js +149 -0
  413. package/dist/model/ZeusPortalCategory.js +185 -0
  414. package/package.json +46 -0
@@ -0,0 +1,1500 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
+
10
+ var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
11
+
12
+ var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
13
+
14
+ var _GraphRelationshipType = _interopRequireDefault(require("../model/GraphRelationshipType"));
15
+
16
+ var _InlineObject = _interopRequireDefault(require("../model/InlineObject1"));
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+
20
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
21
+
22
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
23
+
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
25
+
26
+ /**
27
+ * GraphRelationships service.
28
+ * @module api/GraphRelationshipsApi
29
+ * @version 0.1.2
30
+ */
31
+ var GraphRelationshipsApi = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new GraphRelationshipsApi.
34
+ * @alias module:api/GraphRelationshipsApi
35
+ * @class
36
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
37
+ * default to {@link module:ApiClient#instance} if unspecified.
38
+ */
39
+ function GraphRelationshipsApi(apiClient) {
40
+ _classCallCheck(this, GraphRelationshipsApi);
41
+
42
+ this.apiClient = apiClient || _ApiClient["default"].instance;
43
+ }
44
+ /**
45
+ * Callback function to receive the result of the addEndObjectTypes1 operation.
46
+ * @callback module:api/GraphRelationshipsApi~addEndObjectTypes1Callback
47
+ * @param {String} error Error message, if any.
48
+ * @param {module:model/InlineObject1} data The data returned by the service call.
49
+ * @param {String} response The complete HTTP response.
50
+ */
51
+
52
+ /**
53
+ * @param {Number} id
54
+ * @param {Object} opts Optional parameters
55
+ * @param {String} opts.authorization The authorization token of the logged in user
56
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
57
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
58
+ * @param {String} opts.body
59
+ * @param {module:api/GraphRelationshipsApi~addEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
60
+ * data is of type: {@link module:model/InlineObject1}
61
+ */
62
+
63
+
64
+ _createClass(GraphRelationshipsApi, [{
65
+ key: "addEndObjectTypes1",
66
+ value: function addEndObjectTypes1(id, opts, callback) {
67
+ opts = opts || {};
68
+ var postBody = opts['body']; // verify the required parameter 'id' is set
69
+
70
+ if (id === undefined || id === null) {
71
+ throw new Error("Missing the required parameter 'id' when calling addEndObjectTypes1");
72
+ }
73
+
74
+ var pathParams = {
75
+ 'id': id
76
+ };
77
+ var queryParams = {};
78
+ var headerParams = {
79
+ 'Authorization': opts['authorization'],
80
+ 'zeusportal-postas': opts['zeusportalPostas'],
81
+ 'transactionid': opts['transactionid']
82
+ };
83
+ var formParams = {};
84
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
85
+ var contentTypes = ['application/json'];
86
+ var accepts = ['application/json'];
87
+ var returnType = _InlineObject["default"];
88
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
89
+ }
90
+ /**
91
+ * Callback function to receive the result of the addStartObjectTypes operation.
92
+ * @callback module:api/GraphRelationshipsApi~addStartObjectTypesCallback
93
+ * @param {String} error Error message, if any.
94
+ * @param {module:model/InlineObject1} data The data returned by the service call.
95
+ * @param {String} response The complete HTTP response.
96
+ */
97
+
98
+ /**
99
+ * @param {Number} id
100
+ * @param {Object} opts Optional parameters
101
+ * @param {String} opts.authorization The authorization token of the logged in user
102
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
103
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
104
+ * @param {String} opts.body
105
+ * @param {module:api/GraphRelationshipsApi~addStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
106
+ * data is of type: {@link module:model/InlineObject1}
107
+ */
108
+
109
+ }, {
110
+ key: "addStartObjectTypes",
111
+ value: function addStartObjectTypes(id, opts, callback) {
112
+ opts = opts || {};
113
+ var postBody = opts['body']; // verify the required parameter 'id' is set
114
+
115
+ if (id === undefined || id === null) {
116
+ throw new Error("Missing the required parameter 'id' when calling addStartObjectTypes");
117
+ }
118
+
119
+ var pathParams = {
120
+ 'id': id
121
+ };
122
+ var queryParams = {};
123
+ var headerParams = {
124
+ 'Authorization': opts['authorization'],
125
+ 'zeusportal-postas': opts['zeusportalPostas'],
126
+ 'transactionid': opts['transactionid']
127
+ };
128
+ var formParams = {};
129
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
130
+ var contentTypes = ['application/json'];
131
+ var accepts = ['application/json'];
132
+ var returnType = _InlineObject["default"];
133
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
134
+ }
135
+ /**
136
+ * Callback function to receive the result of the createRelationship operation.
137
+ * @callback module:api/GraphRelationshipsApi~createRelationshipCallback
138
+ * @param {String} error Error message, if any.
139
+ * @param {module:model/GraphRelationship} data The data returned by the service call.
140
+ * @param {String} response The complete HTTP response.
141
+ */
142
+
143
+ /**
144
+ * Create a Relationship
145
+ * Create a relationship to another object
146
+ * @param {Number} id The id of the object that we are creating relationships on
147
+ * @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
148
+ * @param {Object} opts Optional parameters
149
+ * @param {String} opts.authorization The authorization token of the logged in user
150
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
151
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
152
+ * @param {module:api/GraphRelationshipsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
153
+ * data is of type: {@link module:model/GraphRelationship}
154
+ */
155
+
156
+ }, {
157
+ key: "createRelationship",
158
+ value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
159
+ opts = opts || {};
160
+ var postBody = graphRelationshipPayload; // verify the required parameter 'id' is set
161
+
162
+ if (id === undefined || id === null) {
163
+ throw new Error("Missing the required parameter 'id' when calling createRelationship");
164
+ } // verify the required parameter 'graphRelationshipPayload' is set
165
+
166
+
167
+ if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
168
+ throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
169
+ }
170
+
171
+ var pathParams = {
172
+ 'id': id
173
+ };
174
+ var queryParams = {};
175
+ var headerParams = {
176
+ 'Authorization': opts['authorization'],
177
+ 'zeusportal-postas': opts['zeusportalPostas'],
178
+ 'transactionid': opts['transactionid']
179
+ };
180
+ var formParams = {};
181
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
182
+ var contentTypes = ['application/json'];
183
+ var accepts = ['application/json'];
184
+ var returnType = _GraphRelationship["default"];
185
+ return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
186
+ }
187
+ /**
188
+ * Callback function to receive the result of the createRelationshipType operation.
189
+ * @callback module:api/GraphRelationshipsApi~createRelationshipTypeCallback
190
+ * @param {String} error Error message, if any.
191
+ * @param {module:model/GraphRelationshipType} data The data returned by the service call.
192
+ * @param {String} response The complete HTTP response.
193
+ */
194
+
195
+ /**
196
+ * Create relationshp type
197
+ * Creates a new relationship type
198
+ * @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data
199
+ * @param {Object} opts Optional parameters
200
+ * @param {String} opts.authorization The authorization token of the logged in user
201
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
202
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
203
+ * @param {module:api/GraphRelationshipsApi~createRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
204
+ * data is of type: {@link module:model/GraphRelationshipType}
205
+ */
206
+
207
+ }, {
208
+ key: "createRelationshipType",
209
+ value: function createRelationshipType(graphRelationshipType, opts, callback) {
210
+ opts = opts || {};
211
+ var postBody = graphRelationshipType; // verify the required parameter 'graphRelationshipType' is set
212
+
213
+ if (graphRelationshipType === undefined || graphRelationshipType === null) {
214
+ throw new Error("Missing the required parameter 'graphRelationshipType' when calling createRelationshipType");
215
+ }
216
+
217
+ var pathParams = {};
218
+ var queryParams = {};
219
+ var headerParams = {
220
+ 'Authorization': opts['authorization'],
221
+ 'zeusportal-postas': opts['zeusportalPostas'],
222
+ 'transactionid': opts['transactionid']
223
+ };
224
+ var formParams = {};
225
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
226
+ var contentTypes = ['application/json'];
227
+ var accepts = ['application/json'];
228
+ var returnType = _GraphRelationshipType["default"];
229
+ return this.apiClient.callApi('/graph/data/relationshiptype', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
230
+ }
231
+ /**
232
+ * Callback function to receive the result of the createRelationships operation.
233
+ * @callback module:api/GraphRelationshipsApi~createRelationshipsCallback
234
+ * @param {String} error Error message, if any.
235
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
236
+ * @param {String} response The complete HTTP response.
237
+ */
238
+
239
+ /**
240
+ * Create Relationships
241
+ * Create a relationships to other objects
242
+ * @param {Number} id The id of the object that we are creating relationships on
243
+ * @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
244
+ * @param {Object} opts Optional parameters
245
+ * @param {String} opts.authorization The authorization token of the logged in user
246
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
247
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
248
+ * @param {module:api/GraphRelationshipsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
249
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
250
+ */
251
+
252
+ }, {
253
+ key: "createRelationships",
254
+ value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
255
+ opts = opts || {};
256
+ var postBody = graphRelationshipPayload; // verify the required parameter 'id' is set
257
+
258
+ if (id === undefined || id === null) {
259
+ throw new Error("Missing the required parameter 'id' when calling createRelationships");
260
+ } // verify the required parameter 'graphRelationshipPayload' is set
261
+
262
+
263
+ if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
264
+ throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
265
+ }
266
+
267
+ var pathParams = {
268
+ 'id': id
269
+ };
270
+ var queryParams = {};
271
+ var headerParams = {
272
+ 'Authorization': opts['authorization'],
273
+ 'zeusportal-postas': opts['zeusportalPostas'],
274
+ 'transactionid': opts['transactionid']
275
+ };
276
+ var formParams = {};
277
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
278
+ var contentTypes = ['application/json'];
279
+ var accepts = ['application/json'];
280
+ var returnType = [_GraphRelationship["default"]];
281
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
282
+ }
283
+ /**
284
+ * Callback function to receive the result of the deleteRelationship operation.
285
+ * @callback module:api/GraphRelationshipsApi~deleteRelationshipCallback
286
+ * @param {String} error Error message, if any.
287
+ * @param data This operation does not return a value.
288
+ * @param {String} response The complete HTTP response.
289
+ */
290
+
291
+ /**
292
+ * Delete Relationship
293
+ * Delete an individual relationship
294
+ * @param {Number} id
295
+ * @param {Object} opts Optional parameters
296
+ * @param {String} opts.authorization The authorization token of the logged in user
297
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
298
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
299
+ * @param {module:api/GraphRelationshipsApi~deleteRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
300
+ */
301
+
302
+ }, {
303
+ key: "deleteRelationship",
304
+ value: function deleteRelationship(id, opts, callback) {
305
+ opts = opts || {};
306
+ var postBody = null; // verify the required parameter 'id' is set
307
+
308
+ if (id === undefined || id === null) {
309
+ throw new Error("Missing the required parameter 'id' when calling deleteRelationship");
310
+ }
311
+
312
+ var pathParams = {
313
+ 'id': id
314
+ };
315
+ var queryParams = {};
316
+ var headerParams = {
317
+ 'Authorization': opts['authorization'],
318
+ 'zeusportal-postas': opts['zeusportalPostas'],
319
+ 'transactionid': opts['transactionid']
320
+ };
321
+ var formParams = {};
322
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
323
+ var contentTypes = [];
324
+ var accepts = ['*/*'];
325
+ var returnType = null;
326
+ return this.apiClient.callApi('/graph/data/relationship/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
327
+ }
328
+ /**
329
+ * Callback function to receive the result of the get11 operation.
330
+ * @callback module:api/GraphRelationshipsApi~get11Callback
331
+ * @param {String} error Error message, if any.
332
+ * @param data This operation does not return a value.
333
+ * @param {String} response The complete HTTP response.
334
+ */
335
+
336
+ /**
337
+ * Root for the API
338
+ * @param {Object} opts Optional parameters
339
+ * @param {String} opts.authorization The authorization token of the logged in user
340
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
341
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
342
+ * @param {module:api/GraphRelationshipsApi~get11Callback} callback The callback function, accepting three arguments: error, data, response
343
+ */
344
+
345
+ }, {
346
+ key: "get11",
347
+ value: function get11(opts, callback) {
348
+ opts = opts || {};
349
+ var postBody = null;
350
+ var pathParams = {};
351
+ var queryParams = {};
352
+ var headerParams = {
353
+ 'Authorization': opts['authorization'],
354
+ 'zeusportal-postas': opts['zeusportalPostas'],
355
+ 'transactionid': opts['transactionid']
356
+ };
357
+ var formParams = {};
358
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
359
+ var contentTypes = [];
360
+ var accepts = ['*/*'];
361
+ var returnType = null;
362
+ return this.apiClient.callApi('/graph/data/relationship', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
363
+ }
364
+ /**
365
+ * Callback function to receive the result of the get12 operation.
366
+ * @callback module:api/GraphRelationshipsApi~get12Callback
367
+ * @param {String} error Error message, if any.
368
+ * @param data This operation does not return a value.
369
+ * @param {String} response The complete HTTP response.
370
+ */
371
+
372
+ /**
373
+ * Root for the API
374
+ * @param {Object} opts Optional parameters
375
+ * @param {String} opts.authorization The authorization token of the logged in user
376
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
377
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
378
+ * @param {module:api/GraphRelationshipsApi~get12Callback} callback The callback function, accepting three arguments: error, data, response
379
+ */
380
+
381
+ }, {
382
+ key: "get12",
383
+ value: function get12(opts, callback) {
384
+ opts = opts || {};
385
+ var postBody = null;
386
+ var pathParams = {};
387
+ var queryParams = {};
388
+ var headerParams = {
389
+ 'Authorization': opts['authorization'],
390
+ 'zeusportal-postas': opts['zeusportalPostas'],
391
+ 'transactionid': opts['transactionid']
392
+ };
393
+ var formParams = {};
394
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
395
+ var contentTypes = [];
396
+ var accepts = ['*/*'];
397
+ var returnType = null;
398
+ return this.apiClient.callApi('/graph/data/relationshiptype', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
399
+ }
400
+ /**
401
+ * Callback function to receive the result of the getAllRelationships operation.
402
+ * @callback module:api/GraphRelationshipsApi~getAllRelationshipsCallback
403
+ * @param {String} error Error message, if any.
404
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
405
+ * @param {String} response The complete HTTP response.
406
+ */
407
+
408
+ /**
409
+ * Get All Relationships
410
+ * Returns a listing of relationships
411
+ * @param {Number} id The id of the object that we are retrieving relationships on
412
+ * @param {Object} opts Optional parameters
413
+ * @param {String} opts.authorization The authorization token of the logged in user
414
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
415
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
416
+ * @param {module:api/GraphRelationshipsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
417
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
418
+ */
419
+
420
+ }, {
421
+ key: "getAllRelationships",
422
+ value: function getAllRelationships(id, opts, callback) {
423
+ opts = opts || {};
424
+ var postBody = null; // verify the required parameter 'id' is set
425
+
426
+ if (id === undefined || id === null) {
427
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
428
+ }
429
+
430
+ var pathParams = {
431
+ 'id': id
432
+ };
433
+ var queryParams = {};
434
+ var headerParams = {
435
+ 'Authorization': opts['authorization'],
436
+ 'zeusportal-postas': opts['zeusportalPostas'],
437
+ 'transactionid': opts['transactionid']
438
+ };
439
+ var formParams = {};
440
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
441
+ var contentTypes = [];
442
+ var accepts = ['application/json'];
443
+ var returnType = [_GraphRelationship["default"]];
444
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
445
+ }
446
+ /**
447
+ * Callback function to receive the result of the getAllRelationshipsByType operation.
448
+ * @callback module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback
449
+ * @param {String} error Error message, if any.
450
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
451
+ * @param {String} response The complete HTTP response.
452
+ */
453
+
454
+ /**
455
+ * Get All Relationships By Type
456
+ * Returns a listing of relationships
457
+ * @param {Number} id The id of the relationship type we are searching for
458
+ * @param {Number} reltypeid The id of the object that we are retrieving relationships on
459
+ * @param {Object} opts Optional parameters
460
+ * @param {String} opts.authorization The authorization token of the logged in user
461
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
462
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
463
+ * @param {module:api/GraphRelationshipsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
464
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
465
+ */
466
+
467
+ }, {
468
+ key: "getAllRelationshipsByType",
469
+ value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
470
+ opts = opts || {};
471
+ var postBody = null; // verify the required parameter 'id' is set
472
+
473
+ if (id === undefined || id === null) {
474
+ throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
475
+ } // verify the required parameter 'reltypeid' is set
476
+
477
+
478
+ if (reltypeid === undefined || reltypeid === null) {
479
+ throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
480
+ }
481
+
482
+ var pathParams = {
483
+ 'id': id,
484
+ 'reltypeid': reltypeid
485
+ };
486
+ var queryParams = {};
487
+ var headerParams = {
488
+ 'Authorization': opts['authorization'],
489
+ 'zeusportal-postas': opts['zeusportalPostas'],
490
+ 'transactionid': opts['transactionid']
491
+ };
492
+ var formParams = {};
493
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
494
+ var contentTypes = [];
495
+ var accepts = ['application/json'];
496
+ var returnType = [_GraphRelationship["default"]];
497
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
498
+ }
499
+ /**
500
+ * Callback function to receive the result of the getEndObjectTypes1 operation.
501
+ * @callback module:api/GraphRelationshipsApi~getEndObjectTypes1Callback
502
+ * @param {String} error Error message, if any.
503
+ * @param {module:model/InlineObject1} data The data returned by the service call.
504
+ * @param {String} response The complete HTTP response.
505
+ */
506
+
507
+ /**
508
+ * @param {Number} id
509
+ * @param {Object} opts Optional parameters
510
+ * @param {String} opts.authorization The authorization token of the logged in user
511
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
512
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
513
+ * @param {module:api/GraphRelationshipsApi~getEndObjectTypes1Callback} callback The callback function, accepting three arguments: error, data, response
514
+ * data is of type: {@link module:model/InlineObject1}
515
+ */
516
+
517
+ }, {
518
+ key: "getEndObjectTypes1",
519
+ value: function getEndObjectTypes1(id, opts, callback) {
520
+ opts = opts || {};
521
+ var postBody = null; // verify the required parameter 'id' is set
522
+
523
+ if (id === undefined || id === null) {
524
+ throw new Error("Missing the required parameter 'id' when calling getEndObjectTypes1");
525
+ }
526
+
527
+ var pathParams = {
528
+ 'id': id
529
+ };
530
+ var queryParams = {};
531
+ var headerParams = {
532
+ 'Authorization': opts['authorization'],
533
+ 'zeusportal-postas': opts['zeusportalPostas'],
534
+ 'transactionid': opts['transactionid']
535
+ };
536
+ var formParams = {};
537
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
538
+ var contentTypes = [];
539
+ var accepts = ['application/json'];
540
+ var returnType = _InlineObject["default"];
541
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
542
+ }
543
+ /**
544
+ * Callback function to receive the result of the getFields2 operation.
545
+ * @callback module:api/GraphRelationshipsApi~getFields2Callback
546
+ * @param {String} error Error message, if any.
547
+ * @param {module:model/InlineObject1} data The data returned by the service call.
548
+ * @param {String} response The complete HTTP response.
549
+ */
550
+
551
+ /**
552
+ * @param {Number} id
553
+ * @param {Object} opts Optional parameters
554
+ * @param {String} opts.authorization The authorization token of the logged in user
555
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
556
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
557
+ * @param {module:api/GraphRelationshipsApi~getFields2Callback} callback The callback function, accepting three arguments: error, data, response
558
+ * data is of type: {@link module:model/InlineObject1}
559
+ */
560
+
561
+ }, {
562
+ key: "getFields2",
563
+ value: function getFields2(id, opts, callback) {
564
+ opts = opts || {};
565
+ var postBody = null; // verify the required parameter 'id' is set
566
+
567
+ if (id === undefined || id === null) {
568
+ throw new Error("Missing the required parameter 'id' when calling getFields2");
569
+ }
570
+
571
+ var pathParams = {
572
+ 'id': id
573
+ };
574
+ var queryParams = {};
575
+ var headerParams = {
576
+ 'Authorization': opts['authorization'],
577
+ 'zeusportal-postas': opts['zeusportalPostas'],
578
+ 'transactionid': opts['transactionid']
579
+ };
580
+ var formParams = {};
581
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
582
+ var contentTypes = [];
583
+ var accepts = ['application/json'];
584
+ var returnType = _InlineObject["default"];
585
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
586
+ }
587
+ /**
588
+ * Callback function to receive the result of the getRelProperties operation.
589
+ * @callback module:api/GraphRelationshipsApi~getRelPropertiesCallback
590
+ * @param {String} error Error message, if any.
591
+ * @param {Object.<String, module:model/{String: InlineObject1}>} data The data returned by the service call.
592
+ * @param {String} response The complete HTTP response.
593
+ */
594
+
595
+ /**
596
+ * Get Properties
597
+ * Get all properties attached to a relationship
598
+ * @param {Number} id
599
+ * @param {Object} opts Optional parameters
600
+ * @param {String} opts.authorization The authorization token of the logged in user
601
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
602
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
603
+ * @param {module:api/GraphRelationshipsApi~getRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
604
+ * data is of type: {@link Object.<String, module:model/{String: InlineObject1}>}
605
+ */
606
+
607
+ }, {
608
+ key: "getRelProperties",
609
+ value: function getRelProperties(id, opts, callback) {
610
+ opts = opts || {};
611
+ var postBody = null; // verify the required parameter 'id' is set
612
+
613
+ if (id === undefined || id === null) {
614
+ throw new Error("Missing the required parameter 'id' when calling getRelProperties");
615
+ }
616
+
617
+ var pathParams = {
618
+ 'id': id
619
+ };
620
+ var queryParams = {};
621
+ var headerParams = {
622
+ 'Authorization': opts['authorization'],
623
+ 'zeusportal-postas': opts['zeusportalPostas'],
624
+ 'transactionid': opts['transactionid']
625
+ };
626
+ var formParams = {};
627
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
628
+ var contentTypes = [];
629
+ var accepts = ['application/json'];
630
+ var returnType = {
631
+ 'String': _InlineObject["default"]
632
+ };
633
+ return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
634
+ }
635
+ /**
636
+ * Callback function to receive the result of the getRelProperty operation.
637
+ * @callback module:api/GraphRelationshipsApi~getRelPropertyCallback
638
+ * @param {String} error Error message, if any.
639
+ * @param {Object.<String, module:model/{String: InlineObject1}>} data The data returned by the service call.
640
+ * @param {String} response The complete HTTP response.
641
+ */
642
+
643
+ /**
644
+ * Get Property
645
+ * Get a single property attached to a relationship
646
+ * @param {Number} id
647
+ * @param {String} prop
648
+ * @param {Object} opts Optional parameters
649
+ * @param {String} opts.authorization The authorization token of the logged in user
650
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
651
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
652
+ * @param {module:api/GraphRelationshipsApi~getRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
653
+ * data is of type: {@link Object.<String, module:model/{String: InlineObject1}>}
654
+ */
655
+
656
+ }, {
657
+ key: "getRelProperty",
658
+ value: function getRelProperty(id, prop, opts, callback) {
659
+ opts = opts || {};
660
+ var postBody = null; // verify the required parameter 'id' is set
661
+
662
+ if (id === undefined || id === null) {
663
+ throw new Error("Missing the required parameter 'id' when calling getRelProperty");
664
+ } // verify the required parameter 'prop' is set
665
+
666
+
667
+ if (prop === undefined || prop === null) {
668
+ throw new Error("Missing the required parameter 'prop' when calling getRelProperty");
669
+ }
670
+
671
+ var pathParams = {
672
+ 'id': id,
673
+ 'prop': prop
674
+ };
675
+ var queryParams = {};
676
+ var headerParams = {
677
+ 'Authorization': opts['authorization'],
678
+ 'zeusportal-postas': opts['zeusportalPostas'],
679
+ 'transactionid': opts['transactionid']
680
+ };
681
+ var formParams = {};
682
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
683
+ var contentTypes = [];
684
+ var accepts = ['application/json'];
685
+ var returnType = {
686
+ 'String': _InlineObject["default"]
687
+ };
688
+ return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
689
+ }
690
+ /**
691
+ * Callback function to receive the result of the getRelationshipById operation.
692
+ * @callback module:api/GraphRelationshipsApi~getRelationshipByIdCallback
693
+ * @param {String} error Error message, if any.
694
+ * @param {module:model/GraphRelationship} data The data returned by the service call.
695
+ * @param {String} response The complete HTTP response.
696
+ */
697
+
698
+ /**
699
+ * Gets the relationship by id
700
+ * @param {Number} id
701
+ * @param {Object} opts Optional parameters
702
+ * @param {String} opts.authorization The authorization token of the logged in user
703
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
704
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
705
+ * @param {module:api/GraphRelationshipsApi~getRelationshipByIdCallback} callback The callback function, accepting three arguments: error, data, response
706
+ * data is of type: {@link module:model/GraphRelationship}
707
+ */
708
+
709
+ }, {
710
+ key: "getRelationshipById",
711
+ value: function getRelationshipById(id, opts, callback) {
712
+ opts = opts || {};
713
+ var postBody = null; // verify the required parameter 'id' is set
714
+
715
+ if (id === undefined || id === null) {
716
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipById");
717
+ }
718
+
719
+ var pathParams = {
720
+ 'id': id
721
+ };
722
+ var queryParams = {};
723
+ var headerParams = {
724
+ 'Authorization': opts['authorization'],
725
+ 'zeusportal-postas': opts['zeusportalPostas'],
726
+ 'transactionid': opts['transactionid']
727
+ };
728
+ var formParams = {};
729
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
730
+ var contentTypes = [];
731
+ var accepts = ['application/json'];
732
+ var returnType = _GraphRelationship["default"];
733
+ return this.apiClient.callApi('/graph/data/relationship/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
734
+ }
735
+ /**
736
+ * Callback function to receive the result of the getRelationshipTypeByClassName operation.
737
+ * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback
738
+ * @param {String} error Error message, if any.
739
+ * @param {module:model/GraphRelationshipType} data The data returned by the service call.
740
+ * @param {String} response The complete HTTP response.
741
+ */
742
+
743
+ /**
744
+ * Gets the relationship type by the java classname
745
+ * @param {String} classname
746
+ * @param {Object} opts Optional parameters
747
+ * @param {String} opts.authorization The authorization token of the logged in user
748
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
749
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
750
+ * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByClassNameCallback} callback The callback function, accepting three arguments: error, data, response
751
+ * data is of type: {@link module:model/GraphRelationshipType}
752
+ */
753
+
754
+ }, {
755
+ key: "getRelationshipTypeByClassName",
756
+ value: function getRelationshipTypeByClassName(classname, opts, callback) {
757
+ opts = opts || {};
758
+ var postBody = null; // verify the required parameter 'classname' is set
759
+
760
+ if (classname === undefined || classname === null) {
761
+ throw new Error("Missing the required parameter 'classname' when calling getRelationshipTypeByClassName");
762
+ }
763
+
764
+ var pathParams = {
765
+ 'classname': classname
766
+ };
767
+ var queryParams = {};
768
+ var headerParams = {
769
+ 'Authorization': opts['authorization'],
770
+ 'zeusportal-postas': opts['zeusportalPostas'],
771
+ 'transactionid': opts['transactionid']
772
+ };
773
+ var formParams = {};
774
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
775
+ var contentTypes = [];
776
+ var accepts = ['*/*'];
777
+ var returnType = _GraphRelationshipType["default"];
778
+ return this.apiClient.callApi('/graph/data/relationshiptype/class/{classname}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
779
+ }
780
+ /**
781
+ * Callback function to receive the result of the getRelationshipTypeById operation.
782
+ * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback
783
+ * @param {String} error Error message, if any.
784
+ * @param {module:model/GraphRelationshipType} data The data returned by the service call.
785
+ * @param {String} response The complete HTTP response.
786
+ */
787
+
788
+ /**
789
+ * Gets the relationship type by key
790
+ * @param {Number} id
791
+ * @param {Object} opts Optional parameters
792
+ * @param {String} opts.authorization The authorization token of the logged in user
793
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
794
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
795
+ * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
796
+ * data is of type: {@link module:model/GraphRelationshipType}
797
+ */
798
+
799
+ }, {
800
+ key: "getRelationshipTypeById",
801
+ value: function getRelationshipTypeById(id, opts, callback) {
802
+ opts = opts || {};
803
+ var postBody = null; // verify the required parameter 'id' is set
804
+
805
+ if (id === undefined || id === null) {
806
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipTypeById");
807
+ }
808
+
809
+ var pathParams = {
810
+ 'id': id
811
+ };
812
+ var queryParams = {};
813
+ var headerParams = {
814
+ 'Authorization': opts['authorization'],
815
+ 'zeusportal-postas': opts['zeusportalPostas'],
816
+ 'transactionid': opts['transactionid']
817
+ };
818
+ var formParams = {};
819
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
820
+ var contentTypes = [];
821
+ var accepts = ['application/json'];
822
+ var returnType = _GraphRelationshipType["default"];
823
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
824
+ }
825
+ /**
826
+ * Callback function to receive the result of the getRelationshipTypeByKey operation.
827
+ * @callback module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback
828
+ * @param {String} error Error message, if any.
829
+ * @param {module:model/GraphRelationshipType} data The data returned by the service call.
830
+ * @param {String} response The complete HTTP response.
831
+ */
832
+
833
+ /**
834
+ * Gets the relationship type by key
835
+ * @param {String} key
836
+ * @param {Object} opts Optional parameters
837
+ * @param {String} opts.authorization The authorization token of the logged in user
838
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
839
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
840
+ * @param {module:api/GraphRelationshipsApi~getRelationshipTypeByKeyCallback} callback The callback function, accepting three arguments: error, data, response
841
+ * data is of type: {@link module:model/GraphRelationshipType}
842
+ */
843
+
844
+ }, {
845
+ key: "getRelationshipTypeByKey",
846
+ value: function getRelationshipTypeByKey(key, opts, callback) {
847
+ opts = opts || {};
848
+ var postBody = null; // verify the required parameter 'key' is set
849
+
850
+ if (key === undefined || key === null) {
851
+ throw new Error("Missing the required parameter 'key' when calling getRelationshipTypeByKey");
852
+ }
853
+
854
+ var pathParams = {
855
+ 'key': key
856
+ };
857
+ var queryParams = {};
858
+ var headerParams = {
859
+ 'Authorization': opts['authorization'],
860
+ 'zeusportal-postas': opts['zeusportalPostas'],
861
+ 'transactionid': opts['transactionid']
862
+ };
863
+ var formParams = {};
864
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
865
+ var contentTypes = [];
866
+ var accepts = ['application/json'];
867
+ var returnType = _GraphRelationshipType["default"];
868
+ return this.apiClient.callApi('/graph/data/relationshiptype/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
869
+ }
870
+ /**
871
+ * Callback function to receive the result of the getRelationships operation.
872
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsCallback
873
+ * @param {String} error Error message, if any.
874
+ * @param {module:model/GraphRelationship} data The data returned by the service call.
875
+ * @param {String} response The complete HTTP response.
876
+ */
877
+
878
+ /**
879
+ * Get relationships in the graph
880
+ * @param {Number} id
881
+ * @param {Object} opts Optional parameters
882
+ * @param {String} opts.authorization The authorization token of the logged in user
883
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
884
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
885
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
886
+ * data is of type: {@link module:model/GraphRelationship}
887
+ */
888
+
889
+ }, {
890
+ key: "getRelationships",
891
+ value: function getRelationships(id, opts, callback) {
892
+ opts = opts || {};
893
+ var postBody = null; // verify the required parameter 'id' is set
894
+
895
+ if (id === undefined || id === null) {
896
+ throw new Error("Missing the required parameter 'id' when calling getRelationships");
897
+ }
898
+
899
+ var pathParams = {
900
+ 'id': id
901
+ };
902
+ var queryParams = {};
903
+ var headerParams = {
904
+ 'Authorization': opts['authorization'],
905
+ 'zeusportal-postas': opts['zeusportalPostas'],
906
+ 'transactionid': opts['transactionid']
907
+ };
908
+ var formParams = {};
909
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
910
+ var contentTypes = [];
911
+ var accepts = ['application/json'];
912
+ var returnType = _GraphRelationship["default"];
913
+ return this.apiClient.callApi('/graph/data/graph/{id}/relationships', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
914
+ }
915
+ /**
916
+ * Callback function to receive the result of the getRelationships1 operation.
917
+ * @callback module:api/GraphRelationshipsApi~getRelationships1Callback
918
+ * @param {String} error Error message, if any.
919
+ * @param {module:model/GraphRelationship} data The data returned by the service call.
920
+ * @param {String} response The complete HTTP response.
921
+ */
922
+
923
+ /**
924
+ * Get relationships in the graph with the given object type
925
+ * @param {Number} id
926
+ * @param {String} type
927
+ * @param {Object} opts Optional parameters
928
+ * @param {String} opts.authorization The authorization token of the logged in user
929
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
930
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
931
+ * @param {module:api/GraphRelationshipsApi~getRelationships1Callback} callback The callback function, accepting three arguments: error, data, response
932
+ * data is of type: {@link module:model/GraphRelationship}
933
+ */
934
+
935
+ }, {
936
+ key: "getRelationships1",
937
+ value: function getRelationships1(id, type, opts, callback) {
938
+ opts = opts || {};
939
+ var postBody = null; // verify the required parameter 'id' is set
940
+
941
+ if (id === undefined || id === null) {
942
+ throw new Error("Missing the required parameter 'id' when calling getRelationships1");
943
+ } // verify the required parameter 'type' is set
944
+
945
+
946
+ if (type === undefined || type === null) {
947
+ throw new Error("Missing the required parameter 'type' when calling getRelationships1");
948
+ }
949
+
950
+ var pathParams = {
951
+ 'id': id,
952
+ 'type': type
953
+ };
954
+ var queryParams = {};
955
+ var headerParams = {
956
+ 'Authorization': opts['authorization'],
957
+ 'zeusportal-postas': opts['zeusportalPostas'],
958
+ 'transactionid': opts['transactionid']
959
+ };
960
+ var formParams = {};
961
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
962
+ var contentTypes = [];
963
+ var accepts = ['application/json'];
964
+ var returnType = _GraphRelationship["default"];
965
+ return this.apiClient.callApi('/graph/data/graph/{id}/relationships/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
966
+ }
967
+ /**
968
+ * Callback function to receive the result of the getRelationshipsByTypeIn operation.
969
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback
970
+ * @param {String} error Error message, if any.
971
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
972
+ * @param {String} response The complete HTTP response.
973
+ */
974
+
975
+ /**
976
+ * Get Incoming Relationships By Type
977
+ * Returns a listing of relationships
978
+ * @param {Number} id The id of the object that we are retrieving relationships on
979
+ * @param {Number} reltypeid The id of the relationship type we are searching for
980
+ * @param {Object} opts Optional parameters
981
+ * @param {String} opts.authorization The authorization token of the logged in user
982
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
983
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
984
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
985
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
986
+ */
987
+
988
+ }, {
989
+ key: "getRelationshipsByTypeIn",
990
+ value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
991
+ opts = opts || {};
992
+ var postBody = null; // verify the required parameter 'id' is set
993
+
994
+ if (id === undefined || id === null) {
995
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
996
+ } // verify the required parameter 'reltypeid' is set
997
+
998
+
999
+ if (reltypeid === undefined || reltypeid === null) {
1000
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
1001
+ }
1002
+
1003
+ var pathParams = {
1004
+ 'id': id,
1005
+ 'reltypeid': reltypeid
1006
+ };
1007
+ var queryParams = {};
1008
+ var headerParams = {
1009
+ 'Authorization': opts['authorization'],
1010
+ 'zeusportal-postas': opts['zeusportalPostas'],
1011
+ 'transactionid': opts['transactionid']
1012
+ };
1013
+ var formParams = {};
1014
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1015
+ var contentTypes = [];
1016
+ var accepts = ['application/json'];
1017
+ var returnType = [_GraphRelationship["default"]];
1018
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1019
+ }
1020
+ /**
1021
+ * Callback function to receive the result of the getRelationshipsByTypeOut operation.
1022
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback
1023
+ * @param {String} error Error message, if any.
1024
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
1025
+ * @param {String} response The complete HTTP response.
1026
+ */
1027
+
1028
+ /**
1029
+ * Get Outgoing Relationships By Type
1030
+ * Returns a listing of relationships
1031
+ * @param {Number} id The id of the object that we are retrieving relationships on
1032
+ * @param {Number} reltypeid The id of the relationship type we are searching for
1033
+ * @param {Object} opts Optional parameters
1034
+ * @param {String} opts.authorization The authorization token of the logged in user
1035
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1036
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1037
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
1038
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
1039
+ */
1040
+
1041
+ }, {
1042
+ key: "getRelationshipsByTypeOut",
1043
+ value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
1044
+ opts = opts || {};
1045
+ var postBody = null; // verify the required parameter 'id' is set
1046
+
1047
+ if (id === undefined || id === null) {
1048
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
1049
+ } // verify the required parameter 'reltypeid' is set
1050
+
1051
+
1052
+ if (reltypeid === undefined || reltypeid === null) {
1053
+ throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
1054
+ }
1055
+
1056
+ var pathParams = {
1057
+ 'id': id,
1058
+ 'reltypeid': reltypeid
1059
+ };
1060
+ var queryParams = {};
1061
+ var headerParams = {
1062
+ 'Authorization': opts['authorization'],
1063
+ 'zeusportal-postas': opts['zeusportalPostas'],
1064
+ 'transactionid': opts['transactionid']
1065
+ };
1066
+ var formParams = {};
1067
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1068
+ var contentTypes = [];
1069
+ var accepts = ['application/json'];
1070
+ var returnType = [_GraphRelationship["default"]];
1071
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1072
+ }
1073
+ /**
1074
+ * Callback function to receive the result of the getRelationshipsIn operation.
1075
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsInCallback
1076
+ * @param {String} error Error message, if any.
1077
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
1078
+ * @param {String} response The complete HTTP response.
1079
+ */
1080
+
1081
+ /**
1082
+ * Get Incoming Relationships
1083
+ * Returns a listing of relationships
1084
+ * @param {Number} id The id of the object that we are retrieving relationships on
1085
+ * @param {Object} opts Optional parameters
1086
+ * @param {String} opts.authorization The authorization token of the logged in user
1087
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1088
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1089
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
1090
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
1091
+ */
1092
+
1093
+ }, {
1094
+ key: "getRelationshipsIn",
1095
+ value: function getRelationshipsIn(id, opts, callback) {
1096
+ opts = opts || {};
1097
+ var postBody = null; // verify the required parameter 'id' is set
1098
+
1099
+ if (id === undefined || id === null) {
1100
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
1101
+ }
1102
+
1103
+ var pathParams = {
1104
+ 'id': id
1105
+ };
1106
+ var queryParams = {};
1107
+ var headerParams = {
1108
+ 'Authorization': opts['authorization'],
1109
+ 'zeusportal-postas': opts['zeusportalPostas'],
1110
+ 'transactionid': opts['transactionid']
1111
+ };
1112
+ var formParams = {};
1113
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1114
+ var contentTypes = [];
1115
+ var accepts = ['application/json'];
1116
+ var returnType = [_GraphRelationship["default"]];
1117
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1118
+ }
1119
+ /**
1120
+ * Callback function to receive the result of the getRelationshipsOut operation.
1121
+ * @callback module:api/GraphRelationshipsApi~getRelationshipsOutCallback
1122
+ * @param {String} error Error message, if any.
1123
+ * @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
1124
+ * @param {String} response The complete HTTP response.
1125
+ */
1126
+
1127
+ /**
1128
+ * Get Outgoing Relationships
1129
+ * Returns a listing of relationships
1130
+ * @param {Number} id The id of the object that we are retrieving relationships on
1131
+ * @param {Object} opts Optional parameters
1132
+ * @param {String} opts.authorization The authorization token of the logged in user
1133
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1134
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1135
+ * @param {module:api/GraphRelationshipsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
1136
+ * data is of type: {@link Array.<module:model/GraphRelationship>}
1137
+ */
1138
+
1139
+ }, {
1140
+ key: "getRelationshipsOut",
1141
+ value: function getRelationshipsOut(id, opts, callback) {
1142
+ opts = opts || {};
1143
+ var postBody = null; // verify the required parameter 'id' is set
1144
+
1145
+ if (id === undefined || id === null) {
1146
+ throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
1147
+ }
1148
+
1149
+ var pathParams = {
1150
+ 'id': id
1151
+ };
1152
+ var queryParams = {};
1153
+ var headerParams = {
1154
+ 'Authorization': opts['authorization'],
1155
+ 'zeusportal-postas': opts['zeusportalPostas'],
1156
+ 'transactionid': opts['transactionid']
1157
+ };
1158
+ var formParams = {};
1159
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1160
+ var contentTypes = [];
1161
+ var accepts = ['application/json'];
1162
+ var returnType = [_GraphRelationship["default"]];
1163
+ return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1164
+ }
1165
+ /**
1166
+ * Callback function to receive the result of the getStartObjectTypes operation.
1167
+ * @callback module:api/GraphRelationshipsApi~getStartObjectTypesCallback
1168
+ * @param {String} error Error message, if any.
1169
+ * @param {module:model/InlineObject1} data The data returned by the service call.
1170
+ * @param {String} response The complete HTTP response.
1171
+ */
1172
+
1173
+ /**
1174
+ * @param {Number} id
1175
+ * @param {Object} opts Optional parameters
1176
+ * @param {String} opts.authorization The authorization token of the logged in user
1177
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1178
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1179
+ * @param {module:api/GraphRelationshipsApi~getStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1180
+ * data is of type: {@link module:model/InlineObject1}
1181
+ */
1182
+
1183
+ }, {
1184
+ key: "getStartObjectTypes",
1185
+ value: function getStartObjectTypes(id, opts, callback) {
1186
+ opts = opts || {};
1187
+ var postBody = null; // verify the required parameter 'id' is set
1188
+
1189
+ if (id === undefined || id === null) {
1190
+ throw new Error("Missing the required parameter 'id' when calling getStartObjectTypes");
1191
+ }
1192
+
1193
+ var pathParams = {
1194
+ 'id': id
1195
+ };
1196
+ var queryParams = {};
1197
+ var headerParams = {
1198
+ 'Authorization': opts['authorization'],
1199
+ 'zeusportal-postas': opts['zeusportalPostas'],
1200
+ 'transactionid': opts['transactionid']
1201
+ };
1202
+ var formParams = {};
1203
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1204
+ var contentTypes = [];
1205
+ var accepts = ['application/json'];
1206
+ var returnType = _InlineObject["default"];
1207
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1208
+ }
1209
+ /**
1210
+ * Callback function to receive the result of the removeEndObjectTypes operation.
1211
+ * @callback module:api/GraphRelationshipsApi~removeEndObjectTypesCallback
1212
+ * @param {String} error Error message, if any.
1213
+ * @param {module:model/InlineObject1} data The data returned by the service call.
1214
+ * @param {String} response The complete HTTP response.
1215
+ */
1216
+
1217
+ /**
1218
+ * @param {Number} id
1219
+ * @param {Object} opts Optional parameters
1220
+ * @param {String} opts.authorization The authorization token of the logged in user
1221
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1222
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1223
+ * @param {String} opts.body
1224
+ * @param {module:api/GraphRelationshipsApi~removeEndObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1225
+ * data is of type: {@link module:model/InlineObject1}
1226
+ */
1227
+
1228
+ }, {
1229
+ key: "removeEndObjectTypes",
1230
+ value: function removeEndObjectTypes(id, opts, callback) {
1231
+ opts = opts || {};
1232
+ var postBody = opts['body']; // verify the required parameter 'id' is set
1233
+
1234
+ if (id === undefined || id === null) {
1235
+ throw new Error("Missing the required parameter 'id' when calling removeEndObjectTypes");
1236
+ }
1237
+
1238
+ var pathParams = {
1239
+ 'id': id
1240
+ };
1241
+ var queryParams = {};
1242
+ var headerParams = {
1243
+ 'Authorization': opts['authorization'],
1244
+ 'zeusportal-postas': opts['zeusportalPostas'],
1245
+ 'transactionid': opts['transactionid']
1246
+ };
1247
+ var formParams = {};
1248
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1249
+ var contentTypes = ['application/json'];
1250
+ var accepts = ['application/json'];
1251
+ var returnType = _InlineObject["default"];
1252
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/endobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1253
+ }
1254
+ /**
1255
+ * Callback function to receive the result of the removeStartObjectTypes operation.
1256
+ * @callback module:api/GraphRelationshipsApi~removeStartObjectTypesCallback
1257
+ * @param {String} error Error message, if any.
1258
+ * @param {module:model/InlineObject1} data The data returned by the service call.
1259
+ * @param {String} response The complete HTTP response.
1260
+ */
1261
+
1262
+ /**
1263
+ * @param {Number} id
1264
+ * @param {Object} opts Optional parameters
1265
+ * @param {String} opts.authorization The authorization token of the logged in user
1266
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1267
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1268
+ * @param {String} opts.body
1269
+ * @param {module:api/GraphRelationshipsApi~removeStartObjectTypesCallback} callback The callback function, accepting three arguments: error, data, response
1270
+ * data is of type: {@link module:model/InlineObject1}
1271
+ */
1272
+
1273
+ }, {
1274
+ key: "removeStartObjectTypes",
1275
+ value: function removeStartObjectTypes(id, opts, callback) {
1276
+ opts = opts || {};
1277
+ var postBody = opts['body']; // verify the required parameter 'id' is set
1278
+
1279
+ if (id === undefined || id === null) {
1280
+ throw new Error("Missing the required parameter 'id' when calling removeStartObjectTypes");
1281
+ }
1282
+
1283
+ var pathParams = {
1284
+ 'id': id
1285
+ };
1286
+ var queryParams = {};
1287
+ var headerParams = {
1288
+ 'Authorization': opts['authorization'],
1289
+ 'zeusportal-postas': opts['zeusportalPostas'],
1290
+ 'transactionid': opts['transactionid']
1291
+ };
1292
+ var formParams = {};
1293
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1294
+ var contentTypes = ['application/json'];
1295
+ var accepts = ['application/json'];
1296
+ var returnType = _InlineObject["default"];
1297
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/startobjecttypes', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1298
+ }
1299
+ /**
1300
+ * Callback function to receive the result of the setRelProperties operation.
1301
+ * @callback module:api/GraphRelationshipsApi~setRelPropertiesCallback
1302
+ * @param {String} error Error message, if any.
1303
+ * @param data This operation does not return a value.
1304
+ * @param {String} response The complete HTTP response.
1305
+ */
1306
+
1307
+ /**
1308
+ * Set Multiple Properties
1309
+ * Set multiple properties attaced to an object / record
1310
+ * @param {Number} id
1311
+ * @param {Object} opts Optional parameters
1312
+ * @param {String} opts.authorization The authorization token of the logged in user
1313
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1314
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1315
+ * @param {Object.<String, {String: Object}>} opts.requestBody
1316
+ * @param {module:api/GraphRelationshipsApi~setRelPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
1317
+ */
1318
+
1319
+ }, {
1320
+ key: "setRelProperties",
1321
+ value: function setRelProperties(id, opts, callback) {
1322
+ opts = opts || {};
1323
+ var postBody = opts['requestBody']; // verify the required parameter 'id' is set
1324
+
1325
+ if (id === undefined || id === null) {
1326
+ throw new Error("Missing the required parameter 'id' when calling setRelProperties");
1327
+ }
1328
+
1329
+ var pathParams = {
1330
+ 'id': id
1331
+ };
1332
+ var queryParams = {};
1333
+ var headerParams = {
1334
+ 'Authorization': opts['authorization'],
1335
+ 'zeusportal-postas': opts['zeusportalPostas'],
1336
+ 'transactionid': opts['transactionid']
1337
+ };
1338
+ var formParams = {};
1339
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1340
+ var contentTypes = [];
1341
+ var accepts = ['*/*'];
1342
+ var returnType = null;
1343
+ return this.apiClient.callApi('/graph/data/relationship/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1344
+ }
1345
+ /**
1346
+ * Callback function to receive the result of the setRelProperty operation.
1347
+ * @callback module:api/GraphRelationshipsApi~setRelPropertyCallback
1348
+ * @param {String} error Error message, if any.
1349
+ * @param data This operation does not return a value.
1350
+ * @param {String} response The complete HTTP response.
1351
+ */
1352
+
1353
+ /**
1354
+ * Update Property
1355
+ * Update a specific property
1356
+ * @param {Number} id
1357
+ * @param {String} prop
1358
+ * @param {Object} opts Optional parameters
1359
+ * @param {String} opts.authorization The authorization token of the logged in user
1360
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1361
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1362
+ * @param {String} opts.body
1363
+ * @param {module:api/GraphRelationshipsApi~setRelPropertyCallback} callback The callback function, accepting three arguments: error, data, response
1364
+ */
1365
+
1366
+ }, {
1367
+ key: "setRelProperty",
1368
+ value: function setRelProperty(id, prop, opts, callback) {
1369
+ opts = opts || {};
1370
+ var postBody = opts['body']; // verify the required parameter 'id' is set
1371
+
1372
+ if (id === undefined || id === null) {
1373
+ throw new Error("Missing the required parameter 'id' when calling setRelProperty");
1374
+ } // verify the required parameter 'prop' is set
1375
+
1376
+
1377
+ if (prop === undefined || prop === null) {
1378
+ throw new Error("Missing the required parameter 'prop' when calling setRelProperty");
1379
+ }
1380
+
1381
+ var pathParams = {
1382
+ 'id': id,
1383
+ 'prop': prop
1384
+ };
1385
+ var queryParams = {};
1386
+ var headerParams = {
1387
+ 'Authorization': opts['authorization'],
1388
+ 'zeusportal-postas': opts['zeusportalPostas'],
1389
+ 'transactionid': opts['transactionid']
1390
+ };
1391
+ var formParams = {};
1392
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1393
+ var contentTypes = [];
1394
+ var accepts = ['*/*'];
1395
+ var returnType = null;
1396
+ return this.apiClient.callApi('/graph/data/relationship/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1397
+ }
1398
+ /**
1399
+ * Callback function to receive the result of the updateRelationshipType operation.
1400
+ * @callback module:api/GraphRelationshipsApi~updateRelationshipTypeCallback
1401
+ * @param {String} error Error message, if any.
1402
+ * @param {module:model/GraphRelationshipType} data The data returned by the service call.
1403
+ * @param {String} response The complete HTTP response.
1404
+ */
1405
+
1406
+ /**
1407
+ * Update a relationshp type
1408
+ * Performs an update of the relationship type
1409
+ * @param {Number} id The id of the relationship type we are updating
1410
+ * @param {module:model/GraphRelationshipType} graphRelationshipType Relationship Type data object to update
1411
+ * @param {Object} opts Optional parameters
1412
+ * @param {String} opts.authorization The authorization token of the logged in user
1413
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1414
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1415
+ * @param {module:api/GraphRelationshipsApi~updateRelationshipTypeCallback} callback The callback function, accepting three arguments: error, data, response
1416
+ * data is of type: {@link module:model/GraphRelationshipType}
1417
+ */
1418
+
1419
+ }, {
1420
+ key: "updateRelationshipType",
1421
+ value: function updateRelationshipType(id, graphRelationshipType, opts, callback) {
1422
+ opts = opts || {};
1423
+ var postBody = graphRelationshipType; // verify the required parameter 'id' is set
1424
+
1425
+ if (id === undefined || id === null) {
1426
+ throw new Error("Missing the required parameter 'id' when calling updateRelationshipType");
1427
+ } // verify the required parameter 'graphRelationshipType' is set
1428
+
1429
+
1430
+ if (graphRelationshipType === undefined || graphRelationshipType === null) {
1431
+ throw new Error("Missing the required parameter 'graphRelationshipType' when calling updateRelationshipType");
1432
+ }
1433
+
1434
+ var pathParams = {
1435
+ 'id': id
1436
+ };
1437
+ var queryParams = {};
1438
+ var headerParams = {
1439
+ 'Authorization': opts['authorization'],
1440
+ 'zeusportal-postas': opts['zeusportalPostas'],
1441
+ 'transactionid': opts['transactionid']
1442
+ };
1443
+ var formParams = {};
1444
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1445
+ var contentTypes = ['application/json'];
1446
+ var accepts = ['application/json'];
1447
+ var returnType = _GraphRelationshipType["default"];
1448
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1449
+ }
1450
+ /**
1451
+ * Callback function to receive the result of the updateTemplate2 operation.
1452
+ * @callback module:api/GraphRelationshipsApi~updateTemplate2Callback
1453
+ * @param {String} error Error message, if any.
1454
+ * @param {module:model/InlineObject1} data The data returned by the service call.
1455
+ * @param {String} response The complete HTTP response.
1456
+ */
1457
+
1458
+ /**
1459
+ * @param {Number} id
1460
+ * @param {Object} opts Optional parameters
1461
+ * @param {String} opts.authorization The authorization token of the logged in user
1462
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1463
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1464
+ * @param {String} opts.body
1465
+ * @param {module:api/GraphRelationshipsApi~updateTemplate2Callback} callback The callback function, accepting three arguments: error, data, response
1466
+ * data is of type: {@link module:model/InlineObject1}
1467
+ */
1468
+
1469
+ }, {
1470
+ key: "updateTemplate2",
1471
+ value: function updateTemplate2(id, opts, callback) {
1472
+ opts = opts || {};
1473
+ var postBody = opts['body']; // verify the required parameter 'id' is set
1474
+
1475
+ if (id === undefined || id === null) {
1476
+ throw new Error("Missing the required parameter 'id' when calling updateTemplate2");
1477
+ }
1478
+
1479
+ var pathParams = {
1480
+ 'id': id
1481
+ };
1482
+ var queryParams = {};
1483
+ var headerParams = {
1484
+ 'Authorization': opts['authorization'],
1485
+ 'zeusportal-postas': opts['zeusportalPostas'],
1486
+ 'transactionid': opts['transactionid']
1487
+ };
1488
+ var formParams = {};
1489
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1490
+ var contentTypes = ['application/json'];
1491
+ var accepts = ['application/json'];
1492
+ var returnType = _InlineObject["default"];
1493
+ return this.apiClient.callApi('/graph/data/relationshiptype/{id}/template', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1494
+ }
1495
+ }]);
1496
+
1497
+ return GraphRelationshipsApi;
1498
+ }();
1499
+
1500
+ exports["default"] = GraphRelationshipsApi;