@gobodo/gobodo-api 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -22
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +508 -612
- package/dist/api/GraphRelationshipTypesApi.js +158 -178
- package/dist/api/GraphRelationshipsApi.js +258 -297
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +98 -114
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +37 -39
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +27 -27
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +61 -41
- package/dist/model/Article.js +109 -88
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +73 -61
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +145 -108
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +135 -93
- package/dist/model/DocumentPart.js +116 -71
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +76 -53
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +96 -111
- package/dist/model/File.js +52 -38
- package/dist/model/FileAttachmentUploadObject.js +66 -61
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +107 -42
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +77 -68
- package/dist/model/GraphAction.js +48 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +57 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +75 -51
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +87 -58
- package/dist/model/GraphObjectType.js +92 -67
- package/dist/model/GraphObjectTypeSchema.js +111 -67
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +49 -39
- package/dist/model/GraphRelationObjectObject.js +49 -39
- package/dist/model/GraphRelationship.js +49 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +99 -71
- package/dist/model/GraphSchema.js +101 -80
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +70 -52
- package/dist/model/ImageUploadObject.js +95 -77
- package/dist/model/InputPart.js +48 -32
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +74 -46
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +103 -70
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +99 -59
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +38 -25
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +105 -64
- package/dist/model/Page.js +55 -42
- package/dist/model/PageSchema.js +71 -57
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +73 -57
- package/dist/model/PrivateMessageConversation.js +92 -55
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +38 -25
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +221 -79
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +96 -111
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +66 -42
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +99 -59
- package/dist/model/UserDataPayload.js +99 -59
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +99 -59
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +90 -71
- package/dist/model/VideoLiveUrl.js +40 -22
- package/dist/model/VideoSchema.js +102 -78
- package/dist/model/VideoUploadObject.js +131 -85
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +2 -2
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
|
@@ -4,31 +4,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _MessageGroup = _interopRequireDefault(require("../model/MessageGroup"));
|
|
11
|
-
|
|
12
9
|
var _PrivateMessage = _interopRequireDefault(require("../model/PrivateMessage"));
|
|
13
|
-
|
|
14
10
|
var _PrivateMessageConversation = _interopRequireDefault(require("../model/PrivateMessageConversation"));
|
|
15
|
-
|
|
16
11
|
var _PrivateMessageConversationSchema = _interopRequireDefault(require("../model/PrivateMessageConversationSchema"));
|
|
17
|
-
|
|
18
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
-
|
|
13
|
+
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); }
|
|
20
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
15
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
19
|
+
* Gobodo API
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.7
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
26
30
|
/**
|
|
27
31
|
* PrivateMessages service.
|
|
28
32
|
* @module api/PrivateMessagesApi
|
|
29
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.7
|
|
30
34
|
*/
|
|
31
|
-
var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
35
|
+
var PrivateMessagesApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
36
|
/**
|
|
33
37
|
* Constructs a new PrivateMessagesApi.
|
|
34
38
|
* @alias module:api/PrivateMessagesApi
|
|
@@ -38,9 +42,9 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
38
42
|
*/
|
|
39
43
|
function PrivateMessagesApi(apiClient) {
|
|
40
44
|
_classCallCheck(this, PrivateMessagesApi);
|
|
41
|
-
|
|
42
45
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
46
|
}
|
|
47
|
+
|
|
44
48
|
/**
|
|
45
49
|
* Callback function to receive the result of the createBranch operation.
|
|
46
50
|
* @callback module:api/PrivateMessagesApi~createBranchCallback
|
|
@@ -53,29 +57,25 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
53
57
|
* @param {Number} messageid
|
|
54
58
|
* @param {module:model/PrivateMessage} privateMessage Private Message Object
|
|
55
59
|
* @param {Object} opts Optional parameters
|
|
56
|
-
* @param {String}
|
|
57
|
-
* @param {Number}
|
|
58
|
-
* @param {String}
|
|
60
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
61
|
+
* @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
|
|
62
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
59
63
|
* @param {module:api/PrivateMessagesApi~createBranchCallback} callback The callback function, accepting three arguments: error, data, response
|
|
60
64
|
* data is of type: {@link module:model/PrivateMessage}
|
|
61
65
|
*/
|
|
62
|
-
|
|
63
|
-
|
|
64
66
|
_createClass(PrivateMessagesApi, [{
|
|
65
67
|
key: "createBranch",
|
|
66
68
|
value: function createBranch(messageid, privateMessage, opts, callback) {
|
|
67
69
|
opts = opts || {};
|
|
68
|
-
var postBody = privateMessage;
|
|
69
|
-
|
|
70
|
+
var postBody = privateMessage;
|
|
71
|
+
// verify the required parameter 'messageid' is set
|
|
70
72
|
if (messageid === undefined || messageid === null) {
|
|
71
73
|
throw new Error("Missing the required parameter 'messageid' when calling createBranch");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
}
|
|
75
|
+
// verify the required parameter 'privateMessage' is set
|
|
75
76
|
if (privateMessage === undefined || privateMessage === null) {
|
|
76
77
|
throw new Error("Missing the required parameter 'privateMessage' when calling createBranch");
|
|
77
78
|
}
|
|
78
|
-
|
|
79
79
|
var pathParams = {
|
|
80
80
|
'messageid': messageid
|
|
81
81
|
};
|
|
@@ -92,6 +92,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
92
92
|
var returnType = _PrivateMessage["default"];
|
|
93
93
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{messageid}/branch', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
94
94
|
}
|
|
95
|
+
|
|
95
96
|
/**
|
|
96
97
|
* Callback function to receive the result of the createConversation operation.
|
|
97
98
|
* @callback module:api/PrivateMessagesApi~createConversationCallback
|
|
@@ -105,23 +106,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
105
106
|
* Create a new conversation or list of conversations.
|
|
106
107
|
* @param {module:model/PrivateMessageConversationSchema} privateMessageConversationSchema Conversation object or array of objects to create
|
|
107
108
|
* @param {Object} opts Optional parameters
|
|
108
|
-
* @param {String}
|
|
109
|
-
* @param {Number}
|
|
110
|
-
* @param {String}
|
|
109
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
110
|
+
* @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
|
|
111
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
111
112
|
* @param {module:api/PrivateMessagesApi~createConversationCallback} callback The callback function, accepting three arguments: error, data, response
|
|
112
113
|
* data is of type: {@link module:model/PrivateMessageConversation}
|
|
113
114
|
*/
|
|
114
|
-
|
|
115
115
|
}, {
|
|
116
116
|
key: "createConversation",
|
|
117
117
|
value: function createConversation(privateMessageConversationSchema, opts, callback) {
|
|
118
118
|
opts = opts || {};
|
|
119
|
-
var postBody = privateMessageConversationSchema;
|
|
120
|
-
|
|
119
|
+
var postBody = privateMessageConversationSchema;
|
|
120
|
+
// verify the required parameter 'privateMessageConversationSchema' is set
|
|
121
121
|
if (privateMessageConversationSchema === undefined || privateMessageConversationSchema === null) {
|
|
122
122
|
throw new Error("Missing the required parameter 'privateMessageConversationSchema' when calling createConversation");
|
|
123
123
|
}
|
|
124
|
-
|
|
125
124
|
var pathParams = {};
|
|
126
125
|
var queryParams = {};
|
|
127
126
|
var headerParams = {
|
|
@@ -136,6 +135,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
136
135
|
var returnType = _PrivateMessageConversation["default"];
|
|
137
136
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
138
137
|
}
|
|
138
|
+
|
|
139
139
|
/**
|
|
140
140
|
* Callback function to receive the result of the createReply operation.
|
|
141
141
|
* @callback module:api/PrivateMessagesApi~createReplyCallback
|
|
@@ -148,28 +148,25 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
148
148
|
* @param {Number} messageid
|
|
149
149
|
* @param {module:model/PrivateMessage} privateMessage Private Message Object
|
|
150
150
|
* @param {Object} opts Optional parameters
|
|
151
|
-
* @param {String}
|
|
152
|
-
* @param {Number}
|
|
153
|
-
* @param {String}
|
|
151
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
152
|
+
* @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
|
|
153
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
154
154
|
* @param {module:api/PrivateMessagesApi~createReplyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
155
155
|
* data is of type: {@link module:model/PrivateMessage}
|
|
156
156
|
*/
|
|
157
|
-
|
|
158
157
|
}, {
|
|
159
158
|
key: "createReply",
|
|
160
159
|
value: function createReply(messageid, privateMessage, opts, callback) {
|
|
161
160
|
opts = opts || {};
|
|
162
|
-
var postBody = privateMessage;
|
|
163
|
-
|
|
161
|
+
var postBody = privateMessage;
|
|
162
|
+
// verify the required parameter 'messageid' is set
|
|
164
163
|
if (messageid === undefined || messageid === null) {
|
|
165
164
|
throw new Error("Missing the required parameter 'messageid' when calling createReply");
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
}
|
|
166
|
+
// verify the required parameter 'privateMessage' is set
|
|
169
167
|
if (privateMessage === undefined || privateMessage === null) {
|
|
170
168
|
throw new Error("Missing the required parameter 'privateMessage' when calling createReply");
|
|
171
169
|
}
|
|
172
|
-
|
|
173
170
|
var pathParams = {
|
|
174
171
|
'messageid': messageid
|
|
175
172
|
};
|
|
@@ -186,6 +183,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
186
183
|
var returnType = _PrivateMessage["default"];
|
|
187
184
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{messageid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
188
185
|
}
|
|
186
|
+
|
|
189
187
|
/**
|
|
190
188
|
* Callback function to receive the result of the deleteMessage operation.
|
|
191
189
|
* @callback module:api/PrivateMessagesApi~deleteMessageCallback
|
|
@@ -197,22 +195,20 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
197
195
|
/**
|
|
198
196
|
* @param {Number} messageid
|
|
199
197
|
* @param {Object} opts Optional parameters
|
|
200
|
-
* @param {String}
|
|
201
|
-
* @param {Number}
|
|
202
|
-
* @param {String}
|
|
198
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
199
|
+
* @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
|
|
200
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
203
201
|
* @param {module:api/PrivateMessagesApi~deleteMessageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
204
202
|
*/
|
|
205
|
-
|
|
206
203
|
}, {
|
|
207
204
|
key: "deleteMessage",
|
|
208
205
|
value: function deleteMessage(messageid, opts, callback) {
|
|
209
206
|
opts = opts || {};
|
|
210
|
-
var postBody = null;
|
|
211
|
-
|
|
207
|
+
var postBody = null;
|
|
208
|
+
// verify the required parameter 'messageid' is set
|
|
212
209
|
if (messageid === undefined || messageid === null) {
|
|
213
210
|
throw new Error("Missing the required parameter 'messageid' when calling deleteMessage");
|
|
214
211
|
}
|
|
215
|
-
|
|
216
212
|
var pathParams = {
|
|
217
213
|
'messageid': messageid
|
|
218
214
|
};
|
|
@@ -229,6 +225,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
229
225
|
var returnType = null;
|
|
230
226
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{messageid}/send', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
231
227
|
}
|
|
228
|
+
|
|
232
229
|
/**
|
|
233
230
|
* Callback function to receive the result of the deleteObject operation.
|
|
234
231
|
* @callback module:api/PrivateMessagesApi~deleteObjectCallback
|
|
@@ -241,22 +238,20 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
241
238
|
* Delete's the object with the id
|
|
242
239
|
* @param {Number} id The id of the object to delete
|
|
243
240
|
* @param {Object} opts Optional parameters
|
|
244
|
-
* @param {String}
|
|
245
|
-
* @param {Number}
|
|
246
|
-
* @param {String}
|
|
241
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
242
|
+
* @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
|
|
243
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
247
244
|
* @param {module:api/PrivateMessagesApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
248
245
|
*/
|
|
249
|
-
|
|
250
246
|
}, {
|
|
251
247
|
key: "deleteObject",
|
|
252
248
|
value: function deleteObject(id, opts, callback) {
|
|
253
249
|
opts = opts || {};
|
|
254
|
-
var postBody = null;
|
|
255
|
-
|
|
250
|
+
var postBody = null;
|
|
251
|
+
// verify the required parameter 'id' is set
|
|
256
252
|
if (id === undefined || id === null) {
|
|
257
253
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
258
254
|
}
|
|
259
|
-
|
|
260
255
|
var pathParams = {
|
|
261
256
|
'id': id
|
|
262
257
|
};
|
|
@@ -273,6 +268,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
273
268
|
var returnType = null;
|
|
274
269
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
275
270
|
}
|
|
271
|
+
|
|
276
272
|
/**
|
|
277
273
|
* Callback function to receive the result of the get38 operation.
|
|
278
274
|
* @callback module:api/PrivateMessagesApi~get38Callback
|
|
@@ -284,12 +280,11 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
284
280
|
/**
|
|
285
281
|
* Root for the API
|
|
286
282
|
* @param {Object} opts Optional parameters
|
|
287
|
-
* @param {String}
|
|
288
|
-
* @param {Number}
|
|
289
|
-
* @param {String}
|
|
283
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
284
|
+
* @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
|
|
285
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
290
286
|
* @param {module:api/PrivateMessagesApi~get38Callback} callback The callback function, accepting three arguments: error, data, response
|
|
291
287
|
*/
|
|
292
|
-
|
|
293
288
|
}, {
|
|
294
289
|
key: "get38",
|
|
295
290
|
value: function get38(opts, callback) {
|
|
@@ -309,6 +304,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
309
304
|
var returnType = null;
|
|
310
305
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
311
306
|
}
|
|
307
|
+
|
|
312
308
|
/**
|
|
313
309
|
* Callback function to receive the result of the get39 operation.
|
|
314
310
|
* @callback module:api/PrivateMessagesApi~get39Callback
|
|
@@ -320,12 +316,11 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
320
316
|
/**
|
|
321
317
|
* Root for the API
|
|
322
318
|
* @param {Object} opts Optional parameters
|
|
323
|
-
* @param {String}
|
|
324
|
-
* @param {Number}
|
|
325
|
-
* @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
|
|
326
322
|
* @param {module:api/PrivateMessagesApi~get39Callback} callback The callback function, accepting three arguments: error, data, response
|
|
327
323
|
*/
|
|
328
|
-
|
|
329
324
|
}, {
|
|
330
325
|
key: "get39",
|
|
331
326
|
value: function get39(opts, callback) {
|
|
@@ -345,6 +340,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
345
340
|
var returnType = null;
|
|
346
341
|
return this.apiClient.callApi('/graph/data/privatemessages/messages', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
347
342
|
}
|
|
343
|
+
|
|
348
344
|
/**
|
|
349
345
|
* Callback function to receive the result of the get40 operation.
|
|
350
346
|
* @callback module:api/PrivateMessagesApi~get40Callback
|
|
@@ -357,23 +353,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
357
353
|
* Gets and object by id
|
|
358
354
|
* @param {Number} id
|
|
359
355
|
* @param {Object} opts Optional parameters
|
|
360
|
-
* @param {String}
|
|
361
|
-
* @param {Number}
|
|
362
|
-
* @param {String}
|
|
356
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
357
|
+
* @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
|
|
358
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
363
359
|
* @param {module:api/PrivateMessagesApi~get40Callback} callback The callback function, accepting three arguments: error, data, response
|
|
364
360
|
* data is of type: {@link module:model/PrivateMessage}
|
|
365
361
|
*/
|
|
366
|
-
|
|
367
362
|
}, {
|
|
368
363
|
key: "get40",
|
|
369
364
|
value: function get40(id, opts, callback) {
|
|
370
365
|
opts = opts || {};
|
|
371
|
-
var postBody = null;
|
|
372
|
-
|
|
366
|
+
var postBody = null;
|
|
367
|
+
// verify the required parameter 'id' is set
|
|
373
368
|
if (id === undefined || id === null) {
|
|
374
369
|
throw new Error("Missing the required parameter 'id' when calling get40");
|
|
375
370
|
}
|
|
376
|
-
|
|
377
371
|
var pathParams = {
|
|
378
372
|
'id': id
|
|
379
373
|
};
|
|
@@ -390,6 +384,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
390
384
|
var returnType = _PrivateMessage["default"];
|
|
391
385
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
392
386
|
}
|
|
387
|
+
|
|
393
388
|
/**
|
|
394
389
|
* Callback function to receive the result of the getAllConversations operation.
|
|
395
390
|
* @callback module:api/PrivateMessagesApi~getAllConversationsCallback
|
|
@@ -402,13 +397,12 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
402
397
|
* Get All Conversations
|
|
403
398
|
* Returns all the conversations the user has access to
|
|
404
399
|
* @param {Object} opts Optional parameters
|
|
405
|
-
* @param {String}
|
|
406
|
-
* @param {Number}
|
|
407
|
-
* @param {String}
|
|
400
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
401
|
+
* @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
|
|
402
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
408
403
|
* @param {module:api/PrivateMessagesApi~getAllConversationsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
409
404
|
* data is of type: {@link Array.<module:model/PrivateMessageConversation>}
|
|
410
405
|
*/
|
|
411
|
-
|
|
412
406
|
}, {
|
|
413
407
|
key: "getAllConversations",
|
|
414
408
|
value: function getAllConversations(opts, callback) {
|
|
@@ -428,6 +422,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
428
422
|
var returnType = [_PrivateMessageConversation["default"]];
|
|
429
423
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
430
424
|
}
|
|
425
|
+
|
|
431
426
|
/**
|
|
432
427
|
* Callback function to receive the result of the getChildConversations operation.
|
|
433
428
|
* @callback module:api/PrivateMessagesApi~getChildConversationsCallback
|
|
@@ -441,23 +436,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
441
436
|
* Returns the child private conversations
|
|
442
437
|
* @param {Number} convoid
|
|
443
438
|
* @param {Object} opts Optional parameters
|
|
444
|
-
* @param {String}
|
|
445
|
-
* @param {Number}
|
|
446
|
-
* @param {String}
|
|
439
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
440
|
+
* @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
|
|
441
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
447
442
|
* @param {module:api/PrivateMessagesApi~getChildConversationsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
448
443
|
* data is of type: {@link Array.<module:model/PrivateMessageConversation>}
|
|
449
444
|
*/
|
|
450
|
-
|
|
451
445
|
}, {
|
|
452
446
|
key: "getChildConversations",
|
|
453
447
|
value: function getChildConversations(convoid, opts, callback) {
|
|
454
448
|
opts = opts || {};
|
|
455
|
-
var postBody = null;
|
|
456
|
-
|
|
449
|
+
var postBody = null;
|
|
450
|
+
// verify the required parameter 'convoid' is set
|
|
457
451
|
if (convoid === undefined || convoid === null) {
|
|
458
452
|
throw new Error("Missing the required parameter 'convoid' when calling getChildConversations");
|
|
459
453
|
}
|
|
460
|
-
|
|
461
454
|
var pathParams = {
|
|
462
455
|
'convoid': convoid
|
|
463
456
|
};
|
|
@@ -474,6 +467,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
474
467
|
var returnType = [_PrivateMessageConversation["default"]];
|
|
475
468
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/{convoid}/childconversations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
476
469
|
}
|
|
470
|
+
|
|
477
471
|
/**
|
|
478
472
|
* Callback function to receive the result of the getConversationById operation.
|
|
479
473
|
* @callback module:api/PrivateMessagesApi~getConversationByIdCallback
|
|
@@ -487,23 +481,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
487
481
|
* Returns the conversation with the given id
|
|
488
482
|
* @param {Number} id
|
|
489
483
|
* @param {Object} opts Optional parameters
|
|
490
|
-
* @param {String}
|
|
491
|
-
* @param {Number}
|
|
492
|
-
* @param {String}
|
|
484
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
485
|
+
* @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
|
|
486
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
493
487
|
* @param {module:api/PrivateMessagesApi~getConversationByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
494
488
|
* data is of type: {@link module:model/PrivateMessageConversation}
|
|
495
489
|
*/
|
|
496
|
-
|
|
497
490
|
}, {
|
|
498
491
|
key: "getConversationById",
|
|
499
492
|
value: function getConversationById(id, opts, callback) {
|
|
500
493
|
opts = opts || {};
|
|
501
|
-
var postBody = null;
|
|
502
|
-
|
|
494
|
+
var postBody = null;
|
|
495
|
+
// verify the required parameter 'id' is set
|
|
503
496
|
if (id === undefined || id === null) {
|
|
504
497
|
throw new Error("Missing the required parameter 'id' when calling getConversationById");
|
|
505
498
|
}
|
|
506
|
-
|
|
507
499
|
var pathParams = {
|
|
508
500
|
'id': id
|
|
509
501
|
};
|
|
@@ -520,6 +512,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
520
512
|
var returnType = _PrivateMessageConversation["default"];
|
|
521
513
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
522
514
|
}
|
|
515
|
+
|
|
523
516
|
/**
|
|
524
517
|
* Callback function to receive the result of the getConversationParticipants operation.
|
|
525
518
|
* @callback module:api/PrivateMessagesApi~getConversationParticipantsCallback
|
|
@@ -533,23 +526,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
533
526
|
* Get messages attached to a conversation with consecutive messages posted by the same user grouped together
|
|
534
527
|
* @param {Number} convoid
|
|
535
528
|
* @param {Object} opts Optional parameters
|
|
536
|
-
* @param {String}
|
|
537
|
-
* @param {Number}
|
|
538
|
-
* @param {String}
|
|
529
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
530
|
+
* @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
|
|
531
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
539
532
|
* @param {module:api/PrivateMessagesApi~getConversationParticipantsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
540
533
|
* data is of type: {@link Array.<module:model/MessageGroup>}
|
|
541
534
|
*/
|
|
542
|
-
|
|
543
535
|
}, {
|
|
544
536
|
key: "getConversationParticipants",
|
|
545
537
|
value: function getConversationParticipants(convoid, opts, callback) {
|
|
546
538
|
opts = opts || {};
|
|
547
|
-
var postBody = null;
|
|
548
|
-
|
|
539
|
+
var postBody = null;
|
|
540
|
+
// verify the required parameter 'convoid' is set
|
|
549
541
|
if (convoid === undefined || convoid === null) {
|
|
550
542
|
throw new Error("Missing the required parameter 'convoid' when calling getConversationParticipants");
|
|
551
543
|
}
|
|
552
|
-
|
|
553
544
|
var pathParams = {
|
|
554
545
|
'convoid': convoid
|
|
555
546
|
};
|
|
@@ -566,6 +557,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
566
557
|
var returnType = [_MessageGroup["default"]];
|
|
567
558
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/{convoid}/groupedmessages', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
568
559
|
}
|
|
560
|
+
|
|
569
561
|
/**
|
|
570
562
|
* Callback function to receive the result of the getConversationParticipants1 operation.
|
|
571
563
|
* @callback module:api/PrivateMessagesApi~getConversationParticipants1Callback
|
|
@@ -579,23 +571,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
579
571
|
* Get messages attached to a conversation
|
|
580
572
|
* @param {Number} convoid
|
|
581
573
|
* @param {Object} opts Optional parameters
|
|
582
|
-
* @param {String}
|
|
583
|
-
* @param {Number}
|
|
584
|
-
* @param {String}
|
|
574
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
575
|
+
* @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
|
|
576
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
585
577
|
* @param {module:api/PrivateMessagesApi~getConversationParticipants1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
586
578
|
* data is of type: {@link Array.<module:model/PrivateMessage>}
|
|
587
579
|
*/
|
|
588
|
-
|
|
589
580
|
}, {
|
|
590
581
|
key: "getConversationParticipants1",
|
|
591
582
|
value: function getConversationParticipants1(convoid, opts, callback) {
|
|
592
583
|
opts = opts || {};
|
|
593
|
-
var postBody = null;
|
|
594
|
-
|
|
584
|
+
var postBody = null;
|
|
585
|
+
// verify the required parameter 'convoid' is set
|
|
595
586
|
if (convoid === undefined || convoid === null) {
|
|
596
587
|
throw new Error("Missing the required parameter 'convoid' when calling getConversationParticipants1");
|
|
597
588
|
}
|
|
598
|
-
|
|
599
589
|
var pathParams = {
|
|
600
590
|
'convoid': convoid
|
|
601
591
|
};
|
|
@@ -612,6 +602,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
612
602
|
var returnType = [_PrivateMessage["default"]];
|
|
613
603
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/{convoid}/messages', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
614
604
|
}
|
|
605
|
+
|
|
615
606
|
/**
|
|
616
607
|
* Callback function to receive the result of the getUnreadMessageCount operation.
|
|
617
608
|
* @callback module:api/PrivateMessagesApi~getUnreadMessageCountCallback
|
|
@@ -624,13 +615,12 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
624
615
|
* Get the number of unread messages
|
|
625
616
|
* Returns the number of unread messages
|
|
626
617
|
* @param {Object} opts Optional parameters
|
|
627
|
-
* @param {String}
|
|
628
|
-
* @param {Number}
|
|
629
|
-
* @param {String}
|
|
618
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
619
|
+
* @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
|
|
620
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
630
621
|
* @param {module:api/PrivateMessagesApi~getUnreadMessageCountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
631
622
|
* data is of type: {@link Number}
|
|
632
623
|
*/
|
|
633
|
-
|
|
634
624
|
}, {
|
|
635
625
|
key: "getUnreadMessageCount",
|
|
636
626
|
value: function getUnreadMessageCount(opts, callback) {
|
|
@@ -650,6 +640,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
650
640
|
var returnType = 'Number';
|
|
651
641
|
return this.apiClient.callApi('/graph/data/privatemessages/conversations/newmessagecount', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
652
642
|
}
|
|
643
|
+
|
|
653
644
|
/**
|
|
654
645
|
* Callback function to receive the result of the updateMessage operation.
|
|
655
646
|
* @callback module:api/PrivateMessagesApi~updateMessageCallback
|
|
@@ -661,23 +652,21 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
661
652
|
/**
|
|
662
653
|
* @param {Number} messageid
|
|
663
654
|
* @param {Object} opts Optional parameters
|
|
664
|
-
* @param {String}
|
|
665
|
-
* @param {Number}
|
|
666
|
-
* @param {String}
|
|
655
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
656
|
+
* @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
|
|
657
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
667
658
|
* @param {module:api/PrivateMessagesApi~updateMessageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
668
659
|
* data is of type: {@link Array.<module:model/PrivateMessage>}
|
|
669
660
|
*/
|
|
670
|
-
|
|
671
661
|
}, {
|
|
672
662
|
key: "updateMessage",
|
|
673
663
|
value: function updateMessage(messageid, opts, callback) {
|
|
674
664
|
opts = opts || {};
|
|
675
|
-
var postBody = null;
|
|
676
|
-
|
|
665
|
+
var postBody = null;
|
|
666
|
+
// verify the required parameter 'messageid' is set
|
|
677
667
|
if (messageid === undefined || messageid === null) {
|
|
678
668
|
throw new Error("Missing the required parameter 'messageid' when calling updateMessage");
|
|
679
669
|
}
|
|
680
|
-
|
|
681
670
|
var pathParams = {
|
|
682
671
|
'messageid': messageid
|
|
683
672
|
};
|
|
@@ -694,6 +683,7 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
694
683
|
var returnType = [_PrivateMessage["default"]];
|
|
695
684
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{messageid}/send', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
696
685
|
}
|
|
686
|
+
|
|
697
687
|
/**
|
|
698
688
|
* Callback function to receive the result of the updateMessage1 operation.
|
|
699
689
|
* @callback module:api/PrivateMessagesApi~updateMessage1Callback
|
|
@@ -706,28 +696,25 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
706
696
|
* @param {Number} messageid
|
|
707
697
|
* @param {module:model/PrivateMessage} privateMessage Private Message Object
|
|
708
698
|
* @param {Object} opts Optional parameters
|
|
709
|
-
* @param {String}
|
|
710
|
-
* @param {Number}
|
|
711
|
-
* @param {String}
|
|
699
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
700
|
+
* @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
|
|
701
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
712
702
|
* @param {module:api/PrivateMessagesApi~updateMessage1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
713
703
|
* data is of type: {@link Array.<module:model/PrivateMessage>}
|
|
714
704
|
*/
|
|
715
|
-
|
|
716
705
|
}, {
|
|
717
706
|
key: "updateMessage1",
|
|
718
707
|
value: function updateMessage1(messageid, privateMessage, opts, callback) {
|
|
719
708
|
opts = opts || {};
|
|
720
|
-
var postBody = privateMessage;
|
|
721
|
-
|
|
709
|
+
var postBody = privateMessage;
|
|
710
|
+
// verify the required parameter 'messageid' is set
|
|
722
711
|
if (messageid === undefined || messageid === null) {
|
|
723
712
|
throw new Error("Missing the required parameter 'messageid' when calling updateMessage1");
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
|
|
713
|
+
}
|
|
714
|
+
// verify the required parameter 'privateMessage' is set
|
|
727
715
|
if (privateMessage === undefined || privateMessage === null) {
|
|
728
716
|
throw new Error("Missing the required parameter 'privateMessage' when calling updateMessage1");
|
|
729
717
|
}
|
|
730
|
-
|
|
731
718
|
var pathParams = {
|
|
732
719
|
'messageid': messageid
|
|
733
720
|
};
|
|
@@ -745,8 +732,5 @@ var PrivateMessagesApi = /*#__PURE__*/function () {
|
|
|
745
732
|
return this.apiClient.callApi('/graph/data/privatemessages/messages/{messageid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
746
733
|
}
|
|
747
734
|
}]);
|
|
748
|
-
|
|
749
735
|
return PrivateMessagesApi;
|
|
750
|
-
}();
|
|
751
|
-
|
|
752
|
-
exports["default"] = PrivateMessagesApi;
|
|
736
|
+
}();
|