@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/PagesApi.js
CHANGED
|
@@ -4,33 +4,37 @@ 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
9
|
var _ImageUploadObject = _interopRequireDefault(require("../model/ImageUploadObject"));
|
|
13
|
-
|
|
14
10
|
var _MultipartBody = _interopRequireDefault(require("../model/MultipartBody"));
|
|
15
|
-
|
|
16
11
|
var _Page = _interopRequireDefault(require("../model/Page"));
|
|
17
|
-
|
|
18
12
|
var _PageSchema = _interopRequireDefault(require("../model/PageSchema"));
|
|
19
|
-
|
|
13
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
20
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
15
|
+
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); }
|
|
22
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
17
|
+
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); } }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
+
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); } /**
|
|
21
|
+
* Gobodo API
|
|
22
|
+
* REST Interface for Gobodo API
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: 0.1.6
|
|
25
|
+
* Contact: info@gobodo.io
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
28
32
|
/**
|
|
29
33
|
* Pages service.
|
|
30
34
|
* @module api/PagesApi
|
|
31
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.6
|
|
32
36
|
*/
|
|
33
|
-
var PagesApi = /*#__PURE__*/function () {
|
|
37
|
+
var PagesApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
38
|
/**
|
|
35
39
|
* Constructs a new PagesApi.
|
|
36
40
|
* @alias module:api/PagesApi
|
|
@@ -40,9 +44,9 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
40
44
|
*/
|
|
41
45
|
function PagesApi(apiClient) {
|
|
42
46
|
_classCallCheck(this, PagesApi);
|
|
43
|
-
|
|
44
47
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
45
48
|
}
|
|
49
|
+
|
|
46
50
|
/**
|
|
47
51
|
* Callback function to receive the result of the createPage operation.
|
|
48
52
|
* @callback module:api/PagesApi~createPageCallback
|
|
@@ -56,24 +60,21 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
56
60
|
* Create new company page(s)
|
|
57
61
|
* @param {module:model/PageSchema} pageSchema Page object or array of objects to create
|
|
58
62
|
* @param {Object} opts Optional parameters
|
|
59
|
-
* @param {String}
|
|
60
|
-
* @param {Number}
|
|
61
|
-
* @param {String}
|
|
63
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
64
|
+
* @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
|
|
65
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
62
66
|
* @param {module:api/PagesApi~createPageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
63
67
|
* data is of type: {@link Array.<module:model/PageSchema>}
|
|
64
68
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
67
69
|
_createClass(PagesApi, [{
|
|
68
70
|
key: "createPage",
|
|
69
71
|
value: function createPage(pageSchema, opts, callback) {
|
|
70
72
|
opts = opts || {};
|
|
71
|
-
var postBody = pageSchema;
|
|
72
|
-
|
|
73
|
+
var postBody = pageSchema;
|
|
74
|
+
// verify the required parameter 'pageSchema' is set
|
|
73
75
|
if (pageSchema === undefined || pageSchema === null) {
|
|
74
76
|
throw new Error("Missing the required parameter 'pageSchema' when calling createPage");
|
|
75
77
|
}
|
|
76
|
-
|
|
77
78
|
var pathParams = {};
|
|
78
79
|
var queryParams = {};
|
|
79
80
|
var headerParams = {
|
|
@@ -88,6 +89,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
88
89
|
var returnType = [_PageSchema["default"]];
|
|
89
90
|
return this.apiClient.callApi('/graph/data/pages', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
90
91
|
}
|
|
92
|
+
|
|
91
93
|
/**
|
|
92
94
|
* Callback function to receive the result of the deleteObject operation.
|
|
93
95
|
* @callback module:api/PagesApi~deleteObjectCallback
|
|
@@ -100,22 +102,20 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
100
102
|
* Delete's the object with the id
|
|
101
103
|
* @param {Number} id The id of the object to delete
|
|
102
104
|
* @param {Object} opts Optional parameters
|
|
103
|
-
* @param {String}
|
|
104
|
-
* @param {Number}
|
|
105
|
-
* @param {String}
|
|
105
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
106
|
+
* @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
|
|
107
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
106
108
|
* @param {module:api/PagesApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
107
109
|
*/
|
|
108
|
-
|
|
109
110
|
}, {
|
|
110
111
|
key: "deleteObject",
|
|
111
112
|
value: function deleteObject(id, opts, callback) {
|
|
112
113
|
opts = opts || {};
|
|
113
|
-
var postBody = null;
|
|
114
|
-
|
|
114
|
+
var postBody = null;
|
|
115
|
+
// verify the required parameter 'id' is set
|
|
115
116
|
if (id === undefined || id === null) {
|
|
116
117
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
117
118
|
}
|
|
118
|
-
|
|
119
119
|
var pathParams = {
|
|
120
120
|
'id': id
|
|
121
121
|
};
|
|
@@ -132,6 +132,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
132
132
|
var returnType = null;
|
|
133
133
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
134
134
|
}
|
|
135
|
+
|
|
135
136
|
/**
|
|
136
137
|
* Callback function to receive the result of the editPage operation.
|
|
137
138
|
* @callback module:api/PagesApi~editPageCallback
|
|
@@ -146,28 +147,25 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
146
147
|
* @param {Number} id
|
|
147
148
|
* @param {module:model/Page} page Conversation object or array of objects to create
|
|
148
149
|
* @param {Object} opts Optional parameters
|
|
149
|
-
* @param {String}
|
|
150
|
-
* @param {Number}
|
|
151
|
-
* @param {String}
|
|
150
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
151
|
+
* @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
|
|
152
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
152
153
|
* @param {module:api/PagesApi~editPageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
153
154
|
* data is of type: {@link module:model/Page}
|
|
154
155
|
*/
|
|
155
|
-
|
|
156
156
|
}, {
|
|
157
157
|
key: "editPage",
|
|
158
158
|
value: function editPage(id, page, opts, callback) {
|
|
159
159
|
opts = opts || {};
|
|
160
|
-
var postBody = page;
|
|
161
|
-
|
|
160
|
+
var postBody = page;
|
|
161
|
+
// verify the required parameter 'id' is set
|
|
162
162
|
if (id === undefined || id === null) {
|
|
163
163
|
throw new Error("Missing the required parameter 'id' when calling editPage");
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
}
|
|
165
|
+
// verify the required parameter 'page' is set
|
|
167
166
|
if (page === undefined || page === null) {
|
|
168
167
|
throw new Error("Missing the required parameter 'page' when calling editPage");
|
|
169
168
|
}
|
|
170
|
-
|
|
171
169
|
var pathParams = {
|
|
172
170
|
'id': id
|
|
173
171
|
};
|
|
@@ -184,6 +182,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
184
182
|
var returnType = _Page["default"];
|
|
185
183
|
return this.apiClient.callApi('/graph/data/pages/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
186
184
|
}
|
|
185
|
+
|
|
187
186
|
/**
|
|
188
187
|
* Callback function to receive the result of the get34 operation.
|
|
189
188
|
* @callback module:api/PagesApi~get34Callback
|
|
@@ -195,12 +194,11 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
195
194
|
/**
|
|
196
195
|
* Root for the API
|
|
197
196
|
* @param {Object} opts Optional parameters
|
|
198
|
-
* @param {String}
|
|
199
|
-
* @param {Number}
|
|
200
|
-
* @param {String}
|
|
197
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
198
|
+
* @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
|
|
199
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
201
200
|
* @param {module:api/PagesApi~get34Callback} callback The callback function, accepting three arguments: error, data, response
|
|
202
201
|
*/
|
|
203
|
-
|
|
204
202
|
}, {
|
|
205
203
|
key: "get34",
|
|
206
204
|
value: function get34(opts, callback) {
|
|
@@ -220,6 +218,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
220
218
|
var returnType = null;
|
|
221
219
|
return this.apiClient.callApi('/graph/data/pages', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
222
220
|
}
|
|
221
|
+
|
|
223
222
|
/**
|
|
224
223
|
* Callback function to receive the result of the getOwnedPages operation.
|
|
225
224
|
* @callback module:api/PagesApi~getOwnedPagesCallback
|
|
@@ -233,23 +232,21 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
233
232
|
* Returns the pages owned by the user
|
|
234
233
|
* @param {Number} uid
|
|
235
234
|
* @param {Object} opts Optional parameters
|
|
236
|
-
* @param {String}
|
|
237
|
-
* @param {Number}
|
|
238
|
-
* @param {String}
|
|
235
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
236
|
+
* @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
|
|
237
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
239
238
|
* @param {module:api/PagesApi~getOwnedPagesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
240
239
|
* data is of type: {@link Array.<module:model/Page>}
|
|
241
240
|
*/
|
|
242
|
-
|
|
243
241
|
}, {
|
|
244
242
|
key: "getOwnedPages",
|
|
245
243
|
value: function getOwnedPages(uid, opts, callback) {
|
|
246
244
|
opts = opts || {};
|
|
247
|
-
var postBody = null;
|
|
248
|
-
|
|
245
|
+
var postBody = null;
|
|
246
|
+
// verify the required parameter 'uid' is set
|
|
249
247
|
if (uid === undefined || uid === null) {
|
|
250
248
|
throw new Error("Missing the required parameter 'uid' when calling getOwnedPages");
|
|
251
249
|
}
|
|
252
|
-
|
|
253
250
|
var pathParams = {
|
|
254
251
|
'uid': uid
|
|
255
252
|
};
|
|
@@ -266,6 +263,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
266
263
|
var returnType = [_Page["default"]];
|
|
267
264
|
return this.apiClient.callApi('/graph/data/pages/ownedpages/{uid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
268
265
|
}
|
|
266
|
+
|
|
269
267
|
/**
|
|
270
268
|
* Callback function to receive the result of the getPageById operation.
|
|
271
269
|
* @callback module:api/PagesApi~getPageByIdCallback
|
|
@@ -279,23 +277,21 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
279
277
|
* Returns the company/org page with the given id
|
|
280
278
|
* @param {Number} id
|
|
281
279
|
* @param {Object} opts Optional parameters
|
|
282
|
-
* @param {String}
|
|
283
|
-
* @param {Number}
|
|
284
|
-
* @param {String}
|
|
280
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
281
|
+
* @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
|
|
282
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
285
283
|
* @param {module:api/PagesApi~getPageByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
286
284
|
* data is of type: {@link module:model/PageSchema}
|
|
287
285
|
*/
|
|
288
|
-
|
|
289
286
|
}, {
|
|
290
287
|
key: "getPageById",
|
|
291
288
|
value: function getPageById(id, opts, callback) {
|
|
292
289
|
opts = opts || {};
|
|
293
|
-
var postBody = null;
|
|
294
|
-
|
|
290
|
+
var postBody = null;
|
|
291
|
+
// verify the required parameter 'id' is set
|
|
295
292
|
if (id === undefined || id === null) {
|
|
296
293
|
throw new Error("Missing the required parameter 'id' when calling getPageById");
|
|
297
294
|
}
|
|
298
|
-
|
|
299
295
|
var pathParams = {
|
|
300
296
|
'id': id
|
|
301
297
|
};
|
|
@@ -312,6 +308,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
312
308
|
var returnType = _PageSchema["default"];
|
|
313
309
|
return this.apiClient.callApi('/graph/data/pages/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
314
310
|
}
|
|
311
|
+
|
|
315
312
|
/**
|
|
316
313
|
* Callback function to receive the result of the setPageProfilePicture operation.
|
|
317
314
|
* @callback module:api/PagesApi~setPageProfilePictureCallback
|
|
@@ -325,25 +322,23 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
325
322
|
* Create new company page(s)
|
|
326
323
|
* @param {Number} id
|
|
327
324
|
* @param {Object} opts Optional parameters
|
|
328
|
-
* @param {String}
|
|
329
|
-
* @param {Number}
|
|
330
|
-
* @param {String}
|
|
331
|
-
* @param {module:model/ImageUploadObject}
|
|
332
|
-
* @param {module:model/MultipartBody}
|
|
325
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
326
|
+
* @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
|
|
327
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
328
|
+
* @param {module:model/ImageUploadObject} [object]
|
|
329
|
+
* @param {module:model/MultipartBody} [body]
|
|
333
330
|
* @param {module:api/PagesApi~setPageProfilePictureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
334
331
|
* data is of type: {@link module:model/Image}
|
|
335
332
|
*/
|
|
336
|
-
|
|
337
333
|
}, {
|
|
338
334
|
key: "setPageProfilePicture",
|
|
339
335
|
value: function setPageProfilePicture(id, opts, callback) {
|
|
340
336
|
opts = opts || {};
|
|
341
|
-
var postBody = null;
|
|
342
|
-
|
|
337
|
+
var postBody = null;
|
|
338
|
+
// verify the required parameter 'id' is set
|
|
343
339
|
if (id === undefined || id === null) {
|
|
344
340
|
throw new Error("Missing the required parameter 'id' when calling setPageProfilePicture");
|
|
345
341
|
}
|
|
346
|
-
|
|
347
342
|
var pathParams = {
|
|
348
343
|
'id': id
|
|
349
344
|
};
|
|
@@ -363,6 +358,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
363
358
|
var returnType = _Image["default"];
|
|
364
359
|
return this.apiClient.callApi('/graph/data/pages/{id}/profilepicture', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
365
360
|
}
|
|
361
|
+
|
|
366
362
|
/**
|
|
367
363
|
* Callback function to receive the result of the setPageProperties operation.
|
|
368
364
|
* @callback module:api/PagesApi~setPagePropertiesCallback
|
|
@@ -375,29 +371,26 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
375
371
|
* Set Multiple Properties
|
|
376
372
|
* Set multiple properties attaced to an object / record
|
|
377
373
|
* @param {Number} id
|
|
378
|
-
* @param {Object.<String, {String:
|
|
374
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} requestBody The property map to set in Json format
|
|
379
375
|
* @param {Object} opts Optional parameters
|
|
380
|
-
* @param {String}
|
|
381
|
-
* @param {Number}
|
|
382
|
-
* @param {String}
|
|
376
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
377
|
+
* @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
|
|
378
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
383
379
|
* @param {module:api/PagesApi~setPagePropertiesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
384
380
|
*/
|
|
385
|
-
|
|
386
381
|
}, {
|
|
387
382
|
key: "setPageProperties",
|
|
388
383
|
value: function setPageProperties(id, requestBody, opts, callback) {
|
|
389
384
|
opts = opts || {};
|
|
390
|
-
var postBody = requestBody;
|
|
391
|
-
|
|
385
|
+
var postBody = requestBody;
|
|
386
|
+
// verify the required parameter 'id' is set
|
|
392
387
|
if (id === undefined || id === null) {
|
|
393
388
|
throw new Error("Missing the required parameter 'id' when calling setPageProperties");
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
389
|
+
}
|
|
390
|
+
// verify the required parameter 'requestBody' is set
|
|
397
391
|
if (requestBody === undefined || requestBody === null) {
|
|
398
392
|
throw new Error("Missing the required parameter 'requestBody' when calling setPageProperties");
|
|
399
393
|
}
|
|
400
|
-
|
|
401
394
|
var pathParams = {
|
|
402
395
|
'id': id
|
|
403
396
|
};
|
|
@@ -414,6 +407,7 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
414
407
|
var returnType = null;
|
|
415
408
|
return this.apiClient.callApi('/graph/data/pages/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
416
409
|
}
|
|
410
|
+
|
|
417
411
|
/**
|
|
418
412
|
* Callback function to receive the result of the setPageProperty operation.
|
|
419
413
|
* @callback module:api/PagesApi~setPagePropertyCallback
|
|
@@ -428,28 +422,25 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
428
422
|
* @param {Number} id
|
|
429
423
|
* @param {String} prop
|
|
430
424
|
* @param {Object} opts Optional parameters
|
|
431
|
-
* @param {String}
|
|
432
|
-
* @param {Number}
|
|
433
|
-
* @param {String}
|
|
434
|
-
* @param {String}
|
|
425
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
426
|
+
* @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
|
|
427
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
428
|
+
* @param {String} [body]
|
|
435
429
|
* @param {module:api/PagesApi~setPagePropertyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
436
430
|
*/
|
|
437
|
-
|
|
438
431
|
}, {
|
|
439
432
|
key: "setPageProperty",
|
|
440
433
|
value: function setPageProperty(id, prop, opts, callback) {
|
|
441
434
|
opts = opts || {};
|
|
442
|
-
var postBody = opts['body'];
|
|
443
|
-
|
|
435
|
+
var postBody = opts['body'];
|
|
436
|
+
// verify the required parameter 'id' is set
|
|
444
437
|
if (id === undefined || id === null) {
|
|
445
438
|
throw new Error("Missing the required parameter 'id' when calling setPageProperty");
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
|
|
439
|
+
}
|
|
440
|
+
// verify the required parameter 'prop' is set
|
|
449
441
|
if (prop === undefined || prop === null) {
|
|
450
442
|
throw new Error("Missing the required parameter 'prop' when calling setPageProperty");
|
|
451
443
|
}
|
|
452
|
-
|
|
453
444
|
var pathParams = {
|
|
454
445
|
'id': id,
|
|
455
446
|
'prop': prop
|
|
@@ -468,8 +459,5 @@ var PagesApi = /*#__PURE__*/function () {
|
|
|
468
459
|
return this.apiClient.callApi('/graph/data/pages/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
469
460
|
}
|
|
470
461
|
}]);
|
|
471
|
-
|
|
472
462
|
return PagesApi;
|
|
473
|
-
}();
|
|
474
|
-
|
|
475
|
-
exports["default"] = PagesApi;
|
|
463
|
+
}();
|