@gobodo/gobodo-api 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -29
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +590 -606
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +100 -116
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +43 -45
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +28 -28
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +67 -47
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +73 -61
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +122 -85
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +129 -84
- package/dist/model/DocumentPartType.js +67 -40
- package/dist/model/DocumentType.js +77 -54
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +93 -108
- package/dist/model/File.js +58 -44
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +77 -69
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +86 -36
- package/dist/model/GraphObjectSchema.js +90 -62
- package/dist/model/GraphObjectType.js +91 -67
- package/dist/model/GraphObjectTypeSchema.js +110 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +89 -69
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +79 -61
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +63 -35
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +108 -68
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +43 -30
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +104 -64
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +79 -65
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +38 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +93 -108
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +108 -68
- package/dist/model/UserDataPayload.js +108 -68
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +108 -68
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +104 -85
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +122 -98
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
package/dist/api/LikesApi.js
CHANGED
|
@@ -4,27 +4,33 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject5"));
|
|
13
|
-
|
|
9
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
14
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
16
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
13
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
14
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
17
|
+
* Gobodo API
|
|
18
|
+
* REST Interface for Gobodo API
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: 0.1.6
|
|
21
|
+
* Contact: info@gobodo.io
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
22
28
|
/**
|
|
23
29
|
* Likes service.
|
|
24
30
|
* @module api/LikesApi
|
|
25
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.6
|
|
26
32
|
*/
|
|
27
|
-
var LikesApi = /*#__PURE__*/function () {
|
|
33
|
+
var LikesApi = exports["default"] = /*#__PURE__*/function () {
|
|
28
34
|
/**
|
|
29
35
|
* Constructs a new LikesApi.
|
|
30
36
|
* @alias module:api/LikesApi
|
|
@@ -34,9 +40,9 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
34
40
|
*/
|
|
35
41
|
function LikesApi(apiClient) {
|
|
36
42
|
_classCallCheck(this, LikesApi);
|
|
37
|
-
|
|
38
43
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
44
|
}
|
|
45
|
+
|
|
40
46
|
/**
|
|
41
47
|
* Callback function to receive the result of the deleteAction1 operation.
|
|
42
48
|
* @callback module:api/LikesApi~deleteAction1Callback
|
|
@@ -50,23 +56,20 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
50
56
|
* Delete an individual action
|
|
51
57
|
* @param {Number} id
|
|
52
58
|
* @param {Object} opts Optional parameters
|
|
53
|
-
* @param {String}
|
|
54
|
-
* @param {Number}
|
|
55
|
-
* @param {String}
|
|
59
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
60
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
61
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
56
62
|
* @param {module:api/LikesApi~deleteAction1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
57
63
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
64
|
_createClass(LikesApi, [{
|
|
61
65
|
key: "deleteAction1",
|
|
62
66
|
value: function deleteAction1(id, opts, callback) {
|
|
63
67
|
opts = opts || {};
|
|
64
|
-
var postBody = null;
|
|
65
|
-
|
|
68
|
+
var postBody = null;
|
|
69
|
+
// verify the required parameter 'id' is set
|
|
66
70
|
if (id === undefined || id === null) {
|
|
67
71
|
throw new Error("Missing the required parameter 'id' when calling deleteAction1");
|
|
68
72
|
}
|
|
69
|
-
|
|
70
73
|
var pathParams = {
|
|
71
74
|
'id': id
|
|
72
75
|
};
|
|
@@ -83,6 +86,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
83
86
|
var returnType = null;
|
|
84
87
|
return this.apiClient.callApi('/graph/data/likes/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
85
88
|
}
|
|
89
|
+
|
|
86
90
|
/**
|
|
87
91
|
* Callback function to receive the result of the deleteLike operation.
|
|
88
92
|
* @callback module:api/LikesApi~deleteLikeCallback
|
|
@@ -96,22 +100,20 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
96
100
|
* Delete an individual like
|
|
97
101
|
* @param {Number} objectid
|
|
98
102
|
* @param {Object} opts Optional parameters
|
|
99
|
-
* @param {String}
|
|
100
|
-
* @param {Number}
|
|
101
|
-
* @param {String}
|
|
103
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
104
|
+
* @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
|
|
105
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
102
106
|
* @param {module:api/LikesApi~deleteLikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
107
|
*/
|
|
104
|
-
|
|
105
108
|
}, {
|
|
106
109
|
key: "deleteLike",
|
|
107
110
|
value: function deleteLike(objectid, opts, callback) {
|
|
108
111
|
opts = opts || {};
|
|
109
|
-
var postBody = null;
|
|
110
|
-
|
|
112
|
+
var postBody = null;
|
|
113
|
+
// verify the required parameter 'objectid' is set
|
|
111
114
|
if (objectid === undefined || objectid === null) {
|
|
112
115
|
throw new Error("Missing the required parameter 'objectid' when calling deleteLike");
|
|
113
116
|
}
|
|
114
|
-
|
|
115
117
|
var pathParams = {
|
|
116
118
|
'objectid': objectid
|
|
117
119
|
};
|
|
@@ -128,6 +130,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
128
130
|
var returnType = null;
|
|
129
131
|
return this.apiClient.callApi('/graph/data/likes/{objectid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
130
132
|
}
|
|
133
|
+
|
|
131
134
|
/**
|
|
132
135
|
* Callback function to receive the result of the dislike operation.
|
|
133
136
|
* @callback module:api/LikesApi~dislikeCallback
|
|
@@ -141,22 +144,20 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
141
144
|
* Dislike an object
|
|
142
145
|
* @param {Number} objectid
|
|
143
146
|
* @param {Object} opts Optional parameters
|
|
144
|
-
* @param {String}
|
|
145
|
-
* @param {Number}
|
|
146
|
-
* @param {String}
|
|
147
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
148
|
+
* @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
|
|
149
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
147
150
|
* @param {module:api/LikesApi~dislikeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
148
151
|
*/
|
|
149
|
-
|
|
150
152
|
}, {
|
|
151
153
|
key: "dislike",
|
|
152
154
|
value: function dislike(objectid, opts, callback) {
|
|
153
155
|
opts = opts || {};
|
|
154
|
-
var postBody = null;
|
|
155
|
-
|
|
156
|
+
var postBody = null;
|
|
157
|
+
// verify the required parameter 'objectid' is set
|
|
156
158
|
if (objectid === undefined || objectid === null) {
|
|
157
159
|
throw new Error("Missing the required parameter 'objectid' when calling dislike");
|
|
158
160
|
}
|
|
159
|
-
|
|
160
161
|
var pathParams = {
|
|
161
162
|
'objectid': objectid
|
|
162
163
|
};
|
|
@@ -173,6 +174,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
173
174
|
var returnType = null;
|
|
174
175
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/dislike', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
175
176
|
}
|
|
177
|
+
|
|
176
178
|
/**
|
|
177
179
|
* Callback function to receive the result of the get37 operation.
|
|
178
180
|
* @callback module:api/LikesApi~get37Callback
|
|
@@ -184,12 +186,11 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
184
186
|
/**
|
|
185
187
|
* Root for the API
|
|
186
188
|
* @param {Object} opts Optional parameters
|
|
187
|
-
* @param {String}
|
|
188
|
-
* @param {Number}
|
|
189
|
-
* @param {String}
|
|
189
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
190
|
+
* @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
|
|
191
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
190
192
|
* @param {module:api/LikesApi~get37Callback} callback The callback function, accepting three arguments: error, data, response
|
|
191
193
|
*/
|
|
192
|
-
|
|
193
194
|
}, {
|
|
194
195
|
key: "get37",
|
|
195
196
|
value: function get37(opts, callback) {
|
|
@@ -209,6 +210,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
209
210
|
var returnType = null;
|
|
210
211
|
return this.apiClient.callApi('/graph/data/likes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
211
212
|
}
|
|
213
|
+
|
|
212
214
|
/**
|
|
213
215
|
* Callback function to receive the result of the getActionById1 operation.
|
|
214
216
|
* @callback module:api/LikesApi~getActionById1Callback
|
|
@@ -221,23 +223,21 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
221
223
|
* Gets the action by id
|
|
222
224
|
* @param {Number} id
|
|
223
225
|
* @param {Object} opts Optional parameters
|
|
224
|
-
* @param {String}
|
|
225
|
-
* @param {Number}
|
|
226
|
-
* @param {String}
|
|
226
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
227
|
+
* @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
|
|
228
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
227
229
|
* @param {module:api/LikesApi~getActionById1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
228
230
|
* data is of type: {@link module:model/GraphAction}
|
|
229
231
|
*/
|
|
230
|
-
|
|
231
232
|
}, {
|
|
232
233
|
key: "getActionById1",
|
|
233
234
|
value: function getActionById1(id, opts, callback) {
|
|
234
235
|
opts = opts || {};
|
|
235
|
-
var postBody = null;
|
|
236
|
-
|
|
236
|
+
var postBody = null;
|
|
237
|
+
// verify the required parameter 'id' is set
|
|
237
238
|
if (id === undefined || id === null) {
|
|
238
239
|
throw new Error("Missing the required parameter 'id' when calling getActionById1");
|
|
239
240
|
}
|
|
240
|
-
|
|
241
241
|
var pathParams = {
|
|
242
242
|
'id': id
|
|
243
243
|
};
|
|
@@ -254,11 +254,12 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
254
254
|
var returnType = _GraphAction["default"];
|
|
255
255
|
return this.apiClient.callApi('/graph/data/likes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
256
256
|
}
|
|
257
|
+
|
|
257
258
|
/**
|
|
258
259
|
* Callback function to receive the result of the getActionProperties1 operation.
|
|
259
260
|
* @callback module:api/LikesApi~getActionProperties1Callback
|
|
260
261
|
* @param {String} error Error message, if any.
|
|
261
|
-
* @param {Object.<String, module:model/{String:
|
|
262
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
262
263
|
* @param {String} response The complete HTTP response.
|
|
263
264
|
*/
|
|
264
265
|
|
|
@@ -267,23 +268,21 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
267
268
|
* Get all properties attached to an action
|
|
268
269
|
* @param {Number} id
|
|
269
270
|
* @param {Object} opts Optional parameters
|
|
270
|
-
* @param {String}
|
|
271
|
-
* @param {Number}
|
|
272
|
-
* @param {String}
|
|
271
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
272
|
+
* @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
|
|
273
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
273
274
|
* @param {module:api/LikesApi~getActionProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
274
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
275
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
275
276
|
*/
|
|
276
|
-
|
|
277
277
|
}, {
|
|
278
278
|
key: "getActionProperties1",
|
|
279
279
|
value: function getActionProperties1(id, opts, callback) {
|
|
280
280
|
opts = opts || {};
|
|
281
|
-
var postBody = null;
|
|
282
|
-
|
|
281
|
+
var postBody = null;
|
|
282
|
+
// verify the required parameter 'id' is set
|
|
283
283
|
if (id === undefined || id === null) {
|
|
284
284
|
throw new Error("Missing the required parameter 'id' when calling getActionProperties1");
|
|
285
285
|
}
|
|
286
|
-
|
|
287
286
|
var pathParams = {
|
|
288
287
|
'id': id
|
|
289
288
|
};
|
|
@@ -298,15 +297,16 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
298
297
|
var contentTypes = [];
|
|
299
298
|
var accepts = ['application/json'];
|
|
300
299
|
var returnType = {
|
|
301
|
-
'String':
|
|
300
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
302
301
|
};
|
|
303
302
|
return this.apiClient.callApi('/graph/data/likes/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
304
303
|
}
|
|
304
|
+
|
|
305
305
|
/**
|
|
306
306
|
* Callback function to receive the result of the getActionProperty1 operation.
|
|
307
307
|
* @callback module:api/LikesApi~getActionProperty1Callback
|
|
308
308
|
* @param {String} error Error message, if any.
|
|
309
|
-
* @param {Object.<String, module:model/{String:
|
|
309
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
310
310
|
* @param {String} response The complete HTTP response.
|
|
311
311
|
*/
|
|
312
312
|
|
|
@@ -316,28 +316,25 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
316
316
|
* @param {Number} id
|
|
317
317
|
* @param {String} prop
|
|
318
318
|
* @param {Object} opts Optional parameters
|
|
319
|
-
* @param {String}
|
|
320
|
-
* @param {Number}
|
|
321
|
-
* @param {String}
|
|
319
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
320
|
+
* @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
|
|
321
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
322
322
|
* @param {module:api/LikesApi~getActionProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
323
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
323
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
324
324
|
*/
|
|
325
|
-
|
|
326
325
|
}, {
|
|
327
326
|
key: "getActionProperty1",
|
|
328
327
|
value: function getActionProperty1(id, prop, opts, callback) {
|
|
329
328
|
opts = opts || {};
|
|
330
|
-
var postBody = null;
|
|
331
|
-
|
|
329
|
+
var postBody = null;
|
|
330
|
+
// verify the required parameter 'id' is set
|
|
332
331
|
if (id === undefined || id === null) {
|
|
333
332
|
throw new Error("Missing the required parameter 'id' when calling getActionProperty1");
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
}
|
|
334
|
+
// verify the required parameter 'prop' is set
|
|
337
335
|
if (prop === undefined || prop === null) {
|
|
338
336
|
throw new Error("Missing the required parameter 'prop' when calling getActionProperty1");
|
|
339
337
|
}
|
|
340
|
-
|
|
341
338
|
var pathParams = {
|
|
342
339
|
'id': id,
|
|
343
340
|
'prop': prop
|
|
@@ -353,10 +350,11 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
353
350
|
var contentTypes = [];
|
|
354
351
|
var accepts = ['application/json'];
|
|
355
352
|
var returnType = {
|
|
356
|
-
'String':
|
|
353
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
357
354
|
};
|
|
358
355
|
return this.apiClient.callApi('/graph/data/likes/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
359
356
|
}
|
|
357
|
+
|
|
360
358
|
/**
|
|
361
359
|
* Callback function to receive the result of the isDisliked operation.
|
|
362
360
|
* @callback module:api/LikesApi~isDislikedCallback
|
|
@@ -370,23 +368,21 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
370
368
|
* Checks if the user has disliked the object
|
|
371
369
|
* @param {Number} objectid
|
|
372
370
|
* @param {Object} opts Optional parameters
|
|
373
|
-
* @param {String}
|
|
374
|
-
* @param {Number}
|
|
375
|
-
* @param {String}
|
|
371
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
372
|
+
* @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
|
|
373
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
376
374
|
* @param {module:api/LikesApi~isDislikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
377
375
|
* data is of type: {@link Boolean}
|
|
378
376
|
*/
|
|
379
|
-
|
|
380
377
|
}, {
|
|
381
378
|
key: "isDisliked",
|
|
382
379
|
value: function isDisliked(objectid, opts, callback) {
|
|
383
380
|
opts = opts || {};
|
|
384
|
-
var postBody = null;
|
|
385
|
-
|
|
381
|
+
var postBody = null;
|
|
382
|
+
// verify the required parameter 'objectid' is set
|
|
386
383
|
if (objectid === undefined || objectid === null) {
|
|
387
384
|
throw new Error("Missing the required parameter 'objectid' when calling isDisliked");
|
|
388
385
|
}
|
|
389
|
-
|
|
390
386
|
var pathParams = {
|
|
391
387
|
'objectid': objectid
|
|
392
388
|
};
|
|
@@ -403,6 +399,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
403
399
|
var returnType = 'Boolean';
|
|
404
400
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isdisliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
405
401
|
}
|
|
402
|
+
|
|
406
403
|
/**
|
|
407
404
|
* Callback function to receive the result of the isLiked operation.
|
|
408
405
|
* @callback module:api/LikesApi~isLikedCallback
|
|
@@ -416,23 +413,21 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
416
413
|
* Checks if the user has liked the object
|
|
417
414
|
* @param {Number} objectid
|
|
418
415
|
* @param {Object} opts Optional parameters
|
|
419
|
-
* @param {String}
|
|
420
|
-
* @param {Number}
|
|
421
|
-
* @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
|
|
422
419
|
* @param {module:api/LikesApi~isLikedCallback} callback The callback function, accepting three arguments: error, data, response
|
|
423
420
|
* data is of type: {@link Boolean}
|
|
424
421
|
*/
|
|
425
|
-
|
|
426
422
|
}, {
|
|
427
423
|
key: "isLiked",
|
|
428
424
|
value: function isLiked(objectid, opts, callback) {
|
|
429
425
|
opts = opts || {};
|
|
430
|
-
var postBody = null;
|
|
431
|
-
|
|
426
|
+
var postBody = null;
|
|
427
|
+
// verify the required parameter 'objectid' is set
|
|
432
428
|
if (objectid === undefined || objectid === null) {
|
|
433
429
|
throw new Error("Missing the required parameter 'objectid' when calling isLiked");
|
|
434
430
|
}
|
|
435
|
-
|
|
436
431
|
var pathParams = {
|
|
437
432
|
'objectid': objectid
|
|
438
433
|
};
|
|
@@ -449,6 +444,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
449
444
|
var returnType = 'Boolean';
|
|
450
445
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/isliked', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
451
446
|
}
|
|
447
|
+
|
|
452
448
|
/**
|
|
453
449
|
* Callback function to receive the result of the like operation.
|
|
454
450
|
* @callback module:api/LikesApi~likeCallback
|
|
@@ -462,22 +458,20 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
462
458
|
* Likes an object
|
|
463
459
|
* @param {Number} objectid
|
|
464
460
|
* @param {Object} opts Optional parameters
|
|
465
|
-
* @param {String}
|
|
466
|
-
* @param {Number}
|
|
467
|
-
* @param {String}
|
|
461
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
462
|
+
* @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
|
|
463
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
468
464
|
* @param {module:api/LikesApi~likeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
469
465
|
*/
|
|
470
|
-
|
|
471
466
|
}, {
|
|
472
467
|
key: "like",
|
|
473
468
|
value: function like(objectid, opts, callback) {
|
|
474
469
|
opts = opts || {};
|
|
475
|
-
var postBody = null;
|
|
476
|
-
|
|
470
|
+
var postBody = null;
|
|
471
|
+
// verify the required parameter 'objectid' is set
|
|
477
472
|
if (objectid === undefined || objectid === null) {
|
|
478
473
|
throw new Error("Missing the required parameter 'objectid' when calling like");
|
|
479
474
|
}
|
|
480
|
-
|
|
481
475
|
var pathParams = {
|
|
482
476
|
'objectid': objectid
|
|
483
477
|
};
|
|
@@ -494,6 +488,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
494
488
|
var returnType = null;
|
|
495
489
|
return this.apiClient.callApi('/graph/data/likes/{objectid}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
496
490
|
}
|
|
491
|
+
|
|
497
492
|
/**
|
|
498
493
|
* Callback function to receive the result of the setActionProperties1 operation.
|
|
499
494
|
* @callback module:api/LikesApi~setActionProperties1Callback
|
|
@@ -507,23 +502,21 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
507
502
|
* Set multiple properties attaced to an object / record
|
|
508
503
|
* @param {Number} id
|
|
509
504
|
* @param {Object} opts Optional parameters
|
|
510
|
-
* @param {String}
|
|
511
|
-
* @param {Number}
|
|
512
|
-
* @param {String}
|
|
513
|
-
* @param {Object.<String, {String:
|
|
505
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
506
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
507
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
508
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
514
509
|
* @param {module:api/LikesApi~setActionProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
515
510
|
*/
|
|
516
|
-
|
|
517
511
|
}, {
|
|
518
512
|
key: "setActionProperties1",
|
|
519
513
|
value: function setActionProperties1(id, opts, callback) {
|
|
520
514
|
opts = opts || {};
|
|
521
|
-
var postBody = opts['requestBody'];
|
|
522
|
-
|
|
515
|
+
var postBody = opts['requestBody'];
|
|
516
|
+
// verify the required parameter 'id' is set
|
|
523
517
|
if (id === undefined || id === null) {
|
|
524
518
|
throw new Error("Missing the required parameter 'id' when calling setActionProperties1");
|
|
525
519
|
}
|
|
526
|
-
|
|
527
520
|
var pathParams = {
|
|
528
521
|
'id': id
|
|
529
522
|
};
|
|
@@ -540,6 +533,7 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
540
533
|
var returnType = null;
|
|
541
534
|
return this.apiClient.callApi('/graph/data/likes/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
542
535
|
}
|
|
536
|
+
|
|
543
537
|
/**
|
|
544
538
|
* Callback function to receive the result of the setActionProperty1 operation.
|
|
545
539
|
* @callback module:api/LikesApi~setActionProperty1Callback
|
|
@@ -554,28 +548,25 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
554
548
|
* @param {Number} id
|
|
555
549
|
* @param {String} prop
|
|
556
550
|
* @param {Object} opts Optional parameters
|
|
557
|
-
* @param {String}
|
|
558
|
-
* @param {Number}
|
|
559
|
-
* @param {String}
|
|
560
|
-
* @param {String}
|
|
551
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
552
|
+
* @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
|
|
553
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
554
|
+
* @param {String} [body]
|
|
561
555
|
* @param {module:api/LikesApi~setActionProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
562
556
|
*/
|
|
563
|
-
|
|
564
557
|
}, {
|
|
565
558
|
key: "setActionProperty1",
|
|
566
559
|
value: function setActionProperty1(id, prop, opts, callback) {
|
|
567
560
|
opts = opts || {};
|
|
568
|
-
var postBody = opts['body'];
|
|
569
|
-
|
|
561
|
+
var postBody = opts['body'];
|
|
562
|
+
// verify the required parameter 'id' is set
|
|
570
563
|
if (id === undefined || id === null) {
|
|
571
564
|
throw new Error("Missing the required parameter 'id' when calling setActionProperty1");
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
|
|
565
|
+
}
|
|
566
|
+
// verify the required parameter 'prop' is set
|
|
575
567
|
if (prop === undefined || prop === null) {
|
|
576
568
|
throw new Error("Missing the required parameter 'prop' when calling setActionProperty1");
|
|
577
569
|
}
|
|
578
|
-
|
|
579
570
|
var pathParams = {
|
|
580
571
|
'id': id,
|
|
581
572
|
'prop': prop
|
|
@@ -594,8 +585,5 @@ var LikesApi = /*#__PURE__*/function () {
|
|
|
594
585
|
return this.apiClient.callApi('/graph/data/likes/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
595
586
|
}
|
|
596
587
|
}]);
|
|
597
|
-
|
|
598
588
|
return LikesApi;
|
|
599
|
-
}();
|
|
600
|
-
|
|
601
|
-
exports["default"] = LikesApi;
|
|
589
|
+
}();
|
package/dist/api/LinkedINApi.js
CHANGED
|
@@ -4,25 +4,32 @@ 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 _Authorization = _interopRequireDefault(require("../model/Authorization"));
|
|
11
|
-
|
|
12
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
10
|
+
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); }
|
|
14
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
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); } /**
|
|
16
|
+
* Gobodo API
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.6
|
|
20
|
+
* Contact: info@gobodo.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
20
27
|
/**
|
|
21
28
|
* LinkedIN service.
|
|
22
29
|
* @module api/LinkedINApi
|
|
23
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.6
|
|
24
31
|
*/
|
|
25
|
-
var LinkedINApi = /*#__PURE__*/function () {
|
|
32
|
+
var LinkedINApi = exports["default"] = /*#__PURE__*/function () {
|
|
26
33
|
/**
|
|
27
34
|
* Constructs a new LinkedINApi.
|
|
28
35
|
* @alias module:api/LinkedINApi
|
|
@@ -32,9 +39,9 @@ var LinkedINApi = /*#__PURE__*/function () {
|
|
|
32
39
|
*/
|
|
33
40
|
function LinkedINApi(apiClient) {
|
|
34
41
|
_classCallCheck(this, LinkedINApi);
|
|
35
|
-
|
|
36
42
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
43
|
}
|
|
44
|
+
|
|
38
45
|
/**
|
|
39
46
|
* Callback function to receive the result of the loginLinkedIn operation.
|
|
40
47
|
* @callback module:api/LinkedINApi~loginLinkedInCallback
|
|
@@ -45,14 +52,12 @@ var LinkedINApi = /*#__PURE__*/function () {
|
|
|
45
52
|
|
|
46
53
|
/**
|
|
47
54
|
* @param {Object} opts Optional parameters
|
|
48
|
-
* @param {String}
|
|
49
|
-
* @param {String}
|
|
50
|
-
* @param {String}
|
|
55
|
+
* @param {String} [apiKey] The Api Key of the client accessing the api
|
|
56
|
+
* @param {String} [authorization]
|
|
57
|
+
* @param {String} [createIfNotUser]
|
|
51
58
|
* @param {module:api/LinkedINApi~loginLinkedInCallback} callback The callback function, accepting three arguments: error, data, response
|
|
52
59
|
* data is of type: {@link module:model/Authorization}
|
|
53
60
|
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
61
|
_createClass(LinkedINApi, [{
|
|
57
62
|
key: "loginLinkedIn",
|
|
58
63
|
value: function loginLinkedIn(opts, callback) {
|
|
@@ -73,8 +78,5 @@ var LinkedINApi = /*#__PURE__*/function () {
|
|
|
73
78
|
return this.apiClient.callApi('/graph/data/auth_linkedin', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
74
79
|
}
|
|
75
80
|
}]);
|
|
76
|
-
|
|
77
81
|
return LinkedINApi;
|
|
78
|
-
}();
|
|
79
|
-
|
|
80
|
-
exports["default"] = LinkedINApi;
|
|
82
|
+
}();
|