@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,670 @@
|
|
|
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 _DocumentPart = _interopRequireDefault(require("../model/DocumentPart"));
|
|
11
|
+
|
|
12
|
+
var _InlineObject = _interopRequireDefault(require("../model/InlineObject4"));
|
|
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
|
+
* EntryParts service.
|
|
24
|
+
* @module api/EntryPartsApi
|
|
25
|
+
* @version 0.1.2
|
|
26
|
+
*/
|
|
27
|
+
var EntryPartsApi = /*#__PURE__*/function () {
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new EntryPartsApi.
|
|
30
|
+
* @alias module:api/EntryPartsApi
|
|
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 EntryPartsApi(apiClient) {
|
|
36
|
+
_classCallCheck(this, EntryPartsApi);
|
|
37
|
+
|
|
38
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Callback function to receive the result of the changeDocPartType operation.
|
|
42
|
+
* @callback module:api/EntryPartsApi~changeDocPartTypeCallback
|
|
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
|
+
* Changes the document part's type
|
|
50
|
+
* @param {Number} docpartid
|
|
51
|
+
* @param {Number} typeid
|
|
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/EntryPartsApi~changeDocPartTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
_createClass(EntryPartsApi, [{
|
|
61
|
+
key: "changeDocPartType",
|
|
62
|
+
value: function changeDocPartType(docpartid, typeid, opts, callback) {
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
var postBody = null; // verify the required parameter 'docpartid' is set
|
|
65
|
+
|
|
66
|
+
if (docpartid === undefined || docpartid === null) {
|
|
67
|
+
throw new Error("Missing the required parameter 'docpartid' when calling changeDocPartType");
|
|
68
|
+
} // verify the required parameter 'typeid' is set
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
if (typeid === undefined || typeid === null) {
|
|
72
|
+
throw new Error("Missing the required parameter 'typeid' when calling changeDocPartType");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
var pathParams = {
|
|
76
|
+
'docpartid': docpartid,
|
|
77
|
+
'typeid': typeid
|
|
78
|
+
};
|
|
79
|
+
var queryParams = {};
|
|
80
|
+
var headerParams = {
|
|
81
|
+
'Authorization': opts['authorization'],
|
|
82
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
83
|
+
'transactionid': opts['transactionid']
|
|
84
|
+
};
|
|
85
|
+
var formParams = {};
|
|
86
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
87
|
+
var contentTypes = [];
|
|
88
|
+
var accepts = ['*/*'];
|
|
89
|
+
var returnType = null;
|
|
90
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/changetype/{typeid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Callback function to receive the result of the copyDocumentPart operation.
|
|
94
|
+
* @callback module:api/EntryPartsApi~copyDocumentPartCallback
|
|
95
|
+
* @param {String} error Error message, if any.
|
|
96
|
+
* @param {module:model/InlineObject4} data The data returned by the service call.
|
|
97
|
+
* @param {String} response The complete HTTP response.
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Create a copy of the document part attached to the same parent document part or Article as the original
|
|
102
|
+
* @param {Number} docpartid
|
|
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/EntryPartsApi~copyDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
108
|
+
* data is of type: {@link module:model/InlineObject4}
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
}, {
|
|
112
|
+
key: "copyDocumentPart",
|
|
113
|
+
value: function copyDocumentPart(docpartid, opts, callback) {
|
|
114
|
+
opts = opts || {};
|
|
115
|
+
var postBody = null; // verify the required parameter 'docpartid' is set
|
|
116
|
+
|
|
117
|
+
if (docpartid === undefined || docpartid === null) {
|
|
118
|
+
throw new Error("Missing the required parameter 'docpartid' when calling copyDocumentPart");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
var pathParams = {
|
|
122
|
+
'docpartid': docpartid
|
|
123
|
+
};
|
|
124
|
+
var queryParams = {};
|
|
125
|
+
var headerParams = {
|
|
126
|
+
'Authorization': opts['authorization'],
|
|
127
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
128
|
+
'transactionid': opts['transactionid']
|
|
129
|
+
};
|
|
130
|
+
var formParams = {};
|
|
131
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
132
|
+
var contentTypes = [];
|
|
133
|
+
var accepts = ['*/*'];
|
|
134
|
+
var returnType = _InlineObject["default"];
|
|
135
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Callback function to receive the result of the createChildDocumentPart operation.
|
|
139
|
+
* @callback module:api/EntryPartsApi~createChildDocumentPartCallback
|
|
140
|
+
* @param {String} error Error message, if any.
|
|
141
|
+
* @param {Array.<module:model/DocumentPart>} data The data returned by the service call.
|
|
142
|
+
* @param {String} response The complete HTTP response.
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Create child document part(s)
|
|
147
|
+
* @param {Number} docpartid
|
|
148
|
+
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
149
|
+
* @param {Object} opts Optional parameters
|
|
150
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
151
|
+
* @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
|
|
152
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
153
|
+
* @param {module:api/EntryPartsApi~createChildDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
154
|
+
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
}, {
|
|
158
|
+
key: "createChildDocumentPart",
|
|
159
|
+
value: function createChildDocumentPart(docpartid, documentPart, opts, callback) {
|
|
160
|
+
opts = opts || {};
|
|
161
|
+
var postBody = documentPart; // verify the required parameter 'docpartid' is set
|
|
162
|
+
|
|
163
|
+
if (docpartid === undefined || docpartid === null) {
|
|
164
|
+
throw new Error("Missing the required parameter 'docpartid' when calling createChildDocumentPart");
|
|
165
|
+
} // verify the required parameter 'documentPart' is set
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
if (documentPart === undefined || documentPart === null) {
|
|
169
|
+
throw new Error("Missing the required parameter 'documentPart' when calling createChildDocumentPart");
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
var pathParams = {
|
|
173
|
+
'docpartid': docpartid
|
|
174
|
+
};
|
|
175
|
+
var queryParams = {};
|
|
176
|
+
var headerParams = {
|
|
177
|
+
'Authorization': opts['authorization'],
|
|
178
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
179
|
+
'transactionid': opts['transactionid']
|
|
180
|
+
};
|
|
181
|
+
var formParams = {};
|
|
182
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
183
|
+
var contentTypes = [];
|
|
184
|
+
var accepts = ['*/*'];
|
|
185
|
+
var returnType = [_DocumentPart["default"]];
|
|
186
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Callback function to receive the result of the createDocumentPart operation.
|
|
190
|
+
* @callback module:api/EntryPartsApi~createDocumentPartCallback
|
|
191
|
+
* @param {String} error Error message, if any.
|
|
192
|
+
* @param {module:model/InlineObject4} data The data returned by the service call.
|
|
193
|
+
* @param {String} response The complete HTTP response.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Create a new document part
|
|
198
|
+
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
199
|
+
* @param {Object} opts Optional parameters
|
|
200
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
201
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
202
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
203
|
+
* @param {module:api/EntryPartsApi~createDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
204
|
+
* data is of type: {@link module:model/InlineObject4}
|
|
205
|
+
*/
|
|
206
|
+
|
|
207
|
+
}, {
|
|
208
|
+
key: "createDocumentPart",
|
|
209
|
+
value: function createDocumentPart(documentPart, opts, callback) {
|
|
210
|
+
opts = opts || {};
|
|
211
|
+
var postBody = documentPart; // verify the required parameter 'documentPart' is set
|
|
212
|
+
|
|
213
|
+
if (documentPart === undefined || documentPart === null) {
|
|
214
|
+
throw new Error("Missing the required parameter 'documentPart' when calling createDocumentPart");
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
var pathParams = {};
|
|
218
|
+
var queryParams = {};
|
|
219
|
+
var headerParams = {
|
|
220
|
+
'Authorization': opts['authorization'],
|
|
221
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
222
|
+
'transactionid': opts['transactionid']
|
|
223
|
+
};
|
|
224
|
+
var formParams = {};
|
|
225
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
226
|
+
var contentTypes = [];
|
|
227
|
+
var accepts = ['*/*'];
|
|
228
|
+
var returnType = _InlineObject["default"];
|
|
229
|
+
return this.apiClient.callApi('/graph/data/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Callback function to receive the result of the deleteDocPart operation.
|
|
233
|
+
* @callback module:api/EntryPartsApi~deleteDocPartCallback
|
|
234
|
+
* @param {String} error Error message, if any.
|
|
235
|
+
* @param data This operation does not return a value.
|
|
236
|
+
* @param {String} response The complete HTTP response.
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Delete Document Part
|
|
241
|
+
* Delete an individual entry part
|
|
242
|
+
* @param {Number} docpartid
|
|
243
|
+
* @param {Object} opts Optional parameters
|
|
244
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
245
|
+
* @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
|
|
246
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
247
|
+
* @param {module:api/EntryPartsApi~deleteDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
248
|
+
*/
|
|
249
|
+
|
|
250
|
+
}, {
|
|
251
|
+
key: "deleteDocPart",
|
|
252
|
+
value: function deleteDocPart(docpartid, opts, callback) {
|
|
253
|
+
opts = opts || {};
|
|
254
|
+
var postBody = null; // verify the required parameter 'docpartid' is set
|
|
255
|
+
|
|
256
|
+
if (docpartid === undefined || docpartid === null) {
|
|
257
|
+
throw new Error("Missing the required parameter 'docpartid' when calling deleteDocPart");
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
var pathParams = {
|
|
261
|
+
'docpartid': docpartid
|
|
262
|
+
};
|
|
263
|
+
var queryParams = {};
|
|
264
|
+
var headerParams = {
|
|
265
|
+
'Authorization': opts['authorization'],
|
|
266
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
267
|
+
'transactionid': opts['transactionid']
|
|
268
|
+
};
|
|
269
|
+
var formParams = {};
|
|
270
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
271
|
+
var contentTypes = [];
|
|
272
|
+
var accepts = ['application/json'];
|
|
273
|
+
var returnType = null;
|
|
274
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Callback function to receive the result of the deleteObject operation.
|
|
278
|
+
* @callback module:api/EntryPartsApi~deleteObjectCallback
|
|
279
|
+
* @param {String} error Error message, if any.
|
|
280
|
+
* @param data This operation does not return a value.
|
|
281
|
+
* @param {String} response The complete HTTP response.
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Delete's the object with the id
|
|
286
|
+
* @param {Number} id The id of the object to delete
|
|
287
|
+
* @param {Object} opts Optional parameters
|
|
288
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
289
|
+
* @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
|
|
290
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
291
|
+
* @param {module:api/EntryPartsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
292
|
+
*/
|
|
293
|
+
|
|
294
|
+
}, {
|
|
295
|
+
key: "deleteObject",
|
|
296
|
+
value: function deleteObject(id, opts, callback) {
|
|
297
|
+
opts = opts || {};
|
|
298
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
299
|
+
|
|
300
|
+
if (id === undefined || id === null) {
|
|
301
|
+
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
var pathParams = {
|
|
305
|
+
'id': id
|
|
306
|
+
};
|
|
307
|
+
var queryParams = {};
|
|
308
|
+
var headerParams = {
|
|
309
|
+
'Authorization': opts['authorization'],
|
|
310
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
311
|
+
'transactionid': opts['transactionid']
|
|
312
|
+
};
|
|
313
|
+
var formParams = {};
|
|
314
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
315
|
+
var contentTypes = [];
|
|
316
|
+
var accepts = ['application/json'];
|
|
317
|
+
var returnType = null;
|
|
318
|
+
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Callback function to receive the result of the get27 operation.
|
|
322
|
+
* @callback module:api/EntryPartsApi~get27Callback
|
|
323
|
+
* @param {String} error Error message, if any.
|
|
324
|
+
* @param data This operation does not return a value.
|
|
325
|
+
* @param {String} response The complete HTTP response.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Root for the API
|
|
330
|
+
* @param {Object} opts Optional parameters
|
|
331
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
332
|
+
* @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
|
|
333
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
334
|
+
* @param {module:api/EntryPartsApi~get27Callback} callback The callback function, accepting three arguments: error, data, response
|
|
335
|
+
*/
|
|
336
|
+
|
|
337
|
+
}, {
|
|
338
|
+
key: "get27",
|
|
339
|
+
value: function get27(opts, callback) {
|
|
340
|
+
opts = opts || {};
|
|
341
|
+
var postBody = null;
|
|
342
|
+
var pathParams = {};
|
|
343
|
+
var queryParams = {};
|
|
344
|
+
var headerParams = {
|
|
345
|
+
'Authorization': opts['authorization'],
|
|
346
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
347
|
+
'transactionid': opts['transactionid']
|
|
348
|
+
};
|
|
349
|
+
var formParams = {};
|
|
350
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
351
|
+
var contentTypes = [];
|
|
352
|
+
var accepts = ['*/*'];
|
|
353
|
+
var returnType = null;
|
|
354
|
+
return this.apiClient.callApi('/graph/data/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Callback function to receive the result of the getChildDocPartByPageNum operation.
|
|
358
|
+
* @callback module:api/EntryPartsApi~getChildDocPartByPageNumCallback
|
|
359
|
+
* @param {String} error Error message, if any.
|
|
360
|
+
* @param {module:model/DocumentPart} data The data returned by the service call.
|
|
361
|
+
* @param {String} response The complete HTTP response.
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Returns the child document part with the given page number
|
|
366
|
+
* @param {Number} id
|
|
367
|
+
* @param {Number} pagenum
|
|
368
|
+
* @param {Object} opts Optional parameters
|
|
369
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
370
|
+
* @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
|
|
371
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
372
|
+
* @param {module:api/EntryPartsApi~getChildDocPartByPageNumCallback} callback The callback function, accepting three arguments: error, data, response
|
|
373
|
+
* data is of type: {@link module:model/DocumentPart}
|
|
374
|
+
*/
|
|
375
|
+
|
|
376
|
+
}, {
|
|
377
|
+
key: "getChildDocPartByPageNum",
|
|
378
|
+
value: function getChildDocPartByPageNum(id, pagenum, opts, callback) {
|
|
379
|
+
opts = opts || {};
|
|
380
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
381
|
+
|
|
382
|
+
if (id === undefined || id === null) {
|
|
383
|
+
throw new Error("Missing the required parameter 'id' when calling getChildDocPartByPageNum");
|
|
384
|
+
} // verify the required parameter 'pagenum' is set
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
if (pagenum === undefined || pagenum === null) {
|
|
388
|
+
throw new Error("Missing the required parameter 'pagenum' when calling getChildDocPartByPageNum");
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
var pathParams = {
|
|
392
|
+
'id': id,
|
|
393
|
+
'pagenum': pagenum
|
|
394
|
+
};
|
|
395
|
+
var queryParams = {};
|
|
396
|
+
var headerParams = {
|
|
397
|
+
'Authorization': opts['authorization'],
|
|
398
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
399
|
+
'transactionid': opts['transactionid']
|
|
400
|
+
};
|
|
401
|
+
var formParams = {};
|
|
402
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
403
|
+
var contentTypes = [];
|
|
404
|
+
var accepts = ['*/*'];
|
|
405
|
+
var returnType = _DocumentPart["default"];
|
|
406
|
+
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Callback function to receive the result of the getDocumentPartById operation.
|
|
410
|
+
* @callback module:api/EntryPartsApi~getDocumentPartByIdCallback
|
|
411
|
+
* @param {String} error Error message, if any.
|
|
412
|
+
* @param {module:model/DocumentPart} data The data returned by the service call.
|
|
413
|
+
* @param {String} response The complete HTTP response.
|
|
414
|
+
*/
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Returns the entrypart with the given id
|
|
418
|
+
* @param {Number} id
|
|
419
|
+
* @param {Object} opts Optional parameters
|
|
420
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
421
|
+
* @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
|
|
422
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
423
|
+
* @param {module:api/EntryPartsApi~getDocumentPartByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
424
|
+
* data is of type: {@link module:model/DocumentPart}
|
|
425
|
+
*/
|
|
426
|
+
|
|
427
|
+
}, {
|
|
428
|
+
key: "getDocumentPartById",
|
|
429
|
+
value: function getDocumentPartById(id, opts, callback) {
|
|
430
|
+
opts = opts || {};
|
|
431
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
432
|
+
|
|
433
|
+
if (id === undefined || id === null) {
|
|
434
|
+
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById");
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
var pathParams = {
|
|
438
|
+
'id': id
|
|
439
|
+
};
|
|
440
|
+
var queryParams = {};
|
|
441
|
+
var headerParams = {
|
|
442
|
+
'Authorization': opts['authorization'],
|
|
443
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
444
|
+
'transactionid': opts['transactionid']
|
|
445
|
+
};
|
|
446
|
+
var formParams = {};
|
|
447
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
448
|
+
var contentTypes = [];
|
|
449
|
+
var accepts = ['application/json'];
|
|
450
|
+
var returnType = _DocumentPart["default"];
|
|
451
|
+
return this.apiClient.callApi('/graph/data/entryparts/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Callback function to receive the result of the getDocumentPartById1 operation.
|
|
455
|
+
* @callback module:api/EntryPartsApi~getDocumentPartById1Callback
|
|
456
|
+
* @param {String} error Error message, if any.
|
|
457
|
+
* @param {Array.<module:model/DocumentPart>} data The data returned by the service call.
|
|
458
|
+
* @param {String} response The complete HTTP response.
|
|
459
|
+
*/
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Returns the entrypart with the given id
|
|
463
|
+
* @param {Number} id
|
|
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/EntryPartsApi~getDocumentPartById1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
469
|
+
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
470
|
+
*/
|
|
471
|
+
|
|
472
|
+
}, {
|
|
473
|
+
key: "getDocumentPartById1",
|
|
474
|
+
value: function getDocumentPartById1(id, opts, callback) {
|
|
475
|
+
opts = opts || {};
|
|
476
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
477
|
+
|
|
478
|
+
if (id === undefined || id === null) {
|
|
479
|
+
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById1");
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
var pathParams = {
|
|
483
|
+
'id': id
|
|
484
|
+
};
|
|
485
|
+
var queryParams = {};
|
|
486
|
+
var headerParams = {
|
|
487
|
+
'Authorization': opts['authorization'],
|
|
488
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
489
|
+
'transactionid': opts['transactionid']
|
|
490
|
+
};
|
|
491
|
+
var formParams = {};
|
|
492
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
493
|
+
var contentTypes = [];
|
|
494
|
+
var accepts = ['*/*'];
|
|
495
|
+
var returnType = [_DocumentPart["default"]];
|
|
496
|
+
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Callback function to receive the result of the moveChildPart operation.
|
|
500
|
+
* @callback module:api/EntryPartsApi~moveChildPartCallback
|
|
501
|
+
* @param {String} error Error message, if any.
|
|
502
|
+
* @param data This operation does not return a value.
|
|
503
|
+
* @param {String} response The complete HTTP response.
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Moves a document part to a new position in it's parent doc part or to a new parent
|
|
508
|
+
* @param {Number} docpartid
|
|
509
|
+
* @param {Number} newdocpartid
|
|
510
|
+
* @param {Number} partindex
|
|
511
|
+
* @param {Object} opts Optional parameters
|
|
512
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
513
|
+
* @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
|
|
514
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
515
|
+
* @param {module:api/EntryPartsApi~moveChildPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
516
|
+
*/
|
|
517
|
+
|
|
518
|
+
}, {
|
|
519
|
+
key: "moveChildPart",
|
|
520
|
+
value: function moveChildPart(docpartid, newdocpartid, partindex, opts, callback) {
|
|
521
|
+
opts = opts || {};
|
|
522
|
+
var postBody = null; // verify the required parameter 'docpartid' is set
|
|
523
|
+
|
|
524
|
+
if (docpartid === undefined || docpartid === null) {
|
|
525
|
+
throw new Error("Missing the required parameter 'docpartid' when calling moveChildPart");
|
|
526
|
+
} // verify the required parameter 'newdocpartid' is set
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
if (newdocpartid === undefined || newdocpartid === null) {
|
|
530
|
+
throw new Error("Missing the required parameter 'newdocpartid' when calling moveChildPart");
|
|
531
|
+
} // verify the required parameter 'partindex' is set
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
if (partindex === undefined || partindex === null) {
|
|
535
|
+
throw new Error("Missing the required parameter 'partindex' when calling moveChildPart");
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
var pathParams = {
|
|
539
|
+
'docpartid': docpartid,
|
|
540
|
+
'newdocpartid': newdocpartid,
|
|
541
|
+
'partindex': partindex
|
|
542
|
+
};
|
|
543
|
+
var queryParams = {};
|
|
544
|
+
var headerParams = {
|
|
545
|
+
'Authorization': opts['authorization'],
|
|
546
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
547
|
+
'transactionid': opts['transactionid']
|
|
548
|
+
};
|
|
549
|
+
var formParams = {};
|
|
550
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
551
|
+
var contentTypes = [];
|
|
552
|
+
var accepts = ['*/*'];
|
|
553
|
+
var returnType = null;
|
|
554
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/entrypart/{newdocpartid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* Callback function to receive the result of the moveDocPart operation.
|
|
558
|
+
* @callback module:api/EntryPartsApi~moveDocPartCallback
|
|
559
|
+
* @param {String} error Error message, if any.
|
|
560
|
+
* @param data This operation does not return a value.
|
|
561
|
+
* @param {String} response The complete HTTP response.
|
|
562
|
+
*/
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Moves a document part to a new position in it's document
|
|
566
|
+
* @param {Number} docpartid
|
|
567
|
+
* @param {Number} articleid
|
|
568
|
+
* @param {Number} partindex
|
|
569
|
+
* @param {Object} opts Optional parameters
|
|
570
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
571
|
+
* @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
|
|
572
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
573
|
+
* @param {module:api/EntryPartsApi~moveDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
574
|
+
*/
|
|
575
|
+
|
|
576
|
+
}, {
|
|
577
|
+
key: "moveDocPart",
|
|
578
|
+
value: function moveDocPart(docpartid, articleid, partindex, opts, callback) {
|
|
579
|
+
opts = opts || {};
|
|
580
|
+
var postBody = null; // verify the required parameter 'docpartid' is set
|
|
581
|
+
|
|
582
|
+
if (docpartid === undefined || docpartid === null) {
|
|
583
|
+
throw new Error("Missing the required parameter 'docpartid' when calling moveDocPart");
|
|
584
|
+
} // verify the required parameter 'articleid' is set
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
if (articleid === undefined || articleid === null) {
|
|
588
|
+
throw new Error("Missing the required parameter 'articleid' when calling moveDocPart");
|
|
589
|
+
} // verify the required parameter 'partindex' is set
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
if (partindex === undefined || partindex === null) {
|
|
593
|
+
throw new Error("Missing the required parameter 'partindex' when calling moveDocPart");
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
var pathParams = {
|
|
597
|
+
'docpartid': docpartid,
|
|
598
|
+
'articleid': articleid,
|
|
599
|
+
'partindex': partindex
|
|
600
|
+
};
|
|
601
|
+
var queryParams = {};
|
|
602
|
+
var headerParams = {
|
|
603
|
+
'Authorization': opts['authorization'],
|
|
604
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
605
|
+
'transactionid': opts['transactionid']
|
|
606
|
+
};
|
|
607
|
+
var formParams = {};
|
|
608
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
609
|
+
var contentTypes = [];
|
|
610
|
+
var accepts = ['*/*'];
|
|
611
|
+
var returnType = null;
|
|
612
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/article/{articleid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Callback function to receive the result of the updateDocumentPart operation.
|
|
616
|
+
* @callback module:api/EntryPartsApi~updateDocumentPartCallback
|
|
617
|
+
* @param {String} error Error message, if any.
|
|
618
|
+
* @param {module:model/DocumentPart} data The data returned by the service call.
|
|
619
|
+
* @param {String} response The complete HTTP response.
|
|
620
|
+
*/
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Updates the document part
|
|
624
|
+
* @param {Number} docpartid
|
|
625
|
+
* @param {module:model/DocumentPart} documentPart Document part or array of document parts to create
|
|
626
|
+
* @param {Object} opts Optional parameters
|
|
627
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
628
|
+
* @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
|
|
629
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
630
|
+
* @param {module:api/EntryPartsApi~updateDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
631
|
+
* data is of type: {@link module:model/DocumentPart}
|
|
632
|
+
*/
|
|
633
|
+
|
|
634
|
+
}, {
|
|
635
|
+
key: "updateDocumentPart",
|
|
636
|
+
value: function updateDocumentPart(docpartid, documentPart, opts, callback) {
|
|
637
|
+
opts = opts || {};
|
|
638
|
+
var postBody = documentPart; // verify the required parameter 'docpartid' is set
|
|
639
|
+
|
|
640
|
+
if (docpartid === undefined || docpartid === null) {
|
|
641
|
+
throw new Error("Missing the required parameter 'docpartid' when calling updateDocumentPart");
|
|
642
|
+
} // verify the required parameter 'documentPart' is set
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
if (documentPart === undefined || documentPart === null) {
|
|
646
|
+
throw new Error("Missing the required parameter 'documentPart' when calling updateDocumentPart");
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
var pathParams = {
|
|
650
|
+
'docpartid': docpartid
|
|
651
|
+
};
|
|
652
|
+
var queryParams = {};
|
|
653
|
+
var headerParams = {
|
|
654
|
+
'Authorization': opts['authorization'],
|
|
655
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
656
|
+
'transactionid': opts['transactionid']
|
|
657
|
+
};
|
|
658
|
+
var formParams = {};
|
|
659
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
660
|
+
var contentTypes = ['application/json'];
|
|
661
|
+
var accepts = ['application/json'];
|
|
662
|
+
var returnType = _DocumentPart["default"];
|
|
663
|
+
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
664
|
+
}
|
|
665
|
+
}]);
|
|
666
|
+
|
|
667
|
+
return EntryPartsApi;
|
|
668
|
+
}();
|
|
669
|
+
|
|
670
|
+
exports["default"] = EntryPartsApi;
|