@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/VideosApi.js
CHANGED
|
@@ -4,39 +4,39 @@ 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 _Image = _interopRequireDefault(require("../model/Image"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject5"));
|
|
13
|
-
|
|
14
9
|
var _InputPart = _interopRequireDefault(require("../model/InputPart"));
|
|
15
|
-
|
|
16
10
|
var _MultipartBody = _interopRequireDefault(require("../model/MultipartBody"));
|
|
17
|
-
|
|
11
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
18
12
|
var _SimulcastInfo = _interopRequireDefault(require("../model/SimulcastInfo"));
|
|
19
|
-
|
|
20
13
|
var _Video = _interopRequireDefault(require("../model/Video"));
|
|
21
|
-
|
|
22
14
|
var _VideoSchema = _interopRequireDefault(require("../model/VideoSchema"));
|
|
23
|
-
|
|
24
15
|
var _VideoUploadObject = _interopRequireDefault(require("../model/VideoUploadObject"));
|
|
25
|
-
|
|
26
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
-
|
|
17
|
+
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); }
|
|
28
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
|
-
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
function
|
|
33
|
-
|
|
19
|
+
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); } }
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
22
|
+
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); } /**
|
|
23
|
+
* Gobodo API
|
|
24
|
+
* REST Interface for Gobodo API
|
|
25
|
+
*
|
|
26
|
+
* The version of the OpenAPI document: 0.1.6
|
|
27
|
+
* Contact: info@gobodo.io
|
|
28
|
+
*
|
|
29
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
30
|
+
* https://openapi-generator.tech
|
|
31
|
+
* Do not edit the class manually.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
34
|
/**
|
|
35
35
|
* Videos service.
|
|
36
36
|
* @module api/VideosApi
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.6
|
|
38
38
|
*/
|
|
39
|
-
var VideosApi = /*#__PURE__*/function () {
|
|
39
|
+
var VideosApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
41
41
|
* Constructs a new VideosApi.
|
|
42
42
|
* @alias module:api/VideosApi
|
|
@@ -46,9 +46,9 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
46
46
|
*/
|
|
47
47
|
function VideosApi(apiClient) {
|
|
48
48
|
_classCallCheck(this, VideosApi);
|
|
49
|
-
|
|
50
49
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
51
50
|
}
|
|
51
|
+
|
|
52
52
|
/**
|
|
53
53
|
* Callback function to receive the result of the deleteObject operation.
|
|
54
54
|
* @callback module:api/VideosApi~deleteObjectCallback
|
|
@@ -61,23 +61,20 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
61
61
|
* Delete's the object with the id
|
|
62
62
|
* @param {Number} id The id of the object to delete
|
|
63
63
|
* @param {Object} opts Optional parameters
|
|
64
|
-
* @param {String}
|
|
65
|
-
* @param {Number}
|
|
66
|
-
* @param {String}
|
|
64
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
65
|
+
* @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
|
|
66
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
67
67
|
* @param {module:api/VideosApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
68
68
|
*/
|
|
69
|
-
|
|
70
|
-
|
|
71
69
|
_createClass(VideosApi, [{
|
|
72
70
|
key: "deleteObject",
|
|
73
71
|
value: function deleteObject(id, opts, callback) {
|
|
74
72
|
opts = opts || {};
|
|
75
|
-
var postBody = null;
|
|
76
|
-
|
|
73
|
+
var postBody = null;
|
|
74
|
+
// verify the required parameter 'id' is set
|
|
77
75
|
if (id === undefined || id === null) {
|
|
78
76
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
79
77
|
}
|
|
80
|
-
|
|
81
78
|
var pathParams = {
|
|
82
79
|
'id': id
|
|
83
80
|
};
|
|
@@ -94,6 +91,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
94
91
|
var returnType = null;
|
|
95
92
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
96
93
|
}
|
|
94
|
+
|
|
97
95
|
/**
|
|
98
96
|
* Callback function to receive the result of the get44 operation.
|
|
99
97
|
* @callback module:api/VideosApi~get44Callback
|
|
@@ -105,12 +103,11 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
105
103
|
/**
|
|
106
104
|
* Root for the API
|
|
107
105
|
* @param {Object} opts Optional parameters
|
|
108
|
-
* @param {String}
|
|
109
|
-
* @param {Number}
|
|
110
|
-
* @param {String}
|
|
106
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
107
|
+
* @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
|
|
108
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
111
109
|
* @param {module:api/VideosApi~get44Callback} callback The callback function, accepting three arguments: error, data, response
|
|
112
110
|
*/
|
|
113
|
-
|
|
114
111
|
}, {
|
|
115
112
|
key: "get44",
|
|
116
113
|
value: function get44(opts, callback) {
|
|
@@ -130,6 +127,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
130
127
|
var returnType = null;
|
|
131
128
|
return this.apiClient.callApi('/graph/data/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
132
129
|
}
|
|
130
|
+
|
|
133
131
|
/**
|
|
134
132
|
* Callback function to receive the result of the getVideoById operation.
|
|
135
133
|
* @callback module:api/VideosApi~getVideoByIdCallback
|
|
@@ -143,23 +141,21 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
143
141
|
* Gets a video by id
|
|
144
142
|
* @param {Number} id
|
|
145
143
|
* @param {Object} opts Optional parameters
|
|
146
|
-
* @param {String}
|
|
147
|
-
* @param {Number}
|
|
148
|
-
* @param {String}
|
|
144
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
145
|
+
* @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
|
|
146
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
149
147
|
* @param {module:api/VideosApi~getVideoByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
150
148
|
* data is of type: {@link module:model/VideoSchema}
|
|
151
149
|
*/
|
|
152
|
-
|
|
153
150
|
}, {
|
|
154
151
|
key: "getVideoById",
|
|
155
152
|
value: function getVideoById(id, opts, callback) {
|
|
156
153
|
opts = opts || {};
|
|
157
|
-
var postBody = null;
|
|
158
|
-
|
|
154
|
+
var postBody = null;
|
|
155
|
+
// verify the required parameter 'id' is set
|
|
159
156
|
if (id === undefined || id === null) {
|
|
160
157
|
throw new Error("Missing the required parameter 'id' when calling getVideoById");
|
|
161
158
|
}
|
|
162
|
-
|
|
163
159
|
var pathParams = {
|
|
164
160
|
'id': id
|
|
165
161
|
};
|
|
@@ -176,6 +172,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
176
172
|
var returnType = _VideoSchema["default"];
|
|
177
173
|
return this.apiClient.callApi('/graph/data/videos/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
178
174
|
}
|
|
175
|
+
|
|
179
176
|
/**
|
|
180
177
|
* Callback function to receive the result of the getVideos operation.
|
|
181
178
|
* @callback module:api/VideosApi~getVideosCallback
|
|
@@ -187,23 +184,21 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
187
184
|
/**
|
|
188
185
|
* @param {Number} id
|
|
189
186
|
* @param {Object} opts Optional parameters
|
|
190
|
-
* @param {String}
|
|
191
|
-
* @param {Number}
|
|
192
|
-
* @param {String}
|
|
187
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
188
|
+
* @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
|
|
189
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
193
190
|
* @param {module:api/VideosApi~getVideosCallback} callback The callback function, accepting three arguments: error, data, response
|
|
194
191
|
* data is of type: {@link Array.<module:model/Video>}
|
|
195
192
|
*/
|
|
196
|
-
|
|
197
193
|
}, {
|
|
198
194
|
key: "getVideos",
|
|
199
195
|
value: function getVideos(id, opts, callback) {
|
|
200
196
|
opts = opts || {};
|
|
201
|
-
var postBody = null;
|
|
202
|
-
|
|
197
|
+
var postBody = null;
|
|
198
|
+
// verify the required parameter 'id' is set
|
|
203
199
|
if (id === undefined || id === null) {
|
|
204
200
|
throw new Error("Missing the required parameter 'id' when calling getVideos");
|
|
205
201
|
}
|
|
206
|
-
|
|
207
202
|
var pathParams = {
|
|
208
203
|
'id': id
|
|
209
204
|
};
|
|
@@ -220,6 +215,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
220
215
|
var returnType = [_Video["default"]];
|
|
221
216
|
return this.apiClient.callApi('/graph/data/object/{id}/videos', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
222
217
|
}
|
|
218
|
+
|
|
223
219
|
/**
|
|
224
220
|
* Callback function to receive the result of the setThumbnail operation.
|
|
225
221
|
* @callback module:api/VideosApi~setThumbnailCallback
|
|
@@ -232,28 +228,25 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
232
228
|
* @param {Number} id
|
|
233
229
|
* @param {Number} body Video to update
|
|
234
230
|
* @param {Object} opts Optional parameters
|
|
235
|
-
* @param {String}
|
|
236
|
-
* @param {Number}
|
|
237
|
-
* @param {String}
|
|
231
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
232
|
+
* @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
|
|
233
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
238
234
|
* @param {module:api/VideosApi~setThumbnailCallback} callback The callback function, accepting three arguments: error, data, response
|
|
239
235
|
* data is of type: {@link module:model/Image}
|
|
240
236
|
*/
|
|
241
|
-
|
|
242
237
|
}, {
|
|
243
238
|
key: "setThumbnail",
|
|
244
239
|
value: function setThumbnail(id, body, opts, callback) {
|
|
245
240
|
opts = opts || {};
|
|
246
|
-
var postBody = body;
|
|
247
|
-
|
|
241
|
+
var postBody = body;
|
|
242
|
+
// verify the required parameter 'id' is set
|
|
248
243
|
if (id === undefined || id === null) {
|
|
249
244
|
throw new Error("Missing the required parameter 'id' when calling setThumbnail");
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
245
|
+
}
|
|
246
|
+
// verify the required parameter 'body' is set
|
|
253
247
|
if (body === undefined || body === null) {
|
|
254
248
|
throw new Error("Missing the required parameter 'body' when calling setThumbnail");
|
|
255
249
|
}
|
|
256
|
-
|
|
257
250
|
var pathParams = {
|
|
258
251
|
'id': id
|
|
259
252
|
};
|
|
@@ -270,6 +263,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
270
263
|
var returnType = _Image["default"];
|
|
271
264
|
return this.apiClient.callApi('/graph/data/videos/{id}/setthumbnail', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
272
265
|
}
|
|
266
|
+
|
|
273
267
|
/**
|
|
274
268
|
* Callback function to receive the result of the simulcast operation.
|
|
275
269
|
* @callback module:api/VideosApi~simulcastCallback
|
|
@@ -282,28 +276,25 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
282
276
|
* @param {Number} id
|
|
283
277
|
* @param {module:model/SimulcastInfo} simulcastInfo The simulcast info
|
|
284
278
|
* @param {Object} opts Optional parameters
|
|
285
|
-
* @param {String}
|
|
286
|
-
* @param {Number}
|
|
287
|
-
* @param {String}
|
|
279
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
280
|
+
* @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
|
|
281
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
288
282
|
* @param {module:api/VideosApi~simulcastCallback} callback The callback function, accepting three arguments: error, data, response
|
|
289
283
|
* data is of type: {@link module:model/SimulcastInfo}
|
|
290
284
|
*/
|
|
291
|
-
|
|
292
285
|
}, {
|
|
293
286
|
key: "simulcast",
|
|
294
287
|
value: function simulcast(id, simulcastInfo, opts, callback) {
|
|
295
288
|
opts = opts || {};
|
|
296
|
-
var postBody = simulcastInfo;
|
|
297
|
-
|
|
289
|
+
var postBody = simulcastInfo;
|
|
290
|
+
// verify the required parameter 'id' is set
|
|
298
291
|
if (id === undefined || id === null) {
|
|
299
292
|
throw new Error("Missing the required parameter 'id' when calling simulcast");
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
293
|
+
}
|
|
294
|
+
// verify the required parameter 'simulcastInfo' is set
|
|
303
295
|
if (simulcastInfo === undefined || simulcastInfo === null) {
|
|
304
296
|
throw new Error("Missing the required parameter 'simulcastInfo' when calling simulcast");
|
|
305
297
|
}
|
|
306
|
-
|
|
307
298
|
var pathParams = {
|
|
308
299
|
'id': id
|
|
309
300
|
};
|
|
@@ -320,6 +311,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
320
311
|
var returnType = _SimulcastInfo["default"];
|
|
321
312
|
return this.apiClient.callApi('/graph/data/videos/{id}/simulcast', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
322
313
|
}
|
|
314
|
+
|
|
323
315
|
/**
|
|
324
316
|
* Callback function to receive the result of the startLiveStream operation.
|
|
325
317
|
* @callback module:api/VideosApi~startLiveStreamCallback
|
|
@@ -331,23 +323,21 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
331
323
|
/**
|
|
332
324
|
* @param {module:model/VideoSchema} videoSchema The simulcast info
|
|
333
325
|
* @param {Object} opts Optional parameters
|
|
334
|
-
* @param {String}
|
|
335
|
-
* @param {Number}
|
|
336
|
-
* @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
|
|
337
329
|
* @param {module:api/VideosApi~startLiveStreamCallback} callback The callback function, accepting three arguments: error, data, response
|
|
338
330
|
* data is of type: {@link module:model/VideoSchema}
|
|
339
331
|
*/
|
|
340
|
-
|
|
341
332
|
}, {
|
|
342
333
|
key: "startLiveStream",
|
|
343
334
|
value: function startLiveStream(videoSchema, opts, callback) {
|
|
344
335
|
opts = opts || {};
|
|
345
|
-
var postBody = videoSchema;
|
|
346
|
-
|
|
336
|
+
var postBody = videoSchema;
|
|
337
|
+
// verify the required parameter 'videoSchema' is set
|
|
347
338
|
if (videoSchema === undefined || videoSchema === null) {
|
|
348
339
|
throw new Error("Missing the required parameter 'videoSchema' when calling startLiveStream");
|
|
349
340
|
}
|
|
350
|
-
|
|
351
341
|
var pathParams = {};
|
|
352
342
|
var queryParams = {};
|
|
353
343
|
var headerParams = {
|
|
@@ -362,6 +352,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
362
352
|
var returnType = _VideoSchema["default"];
|
|
363
353
|
return this.apiClient.callApi('/graph/data/videos/livestream', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
364
354
|
}
|
|
355
|
+
|
|
365
356
|
/**
|
|
366
357
|
* Callback function to receive the result of the streamMeeting operation.
|
|
367
358
|
* @callback module:api/VideosApi~streamMeetingCallback
|
|
@@ -374,28 +365,25 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
374
365
|
* @param {Number} objectid
|
|
375
366
|
* @param {module:model/VideoSchema} videoSchema The simulcast info
|
|
376
367
|
* @param {Object} opts Optional parameters
|
|
377
|
-
* @param {String}
|
|
378
|
-
* @param {Number}
|
|
379
|
-
* @param {String}
|
|
368
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
369
|
+
* @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
|
|
370
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
380
371
|
* @param {module:api/VideosApi~streamMeetingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
381
372
|
* data is of type: {@link module:model/Video}
|
|
382
373
|
*/
|
|
383
|
-
|
|
384
374
|
}, {
|
|
385
375
|
key: "streamMeeting",
|
|
386
376
|
value: function streamMeeting(objectid, videoSchema, opts, callback) {
|
|
387
377
|
opts = opts || {};
|
|
388
|
-
var postBody = videoSchema;
|
|
389
|
-
|
|
378
|
+
var postBody = videoSchema;
|
|
379
|
+
// verify the required parameter 'objectid' is set
|
|
390
380
|
if (objectid === undefined || objectid === null) {
|
|
391
381
|
throw new Error("Missing the required parameter 'objectid' when calling streamMeeting");
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
382
|
+
}
|
|
383
|
+
// verify the required parameter 'videoSchema' is set
|
|
395
384
|
if (videoSchema === undefined || videoSchema === null) {
|
|
396
385
|
throw new Error("Missing the required parameter 'videoSchema' when calling streamMeeting");
|
|
397
386
|
}
|
|
398
|
-
|
|
399
387
|
var pathParams = {
|
|
400
388
|
'objectid': objectid
|
|
401
389
|
};
|
|
@@ -412,6 +400,7 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
412
400
|
var returnType = _Video["default"];
|
|
413
401
|
return this.apiClient.callApi('/graph/data/videos/livestream/{objectid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
414
402
|
}
|
|
403
|
+
|
|
415
404
|
/**
|
|
416
405
|
* Callback function to receive the result of the updateVideo operation.
|
|
417
406
|
* @callback module:api/VideosApi~updateVideoCallback
|
|
@@ -424,28 +413,25 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
424
413
|
* @param {Number} id
|
|
425
414
|
* @param {module:model/VideoSchema} videoSchema Video to update
|
|
426
415
|
* @param {Object} opts Optional parameters
|
|
427
|
-
* @param {String}
|
|
428
|
-
* @param {Number}
|
|
429
|
-
* @param {String}
|
|
416
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
417
|
+
* @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
|
|
418
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
430
419
|
* @param {module:api/VideosApi~updateVideoCallback} callback The callback function, accepting three arguments: error, data, response
|
|
431
420
|
* data is of type: {@link module:model/VideoSchema}
|
|
432
421
|
*/
|
|
433
|
-
|
|
434
422
|
}, {
|
|
435
423
|
key: "updateVideo",
|
|
436
424
|
value: function updateVideo(id, videoSchema, opts, callback) {
|
|
437
425
|
opts = opts || {};
|
|
438
|
-
var postBody = videoSchema;
|
|
439
|
-
|
|
426
|
+
var postBody = videoSchema;
|
|
427
|
+
// verify the required parameter 'id' is set
|
|
440
428
|
if (id === undefined || id === null) {
|
|
441
429
|
throw new Error("Missing the required parameter 'id' when calling updateVideo");
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
|
|
430
|
+
}
|
|
431
|
+
// verify the required parameter 'videoSchema' is set
|
|
445
432
|
if (videoSchema === undefined || videoSchema === null) {
|
|
446
433
|
throw new Error("Missing the required parameter 'videoSchema' when calling updateVideo");
|
|
447
434
|
}
|
|
448
|
-
|
|
449
435
|
var pathParams = {
|
|
450
436
|
'id': id
|
|
451
437
|
};
|
|
@@ -462,36 +448,37 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
462
448
|
var returnType = _VideoSchema["default"];
|
|
463
449
|
return this.apiClient.callApi('/graph/data/videos/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
464
450
|
}
|
|
451
|
+
|
|
465
452
|
/**
|
|
466
453
|
* Callback function to receive the result of the upload2 operation.
|
|
467
454
|
* @callback module:api/VideosApi~upload2Callback
|
|
468
455
|
* @param {String} error Error message, if any.
|
|
469
|
-
* @param {Object.<String, module:model/{String:
|
|
456
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
470
457
|
* @param {String} response The complete HTTP response.
|
|
471
458
|
*/
|
|
472
459
|
|
|
473
460
|
/**
|
|
474
461
|
* @param {Number} id
|
|
475
462
|
* @param {Object} opts Optional parameters
|
|
476
|
-
* @param {String}
|
|
477
|
-
* @param {Number}
|
|
478
|
-
* @param {String}
|
|
479
|
-
* @param {
|
|
480
|
-
* @param {String}
|
|
463
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
464
|
+
* @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
|
|
465
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
466
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
467
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
468
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
469
|
+
* @param {String} [preamble]
|
|
481
470
|
* @param {module:api/VideosApi~upload2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
482
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
471
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
483
472
|
*/
|
|
484
|
-
|
|
485
473
|
}, {
|
|
486
474
|
key: "upload2",
|
|
487
475
|
value: function upload2(id, opts, callback) {
|
|
488
476
|
opts = opts || {};
|
|
489
|
-
var postBody = null;
|
|
490
|
-
|
|
477
|
+
var postBody = null;
|
|
478
|
+
// verify the required parameter 'id' is set
|
|
491
479
|
if (id === undefined || id === null) {
|
|
492
480
|
throw new Error("Missing the required parameter 'id' when calling upload2");
|
|
493
481
|
}
|
|
494
|
-
|
|
495
482
|
var pathParams = {
|
|
496
483
|
'id': id
|
|
497
484
|
};
|
|
@@ -502,6 +489,8 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
502
489
|
'transactionid': opts['transactionid']
|
|
503
490
|
};
|
|
504
491
|
var formParams = {
|
|
492
|
+
'formDataMap': opts['formDataMap'],
|
|
493
|
+
'formData': opts['formData'],
|
|
505
494
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
506
495
|
'preamble': opts['preamble']
|
|
507
496
|
};
|
|
@@ -509,10 +498,11 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
509
498
|
var contentTypes = ['multipart/form-data'];
|
|
510
499
|
var accepts = ['*/*'];
|
|
511
500
|
var returnType = {
|
|
512
|
-
'String':
|
|
501
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
513
502
|
};
|
|
514
503
|
return this.apiClient.callApi('/graph/data/videos/{id}/upload', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
515
504
|
}
|
|
505
|
+
|
|
516
506
|
/**
|
|
517
507
|
* Callback function to receive the result of the uploadVideo operation.
|
|
518
508
|
* @callback module:api/VideosApi~uploadVideoCallback
|
|
@@ -525,15 +515,14 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
525
515
|
* Upload data
|
|
526
516
|
* Uploads one or more videos
|
|
527
517
|
* @param {Object} opts Optional parameters
|
|
528
|
-
* @param {String}
|
|
529
|
-
* @param {Number}
|
|
530
|
-
* @param {String}
|
|
531
|
-
* @param {module:model/VideoUploadObject}
|
|
532
|
-
* @param {module:model/MultipartBody}
|
|
518
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
519
|
+
* @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
|
|
520
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
521
|
+
* @param {module:model/VideoUploadObject} [object]
|
|
522
|
+
* @param {module:model/MultipartBody} [body]
|
|
533
523
|
* @param {module:api/VideosApi~uploadVideoCallback} callback The callback function, accepting three arguments: error, data, response
|
|
534
524
|
* data is of type: {@link Array.<module:model/Video>}
|
|
535
525
|
*/
|
|
536
|
-
|
|
537
526
|
}, {
|
|
538
527
|
key: "uploadVideo",
|
|
539
528
|
value: function uploadVideo(opts, callback) {
|
|
@@ -557,8 +546,5 @@ var VideosApi = /*#__PURE__*/function () {
|
|
|
557
546
|
return this.apiClient.callApi('/graph/data/videos/upload', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
558
547
|
}
|
|
559
548
|
}]);
|
|
560
|
-
|
|
561
549
|
return VideosApi;
|
|
562
|
-
}();
|
|
563
|
-
|
|
564
|
-
exports["default"] = VideosApi;
|
|
550
|
+
}();
|