@gobodo/gobodo-api 0.1.2
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 +742 -0
- package/dist/ApiClient.js +781 -0
- package/dist/api/ActionTypesApi.js +97 -0
- package/dist/api/AdCampaignsApi.js +392 -0
- package/dist/api/AdManagementApi.js +563 -0
- package/dist/api/AdminDataManagementApi.js +97 -0
- package/dist/api/AdsApi.js +301 -0
- package/dist/api/AttachmentsApi.js +361 -0
- package/dist/api/AuthenticationApi.js +292 -0
- package/dist/api/CategoriesApi.js +353 -0
- package/dist/api/CommentsApi.js +408 -0
- package/dist/api/ContentManagementApi.js +1171 -0
- package/dist/api/ConversationsApi.js +434 -0
- package/dist/api/DataSheetImportsApi.js +828 -0
- package/dist/api/DefaultApi.js +548 -0
- package/dist/api/DocumentsApi.js +635 -0
- package/dist/api/EntryPartsApi.js +670 -0
- package/dist/api/FacebookApi.js +80 -0
- package/dist/api/FieldsApi.js +199 -0
- package/dist/api/FilesApi.js +95 -0
- package/dist/api/FormsApi.js +885 -0
- package/dist/api/FunctionsApi.js +96 -0
- package/dist/api/GeocodeApi.js +277 -0
- package/dist/api/GoogleApi.js +80 -0
- package/dist/api/GraphActionsApi.js +523 -0
- package/dist/api/GraphObjectTypesApi.js +413 -0
- package/dist/api/GraphObjectsApi.js +3077 -0
- package/dist/api/GraphRelationshipTypesApi.js +831 -0
- package/dist/api/GraphRelationshipsApi.js +1500 -0
- package/dist/api/GraphSchemasApi.js +365 -0
- package/dist/api/GraphTraversalApi.js +291 -0
- package/dist/api/GraphsApi.js +571 -0
- package/dist/api/GroupsApi.js +568 -0
- package/dist/api/IAMApi.js +211 -0
- package/dist/api/ImagesApi.js +414 -0
- package/dist/api/InvitesApi.js +268 -0
- package/dist/api/LikesApi.js +601 -0
- package/dist/api/LinkedINApi.js +80 -0
- package/dist/api/LiveMeetingsApi.js +145 -0
- package/dist/api/MeetingEventsApi.js +286 -0
- package/dist/api/PagesApi.js +475 -0
- package/dist/api/PostsApi.js +262 -0
- package/dist/api/PrivateMessagesApi.js +752 -0
- package/dist/api/PublicationsApi.js +86 -0
- package/dist/api/ScreensApi.js +183 -0
- package/dist/api/SocialIntegrationApi.js +188 -0
- package/dist/api/StripeAccountsApi.js +461 -0
- package/dist/api/TagsApi.js +96 -0
- package/dist/api/TemplatesApi.js +183 -0
- package/dist/api/ThemeMappingsApi.js +178 -0
- package/dist/api/TransactionsApi.js +147 -0
- package/dist/api/TwitterApi.js +80 -0
- package/dist/api/UserTagsApi.js +467 -0
- package/dist/api/UsersApi.js +466 -0
- package/dist/api/UtilsApi.js +75 -0
- package/dist/api/VideosApi.js +564 -0
- package/dist/index.js +1295 -0
- package/dist/model/APIClient.js +180 -0
- package/dist/model/Account.js +315 -0
- package/dist/model/AchCreditTransfer.js +122 -0
- package/dist/model/AchDebit.js +140 -0
- package/dist/model/AcssDebit.js +106 -0
- package/dist/model/AddInvoiceItem.js +126 -0
- package/dist/model/Address.js +140 -0
- package/dist/model/Affirm.js +104 -0
- package/dist/model/AfterpayClearpay.js +113 -0
- package/dist/model/Alipay.js +95 -0
- package/dist/model/AlternateStatementDescriptors.js +104 -0
- package/dist/model/Alternative.js +104 -0
- package/dist/model/AmexExpressCheckout.js +86 -0
- package/dist/model/AmountDetails.js +97 -0
- package/dist/model/ApplePay.js +86 -0
- package/dist/model/Application.js +122 -0
- package/dist/model/ApplicationFee.js +267 -0
- package/dist/model/AppliesTo.js +95 -0
- package/dist/model/Article.js +272 -0
- package/dist/model/AuBecsDebit.js +95 -0
- package/dist/model/Authorization.js +93 -0
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +95 -0
- package/dist/model/AutomaticTax.js +95 -0
- package/dist/model/BacsDebit.js +95 -0
- package/dist/model/BacsDebitPayments.js +95 -0
- package/dist/model/BalanceSettings.js +95 -0
- package/dist/model/BalanceTransaction.js +234 -0
- package/dist/model/BalanceTransactionSource.js +84 -0
- package/dist/model/Bancontact.js +180 -0
- package/dist/model/BankTransfer.js +106 -0
- package/dist/model/BillingDetails.js +124 -0
- package/dist/model/BillingThresholds.js +95 -0
- package/dist/model/Blik.js +86 -0
- package/dist/model/BlikMandateOptions.js +115 -0
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +122 -0
- package/dist/model/Boleto.js +95 -0
- package/dist/model/Breakdown.js +108 -0
- package/dist/model/BusinessProfile.js +160 -0
- package/dist/model/Capabilities.js +383 -0
- package/dist/model/Card.js +247 -0
- package/dist/model/CardPresent.js +268 -0
- package/dist/model/CashBalance.js +135 -0
- package/dist/model/Charge.js +706 -0
- package/dist/model/ChargeCollection.js +146 -0
- package/dist/model/Checks.js +113 -0
- package/dist/model/Comment.js +210 -0
- package/dist/model/Company.js +238 -0
- package/dist/model/Computed.js +108 -0
- package/dist/model/Controller.js +104 -0
- package/dist/model/Coordinates.js +84 -0
- package/dist/model/Coupon.js +256 -0
- package/dist/model/CreateAccountResponse.js +95 -0
- package/dist/model/CreateAccountResponseFailureException.js +117 -0
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +106 -0
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +138 -0
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +95 -0
- package/dist/model/CreateCustomerResponse.js +95 -0
- package/dist/model/CreateStripeAccountInput.js +129 -0
- package/dist/model/CreateStripeCustomerInput.js +95 -0
- package/dist/model/CreditedItems.js +104 -0
- package/dist/model/CurrencyOption.js +135 -0
- package/dist/model/CurrentPhase.js +104 -0
- package/dist/model/CustomField.js +104 -0
- package/dist/model/CustomUnitAmount.js +113 -0
- package/dist/model/Customer.js +400 -0
- package/dist/model/CustomerAcceptance.js +126 -0
- package/dist/model/CustomerBalance.js +86 -0
- package/dist/model/CustomerNotification.js +104 -0
- package/dist/model/CustomerTaxId.js +104 -0
- package/dist/model/DataObject.js +84 -0
- package/dist/model/DataSheetImport.js +320 -0
- package/dist/model/DataSheetImportPrivacySettings.js +93 -0
- package/dist/model/DataSheetImportSummary.js +120 -0
- package/dist/model/DateOfBirth.js +113 -0
- package/dist/model/DeclineChargeOn.js +104 -0
- package/dist/model/DefaultSettings.js +177 -0
- package/dist/model/Discount.js +104 -0
- package/dist/model/DiscountAmount.js +115 -0
- package/dist/model/Dispute.js +260 -0
- package/dist/model/Document.js +292 -0
- package/dist/model/DocumentPart.js +243 -0
- package/dist/model/DocumentPartType.js +160 -0
- package/dist/model/DocumentType.js +196 -0
- package/dist/model/EmailSent.js +104 -0
- package/dist/model/Eps.js +104 -0
- package/dist/model/Errors.js +113 -0
- package/dist/model/EuBankTransfer.js +95 -0
- package/dist/model/Evidence.js +410 -0
- package/dist/model/EvidenceDetails.js +122 -0
- package/dist/model/ExternalAccount.js +84 -0
- package/dist/model/ExternalAccountCollection.js +146 -0
- package/dist/model/Familymart.js +104 -0
- package/dist/model/Fee.js +131 -0
- package/dist/model/FeeRefund.js +182 -0
- package/dist/model/FeeRefundCollection.js +146 -0
- package/dist/model/FieldMapping.js +139 -0
- package/dist/model/Fields.js +462 -0
- package/dist/model/File.js +156 -0
- package/dist/model/FileAttachmentUpload.js +88 -0
- package/dist/model/FileAttachmentUploadObject.js +165 -0
- package/dist/model/FileLink.js +178 -0
- package/dist/model/FileLinkCollection.js +146 -0
- package/dist/model/Filter.js +84 -0
- package/dist/model/FilterManager.js +86 -0
- package/dist/model/FinancialAddress.js +148 -0
- package/dist/model/FinancialConnections.js +95 -0
- package/dist/model/Form.js +174 -0
- package/dist/model/FormSection.js +131 -0
- package/dist/model/FormSubmission.js +134 -0
- package/dist/model/Fpx.js +113 -0
- package/dist/model/FraudDetails.js +104 -0
- package/dist/model/FromQuote.js +115 -0
- package/dist/model/FutureRequirements.js +144 -0
- package/dist/model/GeneratedFrom.js +126 -0
- package/dist/model/Geocode.js +106 -0
- package/dist/model/GeocodePayload.js +88 -0
- package/dist/model/GeolocationInput.js +132 -0
- package/dist/model/Giropay.js +122 -0
- package/dist/model/GooglePay.js +86 -0
- package/dist/model/Grabpay.js +95 -0
- package/dist/model/Graph.js +213 -0
- package/dist/model/GraphAction.js +140 -0
- package/dist/model/GraphDatabaseService.js +129 -0
- package/dist/model/GraphGeocode.js +136 -0
- package/dist/model/GraphIteratorEntryPart.js +77 -0
- package/dist/model/GraphIteratorEntryPartStackTrace.js +138 -0
- package/dist/model/GraphObject.js +192 -0
- package/dist/model/GraphObjectDescriptorSchema.js +179 -0
- package/dist/model/GraphObjectPayload.js +151 -0
- package/dist/model/GraphObjectSchema.js +223 -0
- package/dist/model/GraphObjectType.js +254 -0
- package/dist/model/GraphObjectTypeSchema.js +254 -0
- package/dist/model/GraphOwner.js +93 -0
- package/dist/model/GraphRelation.js +133 -0
- package/dist/model/GraphRelationObjectObject.js +133 -0
- package/dist/model/GraphRelationship.js +143 -0
- package/dist/model/GraphRelationshipPayload.js +104 -0
- package/dist/model/GraphRelationshipType.js +309 -0
- package/dist/model/GraphSchema.js +262 -0
- package/dist/model/GraphTraversalInput.js +255 -0
- package/dist/model/Iban.js +122 -0
- package/dist/model/Ideal.js +162 -0
- package/dist/model/Image.js +192 -0
- package/dist/model/ImageUpload.js +88 -0
- package/dist/model/ImageUploadObject.js +192 -0
- package/dist/model/InlineObject.js +124 -0
- package/dist/model/InlineObject1.js +124 -0
- package/dist/model/InlineObject2.js +124 -0
- package/dist/model/InlineObject3.js +124 -0
- package/dist/model/InlineObject4.js +124 -0
- package/dist/model/InlineObject5.js +124 -0
- package/dist/model/InlineResponseDefault.js +124 -0
- package/dist/model/InputPart.js +106 -0
- package/dist/model/InputPartMediaType.js +113 -0
- package/dist/model/Installments.js +97 -0
- package/dist/model/InteracPresent.js +241 -0
- package/dist/model/Invoice.js +925 -0
- package/dist/model/InvoiceLineItem.js +329 -0
- package/dist/model/InvoiceLineItemCollection.js +146 -0
- package/dist/model/InvoiceLineItemPeriod.js +104 -0
- package/dist/model/InvoiceSettings.js +95 -0
- package/dist/model/JapanAddress.js +149 -0
- package/dist/model/JsonArray.js +252 -0
- package/dist/model/JsonNull.js +252 -0
- package/dist/model/JsonObject.js +252 -0
- package/dist/model/JsonPrimitive.js +288 -0
- package/dist/model/Klarna.js +104 -0
- package/dist/model/Konbini.js +97 -0
- package/dist/model/Lawson.js +104 -0
- package/dist/model/Level3.js +142 -0
- package/dist/model/LineItem.js +220 -0
- package/dist/model/LineItemCollection.js +146 -0
- package/dist/model/Link.js +140 -0
- package/dist/model/LiveStreamInfo.js +94 -0
- package/dist/model/Location.js +113 -0
- package/dist/model/Mandate.js +195 -0
- package/dist/model/MandateOptions.js +95 -0
- package/dist/model/Masterpass.js +124 -0
- package/dist/model/MeetingEvent.js +251 -0
- package/dist/model/MeetingEventTimezone.js +102 -0
- package/dist/model/MeetingInfo.js +126 -0
- package/dist/model/Member.js +212 -0
- package/dist/model/MemberGroupCategory.js +120 -0
- package/dist/model/MemberList.js +101 -0
- package/dist/model/MessageGroup.js +95 -0
- package/dist/model/Ministop.js +104 -0
- package/dist/model/MultiUse.js +86 -0
- package/dist/model/Multibanco.js +104 -0
- package/dist/model/MultipartBody.js +84 -0
- package/dist/model/MultipartFormDataInput.js +108 -0
- package/dist/model/Networks.js +104 -0
- package/dist/model/NextAction.js +249 -0
- package/dist/model/NextActionAlipayHandleRedirect.js +122 -0
- package/dist/model/NextActionCardAwaitNotification.js +104 -0
- package/dist/model/NextActionDisplayBankTransferInstructions.js +142 -0
- package/dist/model/NextActionDisplayBoletoDetails.js +122 -0
- package/dist/model/NextActionDisplayDetails.js +106 -0
- package/dist/model/NextActionKonbiniDisplayDetails.js +115 -0
- package/dist/model/NextActionOxxoDisplayDetails.js +113 -0
- package/dist/model/NextActionRedirectToUrl.js +104 -0
- package/dist/model/Objecttype.js +244 -0
- package/dist/model/Offline.js +86 -0
- package/dist/model/Online.js +104 -0
- package/dist/model/Outcome.js +160 -0
- package/dist/model/OwnershipDeclaration.js +113 -0
- package/dist/model/Oxxo.js +95 -0
- package/dist/model/P24.js +113 -0
- package/dist/model/PackageDimensions.js +122 -0
- package/dist/model/Page.js +169 -0
- package/dist/model/PageSchema.js +229 -0
- package/dist/model/Pageable.js +122 -0
- package/dist/model/Path.js +77 -0
- package/dist/model/PauseCollection.js +104 -0
- package/dist/model/PaymentIntent.js +534 -0
- package/dist/model/PaymentIntentInput.js +102 -0
- package/dist/model/PaymentIntentResponse.js +84 -0
- package/dist/model/PaymentMethod.js +120 -0
- package/dist/model/PaymentMethodDetails.js +480 -0
- package/dist/model/PaymentMethodOptions.js +152 -0
- package/dist/model/PaymentSettings.js +115 -0
- package/dist/model/PaymentSource.js +84 -0
- package/dist/model/PaymentSourceCollection.js +146 -0
- package/dist/model/Paynow.js +95 -0
- package/dist/model/PaynowDisplayQrCode.js +113 -0
- package/dist/model/PayoutSchedule.js +122 -0
- package/dist/model/PendingInvoiceItemInterval.js +104 -0
- package/dist/model/PendingUpdate.js +133 -0
- package/dist/model/Person.js +381 -0
- package/dist/model/Phase.js +286 -0
- package/dist/model/PhaseItem.js +157 -0
- package/dist/model/Plan.js +292 -0
- package/dist/model/Post.js +167 -0
- package/dist/model/Price.js +309 -0
- package/dist/model/PrivateMessage.js +222 -0
- package/dist/model/PrivateMessageConversation.js +222 -0
- package/dist/model/PrivateMessageConversationSchema.js +125 -0
- package/dist/model/Processing.js +106 -0
- package/dist/model/Product.js +310 -0
- package/dist/model/Profile.js +106 -0
- package/dist/model/Profiletype.js +106 -0
- package/dist/model/PromotionCode.js +220 -0
- package/dist/model/Promptpay.js +95 -0
- package/dist/model/PromptpayDisplayQrCode.js +122 -0
- package/dist/model/PropertyContainer.js +97 -0
- package/dist/model/ProrationDetails.js +97 -0
- package/dist/model/Quote.js +520 -0
- package/dist/model/RadarOptions.js +95 -0
- package/dist/model/Receipt.js +167 -0
- package/dist/model/Recurring.js +133 -0
- package/dist/model/Refund.js +332 -0
- package/dist/model/RefundCollection.js +146 -0
- package/dist/model/Relationship.js +140 -0
- package/dist/model/RelationshipMapping.js +159 -0
- package/dist/model/RenderingOptions.js +95 -0
- package/dist/model/RequestOptions.js +167 -0
- package/dist/model/RequestOptionsProxyCredential.js +84 -0
- package/dist/model/Requirements.js +162 -0
- package/dist/model/Restrictions.js +126 -0
- package/dist/model/Review.js +238 -0
- package/dist/model/Rule.js +113 -0
- package/dist/model/SamsungPay.js +86 -0
- package/dist/model/ScreenSchema.js +299 -0
- package/dist/model/Seicomart.js +104 -0
- package/dist/model/SepaCreditTransfer.js +113 -0
- package/dist/model/SepaDebit.js +142 -0
- package/dist/model/SepaDebitMandateOptions.js +86 -0
- package/dist/model/SepaDebitPayments.js +95 -0
- package/dist/model/Session.js +122 -0
- package/dist/model/Settings.js +185 -0
- package/dist/model/SettingsBranding.js +140 -0
- package/dist/model/SettingsCardIssuing.js +97 -0
- package/dist/model/SettingsCardPayments.js +124 -0
- package/dist/model/SettingsDashboard.js +104 -0
- package/dist/model/SettingsPayments.js +131 -0
- package/dist/model/SettingsPayouts.js +115 -0
- package/dist/model/SettingsTreasury.js +97 -0
- package/dist/model/SetupAttempt.js +280 -0
- package/dist/model/SetupIntent.js +376 -0
- package/dist/model/ShippingDetails.js +133 -0
- package/dist/model/SimulcastInfo.js +96 -0
- package/dist/model/SingleUse.js +104 -0
- package/dist/model/SkinField.js +462 -0
- package/dist/model/SocialGroup.js +273 -0
- package/dist/model/SocialGroupType.js +149 -0
- package/dist/model/Sofort.js +189 -0
- package/dist/model/Sort.js +93 -0
- package/dist/model/SortCode.js +113 -0
- package/dist/model/Spei.js +113 -0
- package/dist/model/StatusTransitions.js +113 -0
- package/dist/model/StatusUpdate.js +147 -0
- package/dist/model/Store.js +95 -0
- package/dist/model/Stores.js +130 -0
- package/dist/model/StreetAddress.js +111 -0
- package/dist/model/StripeAccount.js +111 -0
- package/dist/model/StripeCustomerAccount.js +111 -0
- package/dist/model/StripeError.js +202 -0
- package/dist/model/Subscription.js +556 -0
- package/dist/model/SubscriptionCollection.js +146 -0
- package/dist/model/SubscriptionData.js +104 -0
- package/dist/model/SubscriptionItem.js +195 -0
- package/dist/model/SubscriptionItemCollection.js +146 -0
- package/dist/model/SubscriptionSchedule.js +300 -0
- package/dist/model/Tax.js +115 -0
- package/dist/model/TaxAmount.js +124 -0
- package/dist/model/TaxCode.js +122 -0
- package/dist/model/TaxId.js +189 -0
- package/dist/model/TaxIdCollection.js +146 -0
- package/dist/model/TaxRate.js +214 -0
- package/dist/model/Template.js +131 -0
- package/dist/model/TemplateSchema.js +144 -0
- package/dist/model/TestClock.js +167 -0
- package/dist/model/ThemeMapping.js +124 -0
- package/dist/model/ThemeMappingPayload.js +122 -0
- package/dist/model/ThreeDSecure.js +122 -0
- package/dist/model/ThreeDSecureUsage.js +95 -0
- package/dist/model/ThresholdItemReason.js +104 -0
- package/dist/model/ThresholdReason.js +106 -0
- package/dist/model/Tier.js +131 -0
- package/dist/model/Tip.js +95 -0
- package/dist/model/TosAcceptance.js +122 -0
- package/dist/model/TotalDetails.js +124 -0
- package/dist/model/Transaction.js +84 -0
- package/dist/model/Transfer.js +285 -0
- package/dist/model/TransferData.js +124 -0
- package/dist/model/TransferReversal.js +220 -0
- package/dist/model/TransferReversalCollection.js +146 -0
- package/dist/model/TransformQuantity.js +104 -0
- package/dist/model/TransformUsage.js +104 -0
- package/dist/model/TraversalQuery.js +209 -0
- package/dist/model/TraversalQueryStartobjecttypes.js +179 -0
- package/dist/model/USBankAccount.js +140 -0
- package/dist/model/Upfront.js +126 -0
- package/dist/model/User.js +212 -0
- package/dist/model/UserDataPayload.js +212 -0
- package/dist/model/UserDomain.js +102 -0
- package/dist/model/UserInvite.js +191 -0
- package/dist/model/UserInviteInput.js +120 -0
- package/dist/model/UserSchema.js +212 -0
- package/dist/model/UserTag.js +124 -0
- package/dist/model/Verification.js +113 -0
- package/dist/model/VerificationDocument.js +140 -0
- package/dist/model/VerifyWithMicrodeposits.js +113 -0
- package/dist/model/Video.js +255 -0
- package/dist/model/VideoLiveUrl.js +84 -0
- package/dist/model/VideoSchema.js +284 -0
- package/dist/model/VideoUpload.js +88 -0
- package/dist/model/VideoUploadObject.js +228 -0
- package/dist/model/VisaCheckout.js +124 -0
- package/dist/model/Wallet.js +170 -0
- package/dist/model/Wechat.js +86 -0
- package/dist/model/WechatPay.js +104 -0
- package/dist/model/WechatPayDisplayQrCode.js +122 -0
- package/dist/model/WechatPayRedirectToAndroidApp.js +158 -0
- package/dist/model/WechatPayRedirectToIosApp.js +95 -0
- package/dist/model/Zengin.js +149 -0
- package/dist/model/ZeusPortalCategory.js +185 -0
- package/package.json +46 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
+
|
|
10
|
+
var _Image = _interopRequireDefault(require("../model/Image"));
|
|
11
|
+
|
|
12
|
+
var _ImageUploadObject = _interopRequireDefault(require("../model/ImageUploadObject"));
|
|
13
|
+
|
|
14
|
+
var _MultipartBody = _interopRequireDefault(require("../model/MultipartBody"));
|
|
15
|
+
|
|
16
|
+
var _Profile = _interopRequireDefault(require("../model/Profile"));
|
|
17
|
+
|
|
18
|
+
var _UserDataPayload = _interopRequireDefault(require("../model/UserDataPayload"));
|
|
19
|
+
|
|
20
|
+
var _UserSchema = _interopRequireDefault(require("../model/UserSchema"));
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
|
+
|
|
26
|
+
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, descriptor.key, descriptor); } }
|
|
27
|
+
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Users service.
|
|
32
|
+
* @module api/UsersApi
|
|
33
|
+
* @version 0.1.2
|
|
34
|
+
*/
|
|
35
|
+
var UsersApi = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new UsersApi.
|
|
38
|
+
* @alias module:api/UsersApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function UsersApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, UsersApi);
|
|
45
|
+
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Callback function to receive the result of the createUser operation.
|
|
50
|
+
* @callback module:api/UsersApi~createUserCallback
|
|
51
|
+
* @param {String} error Error message, if any.
|
|
52
|
+
* @param {module:model/UserSchema} data The data returned by the service call.
|
|
53
|
+
* @param {String} response The complete HTTP response.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Create a new User
|
|
58
|
+
* Creates a new user and returns it's data
|
|
59
|
+
* @param {module:model/UserDataPayload} userDataPayload User data to create
|
|
60
|
+
* @param {Object} opts Optional parameters
|
|
61
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
62
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
63
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
64
|
+
* @param {module:api/UsersApi~createUserCallback} callback The callback function, accepting three arguments: error, data, response
|
|
65
|
+
* data is of type: {@link module:model/UserSchema}
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
_createClass(UsersApi, [{
|
|
70
|
+
key: "createUser",
|
|
71
|
+
value: function createUser(userDataPayload, opts, callback) {
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
var postBody = userDataPayload; // verify the required parameter 'userDataPayload' is set
|
|
74
|
+
|
|
75
|
+
if (userDataPayload === undefined || userDataPayload === null) {
|
|
76
|
+
throw new Error("Missing the required parameter 'userDataPayload' when calling createUser");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var pathParams = {};
|
|
80
|
+
var queryParams = {};
|
|
81
|
+
var headerParams = {
|
|
82
|
+
'Authorization': opts['authorization'],
|
|
83
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
84
|
+
'transactionid': opts['transactionid']
|
|
85
|
+
};
|
|
86
|
+
var formParams = {};
|
|
87
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
88
|
+
var contentTypes = [];
|
|
89
|
+
var accepts = ['*/*'];
|
|
90
|
+
var returnType = _UserSchema["default"];
|
|
91
|
+
return this.apiClient.callApi('/graph/data/user', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Callback function to receive the result of the get33 operation.
|
|
95
|
+
* @callback module:api/UsersApi~get33Callback
|
|
96
|
+
* @param {String} error Error message, if any.
|
|
97
|
+
* @param data This operation does not return a value.
|
|
98
|
+
* @param {String} response The complete HTTP response.
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Root for the API
|
|
103
|
+
* @param {Object} opts Optional parameters
|
|
104
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
105
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
106
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
107
|
+
* @param {module:api/UsersApi~get33Callback} callback The callback function, accepting three arguments: error, data, response
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
}, {
|
|
111
|
+
key: "get33",
|
|
112
|
+
value: function get33(opts, callback) {
|
|
113
|
+
opts = opts || {};
|
|
114
|
+
var postBody = null;
|
|
115
|
+
var pathParams = {};
|
|
116
|
+
var queryParams = {};
|
|
117
|
+
var headerParams = {
|
|
118
|
+
'Authorization': opts['authorization'],
|
|
119
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
120
|
+
'transactionid': opts['transactionid']
|
|
121
|
+
};
|
|
122
|
+
var formParams = {};
|
|
123
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
124
|
+
var contentTypes = [];
|
|
125
|
+
var accepts = ['*/*'];
|
|
126
|
+
var returnType = null;
|
|
127
|
+
return this.apiClient.callApi('/graph/data/user', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Callback function to receive the result of the getProfileByType operation.
|
|
131
|
+
* @callback module:api/UsersApi~getProfileByTypeCallback
|
|
132
|
+
* @param {String} error Error message, if any.
|
|
133
|
+
* @param {module:model/Profile} data The data returned by the service call.
|
|
134
|
+
* @param {String} response The complete HTTP response.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Returns the profile of the given type for the specified user if the profile exists
|
|
139
|
+
* Returns the profile of the given type for the specified user if the profile exists
|
|
140
|
+
* @param {Number} id
|
|
141
|
+
* @param {String} type
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
144
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
145
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
146
|
+
* @param {module:api/UsersApi~getProfileByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
147
|
+
* data is of type: {@link module:model/Profile}
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
}, {
|
|
151
|
+
key: "getProfileByType",
|
|
152
|
+
value: function getProfileByType(id, type, opts, callback) {
|
|
153
|
+
opts = opts || {};
|
|
154
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
155
|
+
|
|
156
|
+
if (id === undefined || id === null) {
|
|
157
|
+
throw new Error("Missing the required parameter 'id' when calling getProfileByType");
|
|
158
|
+
} // verify the required parameter 'type' is set
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
if (type === undefined || type === null) {
|
|
162
|
+
throw new Error("Missing the required parameter 'type' when calling getProfileByType");
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
var pathParams = {
|
|
166
|
+
'id': id,
|
|
167
|
+
'type': type
|
|
168
|
+
};
|
|
169
|
+
var queryParams = {};
|
|
170
|
+
var headerParams = {
|
|
171
|
+
'Authorization': opts['authorization'],
|
|
172
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
173
|
+
'transactionid': opts['transactionid']
|
|
174
|
+
};
|
|
175
|
+
var formParams = {};
|
|
176
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
177
|
+
var contentTypes = [];
|
|
178
|
+
var accepts = ['*/*'];
|
|
179
|
+
var returnType = _Profile["default"];
|
|
180
|
+
return this.apiClient.callApi('/graph/data/user/{id}/profile/{type}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Callback function to receive the result of the getProfiles operation.
|
|
184
|
+
* @callback module:api/UsersApi~getProfilesCallback
|
|
185
|
+
* @param {String} error Error message, if any.
|
|
186
|
+
* @param {Array.<module:model/Profile>} data The data returned by the service call.
|
|
187
|
+
* @param {String} response The complete HTTP response.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Get a list of profiles attached to the user's account
|
|
192
|
+
* Get a list of profiles attached to the user's account
|
|
193
|
+
* @param {Number} id
|
|
194
|
+
* @param {Object} opts Optional parameters
|
|
195
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
196
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
197
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
198
|
+
* @param {module:api/UsersApi~getProfilesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
199
|
+
* data is of type: {@link Array.<module:model/Profile>}
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
}, {
|
|
203
|
+
key: "getProfiles",
|
|
204
|
+
value: function getProfiles(id, opts, callback) {
|
|
205
|
+
opts = opts || {};
|
|
206
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
207
|
+
|
|
208
|
+
if (id === undefined || id === null) {
|
|
209
|
+
throw new Error("Missing the required parameter 'id' when calling getProfiles");
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
var pathParams = {
|
|
213
|
+
'id': id
|
|
214
|
+
};
|
|
215
|
+
var queryParams = {};
|
|
216
|
+
var headerParams = {
|
|
217
|
+
'Authorization': opts['authorization'],
|
|
218
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
219
|
+
'transactionid': opts['transactionid']
|
|
220
|
+
};
|
|
221
|
+
var formParams = {};
|
|
222
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
223
|
+
var contentTypes = [];
|
|
224
|
+
var accepts = ['application/json'];
|
|
225
|
+
var returnType = [_Profile["default"]];
|
|
226
|
+
return this.apiClient.callApi('/graph/data/user/{id}/profiles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Callback function to receive the result of the getSelf operation.
|
|
230
|
+
* @callback module:api/UsersApi~getSelfCallback
|
|
231
|
+
* @param {String} error Error message, if any.
|
|
232
|
+
* @param {module:model/UserSchema} data The data returned by the service call.
|
|
233
|
+
* @param {String} response The complete HTTP response.
|
|
234
|
+
*/
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Returns the logged in user
|
|
238
|
+
* Returns the current logged in user
|
|
239
|
+
* @param {Object} opts Optional parameters
|
|
240
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
241
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
242
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
243
|
+
* @param {module:api/UsersApi~getSelfCallback} callback The callback function, accepting three arguments: error, data, response
|
|
244
|
+
* data is of type: {@link module:model/UserSchema}
|
|
245
|
+
*/
|
|
246
|
+
|
|
247
|
+
}, {
|
|
248
|
+
key: "getSelf",
|
|
249
|
+
value: function getSelf(opts, callback) {
|
|
250
|
+
opts = opts || {};
|
|
251
|
+
var postBody = null;
|
|
252
|
+
var pathParams = {};
|
|
253
|
+
var queryParams = {};
|
|
254
|
+
var headerParams = {
|
|
255
|
+
'Authorization': opts['authorization'],
|
|
256
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
257
|
+
'transactionid': opts['transactionid']
|
|
258
|
+
};
|
|
259
|
+
var formParams = {};
|
|
260
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
261
|
+
var contentTypes = [];
|
|
262
|
+
var accepts = ['*/*'];
|
|
263
|
+
var returnType = _UserSchema["default"];
|
|
264
|
+
return this.apiClient.callApi('/graph/data/user/self', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Callback function to receive the result of the getUserById operation.
|
|
268
|
+
* @callback module:api/UsersApi~getUserByIdCallback
|
|
269
|
+
* @param {String} error Error message, if any.
|
|
270
|
+
* @param {module:model/UserSchema} data The data returned by the service call.
|
|
271
|
+
* @param {String} response The complete HTTP response.
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Get User By Id
|
|
276
|
+
* Get a user object by the integer id
|
|
277
|
+
* @param {Number} id
|
|
278
|
+
* @param {Object} opts Optional parameters
|
|
279
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
280
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
281
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
282
|
+
* @param {module:api/UsersApi~getUserByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
283
|
+
* data is of type: {@link module:model/UserSchema}
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
}, {
|
|
287
|
+
key: "getUserById",
|
|
288
|
+
value: function getUserById(id, opts, callback) {
|
|
289
|
+
opts = opts || {};
|
|
290
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
291
|
+
|
|
292
|
+
if (id === undefined || id === null) {
|
|
293
|
+
throw new Error("Missing the required parameter 'id' when calling getUserById");
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
var pathParams = {
|
|
297
|
+
'id': id
|
|
298
|
+
};
|
|
299
|
+
var queryParams = {};
|
|
300
|
+
var headerParams = {
|
|
301
|
+
'Authorization': opts['authorization'],
|
|
302
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
303
|
+
'transactionid': opts['transactionid']
|
|
304
|
+
};
|
|
305
|
+
var formParams = {};
|
|
306
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
307
|
+
var contentTypes = [];
|
|
308
|
+
var accepts = ['application/json'];
|
|
309
|
+
var returnType = _UserSchema["default"];
|
|
310
|
+
return this.apiClient.callApi('/graph/data/user/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Callback function to receive the result of the getUserByUserName operation.
|
|
314
|
+
* @callback module:api/UsersApi~getUserByUserNameCallback
|
|
315
|
+
* @param {String} error Error message, if any.
|
|
316
|
+
* @param {module:model/UserSchema} data The data returned by the service call.
|
|
317
|
+
* @param {String} response The complete HTTP response.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Get User By Username
|
|
322
|
+
* Get a user by their username
|
|
323
|
+
* @param {String} username
|
|
324
|
+
* @param {Object} opts Optional parameters
|
|
325
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
326
|
+
* @param {Number} opts.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} opts.transactionid The id of the transaction this operation is being run in
|
|
328
|
+
* @param {module:api/UsersApi~getUserByUserNameCallback} callback The callback function, accepting three arguments: error, data, response
|
|
329
|
+
* data is of type: {@link module:model/UserSchema}
|
|
330
|
+
*/
|
|
331
|
+
|
|
332
|
+
}, {
|
|
333
|
+
key: "getUserByUserName",
|
|
334
|
+
value: function getUserByUserName(username, opts, callback) {
|
|
335
|
+
opts = opts || {};
|
|
336
|
+
var postBody = null; // verify the required parameter 'username' is set
|
|
337
|
+
|
|
338
|
+
if (username === undefined || username === null) {
|
|
339
|
+
throw new Error("Missing the required parameter 'username' when calling getUserByUserName");
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
var pathParams = {
|
|
343
|
+
'username': username
|
|
344
|
+
};
|
|
345
|
+
var queryParams = {};
|
|
346
|
+
var headerParams = {
|
|
347
|
+
'Authorization': opts['authorization'],
|
|
348
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
349
|
+
'transactionid': opts['transactionid']
|
|
350
|
+
};
|
|
351
|
+
var formParams = {};
|
|
352
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
353
|
+
var contentTypes = [];
|
|
354
|
+
var accepts = ['application/json'];
|
|
355
|
+
var returnType = _UserSchema["default"];
|
|
356
|
+
return this.apiClient.callApi('/graph/data/user/{username}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Callback function to receive the result of the setUserProfilePicture operation.
|
|
360
|
+
* @callback module:api/UsersApi~setUserProfilePictureCallback
|
|
361
|
+
* @param {String} error Error message, if any.
|
|
362
|
+
* @param {module:model/Image} data The data returned by the service call.
|
|
363
|
+
* @param {String} response The complete HTTP response.
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Set user profile picture
|
|
368
|
+
* Create new company page(s)
|
|
369
|
+
* @param {Number} id
|
|
370
|
+
* @param {Object} opts Optional parameters
|
|
371
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
372
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
373
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
374
|
+
* @param {module:model/ImageUploadObject} opts.object
|
|
375
|
+
* @param {module:model/MultipartBody} opts.body
|
|
376
|
+
* @param {module:api/UsersApi~setUserProfilePictureCallback} callback The callback function, accepting three arguments: error, data, response
|
|
377
|
+
* data is of type: {@link module:model/Image}
|
|
378
|
+
*/
|
|
379
|
+
|
|
380
|
+
}, {
|
|
381
|
+
key: "setUserProfilePicture",
|
|
382
|
+
value: function setUserProfilePicture(id, opts, callback) {
|
|
383
|
+
opts = opts || {};
|
|
384
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
385
|
+
|
|
386
|
+
if (id === undefined || id === null) {
|
|
387
|
+
throw new Error("Missing the required parameter 'id' when calling setUserProfilePicture");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
var pathParams = {
|
|
391
|
+
'id': id
|
|
392
|
+
};
|
|
393
|
+
var queryParams = {};
|
|
394
|
+
var headerParams = {
|
|
395
|
+
'Authorization': opts['authorization'],
|
|
396
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
397
|
+
'transactionid': opts['transactionid']
|
|
398
|
+
};
|
|
399
|
+
var formParams = {
|
|
400
|
+
'object': opts['object'],
|
|
401
|
+
'body': opts['body']
|
|
402
|
+
};
|
|
403
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
404
|
+
var contentTypes = ['multipart/form-data'];
|
|
405
|
+
var accepts = ['application/json'];
|
|
406
|
+
var returnType = _Image["default"];
|
|
407
|
+
return this.apiClient.callApi('/graph/data/user/{id}/profilepicture', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Callback function to receive the result of the updateUser operation.
|
|
411
|
+
* @callback module:api/UsersApi~updateUserCallback
|
|
412
|
+
* @param {String} error Error message, if any.
|
|
413
|
+
* @param {module:model/UserSchema} data The data returned by the service call.
|
|
414
|
+
* @param {String} response The complete HTTP response.
|
|
415
|
+
*/
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Update User Info
|
|
419
|
+
* Updates the user info and returns it's data
|
|
420
|
+
* @param {Number} id
|
|
421
|
+
* @param {module:model/UserDataPayload} userDataPayload User data to update
|
|
422
|
+
* @param {Object} opts Optional parameters
|
|
423
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
424
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
425
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
426
|
+
* @param {module:api/UsersApi~updateUserCallback} callback The callback function, accepting three arguments: error, data, response
|
|
427
|
+
* data is of type: {@link module:model/UserSchema}
|
|
428
|
+
*/
|
|
429
|
+
|
|
430
|
+
}, {
|
|
431
|
+
key: "updateUser",
|
|
432
|
+
value: function updateUser(id, userDataPayload, opts, callback) {
|
|
433
|
+
opts = opts || {};
|
|
434
|
+
var postBody = userDataPayload; // verify the required parameter 'id' is set
|
|
435
|
+
|
|
436
|
+
if (id === undefined || id === null) {
|
|
437
|
+
throw new Error("Missing the required parameter 'id' when calling updateUser");
|
|
438
|
+
} // verify the required parameter 'userDataPayload' is set
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
if (userDataPayload === undefined || userDataPayload === null) {
|
|
442
|
+
throw new Error("Missing the required parameter 'userDataPayload' when calling updateUser");
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
var pathParams = {
|
|
446
|
+
'id': id
|
|
447
|
+
};
|
|
448
|
+
var queryParams = {};
|
|
449
|
+
var headerParams = {
|
|
450
|
+
'Authorization': opts['authorization'],
|
|
451
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
452
|
+
'transactionid': opts['transactionid']
|
|
453
|
+
};
|
|
454
|
+
var formParams = {};
|
|
455
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
456
|
+
var contentTypes = [];
|
|
457
|
+
var accepts = ['*/*'];
|
|
458
|
+
var returnType = _UserSchema["default"];
|
|
459
|
+
return this.apiClient.callApi('/graph/data/user/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
460
|
+
}
|
|
461
|
+
}]);
|
|
462
|
+
|
|
463
|
+
return UsersApi;
|
|
464
|
+
}();
|
|
465
|
+
|
|
466
|
+
exports["default"] = UsersApi;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
|
|
12
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13
|
+
|
|
14
|
+
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, descriptor.key, descriptor); } }
|
|
15
|
+
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Utils service.
|
|
20
|
+
* @module api/UtilsApi
|
|
21
|
+
* @version 0.1.2
|
|
22
|
+
*/
|
|
23
|
+
var UtilsApi = /*#__PURE__*/function () {
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new UtilsApi.
|
|
26
|
+
* @alias module:api/UtilsApi
|
|
27
|
+
* @class
|
|
28
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
29
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
30
|
+
*/
|
|
31
|
+
function UtilsApi(apiClient) {
|
|
32
|
+
_classCallCheck(this, UtilsApi);
|
|
33
|
+
|
|
34
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Callback function to receive the result of the encodeAuth operation.
|
|
38
|
+
* @callback module:api/UtilsApi~encodeAuthCallback
|
|
39
|
+
* @param {String} error Error message, if any.
|
|
40
|
+
* @param {String} data The data returned by the service call.
|
|
41
|
+
* @param {String} response The complete HTTP response.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @param {String} body The string to encode
|
|
46
|
+
* @param {module:api/UtilsApi~encodeAuthCallback} callback The callback function, accepting three arguments: error, data, response
|
|
47
|
+
* data is of type: {@link String}
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
_createClass(UtilsApi, [{
|
|
52
|
+
key: "encodeAuth",
|
|
53
|
+
value: function encodeAuth(body, callback) {
|
|
54
|
+
var postBody = body; // verify the required parameter 'body' is set
|
|
55
|
+
|
|
56
|
+
if (body === undefined || body === null) {
|
|
57
|
+
throw new Error("Missing the required parameter 'body' when calling encodeAuth");
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
var pathParams = {};
|
|
61
|
+
var queryParams = {};
|
|
62
|
+
var headerParams = {};
|
|
63
|
+
var formParams = {};
|
|
64
|
+
var authNames = [];
|
|
65
|
+
var contentTypes = ['text/plain'];
|
|
66
|
+
var accepts = ['text/plain'];
|
|
67
|
+
var returnType = 'String';
|
|
68
|
+
return this.apiClient.callApi('/graph/data/utils/encodeauth', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
69
|
+
}
|
|
70
|
+
}]);
|
|
71
|
+
|
|
72
|
+
return UtilsApi;
|
|
73
|
+
}();
|
|
74
|
+
|
|
75
|
+
exports["default"] = UtilsApi;
|