@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,523 @@
|
|
|
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 _InlineResponseDefault = _interopRequireDefault(require("../model/InlineResponseDefault"));
|
|
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
|
+
* GraphActions service.
|
|
24
|
+
* @module api/GraphActionsApi
|
|
25
|
+
* @version 0.1.2
|
|
26
|
+
*/
|
|
27
|
+
var GraphActionsApi = /*#__PURE__*/function () {
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new GraphActionsApi.
|
|
30
|
+
* @alias module:api/GraphActionsApi
|
|
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 GraphActionsApi(apiClient) {
|
|
36
|
+
_classCallCheck(this, GraphActionsApi);
|
|
37
|
+
|
|
38
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Callback function to receive the result of the createActions operation.
|
|
42
|
+
* @callback module:api/GraphActionsApi~createActionsCallback
|
|
43
|
+
* @param {String} error Error message, if any.
|
|
44
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
45
|
+
* @param {String} response The complete HTTP response.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @param {Number} id The id of the object that we are performing the action on
|
|
50
|
+
* @param {Array.<module:model/GraphAction>} graphAction Conversation object or array of objects to create
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
53
|
+
* @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
|
|
54
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
55
|
+
* @param {module:api/GraphActionsApi~createActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
56
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
_createClass(GraphActionsApi, [{
|
|
61
|
+
key: "createActions",
|
|
62
|
+
value: function createActions(id, graphAction, opts, callback) {
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
var postBody = graphAction; // 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 createActions");
|
|
68
|
+
} // verify the required parameter 'graphAction' is set
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
if (graphAction === undefined || graphAction === null) {
|
|
72
|
+
throw new Error("Missing the required parameter 'graphAction' when calling createActions");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
var pathParams = {
|
|
76
|
+
'id': id
|
|
77
|
+
};
|
|
78
|
+
var queryParams = {};
|
|
79
|
+
var headerParams = {
|
|
80
|
+
'Authorization': opts['authorization'],
|
|
81
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
82
|
+
'transactionid': opts['transactionid']
|
|
83
|
+
};
|
|
84
|
+
var formParams = {};
|
|
85
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
86
|
+
var contentTypes = ['application/json'];
|
|
87
|
+
var accepts = ['application/json'];
|
|
88
|
+
var returnType = [_GraphAction["default"]];
|
|
89
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Callback function to receive the result of the deleteAction operation.
|
|
93
|
+
* @callback module:api/GraphActionsApi~deleteActionCallback
|
|
94
|
+
* @param {String} error Error message, if any.
|
|
95
|
+
* @param data This operation does not return a value.
|
|
96
|
+
* @param {String} response The complete HTTP response.
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Delete Action
|
|
101
|
+
* Delete an individual action
|
|
102
|
+
* @param {Number} id
|
|
103
|
+
* @param {Object} opts Optional parameters
|
|
104
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
105
|
+
* @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
|
|
106
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
107
|
+
* @param {module:api/GraphActionsApi~deleteActionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
}, {
|
|
111
|
+
key: "deleteAction",
|
|
112
|
+
value: function deleteAction(id, opts, callback) {
|
|
113
|
+
opts = opts || {};
|
|
114
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
115
|
+
|
|
116
|
+
if (id === undefined || id === null) {
|
|
117
|
+
throw new Error("Missing the required parameter 'id' when calling deleteAction");
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
var pathParams = {
|
|
121
|
+
'id': id
|
|
122
|
+
};
|
|
123
|
+
var queryParams = {};
|
|
124
|
+
var headerParams = {
|
|
125
|
+
'Authorization': opts['authorization'],
|
|
126
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
127
|
+
'transactionid': opts['transactionid']
|
|
128
|
+
};
|
|
129
|
+
var formParams = {};
|
|
130
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
131
|
+
var contentTypes = [];
|
|
132
|
+
var accepts = ['*/*'];
|
|
133
|
+
var returnType = null;
|
|
134
|
+
return this.apiClient.callApi('/graph/data/action/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Callback function to receive the result of the get4 operation.
|
|
138
|
+
* @callback module:api/GraphActionsApi~get4Callback
|
|
139
|
+
* @param {String} error Error message, if any.
|
|
140
|
+
* @param data This operation does not return a value.
|
|
141
|
+
* @param {String} response The complete HTTP response.
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Root for the API
|
|
146
|
+
* @param {Object} opts Optional parameters
|
|
147
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
148
|
+
* @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
|
|
149
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
150
|
+
* @param {module:api/GraphActionsApi~get4Callback} callback The callback function, accepting three arguments: error, data, response
|
|
151
|
+
*/
|
|
152
|
+
|
|
153
|
+
}, {
|
|
154
|
+
key: "get4",
|
|
155
|
+
value: function get4(opts, callback) {
|
|
156
|
+
opts = opts || {};
|
|
157
|
+
var postBody = null;
|
|
158
|
+
var pathParams = {};
|
|
159
|
+
var queryParams = {};
|
|
160
|
+
var headerParams = {
|
|
161
|
+
'Authorization': opts['authorization'],
|
|
162
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
163
|
+
'transactionid': opts['transactionid']
|
|
164
|
+
};
|
|
165
|
+
var formParams = {};
|
|
166
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
167
|
+
var contentTypes = [];
|
|
168
|
+
var accepts = ['*/*'];
|
|
169
|
+
var returnType = null;
|
|
170
|
+
return this.apiClient.callApi('/graph/data/action', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Callback function to receive the result of the getActionById operation.
|
|
174
|
+
* @callback module:api/GraphActionsApi~getActionByIdCallback
|
|
175
|
+
* @param {String} error Error message, if any.
|
|
176
|
+
* @param {module:model/GraphAction} data The data returned by the service call.
|
|
177
|
+
* @param {String} response The complete HTTP response.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Gets the action by id
|
|
182
|
+
* @param {Number} id
|
|
183
|
+
* @param {Object} opts Optional parameters
|
|
184
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
185
|
+
* @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
|
|
186
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
187
|
+
* @param {module:api/GraphActionsApi~getActionByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
188
|
+
* data is of type: {@link module:model/GraphAction}
|
|
189
|
+
*/
|
|
190
|
+
|
|
191
|
+
}, {
|
|
192
|
+
key: "getActionById",
|
|
193
|
+
value: function getActionById(id, opts, callback) {
|
|
194
|
+
opts = opts || {};
|
|
195
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
196
|
+
|
|
197
|
+
if (id === undefined || id === null) {
|
|
198
|
+
throw new Error("Missing the required parameter 'id' when calling getActionById");
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
var pathParams = {
|
|
202
|
+
'id': id
|
|
203
|
+
};
|
|
204
|
+
var queryParams = {};
|
|
205
|
+
var headerParams = {
|
|
206
|
+
'Authorization': opts['authorization'],
|
|
207
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
208
|
+
'transactionid': opts['transactionid']
|
|
209
|
+
};
|
|
210
|
+
var formParams = {};
|
|
211
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
212
|
+
var contentTypes = [];
|
|
213
|
+
var accepts = ['application/json'];
|
|
214
|
+
var returnType = _GraphAction["default"];
|
|
215
|
+
return this.apiClient.callApi('/graph/data/action/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Callback function to receive the result of the getActionProperties operation.
|
|
219
|
+
* @callback module:api/GraphActionsApi~getActionPropertiesCallback
|
|
220
|
+
* @param {String} error Error message, if any.
|
|
221
|
+
* @param {Object.<String, module:model/{String: InlineResponseDefault}>} data The data returned by the service call.
|
|
222
|
+
* @param {String} response The complete HTTP response.
|
|
223
|
+
*/
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Get Properties
|
|
227
|
+
* Get all properties attached to an action
|
|
228
|
+
* @param {Number} id
|
|
229
|
+
* @param {Object} opts Optional parameters
|
|
230
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
231
|
+
* @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
|
|
232
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
233
|
+
* @param {module:api/GraphActionsApi~getActionPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
234
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineResponseDefault}>}
|
|
235
|
+
*/
|
|
236
|
+
|
|
237
|
+
}, {
|
|
238
|
+
key: "getActionProperties",
|
|
239
|
+
value: function getActionProperties(id, opts, callback) {
|
|
240
|
+
opts = opts || {};
|
|
241
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
242
|
+
|
|
243
|
+
if (id === undefined || id === null) {
|
|
244
|
+
throw new Error("Missing the required parameter 'id' when calling getActionProperties");
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
var pathParams = {
|
|
248
|
+
'id': id
|
|
249
|
+
};
|
|
250
|
+
var queryParams = {};
|
|
251
|
+
var headerParams = {
|
|
252
|
+
'Authorization': opts['authorization'],
|
|
253
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
254
|
+
'transactionid': opts['transactionid']
|
|
255
|
+
};
|
|
256
|
+
var formParams = {};
|
|
257
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
258
|
+
var contentTypes = [];
|
|
259
|
+
var accepts = ['application/json'];
|
|
260
|
+
var returnType = {
|
|
261
|
+
'String': _InlineResponseDefault["default"]
|
|
262
|
+
};
|
|
263
|
+
return this.apiClient.callApi('/graph/data/action/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Callback function to receive the result of the getActionProperty operation.
|
|
267
|
+
* @callback module:api/GraphActionsApi~getActionPropertyCallback
|
|
268
|
+
* @param {String} error Error message, if any.
|
|
269
|
+
* @param {Object.<String, module:model/{String: InlineResponseDefault}>} data The data returned by the service call.
|
|
270
|
+
* @param {String} response The complete HTTP response.
|
|
271
|
+
*/
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Get Property
|
|
275
|
+
* Get a single property attached to an action
|
|
276
|
+
* @param {Number} id
|
|
277
|
+
* @param {String} prop
|
|
278
|
+
* @param {Object} opts Optional parameters
|
|
279
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
280
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
281
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
282
|
+
* @param {module:api/GraphActionsApi~getActionPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
283
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineResponseDefault}>}
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
}, {
|
|
287
|
+
key: "getActionProperty",
|
|
288
|
+
value: function getActionProperty(id, prop, opts, callback) {
|
|
289
|
+
opts = opts || {};
|
|
290
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
291
|
+
|
|
292
|
+
if (id === undefined || id === null) {
|
|
293
|
+
throw new Error("Missing the required parameter 'id' when calling getActionProperty");
|
|
294
|
+
} // verify the required parameter 'prop' is set
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
if (prop === undefined || prop === null) {
|
|
298
|
+
throw new Error("Missing the required parameter 'prop' when calling getActionProperty");
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
var pathParams = {
|
|
302
|
+
'id': id,
|
|
303
|
+
'prop': prop
|
|
304
|
+
};
|
|
305
|
+
var queryParams = {};
|
|
306
|
+
var headerParams = {
|
|
307
|
+
'Authorization': opts['authorization'],
|
|
308
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
309
|
+
'transactionid': opts['transactionid']
|
|
310
|
+
};
|
|
311
|
+
var formParams = {};
|
|
312
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
313
|
+
var contentTypes = [];
|
|
314
|
+
var accepts = ['application/json'];
|
|
315
|
+
var returnType = {
|
|
316
|
+
'String': _InlineResponseDefault["default"]
|
|
317
|
+
};
|
|
318
|
+
return this.apiClient.callApi('/graph/data/action/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Callback function to receive the result of the getActions operation.
|
|
322
|
+
* @callback module:api/GraphActionsApi~getActionsCallback
|
|
323
|
+
* @param {String} error Error message, if any.
|
|
324
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
325
|
+
* @param {String} response The complete HTTP response.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Get Actions
|
|
330
|
+
* Get actions attached to an object
|
|
331
|
+
* @param {Number} id The id of the object that we are retrieving actions on
|
|
332
|
+
* @param {Object} opts Optional parameters
|
|
333
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
334
|
+
* @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
|
|
335
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
336
|
+
* @param {module:api/GraphActionsApi~getActionsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
337
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
}, {
|
|
341
|
+
key: "getActions",
|
|
342
|
+
value: function getActions(id, opts, callback) {
|
|
343
|
+
opts = opts || {};
|
|
344
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
345
|
+
|
|
346
|
+
if (id === undefined || id === null) {
|
|
347
|
+
throw new Error("Missing the required parameter 'id' when calling getActions");
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
var pathParams = {
|
|
351
|
+
'id': id
|
|
352
|
+
};
|
|
353
|
+
var queryParams = {};
|
|
354
|
+
var headerParams = {
|
|
355
|
+
'Authorization': opts['authorization'],
|
|
356
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
357
|
+
'transactionid': opts['transactionid']
|
|
358
|
+
};
|
|
359
|
+
var formParams = {};
|
|
360
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
361
|
+
var contentTypes = [];
|
|
362
|
+
var accepts = ['application/json'];
|
|
363
|
+
var returnType = [_GraphAction["default"]];
|
|
364
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Callback function to receive the result of the getActionsByType operation.
|
|
368
|
+
* @callback module:api/GraphActionsApi~getActionsByTypeCallback
|
|
369
|
+
* @param {String} error Error message, if any.
|
|
370
|
+
* @param {Array.<module:model/GraphAction>} data The data returned by the service call.
|
|
371
|
+
* @param {String} response The complete HTTP response.
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Get Actions By Type
|
|
376
|
+
* Get actions attached to an object by type
|
|
377
|
+
* @param {Number} id
|
|
378
|
+
* @param {Number} actiontypeid
|
|
379
|
+
* @param {Object} opts Optional parameters
|
|
380
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
381
|
+
* @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
|
|
382
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
383
|
+
* @param {module:api/GraphActionsApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
384
|
+
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
385
|
+
*/
|
|
386
|
+
|
|
387
|
+
}, {
|
|
388
|
+
key: "getActionsByType",
|
|
389
|
+
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
390
|
+
opts = opts || {};
|
|
391
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
392
|
+
|
|
393
|
+
if (id === undefined || id === null) {
|
|
394
|
+
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
395
|
+
} // verify the required parameter 'actiontypeid' is set
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
if (actiontypeid === undefined || actiontypeid === null) {
|
|
399
|
+
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
var pathParams = {
|
|
403
|
+
'id': id,
|
|
404
|
+
'actiontypeid': actiontypeid
|
|
405
|
+
};
|
|
406
|
+
var queryParams = {};
|
|
407
|
+
var headerParams = {
|
|
408
|
+
'Authorization': opts['authorization'],
|
|
409
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
410
|
+
'transactionid': opts['transactionid']
|
|
411
|
+
};
|
|
412
|
+
var formParams = {};
|
|
413
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
414
|
+
var contentTypes = [];
|
|
415
|
+
var accepts = ['application/json'];
|
|
416
|
+
var returnType = [_GraphAction["default"]];
|
|
417
|
+
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Callback function to receive the result of the setActionProperties operation.
|
|
421
|
+
* @callback module:api/GraphActionsApi~setActionPropertiesCallback
|
|
422
|
+
* @param {String} error Error message, if any.
|
|
423
|
+
* @param data This operation does not return a value.
|
|
424
|
+
* @param {String} response The complete HTTP response.
|
|
425
|
+
*/
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Set Multiple Properties
|
|
429
|
+
* Set multiple properties attaced to an object / record
|
|
430
|
+
* @param {Number} id
|
|
431
|
+
* @param {Object} opts Optional parameters
|
|
432
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
433
|
+
* @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
|
|
434
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
435
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody
|
|
436
|
+
* @param {module:api/GraphActionsApi~setActionPropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
437
|
+
*/
|
|
438
|
+
|
|
439
|
+
}, {
|
|
440
|
+
key: "setActionProperties",
|
|
441
|
+
value: function setActionProperties(id, opts, callback) {
|
|
442
|
+
opts = opts || {};
|
|
443
|
+
var postBody = opts['requestBody']; // verify the required parameter 'id' is set
|
|
444
|
+
|
|
445
|
+
if (id === undefined || id === null) {
|
|
446
|
+
throw new Error("Missing the required parameter 'id' when calling setActionProperties");
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
var pathParams = {
|
|
450
|
+
'id': id
|
|
451
|
+
};
|
|
452
|
+
var queryParams = {};
|
|
453
|
+
var headerParams = {
|
|
454
|
+
'Authorization': opts['authorization'],
|
|
455
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
456
|
+
'transactionid': opts['transactionid']
|
|
457
|
+
};
|
|
458
|
+
var formParams = {};
|
|
459
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
460
|
+
var contentTypes = [];
|
|
461
|
+
var accepts = ['*/*'];
|
|
462
|
+
var returnType = null;
|
|
463
|
+
return this.apiClient.callApi('/graph/data/action/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Callback function to receive the result of the setActionProperty operation.
|
|
467
|
+
* @callback module:api/GraphActionsApi~setActionPropertyCallback
|
|
468
|
+
* @param {String} error Error message, if any.
|
|
469
|
+
* @param data This operation does not return a value.
|
|
470
|
+
* @param {String} response The complete HTTP response.
|
|
471
|
+
*/
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Update Property
|
|
475
|
+
* Update a specific property
|
|
476
|
+
* @param {Number} id
|
|
477
|
+
* @param {String} prop
|
|
478
|
+
* @param {Object} opts Optional parameters
|
|
479
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
480
|
+
* @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
|
|
481
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
482
|
+
* @param {String} opts.body
|
|
483
|
+
* @param {module:api/GraphActionsApi~setActionPropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
484
|
+
*/
|
|
485
|
+
|
|
486
|
+
}, {
|
|
487
|
+
key: "setActionProperty",
|
|
488
|
+
value: function setActionProperty(id, prop, opts, callback) {
|
|
489
|
+
opts = opts || {};
|
|
490
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
491
|
+
|
|
492
|
+
if (id === undefined || id === null) {
|
|
493
|
+
throw new Error("Missing the required parameter 'id' when calling setActionProperty");
|
|
494
|
+
} // verify the required parameter 'prop' is set
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
if (prop === undefined || prop === null) {
|
|
498
|
+
throw new Error("Missing the required parameter 'prop' when calling setActionProperty");
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
var pathParams = {
|
|
502
|
+
'id': id,
|
|
503
|
+
'prop': prop
|
|
504
|
+
};
|
|
505
|
+
var queryParams = {};
|
|
506
|
+
var headerParams = {
|
|
507
|
+
'Authorization': opts['authorization'],
|
|
508
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
509
|
+
'transactionid': opts['transactionid']
|
|
510
|
+
};
|
|
511
|
+
var formParams = {};
|
|
512
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
513
|
+
var contentTypes = [];
|
|
514
|
+
var accepts = ['*/*'];
|
|
515
|
+
var returnType = null;
|
|
516
|
+
return this.apiClient.callApi('/graph/data/action/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
517
|
+
}
|
|
518
|
+
}]);
|
|
519
|
+
|
|
520
|
+
return GraphActionsApi;
|
|
521
|
+
}();
|
|
522
|
+
|
|
523
|
+
exports["default"] = GraphActionsApi;
|