@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,183 @@
|
|
|
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 _ScreenSchema = _interopRequireDefault(require("../model/ScreenSchema"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
|
|
16
|
+
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); } }
|
|
17
|
+
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Templates service.
|
|
22
|
+
* @module api/TemplatesApi
|
|
23
|
+
* @version 0.1.2
|
|
24
|
+
*/
|
|
25
|
+
var TemplatesApi = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new TemplatesApi.
|
|
28
|
+
* @alias module:api/TemplatesApi
|
|
29
|
+
* @class
|
|
30
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
31
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
32
|
+
*/
|
|
33
|
+
function TemplatesApi(apiClient) {
|
|
34
|
+
_classCallCheck(this, TemplatesApi);
|
|
35
|
+
|
|
36
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Callback function to receive the result of the createScreen operation.
|
|
40
|
+
* @callback module:api/TemplatesApi~createScreenCallback
|
|
41
|
+
* @param {String} error Error message, if any.
|
|
42
|
+
* @param {module:model/ScreenSchema} data The data returned by the service call.
|
|
43
|
+
* @param {String} response The complete HTTP response.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Create a new screen
|
|
48
|
+
* @param {Array.<module:model/ScreenSchema>} screenSchema Screen or array of screens to create
|
|
49
|
+
* @param {Object} opts Optional parameters
|
|
50
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
51
|
+
* @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
|
|
52
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
53
|
+
* @param {module:api/TemplatesApi~createScreenCallback} callback The callback function, accepting three arguments: error, data, response
|
|
54
|
+
* data is of type: {@link module:model/ScreenSchema}
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
_createClass(TemplatesApi, [{
|
|
59
|
+
key: "createScreen",
|
|
60
|
+
value: function createScreen(screenSchema, opts, callback) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
var postBody = screenSchema; // verify the required parameter 'screenSchema' is set
|
|
63
|
+
|
|
64
|
+
if (screenSchema === undefined || screenSchema === null) {
|
|
65
|
+
throw new Error("Missing the required parameter 'screenSchema' when calling createScreen");
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
var pathParams = {};
|
|
69
|
+
var queryParams = {};
|
|
70
|
+
var headerParams = {
|
|
71
|
+
'Authorization': opts['authorization'],
|
|
72
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
73
|
+
'transactionid': opts['transactionid']
|
|
74
|
+
};
|
|
75
|
+
var formParams = {};
|
|
76
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
77
|
+
var contentTypes = ['application/json'];
|
|
78
|
+
var accepts = ['application/json'];
|
|
79
|
+
var returnType = _ScreenSchema["default"];
|
|
80
|
+
return this.apiClient.callApi('/graph/data/templates', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Callback function to receive the result of the editScreen operation.
|
|
84
|
+
* @callback module:api/TemplatesApi~editScreenCallback
|
|
85
|
+
* @param {String} error Error message, if any.
|
|
86
|
+
* @param {module:model/ScreenSchema} data The data returned by the service call.
|
|
87
|
+
* @param {String} response The complete HTTP response.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Edits a screen
|
|
92
|
+
* @param {Number} screenId
|
|
93
|
+
* @param {Array.<module:model/ScreenSchema>} screenSchema Screen or array of screens to create
|
|
94
|
+
* @param {Object} opts Optional parameters
|
|
95
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
96
|
+
* @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
|
|
97
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
98
|
+
* @param {module:api/TemplatesApi~editScreenCallback} callback The callback function, accepting three arguments: error, data, response
|
|
99
|
+
* data is of type: {@link module:model/ScreenSchema}
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
}, {
|
|
103
|
+
key: "editScreen",
|
|
104
|
+
value: function editScreen(screenId, screenSchema, opts, callback) {
|
|
105
|
+
opts = opts || {};
|
|
106
|
+
var postBody = screenSchema; // verify the required parameter 'screenId' is set
|
|
107
|
+
|
|
108
|
+
if (screenId === undefined || screenId === null) {
|
|
109
|
+
throw new Error("Missing the required parameter 'screenId' when calling editScreen");
|
|
110
|
+
} // verify the required parameter 'screenSchema' is set
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
if (screenSchema === undefined || screenSchema === null) {
|
|
114
|
+
throw new Error("Missing the required parameter 'screenSchema' when calling editScreen");
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
var pathParams = {
|
|
118
|
+
'screenId': screenId
|
|
119
|
+
};
|
|
120
|
+
var queryParams = {};
|
|
121
|
+
var headerParams = {
|
|
122
|
+
'Authorization': opts['authorization'],
|
|
123
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
124
|
+
'transactionid': opts['transactionid']
|
|
125
|
+
};
|
|
126
|
+
var formParams = {};
|
|
127
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
128
|
+
var contentTypes = ['application/json'];
|
|
129
|
+
var accepts = ['application/json'];
|
|
130
|
+
var returnType = _ScreenSchema["default"];
|
|
131
|
+
return this.apiClient.callApi('/graph/data/templates/{screenid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Callback function to receive the result of the getScreenById operation.
|
|
135
|
+
* @callback module:api/TemplatesApi~getScreenByIdCallback
|
|
136
|
+
* @param {String} error Error message, if any.
|
|
137
|
+
* @param {module:model/ScreenSchema} data The data returned by the service call.
|
|
138
|
+
* @param {String} response The complete HTTP response.
|
|
139
|
+
*/
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Returns the Screen with the given ID
|
|
143
|
+
* @param {Number} screenId
|
|
144
|
+
* @param {Object} opts Optional parameters
|
|
145
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
146
|
+
* @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
|
|
147
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
148
|
+
* @param {module:api/TemplatesApi~getScreenByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
149
|
+
* data is of type: {@link module:model/ScreenSchema}
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
}, {
|
|
153
|
+
key: "getScreenById",
|
|
154
|
+
value: function getScreenById(screenId, opts, callback) {
|
|
155
|
+
opts = opts || {};
|
|
156
|
+
var postBody = null; // verify the required parameter 'screenId' is set
|
|
157
|
+
|
|
158
|
+
if (screenId === undefined || screenId === null) {
|
|
159
|
+
throw new Error("Missing the required parameter 'screenId' when calling getScreenById");
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
var pathParams = {
|
|
163
|
+
'screenId': screenId
|
|
164
|
+
};
|
|
165
|
+
var queryParams = {};
|
|
166
|
+
var headerParams = {
|
|
167
|
+
'Authorization': opts['authorization'],
|
|
168
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
169
|
+
'transactionid': opts['transactionid']
|
|
170
|
+
};
|
|
171
|
+
var formParams = {};
|
|
172
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
173
|
+
var contentTypes = [];
|
|
174
|
+
var accepts = ['application/json'];
|
|
175
|
+
var returnType = _ScreenSchema["default"];
|
|
176
|
+
return this.apiClient.callApi('/graph/data/templates/{screenId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
177
|
+
}
|
|
178
|
+
}]);
|
|
179
|
+
|
|
180
|
+
return TemplatesApi;
|
|
181
|
+
}();
|
|
182
|
+
|
|
183
|
+
exports["default"] = TemplatesApi;
|
|
@@ -0,0 +1,178 @@
|
|
|
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 _ThemeMapping = _interopRequireDefault(require("../model/ThemeMapping"));
|
|
11
|
+
|
|
12
|
+
var _ThemeMappingPayload = _interopRequireDefault(require("../model/ThemeMappingPayload"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
+
|
|
18
|
+
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); } }
|
|
19
|
+
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* ThemeMappings service.
|
|
24
|
+
* @module api/ThemeMappingsApi
|
|
25
|
+
* @version 0.1.2
|
|
26
|
+
*/
|
|
27
|
+
var ThemeMappingsApi = /*#__PURE__*/function () {
|
|
28
|
+
/**
|
|
29
|
+
* Constructs a new ThemeMappingsApi.
|
|
30
|
+
* @alias module:api/ThemeMappingsApi
|
|
31
|
+
* @class
|
|
32
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
33
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
34
|
+
*/
|
|
35
|
+
function ThemeMappingsApi(apiClient) {
|
|
36
|
+
_classCallCheck(this, ThemeMappingsApi);
|
|
37
|
+
|
|
38
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Callback function to receive the result of the addUrlPatterns operation.
|
|
42
|
+
* @callback module:api/ThemeMappingsApi~addUrlPatternsCallback
|
|
43
|
+
* @param {String} error Error message, if any.
|
|
44
|
+
* @param data This operation does not return a value.
|
|
45
|
+
* @param {String} response The complete HTTP response.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @param {Number} themeid
|
|
50
|
+
* @param {Object} opts Optional parameters
|
|
51
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
52
|
+
* @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
|
|
53
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
54
|
+
* @param {Array.<String>} opts.requestBody
|
|
55
|
+
* @param {module:api/ThemeMappingsApi~addUrlPatternsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
_createClass(ThemeMappingsApi, [{
|
|
60
|
+
key: "addUrlPatterns",
|
|
61
|
+
value: function addUrlPatterns(themeid, opts, callback) {
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
var postBody = opts['requestBody']; // verify the required parameter 'themeid' is set
|
|
64
|
+
|
|
65
|
+
if (themeid === undefined || themeid === null) {
|
|
66
|
+
throw new Error("Missing the required parameter 'themeid' when calling addUrlPatterns");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var pathParams = {
|
|
70
|
+
'themeid': themeid
|
|
71
|
+
};
|
|
72
|
+
var queryParams = {};
|
|
73
|
+
var headerParams = {
|
|
74
|
+
'Authorization': opts['authorization'],
|
|
75
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
76
|
+
'transactionid': opts['transactionid']
|
|
77
|
+
};
|
|
78
|
+
var formParams = {};
|
|
79
|
+
var authNames = ['NexusGraphAPIAuth'];
|
|
80
|
+
var contentTypes = [];
|
|
81
|
+
var accepts = ['application/json'];
|
|
82
|
+
var returnType = null;
|
|
83
|
+
return this.apiClient.callApi('/graph/data/themes/{themeid}/urlpatterns', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Callback function to receive the result of the createTheme operation.
|
|
87
|
+
* @callback module:api/ThemeMappingsApi~createThemeCallback
|
|
88
|
+
* @param {String} error Error message, if any.
|
|
89
|
+
* @param {module:model/ThemeMapping} data The data returned by the service call.
|
|
90
|
+
* @param {String} response The complete HTTP response.
|
|
91
|
+
*/
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Create a Theme Mapping
|
|
95
|
+
* Create a new theme mapping
|
|
96
|
+
* @param {module:model/ThemeMappingPayload} themeMappingPayload Conversation object or array of objects to create
|
|
97
|
+
* @param {Object} opts Optional parameters
|
|
98
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
99
|
+
* @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
|
|
100
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
101
|
+
* @param {module:api/ThemeMappingsApi~createThemeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
102
|
+
* data is of type: {@link module:model/ThemeMapping}
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
}, {
|
|
106
|
+
key: "createTheme",
|
|
107
|
+
value: function createTheme(themeMappingPayload, opts, callback) {
|
|
108
|
+
opts = opts || {};
|
|
109
|
+
var postBody = themeMappingPayload; // verify the required parameter 'themeMappingPayload' is set
|
|
110
|
+
|
|
111
|
+
if (themeMappingPayload === undefined || themeMappingPayload === null) {
|
|
112
|
+
throw new Error("Missing the required parameter 'themeMappingPayload' when calling createTheme");
|
|
113
|
+
}
|
|
114
|
+
|
|
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'];
|
|
124
|
+
var contentTypes = ['application/json'];
|
|
125
|
+
var accepts = ['application/json'];
|
|
126
|
+
var returnType = _ThemeMapping["default"];
|
|
127
|
+
return this.apiClient.callApi('/graph/data/themes', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Callback function to receive the result of the get45 operation.
|
|
131
|
+
* @callback module:api/ThemeMappingsApi~get45Callback
|
|
132
|
+
* @param {String} error Error message, if any.
|
|
133
|
+
* @param {module:model/ThemeMapping} data The data returned by the service call.
|
|
134
|
+
* @param {String} response The complete HTTP response.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @param {Number} themeid
|
|
139
|
+
* @param {Object} opts Optional parameters
|
|
140
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
141
|
+
* @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
|
|
142
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
143
|
+
* @param {module:api/ThemeMappingsApi~get45Callback} callback The callback function, accepting three arguments: error, data, response
|
|
144
|
+
* data is of type: {@link module:model/ThemeMapping}
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
}, {
|
|
148
|
+
key: "get45",
|
|
149
|
+
value: function get45(themeid, opts, callback) {
|
|
150
|
+
opts = opts || {};
|
|
151
|
+
var postBody = null; // verify the required parameter 'themeid' is set
|
|
152
|
+
|
|
153
|
+
if (themeid === undefined || themeid === null) {
|
|
154
|
+
throw new Error("Missing the required parameter 'themeid' when calling get45");
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
var pathParams = {
|
|
158
|
+
'themeid': themeid
|
|
159
|
+
};
|
|
160
|
+
var queryParams = {};
|
|
161
|
+
var headerParams = {
|
|
162
|
+
'Authorization': opts['authorization'],
|
|
163
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
164
|
+
'transactionid': opts['transactionid']
|
|
165
|
+
};
|
|
166
|
+
var formParams = {};
|
|
167
|
+
var authNames = ['NexusGraphAPIAuth'];
|
|
168
|
+
var contentTypes = [];
|
|
169
|
+
var accepts = ['application/json'];
|
|
170
|
+
var returnType = _ThemeMapping["default"];
|
|
171
|
+
return this.apiClient.callApi('/graph/data/themes/{themeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
172
|
+
}
|
|
173
|
+
}]);
|
|
174
|
+
|
|
175
|
+
return ThemeMappingsApi;
|
|
176
|
+
}();
|
|
177
|
+
|
|
178
|
+
exports["default"] = ThemeMappingsApi;
|
|
@@ -0,0 +1,147 @@
|
|
|
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 _Transaction = _interopRequireDefault(require("../model/Transaction"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
|
|
16
|
+
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); } }
|
|
17
|
+
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Transactions service.
|
|
22
|
+
* @module api/TransactionsApi
|
|
23
|
+
* @version 0.1.2
|
|
24
|
+
*/
|
|
25
|
+
var TransactionsApi = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new TransactionsApi.
|
|
28
|
+
* @alias module:api/TransactionsApi
|
|
29
|
+
* @class
|
|
30
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
31
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
32
|
+
*/
|
|
33
|
+
function TransactionsApi(apiClient) {
|
|
34
|
+
_classCallCheck(this, TransactionsApi);
|
|
35
|
+
|
|
36
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Callback function to receive the result of the beginTx operation.
|
|
40
|
+
* @callback module:api/TransactionsApi~beginTxCallback
|
|
41
|
+
* @param {String} error Error message, if any.
|
|
42
|
+
* @param {module:model/Transaction} data The data returned by the service call.
|
|
43
|
+
* @param {String} response The complete HTTP response.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Start a new transaction
|
|
48
|
+
* Create a transaction
|
|
49
|
+
* @param {module:api/TransactionsApi~beginTxCallback} callback The callback function, accepting three arguments: error, data, response
|
|
50
|
+
* data is of type: {@link module:model/Transaction}
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
_createClass(TransactionsApi, [{
|
|
55
|
+
key: "beginTx",
|
|
56
|
+
value: function beginTx(callback) {
|
|
57
|
+
var postBody = null;
|
|
58
|
+
var pathParams = {};
|
|
59
|
+
var queryParams = {};
|
|
60
|
+
var headerParams = {};
|
|
61
|
+
var formParams = {};
|
|
62
|
+
var authNames = [];
|
|
63
|
+
var contentTypes = [];
|
|
64
|
+
var accepts = ['application/json'];
|
|
65
|
+
var returnType = _Transaction["default"];
|
|
66
|
+
return this.apiClient.callApi('/graph/data/transaction', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Callback function to receive the result of the commit operation.
|
|
70
|
+
* @callback module:api/TransactionsApi~commitCallback
|
|
71
|
+
* @param {String} error Error message, if any.
|
|
72
|
+
* @param {String} data The data returned by the service call.
|
|
73
|
+
* @param {String} response The complete HTTP response.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Commits a transaction
|
|
78
|
+
* Commits a transaction and marks it as successful
|
|
79
|
+
* @param {String} id
|
|
80
|
+
* @param {module:api/TransactionsApi~commitCallback} callback The callback function, accepting three arguments: error, data, response
|
|
81
|
+
* data is of type: {@link String}
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
}, {
|
|
85
|
+
key: "commit",
|
|
86
|
+
value: function commit(id, callback) {
|
|
87
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
88
|
+
|
|
89
|
+
if (id === undefined || id === null) {
|
|
90
|
+
throw new Error("Missing the required parameter 'id' when calling commit");
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
var pathParams = {
|
|
94
|
+
'id': id
|
|
95
|
+
};
|
|
96
|
+
var queryParams = {};
|
|
97
|
+
var headerParams = {};
|
|
98
|
+
var formParams = {};
|
|
99
|
+
var authNames = [];
|
|
100
|
+
var contentTypes = [];
|
|
101
|
+
var accepts = ['application/json'];
|
|
102
|
+
var returnType = 'String';
|
|
103
|
+
return this.apiClient.callApi('/graph/data/transaction/{id}/commit', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Callback function to receive the result of the failTx operation.
|
|
107
|
+
* @callback module:api/TransactionsApi~failTxCallback
|
|
108
|
+
* @param {String} error Error message, if any.
|
|
109
|
+
* @param {String} data The data returned by the service call.
|
|
110
|
+
* @param {String} response The complete HTTP response.
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Marks a transaction for failure
|
|
115
|
+
* Marks a transaction for failure
|
|
116
|
+
* @param {String} id
|
|
117
|
+
* @param {module:api/TransactionsApi~failTxCallback} callback The callback function, accepting three arguments: error, data, response
|
|
118
|
+
* data is of type: {@link String}
|
|
119
|
+
*/
|
|
120
|
+
|
|
121
|
+
}, {
|
|
122
|
+
key: "failTx",
|
|
123
|
+
value: function failTx(id, callback) {
|
|
124
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
125
|
+
|
|
126
|
+
if (id === undefined || id === null) {
|
|
127
|
+
throw new Error("Missing the required parameter 'id' when calling failTx");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
var pathParams = {
|
|
131
|
+
'id': id
|
|
132
|
+
};
|
|
133
|
+
var queryParams = {};
|
|
134
|
+
var headerParams = {};
|
|
135
|
+
var formParams = {};
|
|
136
|
+
var authNames = [];
|
|
137
|
+
var contentTypes = [];
|
|
138
|
+
var accepts = ['application/json'];
|
|
139
|
+
var returnType = 'String';
|
|
140
|
+
return this.apiClient.callApi('/graph/data/transaction/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
141
|
+
}
|
|
142
|
+
}]);
|
|
143
|
+
|
|
144
|
+
return TransactionsApi;
|
|
145
|
+
}();
|
|
146
|
+
|
|
147
|
+
exports["default"] = TransactionsApi;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 _Authorization = _interopRequireDefault(require("../model/Authorization"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
|
|
16
|
+
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); } }
|
|
17
|
+
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Twitter service.
|
|
22
|
+
* @module api/TwitterApi
|
|
23
|
+
* @version 0.1.2
|
|
24
|
+
*/
|
|
25
|
+
var TwitterApi = /*#__PURE__*/function () {
|
|
26
|
+
/**
|
|
27
|
+
* Constructs a new TwitterApi.
|
|
28
|
+
* @alias module:api/TwitterApi
|
|
29
|
+
* @class
|
|
30
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
31
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
32
|
+
*/
|
|
33
|
+
function TwitterApi(apiClient) {
|
|
34
|
+
_classCallCheck(this, TwitterApi);
|
|
35
|
+
|
|
36
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Callback function to receive the result of the loginTwitter operation.
|
|
40
|
+
* @callback module:api/TwitterApi~loginTwitterCallback
|
|
41
|
+
* @param {String} error Error message, if any.
|
|
42
|
+
* @param {module:model/Authorization} data The data returned by the service call.
|
|
43
|
+
* @param {String} response The complete HTTP response.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @param {Object} opts Optional parameters
|
|
48
|
+
* @param {String} opts.apiKey The Api Key of the client accessing the api
|
|
49
|
+
* @param {String} opts.authorization
|
|
50
|
+
* @param {String} opts.createIfNotUser
|
|
51
|
+
* @param {module:api/TwitterApi~loginTwitterCallback} callback The callback function, accepting three arguments: error, data, response
|
|
52
|
+
* data is of type: {@link module:model/Authorization}
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
_createClass(TwitterApi, [{
|
|
57
|
+
key: "loginTwitter",
|
|
58
|
+
value: function loginTwitter(opts, callback) {
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
var postBody = null;
|
|
61
|
+
var pathParams = {};
|
|
62
|
+
var queryParams = {};
|
|
63
|
+
var headerParams = {
|
|
64
|
+
'apiKey': opts['apiKey'],
|
|
65
|
+
'Authorization': opts['authorization'],
|
|
66
|
+
'CreateIfNotUser': opts['createIfNotUser']
|
|
67
|
+
};
|
|
68
|
+
var formParams = {};
|
|
69
|
+
var authNames = ['NexusGraphAPIKey'];
|
|
70
|
+
var contentTypes = [];
|
|
71
|
+
var accepts = ['application/json'];
|
|
72
|
+
var returnType = _Authorization["default"];
|
|
73
|
+
return this.apiClient.callApi('/graph/data/auth_twitter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
74
|
+
}
|
|
75
|
+
}]);
|
|
76
|
+
|
|
77
|
+
return TwitterApi;
|
|
78
|
+
}();
|
|
79
|
+
|
|
80
|
+
exports["default"] = TwitterApi;
|