@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,885 @@
|
|
|
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 _Form = _interopRequireDefault(require("../model/Form"));
|
|
11
|
+
|
|
12
|
+
var _FormSection = _interopRequireDefault(require("../model/FormSection"));
|
|
13
|
+
|
|
14
|
+
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
15
|
+
|
|
16
|
+
var _InlineObject = _interopRequireDefault(require("../model/InlineObject4"));
|
|
17
|
+
|
|
18
|
+
var _SkinField = _interopRequireDefault(require("../model/SkinField"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
+
|
|
24
|
+
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); } }
|
|
25
|
+
|
|
26
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Forms service.
|
|
30
|
+
* @module api/FormsApi
|
|
31
|
+
* @version 0.1.2
|
|
32
|
+
*/
|
|
33
|
+
var FormsApi = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new FormsApi.
|
|
36
|
+
* @alias module:api/FormsApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
|
+
function FormsApi(apiClient) {
|
|
42
|
+
_classCallCheck(this, FormsApi);
|
|
43
|
+
|
|
44
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Callback function to receive the result of the createChildSection operation.
|
|
48
|
+
* @callback module:api/FormsApi~createChildSectionCallback
|
|
49
|
+
* @param {String} error Error message, if any.
|
|
50
|
+
* @param {module:model/FormSection} data The data returned by the service call.
|
|
51
|
+
* @param {String} response The complete HTTP response.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Create a new Form
|
|
56
|
+
* Creates a new form object
|
|
57
|
+
* @param {Number} sectionid
|
|
58
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
59
|
+
* @param {Object} opts Optional parameters
|
|
60
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
61
|
+
* @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
|
|
62
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
63
|
+
* @param {module:api/FormsApi~createChildSectionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
64
|
+
* data is of type: {@link module:model/FormSection}
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
_createClass(FormsApi, [{
|
|
69
|
+
key: "createChildSection",
|
|
70
|
+
value: function createChildSection(sectionid, formSection, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = formSection; // verify the required parameter 'sectionid' is set
|
|
73
|
+
|
|
74
|
+
if (sectionid === undefined || sectionid === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'sectionid' when calling createChildSection");
|
|
76
|
+
} // verify the required parameter 'formSection' is set
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
if (formSection === undefined || formSection === null) {
|
|
80
|
+
throw new Error("Missing the required parameter 'formSection' when calling createChildSection");
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
var pathParams = {
|
|
84
|
+
'sectionid': sectionid
|
|
85
|
+
};
|
|
86
|
+
var queryParams = {};
|
|
87
|
+
var headerParams = {
|
|
88
|
+
'Authorization': opts['authorization'],
|
|
89
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
90
|
+
'transactionid': opts['transactionid']
|
|
91
|
+
};
|
|
92
|
+
var formParams = {};
|
|
93
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
94
|
+
var contentTypes = [];
|
|
95
|
+
var accepts = ['*/*'];
|
|
96
|
+
var returnType = _FormSection["default"];
|
|
97
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{sectionid}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Callback function to receive the result of the createForm operation.
|
|
101
|
+
* @callback module:api/FormsApi~createFormCallback
|
|
102
|
+
* @param {String} error Error message, if any.
|
|
103
|
+
* @param {module:model/Form} data The data returned by the service call.
|
|
104
|
+
* @param {String} response The complete HTTP response.
|
|
105
|
+
*/
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Create a new Form
|
|
109
|
+
* Creates a new form object
|
|
110
|
+
* @param {Array.<module:model/Form>} form GraphObject object or array of objects to create
|
|
111
|
+
* @param {Object} opts Optional parameters
|
|
112
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
113
|
+
* @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
|
|
114
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
115
|
+
* @param {module:api/FormsApi~createFormCallback} callback The callback function, accepting three arguments: error, data, response
|
|
116
|
+
* data is of type: {@link module:model/Form}
|
|
117
|
+
*/
|
|
118
|
+
|
|
119
|
+
}, {
|
|
120
|
+
key: "createForm",
|
|
121
|
+
value: function createForm(form, opts, callback) {
|
|
122
|
+
opts = opts || {};
|
|
123
|
+
var postBody = form; // verify the required parameter 'form' is set
|
|
124
|
+
|
|
125
|
+
if (form === undefined || form === null) {
|
|
126
|
+
throw new Error("Missing the required parameter 'form' when calling createForm");
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
var pathParams = {};
|
|
130
|
+
var queryParams = {};
|
|
131
|
+
var headerParams = {
|
|
132
|
+
'Authorization': opts['authorization'],
|
|
133
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
134
|
+
'transactionid': opts['transactionid']
|
|
135
|
+
};
|
|
136
|
+
var formParams = {};
|
|
137
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
138
|
+
var contentTypes = [];
|
|
139
|
+
var accepts = ['*/*'];
|
|
140
|
+
var returnType = _Form["default"];
|
|
141
|
+
return this.apiClient.callApi('/graph/data/forms', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Callback function to receive the result of the createForm2 operation.
|
|
145
|
+
* @callback module:api/FormsApi~createForm2Callback
|
|
146
|
+
* @param {String} error Error message, if any.
|
|
147
|
+
* @param {module:model/Form} data The data returned by the service call.
|
|
148
|
+
* @param {String} response The complete HTTP response.
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Update a form object
|
|
153
|
+
* Updates the form data
|
|
154
|
+
* @param {Number} formid
|
|
155
|
+
* @param {module:model/Form} form The form object data to update
|
|
156
|
+
* @param {Object} opts Optional parameters
|
|
157
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
158
|
+
* @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
|
|
159
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
160
|
+
* @param {module:api/FormsApi~createForm2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
161
|
+
* data is of type: {@link module:model/Form}
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
}, {
|
|
165
|
+
key: "createForm2",
|
|
166
|
+
value: function createForm2(formid, form, opts, callback) {
|
|
167
|
+
opts = opts || {};
|
|
168
|
+
var postBody = form; // verify the required parameter 'formid' is set
|
|
169
|
+
|
|
170
|
+
if (formid === undefined || formid === null) {
|
|
171
|
+
throw new Error("Missing the required parameter 'formid' when calling createForm2");
|
|
172
|
+
} // verify the required parameter 'form' is set
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
if (form === undefined || form === null) {
|
|
176
|
+
throw new Error("Missing the required parameter 'form' when calling createForm2");
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
var pathParams = {
|
|
180
|
+
'formid': formid
|
|
181
|
+
};
|
|
182
|
+
var queryParams = {};
|
|
183
|
+
var headerParams = {
|
|
184
|
+
'Authorization': opts['authorization'],
|
|
185
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
186
|
+
'transactionid': opts['transactionid']
|
|
187
|
+
};
|
|
188
|
+
var formParams = {};
|
|
189
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
190
|
+
var contentTypes = ['application/json'];
|
|
191
|
+
var accepts = ['application/json'];
|
|
192
|
+
var returnType = _Form["default"];
|
|
193
|
+
return this.apiClient.callApi('/graph/data/forms/{formid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Callback function to receive the result of the createForm3 operation.
|
|
197
|
+
* @callback module:api/FormsApi~createForm3Callback
|
|
198
|
+
* @param {String} error Error message, if any.
|
|
199
|
+
* @param {module:model/FormSection} data The data returned by the service call.
|
|
200
|
+
* @param {String} response The complete HTTP response.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Update a form object
|
|
205
|
+
* Updates the form data
|
|
206
|
+
* @param {Number} formsectionid
|
|
207
|
+
* @param {module:model/FormSection} formSection The form object data to update
|
|
208
|
+
* @param {Object} opts Optional parameters
|
|
209
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
210
|
+
* @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
|
|
211
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
212
|
+
* @param {module:api/FormsApi~createForm3Callback} callback The callback function, accepting three arguments: error, data, response
|
|
213
|
+
* data is of type: {@link module:model/FormSection}
|
|
214
|
+
*/
|
|
215
|
+
|
|
216
|
+
}, {
|
|
217
|
+
key: "createForm3",
|
|
218
|
+
value: function createForm3(formsectionid, formSection, opts, callback) {
|
|
219
|
+
opts = opts || {};
|
|
220
|
+
var postBody = formSection; // verify the required parameter 'formsectionid' is set
|
|
221
|
+
|
|
222
|
+
if (formsectionid === undefined || formsectionid === null) {
|
|
223
|
+
throw new Error("Missing the required parameter 'formsectionid' when calling createForm3");
|
|
224
|
+
} // verify the required parameter 'formSection' is set
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
if (formSection === undefined || formSection === null) {
|
|
228
|
+
throw new Error("Missing the required parameter 'formSection' when calling createForm3");
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
var pathParams = {
|
|
232
|
+
'formsectionid': formsectionid
|
|
233
|
+
};
|
|
234
|
+
var queryParams = {};
|
|
235
|
+
var headerParams = {
|
|
236
|
+
'Authorization': opts['authorization'],
|
|
237
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
238
|
+
'transactionid': opts['transactionid']
|
|
239
|
+
};
|
|
240
|
+
var formParams = {};
|
|
241
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
242
|
+
var contentTypes = ['application/json'];
|
|
243
|
+
var accepts = ['application/json'];
|
|
244
|
+
var returnType = _FormSection["default"];
|
|
245
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{formsectionid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Callback function to receive the result of the createFormSection operation.
|
|
249
|
+
* @callback module:api/FormsApi~createFormSectionCallback
|
|
250
|
+
* @param {String} error Error message, if any.
|
|
251
|
+
* @param {module:model/FormSection} data The data returned by the service call.
|
|
252
|
+
* @param {String} response The complete HTTP response.
|
|
253
|
+
*/
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Create a new Form
|
|
257
|
+
* Creates a new form object
|
|
258
|
+
* @param {Number} id
|
|
259
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
260
|
+
* @param {Object} opts Optional parameters
|
|
261
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
262
|
+
* @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
|
|
263
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
264
|
+
* @param {module:api/FormsApi~createFormSectionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
265
|
+
* data is of type: {@link module:model/FormSection}
|
|
266
|
+
*/
|
|
267
|
+
|
|
268
|
+
}, {
|
|
269
|
+
key: "createFormSection",
|
|
270
|
+
value: function createFormSection(id, formSection, opts, callback) {
|
|
271
|
+
opts = opts || {};
|
|
272
|
+
var postBody = formSection; // verify the required parameter 'id' is set
|
|
273
|
+
|
|
274
|
+
if (id === undefined || id === null) {
|
|
275
|
+
throw new Error("Missing the required parameter 'id' when calling createFormSection");
|
|
276
|
+
} // verify the required parameter 'formSection' is set
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
if (formSection === undefined || formSection === null) {
|
|
280
|
+
throw new Error("Missing the required parameter 'formSection' when calling createFormSection");
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
var pathParams = {
|
|
284
|
+
'id': id
|
|
285
|
+
};
|
|
286
|
+
var queryParams = {};
|
|
287
|
+
var headerParams = {
|
|
288
|
+
'Authorization': opts['authorization'],
|
|
289
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
290
|
+
'transactionid': opts['transactionid']
|
|
291
|
+
};
|
|
292
|
+
var formParams = {};
|
|
293
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
294
|
+
var contentTypes = [];
|
|
295
|
+
var accepts = ['*/*'];
|
|
296
|
+
var returnType = _FormSection["default"];
|
|
297
|
+
return this.apiClient.callApi('/graph/data/forms/{id}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Callback function to receive the result of the deleteRelationship1 operation.
|
|
301
|
+
* @callback module:api/FormsApi~deleteRelationship1Callback
|
|
302
|
+
* @param {String} error Error message, if any.
|
|
303
|
+
* @param data This operation does not return a value.
|
|
304
|
+
* @param {String} response The complete HTTP response.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Delete Relationship
|
|
309
|
+
* Delete an individual relationship
|
|
310
|
+
* @param {Number} id
|
|
311
|
+
* @param {Object} opts Optional parameters
|
|
312
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
313
|
+
* @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
|
|
314
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
315
|
+
* @param {module:api/FormsApi~deleteRelationship1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
}, {
|
|
319
|
+
key: "deleteRelationship1",
|
|
320
|
+
value: function deleteRelationship1(id, opts, callback) {
|
|
321
|
+
opts = opts || {};
|
|
322
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
323
|
+
|
|
324
|
+
if (id === undefined || id === null) {
|
|
325
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship1");
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
var pathParams = {
|
|
329
|
+
'id': id
|
|
330
|
+
};
|
|
331
|
+
var queryParams = {};
|
|
332
|
+
var headerParams = {
|
|
333
|
+
'Authorization': opts['authorization'],
|
|
334
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
335
|
+
'transactionid': opts['transactionid']
|
|
336
|
+
};
|
|
337
|
+
var formParams = {};
|
|
338
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
339
|
+
var contentTypes = [];
|
|
340
|
+
var accepts = ['*/*'];
|
|
341
|
+
var returnType = null;
|
|
342
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Callback function to receive the result of the get29 operation.
|
|
346
|
+
* @callback module:api/FormsApi~get29Callback
|
|
347
|
+
* @param {String} error Error message, if any.
|
|
348
|
+
* @param data This operation does not return a value.
|
|
349
|
+
* @param {String} response The complete HTTP response.
|
|
350
|
+
*/
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Root for the API
|
|
354
|
+
* @param {Object} opts Optional parameters
|
|
355
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
356
|
+
* @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
|
|
357
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
358
|
+
* @param {module:api/FormsApi~get29Callback} callback The callback function, accepting three arguments: error, data, response
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
}, {
|
|
362
|
+
key: "get29",
|
|
363
|
+
value: function get29(opts, callback) {
|
|
364
|
+
opts = opts || {};
|
|
365
|
+
var postBody = null;
|
|
366
|
+
var pathParams = {};
|
|
367
|
+
var queryParams = {};
|
|
368
|
+
var headerParams = {
|
|
369
|
+
'Authorization': opts['authorization'],
|
|
370
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
371
|
+
'transactionid': opts['transactionid']
|
|
372
|
+
};
|
|
373
|
+
var formParams = {};
|
|
374
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
375
|
+
var contentTypes = [];
|
|
376
|
+
var accepts = ['*/*'];
|
|
377
|
+
var returnType = null;
|
|
378
|
+
return this.apiClient.callApi('/graph/data/forms', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Callback function to receive the result of the get30 operation.
|
|
382
|
+
* @callback module:api/FormsApi~get30Callback
|
|
383
|
+
* @param {String} error Error message, if any.
|
|
384
|
+
* @param data This operation does not return a value.
|
|
385
|
+
* @param {String} response The complete HTTP response.
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Root for the API
|
|
390
|
+
* @param {Object} opts Optional parameters
|
|
391
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
392
|
+
* @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
|
|
393
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
394
|
+
* @param {module:api/FormsApi~get30Callback} callback The callback function, accepting three arguments: error, data, response
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
}, {
|
|
398
|
+
key: "get30",
|
|
399
|
+
value: function get30(opts, callback) {
|
|
400
|
+
opts = opts || {};
|
|
401
|
+
var postBody = null;
|
|
402
|
+
var pathParams = {};
|
|
403
|
+
var queryParams = {};
|
|
404
|
+
var headerParams = {
|
|
405
|
+
'Authorization': opts['authorization'],
|
|
406
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
407
|
+
'transactionid': opts['transactionid']
|
|
408
|
+
};
|
|
409
|
+
var formParams = {};
|
|
410
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
411
|
+
var contentTypes = [];
|
|
412
|
+
var accepts = ['*/*'];
|
|
413
|
+
var returnType = null;
|
|
414
|
+
return this.apiClient.callApi('/graph/data/forms/sections', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Callback function to receive the result of the get31 operation.
|
|
418
|
+
* @callback module:api/FormsApi~get31Callback
|
|
419
|
+
* @param {String} error Error message, if any.
|
|
420
|
+
* @param data This operation does not return a value.
|
|
421
|
+
* @param {String} response The complete HTTP response.
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Root for the API
|
|
426
|
+
* @param {Object} opts Optional parameters
|
|
427
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
428
|
+
* @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
|
|
429
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
430
|
+
* @param {module:api/FormsApi~get31Callback} callback The callback function, accepting three arguments: error, data, response
|
|
431
|
+
*/
|
|
432
|
+
|
|
433
|
+
}, {
|
|
434
|
+
key: "get31",
|
|
435
|
+
value: function get31(opts, callback) {
|
|
436
|
+
opts = opts || {};
|
|
437
|
+
var postBody = null;
|
|
438
|
+
var pathParams = {};
|
|
439
|
+
var queryParams = {};
|
|
440
|
+
var headerParams = {
|
|
441
|
+
'Authorization': opts['authorization'],
|
|
442
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
443
|
+
'transactionid': opts['transactionid']
|
|
444
|
+
};
|
|
445
|
+
var formParams = {};
|
|
446
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
447
|
+
var contentTypes = [];
|
|
448
|
+
var accepts = ['*/*'];
|
|
449
|
+
var returnType = null;
|
|
450
|
+
return this.apiClient.callApi('/graph/data/forms/submissions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Callback function to receive the result of the getFormById operation.
|
|
454
|
+
* @callback module:api/FormsApi~getFormByIdCallback
|
|
455
|
+
* @param {String} error Error message, if any.
|
|
456
|
+
* @param {module:model/Form} data The data returned by the service call.
|
|
457
|
+
* @param {String} response The complete HTTP response.
|
|
458
|
+
*/
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Get Form By Id
|
|
462
|
+
* Returns the form with the given id
|
|
463
|
+
* @param {Number} id
|
|
464
|
+
* @param {Object} opts Optional parameters
|
|
465
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
466
|
+
* @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
|
|
467
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
468
|
+
* @param {module:api/FormsApi~getFormByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
469
|
+
* data is of type: {@link module:model/Form}
|
|
470
|
+
*/
|
|
471
|
+
|
|
472
|
+
}, {
|
|
473
|
+
key: "getFormById",
|
|
474
|
+
value: function getFormById(id, opts, callback) {
|
|
475
|
+
opts = opts || {};
|
|
476
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
477
|
+
|
|
478
|
+
if (id === undefined || id === null) {
|
|
479
|
+
throw new Error("Missing the required parameter 'id' when calling getFormById");
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
var pathParams = {
|
|
483
|
+
'id': id
|
|
484
|
+
};
|
|
485
|
+
var queryParams = {};
|
|
486
|
+
var headerParams = {
|
|
487
|
+
'Authorization': opts['authorization'],
|
|
488
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
489
|
+
'transactionid': opts['transactionid']
|
|
490
|
+
};
|
|
491
|
+
var formParams = {};
|
|
492
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
493
|
+
var contentTypes = [];
|
|
494
|
+
var accepts = ['application/json'];
|
|
495
|
+
var returnType = _Form["default"];
|
|
496
|
+
return this.apiClient.callApi('/graph/data/forms/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Callback function to receive the result of the getFormFields operation.
|
|
500
|
+
* @callback module:api/FormsApi~getFormFieldsCallback
|
|
501
|
+
* @param {String} error Error message, if any.
|
|
502
|
+
* @param {Array.<module:model/SkinField>} data The data returned by the service call.
|
|
503
|
+
* @param {String} response The complete HTTP response.
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @param {Number} id
|
|
508
|
+
* @param {Object} opts Optional parameters
|
|
509
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
510
|
+
* @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
|
|
511
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
512
|
+
* @param {module:api/FormsApi~getFormFieldsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
513
|
+
* data is of type: {@link Array.<module:model/SkinField>}
|
|
514
|
+
*/
|
|
515
|
+
|
|
516
|
+
}, {
|
|
517
|
+
key: "getFormFields",
|
|
518
|
+
value: function getFormFields(id, opts, callback) {
|
|
519
|
+
opts = opts || {};
|
|
520
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
521
|
+
|
|
522
|
+
if (id === undefined || id === null) {
|
|
523
|
+
throw new Error("Missing the required parameter 'id' when calling getFormFields");
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
var pathParams = {
|
|
527
|
+
'id': id
|
|
528
|
+
};
|
|
529
|
+
var queryParams = {};
|
|
530
|
+
var headerParams = {
|
|
531
|
+
'Authorization': opts['authorization'],
|
|
532
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
533
|
+
'transactionid': opts['transactionid']
|
|
534
|
+
};
|
|
535
|
+
var formParams = {};
|
|
536
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
537
|
+
var contentTypes = [];
|
|
538
|
+
var accepts = ['application/json'];
|
|
539
|
+
var returnType = [_SkinField["default"]];
|
|
540
|
+
return this.apiClient.callApi('/graph/data/forms/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Callback function to receive the result of the getFormSectionById operation.
|
|
544
|
+
* @callback module:api/FormsApi~getFormSectionByIdCallback
|
|
545
|
+
* @param {String} error Error message, if any.
|
|
546
|
+
* @param {module:model/FormSection} data The data returned by the service call.
|
|
547
|
+
* @param {String} response The complete HTTP response.
|
|
548
|
+
*/
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Get Form By Id
|
|
552
|
+
* Returns the form with the given id
|
|
553
|
+
* @param {Number} id
|
|
554
|
+
* @param {Object} opts Optional parameters
|
|
555
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
556
|
+
* @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
|
|
557
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
558
|
+
* @param {module:api/FormsApi~getFormSectionByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
559
|
+
* data is of type: {@link module:model/FormSection}
|
|
560
|
+
*/
|
|
561
|
+
|
|
562
|
+
}, {
|
|
563
|
+
key: "getFormSectionById",
|
|
564
|
+
value: function getFormSectionById(id, opts, callback) {
|
|
565
|
+
opts = opts || {};
|
|
566
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
567
|
+
|
|
568
|
+
if (id === undefined || id === null) {
|
|
569
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSectionById");
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
var pathParams = {
|
|
573
|
+
'id': id
|
|
574
|
+
};
|
|
575
|
+
var queryParams = {};
|
|
576
|
+
var headerParams = {
|
|
577
|
+
'Authorization': opts['authorization'],
|
|
578
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
579
|
+
'transactionid': opts['transactionid']
|
|
580
|
+
};
|
|
581
|
+
var formParams = {};
|
|
582
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
583
|
+
var contentTypes = [];
|
|
584
|
+
var accepts = ['application/json'];
|
|
585
|
+
var returnType = _FormSection["default"];
|
|
586
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* Callback function to receive the result of the getFormSectionFields operation.
|
|
590
|
+
* @callback module:api/FormsApi~getFormSectionFieldsCallback
|
|
591
|
+
* @param {String} error Error message, if any.
|
|
592
|
+
* @param {Array.<module:model/SkinField>} data The data returned by the service call.
|
|
593
|
+
* @param {String} response The complete HTTP response.
|
|
594
|
+
*/
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @param {Number} id
|
|
598
|
+
* @param {Object} opts Optional parameters
|
|
599
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
600
|
+
* @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
|
|
601
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
602
|
+
* @param {module:api/FormsApi~getFormSectionFieldsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
603
|
+
* data is of type: {@link Array.<module:model/SkinField>}
|
|
604
|
+
*/
|
|
605
|
+
|
|
606
|
+
}, {
|
|
607
|
+
key: "getFormSectionFields",
|
|
608
|
+
value: function getFormSectionFields(id, opts, callback) {
|
|
609
|
+
opts = opts || {};
|
|
610
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
611
|
+
|
|
612
|
+
if (id === undefined || id === null) {
|
|
613
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSectionFields");
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
var pathParams = {
|
|
617
|
+
'id': id
|
|
618
|
+
};
|
|
619
|
+
var queryParams = {};
|
|
620
|
+
var headerParams = {
|
|
621
|
+
'Authorization': opts['authorization'],
|
|
622
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
623
|
+
'transactionid': opts['transactionid']
|
|
624
|
+
};
|
|
625
|
+
var formParams = {};
|
|
626
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
627
|
+
var contentTypes = [];
|
|
628
|
+
var accepts = ['application/json'];
|
|
629
|
+
var returnType = [_SkinField["default"]];
|
|
630
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Callback function to receive the result of the getFormSubmissionById operation.
|
|
634
|
+
* @callback module:api/FormsApi~getFormSubmissionByIdCallback
|
|
635
|
+
* @param {String} error Error message, if any.
|
|
636
|
+
* @param {module:model/GraphRelationship} data The data returned by the service call.
|
|
637
|
+
* @param {String} response The complete HTTP response.
|
|
638
|
+
*/
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Get Form By Id
|
|
642
|
+
* Returns the form with the given id
|
|
643
|
+
* @param {Number} id
|
|
644
|
+
* @param {Object} opts Optional parameters
|
|
645
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
646
|
+
* @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
|
|
647
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
648
|
+
* @param {module:api/FormsApi~getFormSubmissionByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
649
|
+
* data is of type: {@link module:model/GraphRelationship}
|
|
650
|
+
*/
|
|
651
|
+
|
|
652
|
+
}, {
|
|
653
|
+
key: "getFormSubmissionById",
|
|
654
|
+
value: function getFormSubmissionById(id, opts, callback) {
|
|
655
|
+
opts = opts || {};
|
|
656
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
657
|
+
|
|
658
|
+
if (id === undefined || id === null) {
|
|
659
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSubmissionById");
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
var pathParams = {
|
|
663
|
+
'id': id
|
|
664
|
+
};
|
|
665
|
+
var queryParams = {};
|
|
666
|
+
var headerParams = {
|
|
667
|
+
'Authorization': opts['authorization'],
|
|
668
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
669
|
+
'transactionid': opts['transactionid']
|
|
670
|
+
};
|
|
671
|
+
var formParams = {};
|
|
672
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
673
|
+
var contentTypes = [];
|
|
674
|
+
var accepts = ['application/json'];
|
|
675
|
+
var returnType = _GraphRelationship["default"];
|
|
676
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Callback function to receive the result of the getRelProperties1 operation.
|
|
680
|
+
* @callback module:api/FormsApi~getRelProperties1Callback
|
|
681
|
+
* @param {String} error Error message, if any.
|
|
682
|
+
* @param {Object.<String, module:model/{String: InlineObject4}>} data The data returned by the service call.
|
|
683
|
+
* @param {String} response The complete HTTP response.
|
|
684
|
+
*/
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Get Properties
|
|
688
|
+
* Get all properties attached to a relationship
|
|
689
|
+
* @param {Number} id
|
|
690
|
+
* @param {Object} opts Optional parameters
|
|
691
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
692
|
+
* @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
|
|
693
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
694
|
+
* @param {module:api/FormsApi~getRelProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
695
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineObject4}>}
|
|
696
|
+
*/
|
|
697
|
+
|
|
698
|
+
}, {
|
|
699
|
+
key: "getRelProperties1",
|
|
700
|
+
value: function getRelProperties1(id, opts, callback) {
|
|
701
|
+
opts = opts || {};
|
|
702
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
703
|
+
|
|
704
|
+
if (id === undefined || id === null) {
|
|
705
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperties1");
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
var pathParams = {
|
|
709
|
+
'id': id
|
|
710
|
+
};
|
|
711
|
+
var queryParams = {};
|
|
712
|
+
var headerParams = {
|
|
713
|
+
'Authorization': opts['authorization'],
|
|
714
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
715
|
+
'transactionid': opts['transactionid']
|
|
716
|
+
};
|
|
717
|
+
var formParams = {};
|
|
718
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
719
|
+
var contentTypes = [];
|
|
720
|
+
var accepts = ['application/json'];
|
|
721
|
+
var returnType = {
|
|
722
|
+
'String': _InlineObject["default"]
|
|
723
|
+
};
|
|
724
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* Callback function to receive the result of the getRelProperty1 operation.
|
|
728
|
+
* @callback module:api/FormsApi~getRelProperty1Callback
|
|
729
|
+
* @param {String} error Error message, if any.
|
|
730
|
+
* @param {Object.<String, module:model/{String: InlineObject4}>} data The data returned by the service call.
|
|
731
|
+
* @param {String} response The complete HTTP response.
|
|
732
|
+
*/
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Get Property
|
|
736
|
+
* Get a single property attached to a relationship
|
|
737
|
+
* @param {Number} id
|
|
738
|
+
* @param {String} prop
|
|
739
|
+
* @param {Object} opts Optional parameters
|
|
740
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
741
|
+
* @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
|
|
742
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
743
|
+
* @param {module:api/FormsApi~getRelProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
744
|
+
* data is of type: {@link Object.<String, module:model/{String: InlineObject4}>}
|
|
745
|
+
*/
|
|
746
|
+
|
|
747
|
+
}, {
|
|
748
|
+
key: "getRelProperty1",
|
|
749
|
+
value: function getRelProperty1(id, prop, opts, callback) {
|
|
750
|
+
opts = opts || {};
|
|
751
|
+
var postBody = null; // verify the required parameter 'id' is set
|
|
752
|
+
|
|
753
|
+
if (id === undefined || id === null) {
|
|
754
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperty1");
|
|
755
|
+
} // verify the required parameter 'prop' is set
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
if (prop === undefined || prop === null) {
|
|
759
|
+
throw new Error("Missing the required parameter 'prop' when calling getRelProperty1");
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
var pathParams = {
|
|
763
|
+
'id': id,
|
|
764
|
+
'prop': prop
|
|
765
|
+
};
|
|
766
|
+
var queryParams = {};
|
|
767
|
+
var headerParams = {
|
|
768
|
+
'Authorization': opts['authorization'],
|
|
769
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
770
|
+
'transactionid': opts['transactionid']
|
|
771
|
+
};
|
|
772
|
+
var formParams = {};
|
|
773
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
774
|
+
var contentTypes = [];
|
|
775
|
+
var accepts = ['application/json'];
|
|
776
|
+
var returnType = {
|
|
777
|
+
'String': _InlineObject["default"]
|
|
778
|
+
};
|
|
779
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Callback function to receive the result of the setRelProperties1 operation.
|
|
783
|
+
* @callback module:api/FormsApi~setRelProperties1Callback
|
|
784
|
+
* @param {String} error Error message, if any.
|
|
785
|
+
* @param data This operation does not return a value.
|
|
786
|
+
* @param {String} response The complete HTTP response.
|
|
787
|
+
*/
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Set Multiple Properties
|
|
791
|
+
* Set multiple properties attaced to an object / record
|
|
792
|
+
* @param {Number} id
|
|
793
|
+
* @param {Object} opts Optional parameters
|
|
794
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
795
|
+
* @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
|
|
796
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
797
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody
|
|
798
|
+
* @param {module:api/FormsApi~setRelProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
799
|
+
*/
|
|
800
|
+
|
|
801
|
+
}, {
|
|
802
|
+
key: "setRelProperties1",
|
|
803
|
+
value: function setRelProperties1(id, opts, callback) {
|
|
804
|
+
opts = opts || {};
|
|
805
|
+
var postBody = opts['requestBody']; // verify the required parameter 'id' is set
|
|
806
|
+
|
|
807
|
+
if (id === undefined || id === null) {
|
|
808
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperties1");
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
var pathParams = {
|
|
812
|
+
'id': id
|
|
813
|
+
};
|
|
814
|
+
var queryParams = {};
|
|
815
|
+
var headerParams = {
|
|
816
|
+
'Authorization': opts['authorization'],
|
|
817
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
818
|
+
'transactionid': opts['transactionid']
|
|
819
|
+
};
|
|
820
|
+
var formParams = {};
|
|
821
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
822
|
+
var contentTypes = [];
|
|
823
|
+
var accepts = ['*/*'];
|
|
824
|
+
var returnType = null;
|
|
825
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Callback function to receive the result of the setRelProperty1 operation.
|
|
829
|
+
* @callback module:api/FormsApi~setRelProperty1Callback
|
|
830
|
+
* @param {String} error Error message, if any.
|
|
831
|
+
* @param data This operation does not return a value.
|
|
832
|
+
* @param {String} response The complete HTTP response.
|
|
833
|
+
*/
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Update Property
|
|
837
|
+
* Update a specific property
|
|
838
|
+
* @param {Number} id
|
|
839
|
+
* @param {String} prop
|
|
840
|
+
* @param {Object} opts Optional parameters
|
|
841
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
842
|
+
* @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
|
|
843
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
844
|
+
* @param {String} opts.body
|
|
845
|
+
* @param {module:api/FormsApi~setRelProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
846
|
+
*/
|
|
847
|
+
|
|
848
|
+
}, {
|
|
849
|
+
key: "setRelProperty1",
|
|
850
|
+
value: function setRelProperty1(id, prop, opts, callback) {
|
|
851
|
+
opts = opts || {};
|
|
852
|
+
var postBody = opts['body']; // verify the required parameter 'id' is set
|
|
853
|
+
|
|
854
|
+
if (id === undefined || id === null) {
|
|
855
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperty1");
|
|
856
|
+
} // verify the required parameter 'prop' is set
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
if (prop === undefined || prop === null) {
|
|
860
|
+
throw new Error("Missing the required parameter 'prop' when calling setRelProperty1");
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
var pathParams = {
|
|
864
|
+
'id': id,
|
|
865
|
+
'prop': prop
|
|
866
|
+
};
|
|
867
|
+
var queryParams = {};
|
|
868
|
+
var headerParams = {
|
|
869
|
+
'Authorization': opts['authorization'],
|
|
870
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
871
|
+
'transactionid': opts['transactionid']
|
|
872
|
+
};
|
|
873
|
+
var formParams = {};
|
|
874
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
875
|
+
var contentTypes = [];
|
|
876
|
+
var accepts = ['*/*'];
|
|
877
|
+
var returnType = null;
|
|
878
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
879
|
+
}
|
|
880
|
+
}]);
|
|
881
|
+
|
|
882
|
+
return FormsApi;
|
|
883
|
+
}();
|
|
884
|
+
|
|
885
|
+
exports["default"] = FormsApi;
|