@gobodo/gobodo-api 0.1.5 → 0.1.7
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 +16 -22
- 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 +508 -612
- package/dist/api/GraphRelationshipTypesApi.js +158 -178
- package/dist/api/GraphRelationshipsApi.js +258 -297
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +98 -114
- 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 +37 -39
- 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 +27 -27
- 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 +61 -41
- package/dist/model/Article.js +109 -88
- 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 +145 -108
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +135 -93
- package/dist/model/DocumentPart.js +116 -71
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +76 -53
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +96 -111
- package/dist/model/File.js +52 -38
- package/dist/model/FileAttachmentUploadObject.js +66 -61
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +107 -42
- 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 -68
- package/dist/model/GraphAction.js +48 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +57 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +75 -51
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +87 -58
- package/dist/model/GraphObjectType.js +92 -67
- package/dist/model/GraphObjectTypeSchema.js +111 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +49 -39
- package/dist/model/GraphRelationObjectObject.js +49 -39
- package/dist/model/GraphRelationship.js +49 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +99 -71
- package/dist/model/GraphSchema.js +101 -80
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +70 -52
- package/dist/model/ImageUploadObject.js +95 -77
- package/dist/model/InputPart.js +48 -32
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +74 -46
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +103 -70
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +99 -59
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +38 -25
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +105 -64
- package/dist/model/Page.js +55 -42
- package/dist/model/PageSchema.js +71 -57
- 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 +73 -57
- package/dist/model/PrivateMessageConversation.js +92 -55
- 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 +221 -79
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +96 -111
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +66 -42
- 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 +99 -59
- package/dist/model/UserDataPayload.js +99 -59
- 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 +99 -59
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +90 -71
- package/dist/model/VideoLiveUrl.js +40 -22
- package/dist/model/VideoSchema.js +102 -78
- package/dist/model/VideoUploadObject.js +131 -85
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +2 -2
- 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,27 +4,33 @@ 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 _DocumentPart = _interopRequireDefault(require("../model/DocumentPart"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject4"));
|
|
13
|
-
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
14
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
11
|
+
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); }
|
|
16
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Gobodo API
|
|
18
|
+
* REST Interface for Gobodo API
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: 0.1.7
|
|
21
|
+
* Contact: info@gobodo.io
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
22
28
|
/**
|
|
23
29
|
* EntryParts service.
|
|
24
30
|
* @module api/EntryPartsApi
|
|
25
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.7
|
|
26
32
|
*/
|
|
27
|
-
var EntryPartsApi = /*#__PURE__*/function () {
|
|
33
|
+
var EntryPartsApi = exports["default"] = /*#__PURE__*/function () {
|
|
28
34
|
/**
|
|
29
35
|
* Constructs a new EntryPartsApi.
|
|
30
36
|
* @alias module:api/EntryPartsApi
|
|
@@ -34,9 +40,9 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
34
40
|
*/
|
|
35
41
|
function EntryPartsApi(apiClient) {
|
|
36
42
|
_classCallCheck(this, EntryPartsApi);
|
|
37
|
-
|
|
38
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
44
|
}
|
|
45
|
+
|
|
40
46
|
/**
|
|
41
47
|
* Callback function to receive the result of the changeDocPartType operation.
|
|
42
48
|
* @callback module:api/EntryPartsApi~changeDocPartTypeCallback
|
|
@@ -50,28 +56,24 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
50
56
|
* @param {Number} docpartid
|
|
51
57
|
* @param {Number} typeid
|
|
52
58
|
* @param {Object} opts Optional parameters
|
|
53
|
-
* @param {String}
|
|
54
|
-
* @param {Number}
|
|
55
|
-
* @param {String}
|
|
59
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
60
|
+
* @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
|
|
61
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
56
62
|
* @param {module:api/EntryPartsApi~changeDocPartTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
57
63
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
64
|
_createClass(EntryPartsApi, [{
|
|
61
65
|
key: "changeDocPartType",
|
|
62
66
|
value: function changeDocPartType(docpartid, typeid, opts, callback) {
|
|
63
67
|
opts = opts || {};
|
|
64
|
-
var postBody = null;
|
|
65
|
-
|
|
68
|
+
var postBody = null;
|
|
69
|
+
// verify the required parameter 'docpartid' is set
|
|
66
70
|
if (docpartid === undefined || docpartid === null) {
|
|
67
71
|
throw new Error("Missing the required parameter 'docpartid' when calling changeDocPartType");
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
}
|
|
73
|
+
// verify the required parameter 'typeid' is set
|
|
71
74
|
if (typeid === undefined || typeid === null) {
|
|
72
75
|
throw new Error("Missing the required parameter 'typeid' when calling changeDocPartType");
|
|
73
76
|
}
|
|
74
|
-
|
|
75
77
|
var pathParams = {
|
|
76
78
|
'docpartid': docpartid,
|
|
77
79
|
'typeid': typeid
|
|
@@ -89,11 +91,12 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
89
91
|
var returnType = null;
|
|
90
92
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/changetype/{typeid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
91
93
|
}
|
|
94
|
+
|
|
92
95
|
/**
|
|
93
96
|
* Callback function to receive the result of the copyDocumentPart operation.
|
|
94
97
|
* @callback module:api/EntryPartsApi~copyDocumentPartCallback
|
|
95
98
|
* @param {String} error Error message, if any.
|
|
96
|
-
* @param {module:model/
|
|
99
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
97
100
|
* @param {String} response The complete HTTP response.
|
|
98
101
|
*/
|
|
99
102
|
|
|
@@ -101,23 +104,21 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
101
104
|
* Create a copy of the document part attached to the same parent document part or Article as the original
|
|
102
105
|
* @param {Number} docpartid
|
|
103
106
|
* @param {Object} opts Optional parameters
|
|
104
|
-
* @param {String}
|
|
105
|
-
* @param {Number}
|
|
106
|
-
* @param {String}
|
|
107
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
108
|
+
* @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
|
|
109
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
107
110
|
* @param {module:api/EntryPartsApi~copyDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
108
|
-
* data is of type: {@link module:model/
|
|
111
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
109
112
|
*/
|
|
110
|
-
|
|
111
113
|
}, {
|
|
112
114
|
key: "copyDocumentPart",
|
|
113
115
|
value: function copyDocumentPart(docpartid, opts, callback) {
|
|
114
116
|
opts = opts || {};
|
|
115
|
-
var postBody = null;
|
|
116
|
-
|
|
117
|
+
var postBody = null;
|
|
118
|
+
// verify the required parameter 'docpartid' is set
|
|
117
119
|
if (docpartid === undefined || docpartid === null) {
|
|
118
120
|
throw new Error("Missing the required parameter 'docpartid' when calling copyDocumentPart");
|
|
119
121
|
}
|
|
120
|
-
|
|
121
122
|
var pathParams = {
|
|
122
123
|
'docpartid': docpartid
|
|
123
124
|
};
|
|
@@ -131,9 +132,10 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
131
132
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
132
133
|
var contentTypes = [];
|
|
133
134
|
var accepts = ['*/*'];
|
|
134
|
-
var returnType =
|
|
135
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
135
136
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
136
137
|
}
|
|
138
|
+
|
|
137
139
|
/**
|
|
138
140
|
* Callback function to receive the result of the createChildDocumentPart operation.
|
|
139
141
|
* @callback module:api/EntryPartsApi~createChildDocumentPartCallback
|
|
@@ -147,28 +149,25 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
147
149
|
* @param {Number} docpartid
|
|
148
150
|
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
149
151
|
* @param {Object} opts Optional parameters
|
|
150
|
-
* @param {String}
|
|
151
|
-
* @param {Number}
|
|
152
|
-
* @param {String}
|
|
152
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
153
|
+
* @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
|
|
154
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
153
155
|
* @param {module:api/EntryPartsApi~createChildDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
154
156
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
155
157
|
*/
|
|
156
|
-
|
|
157
158
|
}, {
|
|
158
159
|
key: "createChildDocumentPart",
|
|
159
160
|
value: function createChildDocumentPart(docpartid, documentPart, opts, callback) {
|
|
160
161
|
opts = opts || {};
|
|
161
|
-
var postBody = documentPart;
|
|
162
|
-
|
|
162
|
+
var postBody = documentPart;
|
|
163
|
+
// verify the required parameter 'docpartid' is set
|
|
163
164
|
if (docpartid === undefined || docpartid === null) {
|
|
164
165
|
throw new Error("Missing the required parameter 'docpartid' when calling createChildDocumentPart");
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
}
|
|
167
|
+
// verify the required parameter 'documentPart' is set
|
|
168
168
|
if (documentPart === undefined || documentPart === null) {
|
|
169
169
|
throw new Error("Missing the required parameter 'documentPart' when calling createChildDocumentPart");
|
|
170
170
|
}
|
|
171
|
-
|
|
172
171
|
var pathParams = {
|
|
173
172
|
'docpartid': docpartid
|
|
174
173
|
};
|
|
@@ -185,11 +184,12 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
185
184
|
var returnType = [_DocumentPart["default"]];
|
|
186
185
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
187
186
|
}
|
|
187
|
+
|
|
188
188
|
/**
|
|
189
189
|
* Callback function to receive the result of the createDocumentPart operation.
|
|
190
190
|
* @callback module:api/EntryPartsApi~createDocumentPartCallback
|
|
191
191
|
* @param {String} error Error message, if any.
|
|
192
|
-
* @param {module:model/
|
|
192
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
193
193
|
* @param {String} response The complete HTTP response.
|
|
194
194
|
*/
|
|
195
195
|
|
|
@@ -197,23 +197,21 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
197
197
|
* Create a new document part
|
|
198
198
|
* @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
|
|
199
199
|
* @param {Object} opts Optional parameters
|
|
200
|
-
* @param {String}
|
|
201
|
-
* @param {Number}
|
|
202
|
-
* @param {String}
|
|
200
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
201
|
+
* @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
|
|
202
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
203
203
|
* @param {module:api/EntryPartsApi~createDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
204
|
-
* data is of type: {@link module:model/
|
|
204
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
205
205
|
*/
|
|
206
|
-
|
|
207
206
|
}, {
|
|
208
207
|
key: "createDocumentPart",
|
|
209
208
|
value: function createDocumentPart(documentPart, opts, callback) {
|
|
210
209
|
opts = opts || {};
|
|
211
|
-
var postBody = documentPart;
|
|
212
|
-
|
|
210
|
+
var postBody = documentPart;
|
|
211
|
+
// verify the required parameter 'documentPart' is set
|
|
213
212
|
if (documentPart === undefined || documentPart === null) {
|
|
214
213
|
throw new Error("Missing the required parameter 'documentPart' when calling createDocumentPart");
|
|
215
214
|
}
|
|
216
|
-
|
|
217
215
|
var pathParams = {};
|
|
218
216
|
var queryParams = {};
|
|
219
217
|
var headerParams = {
|
|
@@ -225,9 +223,10 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
225
223
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
226
224
|
var contentTypes = [];
|
|
227
225
|
var accepts = ['*/*'];
|
|
228
|
-
var returnType =
|
|
226
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
229
227
|
return this.apiClient.callApi('/graph/data/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
230
228
|
}
|
|
229
|
+
|
|
231
230
|
/**
|
|
232
231
|
* Callback function to receive the result of the deleteDocPart operation.
|
|
233
232
|
* @callback module:api/EntryPartsApi~deleteDocPartCallback
|
|
@@ -241,22 +240,20 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
241
240
|
* Delete an individual entry part
|
|
242
241
|
* @param {Number} docpartid
|
|
243
242
|
* @param {Object} opts Optional parameters
|
|
244
|
-
* @param {String}
|
|
245
|
-
* @param {Number}
|
|
246
|
-
* @param {String}
|
|
243
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
244
|
+
* @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
|
|
245
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
247
246
|
* @param {module:api/EntryPartsApi~deleteDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
248
247
|
*/
|
|
249
|
-
|
|
250
248
|
}, {
|
|
251
249
|
key: "deleteDocPart",
|
|
252
250
|
value: function deleteDocPart(docpartid, opts, callback) {
|
|
253
251
|
opts = opts || {};
|
|
254
|
-
var postBody = null;
|
|
255
|
-
|
|
252
|
+
var postBody = null;
|
|
253
|
+
// verify the required parameter 'docpartid' is set
|
|
256
254
|
if (docpartid === undefined || docpartid === null) {
|
|
257
255
|
throw new Error("Missing the required parameter 'docpartid' when calling deleteDocPart");
|
|
258
256
|
}
|
|
259
|
-
|
|
260
257
|
var pathParams = {
|
|
261
258
|
'docpartid': docpartid
|
|
262
259
|
};
|
|
@@ -273,6 +270,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
273
270
|
var returnType = null;
|
|
274
271
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
275
272
|
}
|
|
273
|
+
|
|
276
274
|
/**
|
|
277
275
|
* Callback function to receive the result of the deleteObject operation.
|
|
278
276
|
* @callback module:api/EntryPartsApi~deleteObjectCallback
|
|
@@ -285,22 +283,20 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
285
283
|
* Delete's the object with the id
|
|
286
284
|
* @param {Number} id The id of the object to delete
|
|
287
285
|
* @param {Object} opts Optional parameters
|
|
288
|
-
* @param {String}
|
|
289
|
-
* @param {Number}
|
|
290
|
-
* @param {String}
|
|
286
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
287
|
+
* @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
|
|
288
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
291
289
|
* @param {module:api/EntryPartsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
292
290
|
*/
|
|
293
|
-
|
|
294
291
|
}, {
|
|
295
292
|
key: "deleteObject",
|
|
296
293
|
value: function deleteObject(id, opts, callback) {
|
|
297
294
|
opts = opts || {};
|
|
298
|
-
var postBody = null;
|
|
299
|
-
|
|
295
|
+
var postBody = null;
|
|
296
|
+
// verify the required parameter 'id' is set
|
|
300
297
|
if (id === undefined || id === null) {
|
|
301
298
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
302
299
|
}
|
|
303
|
-
|
|
304
300
|
var pathParams = {
|
|
305
301
|
'id': id
|
|
306
302
|
};
|
|
@@ -317,6 +313,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
317
313
|
var returnType = null;
|
|
318
314
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
319
315
|
}
|
|
316
|
+
|
|
320
317
|
/**
|
|
321
318
|
* Callback function to receive the result of the get27 operation.
|
|
322
319
|
* @callback module:api/EntryPartsApi~get27Callback
|
|
@@ -328,12 +325,11 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
328
325
|
/**
|
|
329
326
|
* Root for the API
|
|
330
327
|
* @param {Object} opts Optional parameters
|
|
331
|
-
* @param {String}
|
|
332
|
-
* @param {Number}
|
|
333
|
-
* @param {String}
|
|
328
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
329
|
+
* @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
|
|
330
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
334
331
|
* @param {module:api/EntryPartsApi~get27Callback} callback The callback function, accepting three arguments: error, data, response
|
|
335
332
|
*/
|
|
336
|
-
|
|
337
333
|
}, {
|
|
338
334
|
key: "get27",
|
|
339
335
|
value: function get27(opts, callback) {
|
|
@@ -353,6 +349,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
353
349
|
var returnType = null;
|
|
354
350
|
return this.apiClient.callApi('/graph/data/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
355
351
|
}
|
|
352
|
+
|
|
356
353
|
/**
|
|
357
354
|
* Callback function to receive the result of the getChildDocPartByPageNum operation.
|
|
358
355
|
* @callback module:api/EntryPartsApi~getChildDocPartByPageNumCallback
|
|
@@ -366,28 +363,25 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
366
363
|
* @param {Number} id
|
|
367
364
|
* @param {Number} pagenum
|
|
368
365
|
* @param {Object} opts Optional parameters
|
|
369
|
-
* @param {String}
|
|
370
|
-
* @param {Number}
|
|
371
|
-
* @param {String}
|
|
366
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
367
|
+
* @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
|
|
368
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
372
369
|
* @param {module:api/EntryPartsApi~getChildDocPartByPageNumCallback} callback The callback function, accepting three arguments: error, data, response
|
|
373
370
|
* data is of type: {@link module:model/DocumentPart}
|
|
374
371
|
*/
|
|
375
|
-
|
|
376
372
|
}, {
|
|
377
373
|
key: "getChildDocPartByPageNum",
|
|
378
374
|
value: function getChildDocPartByPageNum(id, pagenum, opts, callback) {
|
|
379
375
|
opts = opts || {};
|
|
380
|
-
var postBody = null;
|
|
381
|
-
|
|
376
|
+
var postBody = null;
|
|
377
|
+
// verify the required parameter 'id' is set
|
|
382
378
|
if (id === undefined || id === null) {
|
|
383
379
|
throw new Error("Missing the required parameter 'id' when calling getChildDocPartByPageNum");
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
|
|
380
|
+
}
|
|
381
|
+
// verify the required parameter 'pagenum' is set
|
|
387
382
|
if (pagenum === undefined || pagenum === null) {
|
|
388
383
|
throw new Error("Missing the required parameter 'pagenum' when calling getChildDocPartByPageNum");
|
|
389
384
|
}
|
|
390
|
-
|
|
391
385
|
var pathParams = {
|
|
392
386
|
'id': id,
|
|
393
387
|
'pagenum': pagenum
|
|
@@ -405,6 +399,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
405
399
|
var returnType = _DocumentPart["default"];
|
|
406
400
|
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
407
401
|
}
|
|
402
|
+
|
|
408
403
|
/**
|
|
409
404
|
* Callback function to receive the result of the getDocumentPartById operation.
|
|
410
405
|
* @callback module:api/EntryPartsApi~getDocumentPartByIdCallback
|
|
@@ -417,23 +412,21 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
417
412
|
* Returns the entrypart with the given id
|
|
418
413
|
* @param {Number} id
|
|
419
414
|
* @param {Object} opts Optional parameters
|
|
420
|
-
* @param {String}
|
|
421
|
-
* @param {Number}
|
|
422
|
-
* @param {String}
|
|
415
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
416
|
+
* @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
|
|
417
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
423
418
|
* @param {module:api/EntryPartsApi~getDocumentPartByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
424
419
|
* data is of type: {@link module:model/DocumentPart}
|
|
425
420
|
*/
|
|
426
|
-
|
|
427
421
|
}, {
|
|
428
422
|
key: "getDocumentPartById",
|
|
429
423
|
value: function getDocumentPartById(id, opts, callback) {
|
|
430
424
|
opts = opts || {};
|
|
431
|
-
var postBody = null;
|
|
432
|
-
|
|
425
|
+
var postBody = null;
|
|
426
|
+
// verify the required parameter 'id' is set
|
|
433
427
|
if (id === undefined || id === null) {
|
|
434
428
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById");
|
|
435
429
|
}
|
|
436
|
-
|
|
437
430
|
var pathParams = {
|
|
438
431
|
'id': id
|
|
439
432
|
};
|
|
@@ -450,6 +443,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
450
443
|
var returnType = _DocumentPart["default"];
|
|
451
444
|
return this.apiClient.callApi('/graph/data/entryparts/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
452
445
|
}
|
|
446
|
+
|
|
453
447
|
/**
|
|
454
448
|
* Callback function to receive the result of the getDocumentPartById1 operation.
|
|
455
449
|
* @callback module:api/EntryPartsApi~getDocumentPartById1Callback
|
|
@@ -462,23 +456,21 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
462
456
|
* Returns the entrypart with the given id
|
|
463
457
|
* @param {Number} id
|
|
464
458
|
* @param {Object} opts Optional parameters
|
|
465
|
-
* @param {String}
|
|
466
|
-
* @param {Number}
|
|
467
|
-
* @param {String}
|
|
459
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
460
|
+
* @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
|
|
461
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
468
462
|
* @param {module:api/EntryPartsApi~getDocumentPartById1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
469
463
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
470
464
|
*/
|
|
471
|
-
|
|
472
465
|
}, {
|
|
473
466
|
key: "getDocumentPartById1",
|
|
474
467
|
value: function getDocumentPartById1(id, opts, callback) {
|
|
475
468
|
opts = opts || {};
|
|
476
|
-
var postBody = null;
|
|
477
|
-
|
|
469
|
+
var postBody = null;
|
|
470
|
+
// verify the required parameter 'id' is set
|
|
478
471
|
if (id === undefined || id === null) {
|
|
479
472
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartById1");
|
|
480
473
|
}
|
|
481
|
-
|
|
482
474
|
var pathParams = {
|
|
483
475
|
'id': id
|
|
484
476
|
};
|
|
@@ -495,6 +487,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
495
487
|
var returnType = [_DocumentPart["default"]];
|
|
496
488
|
return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
497
489
|
}
|
|
490
|
+
|
|
498
491
|
/**
|
|
499
492
|
* Callback function to receive the result of the moveChildPart operation.
|
|
500
493
|
* @callback module:api/EntryPartsApi~moveChildPartCallback
|
|
@@ -509,32 +502,28 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
509
502
|
* @param {Number} newdocpartid
|
|
510
503
|
* @param {Number} partindex
|
|
511
504
|
* @param {Object} opts Optional parameters
|
|
512
|
-
* @param {String}
|
|
513
|
-
* @param {Number}
|
|
514
|
-
* @param {String}
|
|
505
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
506
|
+
* @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
|
|
507
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
515
508
|
* @param {module:api/EntryPartsApi~moveChildPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
516
509
|
*/
|
|
517
|
-
|
|
518
510
|
}, {
|
|
519
511
|
key: "moveChildPart",
|
|
520
512
|
value: function moveChildPart(docpartid, newdocpartid, partindex, opts, callback) {
|
|
521
513
|
opts = opts || {};
|
|
522
|
-
var postBody = null;
|
|
523
|
-
|
|
514
|
+
var postBody = null;
|
|
515
|
+
// verify the required parameter 'docpartid' is set
|
|
524
516
|
if (docpartid === undefined || docpartid === null) {
|
|
525
517
|
throw new Error("Missing the required parameter 'docpartid' when calling moveChildPart");
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
518
|
+
}
|
|
519
|
+
// verify the required parameter 'newdocpartid' is set
|
|
529
520
|
if (newdocpartid === undefined || newdocpartid === null) {
|
|
530
521
|
throw new Error("Missing the required parameter 'newdocpartid' when calling moveChildPart");
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
|
|
522
|
+
}
|
|
523
|
+
// verify the required parameter 'partindex' is set
|
|
534
524
|
if (partindex === undefined || partindex === null) {
|
|
535
525
|
throw new Error("Missing the required parameter 'partindex' when calling moveChildPart");
|
|
536
526
|
}
|
|
537
|
-
|
|
538
527
|
var pathParams = {
|
|
539
528
|
'docpartid': docpartid,
|
|
540
529
|
'newdocpartid': newdocpartid,
|
|
@@ -553,6 +542,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
553
542
|
var returnType = null;
|
|
554
543
|
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
544
|
}
|
|
545
|
+
|
|
556
546
|
/**
|
|
557
547
|
* Callback function to receive the result of the moveDocPart operation.
|
|
558
548
|
* @callback module:api/EntryPartsApi~moveDocPartCallback
|
|
@@ -567,32 +557,28 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
567
557
|
* @param {Number} articleid
|
|
568
558
|
* @param {Number} partindex
|
|
569
559
|
* @param {Object} opts Optional parameters
|
|
570
|
-
* @param {String}
|
|
571
|
-
* @param {Number}
|
|
572
|
-
* @param {String}
|
|
560
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
561
|
+
* @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
|
|
562
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
573
563
|
* @param {module:api/EntryPartsApi~moveDocPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
574
564
|
*/
|
|
575
|
-
|
|
576
565
|
}, {
|
|
577
566
|
key: "moveDocPart",
|
|
578
567
|
value: function moveDocPart(docpartid, articleid, partindex, opts, callback) {
|
|
579
568
|
opts = opts || {};
|
|
580
|
-
var postBody = null;
|
|
581
|
-
|
|
569
|
+
var postBody = null;
|
|
570
|
+
// verify the required parameter 'docpartid' is set
|
|
582
571
|
if (docpartid === undefined || docpartid === null) {
|
|
583
572
|
throw new Error("Missing the required parameter 'docpartid' when calling moveDocPart");
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
573
|
+
}
|
|
574
|
+
// verify the required parameter 'articleid' is set
|
|
587
575
|
if (articleid === undefined || articleid === null) {
|
|
588
576
|
throw new Error("Missing the required parameter 'articleid' when calling moveDocPart");
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
|
|
577
|
+
}
|
|
578
|
+
// verify the required parameter 'partindex' is set
|
|
592
579
|
if (partindex === undefined || partindex === null) {
|
|
593
580
|
throw new Error("Missing the required parameter 'partindex' when calling moveDocPart");
|
|
594
581
|
}
|
|
595
|
-
|
|
596
582
|
var pathParams = {
|
|
597
583
|
'docpartid': docpartid,
|
|
598
584
|
'articleid': articleid,
|
|
@@ -611,6 +597,7 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
611
597
|
var returnType = null;
|
|
612
598
|
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
599
|
}
|
|
600
|
+
|
|
614
601
|
/**
|
|
615
602
|
* Callback function to receive the result of the updateDocumentPart operation.
|
|
616
603
|
* @callback module:api/EntryPartsApi~updateDocumentPartCallback
|
|
@@ -624,28 +611,25 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
624
611
|
* @param {Number} docpartid
|
|
625
612
|
* @param {module:model/DocumentPart} documentPart Document part or array of document parts to create
|
|
626
613
|
* @param {Object} opts Optional parameters
|
|
627
|
-
* @param {String}
|
|
628
|
-
* @param {Number}
|
|
629
|
-
* @param {String}
|
|
614
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
615
|
+
* @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
|
|
616
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
630
617
|
* @param {module:api/EntryPartsApi~updateDocumentPartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
631
618
|
* data is of type: {@link module:model/DocumentPart}
|
|
632
619
|
*/
|
|
633
|
-
|
|
634
620
|
}, {
|
|
635
621
|
key: "updateDocumentPart",
|
|
636
622
|
value: function updateDocumentPart(docpartid, documentPart, opts, callback) {
|
|
637
623
|
opts = opts || {};
|
|
638
|
-
var postBody = documentPart;
|
|
639
|
-
|
|
624
|
+
var postBody = documentPart;
|
|
625
|
+
// verify the required parameter 'docpartid' is set
|
|
640
626
|
if (docpartid === undefined || docpartid === null) {
|
|
641
627
|
throw new Error("Missing the required parameter 'docpartid' when calling updateDocumentPart");
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
628
|
+
}
|
|
629
|
+
// verify the required parameter 'documentPart' is set
|
|
645
630
|
if (documentPart === undefined || documentPart === null) {
|
|
646
631
|
throw new Error("Missing the required parameter 'documentPart' when calling updateDocumentPart");
|
|
647
632
|
}
|
|
648
|
-
|
|
649
633
|
var pathParams = {
|
|
650
634
|
'docpartid': docpartid
|
|
651
635
|
};
|
|
@@ -663,8 +647,5 @@ var EntryPartsApi = /*#__PURE__*/function () {
|
|
|
663
647
|
return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
664
648
|
}
|
|
665
649
|
}]);
|
|
666
|
-
|
|
667
650
|
return EntryPartsApi;
|
|
668
|
-
}();
|
|
669
|
-
|
|
670
|
-
exports["default"] = EntryPartsApi;
|
|
651
|
+
}();
|