@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.
- package/README.md +742 -0
- package/dist/ApiClient.js +781 -0
- package/dist/api/ActionTypesApi.js +97 -0
- package/dist/api/AdCampaignsApi.js +392 -0
- package/dist/api/AdManagementApi.js +563 -0
- package/dist/api/AdminDataManagementApi.js +97 -0
- package/dist/api/AdsApi.js +301 -0
- package/dist/api/AttachmentsApi.js +361 -0
- package/dist/api/AuthenticationApi.js +292 -0
- package/dist/api/CategoriesApi.js +353 -0
- package/dist/api/CommentsApi.js +408 -0
- package/dist/api/ContentManagementApi.js +1171 -0
- package/dist/api/ConversationsApi.js +434 -0
- package/dist/api/DataSheetImportsApi.js +828 -0
- package/dist/api/DefaultApi.js +548 -0
- package/dist/api/DocumentsApi.js +635 -0
- package/dist/api/EntryPartsApi.js +670 -0
- package/dist/api/FacebookApi.js +80 -0
- package/dist/api/FieldsApi.js +199 -0
- package/dist/api/FilesApi.js +95 -0
- package/dist/api/FormsApi.js +885 -0
- package/dist/api/FunctionsApi.js +96 -0
- package/dist/api/GeocodeApi.js +277 -0
- package/dist/api/GoogleApi.js +80 -0
- package/dist/api/GraphActionsApi.js +523 -0
- package/dist/api/GraphObjectTypesApi.js +413 -0
- package/dist/api/GraphObjectsApi.js +3077 -0
- package/dist/api/GraphRelationshipTypesApi.js +831 -0
- package/dist/api/GraphRelationshipsApi.js +1500 -0
- package/dist/api/GraphSchemasApi.js +365 -0
- package/dist/api/GraphTraversalApi.js +291 -0
- package/dist/api/GraphsApi.js +571 -0
- package/dist/api/GroupsApi.js +568 -0
- package/dist/api/IAMApi.js +211 -0
- package/dist/api/ImagesApi.js +414 -0
- package/dist/api/InvitesApi.js +268 -0
- package/dist/api/LikesApi.js +601 -0
- package/dist/api/LinkedINApi.js +80 -0
- package/dist/api/LiveMeetingsApi.js +145 -0
- package/dist/api/MeetingEventsApi.js +286 -0
- package/dist/api/PagesApi.js +475 -0
- package/dist/api/PostsApi.js +262 -0
- package/dist/api/PrivateMessagesApi.js +752 -0
- package/dist/api/PublicationsApi.js +86 -0
- package/dist/api/ScreensApi.js +183 -0
- package/dist/api/SocialIntegrationApi.js +188 -0
- package/dist/api/StripeAccountsApi.js +461 -0
- package/dist/api/TagsApi.js +96 -0
- package/dist/api/TemplatesApi.js +183 -0
- package/dist/api/ThemeMappingsApi.js +178 -0
- package/dist/api/TransactionsApi.js +147 -0
- package/dist/api/TwitterApi.js +80 -0
- package/dist/api/UserTagsApi.js +467 -0
- package/dist/api/UsersApi.js +466 -0
- package/dist/api/UtilsApi.js +75 -0
- package/dist/api/VideosApi.js +564 -0
- package/dist/index.js +1295 -0
- package/dist/model/APIClient.js +180 -0
- package/dist/model/Account.js +315 -0
- package/dist/model/AchCreditTransfer.js +122 -0
- package/dist/model/AchDebit.js +140 -0
- package/dist/model/AcssDebit.js +106 -0
- package/dist/model/AddInvoiceItem.js +126 -0
- package/dist/model/Address.js +140 -0
- package/dist/model/Affirm.js +104 -0
- package/dist/model/AfterpayClearpay.js +113 -0
- package/dist/model/Alipay.js +95 -0
- package/dist/model/AlternateStatementDescriptors.js +104 -0
- package/dist/model/Alternative.js +104 -0
- package/dist/model/AmexExpressCheckout.js +86 -0
- package/dist/model/AmountDetails.js +97 -0
- package/dist/model/ApplePay.js +86 -0
- package/dist/model/Application.js +122 -0
- package/dist/model/ApplicationFee.js +267 -0
- package/dist/model/AppliesTo.js +95 -0
- package/dist/model/Article.js +272 -0
- package/dist/model/AuBecsDebit.js +95 -0
- package/dist/model/Authorization.js +93 -0
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +95 -0
- package/dist/model/AutomaticTax.js +95 -0
- package/dist/model/BacsDebit.js +95 -0
- package/dist/model/BacsDebitPayments.js +95 -0
- package/dist/model/BalanceSettings.js +95 -0
- package/dist/model/BalanceTransaction.js +234 -0
- package/dist/model/BalanceTransactionSource.js +84 -0
- package/dist/model/Bancontact.js +180 -0
- package/dist/model/BankTransfer.js +106 -0
- package/dist/model/BillingDetails.js +124 -0
- package/dist/model/BillingThresholds.js +95 -0
- package/dist/model/Blik.js +86 -0
- package/dist/model/BlikMandateOptions.js +115 -0
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +122 -0
- package/dist/model/Boleto.js +95 -0
- package/dist/model/Breakdown.js +108 -0
- package/dist/model/BusinessProfile.js +160 -0
- package/dist/model/Capabilities.js +383 -0
- package/dist/model/Card.js +247 -0
- package/dist/model/CardPresent.js +268 -0
- package/dist/model/CashBalance.js +135 -0
- package/dist/model/Charge.js +706 -0
- package/dist/model/ChargeCollection.js +146 -0
- package/dist/model/Checks.js +113 -0
- package/dist/model/Comment.js +210 -0
- package/dist/model/Company.js +238 -0
- package/dist/model/Computed.js +108 -0
- package/dist/model/Controller.js +104 -0
- package/dist/model/Coordinates.js +84 -0
- package/dist/model/Coupon.js +256 -0
- package/dist/model/CreateAccountResponse.js +95 -0
- package/dist/model/CreateAccountResponseFailureException.js +117 -0
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +106 -0
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +138 -0
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +95 -0
- package/dist/model/CreateCustomerResponse.js +95 -0
- package/dist/model/CreateStripeAccountInput.js +129 -0
- package/dist/model/CreateStripeCustomerInput.js +95 -0
- package/dist/model/CreditedItems.js +104 -0
- package/dist/model/CurrencyOption.js +135 -0
- package/dist/model/CurrentPhase.js +104 -0
- package/dist/model/CustomField.js +104 -0
- package/dist/model/CustomUnitAmount.js +113 -0
- package/dist/model/Customer.js +400 -0
- package/dist/model/CustomerAcceptance.js +126 -0
- package/dist/model/CustomerBalance.js +86 -0
- package/dist/model/CustomerNotification.js +104 -0
- package/dist/model/CustomerTaxId.js +104 -0
- package/dist/model/DataObject.js +84 -0
- package/dist/model/DataSheetImport.js +320 -0
- package/dist/model/DataSheetImportPrivacySettings.js +93 -0
- package/dist/model/DataSheetImportSummary.js +120 -0
- package/dist/model/DateOfBirth.js +113 -0
- package/dist/model/DeclineChargeOn.js +104 -0
- package/dist/model/DefaultSettings.js +177 -0
- package/dist/model/Discount.js +104 -0
- package/dist/model/DiscountAmount.js +115 -0
- package/dist/model/Dispute.js +260 -0
- package/dist/model/Document.js +292 -0
- package/dist/model/DocumentPart.js +243 -0
- package/dist/model/DocumentPartType.js +160 -0
- package/dist/model/DocumentType.js +196 -0
- package/dist/model/EmailSent.js +104 -0
- package/dist/model/Eps.js +104 -0
- package/dist/model/Errors.js +113 -0
- package/dist/model/EuBankTransfer.js +95 -0
- package/dist/model/Evidence.js +410 -0
- package/dist/model/EvidenceDetails.js +122 -0
- package/dist/model/ExternalAccount.js +84 -0
- package/dist/model/ExternalAccountCollection.js +146 -0
- package/dist/model/Familymart.js +104 -0
- package/dist/model/Fee.js +131 -0
- package/dist/model/FeeRefund.js +182 -0
- package/dist/model/FeeRefundCollection.js +146 -0
- package/dist/model/FieldMapping.js +139 -0
- package/dist/model/Fields.js +462 -0
- package/dist/model/File.js +156 -0
- package/dist/model/FileAttachmentUpload.js +88 -0
- package/dist/model/FileAttachmentUploadObject.js +165 -0
- package/dist/model/FileLink.js +178 -0
- package/dist/model/FileLinkCollection.js +146 -0
- package/dist/model/Filter.js +84 -0
- package/dist/model/FilterManager.js +86 -0
- package/dist/model/FinancialAddress.js +148 -0
- package/dist/model/FinancialConnections.js +95 -0
- package/dist/model/Form.js +174 -0
- package/dist/model/FormSection.js +131 -0
- package/dist/model/FormSubmission.js +134 -0
- package/dist/model/Fpx.js +113 -0
- package/dist/model/FraudDetails.js +104 -0
- package/dist/model/FromQuote.js +115 -0
- package/dist/model/FutureRequirements.js +144 -0
- package/dist/model/GeneratedFrom.js +126 -0
- package/dist/model/Geocode.js +106 -0
- package/dist/model/GeocodePayload.js +88 -0
- package/dist/model/GeolocationInput.js +132 -0
- package/dist/model/Giropay.js +122 -0
- package/dist/model/GooglePay.js +86 -0
- package/dist/model/Grabpay.js +95 -0
- package/dist/model/Graph.js +213 -0
- package/dist/model/GraphAction.js +140 -0
- package/dist/model/GraphDatabaseService.js +129 -0
- package/dist/model/GraphGeocode.js +136 -0
- package/dist/model/GraphIteratorEntryPart.js +77 -0
- package/dist/model/GraphIteratorEntryPartStackTrace.js +138 -0
- package/dist/model/GraphObject.js +192 -0
- package/dist/model/GraphObjectDescriptorSchema.js +179 -0
- package/dist/model/GraphObjectPayload.js +151 -0
- package/dist/model/GraphObjectSchema.js +223 -0
- package/dist/model/GraphObjectType.js +254 -0
- package/dist/model/GraphObjectTypeSchema.js +254 -0
- package/dist/model/GraphOwner.js +93 -0
- package/dist/model/GraphRelation.js +133 -0
- package/dist/model/GraphRelationObjectObject.js +133 -0
- package/dist/model/GraphRelationship.js +143 -0
- package/dist/model/GraphRelationshipPayload.js +104 -0
- package/dist/model/GraphRelationshipType.js +309 -0
- package/dist/model/GraphSchema.js +262 -0
- package/dist/model/GraphTraversalInput.js +255 -0
- package/dist/model/Iban.js +122 -0
- package/dist/model/Ideal.js +162 -0
- package/dist/model/Image.js +192 -0
- package/dist/model/ImageUpload.js +88 -0
- package/dist/model/ImageUploadObject.js +192 -0
- package/dist/model/InlineObject.js +124 -0
- package/dist/model/InlineObject1.js +124 -0
- package/dist/model/InlineObject2.js +124 -0
- package/dist/model/InlineObject3.js +124 -0
- package/dist/model/InlineObject4.js +124 -0
- package/dist/model/InlineObject5.js +124 -0
- package/dist/model/InlineResponseDefault.js +124 -0
- package/dist/model/InputPart.js +106 -0
- package/dist/model/InputPartMediaType.js +113 -0
- package/dist/model/Installments.js +97 -0
- package/dist/model/InteracPresent.js +241 -0
- package/dist/model/Invoice.js +925 -0
- package/dist/model/InvoiceLineItem.js +329 -0
- package/dist/model/InvoiceLineItemCollection.js +146 -0
- package/dist/model/InvoiceLineItemPeriod.js +104 -0
- package/dist/model/InvoiceSettings.js +95 -0
- package/dist/model/JapanAddress.js +149 -0
- package/dist/model/JsonArray.js +252 -0
- package/dist/model/JsonNull.js +252 -0
- package/dist/model/JsonObject.js +252 -0
- package/dist/model/JsonPrimitive.js +288 -0
- package/dist/model/Klarna.js +104 -0
- package/dist/model/Konbini.js +97 -0
- package/dist/model/Lawson.js +104 -0
- package/dist/model/Level3.js +142 -0
- package/dist/model/LineItem.js +220 -0
- package/dist/model/LineItemCollection.js +146 -0
- package/dist/model/Link.js +140 -0
- package/dist/model/LiveStreamInfo.js +94 -0
- package/dist/model/Location.js +113 -0
- package/dist/model/Mandate.js +195 -0
- package/dist/model/MandateOptions.js +95 -0
- package/dist/model/Masterpass.js +124 -0
- package/dist/model/MeetingEvent.js +251 -0
- package/dist/model/MeetingEventTimezone.js +102 -0
- package/dist/model/MeetingInfo.js +126 -0
- package/dist/model/Member.js +212 -0
- package/dist/model/MemberGroupCategory.js +120 -0
- package/dist/model/MemberList.js +101 -0
- package/dist/model/MessageGroup.js +95 -0
- package/dist/model/Ministop.js +104 -0
- package/dist/model/MultiUse.js +86 -0
- package/dist/model/Multibanco.js +104 -0
- package/dist/model/MultipartBody.js +84 -0
- package/dist/model/MultipartFormDataInput.js +108 -0
- package/dist/model/Networks.js +104 -0
- package/dist/model/NextAction.js +249 -0
- package/dist/model/NextActionAlipayHandleRedirect.js +122 -0
- package/dist/model/NextActionCardAwaitNotification.js +104 -0
- package/dist/model/NextActionDisplayBankTransferInstructions.js +142 -0
- package/dist/model/NextActionDisplayBoletoDetails.js +122 -0
- package/dist/model/NextActionDisplayDetails.js +106 -0
- package/dist/model/NextActionKonbiniDisplayDetails.js +115 -0
- package/dist/model/NextActionOxxoDisplayDetails.js +113 -0
- package/dist/model/NextActionRedirectToUrl.js +104 -0
- package/dist/model/Objecttype.js +244 -0
- package/dist/model/Offline.js +86 -0
- package/dist/model/Online.js +104 -0
- package/dist/model/Outcome.js +160 -0
- package/dist/model/OwnershipDeclaration.js +113 -0
- package/dist/model/Oxxo.js +95 -0
- package/dist/model/P24.js +113 -0
- package/dist/model/PackageDimensions.js +122 -0
- package/dist/model/Page.js +169 -0
- package/dist/model/PageSchema.js +229 -0
- package/dist/model/Pageable.js +122 -0
- package/dist/model/Path.js +77 -0
- package/dist/model/PauseCollection.js +104 -0
- package/dist/model/PaymentIntent.js +534 -0
- package/dist/model/PaymentIntentInput.js +102 -0
- package/dist/model/PaymentIntentResponse.js +84 -0
- package/dist/model/PaymentMethod.js +120 -0
- package/dist/model/PaymentMethodDetails.js +480 -0
- package/dist/model/PaymentMethodOptions.js +152 -0
- package/dist/model/PaymentSettings.js +115 -0
- package/dist/model/PaymentSource.js +84 -0
- package/dist/model/PaymentSourceCollection.js +146 -0
- package/dist/model/Paynow.js +95 -0
- package/dist/model/PaynowDisplayQrCode.js +113 -0
- package/dist/model/PayoutSchedule.js +122 -0
- package/dist/model/PendingInvoiceItemInterval.js +104 -0
- package/dist/model/PendingUpdate.js +133 -0
- package/dist/model/Person.js +381 -0
- package/dist/model/Phase.js +286 -0
- package/dist/model/PhaseItem.js +157 -0
- package/dist/model/Plan.js +292 -0
- package/dist/model/Post.js +167 -0
- package/dist/model/Price.js +309 -0
- package/dist/model/PrivateMessage.js +222 -0
- package/dist/model/PrivateMessageConversation.js +222 -0
- package/dist/model/PrivateMessageConversationSchema.js +125 -0
- package/dist/model/Processing.js +106 -0
- package/dist/model/Product.js +310 -0
- package/dist/model/Profile.js +106 -0
- package/dist/model/Profiletype.js +106 -0
- package/dist/model/PromotionCode.js +220 -0
- package/dist/model/Promptpay.js +95 -0
- package/dist/model/PromptpayDisplayQrCode.js +122 -0
- package/dist/model/PropertyContainer.js +97 -0
- package/dist/model/ProrationDetails.js +97 -0
- package/dist/model/Quote.js +520 -0
- package/dist/model/RadarOptions.js +95 -0
- package/dist/model/Receipt.js +167 -0
- package/dist/model/Recurring.js +133 -0
- package/dist/model/Refund.js +332 -0
- package/dist/model/RefundCollection.js +146 -0
- package/dist/model/Relationship.js +140 -0
- package/dist/model/RelationshipMapping.js +159 -0
- package/dist/model/RenderingOptions.js +95 -0
- package/dist/model/RequestOptions.js +167 -0
- package/dist/model/RequestOptionsProxyCredential.js +84 -0
- package/dist/model/Requirements.js +162 -0
- package/dist/model/Restrictions.js +126 -0
- package/dist/model/Review.js +238 -0
- package/dist/model/Rule.js +113 -0
- package/dist/model/SamsungPay.js +86 -0
- package/dist/model/ScreenSchema.js +299 -0
- package/dist/model/Seicomart.js +104 -0
- package/dist/model/SepaCreditTransfer.js +113 -0
- package/dist/model/SepaDebit.js +142 -0
- package/dist/model/SepaDebitMandateOptions.js +86 -0
- package/dist/model/SepaDebitPayments.js +95 -0
- package/dist/model/Session.js +122 -0
- package/dist/model/Settings.js +185 -0
- package/dist/model/SettingsBranding.js +140 -0
- package/dist/model/SettingsCardIssuing.js +97 -0
- package/dist/model/SettingsCardPayments.js +124 -0
- package/dist/model/SettingsDashboard.js +104 -0
- package/dist/model/SettingsPayments.js +131 -0
- package/dist/model/SettingsPayouts.js +115 -0
- package/dist/model/SettingsTreasury.js +97 -0
- package/dist/model/SetupAttempt.js +280 -0
- package/dist/model/SetupIntent.js +376 -0
- package/dist/model/ShippingDetails.js +133 -0
- package/dist/model/SimulcastInfo.js +96 -0
- package/dist/model/SingleUse.js +104 -0
- package/dist/model/SkinField.js +462 -0
- package/dist/model/SocialGroup.js +273 -0
- package/dist/model/SocialGroupType.js +149 -0
- package/dist/model/Sofort.js +189 -0
- package/dist/model/Sort.js +93 -0
- package/dist/model/SortCode.js +113 -0
- package/dist/model/Spei.js +113 -0
- package/dist/model/StatusTransitions.js +113 -0
- package/dist/model/StatusUpdate.js +147 -0
- package/dist/model/Store.js +95 -0
- package/dist/model/Stores.js +130 -0
- package/dist/model/StreetAddress.js +111 -0
- package/dist/model/StripeAccount.js +111 -0
- package/dist/model/StripeCustomerAccount.js +111 -0
- package/dist/model/StripeError.js +202 -0
- package/dist/model/Subscription.js +556 -0
- package/dist/model/SubscriptionCollection.js +146 -0
- package/dist/model/SubscriptionData.js +104 -0
- package/dist/model/SubscriptionItem.js +195 -0
- package/dist/model/SubscriptionItemCollection.js +146 -0
- package/dist/model/SubscriptionSchedule.js +300 -0
- package/dist/model/Tax.js +115 -0
- package/dist/model/TaxAmount.js +124 -0
- package/dist/model/TaxCode.js +122 -0
- package/dist/model/TaxId.js +189 -0
- package/dist/model/TaxIdCollection.js +146 -0
- package/dist/model/TaxRate.js +214 -0
- package/dist/model/Template.js +131 -0
- package/dist/model/TemplateSchema.js +144 -0
- package/dist/model/TestClock.js +167 -0
- package/dist/model/ThemeMapping.js +124 -0
- package/dist/model/ThemeMappingPayload.js +122 -0
- package/dist/model/ThreeDSecure.js +122 -0
- package/dist/model/ThreeDSecureUsage.js +95 -0
- package/dist/model/ThresholdItemReason.js +104 -0
- package/dist/model/ThresholdReason.js +106 -0
- package/dist/model/Tier.js +131 -0
- package/dist/model/Tip.js +95 -0
- package/dist/model/TosAcceptance.js +122 -0
- package/dist/model/TotalDetails.js +124 -0
- package/dist/model/Transaction.js +84 -0
- package/dist/model/Transfer.js +285 -0
- package/dist/model/TransferData.js +124 -0
- package/dist/model/TransferReversal.js +220 -0
- package/dist/model/TransferReversalCollection.js +146 -0
- package/dist/model/TransformQuantity.js +104 -0
- package/dist/model/TransformUsage.js +104 -0
- package/dist/model/TraversalQuery.js +209 -0
- package/dist/model/TraversalQueryStartobjecttypes.js +179 -0
- package/dist/model/USBankAccount.js +140 -0
- package/dist/model/Upfront.js +126 -0
- package/dist/model/User.js +212 -0
- package/dist/model/UserDataPayload.js +212 -0
- package/dist/model/UserDomain.js +102 -0
- package/dist/model/UserInvite.js +191 -0
- package/dist/model/UserInviteInput.js +120 -0
- package/dist/model/UserSchema.js +212 -0
- package/dist/model/UserTag.js +124 -0
- package/dist/model/Verification.js +113 -0
- package/dist/model/VerificationDocument.js +140 -0
- package/dist/model/VerifyWithMicrodeposits.js +113 -0
- package/dist/model/Video.js +255 -0
- package/dist/model/VideoLiveUrl.js +84 -0
- package/dist/model/VideoSchema.js +284 -0
- package/dist/model/VideoUpload.js +88 -0
- package/dist/model/VideoUploadObject.js +228 -0
- package/dist/model/VisaCheckout.js +124 -0
- package/dist/model/Wallet.js +170 -0
- package/dist/model/Wechat.js +86 -0
- package/dist/model/WechatPay.js +104 -0
- package/dist/model/WechatPayDisplayQrCode.js +122 -0
- package/dist/model/WechatPayRedirectToAndroidApp.js +158 -0
- package/dist/model/WechatPayRedirectToIosApp.js +95 -0
- package/dist/model/Zengin.js +149 -0
- package/dist/model/ZeusPortalCategory.js +185 -0
- package/package.json +46 -0
|
@@ -0,0 +1,3077 @@
|
|
|
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 _Comment = _interopRequireDefault(require("../model/Comment"));
|
|
11
|
+
|
|
12
|
+
var _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
|
|
13
|
+
|
|
14
|
+
var _Geocode = _interopRequireDefault(require("../model/Geocode"));
|
|
15
|
+
|
|
16
|
+
var _GeocodePayload = _interopRequireDefault(require("../model/GeocodePayload"));
|
|
17
|
+
|
|
18
|
+
var _Graph = _interopRequireDefault(require("../model/Graph"));
|
|
19
|
+
|
|
20
|
+
var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
21
|
+
|
|
22
|
+
var _GraphGeocode = _interopRequireDefault(require("../model/GraphGeocode"));
|
|
23
|
+
|
|
24
|
+
var _GraphObjectPayload = _interopRequireDefault(require("../model/GraphObjectPayload"));
|
|
25
|
+
|
|
26
|
+
var _GraphObjectSchema = _interopRequireDefault(require("../model/GraphObjectSchema"));
|
|
27
|
+
|
|
28
|
+
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
29
|
+
|
|
30
|
+
var _GraphRelationshipPayload = _interopRequireDefault(require("../model/GraphRelationshipPayload"));
|
|
31
|
+
|
|
32
|
+
var _Image = _interopRequireDefault(require("../model/Image"));
|
|
33
|
+
|
|
34
|
+
var _InlineObject = _interopRequireDefault(require("../model/InlineObject"));
|
|
35
|
+
|
|
36
|
+
var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject5"));
|
|
37
|
+
|
|
38
|
+
var _InlineResponseDefault = _interopRequireDefault(require("../model/InlineResponseDefault"));
|
|
39
|
+
|
|
40
|
+
var _InputPart = _interopRequireDefault(require("../model/InputPart"));
|
|
41
|
+
|
|
42
|
+
var _MeetingEvent = _interopRequireDefault(require("../model/MeetingEvent"));
|
|
43
|
+
|
|
44
|
+
var _MeetingInfo = _interopRequireDefault(require("../model/MeetingInfo"));
|
|
45
|
+
|
|
46
|
+
var _UserInvite = _interopRequireDefault(require("../model/UserInvite"));
|
|
47
|
+
|
|
48
|
+
var _UserInviteInput = _interopRequireDefault(require("../model/UserInviteInput"));
|
|
49
|
+
|
|
50
|
+
var _UserTag = _interopRequireDefault(require("../model/UserTag"));
|
|
51
|
+
|
|
52
|
+
var _Video = _interopRequireDefault(require("../model/Video"));
|
|
53
|
+
|
|
54
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
55
|
+
|
|
56
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
57
|
+
|
|
58
|
+
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); } }
|
|
59
|
+
|
|
60
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* GraphObjects service.
|
|
64
|
+
* @module api/GraphObjectsApi
|
|
65
|
+
* @version 0.1.2
|
|
66
|
+
*/
|
|
67
|
+
var GraphObjectsApi = /*#__PURE__*/function () {
|
|
68
|
+
/**
|
|
69
|
+
* Constructs a new GraphObjectsApi.
|
|
70
|
+
* @alias module:api/GraphObjectsApi
|
|
71
|
+
* @class
|
|
72
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
73
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
74
|
+
*/
|
|
75
|
+
function GraphObjectsApi(apiClient) {
|
|
76
|
+
_classCallCheck(this, GraphObjectsApi);
|
|
77
|
+
|
|
78
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Callback function to receive the result of the addLiveMeeting operation.
|
|
82
|
+
* @callback module:api/GraphObjectsApi~addLiveMeetingCallback
|
|
83
|
+
* @param {String} error Error message, if any.
|
|
84
|
+
* @param data This operation does not return a value.
|
|
85
|
+
* @param {String} response The complete HTTP response.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Adds a live meeting to the object
|
|
90
|
+
* Adds live meeting details to the object
|
|
91
|
+
* @param {Number} objectid The id of the object we are attaching the live meeting to
|
|
92
|
+
* @param {module:model/MeetingInfo} meetingInfo Contains the info to create the live meeting
|
|
93
|
+
* @param {Object} opts Optional parameters
|
|
94
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
95
|
+
* @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
|
|
96
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
97
|
+
* @param {module:api/GraphObjectsApi~addLiveMeetingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
_createClass(GraphObjectsApi, [{
|
|
102
|
+
key: "addLiveMeeting",
|
|
103
|
+
value: function addLiveMeeting(objectid, meetingInfo, opts, callback) {
|
|
104
|
+
opts = opts || {};
|
|
105
|
+
var postBody = meetingInfo; // verify the required parameter 'objectid' is set
|
|
106
|
+
|
|
107
|
+
if (objectid === undefined || objectid === null) {
|
|
108
|
+
throw new Error("Missing the required parameter 'objectid' when calling addLiveMeeting");
|
|
109
|
+
} // verify the required parameter 'meetingInfo' is set
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
if (meetingInfo === undefined || meetingInfo === null) {
|
|
113
|
+
throw new Error("Missing the required parameter 'meetingInfo' when calling addLiveMeeting");
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
var pathParams = {
|
|
117
|
+
'objectid': objectid
|
|
118
|
+
};
|
|
119
|
+
var queryParams = {};
|
|
120
|
+
var headerParams = {
|
|
121
|
+
'Authorization': opts['authorization'],
|
|
122
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
123
|
+
'transactionid': opts['transactionid']
|
|
124
|
+
};
|
|
125
|
+
var formParams = {};
|
|
126
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
127
|
+
var contentTypes = ['application/json'];
|
|
128
|
+
var accepts = ['application/json'];
|
|
129
|
+
var returnType = null;
|
|
130
|
+
return this.apiClient.callApi('/graph/data/live/{objectid}/add', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Callback function to receive the result of the addLiveMeeting1 operation.
|
|
134
|
+
* @callback module:api/GraphObjectsApi~addLiveMeeting1Callback
|
|
135
|
+
* @param {String} error Error message, if any.
|
|
136
|
+
* @param {Object.<String, module:model/{String: InlineObject5}>} data The data returned by the service call.
|
|
137
|
+
* @param {String} response The complete HTTP response.
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Adds a live meeting to the object
|
|
142
|
+
* Adds live meeting details to the object
|
|
143
|
+
* @param {Number} objectid The id of the object we are streaming
|
|
144
|
+
* @param {Object} opts Optional parameters
|
|
145
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
146
|
+
* @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
|
|
147
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
148
|
+
* @param {module:api/GraphObjectsApi~addLiveMeeting1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
149
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineObject5}>}
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
}, {
|
|
153
|
+
key: "addLiveMeeting1",
|
|
154
|
+
value: function addLiveMeeting1(objectid, opts, callback) {
|
|
155
|
+
opts = opts || {};
|
|
156
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
157
|
+
|
|
158
|
+
if (objectid === undefined || objectid === null) {
|
|
159
|
+
throw new Error("Missing the required parameter 'objectid' when calling addLiveMeeting1");
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
var pathParams = {
|
|
163
|
+
'objectid': objectid
|
|
164
|
+
};
|
|
165
|
+
var queryParams = {};
|
|
166
|
+
var headerParams = {
|
|
167
|
+
'Authorization': opts['authorization'],
|
|
168
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
169
|
+
'transactionid': opts['transactionid']
|
|
170
|
+
};
|
|
171
|
+
var formParams = {};
|
|
172
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
173
|
+
var contentTypes = [];
|
|
174
|
+
var accepts = ['application/json'];
|
|
175
|
+
var returnType = {
|
|
176
|
+
'String': _InlineObject2["default"]
|
|
177
|
+
};
|
|
178
|
+
return this.apiClient.callApi('/graph/data/live/{objectid}/stream', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Callback function to receive the result of the attachFile operation.
|
|
182
|
+
* @callback module:api/GraphObjectsApi~attachFileCallback
|
|
183
|
+
* @param {String} error Error message, if any.
|
|
184
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
185
|
+
* @param {String} response The complete HTTP response.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @param {Number} id The id of the object that the file is being attached to
|
|
190
|
+
* @param {Object} opts Optional parameters
|
|
191
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
192
|
+
* @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
|
|
193
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
194
|
+
* @param {Array.<module:model/InputPart>} opts.parts
|
|
195
|
+
* @param {String} opts.preamble
|
|
196
|
+
* @param {module:api/GraphObjectsApi~attachFileCallback} callback The callback function, accepting three arguments: error, data, response
|
|
197
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
}, {
|
|
201
|
+
key: "attachFile",
|
|
202
|
+
value: function attachFile(id, opts, callback) {
|
|
203
|
+
opts = opts || {};
|
|
204
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
205
|
+
|
|
206
|
+
if (id === undefined || id === null) {
|
|
207
|
+
throw new Error("Missing the required parameter 'id' when calling attachFile");
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
var pathParams = {
|
|
211
|
+
'id': id
|
|
212
|
+
};
|
|
213
|
+
var queryParams = {};
|
|
214
|
+
var headerParams = {
|
|
215
|
+
'Authorization': opts['authorization'],
|
|
216
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
217
|
+
'transactionid': opts['transactionid']
|
|
218
|
+
};
|
|
219
|
+
var formParams = {
|
|
220
|
+
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
221
|
+
'preamble': opts['preamble']
|
|
222
|
+
};
|
|
223
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
224
|
+
var contentTypes = ['multipart/form-data'];
|
|
225
|
+
var accepts = ['application/json'];
|
|
226
|
+
var returnType = _InlineResponseDefault["default"];
|
|
227
|
+
return this.apiClient.callApi('/graph/data/object/{id}/attachfile', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Callback function to receive the result of the attachImage operation.
|
|
231
|
+
* @callback module:api/GraphObjectsApi~attachImageCallback
|
|
232
|
+
* @param {String} error Error message, if any.
|
|
233
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
234
|
+
* @param {String} response The complete HTTP response.
|
|
235
|
+
*/
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @param {Number} id The id of the object that the image is being attached to
|
|
239
|
+
* @param {Object} opts Optional parameters
|
|
240
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
241
|
+
* @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
|
|
242
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
243
|
+
* @param {Array.<module:model/InputPart>} opts.parts
|
|
244
|
+
* @param {String} opts.preamble
|
|
245
|
+
* @param {module:api/GraphObjectsApi~attachImageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
246
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
}, {
|
|
250
|
+
key: "attachImage",
|
|
251
|
+
value: function attachImage(id, opts, callback) {
|
|
252
|
+
opts = opts || {};
|
|
253
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
254
|
+
|
|
255
|
+
if (id === undefined || id === null) {
|
|
256
|
+
throw new Error("Missing the required parameter 'id' when calling attachImage");
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
var pathParams = {
|
|
260
|
+
'id': id
|
|
261
|
+
};
|
|
262
|
+
var queryParams = {};
|
|
263
|
+
var headerParams = {
|
|
264
|
+
'Authorization': opts['authorization'],
|
|
265
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
266
|
+
'transactionid': opts['transactionid']
|
|
267
|
+
};
|
|
268
|
+
var formParams = {
|
|
269
|
+
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
270
|
+
'preamble': opts['preamble']
|
|
271
|
+
};
|
|
272
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
273
|
+
var contentTypes = ['multipart/form-data'];
|
|
274
|
+
var accepts = ['application/json'];
|
|
275
|
+
var returnType = _InlineResponseDefault["default"];
|
|
276
|
+
return this.apiClient.callApi('/graph/data/object/{id}/attachimage', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Callback function to receive the result of the createActions operation.
|
|
280
|
+
* @callback module:api/GraphObjectsApi~createActionsCallback
|
|
281
|
+
* @param {String} error Error message, if any.
|
|
282
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
283
|
+
* @param {String} response The complete HTTP response.
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @param {Number} id The id of the object that we are performing the action on
|
|
288
|
+
* @param {Array.<module:model/GraphAction>} graphAction Conversation object or array of objects to create
|
|
289
|
+
* @param {Object} opts Optional parameters
|
|
290
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
291
|
+
* @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
|
|
292
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
293
|
+
* @param {module:api/GraphObjectsApi~createActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
294
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
295
|
+
*/
|
|
296
|
+
|
|
297
|
+
}, {
|
|
298
|
+
key: "createActions",
|
|
299
|
+
value: function createActions(id, graphAction, opts, callback) {
|
|
300
|
+
opts = opts || {};
|
|
301
|
+
var postBody = graphAction; // verify the required parameter 'id' is set
|
|
302
|
+
|
|
303
|
+
if (id === undefined || id === null) {
|
|
304
|
+
throw new Error("Missing the required parameter 'id' when calling createActions");
|
|
305
|
+
} // verify the required parameter 'graphAction' is set
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
if (graphAction === undefined || graphAction === null) {
|
|
309
|
+
throw new Error("Missing the required parameter 'graphAction' when calling createActions");
|
|
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 = ['application/json'];
|
|
324
|
+
var accepts = ['application/json'];
|
|
325
|
+
var returnType = [_GraphAction["default"]];
|
|
326
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Callback function to receive the result of the createAddObjectsToGraph operation.
|
|
330
|
+
* @callback module:api/GraphObjectsApi~createAddObjectsToGraphCallback
|
|
331
|
+
* @param {String} error Error message, if any.
|
|
332
|
+
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
333
|
+
* @param {String} response The complete HTTP response.
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Adds objects to the graph
|
|
338
|
+
* @param {Number} id
|
|
339
|
+
* @param {Object} opts Optional parameters
|
|
340
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
341
|
+
* @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
|
|
342
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
343
|
+
* @param {String} opts.body
|
|
344
|
+
* @param {module:api/GraphObjectsApi~createAddObjectsToGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
345
|
+
* data is of type: {@link module:model/GraphObjectSchema}
|
|
346
|
+
*/
|
|
347
|
+
|
|
348
|
+
}, {
|
|
349
|
+
key: "createAddObjectsToGraph",
|
|
350
|
+
value: function createAddObjectsToGraph(id, opts, callback) {
|
|
351
|
+
opts = opts || {};
|
|
352
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
353
|
+
|
|
354
|
+
if (id === undefined || id === null) {
|
|
355
|
+
throw new Error("Missing the required parameter 'id' when calling createAddObjectsToGraph");
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
var pathParams = {
|
|
359
|
+
'id': id
|
|
360
|
+
};
|
|
361
|
+
var queryParams = {};
|
|
362
|
+
var headerParams = {
|
|
363
|
+
'Authorization': opts['authorization'],
|
|
364
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
365
|
+
'transactionid': opts['transactionid']
|
|
366
|
+
};
|
|
367
|
+
var formParams = {};
|
|
368
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
369
|
+
var contentTypes = ['application/json'];
|
|
370
|
+
var accepts = ['application/json'];
|
|
371
|
+
var returnType = _GraphObjectSchema["default"];
|
|
372
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Callback function to receive the result of the createGeocodes operation.
|
|
376
|
+
* @callback module:api/GraphObjectsApi~createGeocodesCallback
|
|
377
|
+
* @param {String} error Error message, if any.
|
|
378
|
+
* @param {module:model/Geocode} data The data returned by the service call.
|
|
379
|
+
* @param {String} response The complete HTTP response.
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @param {Number} id The id of the object that we are retrieving geolocation information from
|
|
384
|
+
* @param {module:model/GeocodePayload} geocodePayload Conversation object or array of objects to create
|
|
385
|
+
* @param {Object} opts Optional parameters
|
|
386
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
387
|
+
* @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
|
|
388
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
389
|
+
* @param {module:api/GraphObjectsApi~createGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
390
|
+
* data is of type: {@link module:model/Geocode}
|
|
391
|
+
*/
|
|
392
|
+
|
|
393
|
+
}, {
|
|
394
|
+
key: "createGeocodes",
|
|
395
|
+
value: function createGeocodes(id, geocodePayload, opts, callback) {
|
|
396
|
+
opts = opts || {};
|
|
397
|
+
var postBody = geocodePayload; // verify the required parameter 'id' is set
|
|
398
|
+
|
|
399
|
+
if (id === undefined || id === null) {
|
|
400
|
+
throw new Error("Missing the required parameter 'id' when calling createGeocodes");
|
|
401
|
+
} // verify the required parameter 'geocodePayload' is set
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
if (geocodePayload === undefined || geocodePayload === null) {
|
|
405
|
+
throw new Error("Missing the required parameter 'geocodePayload' when calling createGeocodes");
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
var pathParams = {
|
|
409
|
+
'id': id
|
|
410
|
+
};
|
|
411
|
+
var queryParams = {};
|
|
412
|
+
var headerParams = {
|
|
413
|
+
'Authorization': opts['authorization'],
|
|
414
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
415
|
+
'transactionid': opts['transactionid']
|
|
416
|
+
};
|
|
417
|
+
var formParams = {};
|
|
418
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
419
|
+
var contentTypes = ['application/json'];
|
|
420
|
+
var accepts = ['application/json'];
|
|
421
|
+
var returnType = _Geocode["default"];
|
|
422
|
+
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Callback function to receive the result of the createInviteOnObject operation.
|
|
426
|
+
* @callback module:api/GraphObjectsApi~createInviteOnObjectCallback
|
|
427
|
+
* @param {String} error Error message, if any.
|
|
428
|
+
* @param {module:model/UserInvite} data The data returned by the service call.
|
|
429
|
+
* @param {String} response The complete HTTP response.
|
|
430
|
+
*/
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Returns an invite by id
|
|
434
|
+
* Returns a live meeting invite by id
|
|
435
|
+
* @param {Number} inviteid The id of the invite we are retrieving
|
|
436
|
+
* @param {module:model/UserInviteInput} userInviteInput An Invite Input
|
|
437
|
+
* @param {Object} opts Optional parameters
|
|
438
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
439
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
440
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
441
|
+
* @param {module:api/GraphObjectsApi~createInviteOnObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
442
|
+
* data is of type: {@link module:model/UserInvite}
|
|
443
|
+
*/
|
|
444
|
+
|
|
445
|
+
}, {
|
|
446
|
+
key: "createInviteOnObject",
|
|
447
|
+
value: function createInviteOnObject(inviteid, userInviteInput, opts, callback) {
|
|
448
|
+
opts = opts || {};
|
|
449
|
+
var postBody = userInviteInput; // verify the required parameter 'inviteid' is set
|
|
450
|
+
|
|
451
|
+
if (inviteid === undefined || inviteid === null) {
|
|
452
|
+
throw new Error("Missing the required parameter 'inviteid' when calling createInviteOnObject");
|
|
453
|
+
} // verify the required parameter 'userInviteInput' is set
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
if (userInviteInput === undefined || userInviteInput === null) {
|
|
457
|
+
throw new Error("Missing the required parameter 'userInviteInput' when calling createInviteOnObject");
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
var pathParams = {
|
|
461
|
+
'inviteid': inviteid
|
|
462
|
+
};
|
|
463
|
+
var queryParams = {};
|
|
464
|
+
var headerParams = {
|
|
465
|
+
'Authorization': opts['authorization'],
|
|
466
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
467
|
+
'transactionid': opts['transactionid']
|
|
468
|
+
};
|
|
469
|
+
var formParams = {};
|
|
470
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
471
|
+
var contentTypes = ['application/json'];
|
|
472
|
+
var accepts = ['application/json'];
|
|
473
|
+
var returnType = _UserInvite["default"];
|
|
474
|
+
return this.apiClient.callApi('/graph/data/invites/{objectid}/invite', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Callback function to receive the result of the createRelationship operation.
|
|
478
|
+
* @callback module:api/GraphObjectsApi~createRelationshipCallback
|
|
479
|
+
* @param {String} error Error message, if any.
|
|
480
|
+
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
481
|
+
* @param {String} response The complete HTTP response.
|
|
482
|
+
*/
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Create a Relationship
|
|
486
|
+
* Create a relationship to another object
|
|
487
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
488
|
+
* @param {module:model/GraphRelationshipPayload} graphRelationshipPayload Conversation object or array of objects to create
|
|
489
|
+
* @param {Object} opts Optional parameters
|
|
490
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
491
|
+
* @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
|
|
492
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
493
|
+
* @param {module:api/GraphObjectsApi~createRelationshipCallback} callback The callback function, accepting three arguments: error, data, response
|
|
494
|
+
* data is of type: {@link module:model/GraphRelationship}
|
|
495
|
+
*/
|
|
496
|
+
|
|
497
|
+
}, {
|
|
498
|
+
key: "createRelationship",
|
|
499
|
+
value: function createRelationship(id, graphRelationshipPayload, opts, callback) {
|
|
500
|
+
opts = opts || {};
|
|
501
|
+
var postBody = graphRelationshipPayload; // verify the required parameter 'id' is set
|
|
502
|
+
|
|
503
|
+
if (id === undefined || id === null) {
|
|
504
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationship");
|
|
505
|
+
} // verify the required parameter 'graphRelationshipPayload' is set
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
509
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationship");
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
var pathParams = {
|
|
513
|
+
'id': id
|
|
514
|
+
};
|
|
515
|
+
var queryParams = {};
|
|
516
|
+
var headerParams = {
|
|
517
|
+
'Authorization': opts['authorization'],
|
|
518
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
519
|
+
'transactionid': opts['transactionid']
|
|
520
|
+
};
|
|
521
|
+
var formParams = {};
|
|
522
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
523
|
+
var contentTypes = ['application/json'];
|
|
524
|
+
var accepts = ['application/json'];
|
|
525
|
+
var returnType = _GraphRelationship["default"];
|
|
526
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationship', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* Callback function to receive the result of the createRelationships operation.
|
|
530
|
+
* @callback module:api/GraphObjectsApi~createRelationshipsCallback
|
|
531
|
+
* @param {String} error Error message, if any.
|
|
532
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
533
|
+
* @param {String} response The complete HTTP response.
|
|
534
|
+
*/
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Create Relationships
|
|
538
|
+
* Create a relationships to other objects
|
|
539
|
+
* @param {Number} id The id of the object that we are creating relationships on
|
|
540
|
+
* @param {Array.<module:model/GraphRelationshipPayload>} graphRelationshipPayload Conversation object or array of objects to create
|
|
541
|
+
* @param {Object} opts Optional parameters
|
|
542
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
543
|
+
* @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
|
|
544
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
545
|
+
* @param {module:api/GraphObjectsApi~createRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
546
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
547
|
+
*/
|
|
548
|
+
|
|
549
|
+
}, {
|
|
550
|
+
key: "createRelationships",
|
|
551
|
+
value: function createRelationships(id, graphRelationshipPayload, opts, callback) {
|
|
552
|
+
opts = opts || {};
|
|
553
|
+
var postBody = graphRelationshipPayload; // verify the required parameter 'id' is set
|
|
554
|
+
|
|
555
|
+
if (id === undefined || id === null) {
|
|
556
|
+
throw new Error("Missing the required parameter 'id' when calling createRelationships");
|
|
557
|
+
} // verify the required parameter 'graphRelationshipPayload' is set
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
if (graphRelationshipPayload === undefined || graphRelationshipPayload === null) {
|
|
561
|
+
throw new Error("Missing the required parameter 'graphRelationshipPayload' when calling createRelationships");
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
var pathParams = {
|
|
565
|
+
'id': id
|
|
566
|
+
};
|
|
567
|
+
var queryParams = {};
|
|
568
|
+
var headerParams = {
|
|
569
|
+
'Authorization': opts['authorization'],
|
|
570
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
571
|
+
'transactionid': opts['transactionid']
|
|
572
|
+
};
|
|
573
|
+
var formParams = {};
|
|
574
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
575
|
+
var contentTypes = ['application/json'];
|
|
576
|
+
var accepts = ['application/json'];
|
|
577
|
+
var returnType = [_GraphRelationship["default"]];
|
|
578
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Callback function to receive the result of the deleteGeocode operation.
|
|
582
|
+
* @callback module:api/GraphObjectsApi~deleteGeocodeCallback
|
|
583
|
+
* @param {String} error Error message, if any.
|
|
584
|
+
* @param data This operation does not return a value.
|
|
585
|
+
* @param {String} response The complete HTTP response.
|
|
586
|
+
*/
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @param {Number} id The id of the geocode to delete
|
|
590
|
+
* @param {Number} geocodeid The id of the object whose properties we are updating
|
|
591
|
+
* @param {Object} opts Optional parameters
|
|
592
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
593
|
+
* @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
|
|
594
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
595
|
+
* @param {module:api/GraphObjectsApi~deleteGeocodeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
596
|
+
*/
|
|
597
|
+
|
|
598
|
+
}, {
|
|
599
|
+
key: "deleteGeocode",
|
|
600
|
+
value: function deleteGeocode(id, geocodeid, opts, callback) {
|
|
601
|
+
opts = opts || {};
|
|
602
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
603
|
+
|
|
604
|
+
if (id === undefined || id === null) {
|
|
605
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGeocode");
|
|
606
|
+
} // verify the required parameter 'geocodeid' is set
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
if (geocodeid === undefined || geocodeid === null) {
|
|
610
|
+
throw new Error("Missing the required parameter 'geocodeid' when calling deleteGeocode");
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
var pathParams = {
|
|
614
|
+
'id': id,
|
|
615
|
+
'geocodeid': geocodeid
|
|
616
|
+
};
|
|
617
|
+
var queryParams = {};
|
|
618
|
+
var headerParams = {
|
|
619
|
+
'Authorization': opts['authorization'],
|
|
620
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
621
|
+
'transactionid': opts['transactionid']
|
|
622
|
+
};
|
|
623
|
+
var formParams = {};
|
|
624
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
625
|
+
var contentTypes = [];
|
|
626
|
+
var accepts = ['application/json'];
|
|
627
|
+
var returnType = null;
|
|
628
|
+
return this.apiClient.callApi('/graph/data/object/{id}/geocode/{geocodeid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Callback function to receive the result of the deleteLike operation.
|
|
632
|
+
* @callback module:api/GraphObjectsApi~deleteLikeCallback
|
|
633
|
+
* @param {String} error Error message, if any.
|
|
634
|
+
* @param data This operation does not return a value.
|
|
635
|
+
* @param {String} response The complete HTTP response.
|
|
636
|
+
*/
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Delete Like
|
|
640
|
+
* Delete an individual like
|
|
641
|
+
* @param {Number} objectid
|
|
642
|
+
* @param {Object} opts Optional parameters
|
|
643
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
644
|
+
* @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
|
|
645
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
646
|
+
* @param {module:api/GraphObjectsApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
647
|
+
*/
|
|
648
|
+
|
|
649
|
+
}, {
|
|
650
|
+
key: "deleteLike",
|
|
651
|
+
value: function deleteLike(objectid, opts, callback) {
|
|
652
|
+
opts = opts || {};
|
|
653
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
654
|
+
|
|
655
|
+
if (objectid === undefined || objectid === null) {
|
|
656
|
+
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
var pathParams = {
|
|
660
|
+
'objectid': objectid
|
|
661
|
+
};
|
|
662
|
+
var queryParams = {};
|
|
663
|
+
var headerParams = {
|
|
664
|
+
'Authorization': opts['authorization'],
|
|
665
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
666
|
+
'transactionid': opts['transactionid']
|
|
667
|
+
};
|
|
668
|
+
var formParams = {};
|
|
669
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
670
|
+
var contentTypes = [];
|
|
671
|
+
var accepts = ['*/*'];
|
|
672
|
+
var returnType = null;
|
|
673
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Callback function to receive the result of the deleteObject operation.
|
|
677
|
+
* @callback module:api/GraphObjectsApi~deleteObjectCallback
|
|
678
|
+
* @param {String} error Error message, if any.
|
|
679
|
+
* @param data This operation does not return a value.
|
|
680
|
+
* @param {String} response The complete HTTP response.
|
|
681
|
+
*/
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Delete's the object with the id
|
|
685
|
+
* @param {Number} id The id of the object to delete
|
|
686
|
+
* @param {Object} opts Optional parameters
|
|
687
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
688
|
+
* @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
|
|
689
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
690
|
+
* @param {module:api/GraphObjectsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
691
|
+
*/
|
|
692
|
+
|
|
693
|
+
}, {
|
|
694
|
+
key: "deleteObject",
|
|
695
|
+
value: function deleteObject(id, opts, callback) {
|
|
696
|
+
opts = opts || {};
|
|
697
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
698
|
+
|
|
699
|
+
if (id === undefined || id === null) {
|
|
700
|
+
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
var pathParams = {
|
|
704
|
+
'id': id
|
|
705
|
+
};
|
|
706
|
+
var queryParams = {};
|
|
707
|
+
var headerParams = {
|
|
708
|
+
'Authorization': opts['authorization'],
|
|
709
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
710
|
+
'transactionid': opts['transactionid']
|
|
711
|
+
};
|
|
712
|
+
var formParams = {};
|
|
713
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
714
|
+
var contentTypes = [];
|
|
715
|
+
var accepts = ['application/json'];
|
|
716
|
+
var returnType = null;
|
|
717
|
+
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* Callback function to receive the result of the dislike operation.
|
|
721
|
+
* @callback module:api/GraphObjectsApi~dislikeCallback
|
|
722
|
+
* @param {String} error Error message, if any.
|
|
723
|
+
* @param data This operation does not return a value.
|
|
724
|
+
* @param {String} response The complete HTTP response.
|
|
725
|
+
*/
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Dislike an Object
|
|
729
|
+
* Dislike an object
|
|
730
|
+
* @param {Number} objectid
|
|
731
|
+
* @param {Object} opts Optional parameters
|
|
732
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
733
|
+
* @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
|
|
734
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
735
|
+
* @param {module:api/GraphObjectsApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
736
|
+
*/
|
|
737
|
+
|
|
738
|
+
}, {
|
|
739
|
+
key: "dislike",
|
|
740
|
+
value: function dislike(objectid, opts, callback) {
|
|
741
|
+
opts = opts || {};
|
|
742
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
743
|
+
|
|
744
|
+
if (objectid === undefined || objectid === null) {
|
|
745
|
+
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
var pathParams = {
|
|
749
|
+
'objectid': objectid
|
|
750
|
+
};
|
|
751
|
+
var queryParams = {};
|
|
752
|
+
var headerParams = {
|
|
753
|
+
'Authorization': opts['authorization'],
|
|
754
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
755
|
+
'transactionid': opts['transactionid']
|
|
756
|
+
};
|
|
757
|
+
var formParams = {};
|
|
758
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
759
|
+
var contentTypes = [];
|
|
760
|
+
var accepts = ['*/*'];
|
|
761
|
+
var returnType = null;
|
|
762
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Callback function to receive the result of the doPostFunction operation.
|
|
766
|
+
* @callback module:api/GraphObjectsApi~doPostFunctionCallback
|
|
767
|
+
* @param {String} error Error message, if any.
|
|
768
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
769
|
+
* @param {String} response The complete HTTP response.
|
|
770
|
+
*/
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* @param {Number} id The id of the object we are calling the function on
|
|
774
|
+
* @param {String} _function
|
|
775
|
+
* @param {Object} opts Optional parameters
|
|
776
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
777
|
+
* @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
|
|
778
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
779
|
+
* @param {String} opts.body
|
|
780
|
+
* @param {module:api/GraphObjectsApi~doPostFunctionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
781
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
782
|
+
*/
|
|
783
|
+
|
|
784
|
+
}, {
|
|
785
|
+
key: "doPostFunction",
|
|
786
|
+
value: function doPostFunction(id, _function, opts, callback) {
|
|
787
|
+
opts = opts || {};
|
|
788
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
789
|
+
|
|
790
|
+
if (id === undefined || id === null) {
|
|
791
|
+
throw new Error("Missing the required parameter 'id' when calling doPostFunction");
|
|
792
|
+
} // verify the required parameter '_function' is set
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
if (_function === undefined || _function === null) {
|
|
796
|
+
throw new Error("Missing the required parameter '_function' when calling doPostFunction");
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
var pathParams = {
|
|
800
|
+
'id': id,
|
|
801
|
+
'function': _function
|
|
802
|
+
};
|
|
803
|
+
var queryParams = {};
|
|
804
|
+
var headerParams = {
|
|
805
|
+
'Authorization': opts['authorization'],
|
|
806
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
807
|
+
'transactionid': opts['transactionid']
|
|
808
|
+
};
|
|
809
|
+
var formParams = {};
|
|
810
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
811
|
+
var contentTypes = ['application/json'];
|
|
812
|
+
var accepts = ['application/json'];
|
|
813
|
+
var returnType = _InlineResponseDefault["default"];
|
|
814
|
+
return this.apiClient.callApi('/graph/data/object/{id}/function/{function}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* Callback function to receive the result of the follow operation.
|
|
818
|
+
* @callback module:api/GraphObjectsApi~followCallback
|
|
819
|
+
* @param {String} error Error message, if any.
|
|
820
|
+
* @param data This operation does not return a value.
|
|
821
|
+
* @param {String} response The complete HTTP response.
|
|
822
|
+
*/
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* @param {Number} id The id of the object being followed
|
|
826
|
+
* @param {Object} opts Optional parameters
|
|
827
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
828
|
+
* @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
|
|
829
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
830
|
+
* @param {module:api/GraphObjectsApi~followCallback} callback The callback function, accepting three arguments: error, data, response
|
|
831
|
+
*/
|
|
832
|
+
|
|
833
|
+
}, {
|
|
834
|
+
key: "follow",
|
|
835
|
+
value: function follow(id, opts, callback) {
|
|
836
|
+
opts = opts || {};
|
|
837
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
838
|
+
|
|
839
|
+
if (id === undefined || id === null) {
|
|
840
|
+
throw new Error("Missing the required parameter 'id' when calling follow");
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
var pathParams = {
|
|
844
|
+
'id': id
|
|
845
|
+
};
|
|
846
|
+
var queryParams = {};
|
|
847
|
+
var headerParams = {
|
|
848
|
+
'Authorization': opts['authorization'],
|
|
849
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
850
|
+
'transactionid': opts['transactionid']
|
|
851
|
+
};
|
|
852
|
+
var formParams = {};
|
|
853
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
854
|
+
var contentTypes = [];
|
|
855
|
+
var accepts = ['application/json'];
|
|
856
|
+
var returnType = null;
|
|
857
|
+
return this.apiClient.callApi('/graph/data/object/{id}/follow', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Callback function to receive the result of the get7 operation.
|
|
861
|
+
* @callback module:api/GraphObjectsApi~get7Callback
|
|
862
|
+
* @param {String} error Error message, if any.
|
|
863
|
+
* @param data This operation does not return a value.
|
|
864
|
+
* @param {String} response The complete HTTP response.
|
|
865
|
+
*/
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Root for the API
|
|
869
|
+
* @param {Object} opts Optional parameters
|
|
870
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
871
|
+
* @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
|
|
872
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
873
|
+
* @param {module:api/GraphObjectsApi~get7Callback} callback The callback function, accepting three arguments: error, data, response
|
|
874
|
+
*/
|
|
875
|
+
|
|
876
|
+
}, {
|
|
877
|
+
key: "get7",
|
|
878
|
+
value: function get7(opts, callback) {
|
|
879
|
+
opts = opts || {};
|
|
880
|
+
var postBody = null;
|
|
881
|
+
var pathParams = {};
|
|
882
|
+
var queryParams = {};
|
|
883
|
+
var headerParams = {
|
|
884
|
+
'Authorization': opts['authorization'],
|
|
885
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
886
|
+
'transactionid': opts['transactionid']
|
|
887
|
+
};
|
|
888
|
+
var formParams = {};
|
|
889
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
890
|
+
var contentTypes = [];
|
|
891
|
+
var accepts = ['application/json'];
|
|
892
|
+
var returnType = null;
|
|
893
|
+
return this.apiClient.callApi('/graph/data/object', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* Callback function to receive the result of the getActions operation.
|
|
897
|
+
* @callback module:api/GraphObjectsApi~getActionsCallback
|
|
898
|
+
* @param {String} error Error message, if any.
|
|
899
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
900
|
+
* @param {String} response The complete HTTP response.
|
|
901
|
+
*/
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Get Actions
|
|
905
|
+
* Get actions attached to an object
|
|
906
|
+
* @param {Number} id The id of the object that we are retrieving actions on
|
|
907
|
+
* @param {Object} opts Optional parameters
|
|
908
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
909
|
+
* @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
|
|
910
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
911
|
+
* @param {module:api/GraphObjectsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
912
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
913
|
+
*/
|
|
914
|
+
|
|
915
|
+
}, {
|
|
916
|
+
key: "getActions",
|
|
917
|
+
value: function getActions(id, opts, callback) {
|
|
918
|
+
opts = opts || {};
|
|
919
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
920
|
+
|
|
921
|
+
if (id === undefined || id === null) {
|
|
922
|
+
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
var pathParams = {
|
|
926
|
+
'id': id
|
|
927
|
+
};
|
|
928
|
+
var queryParams = {};
|
|
929
|
+
var headerParams = {
|
|
930
|
+
'Authorization': opts['authorization'],
|
|
931
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
932
|
+
'transactionid': opts['transactionid']
|
|
933
|
+
};
|
|
934
|
+
var formParams = {};
|
|
935
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
936
|
+
var contentTypes = [];
|
|
937
|
+
var accepts = ['application/json'];
|
|
938
|
+
var returnType = [_GraphAction["default"]];
|
|
939
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* Callback function to receive the result of the getActionsByType operation.
|
|
943
|
+
* @callback module:api/GraphObjectsApi~getActionsByTypeCallback
|
|
944
|
+
* @param {String} error Error message, if any.
|
|
945
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
946
|
+
* @param {String} response The complete HTTP response.
|
|
947
|
+
*/
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Get Actions By Type
|
|
951
|
+
* Get actions attached to an object by type
|
|
952
|
+
* @param {Number} id
|
|
953
|
+
* @param {Number} actiontypeid
|
|
954
|
+
* @param {Object} opts Optional parameters
|
|
955
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
956
|
+
* @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
|
|
957
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
958
|
+
* @param {module:api/GraphObjectsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
959
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
960
|
+
*/
|
|
961
|
+
|
|
962
|
+
}, {
|
|
963
|
+
key: "getActionsByType",
|
|
964
|
+
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
965
|
+
opts = opts || {};
|
|
966
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
967
|
+
|
|
968
|
+
if (id === undefined || id === null) {
|
|
969
|
+
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
970
|
+
} // verify the required parameter 'actiontypeid' is set
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
if (actiontypeid === undefined || actiontypeid === null) {
|
|
974
|
+
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
var pathParams = {
|
|
978
|
+
'id': id,
|
|
979
|
+
'actiontypeid': actiontypeid
|
|
980
|
+
};
|
|
981
|
+
var queryParams = {};
|
|
982
|
+
var headerParams = {
|
|
983
|
+
'Authorization': opts['authorization'],
|
|
984
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
985
|
+
'transactionid': opts['transactionid']
|
|
986
|
+
};
|
|
987
|
+
var formParams = {};
|
|
988
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
989
|
+
var contentTypes = [];
|
|
990
|
+
var accepts = ['application/json'];
|
|
991
|
+
var returnType = [_GraphAction["default"]];
|
|
992
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* Callback function to receive the result of the getAllRelationships operation.
|
|
996
|
+
* @callback module:api/GraphObjectsApi~getAllRelationshipsCallback
|
|
997
|
+
* @param {String} error Error message, if any.
|
|
998
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
999
|
+
* @param {String} response The complete HTTP response.
|
|
1000
|
+
*/
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Get All Relationships
|
|
1004
|
+
* Returns a listing of relationships
|
|
1005
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
1006
|
+
* @param {Object} opts Optional parameters
|
|
1007
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1008
|
+
* @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
|
|
1009
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1010
|
+
* @param {module:api/GraphObjectsApi~getAllRelationshipsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1011
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1012
|
+
*/
|
|
1013
|
+
|
|
1014
|
+
}, {
|
|
1015
|
+
key: "getAllRelationships",
|
|
1016
|
+
value: function getAllRelationships(id, opts, callback) {
|
|
1017
|
+
opts = opts || {};
|
|
1018
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1019
|
+
|
|
1020
|
+
if (id === undefined || id === null) {
|
|
1021
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationships");
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
var pathParams = {
|
|
1025
|
+
'id': id
|
|
1026
|
+
};
|
|
1027
|
+
var queryParams = {};
|
|
1028
|
+
var headerParams = {
|
|
1029
|
+
'Authorization': opts['authorization'],
|
|
1030
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1031
|
+
'transactionid': opts['transactionid']
|
|
1032
|
+
};
|
|
1033
|
+
var formParams = {};
|
|
1034
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1035
|
+
var contentTypes = [];
|
|
1036
|
+
var accepts = ['application/json'];
|
|
1037
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1038
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* Callback function to receive the result of the getAllRelationshipsByType operation.
|
|
1042
|
+
* @callback module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback
|
|
1043
|
+
* @param {String} error Error message, if any.
|
|
1044
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
1045
|
+
* @param {String} response The complete HTTP response.
|
|
1046
|
+
*/
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Get All Relationships By Type
|
|
1050
|
+
* Returns a listing of relationships
|
|
1051
|
+
* @param {Number} id The id of the relationship type we are searching for
|
|
1052
|
+
* @param {Number} reltypeid The id of the object that we are retrieving relationships on
|
|
1053
|
+
* @param {Object} opts Optional parameters
|
|
1054
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1055
|
+
* @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
|
|
1056
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1057
|
+
* @param {module:api/GraphObjectsApi~getAllRelationshipsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1058
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
1059
|
+
*/
|
|
1060
|
+
|
|
1061
|
+
}, {
|
|
1062
|
+
key: "getAllRelationshipsByType",
|
|
1063
|
+
value: function getAllRelationshipsByType(id, reltypeid, opts, callback) {
|
|
1064
|
+
opts = opts || {};
|
|
1065
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1066
|
+
|
|
1067
|
+
if (id === undefined || id === null) {
|
|
1068
|
+
throw new Error("Missing the required parameter 'id' when calling getAllRelationshipsByType");
|
|
1069
|
+
} // verify the required parameter 'reltypeid' is set
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
1073
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getAllRelationshipsByType");
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
var pathParams = {
|
|
1077
|
+
'id': id,
|
|
1078
|
+
'reltypeid': reltypeid
|
|
1079
|
+
};
|
|
1080
|
+
var queryParams = {};
|
|
1081
|
+
var headerParams = {
|
|
1082
|
+
'Authorization': opts['authorization'],
|
|
1083
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1084
|
+
'transactionid': opts['transactionid']
|
|
1085
|
+
};
|
|
1086
|
+
var formParams = {};
|
|
1087
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1088
|
+
var contentTypes = [];
|
|
1089
|
+
var accepts = ['application/json'];
|
|
1090
|
+
var returnType = [_GraphRelationship["default"]];
|
|
1091
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/all/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* Callback function to receive the result of the getComments operation.
|
|
1095
|
+
* @callback module:api/GraphObjectsApi~getCommentsCallback
|
|
1096
|
+
* @param {String} error Error message, if any.
|
|
1097
|
+
* @param {Array.<module:model/Comment>} data The data returned by the service call.
|
|
1098
|
+
* @param {String} response The complete HTTP response.
|
|
1099
|
+
*/
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* @param {Number} objectid
|
|
1103
|
+
* @param {Object} opts Optional parameters
|
|
1104
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1105
|
+
* @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
|
|
1106
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1107
|
+
* @param {module:api/GraphObjectsApi~getCommentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1108
|
+
* data is of type: {@link Array.<module:model/Comment>}
|
|
1109
|
+
*/
|
|
1110
|
+
|
|
1111
|
+
}, {
|
|
1112
|
+
key: "getComments",
|
|
1113
|
+
value: function getComments(objectid, opts, callback) {
|
|
1114
|
+
opts = opts || {};
|
|
1115
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
1116
|
+
|
|
1117
|
+
if (objectid === undefined || objectid === null) {
|
|
1118
|
+
throw new Error("Missing the required parameter 'objectid' when calling getComments");
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
var pathParams = {
|
|
1122
|
+
'objectid': objectid
|
|
1123
|
+
};
|
|
1124
|
+
var queryParams = {};
|
|
1125
|
+
var headerParams = {
|
|
1126
|
+
'Authorization': opts['authorization'],
|
|
1127
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1128
|
+
'transactionid': opts['transactionid']
|
|
1129
|
+
};
|
|
1130
|
+
var formParams = {};
|
|
1131
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1132
|
+
var contentTypes = [];
|
|
1133
|
+
var accepts = ['application/json'];
|
|
1134
|
+
var returnType = [_Comment["default"]];
|
|
1135
|
+
return this.apiClient.callApi('/graph/data/object/{objectid}/comments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
* Callback function to receive the result of the getDataSheetImports operation.
|
|
1139
|
+
* @callback module:api/GraphObjectsApi~getDataSheetImportsCallback
|
|
1140
|
+
* @param {String} error Error message, if any.
|
|
1141
|
+
* @param {Array.<module:model/DataSheetImport>} data The data returned by the service call.
|
|
1142
|
+
* @param {String} response The complete HTTP response.
|
|
1143
|
+
*/
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Get Related Objects
|
|
1147
|
+
* Get Related Objects
|
|
1148
|
+
* @param {Number} objectid The id of the object we are importing the datasheet to
|
|
1149
|
+
* @param {Object} opts Optional parameters
|
|
1150
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1151
|
+
* @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
|
|
1152
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1153
|
+
* @param {module:api/GraphObjectsApi~getDataSheetImportsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1154
|
+
* data is of type: {@link Array.<module:model/DataSheetImport>}
|
|
1155
|
+
*/
|
|
1156
|
+
|
|
1157
|
+
}, {
|
|
1158
|
+
key: "getDataSheetImports",
|
|
1159
|
+
value: function getDataSheetImports(objectid, opts, callback) {
|
|
1160
|
+
opts = opts || {};
|
|
1161
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
1162
|
+
|
|
1163
|
+
if (objectid === undefined || objectid === null) {
|
|
1164
|
+
throw new Error("Missing the required parameter 'objectid' when calling getDataSheetImports");
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
var pathParams = {
|
|
1168
|
+
'objectid': objectid
|
|
1169
|
+
};
|
|
1170
|
+
var queryParams = {};
|
|
1171
|
+
var headerParams = {
|
|
1172
|
+
'Authorization': opts['authorization'],
|
|
1173
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1174
|
+
'transactionid': opts['transactionid']
|
|
1175
|
+
};
|
|
1176
|
+
var formParams = {};
|
|
1177
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1178
|
+
var contentTypes = [];
|
|
1179
|
+
var accepts = ['application/json'];
|
|
1180
|
+
var returnType = [_DataSheetImport["default"]];
|
|
1181
|
+
return this.apiClient.callApi('/graph/data/object/{objectid}/datasheetimports', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Callback function to receive the result of the getEvents operation.
|
|
1185
|
+
* @callback module:api/GraphObjectsApi~getEventsCallback
|
|
1186
|
+
* @param {String} error Error message, if any.
|
|
1187
|
+
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1188
|
+
* @param {String} response The complete HTTP response.
|
|
1189
|
+
*/
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Get Events
|
|
1193
|
+
* Returns a listing of meeting events contained in or attached to this object
|
|
1194
|
+
* @param {Number} id The id of the object that we are retrieving events for
|
|
1195
|
+
* @param {Object} opts Optional parameters
|
|
1196
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1197
|
+
* @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
|
|
1198
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1199
|
+
* @param {module:api/GraphObjectsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1200
|
+
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1201
|
+
*/
|
|
1202
|
+
|
|
1203
|
+
}, {
|
|
1204
|
+
key: "getEvents",
|
|
1205
|
+
value: function getEvents(id, opts, callback) {
|
|
1206
|
+
opts = opts || {};
|
|
1207
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1208
|
+
|
|
1209
|
+
if (id === undefined || id === null) {
|
|
1210
|
+
throw new Error("Missing the required parameter 'id' when calling getEvents");
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
var pathParams = {
|
|
1214
|
+
'id': id
|
|
1215
|
+
};
|
|
1216
|
+
var queryParams = {};
|
|
1217
|
+
var headerParams = {
|
|
1218
|
+
'Authorization': opts['authorization'],
|
|
1219
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1220
|
+
'transactionid': opts['transactionid']
|
|
1221
|
+
};
|
|
1222
|
+
var formParams = {};
|
|
1223
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1224
|
+
var contentTypes = [];
|
|
1225
|
+
var accepts = ['application/json'];
|
|
1226
|
+
var returnType = [_MeetingEvent["default"]];
|
|
1227
|
+
return this.apiClient.callApi('/graph/data/object/{id}/events', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Callback function to receive the result of the getEventsDateRange operation.
|
|
1231
|
+
* @callback module:api/GraphObjectsApi~getEventsDateRangeCallback
|
|
1232
|
+
* @param {String} error Error message, if any.
|
|
1233
|
+
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1234
|
+
* @param {String} response The complete HTTP response.
|
|
1235
|
+
*/
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Get Events Date Range
|
|
1239
|
+
* Returns a listing of meeting events contained in or attached to this object within the specified date range
|
|
1240
|
+
* @param {Number} id The id of the object that we are retrieving events for
|
|
1241
|
+
* @param {Number} startdate The unix epoch time for the start time of the event
|
|
1242
|
+
* @param {Number} enddate The unix epoch time for the end time of the event
|
|
1243
|
+
* @param {Object} opts Optional parameters
|
|
1244
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1245
|
+
* @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
|
|
1246
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1247
|
+
* @param {module:api/GraphObjectsApi~getEventsDateRangeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1248
|
+
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1249
|
+
*/
|
|
1250
|
+
|
|
1251
|
+
}, {
|
|
1252
|
+
key: "getEventsDateRange",
|
|
1253
|
+
value: function getEventsDateRange(id, startdate, enddate, opts, callback) {
|
|
1254
|
+
opts = opts || {};
|
|
1255
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1256
|
+
|
|
1257
|
+
if (id === undefined || id === null) {
|
|
1258
|
+
throw new Error("Missing the required parameter 'id' when calling getEventsDateRange");
|
|
1259
|
+
} // verify the required parameter 'startdate' is set
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
if (startdate === undefined || startdate === null) {
|
|
1263
|
+
throw new Error("Missing the required parameter 'startdate' when calling getEventsDateRange");
|
|
1264
|
+
} // verify the required parameter 'enddate' is set
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
if (enddate === undefined || enddate === null) {
|
|
1268
|
+
throw new Error("Missing the required parameter 'enddate' when calling getEventsDateRange");
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
var pathParams = {
|
|
1272
|
+
'id': id,
|
|
1273
|
+
'startdate': startdate,
|
|
1274
|
+
'enddate': enddate
|
|
1275
|
+
};
|
|
1276
|
+
var queryParams = {};
|
|
1277
|
+
var headerParams = {
|
|
1278
|
+
'Authorization': opts['authorization'],
|
|
1279
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1280
|
+
'transactionid': opts['transactionid']
|
|
1281
|
+
};
|
|
1282
|
+
var formParams = {};
|
|
1283
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1284
|
+
var contentTypes = [];
|
|
1285
|
+
var accepts = ['application/json'];
|
|
1286
|
+
var returnType = [_MeetingEvent["default"]];
|
|
1287
|
+
return this.apiClient.callApi('/graph/data/object/{id}/events/{startdate}:{enddate}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* Callback function to receive the result of the getEventsFuture operation.
|
|
1291
|
+
* @callback module:api/GraphObjectsApi~getEventsFutureCallback
|
|
1292
|
+
* @param {String} error Error message, if any.
|
|
1293
|
+
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1294
|
+
* @param {String} response The complete HTTP response.
|
|
1295
|
+
*/
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* Get Events Future
|
|
1299
|
+
* Returns a listing of future meeting events contained in or attached to this object
|
|
1300
|
+
* @param {Number} id The id of the object that we are retrieving events for
|
|
1301
|
+
* @param {Object} opts Optional parameters
|
|
1302
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1303
|
+
* @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
|
|
1304
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1305
|
+
* @param {module:api/GraphObjectsApi~getEventsFutureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1306
|
+
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1307
|
+
*/
|
|
1308
|
+
|
|
1309
|
+
}, {
|
|
1310
|
+
key: "getEventsFuture",
|
|
1311
|
+
value: function getEventsFuture(id, opts, callback) {
|
|
1312
|
+
opts = opts || {};
|
|
1313
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1314
|
+
|
|
1315
|
+
if (id === undefined || id === null) {
|
|
1316
|
+
throw new Error("Missing the required parameter 'id' when calling getEventsFuture");
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
var pathParams = {
|
|
1320
|
+
'id': id
|
|
1321
|
+
};
|
|
1322
|
+
var queryParams = {};
|
|
1323
|
+
var headerParams = {
|
|
1324
|
+
'Authorization': opts['authorization'],
|
|
1325
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1326
|
+
'transactionid': opts['transactionid']
|
|
1327
|
+
};
|
|
1328
|
+
var formParams = {};
|
|
1329
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1330
|
+
var contentTypes = [];
|
|
1331
|
+
var accepts = ['application/json'];
|
|
1332
|
+
var returnType = [_MeetingEvent["default"]];
|
|
1333
|
+
return this.apiClient.callApi('/graph/data/object/{id}/events/future', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Callback function to receive the result of the getEventsPast operation.
|
|
1337
|
+
* @callback module:api/GraphObjectsApi~getEventsPastCallback
|
|
1338
|
+
* @param {String} error Error message, if any.
|
|
1339
|
+
* @param {Array.<module:model/MeetingEvent>} data The data returned by the service call.
|
|
1340
|
+
* @param {String} response The complete HTTP response.
|
|
1341
|
+
*/
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Get Events
|
|
1345
|
+
* Returns a listing of past meeting events contained in or attached to this object
|
|
1346
|
+
* @param {Number} id The id of the object that we are retrieving events for
|
|
1347
|
+
* @param {Object} opts Optional parameters
|
|
1348
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1349
|
+
* @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
|
|
1350
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1351
|
+
* @param {module:api/GraphObjectsApi~getEventsPastCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1352
|
+
* data is of type: {@link Array.<module:model/MeetingEvent>}
|
|
1353
|
+
*/
|
|
1354
|
+
|
|
1355
|
+
}, {
|
|
1356
|
+
key: "getEventsPast",
|
|
1357
|
+
value: function getEventsPast(id, opts, callback) {
|
|
1358
|
+
opts = opts || {};
|
|
1359
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1360
|
+
|
|
1361
|
+
if (id === undefined || id === null) {
|
|
1362
|
+
throw new Error("Missing the required parameter 'id' when calling getEventsPast");
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
var pathParams = {
|
|
1366
|
+
'id': id
|
|
1367
|
+
};
|
|
1368
|
+
var queryParams = {};
|
|
1369
|
+
var headerParams = {
|
|
1370
|
+
'Authorization': opts['authorization'],
|
|
1371
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1372
|
+
'transactionid': opts['transactionid']
|
|
1373
|
+
};
|
|
1374
|
+
var formParams = {};
|
|
1375
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1376
|
+
var contentTypes = [];
|
|
1377
|
+
var accepts = ['application/json'];
|
|
1378
|
+
var returnType = [_MeetingEvent["default"]];
|
|
1379
|
+
return this.apiClient.callApi('/graph/data/object/{id}/events/past', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Callback function to receive the result of the getFiles operation.
|
|
1383
|
+
* @callback module:api/GraphObjectsApi~getFilesCallback
|
|
1384
|
+
* @param {String} error Error message, if any.
|
|
1385
|
+
* @param {Array.<File>} data The data returned by the service call.
|
|
1386
|
+
* @param {String} response The complete HTTP response.
|
|
1387
|
+
*/
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* @param {Number} id
|
|
1391
|
+
* @param {Object} opts Optional parameters
|
|
1392
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1393
|
+
* @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
|
|
1394
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1395
|
+
* @param {module:api/GraphObjectsApi~getFilesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1396
|
+
* data is of type: {@link Array.<File>}
|
|
1397
|
+
*/
|
|
1398
|
+
|
|
1399
|
+
}, {
|
|
1400
|
+
key: "getFiles",
|
|
1401
|
+
value: function getFiles(id, opts, callback) {
|
|
1402
|
+
opts = opts || {};
|
|
1403
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1404
|
+
|
|
1405
|
+
if (id === undefined || id === null) {
|
|
1406
|
+
throw new Error("Missing the required parameter 'id' when calling getFiles");
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
var pathParams = {
|
|
1410
|
+
'id': id
|
|
1411
|
+
};
|
|
1412
|
+
var queryParams = {};
|
|
1413
|
+
var headerParams = {
|
|
1414
|
+
'Authorization': opts['authorization'],
|
|
1415
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1416
|
+
'transactionid': opts['transactionid']
|
|
1417
|
+
};
|
|
1418
|
+
var formParams = {};
|
|
1419
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1420
|
+
var contentTypes = [];
|
|
1421
|
+
var accepts = ['application/json'];
|
|
1422
|
+
var returnType = [File];
|
|
1423
|
+
return this.apiClient.callApi('/graph/data/object/{id}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Callback function to receive the result of the getGeocodes operation.
|
|
1427
|
+
* @callback module:api/GraphObjectsApi~getGeocodesCallback
|
|
1428
|
+
* @param {String} error Error message, if any.
|
|
1429
|
+
* @param {Array.<module:model/GraphGeocode>} data The data returned by the service call.
|
|
1430
|
+
* @param {String} response The complete HTTP response.
|
|
1431
|
+
*/
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* @param {Number} id The id of the object to retrieve the geolocation information
|
|
1435
|
+
* @param {Object} opts Optional parameters
|
|
1436
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1437
|
+
* @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
|
|
1438
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1439
|
+
* @param {module:api/GraphObjectsApi~getGeocodesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1440
|
+
* data is of type: {@link Array.<module:model/GraphGeocode>}
|
|
1441
|
+
*/
|
|
1442
|
+
|
|
1443
|
+
}, {
|
|
1444
|
+
key: "getGeocodes",
|
|
1445
|
+
value: function getGeocodes(id, opts, callback) {
|
|
1446
|
+
opts = opts || {};
|
|
1447
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1448
|
+
|
|
1449
|
+
if (id === undefined || id === null) {
|
|
1450
|
+
throw new Error("Missing the required parameter 'id' when calling getGeocodes");
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
var pathParams = {
|
|
1454
|
+
'id': id
|
|
1455
|
+
};
|
|
1456
|
+
var queryParams = {};
|
|
1457
|
+
var headerParams = {
|
|
1458
|
+
'Authorization': opts['authorization'],
|
|
1459
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1460
|
+
'transactionid': opts['transactionid']
|
|
1461
|
+
};
|
|
1462
|
+
var formParams = {};
|
|
1463
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1464
|
+
var contentTypes = [];
|
|
1465
|
+
var accepts = ['application/json'];
|
|
1466
|
+
var returnType = [_GraphGeocode["default"]];
|
|
1467
|
+
return this.apiClient.callApi('/graph/data/object/{id}/geocode', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* Callback function to receive the result of the getGraphs operation.
|
|
1471
|
+
* @callback module:api/GraphObjectsApi~getGraphsCallback
|
|
1472
|
+
* @param {String} error Error message, if any.
|
|
1473
|
+
* @param {Array.<module:model/Graph>} data The data returned by the service call.
|
|
1474
|
+
* @param {String} response The complete HTTP response.
|
|
1475
|
+
*/
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @param {Number} id The id of the object whose graphs we are retrieving
|
|
1479
|
+
* @param {Object} opts Optional parameters
|
|
1480
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1481
|
+
* @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
|
|
1482
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1483
|
+
* @param {module:api/GraphObjectsApi~getGraphsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1484
|
+
* data is of type: {@link Array.<module:model/Graph>}
|
|
1485
|
+
*/
|
|
1486
|
+
|
|
1487
|
+
}, {
|
|
1488
|
+
key: "getGraphs",
|
|
1489
|
+
value: function getGraphs(id, opts, callback) {
|
|
1490
|
+
opts = opts || {};
|
|
1491
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1492
|
+
|
|
1493
|
+
if (id === undefined || id === null) {
|
|
1494
|
+
throw new Error("Missing the required parameter 'id' when calling getGraphs");
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
var pathParams = {
|
|
1498
|
+
'id': id
|
|
1499
|
+
};
|
|
1500
|
+
var queryParams = {};
|
|
1501
|
+
var headerParams = {
|
|
1502
|
+
'Authorization': opts['authorization'],
|
|
1503
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1504
|
+
'transactionid': opts['transactionid']
|
|
1505
|
+
};
|
|
1506
|
+
var formParams = {};
|
|
1507
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1508
|
+
var contentTypes = [];
|
|
1509
|
+
var accepts = ['application/json'];
|
|
1510
|
+
var returnType = [_Graph["default"]];
|
|
1511
|
+
return this.apiClient.callApi('/graph/data/object/{id}/graphs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Callback function to receive the result of the getImages operation.
|
|
1515
|
+
* @callback module:api/GraphObjectsApi~getImagesCallback
|
|
1516
|
+
* @param {String} error Error message, if any.
|
|
1517
|
+
* @param {Array.<module:model/Image>} data The data returned by the service call.
|
|
1518
|
+
* @param {String} response The complete HTTP response.
|
|
1519
|
+
*/
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @param {Number} id
|
|
1523
|
+
* @param {Object} opts Optional parameters
|
|
1524
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1525
|
+
* @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
|
|
1526
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1527
|
+
* @param {module:api/GraphObjectsApi~getImagesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1528
|
+
* data is of type: {@link Array.<module:model/Image>}
|
|
1529
|
+
*/
|
|
1530
|
+
|
|
1531
|
+
}, {
|
|
1532
|
+
key: "getImages",
|
|
1533
|
+
value: function getImages(id, opts, callback) {
|
|
1534
|
+
opts = opts || {};
|
|
1535
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1536
|
+
|
|
1537
|
+
if (id === undefined || id === null) {
|
|
1538
|
+
throw new Error("Missing the required parameter 'id' when calling getImages");
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
var pathParams = {
|
|
1542
|
+
'id': id
|
|
1543
|
+
};
|
|
1544
|
+
var queryParams = {};
|
|
1545
|
+
var headerParams = {
|
|
1546
|
+
'Authorization': opts['authorization'],
|
|
1547
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1548
|
+
'transactionid': opts['transactionid']
|
|
1549
|
+
};
|
|
1550
|
+
var formParams = {};
|
|
1551
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1552
|
+
var contentTypes = [];
|
|
1553
|
+
var accepts = ['application/json'];
|
|
1554
|
+
var returnType = [_Image["default"]];
|
|
1555
|
+
return this.apiClient.callApi('/graph/data/object/{id}/images', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1556
|
+
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Callback function to receive the result of the getNewsfeed operation.
|
|
1559
|
+
* @callback module:api/GraphObjectsApi~getNewsfeedCallback
|
|
1560
|
+
* @param {String} error Error message, if any.
|
|
1561
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
1562
|
+
* @param {String} response The complete HTTP response.
|
|
1563
|
+
*/
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
1567
|
+
* @param {Object} opts Optional parameters
|
|
1568
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1569
|
+
* @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
|
|
1570
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1571
|
+
* @param {module:api/GraphObjectsApi~getNewsfeedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1572
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
1573
|
+
*/
|
|
1574
|
+
|
|
1575
|
+
}, {
|
|
1576
|
+
key: "getNewsfeed",
|
|
1577
|
+
value: function getNewsfeed(id, opts, callback) {
|
|
1578
|
+
opts = opts || {};
|
|
1579
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1580
|
+
|
|
1581
|
+
if (id === undefined || id === null) {
|
|
1582
|
+
throw new Error("Missing the required parameter 'id' when calling getNewsfeed");
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
var pathParams = {
|
|
1586
|
+
'id': id
|
|
1587
|
+
};
|
|
1588
|
+
var queryParams = {};
|
|
1589
|
+
var headerParams = {
|
|
1590
|
+
'Authorization': opts['authorization'],
|
|
1591
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1592
|
+
'transactionid': opts['transactionid']
|
|
1593
|
+
};
|
|
1594
|
+
var formParams = {};
|
|
1595
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1596
|
+
var contentTypes = [];
|
|
1597
|
+
var accepts = ['application/json'];
|
|
1598
|
+
var returnType = _InlineResponseDefault["default"];
|
|
1599
|
+
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Callback function to receive the result of the getNewsfeedIndexed operation.
|
|
1603
|
+
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedCallback
|
|
1604
|
+
* @param {String} error Error message, if any.
|
|
1605
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
1606
|
+
* @param {String} response The complete HTTP response.
|
|
1607
|
+
*/
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
1611
|
+
* @param {Number} start
|
|
1612
|
+
* @param {Number} end
|
|
1613
|
+
* @param {Object} opts Optional parameters
|
|
1614
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1615
|
+
* @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
|
|
1616
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1617
|
+
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1618
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
1619
|
+
*/
|
|
1620
|
+
|
|
1621
|
+
}, {
|
|
1622
|
+
key: "getNewsfeedIndexed",
|
|
1623
|
+
value: function getNewsfeedIndexed(id, start, end, opts, callback) {
|
|
1624
|
+
opts = opts || {};
|
|
1625
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1626
|
+
|
|
1627
|
+
if (id === undefined || id === null) {
|
|
1628
|
+
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexed");
|
|
1629
|
+
} // verify the required parameter 'start' is set
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
if (start === undefined || start === null) {
|
|
1633
|
+
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexed");
|
|
1634
|
+
} // verify the required parameter 'end' is set
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
if (end === undefined || end === null) {
|
|
1638
|
+
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexed");
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
var pathParams = {
|
|
1642
|
+
'id': id,
|
|
1643
|
+
'start': start,
|
|
1644
|
+
'end': end
|
|
1645
|
+
};
|
|
1646
|
+
var queryParams = {};
|
|
1647
|
+
var headerParams = {
|
|
1648
|
+
'Authorization': opts['authorization'],
|
|
1649
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1650
|
+
'transactionid': opts['transactionid']
|
|
1651
|
+
};
|
|
1652
|
+
var formParams = {};
|
|
1653
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1654
|
+
var contentTypes = [];
|
|
1655
|
+
var accepts = ['application/json'];
|
|
1656
|
+
var returnType = _InlineResponseDefault["default"];
|
|
1657
|
+
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}-{end}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* Callback function to receive the result of the getNewsfeedIndexedStart operation.
|
|
1661
|
+
* @callback module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback
|
|
1662
|
+
* @param {String} error Error message, if any.
|
|
1663
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
1664
|
+
* @param {String} response The complete HTTP response.
|
|
1665
|
+
*/
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* @param {Number} id The id of the object that we are retrieving news feed items for
|
|
1669
|
+
* @param {Number} start
|
|
1670
|
+
* @param {Number} end
|
|
1671
|
+
* @param {Object} opts Optional parameters
|
|
1672
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1673
|
+
* @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
|
|
1674
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1675
|
+
* @param {module:api/GraphObjectsApi~getNewsfeedIndexedStartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1676
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
1677
|
+
*/
|
|
1678
|
+
|
|
1679
|
+
}, {
|
|
1680
|
+
key: "getNewsfeedIndexedStart",
|
|
1681
|
+
value: function getNewsfeedIndexedStart(id, start, end, opts, callback) {
|
|
1682
|
+
opts = opts || {};
|
|
1683
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1684
|
+
|
|
1685
|
+
if (id === undefined || id === null) {
|
|
1686
|
+
throw new Error("Missing the required parameter 'id' when calling getNewsfeedIndexedStart");
|
|
1687
|
+
} // verify the required parameter 'start' is set
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
if (start === undefined || start === null) {
|
|
1691
|
+
throw new Error("Missing the required parameter 'start' when calling getNewsfeedIndexedStart");
|
|
1692
|
+
} // verify the required parameter 'end' is set
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
if (end === undefined || end === null) {
|
|
1696
|
+
throw new Error("Missing the required parameter 'end' when calling getNewsfeedIndexedStart");
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
var pathParams = {
|
|
1700
|
+
'id': id,
|
|
1701
|
+
'start': start,
|
|
1702
|
+
'end': end
|
|
1703
|
+
};
|
|
1704
|
+
var queryParams = {};
|
|
1705
|
+
var headerParams = {
|
|
1706
|
+
'Authorization': opts['authorization'],
|
|
1707
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1708
|
+
'transactionid': opts['transactionid']
|
|
1709
|
+
};
|
|
1710
|
+
var formParams = {};
|
|
1711
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1712
|
+
var contentTypes = [];
|
|
1713
|
+
var accepts = ['application/json'];
|
|
1714
|
+
var returnType = _InlineResponseDefault["default"];
|
|
1715
|
+
return this.apiClient.callApi('/graph/data/object/{id}/newsfeed/{start}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Callback function to receive the result of the getObjectById operation.
|
|
1719
|
+
* @callback module:api/GraphObjectsApi~getObjectByIdCallback
|
|
1720
|
+
* @param {String} error Error message, if any.
|
|
1721
|
+
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
1722
|
+
* @param {String} response The complete HTTP response.
|
|
1723
|
+
*/
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* Gets object by id
|
|
1727
|
+
* @param {Number} id The id of the object that we are retreiving
|
|
1728
|
+
* @param {Object} opts Optional parameters
|
|
1729
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1730
|
+
* @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
|
|
1731
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1732
|
+
* @param {module:api/GraphObjectsApi~getObjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1733
|
+
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1734
|
+
*/
|
|
1735
|
+
|
|
1736
|
+
}, {
|
|
1737
|
+
key: "getObjectById",
|
|
1738
|
+
value: function getObjectById(id, opts, callback) {
|
|
1739
|
+
opts = opts || {};
|
|
1740
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1741
|
+
|
|
1742
|
+
if (id === undefined || id === null) {
|
|
1743
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectById");
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
var pathParams = {
|
|
1747
|
+
'id': id
|
|
1748
|
+
};
|
|
1749
|
+
var queryParams = {};
|
|
1750
|
+
var headerParams = {
|
|
1751
|
+
'Authorization': opts['authorization'],
|
|
1752
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1753
|
+
'transactionid': opts['transactionid']
|
|
1754
|
+
};
|
|
1755
|
+
var formParams = {};
|
|
1756
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1757
|
+
var contentTypes = [];
|
|
1758
|
+
var accepts = ['application/json'];
|
|
1759
|
+
var returnType = _GraphObjectSchema["default"];
|
|
1760
|
+
return this.apiClient.callApi('/graph/data/object/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
* Callback function to receive the result of the getObjectByKey operation.
|
|
1764
|
+
* @callback module:api/GraphObjectsApi~getObjectByKeyCallback
|
|
1765
|
+
* @param {String} error Error message, if any.
|
|
1766
|
+
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
1767
|
+
* @param {String} response The complete HTTP response.
|
|
1768
|
+
*/
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* Get Object By Key
|
|
1772
|
+
* Get An Object By it's key identifier
|
|
1773
|
+
* @param {String} key The unique key of the object we are retrieving
|
|
1774
|
+
* @param {Object} opts Optional parameters
|
|
1775
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1776
|
+
* @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
|
|
1777
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1778
|
+
* @param {module:api/GraphObjectsApi~getObjectByKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1779
|
+
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1780
|
+
*/
|
|
1781
|
+
|
|
1782
|
+
}, {
|
|
1783
|
+
key: "getObjectByKey",
|
|
1784
|
+
value: function getObjectByKey(key, opts, callback) {
|
|
1785
|
+
opts = opts || {};
|
|
1786
|
+
var postBody = null; // verify the required parameter 'key' is set
|
|
1787
|
+
|
|
1788
|
+
if (key === undefined || key === null) {
|
|
1789
|
+
throw new Error("Missing the required parameter 'key' when calling getObjectByKey");
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
var pathParams = {
|
|
1793
|
+
'key': key
|
|
1794
|
+
};
|
|
1795
|
+
var queryParams = {};
|
|
1796
|
+
var headerParams = {
|
|
1797
|
+
'Authorization': opts['authorization'],
|
|
1798
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1799
|
+
'transactionid': opts['transactionid']
|
|
1800
|
+
};
|
|
1801
|
+
var formParams = {};
|
|
1802
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1803
|
+
var contentTypes = [];
|
|
1804
|
+
var accepts = ['application/json'];
|
|
1805
|
+
var returnType = _GraphObjectSchema["default"];
|
|
1806
|
+
return this.apiClient.callApi('/graph/data/object/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Callback function to receive the result of the getObjectFromSchema operation.
|
|
1810
|
+
* @callback module:api/GraphObjectsApi~getObjectFromSchemaCallback
|
|
1811
|
+
* @param {String} error Error message, if any.
|
|
1812
|
+
* @param {module:model/GraphObjectSchema} data The data returned by the service call.
|
|
1813
|
+
* @param {String} response The complete HTTP response.
|
|
1814
|
+
*/
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Get Object From Schema
|
|
1818
|
+
* Get the object representation of the Graph Schema
|
|
1819
|
+
* @param {String} schemakey The unique id of the graph schema we are retrieving
|
|
1820
|
+
* @param {Object} opts Optional parameters
|
|
1821
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1822
|
+
* @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
|
|
1823
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1824
|
+
* @param {module:api/GraphObjectsApi~getObjectFromSchemaCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1825
|
+
* data is of type: {@link module:model/GraphObjectSchema}
|
|
1826
|
+
*/
|
|
1827
|
+
|
|
1828
|
+
}, {
|
|
1829
|
+
key: "getObjectFromSchema",
|
|
1830
|
+
value: function getObjectFromSchema(schemakey, opts, callback) {
|
|
1831
|
+
opts = opts || {};
|
|
1832
|
+
var postBody = null; // verify the required parameter 'schemakey' is set
|
|
1833
|
+
|
|
1834
|
+
if (schemakey === undefined || schemakey === null) {
|
|
1835
|
+
throw new Error("Missing the required parameter 'schemakey' when calling getObjectFromSchema");
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
var pathParams = {
|
|
1839
|
+
'schemakey': schemakey
|
|
1840
|
+
};
|
|
1841
|
+
var queryParams = {};
|
|
1842
|
+
var headerParams = {
|
|
1843
|
+
'Authorization': opts['authorization'],
|
|
1844
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1845
|
+
'transactionid': opts['transactionid']
|
|
1846
|
+
};
|
|
1847
|
+
var formParams = {};
|
|
1848
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1849
|
+
var contentTypes = [];
|
|
1850
|
+
var accepts = ['application/json'];
|
|
1851
|
+
var returnType = _GraphObjectSchema["default"];
|
|
1852
|
+
return this.apiClient.callApi('/graph/data/object/schema/{schemakey}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1853
|
+
}
|
|
1854
|
+
/**
|
|
1855
|
+
* Callback function to receive the result of the getObjectProperties operation.
|
|
1856
|
+
* @callback module:api/GraphObjectsApi~getObjectPropertiesCallback
|
|
1857
|
+
* @param {String} error Error message, if any.
|
|
1858
|
+
* @param {Object.<String, module:model/{String: InlineResponseDefault}>} data The data returned by the service call.
|
|
1859
|
+
* @param {String} response The complete HTTP response.
|
|
1860
|
+
*/
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Get Properties
|
|
1864
|
+
* Get all properties attached to an object
|
|
1865
|
+
* @param {Number} id The id of the object whose properties we are retrieve
|
|
1866
|
+
* @param {Object} opts Optional parameters
|
|
1867
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1868
|
+
* @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
|
|
1869
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1870
|
+
* @param {module:api/GraphObjectsApi~getObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1871
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineResponseDefault}>}
|
|
1872
|
+
*/
|
|
1873
|
+
|
|
1874
|
+
}, {
|
|
1875
|
+
key: "getObjectProperties",
|
|
1876
|
+
value: function getObjectProperties(id, opts, callback) {
|
|
1877
|
+
opts = opts || {};
|
|
1878
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1879
|
+
|
|
1880
|
+
if (id === undefined || id === null) {
|
|
1881
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectProperties");
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
var pathParams = {
|
|
1885
|
+
'id': id
|
|
1886
|
+
};
|
|
1887
|
+
var queryParams = {};
|
|
1888
|
+
var headerParams = {
|
|
1889
|
+
'Authorization': opts['authorization'],
|
|
1890
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1891
|
+
'transactionid': opts['transactionid']
|
|
1892
|
+
};
|
|
1893
|
+
var formParams = {};
|
|
1894
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1895
|
+
var contentTypes = [];
|
|
1896
|
+
var accepts = ['application/json'];
|
|
1897
|
+
var returnType = {
|
|
1898
|
+
'String': _InlineResponseDefault["default"]
|
|
1899
|
+
};
|
|
1900
|
+
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* Callback function to receive the result of the getObjectProperty operation.
|
|
1904
|
+
* @callback module:api/GraphObjectsApi~getObjectPropertyCallback
|
|
1905
|
+
* @param {String} error Error message, if any.
|
|
1906
|
+
* @param {Object.<String, module:model/{String: InlineResponseDefault}>} data The data returned by the service call.
|
|
1907
|
+
* @param {String} response The complete HTTP response.
|
|
1908
|
+
*/
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* Get Property
|
|
1912
|
+
* Get a single property attached to an object
|
|
1913
|
+
* @param {Number} id The id of the object whose properties we are retrieve
|
|
1914
|
+
* @param {String} prop The property is retrieving
|
|
1915
|
+
* @param {Object} opts Optional parameters
|
|
1916
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1917
|
+
* @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
|
|
1918
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1919
|
+
* @param {module:api/GraphObjectsApi~getObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1920
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineResponseDefault}>}
|
|
1921
|
+
*/
|
|
1922
|
+
|
|
1923
|
+
}, {
|
|
1924
|
+
key: "getObjectProperty",
|
|
1925
|
+
value: function getObjectProperty(id, prop, opts, callback) {
|
|
1926
|
+
opts = opts || {};
|
|
1927
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1928
|
+
|
|
1929
|
+
if (id === undefined || id === null) {
|
|
1930
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectProperty");
|
|
1931
|
+
} // verify the required parameter 'prop' is set
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
if (prop === undefined || prop === null) {
|
|
1935
|
+
throw new Error("Missing the required parameter 'prop' when calling getObjectProperty");
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
var pathParams = {
|
|
1939
|
+
'id': id,
|
|
1940
|
+
'prop': prop
|
|
1941
|
+
};
|
|
1942
|
+
var queryParams = {};
|
|
1943
|
+
var headerParams = {
|
|
1944
|
+
'Authorization': opts['authorization'],
|
|
1945
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1946
|
+
'transactionid': opts['transactionid']
|
|
1947
|
+
};
|
|
1948
|
+
var formParams = {};
|
|
1949
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1950
|
+
var contentTypes = [];
|
|
1951
|
+
var accepts = ['application/json'];
|
|
1952
|
+
var returnType = {
|
|
1953
|
+
'String': _InlineResponseDefault["default"]
|
|
1954
|
+
};
|
|
1955
|
+
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Callback function to receive the result of the getObjectsInGraph operation.
|
|
1959
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphCallback
|
|
1960
|
+
* @param {String} error Error message, if any.
|
|
1961
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
1962
|
+
* @param {String} response The complete HTTP response.
|
|
1963
|
+
*/
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Get objects in the graph
|
|
1967
|
+
* @param {Number} id
|
|
1968
|
+
* @param {Object} opts Optional parameters
|
|
1969
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1970
|
+
* @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
|
|
1971
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1972
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1973
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
1974
|
+
*/
|
|
1975
|
+
|
|
1976
|
+
}, {
|
|
1977
|
+
key: "getObjectsInGraph",
|
|
1978
|
+
value: function getObjectsInGraph(id, opts, callback) {
|
|
1979
|
+
opts = opts || {};
|
|
1980
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
1981
|
+
|
|
1982
|
+
if (id === undefined || id === null) {
|
|
1983
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraph");
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
var pathParams = {
|
|
1987
|
+
'id': id
|
|
1988
|
+
};
|
|
1989
|
+
var queryParams = {};
|
|
1990
|
+
var headerParams = {
|
|
1991
|
+
'Authorization': opts['authorization'],
|
|
1992
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1993
|
+
'transactionid': opts['transactionid']
|
|
1994
|
+
};
|
|
1995
|
+
var formParams = {};
|
|
1996
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1997
|
+
var contentTypes = [];
|
|
1998
|
+
var accepts = ['application/json'];
|
|
1999
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2000
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2001
|
+
}
|
|
2002
|
+
/**
|
|
2003
|
+
* Callback function to receive the result of the getObjectsInGraphByTag operation.
|
|
2004
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTagCallback
|
|
2005
|
+
* @param {String} error Error message, if any.
|
|
2006
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2007
|
+
* @param {String} response The complete HTTP response.
|
|
2008
|
+
*/
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Get objects in the graph with the given tag
|
|
2012
|
+
* @param {Number} id
|
|
2013
|
+
* @param {String} tag
|
|
2014
|
+
* @param {Object} opts Optional parameters
|
|
2015
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2016
|
+
* @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
|
|
2017
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2018
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTagCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2019
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2020
|
+
*/
|
|
2021
|
+
|
|
2022
|
+
}, {
|
|
2023
|
+
key: "getObjectsInGraphByTag",
|
|
2024
|
+
value: function getObjectsInGraphByTag(id, tag, opts, callback) {
|
|
2025
|
+
opts = opts || {};
|
|
2026
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2027
|
+
|
|
2028
|
+
if (id === undefined || id === null) {
|
|
2029
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByTag");
|
|
2030
|
+
} // verify the required parameter 'tag' is set
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
if (tag === undefined || tag === null) {
|
|
2034
|
+
throw new Error("Missing the required parameter 'tag' when calling getObjectsInGraphByTag");
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
var pathParams = {
|
|
2038
|
+
'id': id,
|
|
2039
|
+
'tag': tag
|
|
2040
|
+
};
|
|
2041
|
+
var queryParams = {};
|
|
2042
|
+
var headerParams = {
|
|
2043
|
+
'Authorization': opts['authorization'],
|
|
2044
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2045
|
+
'transactionid': opts['transactionid']
|
|
2046
|
+
};
|
|
2047
|
+
var formParams = {};
|
|
2048
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2049
|
+
var contentTypes = [];
|
|
2050
|
+
var accepts = ['application/json'];
|
|
2051
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2052
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects/{tag}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2053
|
+
}
|
|
2054
|
+
/**
|
|
2055
|
+
* Callback function to receive the result of the getObjectsInGraphByType operation.
|
|
2056
|
+
* @callback module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback
|
|
2057
|
+
* @param {String} error Error message, if any.
|
|
2058
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2059
|
+
* @param {String} response The complete HTTP response.
|
|
2060
|
+
*/
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Get objects in the graph with the given object type
|
|
2064
|
+
* @param {Number} id
|
|
2065
|
+
* @param {String} type
|
|
2066
|
+
* @param {Object} opts Optional parameters
|
|
2067
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2068
|
+
* @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
|
|
2069
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2070
|
+
* @param {module:api/GraphObjectsApi~getObjectsInGraphByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2071
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2072
|
+
*/
|
|
2073
|
+
|
|
2074
|
+
}, {
|
|
2075
|
+
key: "getObjectsInGraphByType",
|
|
2076
|
+
value: function getObjectsInGraphByType(id, type, opts, callback) {
|
|
2077
|
+
opts = opts || {};
|
|
2078
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2079
|
+
|
|
2080
|
+
if (id === undefined || id === null) {
|
|
2081
|
+
throw new Error("Missing the required parameter 'id' when calling getObjectsInGraphByType");
|
|
2082
|
+
} // verify the required parameter 'type' is set
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
if (type === undefined || type === null) {
|
|
2086
|
+
throw new Error("Missing the required parameter 'type' when calling getObjectsInGraphByType");
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
var pathParams = {
|
|
2090
|
+
'id': id,
|
|
2091
|
+
'type': type
|
|
2092
|
+
};
|
|
2093
|
+
var queryParams = {};
|
|
2094
|
+
var headerParams = {
|
|
2095
|
+
'Authorization': opts['authorization'],
|
|
2096
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2097
|
+
'transactionid': opts['transactionid']
|
|
2098
|
+
};
|
|
2099
|
+
var formParams = {};
|
|
2100
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2101
|
+
var contentTypes = [];
|
|
2102
|
+
var accepts = ['application/json'];
|
|
2103
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2104
|
+
return this.apiClient.callApi('/graph/data/graph/{id}/objects/:{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2105
|
+
}
|
|
2106
|
+
/**
|
|
2107
|
+
* Callback function to receive the result of the getRelatedObjects operation.
|
|
2108
|
+
* @callback module:api/GraphObjectsApi~getRelatedObjectsCallback
|
|
2109
|
+
* @param {String} error Error message, if any.
|
|
2110
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2111
|
+
* @param {String} response The complete HTTP response.
|
|
2112
|
+
*/
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Get Related Objects
|
|
2116
|
+
* Get Related Objects by relationship type
|
|
2117
|
+
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2118
|
+
* @param {Number} reltypeid The relationship type id
|
|
2119
|
+
* @param {Object} opts Optional parameters
|
|
2120
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2121
|
+
* @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
|
|
2122
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2123
|
+
* @param {module:api/GraphObjectsApi~getRelatedObjectsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2124
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2125
|
+
*/
|
|
2126
|
+
|
|
2127
|
+
}, {
|
|
2128
|
+
key: "getRelatedObjects",
|
|
2129
|
+
value: function getRelatedObjects(objectid, reltypeid, opts, callback) {
|
|
2130
|
+
opts = opts || {};
|
|
2131
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2132
|
+
|
|
2133
|
+
if (objectid === undefined || objectid === null) {
|
|
2134
|
+
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjects");
|
|
2135
|
+
} // verify the required parameter 'reltypeid' is set
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
2139
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjects");
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
var pathParams = {
|
|
2143
|
+
'objectid': objectid,
|
|
2144
|
+
'reltypeid': reltypeid
|
|
2145
|
+
};
|
|
2146
|
+
var queryParams = {};
|
|
2147
|
+
var headerParams = {
|
|
2148
|
+
'Authorization': opts['authorization'],
|
|
2149
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2150
|
+
'transactionid': opts['transactionid']
|
|
2151
|
+
};
|
|
2152
|
+
var formParams = {};
|
|
2153
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2154
|
+
var contentTypes = [];
|
|
2155
|
+
var accepts = ['application/json'];
|
|
2156
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2157
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
* Callback function to receive the result of the getRelatedObjectsIn operation.
|
|
2161
|
+
* @callback module:api/GraphObjectsApi~getRelatedObjectsInCallback
|
|
2162
|
+
* @param {String} error Error message, if any.
|
|
2163
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2164
|
+
* @param {String} response The complete HTTP response.
|
|
2165
|
+
*/
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Get Related Objects
|
|
2169
|
+
* Get Related Objects from incoming relationships by relationship type
|
|
2170
|
+
* @param {Number} objectid The id of the object that we are retreiving related objects from
|
|
2171
|
+
* @param {Number} reltypeid The relationship type id
|
|
2172
|
+
* @param {Object} opts Optional parameters
|
|
2173
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2174
|
+
* @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
|
|
2175
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2176
|
+
* @param {module:api/GraphObjectsApi~getRelatedObjectsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2177
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2178
|
+
*/
|
|
2179
|
+
|
|
2180
|
+
}, {
|
|
2181
|
+
key: "getRelatedObjectsIn",
|
|
2182
|
+
value: function getRelatedObjectsIn(objectid, reltypeid, opts, callback) {
|
|
2183
|
+
opts = opts || {};
|
|
2184
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2185
|
+
|
|
2186
|
+
if (objectid === undefined || objectid === null) {
|
|
2187
|
+
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsIn");
|
|
2188
|
+
} // verify the required parameter 'reltypeid' is set
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
2192
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsIn");
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
var pathParams = {
|
|
2196
|
+
'objectid': objectid,
|
|
2197
|
+
'reltypeid': reltypeid
|
|
2198
|
+
};
|
|
2199
|
+
var queryParams = {};
|
|
2200
|
+
var headerParams = {
|
|
2201
|
+
'Authorization': opts['authorization'],
|
|
2202
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2203
|
+
'transactionid': opts['transactionid']
|
|
2204
|
+
};
|
|
2205
|
+
var formParams = {};
|
|
2206
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2207
|
+
var contentTypes = [];
|
|
2208
|
+
var accepts = ['application/json'];
|
|
2209
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2210
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2211
|
+
}
|
|
2212
|
+
/**
|
|
2213
|
+
* Callback function to receive the result of the getRelatedObjectsOut operation.
|
|
2214
|
+
* @callback module:api/GraphObjectsApi~getRelatedObjectsOutCallback
|
|
2215
|
+
* @param {String} error Error message, if any.
|
|
2216
|
+
* @param {Array.<module:model/GraphObjectSchema>} data The data returned by the service call.
|
|
2217
|
+
* @param {String} response The complete HTTP response.
|
|
2218
|
+
*/
|
|
2219
|
+
|
|
2220
|
+
/**
|
|
2221
|
+
* Get Related Objects
|
|
2222
|
+
* Get Related Objects from outgoing relationships by relationship type
|
|
2223
|
+
* @param {Number} objectid The id of the object that we are retrieving the related objects from
|
|
2224
|
+
* @param {Number} reltypeid The relationship type id
|
|
2225
|
+
* @param {Object} opts Optional parameters
|
|
2226
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2227
|
+
* @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
|
|
2228
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2229
|
+
* @param {module:api/GraphObjectsApi~getRelatedObjectsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2230
|
+
* data is of type: {@link Array.<module:model/GraphObjectSchema>}
|
|
2231
|
+
*/
|
|
2232
|
+
|
|
2233
|
+
}, {
|
|
2234
|
+
key: "getRelatedObjectsOut",
|
|
2235
|
+
value: function getRelatedObjectsOut(objectid, reltypeid, opts, callback) {
|
|
2236
|
+
opts = opts || {};
|
|
2237
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2238
|
+
|
|
2239
|
+
if (objectid === undefined || objectid === null) {
|
|
2240
|
+
throw new Error("Missing the required parameter 'objectid' when calling getRelatedObjectsOut");
|
|
2241
|
+
} // verify the required parameter 'reltypeid' is set
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
2245
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelatedObjectsOut");
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
var pathParams = {
|
|
2249
|
+
'objectid': objectid,
|
|
2250
|
+
'reltypeid': reltypeid
|
|
2251
|
+
};
|
|
2252
|
+
var queryParams = {};
|
|
2253
|
+
var headerParams = {
|
|
2254
|
+
'Authorization': opts['authorization'],
|
|
2255
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2256
|
+
'transactionid': opts['transactionid']
|
|
2257
|
+
};
|
|
2258
|
+
var formParams = {};
|
|
2259
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2260
|
+
var contentTypes = [];
|
|
2261
|
+
var accepts = ['application/json'];
|
|
2262
|
+
var returnType = [_GraphObjectSchema["default"]];
|
|
2263
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relatedobjects/{reltypeid}/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2264
|
+
}
|
|
2265
|
+
/**
|
|
2266
|
+
* Callback function to receive the result of the getRelationshipsByTypeIn operation.
|
|
2267
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeInCallback
|
|
2268
|
+
* @param {String} error Error message, if any.
|
|
2269
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
2270
|
+
* @param {String} response The complete HTTP response.
|
|
2271
|
+
*/
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Get Incoming Relationships By Type
|
|
2275
|
+
* Returns a listing of relationships
|
|
2276
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2277
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2278
|
+
* @param {Object} opts Optional parameters
|
|
2279
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2280
|
+
* @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
|
|
2281
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2282
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2283
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2284
|
+
*/
|
|
2285
|
+
|
|
2286
|
+
}, {
|
|
2287
|
+
key: "getRelationshipsByTypeIn",
|
|
2288
|
+
value: function getRelationshipsByTypeIn(id, reltypeid, opts, callback) {
|
|
2289
|
+
opts = opts || {};
|
|
2290
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2291
|
+
|
|
2292
|
+
if (id === undefined || id === null) {
|
|
2293
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeIn");
|
|
2294
|
+
} // verify the required parameter 'reltypeid' is set
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
2298
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeIn");
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
var pathParams = {
|
|
2302
|
+
'id': id,
|
|
2303
|
+
'reltypeid': reltypeid
|
|
2304
|
+
};
|
|
2305
|
+
var queryParams = {};
|
|
2306
|
+
var headerParams = {
|
|
2307
|
+
'Authorization': opts['authorization'],
|
|
2308
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2309
|
+
'transactionid': opts['transactionid']
|
|
2310
|
+
};
|
|
2311
|
+
var formParams = {};
|
|
2312
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2313
|
+
var contentTypes = [];
|
|
2314
|
+
var accepts = ['application/json'];
|
|
2315
|
+
var returnType = [_GraphRelationship["default"]];
|
|
2316
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
* Callback function to receive the result of the getRelationshipsByTypeOut operation.
|
|
2320
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback
|
|
2321
|
+
* @param {String} error Error message, if any.
|
|
2322
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
2323
|
+
* @param {String} response The complete HTTP response.
|
|
2324
|
+
*/
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Get Outgoing Relationships By Type
|
|
2328
|
+
* Returns a listing of relationships
|
|
2329
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2330
|
+
* @param {Number} reltypeid The id of the relationship type we are searching for
|
|
2331
|
+
* @param {Object} opts Optional parameters
|
|
2332
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2333
|
+
* @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
|
|
2334
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2335
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsByTypeOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2336
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2337
|
+
*/
|
|
2338
|
+
|
|
2339
|
+
}, {
|
|
2340
|
+
key: "getRelationshipsByTypeOut",
|
|
2341
|
+
value: function getRelationshipsByTypeOut(id, reltypeid, opts, callback) {
|
|
2342
|
+
opts = opts || {};
|
|
2343
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2344
|
+
|
|
2345
|
+
if (id === undefined || id === null) {
|
|
2346
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsByTypeOut");
|
|
2347
|
+
} // verify the required parameter 'reltypeid' is set
|
|
2348
|
+
|
|
2349
|
+
|
|
2350
|
+
if (reltypeid === undefined || reltypeid === null) {
|
|
2351
|
+
throw new Error("Missing the required parameter 'reltypeid' when calling getRelationshipsByTypeOut");
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
var pathParams = {
|
|
2355
|
+
'id': id,
|
|
2356
|
+
'reltypeid': reltypeid
|
|
2357
|
+
};
|
|
2358
|
+
var queryParams = {};
|
|
2359
|
+
var headerParams = {
|
|
2360
|
+
'Authorization': opts['authorization'],
|
|
2361
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2362
|
+
'transactionid': opts['transactionid']
|
|
2363
|
+
};
|
|
2364
|
+
var formParams = {};
|
|
2365
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2366
|
+
var contentTypes = [];
|
|
2367
|
+
var accepts = ['application/json'];
|
|
2368
|
+
var returnType = [_GraphRelationship["default"]];
|
|
2369
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out/{reltypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Callback function to receive the result of the getRelationshipsIn operation.
|
|
2373
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsInCallback
|
|
2374
|
+
* @param {String} error Error message, if any.
|
|
2375
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
2376
|
+
* @param {String} response The complete HTTP response.
|
|
2377
|
+
*/
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Get Incoming Relationships
|
|
2381
|
+
* Returns a listing of relationships
|
|
2382
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2383
|
+
* @param {Object} opts Optional parameters
|
|
2384
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2385
|
+
* @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
|
|
2386
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2387
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2388
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2389
|
+
*/
|
|
2390
|
+
|
|
2391
|
+
}, {
|
|
2392
|
+
key: "getRelationshipsIn",
|
|
2393
|
+
value: function getRelationshipsIn(id, opts, callback) {
|
|
2394
|
+
opts = opts || {};
|
|
2395
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2396
|
+
|
|
2397
|
+
if (id === undefined || id === null) {
|
|
2398
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsIn");
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
var pathParams = {
|
|
2402
|
+
'id': id
|
|
2403
|
+
};
|
|
2404
|
+
var queryParams = {};
|
|
2405
|
+
var headerParams = {
|
|
2406
|
+
'Authorization': opts['authorization'],
|
|
2407
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2408
|
+
'transactionid': opts['transactionid']
|
|
2409
|
+
};
|
|
2410
|
+
var formParams = {};
|
|
2411
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2412
|
+
var contentTypes = [];
|
|
2413
|
+
var accepts = ['application/json'];
|
|
2414
|
+
var returnType = [_GraphRelationship["default"]];
|
|
2415
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/in', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
* Callback function to receive the result of the getRelationshipsOut operation.
|
|
2419
|
+
* @callback module:api/GraphObjectsApi~getRelationshipsOutCallback
|
|
2420
|
+
* @param {String} error Error message, if any.
|
|
2421
|
+
* @param {Array.<module:model/GraphRelationship>} data The data returned by the service call.
|
|
2422
|
+
* @param {String} response The complete HTTP response.
|
|
2423
|
+
*/
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* Get Outgoing Relationships
|
|
2427
|
+
* Returns a listing of relationships
|
|
2428
|
+
* @param {Number} id The id of the object that we are retrieving relationships on
|
|
2429
|
+
* @param {Object} opts Optional parameters
|
|
2430
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2431
|
+
* @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
|
|
2432
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2433
|
+
* @param {module:api/GraphObjectsApi~getRelationshipsOutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2434
|
+
* data is of type: {@link Array.<module:model/GraphRelationship>}
|
|
2435
|
+
*/
|
|
2436
|
+
|
|
2437
|
+
}, {
|
|
2438
|
+
key: "getRelationshipsOut",
|
|
2439
|
+
value: function getRelationshipsOut(id, opts, callback) {
|
|
2440
|
+
opts = opts || {};
|
|
2441
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2442
|
+
|
|
2443
|
+
if (id === undefined || id === null) {
|
|
2444
|
+
throw new Error("Missing the required parameter 'id' when calling getRelationshipsOut");
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
var pathParams = {
|
|
2448
|
+
'id': id
|
|
2449
|
+
};
|
|
2450
|
+
var queryParams = {};
|
|
2451
|
+
var headerParams = {
|
|
2452
|
+
'Authorization': opts['authorization'],
|
|
2453
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2454
|
+
'transactionid': opts['transactionid']
|
|
2455
|
+
};
|
|
2456
|
+
var formParams = {};
|
|
2457
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2458
|
+
var contentTypes = [];
|
|
2459
|
+
var accepts = ['application/json'];
|
|
2460
|
+
var returnType = [_GraphRelationship["default"]];
|
|
2461
|
+
return this.apiClient.callApi('/graph/data/object/{id}/relationships/out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2462
|
+
}
|
|
2463
|
+
/**
|
|
2464
|
+
* Callback function to receive the result of the getTags operation.
|
|
2465
|
+
* @callback module:api/GraphObjectsApi~getTagsCallback
|
|
2466
|
+
* @param {String} error Error message, if any.
|
|
2467
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
2468
|
+
* @param {String} response The complete HTTP response.
|
|
2469
|
+
*/
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* @param {Number} id
|
|
2473
|
+
* @param {Object} opts Optional parameters
|
|
2474
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2475
|
+
* @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
|
|
2476
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2477
|
+
* @param {module:api/GraphObjectsApi~getTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2478
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
2479
|
+
*/
|
|
2480
|
+
|
|
2481
|
+
}, {
|
|
2482
|
+
key: "getTags",
|
|
2483
|
+
value: function getTags(id, opts, callback) {
|
|
2484
|
+
opts = opts || {};
|
|
2485
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2486
|
+
|
|
2487
|
+
if (id === undefined || id === null) {
|
|
2488
|
+
throw new Error("Missing the required parameter 'id' when calling getTags");
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
var pathParams = {
|
|
2492
|
+
'id': id
|
|
2493
|
+
};
|
|
2494
|
+
var queryParams = {};
|
|
2495
|
+
var headerParams = {
|
|
2496
|
+
'Authorization': opts['authorization'],
|
|
2497
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2498
|
+
'transactionid': opts['transactionid']
|
|
2499
|
+
};
|
|
2500
|
+
var formParams = {};
|
|
2501
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2502
|
+
var contentTypes = [];
|
|
2503
|
+
var accepts = ['application/json'];
|
|
2504
|
+
var returnType = _InlineResponseDefault["default"];
|
|
2505
|
+
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2506
|
+
}
|
|
2507
|
+
/**
|
|
2508
|
+
* Callback function to receive the result of the getUserTags operation.
|
|
2509
|
+
* @callback module:api/GraphObjectsApi~getUserTagsCallback
|
|
2510
|
+
* @param {String} error Error message, if any.
|
|
2511
|
+
* @param {Array.<String>} data The data returned by the service call.
|
|
2512
|
+
* @param {String} response The complete HTTP response.
|
|
2513
|
+
*/
|
|
2514
|
+
|
|
2515
|
+
/**
|
|
2516
|
+
* @param {Number} id
|
|
2517
|
+
* @param {Object} opts Optional parameters
|
|
2518
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2519
|
+
* @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
|
|
2520
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2521
|
+
* @param {module:api/GraphObjectsApi~getUserTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2522
|
+
* data is of type: {@link Array.<String>}
|
|
2523
|
+
*/
|
|
2524
|
+
|
|
2525
|
+
}, {
|
|
2526
|
+
key: "getUserTags",
|
|
2527
|
+
value: function getUserTags(id, opts, callback) {
|
|
2528
|
+
opts = opts || {};
|
|
2529
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2530
|
+
|
|
2531
|
+
if (id === undefined || id === null) {
|
|
2532
|
+
throw new Error("Missing the required parameter 'id' when calling getUserTags");
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
var pathParams = {
|
|
2536
|
+
'id': id
|
|
2537
|
+
};
|
|
2538
|
+
var queryParams = {};
|
|
2539
|
+
var headerParams = {
|
|
2540
|
+
'Authorization': opts['authorization'],
|
|
2541
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2542
|
+
'transactionid': opts['transactionid']
|
|
2543
|
+
};
|
|
2544
|
+
var formParams = {};
|
|
2545
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2546
|
+
var contentTypes = [];
|
|
2547
|
+
var accepts = ['application/json'];
|
|
2548
|
+
var returnType = ['String'];
|
|
2549
|
+
return this.apiClient.callApi('/graph/data/object/{id}/usertags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2550
|
+
}
|
|
2551
|
+
/**
|
|
2552
|
+
* Callback function to receive the result of the getVideos operation.
|
|
2553
|
+
* @callback module:api/GraphObjectsApi~getVideosCallback
|
|
2554
|
+
* @param {String} error Error message, if any.
|
|
2555
|
+
* @param {Array.<module:model/Video>} data The data returned by the service call.
|
|
2556
|
+
* @param {String} response The complete HTTP response.
|
|
2557
|
+
*/
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* @param {Number} id
|
|
2561
|
+
* @param {Object} opts Optional parameters
|
|
2562
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2563
|
+
* @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
|
|
2564
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2565
|
+
* @param {module:api/GraphObjectsApi~getVideosCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2566
|
+
* data is of type: {@link Array.<module:model/Video>}
|
|
2567
|
+
*/
|
|
2568
|
+
|
|
2569
|
+
}, {
|
|
2570
|
+
key: "getVideos",
|
|
2571
|
+
value: function getVideos(id, opts, callback) {
|
|
2572
|
+
opts = opts || {};
|
|
2573
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
2574
|
+
|
|
2575
|
+
if (id === undefined || id === null) {
|
|
2576
|
+
throw new Error("Missing the required parameter 'id' when calling getVideos");
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
var pathParams = {
|
|
2580
|
+
'id': id
|
|
2581
|
+
};
|
|
2582
|
+
var queryParams = {};
|
|
2583
|
+
var headerParams = {
|
|
2584
|
+
'Authorization': opts['authorization'],
|
|
2585
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2586
|
+
'transactionid': opts['transactionid']
|
|
2587
|
+
};
|
|
2588
|
+
var formParams = {};
|
|
2589
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2590
|
+
var contentTypes = [];
|
|
2591
|
+
var accepts = ['application/json'];
|
|
2592
|
+
var returnType = [_Video["default"]];
|
|
2593
|
+
return this.apiClient.callApi('/graph/data/object/{id}/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* Callback function to receive the result of the isDisliked operation.
|
|
2597
|
+
* @callback module:api/GraphObjectsApi~isDislikedCallback
|
|
2598
|
+
* @param {String} error Error message, if any.
|
|
2599
|
+
* @param {Boolean} data The data returned by the service call.
|
|
2600
|
+
* @param {String} response The complete HTTP response.
|
|
2601
|
+
*/
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* Check if the user has disliked the object
|
|
2605
|
+
* Checks if the user has disliked the object
|
|
2606
|
+
* @param {Number} objectid
|
|
2607
|
+
* @param {Object} opts Optional parameters
|
|
2608
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2609
|
+
* @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
|
|
2610
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2611
|
+
* @param {module:api/GraphObjectsApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2612
|
+
* data is of type: {@link Boolean}
|
|
2613
|
+
*/
|
|
2614
|
+
|
|
2615
|
+
}, {
|
|
2616
|
+
key: "isDisliked",
|
|
2617
|
+
value: function isDisliked(objectid, opts, callback) {
|
|
2618
|
+
opts = opts || {};
|
|
2619
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2620
|
+
|
|
2621
|
+
if (objectid === undefined || objectid === null) {
|
|
2622
|
+
throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
var pathParams = {
|
|
2626
|
+
'objectid': objectid
|
|
2627
|
+
};
|
|
2628
|
+
var queryParams = {};
|
|
2629
|
+
var headerParams = {
|
|
2630
|
+
'Authorization': opts['authorization'],
|
|
2631
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2632
|
+
'transactionid': opts['transactionid']
|
|
2633
|
+
};
|
|
2634
|
+
var formParams = {};
|
|
2635
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2636
|
+
var contentTypes = [];
|
|
2637
|
+
var accepts = ['text/plain'];
|
|
2638
|
+
var returnType = 'Boolean';
|
|
2639
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2640
|
+
}
|
|
2641
|
+
/**
|
|
2642
|
+
* Callback function to receive the result of the isLiked operation.
|
|
2643
|
+
* @callback module:api/GraphObjectsApi~isLikedCallback
|
|
2644
|
+
* @param {String} error Error message, if any.
|
|
2645
|
+
* @param {Boolean} data The data returned by the service call.
|
|
2646
|
+
* @param {String} response The complete HTTP response.
|
|
2647
|
+
*/
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* Check if the user has liked the object
|
|
2651
|
+
* Checks if the user has liked the object
|
|
2652
|
+
* @param {Number} objectid
|
|
2653
|
+
* @param {Object} opts Optional parameters
|
|
2654
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2655
|
+
* @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
|
|
2656
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2657
|
+
* @param {module:api/GraphObjectsApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2658
|
+
* data is of type: {@link Boolean}
|
|
2659
|
+
*/
|
|
2660
|
+
|
|
2661
|
+
}, {
|
|
2662
|
+
key: "isLiked",
|
|
2663
|
+
value: function isLiked(objectid, opts, callback) {
|
|
2664
|
+
opts = opts || {};
|
|
2665
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2666
|
+
|
|
2667
|
+
if (objectid === undefined || objectid === null) {
|
|
2668
|
+
throw new Error("Missing the required parameter 'objectid' when calling isLiked");
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
var pathParams = {
|
|
2672
|
+
'objectid': objectid
|
|
2673
|
+
};
|
|
2674
|
+
var queryParams = {};
|
|
2675
|
+
var headerParams = {
|
|
2676
|
+
'Authorization': opts['authorization'],
|
|
2677
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2678
|
+
'transactionid': opts['transactionid']
|
|
2679
|
+
};
|
|
2680
|
+
var formParams = {};
|
|
2681
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2682
|
+
var contentTypes = [];
|
|
2683
|
+
var accepts = ['text/plain'];
|
|
2684
|
+
var returnType = 'Boolean';
|
|
2685
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* Callback function to receive the result of the like operation.
|
|
2689
|
+
* @callback module:api/GraphObjectsApi~likeCallback
|
|
2690
|
+
* @param {String} error Error message, if any.
|
|
2691
|
+
* @param data This operation does not return a value.
|
|
2692
|
+
* @param {String} response The complete HTTP response.
|
|
2693
|
+
*/
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Like an Object
|
|
2697
|
+
* Likes an object
|
|
2698
|
+
* @param {Number} objectid
|
|
2699
|
+
* @param {Object} opts Optional parameters
|
|
2700
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2701
|
+
* @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
|
|
2702
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2703
|
+
* @param {module:api/GraphObjectsApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2704
|
+
*/
|
|
2705
|
+
|
|
2706
|
+
}, {
|
|
2707
|
+
key: "like",
|
|
2708
|
+
value: function like(objectid, opts, callback) {
|
|
2709
|
+
opts = opts || {};
|
|
2710
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
2711
|
+
|
|
2712
|
+
if (objectid === undefined || objectid === null) {
|
|
2713
|
+
throw new Error("Missing the required parameter 'objectid' when calling like");
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
var pathParams = {
|
|
2717
|
+
'objectid': objectid
|
|
2718
|
+
};
|
|
2719
|
+
var queryParams = {};
|
|
2720
|
+
var headerParams = {
|
|
2721
|
+
'Authorization': opts['authorization'],
|
|
2722
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2723
|
+
'transactionid': opts['transactionid']
|
|
2724
|
+
};
|
|
2725
|
+
var formParams = {};
|
|
2726
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2727
|
+
var contentTypes = [];
|
|
2728
|
+
var accepts = ['*/*'];
|
|
2729
|
+
var returnType = null;
|
|
2730
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2731
|
+
}
|
|
2732
|
+
/**
|
|
2733
|
+
* Callback function to receive the result of the setObjectProperties operation.
|
|
2734
|
+
* @callback module:api/GraphObjectsApi~setObjectPropertiesCallback
|
|
2735
|
+
* @param {String} error Error message, if any.
|
|
2736
|
+
* @param data This operation does not return a value.
|
|
2737
|
+
* @param {String} response The complete HTTP response.
|
|
2738
|
+
*/
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* Set Multiple Properties
|
|
2742
|
+
* Set multiple properties attaced to an object / record
|
|
2743
|
+
* @param {Number} id The id of the object whose properties we are updating
|
|
2744
|
+
* @param {Object.<String, {String: Object}>} requestBody The properties and values to set on the object
|
|
2745
|
+
* @param {Object} opts Optional parameters
|
|
2746
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2747
|
+
* @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
|
|
2748
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2749
|
+
* @param {module:api/GraphObjectsApi~setObjectPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2750
|
+
*/
|
|
2751
|
+
|
|
2752
|
+
}, {
|
|
2753
|
+
key: "setObjectProperties",
|
|
2754
|
+
value: function setObjectProperties(id, requestBody, opts, callback) {
|
|
2755
|
+
opts = opts || {};
|
|
2756
|
+
var postBody = requestBody; // verify the required parameter 'id' is set
|
|
2757
|
+
|
|
2758
|
+
if (id === undefined || id === null) {
|
|
2759
|
+
throw new Error("Missing the required parameter 'id' when calling setObjectProperties");
|
|
2760
|
+
} // verify the required parameter 'requestBody' is set
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
if (requestBody === undefined || requestBody === null) {
|
|
2764
|
+
throw new Error("Missing the required parameter 'requestBody' when calling setObjectProperties");
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
var pathParams = {
|
|
2768
|
+
'id': id
|
|
2769
|
+
};
|
|
2770
|
+
var queryParams = {};
|
|
2771
|
+
var headerParams = {
|
|
2772
|
+
'Authorization': opts['authorization'],
|
|
2773
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2774
|
+
'transactionid': opts['transactionid']
|
|
2775
|
+
};
|
|
2776
|
+
var formParams = {};
|
|
2777
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2778
|
+
var contentTypes = ['application/json'];
|
|
2779
|
+
var accepts = ['application/json'];
|
|
2780
|
+
var returnType = null;
|
|
2781
|
+
return this.apiClient.callApi('/graph/data/object/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2782
|
+
}
|
|
2783
|
+
/**
|
|
2784
|
+
* Callback function to receive the result of the setObjectProperty operation.
|
|
2785
|
+
* @callback module:api/GraphObjectsApi~setObjectPropertyCallback
|
|
2786
|
+
* @param {String} error Error message, if any.
|
|
2787
|
+
* @param data This operation does not return a value.
|
|
2788
|
+
* @param {String} response The complete HTTP response.
|
|
2789
|
+
*/
|
|
2790
|
+
|
|
2791
|
+
/**
|
|
2792
|
+
* Update Property
|
|
2793
|
+
* Update a specific property
|
|
2794
|
+
* @param {Number} id The id of the object whose properties we are updating
|
|
2795
|
+
* @param {String} prop The property being updated
|
|
2796
|
+
* @param {Object} opts Optional parameters
|
|
2797
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2798
|
+
* @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
|
|
2799
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2800
|
+
* @param {String} opts.body The value that is being set
|
|
2801
|
+
* @param {module:api/GraphObjectsApi~setObjectPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2802
|
+
*/
|
|
2803
|
+
|
|
2804
|
+
}, {
|
|
2805
|
+
key: "setObjectProperty",
|
|
2806
|
+
value: function setObjectProperty(id, prop, opts, callback) {
|
|
2807
|
+
opts = opts || {};
|
|
2808
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
2809
|
+
|
|
2810
|
+
if (id === undefined || id === null) {
|
|
2811
|
+
throw new Error("Missing the required parameter 'id' when calling setObjectProperty");
|
|
2812
|
+
} // verify the required parameter 'prop' is set
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
if (prop === undefined || prop === null) {
|
|
2816
|
+
throw new Error("Missing the required parameter 'prop' when calling setObjectProperty");
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
var pathParams = {
|
|
2820
|
+
'id': id,
|
|
2821
|
+
'prop': prop
|
|
2822
|
+
};
|
|
2823
|
+
var queryParams = {};
|
|
2824
|
+
var headerParams = {
|
|
2825
|
+
'Authorization': opts['authorization'],
|
|
2826
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2827
|
+
'transactionid': opts['transactionid']
|
|
2828
|
+
};
|
|
2829
|
+
var formParams = {};
|
|
2830
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2831
|
+
var contentTypes = ['application/json'];
|
|
2832
|
+
var accepts = ['application/json'];
|
|
2833
|
+
var returnType = null;
|
|
2834
|
+
return this.apiClient.callApi('/graph/data/object/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2835
|
+
}
|
|
2836
|
+
/**
|
|
2837
|
+
* Callback function to receive the result of the tagUsers operation.
|
|
2838
|
+
* @callback module:api/GraphObjectsApi~tagUsersCallback
|
|
2839
|
+
* @param {String} error Error message, if any.
|
|
2840
|
+
* @param {Array.<module:model/UserTag>} data The data returned by the service call.
|
|
2841
|
+
* @param {String} response The complete HTTP response.
|
|
2842
|
+
*/
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* @param {Number} id
|
|
2846
|
+
* @param {Object} opts Optional parameters
|
|
2847
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2848
|
+
* @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
|
|
2849
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2850
|
+
* @param {module:model/InlineObject} opts.inlineObject
|
|
2851
|
+
* @param {module:api/GraphObjectsApi~tagUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2852
|
+
* data is of type: {@link Array.<module:model/UserTag>}
|
|
2853
|
+
*/
|
|
2854
|
+
|
|
2855
|
+
}, {
|
|
2856
|
+
key: "tagUsers",
|
|
2857
|
+
value: function tagUsers(id, opts, callback) {
|
|
2858
|
+
opts = opts || {};
|
|
2859
|
+
var postBody = opts['inlineObject']; // verify the required parameter 'id' is set
|
|
2860
|
+
|
|
2861
|
+
if (id === undefined || id === null) {
|
|
2862
|
+
throw new Error("Missing the required parameter 'id' when calling tagUsers");
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
var pathParams = {
|
|
2866
|
+
'id': id
|
|
2867
|
+
};
|
|
2868
|
+
var queryParams = {};
|
|
2869
|
+
var headerParams = {
|
|
2870
|
+
'Authorization': opts['authorization'],
|
|
2871
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2872
|
+
'transactionid': opts['transactionid']
|
|
2873
|
+
};
|
|
2874
|
+
var formParams = {};
|
|
2875
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2876
|
+
var contentTypes = ['application/json'];
|
|
2877
|
+
var accepts = ['application/json'];
|
|
2878
|
+
var returnType = [_UserTag["default"]];
|
|
2879
|
+
return this.apiClient.callApi('/graph/data/object/{id}/tagusers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2880
|
+
}
|
|
2881
|
+
/**
|
|
2882
|
+
* Callback function to receive the result of the updateObject operation.
|
|
2883
|
+
* @callback module:api/GraphObjectsApi~updateObjectCallback
|
|
2884
|
+
* @param {String} error Error message, if any.
|
|
2885
|
+
* @param {module:model/InlineResponseDefault} data The data returned by the service call.
|
|
2886
|
+
* @param {String} response The complete HTTP response.
|
|
2887
|
+
*/
|
|
2888
|
+
|
|
2889
|
+
/**
|
|
2890
|
+
* Update an Object
|
|
2891
|
+
* Performs an update of the Graph Object
|
|
2892
|
+
* @param {Number} id The id of the object that we are updating
|
|
2893
|
+
* @param {module:model/GraphObjectPayload} graphObjectPayload GraphObject data object to update
|
|
2894
|
+
* @param {Object} opts Optional parameters
|
|
2895
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2896
|
+
* @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
|
|
2897
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2898
|
+
* @param {module:api/GraphObjectsApi~updateObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2899
|
+
* data is of type: {@link module:model/InlineResponseDefault}
|
|
2900
|
+
*/
|
|
2901
|
+
|
|
2902
|
+
}, {
|
|
2903
|
+
key: "updateObject",
|
|
2904
|
+
value: function updateObject(id, graphObjectPayload, opts, callback) {
|
|
2905
|
+
opts = opts || {};
|
|
2906
|
+
var postBody = graphObjectPayload; // verify the required parameter 'id' is set
|
|
2907
|
+
|
|
2908
|
+
if (id === undefined || id === null) {
|
|
2909
|
+
throw new Error("Missing the required parameter 'id' when calling updateObject");
|
|
2910
|
+
} // verify the required parameter 'graphObjectPayload' is set
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
if (graphObjectPayload === undefined || graphObjectPayload === null) {
|
|
2914
|
+
throw new Error("Missing the required parameter 'graphObjectPayload' when calling updateObject");
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
var pathParams = {
|
|
2918
|
+
'id': id
|
|
2919
|
+
};
|
|
2920
|
+
var queryParams = {};
|
|
2921
|
+
var headerParams = {
|
|
2922
|
+
'Authorization': opts['authorization'],
|
|
2923
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2924
|
+
'transactionid': opts['transactionid']
|
|
2925
|
+
};
|
|
2926
|
+
var formParams = {};
|
|
2927
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2928
|
+
var contentTypes = [];
|
|
2929
|
+
var accepts = ['application/json'];
|
|
2930
|
+
var returnType = _InlineResponseDefault["default"];
|
|
2931
|
+
return this.apiClient.callApi('/graph/data/object/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2932
|
+
}
|
|
2933
|
+
/**
|
|
2934
|
+
* Callback function to receive the result of the updateTags operation.
|
|
2935
|
+
* @callback module:api/GraphObjectsApi~updateTagsCallback
|
|
2936
|
+
* @param {String} error Error message, if any.
|
|
2937
|
+
* @param data This operation does not return a value.
|
|
2938
|
+
* @param {String} response The complete HTTP response.
|
|
2939
|
+
*/
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* @param {Number} id The id of the object whose tags we are updating
|
|
2943
|
+
* @param {String} body Conversation object or array of objects to create
|
|
2944
|
+
* @param {Object} opts Optional parameters
|
|
2945
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2946
|
+
* @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
|
|
2947
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2948
|
+
* @param {module:api/GraphObjectsApi~updateTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2949
|
+
*/
|
|
2950
|
+
|
|
2951
|
+
}, {
|
|
2952
|
+
key: "updateTags",
|
|
2953
|
+
value: function updateTags(id, body, opts, callback) {
|
|
2954
|
+
opts = opts || {};
|
|
2955
|
+
var postBody = body; // verify the required parameter 'id' is set
|
|
2956
|
+
|
|
2957
|
+
if (id === undefined || id === null) {
|
|
2958
|
+
throw new Error("Missing the required parameter 'id' when calling updateTags");
|
|
2959
|
+
} // verify the required parameter 'body' is set
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
if (body === undefined || body === null) {
|
|
2963
|
+
throw new Error("Missing the required parameter 'body' when calling updateTags");
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
var pathParams = {
|
|
2967
|
+
'id': id
|
|
2968
|
+
};
|
|
2969
|
+
var queryParams = {};
|
|
2970
|
+
var headerParams = {
|
|
2971
|
+
'Authorization': opts['authorization'],
|
|
2972
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
2973
|
+
'transactionid': opts['transactionid']
|
|
2974
|
+
};
|
|
2975
|
+
var formParams = {};
|
|
2976
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
2977
|
+
var contentTypes = ['application/json'];
|
|
2978
|
+
var accepts = ['application/json'];
|
|
2979
|
+
var returnType = null;
|
|
2980
|
+
return this.apiClient.callApi('/graph/data/object/{id}/tags', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
2981
|
+
}
|
|
2982
|
+
/**
|
|
2983
|
+
* Callback function to receive the result of the view operation.
|
|
2984
|
+
* @callback module:api/GraphObjectsApi~viewCallback
|
|
2985
|
+
* @param {String} error Error message, if any.
|
|
2986
|
+
* @param data This operation does not return a value.
|
|
2987
|
+
* @param {String} response The complete HTTP response.
|
|
2988
|
+
*/
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Marks the object as viewed
|
|
2992
|
+
* Marks the object as viewed by the logged in user
|
|
2993
|
+
* @param {Number} objectid The id of the object being viewed
|
|
2994
|
+
* @param {Object} opts Optional parameters
|
|
2995
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
2996
|
+
* @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
|
|
2997
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
2998
|
+
* @param {module:api/GraphObjectsApi~viewCallback} callback The callback function, accepting three arguments: error, data, response
|
|
2999
|
+
*/
|
|
3000
|
+
|
|
3001
|
+
}, {
|
|
3002
|
+
key: "view",
|
|
3003
|
+
value: function view(objectid, opts, callback) {
|
|
3004
|
+
opts = opts || {};
|
|
3005
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
3006
|
+
|
|
3007
|
+
if (objectid === undefined || objectid === null) {
|
|
3008
|
+
throw new Error("Missing the required parameter 'objectid' when calling view");
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
var pathParams = {
|
|
3012
|
+
'objectid': objectid
|
|
3013
|
+
};
|
|
3014
|
+
var queryParams = {};
|
|
3015
|
+
var headerParams = {
|
|
3016
|
+
'Authorization': opts['authorization'],
|
|
3017
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3018
|
+
'transactionid': opts['transactionid']
|
|
3019
|
+
};
|
|
3020
|
+
var formParams = {};
|
|
3021
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3022
|
+
var contentTypes = [];
|
|
3023
|
+
var accepts = ['application/json'];
|
|
3024
|
+
var returnType = null;
|
|
3025
|
+
return this.apiClient.callApi('/graph/data/object/{objectid}/view', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3026
|
+
}
|
|
3027
|
+
/**
|
|
3028
|
+
* Callback function to receive the result of the viewPost operation.
|
|
3029
|
+
* @callback module:api/GraphObjectsApi~viewPostCallback
|
|
3030
|
+
* @param {String} error Error message, if any.
|
|
3031
|
+
* @param data This operation does not return a value.
|
|
3032
|
+
* @param {String} response The complete HTTP response.
|
|
3033
|
+
*/
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Marks the object as viewed (HTTP Post Operation)
|
|
3037
|
+
* Marks the object as viewed by the logged in user
|
|
3038
|
+
* @param {Number} id The id of the object being viewed
|
|
3039
|
+
* @param {Object} opts Optional parameters
|
|
3040
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
3041
|
+
* @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
|
|
3042
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
3043
|
+
* @param {module:api/GraphObjectsApi~viewPostCallback} callback The callback function, accepting three arguments: error, data, response
|
|
3044
|
+
*/
|
|
3045
|
+
|
|
3046
|
+
}, {
|
|
3047
|
+
key: "viewPost",
|
|
3048
|
+
value: function viewPost(id, opts, callback) {
|
|
3049
|
+
opts = opts || {};
|
|
3050
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
3051
|
+
|
|
3052
|
+
if (id === undefined || id === null) {
|
|
3053
|
+
throw new Error("Missing the required parameter 'id' when calling viewPost");
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
var pathParams = {
|
|
3057
|
+
'id': id
|
|
3058
|
+
};
|
|
3059
|
+
var queryParams = {};
|
|
3060
|
+
var headerParams = {
|
|
3061
|
+
'Authorization': opts['authorization'],
|
|
3062
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
3063
|
+
'transactionid': opts['transactionid']
|
|
3064
|
+
};
|
|
3065
|
+
var formParams = {};
|
|
3066
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
3067
|
+
var contentTypes = [];
|
|
3068
|
+
var accepts = ['application/json'];
|
|
3069
|
+
var returnType = null;
|
|
3070
|
+
return this.apiClient.callApi('/graph/data/object/{id}/view', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
3071
|
+
}
|
|
3072
|
+
}]);
|
|
3073
|
+
|
|
3074
|
+
return GraphObjectsApi;
|
|
3075
|
+
}();
|
|
3076
|
+
|
|
3077
|
+
exports["default"] = GraphObjectsApi;
|