@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,601 @@
|
|
|
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 _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
11
|
+
|
|
12
|
+
var _InlineObject = _interopRequireDefault(require("../model/InlineObject5"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
|
|
18
|
+
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); } }
|
|
19
|
+
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Likes service.
|
|
24
|
+
* @module api/LikesApi
|
|
25
|
+
* @version 0.1.2
|
|
26
|
+
*/
|
|
27
|
+
var LikesApi = /*#__PURE__*/function () {
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new LikesApi.
|
|
30
|
+
* @alias module:api/LikesApi
|
|
31
|
+
* @class
|
|
32
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
33
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
34
|
+
*/
|
|
35
|
+
function LikesApi(apiClient) {
|
|
36
|
+
_classCallCheck(this, LikesApi);
|
|
37
|
+
|
|
38
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Callback function to receive the result of the deleteAction1 operation.
|
|
42
|
+
* @callback module:api/LikesApi~deleteAction1Callback
|
|
43
|
+
* @param {String} error Error message, if any.
|
|
44
|
+
* @param data This operation does not return a value.
|
|
45
|
+
* @param {String} response The complete HTTP response.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Delete Action
|
|
50
|
+
* Delete an individual action
|
|
51
|
+
* @param {Number} id
|
|
52
|
+
* @param {Object} opts Optional parameters
|
|
53
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
54
|
+
* @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
|
|
55
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
56
|
+
* @param {module:api/LikesApi~deleteAction1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
_createClass(LikesApi, [{
|
|
61
|
+
key: "deleteAction1",
|
|
62
|
+
value: function deleteAction1(id, opts, callback) {
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
65
|
+
|
|
66
|
+
if (id === undefined || id === null) {
|
|
67
|
+
throw new Error("Missing the required parameter 'id' when calling deleteAction1");
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
var pathParams = {
|
|
71
|
+
'id': id
|
|
72
|
+
};
|
|
73
|
+
var queryParams = {};
|
|
74
|
+
var headerParams = {
|
|
75
|
+
'Authorization': opts['authorization'],
|
|
76
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
77
|
+
'transactionid': opts['transactionid']
|
|
78
|
+
};
|
|
79
|
+
var formParams = {};
|
|
80
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
81
|
+
var contentTypes = [];
|
|
82
|
+
var accepts = ['*/*'];
|
|
83
|
+
var returnType = null;
|
|
84
|
+
return this.apiClient.callApi('/graph/data/likes/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Callback function to receive the result of the deleteLike operation.
|
|
88
|
+
* @callback module:api/LikesApi~deleteLikeCallback
|
|
89
|
+
* @param {String} error Error message, if any.
|
|
90
|
+
* @param data This operation does not return a value.
|
|
91
|
+
* @param {String} response The complete HTTP response.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Delete Like
|
|
96
|
+
* Delete an individual like
|
|
97
|
+
* @param {Number} objectid
|
|
98
|
+
* @param {Object} opts Optional parameters
|
|
99
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
100
|
+
* @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
|
|
101
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
102
|
+
* @param {module:api/LikesApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
}, {
|
|
106
|
+
key: "deleteLike",
|
|
107
|
+
value: function deleteLike(objectid, opts, callback) {
|
|
108
|
+
opts = opts || {};
|
|
109
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
110
|
+
|
|
111
|
+
if (objectid === undefined || objectid === null) {
|
|
112
|
+
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
var pathParams = {
|
|
116
|
+
'objectid': objectid
|
|
117
|
+
};
|
|
118
|
+
var queryParams = {};
|
|
119
|
+
var headerParams = {
|
|
120
|
+
'Authorization': opts['authorization'],
|
|
121
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
122
|
+
'transactionid': opts['transactionid']
|
|
123
|
+
};
|
|
124
|
+
var formParams = {};
|
|
125
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
126
|
+
var contentTypes = [];
|
|
127
|
+
var accepts = ['*/*'];
|
|
128
|
+
var returnType = null;
|
|
129
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Callback function to receive the result of the dislike operation.
|
|
133
|
+
* @callback module:api/LikesApi~dislikeCallback
|
|
134
|
+
* @param {String} error Error message, if any.
|
|
135
|
+
* @param data This operation does not return a value.
|
|
136
|
+
* @param {String} response The complete HTTP response.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Dislike an Object
|
|
141
|
+
* Dislike an object
|
|
142
|
+
* @param {Number} objectid
|
|
143
|
+
* @param {Object} opts Optional parameters
|
|
144
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
145
|
+
* @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
|
|
146
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
147
|
+
* @param {module:api/LikesApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
}, {
|
|
151
|
+
key: "dislike",
|
|
152
|
+
value: function dislike(objectid, opts, callback) {
|
|
153
|
+
opts = opts || {};
|
|
154
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
155
|
+
|
|
156
|
+
if (objectid === undefined || objectid === null) {
|
|
157
|
+
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
var pathParams = {
|
|
161
|
+
'objectid': objectid
|
|
162
|
+
};
|
|
163
|
+
var queryParams = {};
|
|
164
|
+
var headerParams = {
|
|
165
|
+
'Authorization': opts['authorization'],
|
|
166
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
167
|
+
'transactionid': opts['transactionid']
|
|
168
|
+
};
|
|
169
|
+
var formParams = {};
|
|
170
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
171
|
+
var contentTypes = [];
|
|
172
|
+
var accepts = ['*/*'];
|
|
173
|
+
var returnType = null;
|
|
174
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Callback function to receive the result of the get37 operation.
|
|
178
|
+
* @callback module:api/LikesApi~get37Callback
|
|
179
|
+
* @param {String} error Error message, if any.
|
|
180
|
+
* @param data This operation does not return a value.
|
|
181
|
+
* @param {String} response The complete HTTP response.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Root for the API
|
|
186
|
+
* @param {Object} opts Optional parameters
|
|
187
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
188
|
+
* @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
|
|
189
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
190
|
+
* @param {module:api/LikesApi~get37Callback} callback The callback function, accepting three arguments: error, data, response
|
|
191
|
+
*/
|
|
192
|
+
|
|
193
|
+
}, {
|
|
194
|
+
key: "get37",
|
|
195
|
+
value: function get37(opts, callback) {
|
|
196
|
+
opts = opts || {};
|
|
197
|
+
var postBody = null;
|
|
198
|
+
var pathParams = {};
|
|
199
|
+
var queryParams = {};
|
|
200
|
+
var headerParams = {
|
|
201
|
+
'Authorization': opts['authorization'],
|
|
202
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
203
|
+
'transactionid': opts['transactionid']
|
|
204
|
+
};
|
|
205
|
+
var formParams = {};
|
|
206
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
207
|
+
var contentTypes = [];
|
|
208
|
+
var accepts = ['*/*'];
|
|
209
|
+
var returnType = null;
|
|
210
|
+
return this.apiClient.callApi('/graph/data/likes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Callback function to receive the result of the getActionById1 operation.
|
|
214
|
+
* @callback module:api/LikesApi~getActionById1Callback
|
|
215
|
+
* @param {String} error Error message, if any.
|
|
216
|
+
* @param {module:model/GraphAction} data The data returned by the service call.
|
|
217
|
+
* @param {String} response The complete HTTP response.
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Gets the action by id
|
|
222
|
+
* @param {Number} id
|
|
223
|
+
* @param {Object} opts Optional parameters
|
|
224
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
225
|
+
* @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
|
|
226
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
227
|
+
* @param {module:api/LikesApi~getActionById1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
228
|
+
* data is of type: {@link module:model/GraphAction}
|
|
229
|
+
*/
|
|
230
|
+
|
|
231
|
+
}, {
|
|
232
|
+
key: "getActionById1",
|
|
233
|
+
value: function getActionById1(id, opts, callback) {
|
|
234
|
+
opts = opts || {};
|
|
235
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
236
|
+
|
|
237
|
+
if (id === undefined || id === null) {
|
|
238
|
+
throw new Error("Missing the required parameter 'id' when calling getActionById1");
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
var pathParams = {
|
|
242
|
+
'id': id
|
|
243
|
+
};
|
|
244
|
+
var queryParams = {};
|
|
245
|
+
var headerParams = {
|
|
246
|
+
'Authorization': opts['authorization'],
|
|
247
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
248
|
+
'transactionid': opts['transactionid']
|
|
249
|
+
};
|
|
250
|
+
var formParams = {};
|
|
251
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
252
|
+
var contentTypes = [];
|
|
253
|
+
var accepts = ['application/json'];
|
|
254
|
+
var returnType = _GraphAction["default"];
|
|
255
|
+
return this.apiClient.callApi('/graph/data/likes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Callback function to receive the result of the getActionProperties1 operation.
|
|
259
|
+
* @callback module:api/LikesApi~getActionProperties1Callback
|
|
260
|
+
* @param {String} error Error message, if any.
|
|
261
|
+
* @param {Object.<String, module:model/{String: InlineObject5}>} data The data returned by the service call.
|
|
262
|
+
* @param {String} response The complete HTTP response.
|
|
263
|
+
*/
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Get Properties
|
|
267
|
+
* Get all properties attached to an action
|
|
268
|
+
* @param {Number} id
|
|
269
|
+
* @param {Object} opts Optional parameters
|
|
270
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
271
|
+
* @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
|
|
272
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
273
|
+
* @param {module:api/LikesApi~getActionProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
274
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineObject5}>}
|
|
275
|
+
*/
|
|
276
|
+
|
|
277
|
+
}, {
|
|
278
|
+
key: "getActionProperties1",
|
|
279
|
+
value: function getActionProperties1(id, opts, callback) {
|
|
280
|
+
opts = opts || {};
|
|
281
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
282
|
+
|
|
283
|
+
if (id === undefined || id === null) {
|
|
284
|
+
throw new Error("Missing the required parameter 'id' when calling getActionProperties1");
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
var pathParams = {
|
|
288
|
+
'id': id
|
|
289
|
+
};
|
|
290
|
+
var queryParams = {};
|
|
291
|
+
var headerParams = {
|
|
292
|
+
'Authorization': opts['authorization'],
|
|
293
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
294
|
+
'transactionid': opts['transactionid']
|
|
295
|
+
};
|
|
296
|
+
var formParams = {};
|
|
297
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
298
|
+
var contentTypes = [];
|
|
299
|
+
var accepts = ['application/json'];
|
|
300
|
+
var returnType = {
|
|
301
|
+
'String': _InlineObject["default"]
|
|
302
|
+
};
|
|
303
|
+
return this.apiClient.callApi('/graph/data/likes/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Callback function to receive the result of the getActionProperty1 operation.
|
|
307
|
+
* @callback module:api/LikesApi~getActionProperty1Callback
|
|
308
|
+
* @param {String} error Error message, if any.
|
|
309
|
+
* @param {Object.<String, module:model/{String: InlineObject5}>} data The data returned by the service call.
|
|
310
|
+
* @param {String} response The complete HTTP response.
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Get Property
|
|
315
|
+
* Get a single property attached to an action
|
|
316
|
+
* @param {Number} id
|
|
317
|
+
* @param {String} prop
|
|
318
|
+
* @param {Object} opts Optional parameters
|
|
319
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
320
|
+
* @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
|
|
321
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
322
|
+
* @param {module:api/LikesApi~getActionProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
323
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineObject5}>}
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
}, {
|
|
327
|
+
key: "getActionProperty1",
|
|
328
|
+
value: function getActionProperty1(id, prop, opts, callback) {
|
|
329
|
+
opts = opts || {};
|
|
330
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
331
|
+
|
|
332
|
+
if (id === undefined || id === null) {
|
|
333
|
+
throw new Error("Missing the required parameter 'id' when calling getActionProperty1");
|
|
334
|
+
} // verify the required parameter 'prop' is set
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
if (prop === undefined || prop === null) {
|
|
338
|
+
throw new Error("Missing the required parameter 'prop' when calling getActionProperty1");
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
var pathParams = {
|
|
342
|
+
'id': id,
|
|
343
|
+
'prop': prop
|
|
344
|
+
};
|
|
345
|
+
var queryParams = {};
|
|
346
|
+
var headerParams = {
|
|
347
|
+
'Authorization': opts['authorization'],
|
|
348
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
349
|
+
'transactionid': opts['transactionid']
|
|
350
|
+
};
|
|
351
|
+
var formParams = {};
|
|
352
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
353
|
+
var contentTypes = [];
|
|
354
|
+
var accepts = ['application/json'];
|
|
355
|
+
var returnType = {
|
|
356
|
+
'String': _InlineObject["default"]
|
|
357
|
+
};
|
|
358
|
+
return this.apiClient.callApi('/graph/data/likes/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* Callback function to receive the result of the isDisliked operation.
|
|
362
|
+
* @callback module:api/LikesApi~isDislikedCallback
|
|
363
|
+
* @param {String} error Error message, if any.
|
|
364
|
+
* @param {Boolean} data The data returned by the service call.
|
|
365
|
+
* @param {String} response The complete HTTP response.
|
|
366
|
+
*/
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Check if the user has disliked the object
|
|
370
|
+
* Checks if the user has disliked the object
|
|
371
|
+
* @param {Number} objectid
|
|
372
|
+
* @param {Object} opts Optional parameters
|
|
373
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
374
|
+
* @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
|
|
375
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
376
|
+
* @param {module:api/LikesApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
377
|
+
* data is of type: {@link Boolean}
|
|
378
|
+
*/
|
|
379
|
+
|
|
380
|
+
}, {
|
|
381
|
+
key: "isDisliked",
|
|
382
|
+
value: function isDisliked(objectid, opts, callback) {
|
|
383
|
+
opts = opts || {};
|
|
384
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
385
|
+
|
|
386
|
+
if (objectid === undefined || objectid === null) {
|
|
387
|
+
throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
var pathParams = {
|
|
391
|
+
'objectid': objectid
|
|
392
|
+
};
|
|
393
|
+
var queryParams = {};
|
|
394
|
+
var headerParams = {
|
|
395
|
+
'Authorization': opts['authorization'],
|
|
396
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
397
|
+
'transactionid': opts['transactionid']
|
|
398
|
+
};
|
|
399
|
+
var formParams = {};
|
|
400
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
401
|
+
var contentTypes = [];
|
|
402
|
+
var accepts = ['text/plain'];
|
|
403
|
+
var returnType = 'Boolean';
|
|
404
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Callback function to receive the result of the isLiked operation.
|
|
408
|
+
* @callback module:api/LikesApi~isLikedCallback
|
|
409
|
+
* @param {String} error Error message, if any.
|
|
410
|
+
* @param {Boolean} data The data returned by the service call.
|
|
411
|
+
* @param {String} response The complete HTTP response.
|
|
412
|
+
*/
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Check if the user has liked the object
|
|
416
|
+
* Checks if the user has liked the object
|
|
417
|
+
* @param {Number} objectid
|
|
418
|
+
* @param {Object} opts Optional parameters
|
|
419
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
420
|
+
* @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
|
|
421
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
422
|
+
* @param {module:api/LikesApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
423
|
+
* data is of type: {@link Boolean}
|
|
424
|
+
*/
|
|
425
|
+
|
|
426
|
+
}, {
|
|
427
|
+
key: "isLiked",
|
|
428
|
+
value: function isLiked(objectid, opts, callback) {
|
|
429
|
+
opts = opts || {};
|
|
430
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
431
|
+
|
|
432
|
+
if (objectid === undefined || objectid === null) {
|
|
433
|
+
throw new Error("Missing the required parameter 'objectid' when calling isLiked");
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
var pathParams = {
|
|
437
|
+
'objectid': objectid
|
|
438
|
+
};
|
|
439
|
+
var queryParams = {};
|
|
440
|
+
var headerParams = {
|
|
441
|
+
'Authorization': opts['authorization'],
|
|
442
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
443
|
+
'transactionid': opts['transactionid']
|
|
444
|
+
};
|
|
445
|
+
var formParams = {};
|
|
446
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
447
|
+
var contentTypes = [];
|
|
448
|
+
var accepts = ['text/plain'];
|
|
449
|
+
var returnType = 'Boolean';
|
|
450
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Callback function to receive the result of the like operation.
|
|
454
|
+
* @callback module:api/LikesApi~likeCallback
|
|
455
|
+
* @param {String} error Error message, if any.
|
|
456
|
+
* @param data This operation does not return a value.
|
|
457
|
+
* @param {String} response The complete HTTP response.
|
|
458
|
+
*/
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Like an Object
|
|
462
|
+
* Likes an object
|
|
463
|
+
* @param {Number} objectid
|
|
464
|
+
* @param {Object} opts Optional parameters
|
|
465
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
466
|
+
* @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
|
|
467
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
468
|
+
* @param {module:api/LikesApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
}, {
|
|
472
|
+
key: "like",
|
|
473
|
+
value: function like(objectid, opts, callback) {
|
|
474
|
+
opts = opts || {};
|
|
475
|
+
var postBody = null; // verify the required parameter 'objectid' is set
|
|
476
|
+
|
|
477
|
+
if (objectid === undefined || objectid === null) {
|
|
478
|
+
throw new Error("Missing the required parameter 'objectid' when calling like");
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
var pathParams = {
|
|
482
|
+
'objectid': objectid
|
|
483
|
+
};
|
|
484
|
+
var queryParams = {};
|
|
485
|
+
var headerParams = {
|
|
486
|
+
'Authorization': opts['authorization'],
|
|
487
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
488
|
+
'transactionid': opts['transactionid']
|
|
489
|
+
};
|
|
490
|
+
var formParams = {};
|
|
491
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
492
|
+
var contentTypes = [];
|
|
493
|
+
var accepts = ['*/*'];
|
|
494
|
+
var returnType = null;
|
|
495
|
+
return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Callback function to receive the result of the setActionProperties1 operation.
|
|
499
|
+
* @callback module:api/LikesApi~setActionProperties1Callback
|
|
500
|
+
* @param {String} error Error message, if any.
|
|
501
|
+
* @param data This operation does not return a value.
|
|
502
|
+
* @param {String} response The complete HTTP response.
|
|
503
|
+
*/
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Set Multiple Properties
|
|
507
|
+
* Set multiple properties attaced to an object / record
|
|
508
|
+
* @param {Number} id
|
|
509
|
+
* @param {Object} opts Optional parameters
|
|
510
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
511
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
512
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
513
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody
|
|
514
|
+
* @param {module:api/LikesApi~setActionProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
515
|
+
*/
|
|
516
|
+
|
|
517
|
+
}, {
|
|
518
|
+
key: "setActionProperties1",
|
|
519
|
+
value: function setActionProperties1(id, opts, callback) {
|
|
520
|
+
opts = opts || {};
|
|
521
|
+
var postBody = opts['requestBody']; // verify the required parameter 'id' is set
|
|
522
|
+
|
|
523
|
+
if (id === undefined || id === null) {
|
|
524
|
+
throw new Error("Missing the required parameter 'id' when calling setActionProperties1");
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
var pathParams = {
|
|
528
|
+
'id': id
|
|
529
|
+
};
|
|
530
|
+
var queryParams = {};
|
|
531
|
+
var headerParams = {
|
|
532
|
+
'Authorization': opts['authorization'],
|
|
533
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
534
|
+
'transactionid': opts['transactionid']
|
|
535
|
+
};
|
|
536
|
+
var formParams = {};
|
|
537
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
538
|
+
var contentTypes = [];
|
|
539
|
+
var accepts = ['*/*'];
|
|
540
|
+
var returnType = null;
|
|
541
|
+
return this.apiClient.callApi('/graph/data/likes/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
542
|
+
}
|
|
543
|
+
/**
|
|
544
|
+
* Callback function to receive the result of the setActionProperty1 operation.
|
|
545
|
+
* @callback module:api/LikesApi~setActionProperty1Callback
|
|
546
|
+
* @param {String} error Error message, if any.
|
|
547
|
+
* @param data This operation does not return a value.
|
|
548
|
+
* @param {String} response The complete HTTP response.
|
|
549
|
+
*/
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Update Property
|
|
553
|
+
* Update a specific property
|
|
554
|
+
* @param {Number} id
|
|
555
|
+
* @param {String} prop
|
|
556
|
+
* @param {Object} opts Optional parameters
|
|
557
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
558
|
+
* @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
|
|
559
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
560
|
+
* @param {String} opts.body
|
|
561
|
+
* @param {module:api/LikesApi~setActionProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
562
|
+
*/
|
|
563
|
+
|
|
564
|
+
}, {
|
|
565
|
+
key: "setActionProperty1",
|
|
566
|
+
value: function setActionProperty1(id, prop, opts, callback) {
|
|
567
|
+
opts = opts || {};
|
|
568
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
569
|
+
|
|
570
|
+
if (id === undefined || id === null) {
|
|
571
|
+
throw new Error("Missing the required parameter 'id' when calling setActionProperty1");
|
|
572
|
+
} // verify the required parameter 'prop' is set
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
if (prop === undefined || prop === null) {
|
|
576
|
+
throw new Error("Missing the required parameter 'prop' when calling setActionProperty1");
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
var pathParams = {
|
|
580
|
+
'id': id,
|
|
581
|
+
'prop': prop
|
|
582
|
+
};
|
|
583
|
+
var queryParams = {};
|
|
584
|
+
var headerParams = {
|
|
585
|
+
'Authorization': opts['authorization'],
|
|
586
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
587
|
+
'transactionid': opts['transactionid']
|
|
588
|
+
};
|
|
589
|
+
var formParams = {};
|
|
590
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
591
|
+
var contentTypes = [];
|
|
592
|
+
var accepts = ['*/*'];
|
|
593
|
+
var returnType = null;
|
|
594
|
+
return this.apiClient.callApi('/graph/data/likes/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
595
|
+
}
|
|
596
|
+
}]);
|
|
597
|
+
|
|
598
|
+
return LikesApi;
|
|
599
|
+
}();
|
|
600
|
+
|
|
601
|
+
exports["default"] = LikesApi;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 _Authorization = _interopRequireDefault(require("../model/Authorization"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
|
|
16
|
+
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); } }
|
|
17
|
+
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* LinkedIN service.
|
|
22
|
+
* @module api/LinkedINApi
|
|
23
|
+
* @version 0.1.2
|
|
24
|
+
*/
|
|
25
|
+
var LinkedINApi = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new LinkedINApi.
|
|
28
|
+
* @alias module:api/LinkedINApi
|
|
29
|
+
* @class
|
|
30
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
31
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
32
|
+
*/
|
|
33
|
+
function LinkedINApi(apiClient) {
|
|
34
|
+
_classCallCheck(this, LinkedINApi);
|
|
35
|
+
|
|
36
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Callback function to receive the result of the loginLinkedIn operation.
|
|
40
|
+
* @callback module:api/LinkedINApi~loginLinkedInCallback
|
|
41
|
+
* @param {String} error Error message, if any.
|
|
42
|
+
* @param {module:model/Authorization} data The data returned by the service call.
|
|
43
|
+
* @param {String} response The complete HTTP response.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @param {Object} opts Optional parameters
|
|
48
|
+
* @param {String} opts.apiKey The Api Key of the client accessing the api
|
|
49
|
+
* @param {String} opts.authorization
|
|
50
|
+
* @param {String} opts.createIfNotUser
|
|
51
|
+
* @param {module:api/LinkedINApi~loginLinkedInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
52
|
+
* data is of type: {@link module:model/Authorization}
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
_createClass(LinkedINApi, [{
|
|
57
|
+
key: "loginLinkedIn",
|
|
58
|
+
value: function loginLinkedIn(opts, callback) {
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
var postBody = null;
|
|
61
|
+
var pathParams = {};
|
|
62
|
+
var queryParams = {};
|
|
63
|
+
var headerParams = {
|
|
64
|
+
'apiKey': opts['apiKey'],
|
|
65
|
+
'Authorization': opts['authorization'],
|
|
66
|
+
'CreateIfNotUser': opts['createIfNotUser']
|
|
67
|
+
};
|
|
68
|
+
var formParams = {};
|
|
69
|
+
var authNames = ['NexusGraphAPIKey'];
|
|
70
|
+
var contentTypes = [];
|
|
71
|
+
var accepts = ['application/json'];
|
|
72
|
+
var returnType = _Authorization["default"];
|
|
73
|
+
return this.apiClient.callApi('/graph/data/auth_linkedin', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
74
|
+
}
|
|
75
|
+
}]);
|
|
76
|
+
|
|
77
|
+
return LinkedINApi;
|
|
78
|
+
}();
|
|
79
|
+
|
|
80
|
+
exports["default"] = LinkedINApi;
|