@gobodo/gobodo-api 0.1.5 → 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 +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 +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 +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 +70 -50
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +68 -56
- 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 +141 -104
- 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 +126 -81
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +84 -61
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +89 -104
- package/dist/model/File.js +61 -47
- 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 +84 -76
- 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 +80 -39
- package/dist/model/GraphObjectSchema.js +97 -69
- package/dist/model/GraphObjectType.js +97 -73
- package/dist/model/GraphObjectTypeSchema.js +116 -73
- 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 +106 -86
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +81 -63
- 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 +73 -45
- 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 +104 -64
- 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 +110 -70
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +80 -66
- 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 +44 -31
- 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 +89 -104
- 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 +104 -64
- package/dist/model/UserDataPayload.js +104 -64
- 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 +104 -64
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +107 -88
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +125 -101
- 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
package/dist/api/DocumentsApi.js
CHANGED
|
@@ -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
|
* Documents service.
|
|
28
32
|
* @module api/DocumentsApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.6
|
|
30
34
|
*/
|
|
31
|
-
var DocumentsApi = /*#__PURE__*/function () {
|
|
35
|
+
var DocumentsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new DocumentsApi.
|
|
34
38
|
* @alias module:api/DocumentsApi
|
|
@@ -38,9 +42,9 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function DocumentsApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, DocumentsApi);
|
|
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/DocumentsApi~addDocumentPartCallback
|
|
@@ -54,29 +58,25 @@ var DocumentsApi = /*#__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/DocumentsApi~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(DocumentsApi, [{
|
|
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 DocumentsApi = /*#__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 changeStatus operation.
|
|
98
99
|
* @callback module:api/DocumentsApi~changeStatusCallback
|
|
@@ -104,23 +105,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
104
105
|
/**
|
|
105
106
|
* @param {Number} id
|
|
106
107
|
* @param {Object} opts Optional parameters
|
|
107
|
-
* @param {String}
|
|
108
|
-
* @param {Number}
|
|
109
|
-
* @param {String}
|
|
110
|
-
* @param {Object.<String, {String:
|
|
108
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
109
|
+
* @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
|
|
110
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
111
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
111
112
|
* @param {module:api/DocumentsApi~changeStatusCallback} callback The callback function, accepting three arguments: error, data, response
|
|
112
113
|
*/
|
|
113
|
-
|
|
114
114
|
}, {
|
|
115
115
|
key: "changeStatus",
|
|
116
116
|
value: function changeStatus(id, opts, callback) {
|
|
117
117
|
opts = opts || {};
|
|
118
|
-
var postBody = opts['requestBody'];
|
|
119
|
-
|
|
118
|
+
var postBody = opts['requestBody'];
|
|
119
|
+
// verify the required parameter 'id' is set
|
|
120
120
|
if (id === undefined || id === null) {
|
|
121
121
|
throw new Error("Missing the required parameter 'id' when calling changeStatus");
|
|
122
122
|
}
|
|
123
|
-
|
|
124
123
|
var pathParams = {
|
|
125
124
|
'id': id
|
|
126
125
|
};
|
|
@@ -137,6 +136,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
137
136
|
var returnType = null;
|
|
138
137
|
return this.apiClient.callApi('/graph/data/articles/{id}/status', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
139
138
|
}
|
|
139
|
+
|
|
140
140
|
/**
|
|
141
141
|
* Callback function to receive the result of the copyDocument operation.
|
|
142
142
|
* @callback module:api/DocumentsApi~copyDocumentCallback
|
|
@@ -149,23 +149,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
149
149
|
* Copies the specified document
|
|
150
150
|
* @param {Number} docid
|
|
151
151
|
* @param {Object} opts Optional parameters
|
|
152
|
-
* @param {String}
|
|
153
|
-
* @param {Number}
|
|
154
|
-
* @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
|
|
155
155
|
* @param {module:api/DocumentsApi~copyDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
156
156
|
* data is of type: {@link module:model/Document}
|
|
157
157
|
*/
|
|
158
|
-
|
|
159
158
|
}, {
|
|
160
159
|
key: "copyDocument",
|
|
161
160
|
value: function copyDocument(docid, opts, callback) {
|
|
162
161
|
opts = opts || {};
|
|
163
|
-
var postBody = null;
|
|
164
|
-
|
|
162
|
+
var postBody = null;
|
|
163
|
+
// verify the required parameter 'docid' is set
|
|
165
164
|
if (docid === undefined || docid === null) {
|
|
166
165
|
throw new Error("Missing the required parameter 'docid' when calling copyDocument");
|
|
167
166
|
}
|
|
168
|
-
|
|
169
167
|
var pathParams = {
|
|
170
168
|
'docid': docid
|
|
171
169
|
};
|
|
@@ -182,6 +180,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
182
180
|
var returnType = _Document["default"];
|
|
183
181
|
return this.apiClient.callApi('/graph/data/articles/{docid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
184
182
|
}
|
|
183
|
+
|
|
185
184
|
/**
|
|
186
185
|
* Callback function to receive the result of the createDocument operation.
|
|
187
186
|
* @callback module:api/DocumentsApi~createDocumentCallback
|
|
@@ -194,23 +193,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
194
193
|
* Create a new document
|
|
195
194
|
* @param {Array.<module:model/Document>} document Document or array of documents to create
|
|
196
195
|
* @param {Object} opts Optional parameters
|
|
197
|
-
* @param {String}
|
|
198
|
-
* @param {Number}
|
|
199
|
-
* @param {String}
|
|
196
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
197
|
+
* @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
|
|
198
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
200
199
|
* @param {module:api/DocumentsApi~createDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
201
200
|
* data is of type: {@link Array.<module:model/Document>}
|
|
202
201
|
*/
|
|
203
|
-
|
|
204
202
|
}, {
|
|
205
203
|
key: "createDocument",
|
|
206
204
|
value: function createDocument(document, opts, callback) {
|
|
207
205
|
opts = opts || {};
|
|
208
|
-
var postBody = document;
|
|
209
|
-
|
|
206
|
+
var postBody = document;
|
|
207
|
+
// verify the required parameter 'document' is set
|
|
210
208
|
if (document === undefined || document === null) {
|
|
211
209
|
throw new Error("Missing the required parameter 'document' when calling createDocument");
|
|
212
210
|
}
|
|
213
|
-
|
|
214
211
|
var pathParams = {};
|
|
215
212
|
var queryParams = {};
|
|
216
213
|
var headerParams = {
|
|
@@ -225,6 +222,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
225
222
|
var returnType = [_Document["default"]];
|
|
226
223
|
return this.apiClient.callApi('/graph/data/articles', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
224
|
}
|
|
225
|
+
|
|
228
226
|
/**
|
|
229
227
|
* Callback function to receive the result of the deleteDocument operation.
|
|
230
228
|
* @callback module:api/DocumentsApi~deleteDocumentCallback
|
|
@@ -238,22 +236,20 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
238
236
|
* Delete an individual document
|
|
239
237
|
* @param {Number} docid
|
|
240
238
|
* @param {Object} opts Optional parameters
|
|
241
|
-
* @param {String}
|
|
242
|
-
* @param {Number}
|
|
243
|
-
* @param {String}
|
|
239
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
240
|
+
* @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
|
|
241
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
244
242
|
* @param {module:api/DocumentsApi~deleteDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
245
243
|
*/
|
|
246
|
-
|
|
247
244
|
}, {
|
|
248
245
|
key: "deleteDocument",
|
|
249
246
|
value: function deleteDocument(docid, opts, callback) {
|
|
250
247
|
opts = opts || {};
|
|
251
|
-
var postBody = null;
|
|
252
|
-
|
|
248
|
+
var postBody = null;
|
|
249
|
+
// verify the required parameter 'docid' is set
|
|
253
250
|
if (docid === undefined || docid === null) {
|
|
254
251
|
throw new Error("Missing the required parameter 'docid' when calling deleteDocument");
|
|
255
252
|
}
|
|
256
|
-
|
|
257
253
|
var pathParams = {
|
|
258
254
|
'docid': docid
|
|
259
255
|
};
|
|
@@ -270,6 +266,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
270
266
|
var returnType = null;
|
|
271
267
|
return this.apiClient.callApi('/graph/data/articles/{docid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
272
268
|
}
|
|
269
|
+
|
|
273
270
|
/**
|
|
274
271
|
* Callback function to receive the result of the deleteObject operation.
|
|
275
272
|
* @callback module:api/DocumentsApi~deleteObjectCallback
|
|
@@ -282,22 +279,20 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
282
279
|
* Delete's the object with the id
|
|
283
280
|
* @param {Number} id The id of the object to delete
|
|
284
281
|
* @param {Object} opts Optional parameters
|
|
285
|
-
* @param {String}
|
|
286
|
-
* @param {Number}
|
|
287
|
-
* @param {String}
|
|
282
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
283
|
+
* @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
|
|
284
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
288
285
|
* @param {module:api/DocumentsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
289
286
|
*/
|
|
290
|
-
|
|
291
287
|
}, {
|
|
292
288
|
key: "deleteObject",
|
|
293
289
|
value: function deleteObject(id, opts, callback) {
|
|
294
290
|
opts = opts || {};
|
|
295
|
-
var postBody = null;
|
|
296
|
-
|
|
291
|
+
var postBody = null;
|
|
292
|
+
// verify the required parameter 'id' is set
|
|
297
293
|
if (id === undefined || id === null) {
|
|
298
294
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
299
295
|
}
|
|
300
|
-
|
|
301
296
|
var pathParams = {
|
|
302
297
|
'id': id
|
|
303
298
|
};
|
|
@@ -314,6 +309,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
314
309
|
var returnType = null;
|
|
315
310
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
316
311
|
}
|
|
312
|
+
|
|
317
313
|
/**
|
|
318
314
|
* Callback function to receive the result of the editDocument operation.
|
|
319
315
|
* @callback module:api/DocumentsApi~editDocumentCallback
|
|
@@ -327,28 +323,25 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
327
323
|
* @param {Number} docid
|
|
328
324
|
* @param {module:model/Document} document The document to update
|
|
329
325
|
* @param {Object} opts Optional parameters
|
|
330
|
-
* @param {String}
|
|
331
|
-
* @param {Number}
|
|
332
|
-
* @param {String}
|
|
326
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
327
|
+
* @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
|
|
328
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
333
329
|
* @param {module:api/DocumentsApi~editDocumentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
334
330
|
* data is of type: {@link module:model/Document}
|
|
335
331
|
*/
|
|
336
|
-
|
|
337
332
|
}, {
|
|
338
333
|
key: "editDocument",
|
|
339
334
|
value: function editDocument(docid, document, opts, callback) {
|
|
340
335
|
opts = opts || {};
|
|
341
|
-
var postBody = document;
|
|
342
|
-
|
|
336
|
+
var postBody = document;
|
|
337
|
+
// verify the required parameter 'docid' is set
|
|
343
338
|
if (docid === undefined || docid === null) {
|
|
344
339
|
throw new Error("Missing the required parameter 'docid' when calling editDocument");
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
340
|
+
}
|
|
341
|
+
// verify the required parameter 'document' is set
|
|
348
342
|
if (document === undefined || document === null) {
|
|
349
343
|
throw new Error("Missing the required parameter 'document' when calling editDocument");
|
|
350
344
|
}
|
|
351
|
-
|
|
352
345
|
var pathParams = {
|
|
353
346
|
'docid': docid
|
|
354
347
|
};
|
|
@@ -365,6 +358,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
365
358
|
var returnType = _Document["default"];
|
|
366
359
|
return this.apiClient.callApi('/graph/data/articles/{docid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
367
360
|
}
|
|
361
|
+
|
|
368
362
|
/**
|
|
369
363
|
* Callback function to receive the result of the get26 operation.
|
|
370
364
|
* @callback module:api/DocumentsApi~get26Callback
|
|
@@ -376,12 +370,11 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
376
370
|
/**
|
|
377
371
|
* Root for the API
|
|
378
372
|
* @param {Object} opts Optional parameters
|
|
379
|
-
* @param {String}
|
|
380
|
-
* @param {Number}
|
|
381
|
-
* @param {String}
|
|
373
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
374
|
+
* @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
|
|
375
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
382
376
|
* @param {module:api/DocumentsApi~get26Callback} callback The callback function, accepting three arguments: error, data, response
|
|
383
377
|
*/
|
|
384
|
-
|
|
385
378
|
}, {
|
|
386
379
|
key: "get26",
|
|
387
380
|
value: function get26(opts, callback) {
|
|
@@ -401,6 +394,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
401
394
|
var returnType = null;
|
|
402
395
|
return this.apiClient.callApi('/graph/data/articles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
403
396
|
}
|
|
397
|
+
|
|
404
398
|
/**
|
|
405
399
|
* Callback function to receive the result of the getAllDocuments operation.
|
|
406
400
|
* @callback module:api/DocumentsApi~getAllDocumentsCallback
|
|
@@ -412,13 +406,12 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
412
406
|
/**
|
|
413
407
|
* Returns all documents
|
|
414
408
|
* @param {Object} opts Optional parameters
|
|
415
|
-
* @param {String}
|
|
416
|
-
* @param {Number}
|
|
417
|
-
* @param {String}
|
|
409
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
410
|
+
* @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
|
|
411
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
418
412
|
* @param {module:api/DocumentsApi~getAllDocumentsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
419
413
|
* data is of type: {@link Array.<module:model/Document>}
|
|
420
414
|
*/
|
|
421
|
-
|
|
422
415
|
}, {
|
|
423
416
|
key: "getAllDocuments",
|
|
424
417
|
value: function getAllDocuments(opts, callback) {
|
|
@@ -438,6 +431,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
438
431
|
var returnType = [_Document["default"]];
|
|
439
432
|
return this.apiClient.callApi('/graph/data/articles/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
440
433
|
}
|
|
434
|
+
|
|
441
435
|
/**
|
|
442
436
|
* Callback function to receive the result of the getDocumentById operation.
|
|
443
437
|
* @callback module:api/DocumentsApi~getDocumentByIdCallback
|
|
@@ -450,23 +444,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
450
444
|
* Returns all documents
|
|
451
445
|
* @param {Number} id
|
|
452
446
|
* @param {Object} opts Optional parameters
|
|
453
|
-
* @param {String}
|
|
454
|
-
* @param {Number}
|
|
455
|
-
* @param {String}
|
|
447
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
448
|
+
* @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
|
|
449
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
456
450
|
* @param {module:api/DocumentsApi~getDocumentByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
457
451
|
* data is of type: {@link module:model/Document}
|
|
458
452
|
*/
|
|
459
|
-
|
|
460
453
|
}, {
|
|
461
454
|
key: "getDocumentById",
|
|
462
455
|
value: function getDocumentById(id, opts, callback) {
|
|
463
456
|
opts = opts || {};
|
|
464
|
-
var postBody = null;
|
|
465
|
-
|
|
457
|
+
var postBody = null;
|
|
458
|
+
// verify the required parameter 'id' is set
|
|
466
459
|
if (id === undefined || id === null) {
|
|
467
460
|
throw new Error("Missing the required parameter 'id' when calling getDocumentById");
|
|
468
461
|
}
|
|
469
|
-
|
|
470
462
|
var pathParams = {
|
|
471
463
|
'id': id
|
|
472
464
|
};
|
|
@@ -483,11 +475,12 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
483
475
|
var returnType = _Document["default"];
|
|
484
476
|
return this.apiClient.callApi('/graph/data/articles/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
485
477
|
}
|
|
478
|
+
|
|
486
479
|
/**
|
|
487
480
|
* Callback function to receive the result of the getDocumentPartByPageNumber operation.
|
|
488
481
|
* @callback module:api/DocumentsApi~getDocumentPartByPageNumberCallback
|
|
489
482
|
* @param {String} error Error message, if any.
|
|
490
|
-
* @param {Object.<String, module:model/{String:
|
|
483
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
491
484
|
* @param {String} response The complete HTTP response.
|
|
492
485
|
*/
|
|
493
486
|
|
|
@@ -496,32 +489,28 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
496
489
|
* @param {Number} id
|
|
497
490
|
* @param {Number} id2
|
|
498
491
|
* @param {Object} opts Optional parameters
|
|
499
|
-
* @param {String}
|
|
500
|
-
* @param {Number}
|
|
501
|
-
* @param {String}
|
|
492
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
493
|
+
* @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
|
|
494
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
502
495
|
* @param {module:api/DocumentsApi~getDocumentPartByPageNumberCallback} callback The callback function, accepting three arguments: error, data, response
|
|
503
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
496
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
504
497
|
*/
|
|
505
|
-
|
|
506
498
|
}, {
|
|
507
499
|
key: "getDocumentPartByPageNumber",
|
|
508
500
|
value: function getDocumentPartByPageNumber(id, id2, opts, callback) {
|
|
509
501
|
opts = opts || {};
|
|
510
|
-
var postBody = null;
|
|
511
|
-
|
|
502
|
+
var postBody = null;
|
|
503
|
+
// verify the required parameter 'id' is set
|
|
512
504
|
if (id === undefined || id === null) {
|
|
513
505
|
throw new Error("Missing the required parameter 'id' when calling getDocumentPartByPageNumber");
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
|
|
506
|
+
}
|
|
507
|
+
// verify the required parameter 'id2' is set
|
|
517
508
|
if (id2 === undefined || id2 === null) {
|
|
518
509
|
throw new Error("Missing the required parameter 'id2' when calling getDocumentPartByPageNumber");
|
|
519
510
|
}
|
|
520
|
-
|
|
521
511
|
var pathParams = _defineProperty({
|
|
522
512
|
'id': id
|
|
523
513
|
}, "id", id2);
|
|
524
|
-
|
|
525
514
|
var queryParams = {};
|
|
526
515
|
var headerParams = {
|
|
527
516
|
'Authorization': opts['authorization'],
|
|
@@ -533,10 +522,11 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
533
522
|
var contentTypes = [];
|
|
534
523
|
var accepts = ['*/*'];
|
|
535
524
|
var returnType = {
|
|
536
|
-
'String':
|
|
525
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
537
526
|
};
|
|
538
527
|
return this.apiClient.callApi('/graph/data/articles/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
539
528
|
}
|
|
529
|
+
|
|
540
530
|
/**
|
|
541
531
|
* Callback function to receive the result of the getDocumentParts operation.
|
|
542
532
|
* @callback module:api/DocumentsApi~getDocumentPartsCallback
|
|
@@ -549,23 +539,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
549
539
|
* Gets the document parts attached to the document
|
|
550
540
|
* @param {Number} id
|
|
551
541
|
* @param {Object} opts Optional parameters
|
|
552
|
-
* @param {String}
|
|
553
|
-
* @param {Number}
|
|
554
|
-
* @param {String}
|
|
542
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
543
|
+
* @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
|
|
544
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
555
545
|
* @param {module:api/DocumentsApi~getDocumentPartsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
556
546
|
* data is of type: {@link Array.<module:model/DocumentPart>}
|
|
557
547
|
*/
|
|
558
|
-
|
|
559
548
|
}, {
|
|
560
549
|
key: "getDocumentParts",
|
|
561
550
|
value: function getDocumentParts(id, opts, callback) {
|
|
562
551
|
opts = opts || {};
|
|
563
|
-
var postBody = null;
|
|
564
|
-
|
|
552
|
+
var postBody = null;
|
|
553
|
+
// verify the required parameter 'id' is set
|
|
565
554
|
if (id === undefined || id === null) {
|
|
566
555
|
throw new Error("Missing the required parameter 'id' when calling getDocumentParts");
|
|
567
556
|
}
|
|
568
|
-
|
|
569
557
|
var pathParams = {
|
|
570
558
|
'id': id
|
|
571
559
|
};
|
|
@@ -582,6 +570,7 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
582
570
|
var returnType = [_DocumentPart["default"]];
|
|
583
571
|
return this.apiClient.callApi('/graph/data/articles/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
584
572
|
}
|
|
573
|
+
|
|
585
574
|
/**
|
|
586
575
|
* Callback function to receive the result of the getDocumentsByType operation.
|
|
587
576
|
* @callback module:api/DocumentsApi~getDocumentsByTypeCallback
|
|
@@ -594,23 +583,21 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
594
583
|
* Returns the documents of the given type
|
|
595
584
|
* @param {Number} typeid
|
|
596
585
|
* @param {Object} opts Optional parameters
|
|
597
|
-
* @param {String}
|
|
598
|
-
* @param {Number}
|
|
599
|
-
* @param {String}
|
|
586
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
587
|
+
* @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
|
|
588
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
600
589
|
* @param {module:api/DocumentsApi~getDocumentsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
601
590
|
* data is of type: {@link Array.<module:model/Document>}
|
|
602
591
|
*/
|
|
603
|
-
|
|
604
592
|
}, {
|
|
605
593
|
key: "getDocumentsByType",
|
|
606
594
|
value: function getDocumentsByType(typeid, opts, callback) {
|
|
607
595
|
opts = opts || {};
|
|
608
|
-
var postBody = null;
|
|
609
|
-
|
|
596
|
+
var postBody = null;
|
|
597
|
+
// verify the required parameter 'typeid' is set
|
|
610
598
|
if (typeid === undefined || typeid === null) {
|
|
611
599
|
throw new Error("Missing the required parameter 'typeid' when calling getDocumentsByType");
|
|
612
600
|
}
|
|
613
|
-
|
|
614
601
|
var pathParams = {
|
|
615
602
|
'typeid': typeid
|
|
616
603
|
};
|
|
@@ -628,8 +615,5 @@ var DocumentsApi = /*#__PURE__*/function () {
|
|
|
628
615
|
return this.apiClient.callApi('/graph/data/articles/entrytype/{typeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
629
616
|
}
|
|
630
617
|
}]);
|
|
631
|
-
|
|
632
618
|
return DocumentsApi;
|
|
633
|
-
}();
|
|
634
|
-
|
|
635
|
-
exports["default"] = DocumentsApi;
|
|
619
|
+
}();
|