@gobodo/gobodo-api 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -22
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +508 -612
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +98 -114
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +37 -39
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +27 -27
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +70 -50
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +68 -56
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +141 -104
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +126 -81
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +84 -61
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +89 -104
- package/dist/model/File.js +61 -47
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +84 -76
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +97 -69
- package/dist/model/GraphObjectType.js +97 -73
- package/dist/model/GraphObjectTypeSchema.js +116 -73
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +106 -86
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +81 -63
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +73 -45
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +104 -64
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +38 -25
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +110 -70
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +80 -66
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +44 -31
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +89 -104
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +104 -64
- package/dist/model/UserDataPayload.js +104 -64
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +104 -64
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +107 -88
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +125 -101
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
package/dist/api/FormsApi.js
CHANGED
|
@@ -4,33 +4,36 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _Form = _interopRequireDefault(require("../model/Form"));
|
|
11
|
-
|
|
12
9
|
var _FormSection = _interopRequireDefault(require("../model/FormSection"));
|
|
13
|
-
|
|
14
10
|
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
15
|
-
|
|
16
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject4"));
|
|
17
|
-
|
|
11
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
18
12
|
var _SkinField = _interopRequireDefault(require("../model/SkinField"));
|
|
19
|
-
|
|
20
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
14
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
22
15
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
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, _toPropertyKey(descriptor.key), descriptor); } }
|
|
17
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
20
|
+
* Gobodo API
|
|
21
|
+
* REST Interface for Gobodo API
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: 0.1.6
|
|
24
|
+
* Contact: info@gobodo.io
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
28
31
|
/**
|
|
29
32
|
* Forms service.
|
|
30
33
|
* @module api/FormsApi
|
|
31
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.6
|
|
32
35
|
*/
|
|
33
|
-
var FormsApi = /*#__PURE__*/function () {
|
|
36
|
+
var FormsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
37
|
/**
|
|
35
38
|
* Constructs a new FormsApi.
|
|
36
39
|
* @alias module:api/FormsApi
|
|
@@ -40,9 +43,9 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
40
43
|
*/
|
|
41
44
|
function FormsApi(apiClient) {
|
|
42
45
|
_classCallCheck(this, FormsApi);
|
|
43
|
-
|
|
44
46
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
45
47
|
}
|
|
48
|
+
|
|
46
49
|
/**
|
|
47
50
|
* Callback function to receive the result of the createChildSection operation.
|
|
48
51
|
* @callback module:api/FormsApi~createChildSectionCallback
|
|
@@ -57,29 +60,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
57
60
|
* @param {Number} sectionid
|
|
58
61
|
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
59
62
|
* @param {Object} opts Optional parameters
|
|
60
|
-
* @param {String}
|
|
61
|
-
* @param {Number}
|
|
62
|
-
* @param {String}
|
|
63
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
64
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
65
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
63
66
|
* @param {module:api/FormsApi~createChildSectionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
64
67
|
* data is of type: {@link module:model/FormSection}
|
|
65
68
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
69
|
_createClass(FormsApi, [{
|
|
69
70
|
key: "createChildSection",
|
|
70
71
|
value: function createChildSection(sectionid, formSection, opts, callback) {
|
|
71
72
|
opts = opts || {};
|
|
72
|
-
var postBody = formSection;
|
|
73
|
-
|
|
73
|
+
var postBody = formSection;
|
|
74
|
+
// verify the required parameter 'sectionid' is set
|
|
74
75
|
if (sectionid === undefined || sectionid === null) {
|
|
75
76
|
throw new Error("Missing the required parameter 'sectionid' when calling createChildSection");
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
}
|
|
78
|
+
// verify the required parameter 'formSection' is set
|
|
79
79
|
if (formSection === undefined || formSection === null) {
|
|
80
80
|
throw new Error("Missing the required parameter 'formSection' when calling createChildSection");
|
|
81
81
|
}
|
|
82
|
-
|
|
83
82
|
var pathParams = {
|
|
84
83
|
'sectionid': sectionid
|
|
85
84
|
};
|
|
@@ -96,6 +95,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
96
95
|
var returnType = _FormSection["default"];
|
|
97
96
|
return this.apiClient.callApi('/graph/data/forms/sections/{sectionid}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
98
97
|
}
|
|
98
|
+
|
|
99
99
|
/**
|
|
100
100
|
* Callback function to receive the result of the createForm operation.
|
|
101
101
|
* @callback module:api/FormsApi~createFormCallback
|
|
@@ -109,23 +109,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
109
109
|
* Creates a new form object
|
|
110
110
|
* @param {Array.<module:model/Form>} form GraphObject object or array of objects to create
|
|
111
111
|
* @param {Object} opts Optional parameters
|
|
112
|
-
* @param {String}
|
|
113
|
-
* @param {Number}
|
|
114
|
-
* @param {String}
|
|
112
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
113
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
114
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
115
115
|
* @param {module:api/FormsApi~createFormCallback} callback The callback function, accepting three arguments: error, data, response
|
|
116
116
|
* data is of type: {@link module:model/Form}
|
|
117
117
|
*/
|
|
118
|
-
|
|
119
118
|
}, {
|
|
120
119
|
key: "createForm",
|
|
121
120
|
value: function createForm(form, opts, callback) {
|
|
122
121
|
opts = opts || {};
|
|
123
|
-
var postBody = form;
|
|
124
|
-
|
|
122
|
+
var postBody = form;
|
|
123
|
+
// verify the required parameter 'form' is set
|
|
125
124
|
if (form === undefined || form === null) {
|
|
126
125
|
throw new Error("Missing the required parameter 'form' when calling createForm");
|
|
127
126
|
}
|
|
128
|
-
|
|
129
127
|
var pathParams = {};
|
|
130
128
|
var queryParams = {};
|
|
131
129
|
var headerParams = {
|
|
@@ -140,6 +138,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
140
138
|
var returnType = _Form["default"];
|
|
141
139
|
return this.apiClient.callApi('/graph/data/forms', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
142
140
|
}
|
|
141
|
+
|
|
143
142
|
/**
|
|
144
143
|
* Callback function to receive the result of the createForm2 operation.
|
|
145
144
|
* @callback module:api/FormsApi~createForm2Callback
|
|
@@ -154,28 +153,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
154
153
|
* @param {Number} formid
|
|
155
154
|
* @param {module:model/Form} form The form object data to update
|
|
156
155
|
* @param {Object} opts Optional parameters
|
|
157
|
-
* @param {String}
|
|
158
|
-
* @param {Number}
|
|
159
|
-
* @param {String}
|
|
156
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
157
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
158
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
160
159
|
* @param {module:api/FormsApi~createForm2Callback} callback The callback function, accepting three arguments: error, data, response
|
|
161
160
|
* data is of type: {@link module:model/Form}
|
|
162
161
|
*/
|
|
163
|
-
|
|
164
162
|
}, {
|
|
165
163
|
key: "createForm2",
|
|
166
164
|
value: function createForm2(formid, form, opts, callback) {
|
|
167
165
|
opts = opts || {};
|
|
168
|
-
var postBody = form;
|
|
169
|
-
|
|
166
|
+
var postBody = form;
|
|
167
|
+
// verify the required parameter 'formid' is set
|
|
170
168
|
if (formid === undefined || formid === null) {
|
|
171
169
|
throw new Error("Missing the required parameter 'formid' when calling createForm2");
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
}
|
|
171
|
+
// verify the required parameter 'form' is set
|
|
175
172
|
if (form === undefined || form === null) {
|
|
176
173
|
throw new Error("Missing the required parameter 'form' when calling createForm2");
|
|
177
174
|
}
|
|
178
|
-
|
|
179
175
|
var pathParams = {
|
|
180
176
|
'formid': formid
|
|
181
177
|
};
|
|
@@ -192,6 +188,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
192
188
|
var returnType = _Form["default"];
|
|
193
189
|
return this.apiClient.callApi('/graph/data/forms/{formid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
194
190
|
}
|
|
191
|
+
|
|
195
192
|
/**
|
|
196
193
|
* Callback function to receive the result of the createForm3 operation.
|
|
197
194
|
* @callback module:api/FormsApi~createForm3Callback
|
|
@@ -206,28 +203,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
206
203
|
* @param {Number} formsectionid
|
|
207
204
|
* @param {module:model/FormSection} formSection The form object data to update
|
|
208
205
|
* @param {Object} opts Optional parameters
|
|
209
|
-
* @param {String}
|
|
210
|
-
* @param {Number}
|
|
211
|
-
* @param {String}
|
|
206
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
207
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
208
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
212
209
|
* @param {module:api/FormsApi~createForm3Callback} callback The callback function, accepting three arguments: error, data, response
|
|
213
210
|
* data is of type: {@link module:model/FormSection}
|
|
214
211
|
*/
|
|
215
|
-
|
|
216
212
|
}, {
|
|
217
213
|
key: "createForm3",
|
|
218
214
|
value: function createForm3(formsectionid, formSection, opts, callback) {
|
|
219
215
|
opts = opts || {};
|
|
220
|
-
var postBody = formSection;
|
|
221
|
-
|
|
216
|
+
var postBody = formSection;
|
|
217
|
+
// verify the required parameter 'formsectionid' is set
|
|
222
218
|
if (formsectionid === undefined || formsectionid === null) {
|
|
223
219
|
throw new Error("Missing the required parameter 'formsectionid' when calling createForm3");
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
|
|
220
|
+
}
|
|
221
|
+
// verify the required parameter 'formSection' is set
|
|
227
222
|
if (formSection === undefined || formSection === null) {
|
|
228
223
|
throw new Error("Missing the required parameter 'formSection' when calling createForm3");
|
|
229
224
|
}
|
|
230
|
-
|
|
231
225
|
var pathParams = {
|
|
232
226
|
'formsectionid': formsectionid
|
|
233
227
|
};
|
|
@@ -244,6 +238,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
244
238
|
var returnType = _FormSection["default"];
|
|
245
239
|
return this.apiClient.callApi('/graph/data/forms/sections/{formsectionid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
246
240
|
}
|
|
241
|
+
|
|
247
242
|
/**
|
|
248
243
|
* Callback function to receive the result of the createFormSection operation.
|
|
249
244
|
* @callback module:api/FormsApi~createFormSectionCallback
|
|
@@ -258,28 +253,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
258
253
|
* @param {Number} id
|
|
259
254
|
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
260
255
|
* @param {Object} opts Optional parameters
|
|
261
|
-
* @param {String}
|
|
262
|
-
* @param {Number}
|
|
263
|
-
* @param {String}
|
|
256
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
257
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
258
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
264
259
|
* @param {module:api/FormsApi~createFormSectionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
265
260
|
* data is of type: {@link module:model/FormSection}
|
|
266
261
|
*/
|
|
267
|
-
|
|
268
262
|
}, {
|
|
269
263
|
key: "createFormSection",
|
|
270
264
|
value: function createFormSection(id, formSection, opts, callback) {
|
|
271
265
|
opts = opts || {};
|
|
272
|
-
var postBody = formSection;
|
|
273
|
-
|
|
266
|
+
var postBody = formSection;
|
|
267
|
+
// verify the required parameter 'id' is set
|
|
274
268
|
if (id === undefined || id === null) {
|
|
275
269
|
throw new Error("Missing the required parameter 'id' when calling createFormSection");
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
270
|
+
}
|
|
271
|
+
// verify the required parameter 'formSection' is set
|
|
279
272
|
if (formSection === undefined || formSection === null) {
|
|
280
273
|
throw new Error("Missing the required parameter 'formSection' when calling createFormSection");
|
|
281
274
|
}
|
|
282
|
-
|
|
283
275
|
var pathParams = {
|
|
284
276
|
'id': id
|
|
285
277
|
};
|
|
@@ -296,6 +288,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
296
288
|
var returnType = _FormSection["default"];
|
|
297
289
|
return this.apiClient.callApi('/graph/data/forms/{id}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
298
290
|
}
|
|
291
|
+
|
|
299
292
|
/**
|
|
300
293
|
* Callback function to receive the result of the deleteRelationship1 operation.
|
|
301
294
|
* @callback module:api/FormsApi~deleteRelationship1Callback
|
|
@@ -309,22 +302,20 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
309
302
|
* Delete an individual relationship
|
|
310
303
|
* @param {Number} id
|
|
311
304
|
* @param {Object} opts Optional parameters
|
|
312
|
-
* @param {String}
|
|
313
|
-
* @param {Number}
|
|
314
|
-
* @param {String}
|
|
305
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
306
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
307
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
315
308
|
* @param {module:api/FormsApi~deleteRelationship1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
316
309
|
*/
|
|
317
|
-
|
|
318
310
|
}, {
|
|
319
311
|
key: "deleteRelationship1",
|
|
320
312
|
value: function deleteRelationship1(id, opts, callback) {
|
|
321
313
|
opts = opts || {};
|
|
322
|
-
var postBody = null;
|
|
323
|
-
|
|
314
|
+
var postBody = null;
|
|
315
|
+
// verify the required parameter 'id' is set
|
|
324
316
|
if (id === undefined || id === null) {
|
|
325
317
|
throw new Error("Missing the required parameter 'id' when calling deleteRelationship1");
|
|
326
318
|
}
|
|
327
|
-
|
|
328
319
|
var pathParams = {
|
|
329
320
|
'id': id
|
|
330
321
|
};
|
|
@@ -341,6 +332,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
341
332
|
var returnType = null;
|
|
342
333
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
343
334
|
}
|
|
335
|
+
|
|
344
336
|
/**
|
|
345
337
|
* Callback function to receive the result of the get29 operation.
|
|
346
338
|
* @callback module:api/FormsApi~get29Callback
|
|
@@ -352,12 +344,11 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
352
344
|
/**
|
|
353
345
|
* Root for the API
|
|
354
346
|
* @param {Object} opts Optional parameters
|
|
355
|
-
* @param {String}
|
|
356
|
-
* @param {Number}
|
|
357
|
-
* @param {String}
|
|
347
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
348
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
349
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
358
350
|
* @param {module:api/FormsApi~get29Callback} callback The callback function, accepting three arguments: error, data, response
|
|
359
351
|
*/
|
|
360
|
-
|
|
361
352
|
}, {
|
|
362
353
|
key: "get29",
|
|
363
354
|
value: function get29(opts, callback) {
|
|
@@ -377,6 +368,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
377
368
|
var returnType = null;
|
|
378
369
|
return this.apiClient.callApi('/graph/data/forms', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
379
370
|
}
|
|
371
|
+
|
|
380
372
|
/**
|
|
381
373
|
* Callback function to receive the result of the get30 operation.
|
|
382
374
|
* @callback module:api/FormsApi~get30Callback
|
|
@@ -388,12 +380,11 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
388
380
|
/**
|
|
389
381
|
* Root for the API
|
|
390
382
|
* @param {Object} opts Optional parameters
|
|
391
|
-
* @param {String}
|
|
392
|
-
* @param {Number}
|
|
393
|
-
* @param {String}
|
|
383
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
384
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
385
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
394
386
|
* @param {module:api/FormsApi~get30Callback} callback The callback function, accepting three arguments: error, data, response
|
|
395
387
|
*/
|
|
396
|
-
|
|
397
388
|
}, {
|
|
398
389
|
key: "get30",
|
|
399
390
|
value: function get30(opts, callback) {
|
|
@@ -413,6 +404,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
413
404
|
var returnType = null;
|
|
414
405
|
return this.apiClient.callApi('/graph/data/forms/sections', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
415
406
|
}
|
|
407
|
+
|
|
416
408
|
/**
|
|
417
409
|
* Callback function to receive the result of the get31 operation.
|
|
418
410
|
* @callback module:api/FormsApi~get31Callback
|
|
@@ -424,12 +416,11 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
424
416
|
/**
|
|
425
417
|
* Root for the API
|
|
426
418
|
* @param {Object} opts Optional parameters
|
|
427
|
-
* @param {String}
|
|
428
|
-
* @param {Number}
|
|
429
|
-
* @param {String}
|
|
419
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
420
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
421
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
430
422
|
* @param {module:api/FormsApi~get31Callback} callback The callback function, accepting three arguments: error, data, response
|
|
431
423
|
*/
|
|
432
|
-
|
|
433
424
|
}, {
|
|
434
425
|
key: "get31",
|
|
435
426
|
value: function get31(opts, callback) {
|
|
@@ -449,6 +440,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
449
440
|
var returnType = null;
|
|
450
441
|
return this.apiClient.callApi('/graph/data/forms/submissions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
451
442
|
}
|
|
443
|
+
|
|
452
444
|
/**
|
|
453
445
|
* Callback function to receive the result of the getFormById operation.
|
|
454
446
|
* @callback module:api/FormsApi~getFormByIdCallback
|
|
@@ -462,23 +454,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
462
454
|
* Returns the form with the given id
|
|
463
455
|
* @param {Number} id
|
|
464
456
|
* @param {Object} opts Optional parameters
|
|
465
|
-
* @param {String}
|
|
466
|
-
* @param {Number}
|
|
467
|
-
* @param {String}
|
|
457
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
458
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
459
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
468
460
|
* @param {module:api/FormsApi~getFormByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
469
461
|
* data is of type: {@link module:model/Form}
|
|
470
462
|
*/
|
|
471
|
-
|
|
472
463
|
}, {
|
|
473
464
|
key: "getFormById",
|
|
474
465
|
value: function getFormById(id, opts, callback) {
|
|
475
466
|
opts = opts || {};
|
|
476
|
-
var postBody = null;
|
|
477
|
-
|
|
467
|
+
var postBody = null;
|
|
468
|
+
// verify the required parameter 'id' is set
|
|
478
469
|
if (id === undefined || id === null) {
|
|
479
470
|
throw new Error("Missing the required parameter 'id' when calling getFormById");
|
|
480
471
|
}
|
|
481
|
-
|
|
482
472
|
var pathParams = {
|
|
483
473
|
'id': id
|
|
484
474
|
};
|
|
@@ -495,6 +485,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
495
485
|
var returnType = _Form["default"];
|
|
496
486
|
return this.apiClient.callApi('/graph/data/forms/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
497
487
|
}
|
|
488
|
+
|
|
498
489
|
/**
|
|
499
490
|
* Callback function to receive the result of the getFormFields operation.
|
|
500
491
|
* @callback module:api/FormsApi~getFormFieldsCallback
|
|
@@ -506,23 +497,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
506
497
|
/**
|
|
507
498
|
* @param {Number} id
|
|
508
499
|
* @param {Object} opts Optional parameters
|
|
509
|
-
* @param {String}
|
|
510
|
-
* @param {Number}
|
|
511
|
-
* @param {String}
|
|
500
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
501
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
502
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
512
503
|
* @param {module:api/FormsApi~getFormFieldsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
513
504
|
* data is of type: {@link Array.<module:model/SkinField>}
|
|
514
505
|
*/
|
|
515
|
-
|
|
516
506
|
}, {
|
|
517
507
|
key: "getFormFields",
|
|
518
508
|
value: function getFormFields(id, opts, callback) {
|
|
519
509
|
opts = opts || {};
|
|
520
|
-
var postBody = null;
|
|
521
|
-
|
|
510
|
+
var postBody = null;
|
|
511
|
+
// verify the required parameter 'id' is set
|
|
522
512
|
if (id === undefined || id === null) {
|
|
523
513
|
throw new Error("Missing the required parameter 'id' when calling getFormFields");
|
|
524
514
|
}
|
|
525
|
-
|
|
526
515
|
var pathParams = {
|
|
527
516
|
'id': id
|
|
528
517
|
};
|
|
@@ -539,6 +528,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
539
528
|
var returnType = [_SkinField["default"]];
|
|
540
529
|
return this.apiClient.callApi('/graph/data/forms/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
541
530
|
}
|
|
531
|
+
|
|
542
532
|
/**
|
|
543
533
|
* Callback function to receive the result of the getFormSectionById operation.
|
|
544
534
|
* @callback module:api/FormsApi~getFormSectionByIdCallback
|
|
@@ -552,23 +542,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
552
542
|
* Returns the form with the given id
|
|
553
543
|
* @param {Number} id
|
|
554
544
|
* @param {Object} opts Optional parameters
|
|
555
|
-
* @param {String}
|
|
556
|
-
* @param {Number}
|
|
557
|
-
* @param {String}
|
|
545
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
546
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
547
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
558
548
|
* @param {module:api/FormsApi~getFormSectionByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
559
549
|
* data is of type: {@link module:model/FormSection}
|
|
560
550
|
*/
|
|
561
|
-
|
|
562
551
|
}, {
|
|
563
552
|
key: "getFormSectionById",
|
|
564
553
|
value: function getFormSectionById(id, opts, callback) {
|
|
565
554
|
opts = opts || {};
|
|
566
|
-
var postBody = null;
|
|
567
|
-
|
|
555
|
+
var postBody = null;
|
|
556
|
+
// verify the required parameter 'id' is set
|
|
568
557
|
if (id === undefined || id === null) {
|
|
569
558
|
throw new Error("Missing the required parameter 'id' when calling getFormSectionById");
|
|
570
559
|
}
|
|
571
|
-
|
|
572
560
|
var pathParams = {
|
|
573
561
|
'id': id
|
|
574
562
|
};
|
|
@@ -585,6 +573,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
585
573
|
var returnType = _FormSection["default"];
|
|
586
574
|
return this.apiClient.callApi('/graph/data/forms/sections/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
587
575
|
}
|
|
576
|
+
|
|
588
577
|
/**
|
|
589
578
|
* Callback function to receive the result of the getFormSectionFields operation.
|
|
590
579
|
* @callback module:api/FormsApi~getFormSectionFieldsCallback
|
|
@@ -596,23 +585,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
596
585
|
/**
|
|
597
586
|
* @param {Number} id
|
|
598
587
|
* @param {Object} opts Optional parameters
|
|
599
|
-
* @param {String}
|
|
600
|
-
* @param {Number}
|
|
601
|
-
* @param {String}
|
|
588
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
589
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
590
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
602
591
|
* @param {module:api/FormsApi~getFormSectionFieldsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
603
592
|
* data is of type: {@link Array.<module:model/SkinField>}
|
|
604
593
|
*/
|
|
605
|
-
|
|
606
594
|
}, {
|
|
607
595
|
key: "getFormSectionFields",
|
|
608
596
|
value: function getFormSectionFields(id, opts, callback) {
|
|
609
597
|
opts = opts || {};
|
|
610
|
-
var postBody = null;
|
|
611
|
-
|
|
598
|
+
var postBody = null;
|
|
599
|
+
// verify the required parameter 'id' is set
|
|
612
600
|
if (id === undefined || id === null) {
|
|
613
601
|
throw new Error("Missing the required parameter 'id' when calling getFormSectionFields");
|
|
614
602
|
}
|
|
615
|
-
|
|
616
603
|
var pathParams = {
|
|
617
604
|
'id': id
|
|
618
605
|
};
|
|
@@ -629,6 +616,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
629
616
|
var returnType = [_SkinField["default"]];
|
|
630
617
|
return this.apiClient.callApi('/graph/data/forms/sections/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
631
618
|
}
|
|
619
|
+
|
|
632
620
|
/**
|
|
633
621
|
* Callback function to receive the result of the getFormSubmissionById operation.
|
|
634
622
|
* @callback module:api/FormsApi~getFormSubmissionByIdCallback
|
|
@@ -642,23 +630,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
642
630
|
* Returns the form with the given id
|
|
643
631
|
* @param {Number} id
|
|
644
632
|
* @param {Object} opts Optional parameters
|
|
645
|
-
* @param {String}
|
|
646
|
-
* @param {Number}
|
|
647
|
-
* @param {String}
|
|
633
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
634
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
635
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
648
636
|
* @param {module:api/FormsApi~getFormSubmissionByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
649
637
|
* data is of type: {@link module:model/GraphRelationship}
|
|
650
638
|
*/
|
|
651
|
-
|
|
652
639
|
}, {
|
|
653
640
|
key: "getFormSubmissionById",
|
|
654
641
|
value: function getFormSubmissionById(id, opts, callback) {
|
|
655
642
|
opts = opts || {};
|
|
656
|
-
var postBody = null;
|
|
657
|
-
|
|
643
|
+
var postBody = null;
|
|
644
|
+
// verify the required parameter 'id' is set
|
|
658
645
|
if (id === undefined || id === null) {
|
|
659
646
|
throw new Error("Missing the required parameter 'id' when calling getFormSubmissionById");
|
|
660
647
|
}
|
|
661
|
-
|
|
662
648
|
var pathParams = {
|
|
663
649
|
'id': id
|
|
664
650
|
};
|
|
@@ -675,11 +661,12 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
675
661
|
var returnType = _GraphRelationship["default"];
|
|
676
662
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
677
663
|
}
|
|
664
|
+
|
|
678
665
|
/**
|
|
679
666
|
* Callback function to receive the result of the getRelProperties1 operation.
|
|
680
667
|
* @callback module:api/FormsApi~getRelProperties1Callback
|
|
681
668
|
* @param {String} error Error message, if any.
|
|
682
|
-
* @param {Object.<String, module:model/{String:
|
|
669
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
683
670
|
* @param {String} response The complete HTTP response.
|
|
684
671
|
*/
|
|
685
672
|
|
|
@@ -688,23 +675,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
688
675
|
* Get all properties attached to a relationship
|
|
689
676
|
* @param {Number} id
|
|
690
677
|
* @param {Object} opts Optional parameters
|
|
691
|
-
* @param {String}
|
|
692
|
-
* @param {Number}
|
|
693
|
-
* @param {String}
|
|
678
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
679
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
680
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
694
681
|
* @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:
|
|
682
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
696
683
|
*/
|
|
697
|
-
|
|
698
684
|
}, {
|
|
699
685
|
key: "getRelProperties1",
|
|
700
686
|
value: function getRelProperties1(id, opts, callback) {
|
|
701
687
|
opts = opts || {};
|
|
702
|
-
var postBody = null;
|
|
703
|
-
|
|
688
|
+
var postBody = null;
|
|
689
|
+
// verify the required parameter 'id' is set
|
|
704
690
|
if (id === undefined || id === null) {
|
|
705
691
|
throw new Error("Missing the required parameter 'id' when calling getRelProperties1");
|
|
706
692
|
}
|
|
707
|
-
|
|
708
693
|
var pathParams = {
|
|
709
694
|
'id': id
|
|
710
695
|
};
|
|
@@ -719,15 +704,16 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
719
704
|
var contentTypes = [];
|
|
720
705
|
var accepts = ['application/json'];
|
|
721
706
|
var returnType = {
|
|
722
|
-
'String':
|
|
707
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
723
708
|
};
|
|
724
709
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
725
710
|
}
|
|
711
|
+
|
|
726
712
|
/**
|
|
727
713
|
* Callback function to receive the result of the getRelProperty1 operation.
|
|
728
714
|
* @callback module:api/FormsApi~getRelProperty1Callback
|
|
729
715
|
* @param {String} error Error message, if any.
|
|
730
|
-
* @param {Object.<String, module:model/{String:
|
|
716
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
731
717
|
* @param {String} response The complete HTTP response.
|
|
732
718
|
*/
|
|
733
719
|
|
|
@@ -737,28 +723,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
737
723
|
* @param {Number} id
|
|
738
724
|
* @param {String} prop
|
|
739
725
|
* @param {Object} opts Optional parameters
|
|
740
|
-
* @param {String}
|
|
741
|
-
* @param {Number}
|
|
742
|
-
* @param {String}
|
|
726
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
727
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
728
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
743
729
|
* @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:
|
|
730
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
745
731
|
*/
|
|
746
|
-
|
|
747
732
|
}, {
|
|
748
733
|
key: "getRelProperty1",
|
|
749
734
|
value: function getRelProperty1(id, prop, opts, callback) {
|
|
750
735
|
opts = opts || {};
|
|
751
|
-
var postBody = null;
|
|
752
|
-
|
|
736
|
+
var postBody = null;
|
|
737
|
+
// verify the required parameter 'id' is set
|
|
753
738
|
if (id === undefined || id === null) {
|
|
754
739
|
throw new Error("Missing the required parameter 'id' when calling getRelProperty1");
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
|
|
740
|
+
}
|
|
741
|
+
// verify the required parameter 'prop' is set
|
|
758
742
|
if (prop === undefined || prop === null) {
|
|
759
743
|
throw new Error("Missing the required parameter 'prop' when calling getRelProperty1");
|
|
760
744
|
}
|
|
761
|
-
|
|
762
745
|
var pathParams = {
|
|
763
746
|
'id': id,
|
|
764
747
|
'prop': prop
|
|
@@ -774,10 +757,11 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
774
757
|
var contentTypes = [];
|
|
775
758
|
var accepts = ['application/json'];
|
|
776
759
|
var returnType = {
|
|
777
|
-
'String':
|
|
760
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
778
761
|
};
|
|
779
762
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
780
763
|
}
|
|
764
|
+
|
|
781
765
|
/**
|
|
782
766
|
* Callback function to receive the result of the setRelProperties1 operation.
|
|
783
767
|
* @callback module:api/FormsApi~setRelProperties1Callback
|
|
@@ -791,23 +775,21 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
791
775
|
* Set multiple properties attaced to an object / record
|
|
792
776
|
* @param {Number} id
|
|
793
777
|
* @param {Object} opts Optional parameters
|
|
794
|
-
* @param {String}
|
|
795
|
-
* @param {Number}
|
|
796
|
-
* @param {String}
|
|
797
|
-
* @param {Object.<String, {String:
|
|
778
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
779
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
780
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
781
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
798
782
|
* @param {module:api/FormsApi~setRelProperties1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
799
783
|
*/
|
|
800
|
-
|
|
801
784
|
}, {
|
|
802
785
|
key: "setRelProperties1",
|
|
803
786
|
value: function setRelProperties1(id, opts, callback) {
|
|
804
787
|
opts = opts || {};
|
|
805
|
-
var postBody = opts['requestBody'];
|
|
806
|
-
|
|
788
|
+
var postBody = opts['requestBody'];
|
|
789
|
+
// verify the required parameter 'id' is set
|
|
807
790
|
if (id === undefined || id === null) {
|
|
808
791
|
throw new Error("Missing the required parameter 'id' when calling setRelProperties1");
|
|
809
792
|
}
|
|
810
|
-
|
|
811
793
|
var pathParams = {
|
|
812
794
|
'id': id
|
|
813
795
|
};
|
|
@@ -824,6 +806,7 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
824
806
|
var returnType = null;
|
|
825
807
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
826
808
|
}
|
|
809
|
+
|
|
827
810
|
/**
|
|
828
811
|
* Callback function to receive the result of the setRelProperty1 operation.
|
|
829
812
|
* @callback module:api/FormsApi~setRelProperty1Callback
|
|
@@ -838,28 +821,25 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
838
821
|
* @param {Number} id
|
|
839
822
|
* @param {String} prop
|
|
840
823
|
* @param {Object} opts Optional parameters
|
|
841
|
-
* @param {String}
|
|
842
|
-
* @param {Number}
|
|
843
|
-
* @param {String}
|
|
844
|
-
* @param {String}
|
|
824
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
825
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
826
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
827
|
+
* @param {String} [body]
|
|
845
828
|
* @param {module:api/FormsApi~setRelProperty1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
846
829
|
*/
|
|
847
|
-
|
|
848
830
|
}, {
|
|
849
831
|
key: "setRelProperty1",
|
|
850
832
|
value: function setRelProperty1(id, prop, opts, callback) {
|
|
851
833
|
opts = opts || {};
|
|
852
|
-
var postBody = opts['body'];
|
|
853
|
-
|
|
834
|
+
var postBody = opts['body'];
|
|
835
|
+
// verify the required parameter 'id' is set
|
|
854
836
|
if (id === undefined || id === null) {
|
|
855
837
|
throw new Error("Missing the required parameter 'id' when calling setRelProperty1");
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
|
|
838
|
+
}
|
|
839
|
+
// verify the required parameter 'prop' is set
|
|
859
840
|
if (prop === undefined || prop === null) {
|
|
860
841
|
throw new Error("Missing the required parameter 'prop' when calling setRelProperty1");
|
|
861
842
|
}
|
|
862
|
-
|
|
863
843
|
var pathParams = {
|
|
864
844
|
'id': id,
|
|
865
845
|
'prop': prop
|
|
@@ -878,8 +858,5 @@ var FormsApi = /*#__PURE__*/function () {
|
|
|
878
858
|
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
879
859
|
}
|
|
880
860
|
}]);
|
|
881
|
-
|
|
882
861
|
return FormsApi;
|
|
883
|
-
}();
|
|
884
|
-
|
|
885
|
-
exports["default"] = FormsApi;
|
|
862
|
+
}();
|