@gobodo/gobodo-api 0.1.4 → 0.1.6
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 +25 -29
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +590 -606
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +100 -116
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +43 -45
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +28 -28
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +67 -47
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +73 -61
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +122 -85
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +129 -84
- package/dist/model/DocumentPartType.js +67 -40
- package/dist/model/DocumentType.js +77 -54
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +93 -108
- package/dist/model/File.js +58 -44
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +77 -69
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +86 -36
- package/dist/model/GraphObjectSchema.js +90 -62
- package/dist/model/GraphObjectType.js +91 -67
- package/dist/model/GraphObjectTypeSchema.js +110 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +89 -69
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +79 -61
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +63 -35
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +108 -68
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +43 -30
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +104 -64
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +79 -65
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +38 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +93 -108
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +108 -68
- package/dist/model/UserDataPayload.js +108 -68
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +108 -68
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +104 -85
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +122 -98
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
|
@@ -4,31 +4,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _Document = _interopRequireDefault(require("../model/Document"));
|
|
11
|
-
|
|
12
9
|
var _DocumentPart = _interopRequireDefault(require("../model/DocumentPart"));
|
|
13
|
-
|
|
14
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject4"));
|
|
15
|
-
|
|
10
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
16
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
19
|
-
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
15
|
+
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
19
|
+
* Gobodo API
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.6
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
26
30
|
/**
|
|
27
31
|
* ContentManagement service.
|
|
28
32
|
* @module api/ContentManagementApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
30
34
|
*/
|
|
31
|
-
var ContentManagementApi = /*#__PURE__*/function () {
|
|
35
|
+
var ContentManagementApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new ContentManagementApi.
|
|
34
38
|
* @alias module:api/ContentManagementApi
|
|
@@ -38,9 +42,9 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function ContentManagementApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, ContentManagementApi);
|
|
41
|
-
|
|
42
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
46
|
}
|
|
47
|
+
|
|
44
48
|
/**
|
|
45
49
|
* Callback function to receive the result of the addDocumentPart operation.
|
|
46
50
|
* @callback module:api/ContentManagementApi~addDocumentPartCallback
|
|
@@ -54,29 +58,25 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
54
58
|
* @param {Number} docid
|
|
55
59
|
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
56
60
|
* @param {Object} opts Optional parameters
|
|
57
|
-
* @param {String}
|
|
58
|
-
* @param {Number}
|
|
59
|
-
* @param {String}
|
|
61
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
62
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
63
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
60
64
|
* @param {module:api/ContentManagementApi~addDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
65
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
62
66
|
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
67
|
_createClass(ContentManagementApi, [{
|
|
66
68
|
key: "addDocumentPart",
|
|
67
69
|
value: function addDocumentPart(docid, documentPart, opts, callback) {
|
|
68
70
|
opts = opts || {};
|
|
69
|
-
var postBody = documentPart;
|
|
70
|
-
|
|
71
|
+
var postBody = documentPart;
|
|
72
|
+
// verify the required parameter 'docid' is set
|
|
71
73
|
if (docid === undefined || docid === null) {
|
|
72
74
|
throw new Error("Missing the required parameter 'docid' when calling addDocumentPart");
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
}
|
|
76
|
+
// verify the required parameter 'documentPart' is set
|
|
76
77
|
if (documentPart === undefined || documentPart === null) {
|
|
77
78
|
throw new Error("Missing the required parameter 'documentPart' when calling addDocumentPart");
|
|
78
79
|
}
|
|
79
|
-
|
|
80
80
|
var pathParams = {
|
|
81
81
|
'docid': docid
|
|
82
82
|
};
|
|
@@ -93,6 +93,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
93
93
|
var returnType = [_DocumentPart["default"]];
|
|
94
94
|
return this.apiClient.callApi('/graph/data/articles/{docid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
95
95
|
}
|
|
96
|
+
|
|
96
97
|
/**
|
|
97
98
|
* Callback function to receive the result of the changeDocPartType operation.
|
|
98
99
|
* @callback module:api/ContentManagementApi~changeDocPartTypeCallback
|
|
@@ -106,27 +107,24 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
106
107
|
* @param {Number} docpartid
|
|
107
108
|
* @param {Number} typeid
|
|
108
109
|
* @param {Object} opts Optional parameters
|
|
109
|
-
* @param {String}
|
|
110
|
-
* @param {Number}
|
|
111
|
-
* @param {String}
|
|
110
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
111
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
112
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
112
113
|
* @param {module:api/ContentManagementApi~changeDocPartTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
113
114
|
*/
|
|
114
|
-
|
|
115
115
|
}, {
|
|
116
116
|
key: "changeDocPartType",
|
|
117
117
|
value: function changeDocPartType(docpartid, typeid, opts, callback) {
|
|
118
118
|
opts = opts || {};
|
|
119
|
-
var postBody = null;
|
|
120
|
-
|
|
119
|
+
var postBody = null;
|
|
120
|
+
// verify the required parameter 'docpartid' is set
|
|
121
121
|
if (docpartid === undefined || docpartid === null) {
|
|
122
122
|
throw new Error("Missing the required parameter 'docpartid' when calling changeDocPartType");
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
}
|
|
124
|
+
// verify the required parameter 'typeid' is set
|
|
126
125
|
if (typeid === undefined || typeid === null) {
|
|
127
126
|
throw new Error("Missing the required parameter 'typeid' when calling changeDocPartType");
|
|
128
127
|
}
|
|
129
|
-
|
|
130
128
|
var pathParams = {
|
|
131
129
|
'docpartid': docpartid,
|
|
132
130
|
'typeid': typeid
|
|
@@ -144,6 +142,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
144
142
|
var returnType = null;
|
|
145
143
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/changetype/{typeid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
146
144
|
}
|
|
145
|
+
|
|
147
146
|
/**
|
|
148
147
|
* Callback function to receive the result of the changeStatus operation.
|
|
149
148
|
* @callback module:api/ContentManagementApi~changeStatusCallback
|
|
@@ -155,23 +154,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
155
154
|
/**
|
|
156
155
|
* @param {Number} id
|
|
157
156
|
* @param {Object} opts Optional parameters
|
|
158
|
-
* @param {String}
|
|
159
|
-
* @param {Number}
|
|
160
|
-
* @param {String}
|
|
161
|
-
* @param {Object.<String, {String:
|
|
157
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
158
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
159
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
160
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
162
161
|
* @param {module:api/ContentManagementApi~changeStatusCallback} callback The callback function, accepting three arguments: error, data, response
|
|
163
162
|
*/
|
|
164
|
-
|
|
165
163
|
}, {
|
|
166
164
|
key: "changeStatus",
|
|
167
165
|
value: function changeStatus(id, opts, callback) {
|
|
168
166
|
opts = opts || {};
|
|
169
|
-
var postBody = opts['requestBody'];
|
|
170
|
-
|
|
167
|
+
var postBody = opts['requestBody'];
|
|
168
|
+
// verify the required parameter 'id' is set
|
|
171
169
|
if (id === undefined || id === null) {
|
|
172
170
|
throw new Error("Missing the required parameter 'id' when calling changeStatus");
|
|
173
171
|
}
|
|
174
|
-
|
|
175
172
|
var pathParams = {
|
|
176
173
|
'id': id
|
|
177
174
|
};
|
|
@@ -188,6 +185,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
188
185
|
var returnType = null;
|
|
189
186
|
return this.apiClient.callApi('/graph/data/articles/{id}/status', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
190
187
|
}
|
|
188
|
+
|
|
191
189
|
/**
|
|
192
190
|
* Callback function to receive the result of the copyDocument operation.
|
|
193
191
|
* @callback module:api/ContentManagementApi~copyDocumentCallback
|
|
@@ -200,23 +198,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
200
198
|
* Copies the specified document
|
|
201
199
|
* @param {Number} docid
|
|
202
200
|
* @param {Object} opts Optional parameters
|
|
203
|
-
* @param {String}
|
|
204
|
-
* @param {Number}
|
|
205
|
-
* @param {String}
|
|
201
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
202
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
203
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
206
204
|
* @param {module:api/ContentManagementApi~copyDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
207
205
|
* data is of type: {@link module:model/Document}
|
|
208
206
|
*/
|
|
209
|
-
|
|
210
207
|
}, {
|
|
211
208
|
key: "copyDocument",
|
|
212
209
|
value: function copyDocument(docid, opts, callback) {
|
|
213
210
|
opts = opts || {};
|
|
214
|
-
var postBody = null;
|
|
215
|
-
|
|
211
|
+
var postBody = null;
|
|
212
|
+
// verify the required parameter 'docid' is set
|
|
216
213
|
if (docid === undefined || docid === null) {
|
|
217
214
|
throw new Error("Missing the required parameter 'docid' when calling copyDocument");
|
|
218
215
|
}
|
|
219
|
-
|
|
220
216
|
var pathParams = {
|
|
221
217
|
'docid': docid
|
|
222
218
|
};
|
|
@@ -233,11 +229,12 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
233
229
|
var returnType = _Document["default"];
|
|
234
230
|
return this.apiClient.callApi('/graph/data/articles/{docid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
235
231
|
}
|
|
232
|
+
|
|
236
233
|
/**
|
|
237
234
|
* Callback function to receive the result of the copyDocumentPart operation.
|
|
238
235
|
* @callback module:api/ContentManagementApi~copyDocumentPartCallback
|
|
239
236
|
* @param {String} error Error message, if any.
|
|
240
|
-
* @param {module:model/
|
|
237
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
241
238
|
* @param {String} response The complete HTTP response.
|
|
242
239
|
*/
|
|
243
240
|
|
|
@@ -245,23 +242,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
245
242
|
* Create a copy of the document part attached to the same parent document part or Article as the original
|
|
246
243
|
* @param {Number} docpartid
|
|
247
244
|
* @param {Object} opts Optional parameters
|
|
248
|
-
* @param {String}
|
|
249
|
-
* @param {Number}
|
|
250
|
-
* @param {String}
|
|
245
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
246
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
247
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
251
248
|
* @param {module:api/ContentManagementApi~copyDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
252
|
-
* data is of type: {@link module:model/
|
|
249
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
253
250
|
*/
|
|
254
|
-
|
|
255
251
|
}, {
|
|
256
252
|
key: "copyDocumentPart",
|
|
257
253
|
value: function copyDocumentPart(docpartid, opts, callback) {
|
|
258
254
|
opts = opts || {};
|
|
259
|
-
var postBody = null;
|
|
260
|
-
|
|
255
|
+
var postBody = null;
|
|
256
|
+
// verify the required parameter 'docpartid' is set
|
|
261
257
|
if (docpartid === undefined || docpartid === null) {
|
|
262
258
|
throw new Error("Missing the required parameter 'docpartid' when calling copyDocumentPart");
|
|
263
259
|
}
|
|
264
|
-
|
|
265
260
|
var pathParams = {
|
|
266
261
|
'docpartid': docpartid
|
|
267
262
|
};
|
|
@@ -275,9 +270,10 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
275
270
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
276
271
|
var contentTypes = [];
|
|
277
272
|
var accepts = ['*/*'];
|
|
278
|
-
var returnType =
|
|
273
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
279
274
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
280
275
|
}
|
|
276
|
+
|
|
281
277
|
/**
|
|
282
278
|
* Callback function to receive the result of the createChildDocumentPart operation.
|
|
283
279
|
* @callback module:api/ContentManagementApi~createChildDocumentPartCallback
|
|
@@ -291,28 +287,25 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
291
287
|
* @param {Number} docpartid
|
|
292
288
|
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
293
289
|
* @param {Object} opts Optional parameters
|
|
294
|
-
* @param {String}
|
|
295
|
-
* @param {Number}
|
|
296
|
-
* @param {String}
|
|
290
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
291
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
292
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
297
293
|
* @param {module:api/ContentManagementApi~createChildDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
298
294
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
299
295
|
*/
|
|
300
|
-
|
|
301
296
|
}, {
|
|
302
297
|
key: "createChildDocumentPart",
|
|
303
298
|
value: function createChildDocumentPart(docpartid, documentPart, opts, callback) {
|
|
304
299
|
opts = opts || {};
|
|
305
|
-
var postBody = documentPart;
|
|
306
|
-
|
|
300
|
+
var postBody = documentPart;
|
|
301
|
+
// verify the required parameter 'docpartid' is set
|
|
307
302
|
if (docpartid === undefined || docpartid === null) {
|
|
308
303
|
throw new Error("Missing the required parameter 'docpartid' when calling createChildDocumentPart");
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
304
|
+
}
|
|
305
|
+
// verify the required parameter 'documentPart' is set
|
|
312
306
|
if (documentPart === undefined || documentPart === null) {
|
|
313
307
|
throw new Error("Missing the required parameter 'documentPart' when calling createChildDocumentPart");
|
|
314
308
|
}
|
|
315
|
-
|
|
316
309
|
var pathParams = {
|
|
317
310
|
'docpartid': docpartid
|
|
318
311
|
};
|
|
@@ -329,6 +322,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
329
322
|
var returnType = [_DocumentPart["default"]];
|
|
330
323
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
331
324
|
}
|
|
325
|
+
|
|
332
326
|
/**
|
|
333
327
|
* Callback function to receive the result of the createDocument operation.
|
|
334
328
|
* @callback module:api/ContentManagementApi~createDocumentCallback
|
|
@@ -341,23 +335,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
341
335
|
* Create a new document
|
|
342
336
|
* @param {Array.<module:model/Document>} document Document or array of documents to create
|
|
343
337
|
* @param {Object} opts Optional parameters
|
|
344
|
-
* @param {String}
|
|
345
|
-
* @param {Number}
|
|
346
|
-
* @param {String}
|
|
338
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
339
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
340
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
347
341
|
* @param {module:api/ContentManagementApi~createDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
348
342
|
* data is of type: {@link Array.<module:model/Document>}
|
|
349
343
|
*/
|
|
350
|
-
|
|
351
344
|
}, {
|
|
352
345
|
key: "createDocument",
|
|
353
346
|
value: function createDocument(document, opts, callback) {
|
|
354
347
|
opts = opts || {};
|
|
355
|
-
var postBody = document;
|
|
356
|
-
|
|
348
|
+
var postBody = document;
|
|
349
|
+
// verify the required parameter 'document' is set
|
|
357
350
|
if (document === undefined || document === null) {
|
|
358
351
|
throw new Error("Missing the required parameter 'document' when calling createDocument");
|
|
359
352
|
}
|
|
360
|
-
|
|
361
353
|
var pathParams = {};
|
|
362
354
|
var queryParams = {};
|
|
363
355
|
var headerParams = {
|
|
@@ -372,11 +364,12 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
372
364
|
var returnType = [_Document["default"]];
|
|
373
365
|
return this.apiClient.callApi('/graph/data/articles', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
374
366
|
}
|
|
367
|
+
|
|
375
368
|
/**
|
|
376
369
|
* Callback function to receive the result of the createDocumentPart operation.
|
|
377
370
|
* @callback module:api/ContentManagementApi~createDocumentPartCallback
|
|
378
371
|
* @param {String} error Error message, if any.
|
|
379
|
-
* @param {module:model/
|
|
372
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
380
373
|
* @param {String} response The complete HTTP response.
|
|
381
374
|
*/
|
|
382
375
|
|
|
@@ -384,23 +377,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
384
377
|
* Create a new document part
|
|
385
378
|
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
386
379
|
* @param {Object} opts Optional parameters
|
|
387
|
-
* @param {String}
|
|
388
|
-
* @param {Number}
|
|
389
|
-
* @param {String}
|
|
380
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
381
|
+
* @param {Number} [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} [transactionid] The id of the transaction this operation is being run in
|
|
390
383
|
* @param {module:api/ContentManagementApi~createDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
391
|
-
* data is of type: {@link module:model/
|
|
384
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
392
385
|
*/
|
|
393
|
-
|
|
394
386
|
}, {
|
|
395
387
|
key: "createDocumentPart",
|
|
396
388
|
value: function createDocumentPart(documentPart, opts, callback) {
|
|
397
389
|
opts = opts || {};
|
|
398
|
-
var postBody = documentPart;
|
|
399
|
-
|
|
390
|
+
var postBody = documentPart;
|
|
391
|
+
// verify the required parameter 'documentPart' is set
|
|
400
392
|
if (documentPart === undefined || documentPart === null) {
|
|
401
393
|
throw new Error("Missing the required parameter 'documentPart' when calling createDocumentPart");
|
|
402
394
|
}
|
|
403
|
-
|
|
404
395
|
var pathParams = {};
|
|
405
396
|
var queryParams = {};
|
|
406
397
|
var headerParams = {
|
|
@@ -412,9 +403,10 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
412
403
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
413
404
|
var contentTypes = [];
|
|
414
405
|
var accepts = ['*/*'];
|
|
415
|
-
var returnType =
|
|
406
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
416
407
|
return this.apiClient.callApi('/graph/data/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
417
408
|
}
|
|
409
|
+
|
|
418
410
|
/**
|
|
419
411
|
* Callback function to receive the result of the deleteDocPart operation.
|
|
420
412
|
* @callback module:api/ContentManagementApi~deleteDocPartCallback
|
|
@@ -428,22 +420,20 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
428
420
|
* Delete an individual entry part
|
|
429
421
|
* @param {Number} docpartid
|
|
430
422
|
* @param {Object} opts Optional parameters
|
|
431
|
-
* @param {String}
|
|
432
|
-
* @param {Number}
|
|
433
|
-
* @param {String}
|
|
423
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
424
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
425
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
434
426
|
* @param {module:api/ContentManagementApi~deleteDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
435
427
|
*/
|
|
436
|
-
|
|
437
428
|
}, {
|
|
438
429
|
key: "deleteDocPart",
|
|
439
430
|
value: function deleteDocPart(docpartid, opts, callback) {
|
|
440
431
|
opts = opts || {};
|
|
441
|
-
var postBody = null;
|
|
442
|
-
|
|
432
|
+
var postBody = null;
|
|
433
|
+
// verify the required parameter 'docpartid' is set
|
|
443
434
|
if (docpartid === undefined || docpartid === null) {
|
|
444
435
|
throw new Error("Missing the required parameter 'docpartid' when calling deleteDocPart");
|
|
445
436
|
}
|
|
446
|
-
|
|
447
437
|
var pathParams = {
|
|
448
438
|
'docpartid': docpartid
|
|
449
439
|
};
|
|
@@ -460,6 +450,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
460
450
|
var returnType = null;
|
|
461
451
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
462
452
|
}
|
|
453
|
+
|
|
463
454
|
/**
|
|
464
455
|
* Callback function to receive the result of the deleteDocument operation.
|
|
465
456
|
* @callback module:api/ContentManagementApi~deleteDocumentCallback
|
|
@@ -473,22 +464,20 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
473
464
|
* Delete an individual document
|
|
474
465
|
* @param {Number} docid
|
|
475
466
|
* @param {Object} opts Optional parameters
|
|
476
|
-
* @param {String}
|
|
477
|
-
* @param {Number}
|
|
478
|
-
* @param {String}
|
|
467
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
468
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
469
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
479
470
|
* @param {module:api/ContentManagementApi~deleteDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
480
471
|
*/
|
|
481
|
-
|
|
482
472
|
}, {
|
|
483
473
|
key: "deleteDocument",
|
|
484
474
|
value: function deleteDocument(docid, opts, callback) {
|
|
485
475
|
opts = opts || {};
|
|
486
|
-
var postBody = null;
|
|
487
|
-
|
|
476
|
+
var postBody = null;
|
|
477
|
+
// verify the required parameter 'docid' is set
|
|
488
478
|
if (docid === undefined || docid === null) {
|
|
489
479
|
throw new Error("Missing the required parameter 'docid' when calling deleteDocument");
|
|
490
480
|
}
|
|
491
|
-
|
|
492
481
|
var pathParams = {
|
|
493
482
|
'docid': docid
|
|
494
483
|
};
|
|
@@ -505,6 +494,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
505
494
|
var returnType = null;
|
|
506
495
|
return this.apiClient.callApi('/graph/data/articles/{docid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
507
496
|
}
|
|
497
|
+
|
|
508
498
|
/**
|
|
509
499
|
* Callback function to receive the result of the editDocument operation.
|
|
510
500
|
* @callback module:api/ContentManagementApi~editDocumentCallback
|
|
@@ -518,28 +508,25 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
518
508
|
* @param {Number} docid
|
|
519
509
|
* @param {module:model/Document} document The document to update
|
|
520
510
|
* @param {Object} opts Optional parameters
|
|
521
|
-
* @param {String}
|
|
522
|
-
* @param {Number}
|
|
523
|
-
* @param {String}
|
|
511
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
512
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
513
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
524
514
|
* @param {module:api/ContentManagementApi~editDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
525
515
|
* data is of type: {@link module:model/Document}
|
|
526
516
|
*/
|
|
527
|
-
|
|
528
517
|
}, {
|
|
529
518
|
key: "editDocument",
|
|
530
519
|
value: function editDocument(docid, document, opts, callback) {
|
|
531
520
|
opts = opts || {};
|
|
532
|
-
var postBody = document;
|
|
533
|
-
|
|
521
|
+
var postBody = document;
|
|
522
|
+
// verify the required parameter 'docid' is set
|
|
534
523
|
if (docid === undefined || docid === null) {
|
|
535
524
|
throw new Error("Missing the required parameter 'docid' when calling editDocument");
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
|
|
525
|
+
}
|
|
526
|
+
// verify the required parameter 'document' is set
|
|
539
527
|
if (document === undefined || document === null) {
|
|
540
528
|
throw new Error("Missing the required parameter 'document' when calling editDocument");
|
|
541
529
|
}
|
|
542
|
-
|
|
543
530
|
var pathParams = {
|
|
544
531
|
'docid': docid
|
|
545
532
|
};
|
|
@@ -556,6 +543,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
556
543
|
var returnType = _Document["default"];
|
|
557
544
|
return this.apiClient.callApi('/graph/data/articles/{docid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
558
545
|
}
|
|
546
|
+
|
|
559
547
|
/**
|
|
560
548
|
* Callback function to receive the result of the get26 operation.
|
|
561
549
|
* @callback module:api/ContentManagementApi~get26Callback
|
|
@@ -567,12 +555,11 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
567
555
|
/**
|
|
568
556
|
* Root for the API
|
|
569
557
|
* @param {Object} opts Optional parameters
|
|
570
|
-
* @param {String}
|
|
571
|
-
* @param {Number}
|
|
572
|
-
* @param {String}
|
|
558
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
559
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
560
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
573
561
|
* @param {module:api/ContentManagementApi~get26Callback} callback The callback function, accepting three arguments: error, data, response
|
|
574
562
|
*/
|
|
575
|
-
|
|
576
563
|
}, {
|
|
577
564
|
key: "get26",
|
|
578
565
|
value: function get26(opts, callback) {
|
|
@@ -592,6 +579,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
592
579
|
var returnType = null;
|
|
593
580
|
return this.apiClient.callApi('/graph/data/articles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
594
581
|
}
|
|
582
|
+
|
|
595
583
|
/**
|
|
596
584
|
* Callback function to receive the result of the get27 operation.
|
|
597
585
|
* @callback module:api/ContentManagementApi~get27Callback
|
|
@@ -603,12 +591,11 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
603
591
|
/**
|
|
604
592
|
* Root for the API
|
|
605
593
|
* @param {Object} opts Optional parameters
|
|
606
|
-
* @param {String}
|
|
607
|
-
* @param {Number}
|
|
608
|
-
* @param {String}
|
|
594
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
595
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
596
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
609
597
|
* @param {module:api/ContentManagementApi~get27Callback} callback The callback function, accepting three arguments: error, data, response
|
|
610
598
|
*/
|
|
611
|
-
|
|
612
599
|
}, {
|
|
613
600
|
key: "get27",
|
|
614
601
|
value: function get27(opts, callback) {
|
|
@@ -628,6 +615,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
628
615
|
var returnType = null;
|
|
629
616
|
return this.apiClient.callApi('/graph/data/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
630
617
|
}
|
|
618
|
+
|
|
631
619
|
/**
|
|
632
620
|
* Callback function to receive the result of the getAllDocuments operation.
|
|
633
621
|
* @callback module:api/ContentManagementApi~getAllDocumentsCallback
|
|
@@ -639,13 +627,12 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
639
627
|
/**
|
|
640
628
|
* Returns all documents
|
|
641
629
|
* @param {Object} opts Optional parameters
|
|
642
|
-
* @param {String}
|
|
643
|
-
* @param {Number}
|
|
644
|
-
* @param {String}
|
|
630
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
631
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
632
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
645
633
|
* @param {module:api/ContentManagementApi~getAllDocumentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
646
634
|
* data is of type: {@link Array.<module:model/Document>}
|
|
647
635
|
*/
|
|
648
|
-
|
|
649
636
|
}, {
|
|
650
637
|
key: "getAllDocuments",
|
|
651
638
|
value: function getAllDocuments(opts, callback) {
|
|
@@ -665,6 +652,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
665
652
|
var returnType = [_Document["default"]];
|
|
666
653
|
return this.apiClient.callApi('/graph/data/articles/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
667
654
|
}
|
|
655
|
+
|
|
668
656
|
/**
|
|
669
657
|
* Callback function to receive the result of the getChildDocPartByPageNum operation.
|
|
670
658
|
* @callback module:api/ContentManagementApi~getChildDocPartByPageNumCallback
|
|
@@ -678,28 +666,25 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
678
666
|
* @param {Number} id
|
|
679
667
|
* @param {Number} pagenum
|
|
680
668
|
* @param {Object} opts Optional parameters
|
|
681
|
-
* @param {String}
|
|
682
|
-
* @param {Number}
|
|
683
|
-
* @param {String}
|
|
669
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
670
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
671
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
684
672
|
* @param {module:api/ContentManagementApi~getChildDocPartByPageNumCallback} callback The callback function, accepting three arguments: error, data, response
|
|
685
673
|
* data is of type: {@link module:model/DocumentPart}
|
|
686
674
|
*/
|
|
687
|
-
|
|
688
675
|
}, {
|
|
689
676
|
key: "getChildDocPartByPageNum",
|
|
690
677
|
value: function getChildDocPartByPageNum(id, pagenum, opts, callback) {
|
|
691
678
|
opts = opts || {};
|
|
692
|
-
var postBody = null;
|
|
693
|
-
|
|
679
|
+
var postBody = null;
|
|
680
|
+
// verify the required parameter 'id' is set
|
|
694
681
|
if (id === undefined || id === null) {
|
|
695
682
|
throw new Error("Missing the required parameter 'id' when calling getChildDocPartByPageNum");
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
|
|
683
|
+
}
|
|
684
|
+
// verify the required parameter 'pagenum' is set
|
|
699
685
|
if (pagenum === undefined || pagenum === null) {
|
|
700
686
|
throw new Error("Missing the required parameter 'pagenum' when calling getChildDocPartByPageNum");
|
|
701
687
|
}
|
|
702
|
-
|
|
703
688
|
var pathParams = {
|
|
704
689
|
'id': id,
|
|
705
690
|
'pagenum': pagenum
|
|
@@ -717,6 +702,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
717
702
|
var returnType = _DocumentPart["default"];
|
|
718
703
|
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
719
704
|
}
|
|
705
|
+
|
|
720
706
|
/**
|
|
721
707
|
* Callback function to receive the result of the getDocumentById operation.
|
|
722
708
|
* @callback module:api/ContentManagementApi~getDocumentByIdCallback
|
|
@@ -729,23 +715,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
729
715
|
* Returns all documents
|
|
730
716
|
* @param {Number} id
|
|
731
717
|
* @param {Object} opts Optional parameters
|
|
732
|
-
* @param {String}
|
|
733
|
-
* @param {Number}
|
|
734
|
-
* @param {String}
|
|
718
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
719
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
720
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
735
721
|
* @param {module:api/ContentManagementApi~getDocumentByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
736
722
|
* data is of type: {@link module:model/Document}
|
|
737
723
|
*/
|
|
738
|
-
|
|
739
724
|
}, {
|
|
740
725
|
key: "getDocumentById",
|
|
741
726
|
value: function getDocumentById(id, opts, callback) {
|
|
742
727
|
opts = opts || {};
|
|
743
|
-
var postBody = null;
|
|
744
|
-
|
|
728
|
+
var postBody = null;
|
|
729
|
+
// verify the required parameter 'id' is set
|
|
745
730
|
if (id === undefined || id === null) {
|
|
746
731
|
throw new Error("Missing the required parameter 'id' when calling getDocumentById");
|
|
747
732
|
}
|
|
748
|
-
|
|
749
733
|
var pathParams = {
|
|
750
734
|
'id': id
|
|
751
735
|
};
|
|
@@ -762,6 +746,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
762
746
|
var returnType = _Document["default"];
|
|
763
747
|
return this.apiClient.callApi('/graph/data/articles/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
764
748
|
}
|
|
749
|
+
|
|
765
750
|
/**
|
|
766
751
|
* Callback function to receive the result of the getDocumentPartById operation.
|
|
767
752
|
* @callback module:api/ContentManagementApi~getDocumentPartByIdCallback
|
|
@@ -774,23 +759,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
774
759
|
* Returns the entrypart with the given id
|
|
775
760
|
* @param {Number} id
|
|
776
761
|
* @param {Object} opts Optional parameters
|
|
777
|
-
* @param {String}
|
|
778
|
-
* @param {Number}
|
|
779
|
-
* @param {String}
|
|
762
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
763
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
764
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
780
765
|
* @param {module:api/ContentManagementApi~getDocumentPartByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
781
766
|
* data is of type: {@link module:model/DocumentPart}
|
|
782
767
|
*/
|
|
783
|
-
|
|
784
768
|
}, {
|
|
785
769
|
key: "getDocumentPartById",
|
|
786
770
|
value: function getDocumentPartById(id, opts, callback) {
|
|
787
771
|
opts = opts || {};
|
|
788
|
-
var postBody = null;
|
|
789
|
-
|
|
772
|
+
var postBody = null;
|
|
773
|
+
// verify the required parameter 'id' is set
|
|
790
774
|
if (id === undefined || id === null) {
|
|
791
775
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById");
|
|
792
776
|
}
|
|
793
|
-
|
|
794
777
|
var pathParams = {
|
|
795
778
|
'id': id
|
|
796
779
|
};
|
|
@@ -807,6 +790,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
807
790
|
var returnType = _DocumentPart["default"];
|
|
808
791
|
return this.apiClient.callApi('/graph/data/entryparts/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
809
792
|
}
|
|
793
|
+
|
|
810
794
|
/**
|
|
811
795
|
* Callback function to receive the result of the getDocumentPartById1 operation.
|
|
812
796
|
* @callback module:api/ContentManagementApi~getDocumentPartById1Callback
|
|
@@ -819,23 +803,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
819
803
|
* Returns the entrypart with the given id
|
|
820
804
|
* @param {Number} id
|
|
821
805
|
* @param {Object} opts Optional parameters
|
|
822
|
-
* @param {String}
|
|
823
|
-
* @param {Number}
|
|
824
|
-
* @param {String}
|
|
806
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
807
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
808
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
825
809
|
* @param {module:api/ContentManagementApi~getDocumentPartById1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
826
810
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
827
811
|
*/
|
|
828
|
-
|
|
829
812
|
}, {
|
|
830
813
|
key: "getDocumentPartById1",
|
|
831
814
|
value: function getDocumentPartById1(id, opts, callback) {
|
|
832
815
|
opts = opts || {};
|
|
833
|
-
var postBody = null;
|
|
834
|
-
|
|
816
|
+
var postBody = null;
|
|
817
|
+
// verify the required parameter 'id' is set
|
|
835
818
|
if (id === undefined || id === null) {
|
|
836
819
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById1");
|
|
837
820
|
}
|
|
838
|
-
|
|
839
821
|
var pathParams = {
|
|
840
822
|
'id': id
|
|
841
823
|
};
|
|
@@ -852,11 +834,12 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
852
834
|
var returnType = [_DocumentPart["default"]];
|
|
853
835
|
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
854
836
|
}
|
|
837
|
+
|
|
855
838
|
/**
|
|
856
839
|
* Callback function to receive the result of the getDocumentPartByPageNumber operation.
|
|
857
840
|
* @callback module:api/ContentManagementApi~getDocumentPartByPageNumberCallback
|
|
858
841
|
* @param {String} error Error message, if any.
|
|
859
|
-
* @param {Object.<String, module:model/{String:
|
|
842
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
860
843
|
* @param {String} response The complete HTTP response.
|
|
861
844
|
*/
|
|
862
845
|
|
|
@@ -865,32 +848,28 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
865
848
|
* @param {Number} id
|
|
866
849
|
* @param {Number} id2
|
|
867
850
|
* @param {Object} opts Optional parameters
|
|
868
|
-
* @param {String}
|
|
869
|
-
* @param {Number}
|
|
870
|
-
* @param {String}
|
|
851
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
852
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
853
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
871
854
|
* @param {module:api/ContentManagementApi~getDocumentPartByPageNumberCallback} callback The callback function, accepting three arguments: error, data, response
|
|
872
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
855
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
873
856
|
*/
|
|
874
|
-
|
|
875
857
|
}, {
|
|
876
858
|
key: "getDocumentPartByPageNumber",
|
|
877
859
|
value: function getDocumentPartByPageNumber(id, id2, opts, callback) {
|
|
878
860
|
opts = opts || {};
|
|
879
|
-
var postBody = null;
|
|
880
|
-
|
|
861
|
+
var postBody = null;
|
|
862
|
+
// verify the required parameter 'id' is set
|
|
881
863
|
if (id === undefined || id === null) {
|
|
882
864
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartByPageNumber");
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
|
|
865
|
+
}
|
|
866
|
+
// verify the required parameter 'id2' is set
|
|
886
867
|
if (id2 === undefined || id2 === null) {
|
|
887
868
|
throw new Error("Missing the required parameter 'id2' when calling getDocumentPartByPageNumber");
|
|
888
869
|
}
|
|
889
|
-
|
|
890
870
|
var pathParams = _defineProperty({
|
|
891
871
|
'id': id
|
|
892
872
|
}, "id", id2);
|
|
893
|
-
|
|
894
873
|
var queryParams = {};
|
|
895
874
|
var headerParams = {
|
|
896
875
|
'Authorization': opts['authorization'],
|
|
@@ -902,10 +881,11 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
902
881
|
var contentTypes = [];
|
|
903
882
|
var accepts = ['*/*'];
|
|
904
883
|
var returnType = {
|
|
905
|
-
'String':
|
|
884
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
906
885
|
};
|
|
907
886
|
return this.apiClient.callApi('/graph/data/articles/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
908
887
|
}
|
|
888
|
+
|
|
909
889
|
/**
|
|
910
890
|
* Callback function to receive the result of the getDocumentParts operation.
|
|
911
891
|
* @callback module:api/ContentManagementApi~getDocumentPartsCallback
|
|
@@ -918,23 +898,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
918
898
|
* Gets the document parts attached to the document
|
|
919
899
|
* @param {Number} id
|
|
920
900
|
* @param {Object} opts Optional parameters
|
|
921
|
-
* @param {String}
|
|
922
|
-
* @param {Number}
|
|
923
|
-
* @param {String}
|
|
901
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
902
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
903
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
924
904
|
* @param {module:api/ContentManagementApi~getDocumentPartsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
925
905
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
926
906
|
*/
|
|
927
|
-
|
|
928
907
|
}, {
|
|
929
908
|
key: "getDocumentParts",
|
|
930
909
|
value: function getDocumentParts(id, opts, callback) {
|
|
931
910
|
opts = opts || {};
|
|
932
|
-
var postBody = null;
|
|
933
|
-
|
|
911
|
+
var postBody = null;
|
|
912
|
+
// verify the required parameter 'id' is set
|
|
934
913
|
if (id === undefined || id === null) {
|
|
935
914
|
throw new Error("Missing the required parameter 'id' when calling getDocumentParts");
|
|
936
915
|
}
|
|
937
|
-
|
|
938
916
|
var pathParams = {
|
|
939
917
|
'id': id
|
|
940
918
|
};
|
|
@@ -951,6 +929,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
951
929
|
var returnType = [_DocumentPart["default"]];
|
|
952
930
|
return this.apiClient.callApi('/graph/data/articles/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
953
931
|
}
|
|
932
|
+
|
|
954
933
|
/**
|
|
955
934
|
* Callback function to receive the result of the getDocumentsByType operation.
|
|
956
935
|
* @callback module:api/ContentManagementApi~getDocumentsByTypeCallback
|
|
@@ -963,23 +942,21 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
963
942
|
* Returns the documents of the given type
|
|
964
943
|
* @param {Number} typeid
|
|
965
944
|
* @param {Object} opts Optional parameters
|
|
966
|
-
* @param {String}
|
|
967
|
-
* @param {Number}
|
|
968
|
-
* @param {String}
|
|
945
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
946
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
947
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
969
948
|
* @param {module:api/ContentManagementApi~getDocumentsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
970
949
|
* data is of type: {@link Array.<module:model/Document>}
|
|
971
950
|
*/
|
|
972
|
-
|
|
973
951
|
}, {
|
|
974
952
|
key: "getDocumentsByType",
|
|
975
953
|
value: function getDocumentsByType(typeid, opts, callback) {
|
|
976
954
|
opts = opts || {};
|
|
977
|
-
var postBody = null;
|
|
978
|
-
|
|
955
|
+
var postBody = null;
|
|
956
|
+
// verify the required parameter 'typeid' is set
|
|
979
957
|
if (typeid === undefined || typeid === null) {
|
|
980
958
|
throw new Error("Missing the required parameter 'typeid' when calling getDocumentsByType");
|
|
981
959
|
}
|
|
982
|
-
|
|
983
960
|
var pathParams = {
|
|
984
961
|
'typeid': typeid
|
|
985
962
|
};
|
|
@@ -996,6 +973,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
996
973
|
var returnType = [_Document["default"]];
|
|
997
974
|
return this.apiClient.callApi('/graph/data/articles/entrytype/{typeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
998
975
|
}
|
|
976
|
+
|
|
999
977
|
/**
|
|
1000
978
|
* Callback function to receive the result of the moveChildPart operation.
|
|
1001
979
|
* @callback module:api/ContentManagementApi~moveChildPartCallback
|
|
@@ -1010,32 +988,28 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1010
988
|
* @param {Number} newdocpartid
|
|
1011
989
|
* @param {Number} partindex
|
|
1012
990
|
* @param {Object} opts Optional parameters
|
|
1013
|
-
* @param {String}
|
|
1014
|
-
* @param {Number}
|
|
1015
|
-
* @param {String}
|
|
991
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
992
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
993
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1016
994
|
* @param {module:api/ContentManagementApi~moveChildPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1017
995
|
*/
|
|
1018
|
-
|
|
1019
996
|
}, {
|
|
1020
997
|
key: "moveChildPart",
|
|
1021
998
|
value: function moveChildPart(docpartid, newdocpartid, partindex, opts, callback) {
|
|
1022
999
|
opts = opts || {};
|
|
1023
|
-
var postBody = null;
|
|
1024
|
-
|
|
1000
|
+
var postBody = null;
|
|
1001
|
+
// verify the required parameter 'docpartid' is set
|
|
1025
1002
|
if (docpartid === undefined || docpartid === null) {
|
|
1026
1003
|
throw new Error("Missing the required parameter 'docpartid' when calling moveChildPart");
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
|
|
1004
|
+
}
|
|
1005
|
+
// verify the required parameter 'newdocpartid' is set
|
|
1030
1006
|
if (newdocpartid === undefined || newdocpartid === null) {
|
|
1031
1007
|
throw new Error("Missing the required parameter 'newdocpartid' when calling moveChildPart");
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
|
|
1008
|
+
}
|
|
1009
|
+
// verify the required parameter 'partindex' is set
|
|
1035
1010
|
if (partindex === undefined || partindex === null) {
|
|
1036
1011
|
throw new Error("Missing the required parameter 'partindex' when calling moveChildPart");
|
|
1037
1012
|
}
|
|
1038
|
-
|
|
1039
1013
|
var pathParams = {
|
|
1040
1014
|
'docpartid': docpartid,
|
|
1041
1015
|
'newdocpartid': newdocpartid,
|
|
@@ -1054,6 +1028,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1054
1028
|
var returnType = null;
|
|
1055
1029
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/entrypart/{newdocpartid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1056
1030
|
}
|
|
1031
|
+
|
|
1057
1032
|
/**
|
|
1058
1033
|
* Callback function to receive the result of the moveDocPart operation.
|
|
1059
1034
|
* @callback module:api/ContentManagementApi~moveDocPartCallback
|
|
@@ -1068,32 +1043,28 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1068
1043
|
* @param {Number} articleid
|
|
1069
1044
|
* @param {Number} partindex
|
|
1070
1045
|
* @param {Object} opts Optional parameters
|
|
1071
|
-
* @param {String}
|
|
1072
|
-
* @param {Number}
|
|
1073
|
-
* @param {String}
|
|
1046
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1047
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1048
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1074
1049
|
* @param {module:api/ContentManagementApi~moveDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1075
1050
|
*/
|
|
1076
|
-
|
|
1077
1051
|
}, {
|
|
1078
1052
|
key: "moveDocPart",
|
|
1079
1053
|
value: function moveDocPart(docpartid, articleid, partindex, opts, callback) {
|
|
1080
1054
|
opts = opts || {};
|
|
1081
|
-
var postBody = null;
|
|
1082
|
-
|
|
1055
|
+
var postBody = null;
|
|
1056
|
+
// verify the required parameter 'docpartid' is set
|
|
1083
1057
|
if (docpartid === undefined || docpartid === null) {
|
|
1084
1058
|
throw new Error("Missing the required parameter 'docpartid' when calling moveDocPart");
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
|
|
1059
|
+
}
|
|
1060
|
+
// verify the required parameter 'articleid' is set
|
|
1088
1061
|
if (articleid === undefined || articleid === null) {
|
|
1089
1062
|
throw new Error("Missing the required parameter 'articleid' when calling moveDocPart");
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1063
|
+
}
|
|
1064
|
+
// verify the required parameter 'partindex' is set
|
|
1093
1065
|
if (partindex === undefined || partindex === null) {
|
|
1094
1066
|
throw new Error("Missing the required parameter 'partindex' when calling moveDocPart");
|
|
1095
1067
|
}
|
|
1096
|
-
|
|
1097
1068
|
var pathParams = {
|
|
1098
1069
|
'docpartid': docpartid,
|
|
1099
1070
|
'articleid': articleid,
|
|
@@ -1112,6 +1083,7 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1112
1083
|
var returnType = null;
|
|
1113
1084
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/article/{articleid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1114
1085
|
}
|
|
1086
|
+
|
|
1115
1087
|
/**
|
|
1116
1088
|
* Callback function to receive the result of the updateDocumentPart operation.
|
|
1117
1089
|
* @callback module:api/ContentManagementApi~updateDocumentPartCallback
|
|
@@ -1125,28 +1097,25 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1125
1097
|
* @param {Number} docpartid
|
|
1126
1098
|
* @param {module:model/DocumentPart} documentPart Document part or array of document parts to create
|
|
1127
1099
|
* @param {Object} opts Optional parameters
|
|
1128
|
-
* @param {String}
|
|
1129
|
-
* @param {Number}
|
|
1130
|
-
* @param {String}
|
|
1100
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1101
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1102
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1131
1103
|
* @param {module:api/ContentManagementApi~updateDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1132
1104
|
* data is of type: {@link module:model/DocumentPart}
|
|
1133
1105
|
*/
|
|
1134
|
-
|
|
1135
1106
|
}, {
|
|
1136
1107
|
key: "updateDocumentPart",
|
|
1137
1108
|
value: function updateDocumentPart(docpartid, documentPart, opts, callback) {
|
|
1138
1109
|
opts = opts || {};
|
|
1139
|
-
var postBody = documentPart;
|
|
1140
|
-
|
|
1110
|
+
var postBody = documentPart;
|
|
1111
|
+
// verify the required parameter 'docpartid' is set
|
|
1141
1112
|
if (docpartid === undefined || docpartid === null) {
|
|
1142
1113
|
throw new Error("Missing the required parameter 'docpartid' when calling updateDocumentPart");
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
|
|
1114
|
+
}
|
|
1115
|
+
// verify the required parameter 'documentPart' is set
|
|
1146
1116
|
if (documentPart === undefined || documentPart === null) {
|
|
1147
1117
|
throw new Error("Missing the required parameter 'documentPart' when calling updateDocumentPart");
|
|
1148
1118
|
}
|
|
1149
|
-
|
|
1150
1119
|
var pathParams = {
|
|
1151
1120
|
'docpartid': docpartid
|
|
1152
1121
|
};
|
|
@@ -1164,8 +1133,5 @@ var ContentManagementApi = /*#__PURE__*/function () {
|
|
|
1164
1133
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1165
1134
|
}
|
|
1166
1135
|
}]);
|
|
1167
|
-
|
|
1168
1136
|
return ContentManagementApi;
|
|
1169
|
-
}();
|
|
1170
|
-
|
|
1171
|
-
exports["default"] = ContentManagementApi;
|
|
1137
|
+
}();
|