@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
|
@@ -4,35 +4,37 @@ 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 _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
|
|
11
|
-
|
|
12
9
|
var _DataSheetImportPrivacySettings = _interopRequireDefault(require("../model/DataSheetImportPrivacySettings"));
|
|
13
|
-
|
|
14
10
|
var _DataSheetImportSummary = _interopRequireDefault(require("../model/DataSheetImportSummary"));
|
|
15
|
-
|
|
16
11
|
var _FieldMapping = _interopRequireDefault(require("../model/FieldMapping"));
|
|
17
|
-
|
|
18
12
|
var _InputPart = _interopRequireDefault(require("../model/InputPart"));
|
|
19
|
-
|
|
20
13
|
var _RelationshipMapping = _interopRequireDefault(require("../model/RelationshipMapping"));
|
|
21
|
-
|
|
22
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
15
|
+
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); }
|
|
24
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
function
|
|
29
|
-
|
|
17
|
+
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); } }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
20
|
+
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); } /**
|
|
21
|
+
* Gobodo API
|
|
22
|
+
* REST Interface for Gobodo API
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: 0.1.6
|
|
25
|
+
* Contact: info@gobodo.io
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
30
32
|
/**
|
|
31
33
|
* DataSheetImports service.
|
|
32
34
|
* @module api/DataSheetImportsApi
|
|
33
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.6
|
|
34
36
|
*/
|
|
35
|
-
var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
37
|
+
var DataSheetImportsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
38
|
/**
|
|
37
39
|
* Constructs a new DataSheetImportsApi.
|
|
38
40
|
* @alias module:api/DataSheetImportsApi
|
|
@@ -42,9 +44,9 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
42
44
|
*/
|
|
43
45
|
function DataSheetImportsApi(apiClient) {
|
|
44
46
|
_classCallCheck(this, DataSheetImportsApi);
|
|
45
|
-
|
|
46
47
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
48
|
}
|
|
49
|
+
|
|
48
50
|
/**
|
|
49
51
|
* Callback function to receive the result of the addDataSheetImportGeocodeMapping operation.
|
|
50
52
|
* @callback module:api/DataSheetImportsApi~addDataSheetImportGeocodeMappingCallback
|
|
@@ -60,33 +62,28 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
60
62
|
* @param {String} sheetprop
|
|
61
63
|
* @param {String} body Field to geolocate on
|
|
62
64
|
* @param {Object} opts Optional parameters
|
|
63
|
-
* @param {String}
|
|
64
|
-
* @param {Number}
|
|
65
|
-
* @param {String}
|
|
65
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
66
|
+
* @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
|
|
67
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
66
68
|
* @param {module:api/DataSheetImportsApi~addDataSheetImportGeocodeMappingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
69
|
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
70
|
_createClass(DataSheetImportsApi, [{
|
|
71
71
|
key: "addDataSheetImportGeocodeMapping",
|
|
72
72
|
value: function addDataSheetImportGeocodeMapping(dsimportid, sheetprop, body, opts, callback) {
|
|
73
73
|
opts = opts || {};
|
|
74
|
-
var postBody = body;
|
|
75
|
-
|
|
74
|
+
var postBody = body;
|
|
75
|
+
// verify the required parameter 'dsimportid' is set
|
|
76
76
|
if (dsimportid === undefined || dsimportid === null) {
|
|
77
77
|
throw new Error("Missing the required parameter 'dsimportid' when calling addDataSheetImportGeocodeMapping");
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
}
|
|
79
|
+
// verify the required parameter 'sheetprop' is set
|
|
81
80
|
if (sheetprop === undefined || sheetprop === null) {
|
|
82
81
|
throw new Error("Missing the required parameter 'sheetprop' when calling addDataSheetImportGeocodeMapping");
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
}
|
|
83
|
+
// verify the required parameter 'body' is set
|
|
86
84
|
if (body === undefined || body === null) {
|
|
87
85
|
throw new Error("Missing the required parameter 'body' when calling addDataSheetImportGeocodeMapping");
|
|
88
86
|
}
|
|
89
|
-
|
|
90
87
|
var pathParams = {
|
|
91
88
|
'dsimportid': dsimportid,
|
|
92
89
|
'sheetprop': sheetprop
|
|
@@ -104,6 +101,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
104
101
|
var returnType = null;
|
|
105
102
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/geolocateon/{sheetprop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
106
103
|
}
|
|
104
|
+
|
|
107
105
|
/**
|
|
108
106
|
* Callback function to receive the result of the addDataSheetImportMapping operation.
|
|
109
107
|
* @callback module:api/DataSheetImportsApi~addDataSheetImportMappingCallback
|
|
@@ -119,32 +117,28 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
119
117
|
* @param {String} sheetprop
|
|
120
118
|
* @param {module:model/FieldMapping} fieldMapping Field to map to
|
|
121
119
|
* @param {Object} opts Optional parameters
|
|
122
|
-
* @param {String}
|
|
123
|
-
* @param {Number}
|
|
124
|
-
* @param {String}
|
|
120
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
121
|
+
* @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
|
|
122
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
125
123
|
* @param {module:api/DataSheetImportsApi~addDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
126
124
|
*/
|
|
127
|
-
|
|
128
125
|
}, {
|
|
129
126
|
key: "addDataSheetImportMapping",
|
|
130
127
|
value: function addDataSheetImportMapping(dsimportid, sheetprop, fieldMapping, opts, callback) {
|
|
131
128
|
opts = opts || {};
|
|
132
|
-
var postBody = fieldMapping;
|
|
133
|
-
|
|
129
|
+
var postBody = fieldMapping;
|
|
130
|
+
// verify the required parameter 'dsimportid' is set
|
|
134
131
|
if (dsimportid === undefined || dsimportid === null) {
|
|
135
132
|
throw new Error("Missing the required parameter 'dsimportid' when calling addDataSheetImportMapping");
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
}
|
|
134
|
+
// verify the required parameter 'sheetprop' is set
|
|
139
135
|
if (sheetprop === undefined || sheetprop === null) {
|
|
140
136
|
throw new Error("Missing the required parameter 'sheetprop' when calling addDataSheetImportMapping");
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
137
|
+
}
|
|
138
|
+
// verify the required parameter 'fieldMapping' is set
|
|
144
139
|
if (fieldMapping === undefined || fieldMapping === null) {
|
|
145
140
|
throw new Error("Missing the required parameter 'fieldMapping' when calling addDataSheetImportMapping");
|
|
146
141
|
}
|
|
147
|
-
|
|
148
142
|
var pathParams = {
|
|
149
143
|
'dsimportid': dsimportid,
|
|
150
144
|
'sheetprop': sheetprop
|
|
@@ -162,6 +156,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
162
156
|
var returnType = null;
|
|
163
157
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
164
158
|
}
|
|
159
|
+
|
|
165
160
|
/**
|
|
166
161
|
* Callback function to receive the result of the addEndObjectLookup operation.
|
|
167
162
|
* @callback module:api/DataSheetImportsApi~addEndObjectLookupCallback
|
|
@@ -176,27 +171,24 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
176
171
|
* @param {Number} dsimportid
|
|
177
172
|
* @param {module:model/RelationshipMapping} relationshipMapping The end relationship lookup
|
|
178
173
|
* @param {Object} opts Optional parameters
|
|
179
|
-
* @param {String}
|
|
180
|
-
* @param {Number}
|
|
181
|
-
* @param {String}
|
|
174
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
175
|
+
* @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
|
|
176
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
182
177
|
* @param {module:api/DataSheetImportsApi~addEndObjectLookupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
183
178
|
*/
|
|
184
|
-
|
|
185
179
|
}, {
|
|
186
180
|
key: "addEndObjectLookup",
|
|
187
181
|
value: function addEndObjectLookup(dsimportid, relationshipMapping, opts, callback) {
|
|
188
182
|
opts = opts || {};
|
|
189
|
-
var postBody = relationshipMapping;
|
|
190
|
-
|
|
183
|
+
var postBody = relationshipMapping;
|
|
184
|
+
// verify the required parameter 'dsimportid' is set
|
|
191
185
|
if (dsimportid === undefined || dsimportid === null) {
|
|
192
186
|
throw new Error("Missing the required parameter 'dsimportid' when calling addEndObjectLookup");
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
187
|
+
}
|
|
188
|
+
// verify the required parameter 'relationshipMapping' is set
|
|
196
189
|
if (relationshipMapping === undefined || relationshipMapping === null) {
|
|
197
190
|
throw new Error("Missing the required parameter 'relationshipMapping' when calling addEndObjectLookup");
|
|
198
191
|
}
|
|
199
|
-
|
|
200
192
|
var pathParams = {
|
|
201
193
|
'dsimportid': dsimportid
|
|
202
194
|
};
|
|
@@ -213,6 +205,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
213
205
|
var returnType = null;
|
|
214
206
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/endobjectlookup', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
215
207
|
}
|
|
208
|
+
|
|
216
209
|
/**
|
|
217
210
|
* Callback function to receive the result of the addStartObjectLookup operation.
|
|
218
211
|
* @callback module:api/DataSheetImportsApi~addStartObjectLookupCallback
|
|
@@ -227,27 +220,24 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
227
220
|
* @param {Number} dsimportid
|
|
228
221
|
* @param {module:model/RelationshipMapping} relationshipMapping The start relationship lookup
|
|
229
222
|
* @param {Object} opts Optional parameters
|
|
230
|
-
* @param {String}
|
|
231
|
-
* @param {Number}
|
|
232
|
-
* @param {String}
|
|
223
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
224
|
+
* @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
|
|
225
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
233
226
|
* @param {module:api/DataSheetImportsApi~addStartObjectLookupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
234
227
|
*/
|
|
235
|
-
|
|
236
228
|
}, {
|
|
237
229
|
key: "addStartObjectLookup",
|
|
238
230
|
value: function addStartObjectLookup(dsimportid, relationshipMapping, opts, callback) {
|
|
239
231
|
opts = opts || {};
|
|
240
|
-
var postBody = relationshipMapping;
|
|
241
|
-
|
|
232
|
+
var postBody = relationshipMapping;
|
|
233
|
+
// verify the required parameter 'dsimportid' is set
|
|
242
234
|
if (dsimportid === undefined || dsimportid === null) {
|
|
243
235
|
throw new Error("Missing the required parameter 'dsimportid' when calling addStartObjectLookup");
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
236
|
+
}
|
|
237
|
+
// verify the required parameter 'relationshipMapping' is set
|
|
247
238
|
if (relationshipMapping === undefined || relationshipMapping === null) {
|
|
248
239
|
throw new Error("Missing the required parameter 'relationshipMapping' when calling addStartObjectLookup");
|
|
249
240
|
}
|
|
250
|
-
|
|
251
241
|
var pathParams = {
|
|
252
242
|
'dsimportid': dsimportid
|
|
253
243
|
};
|
|
@@ -264,6 +254,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
264
254
|
var returnType = null;
|
|
265
255
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/startobjectlookup', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
266
256
|
}
|
|
257
|
+
|
|
267
258
|
/**
|
|
268
259
|
* Callback function to receive the result of the createDataSheetImport operation.
|
|
269
260
|
* @callback module:api/DataSheetImportsApi~createDataSheetImportCallback
|
|
@@ -279,35 +270,33 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
279
270
|
* @param {Number} reltypeid
|
|
280
271
|
* @param {Number} objecttypeid
|
|
281
272
|
* @param {Object} opts Optional parameters
|
|
282
|
-
* @param {String}
|
|
283
|
-
* @param {Number}
|
|
284
|
-
* @param {String}
|
|
285
|
-
* @param {
|
|
286
|
-
* @param {String}
|
|
273
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
274
|
+
* @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
|
|
275
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
276
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
277
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
278
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
279
|
+
* @param {String} [preamble]
|
|
287
280
|
* @param {module:api/DataSheetImportsApi~createDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
|
|
288
281
|
* data is of type: {@link module:model/DataSheetImport}
|
|
289
282
|
*/
|
|
290
|
-
|
|
291
283
|
}, {
|
|
292
284
|
key: "createDataSheetImport",
|
|
293
285
|
value: function createDataSheetImport(containerid, reltypeid, objecttypeid, opts, callback) {
|
|
294
286
|
opts = opts || {};
|
|
295
|
-
var postBody = null;
|
|
296
|
-
|
|
287
|
+
var postBody = null;
|
|
288
|
+
// verify the required parameter 'containerid' is set
|
|
297
289
|
if (containerid === undefined || containerid === null) {
|
|
298
290
|
throw new Error("Missing the required parameter 'containerid' when calling createDataSheetImport");
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
|
|
291
|
+
}
|
|
292
|
+
// verify the required parameter 'reltypeid' is set
|
|
302
293
|
if (reltypeid === undefined || reltypeid === null) {
|
|
303
294
|
throw new Error("Missing the required parameter 'reltypeid' when calling createDataSheetImport");
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
295
|
+
}
|
|
296
|
+
// verify the required parameter 'objecttypeid' is set
|
|
307
297
|
if (objecttypeid === undefined || objecttypeid === null) {
|
|
308
298
|
throw new Error("Missing the required parameter 'objecttypeid' when calling createDataSheetImport");
|
|
309
299
|
}
|
|
310
|
-
|
|
311
300
|
var pathParams = {
|
|
312
301
|
'containerid': containerid,
|
|
313
302
|
'reltypeid': reltypeid,
|
|
@@ -320,6 +309,8 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
320
309
|
'transactionid': opts['transactionid']
|
|
321
310
|
};
|
|
322
311
|
var formParams = {
|
|
312
|
+
'formDataMap': opts['formDataMap'],
|
|
313
|
+
'formData': opts['formData'],
|
|
323
314
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
324
315
|
'preamble': opts['preamble']
|
|
325
316
|
};
|
|
@@ -329,6 +320,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
329
320
|
var returnType = _DataSheetImport["default"];
|
|
330
321
|
return this.apiClient.callApi('/graph/data/datasheetimport/{containerid}/{reltypeid}/{objecttypeid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
331
322
|
}
|
|
323
|
+
|
|
332
324
|
/**
|
|
333
325
|
* Callback function to receive the result of the createRelationshipDataSheetImport operation.
|
|
334
326
|
* @callback module:api/DataSheetImportsApi~createRelationshipDataSheetImportCallback
|
|
@@ -344,35 +336,33 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
344
336
|
* @param {Number} reltypeid
|
|
345
337
|
* @param {Number} objecttypeid
|
|
346
338
|
* @param {Object} opts Optional parameters
|
|
347
|
-
* @param {String}
|
|
348
|
-
* @param {Number}
|
|
349
|
-
* @param {String}
|
|
350
|
-
* @param {
|
|
351
|
-
* @param {String}
|
|
339
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
340
|
+
* @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
|
|
341
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
342
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
343
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
344
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
345
|
+
* @param {String} [preamble]
|
|
352
346
|
* @param {module:api/DataSheetImportsApi~createRelationshipDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
|
|
353
347
|
* data is of type: {@link module:model/DataSheetImport}
|
|
354
348
|
*/
|
|
355
|
-
|
|
356
349
|
}, {
|
|
357
350
|
key: "createRelationshipDataSheetImport",
|
|
358
351
|
value: function createRelationshipDataSheetImport(containerid, reltypeid, objecttypeid, opts, callback) {
|
|
359
352
|
opts = opts || {};
|
|
360
|
-
var postBody = null;
|
|
361
|
-
|
|
353
|
+
var postBody = null;
|
|
354
|
+
// verify the required parameter 'containerid' is set
|
|
362
355
|
if (containerid === undefined || containerid === null) {
|
|
363
356
|
throw new Error("Missing the required parameter 'containerid' when calling createRelationshipDataSheetImport");
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
|
|
357
|
+
}
|
|
358
|
+
// verify the required parameter 'reltypeid' is set
|
|
367
359
|
if (reltypeid === undefined || reltypeid === null) {
|
|
368
360
|
throw new Error("Missing the required parameter 'reltypeid' when calling createRelationshipDataSheetImport");
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
|
|
361
|
+
}
|
|
362
|
+
// verify the required parameter 'objecttypeid' is set
|
|
372
363
|
if (objecttypeid === undefined || objecttypeid === null) {
|
|
373
364
|
throw new Error("Missing the required parameter 'objecttypeid' when calling createRelationshipDataSheetImport");
|
|
374
365
|
}
|
|
375
|
-
|
|
376
366
|
var pathParams = {
|
|
377
367
|
'containerid': containerid,
|
|
378
368
|
'reltypeid': reltypeid,
|
|
@@ -385,6 +375,8 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
385
375
|
'transactionid': opts['transactionid']
|
|
386
376
|
};
|
|
387
377
|
var formParams = {
|
|
378
|
+
'formDataMap': opts['formDataMap'],
|
|
379
|
+
'formData': opts['formData'],
|
|
388
380
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
389
381
|
'preamble': opts['preamble']
|
|
390
382
|
};
|
|
@@ -394,6 +386,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
394
386
|
var returnType = _DataSheetImport["default"];
|
|
395
387
|
return this.apiClient.callApi('/graph/data/datasheetimport/{containerid}/{reltypeid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
396
388
|
}
|
|
389
|
+
|
|
397
390
|
/**
|
|
398
391
|
* Callback function to receive the result of the get28 operation.
|
|
399
392
|
* @callback module:api/DataSheetImportsApi~get28Callback
|
|
@@ -405,12 +398,11 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
405
398
|
/**
|
|
406
399
|
* Root for the API
|
|
407
400
|
* @param {Object} opts Optional parameters
|
|
408
|
-
* @param {String}
|
|
409
|
-
* @param {Number}
|
|
410
|
-
* @param {String}
|
|
401
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
402
|
+
* @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
|
|
403
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
411
404
|
* @param {module:api/DataSheetImportsApi~get28Callback} callback The callback function, accepting three arguments: error, data, response
|
|
412
405
|
*/
|
|
413
|
-
|
|
414
406
|
}, {
|
|
415
407
|
key: "get28",
|
|
416
408
|
value: function get28(opts, callback) {
|
|
@@ -430,6 +422,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
430
422
|
var returnType = null;
|
|
431
423
|
return this.apiClient.callApi('/graph/data/datasheetimport', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
432
424
|
}
|
|
425
|
+
|
|
433
426
|
/**
|
|
434
427
|
* Callback function to receive the result of the getDataSheetImportById operation.
|
|
435
428
|
* @callback module:api/DataSheetImportsApi~getDataSheetImportByIdCallback
|
|
@@ -443,23 +436,21 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
443
436
|
* Gets the mapping associated with the sheetprop
|
|
444
437
|
* @param {Number} dsimportid
|
|
445
438
|
* @param {Object} opts Optional parameters
|
|
446
|
-
* @param {String}
|
|
447
|
-
* @param {Number}
|
|
448
|
-
* @param {String}
|
|
439
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
440
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
441
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
449
442
|
* @param {module:api/DataSheetImportsApi~getDataSheetImportByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
450
443
|
* data is of type: {@link module:model/DataSheetImport}
|
|
451
444
|
*/
|
|
452
|
-
|
|
453
445
|
}, {
|
|
454
446
|
key: "getDataSheetImportById",
|
|
455
447
|
value: function getDataSheetImportById(dsimportid, opts, callback) {
|
|
456
448
|
opts = opts || {};
|
|
457
|
-
var postBody = null;
|
|
458
|
-
|
|
449
|
+
var postBody = null;
|
|
450
|
+
// verify the required parameter 'dsimportid' is set
|
|
459
451
|
if (dsimportid === undefined || dsimportid === null) {
|
|
460
452
|
throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportById");
|
|
461
453
|
}
|
|
462
|
-
|
|
463
454
|
var pathParams = {
|
|
464
455
|
'dsimportid': dsimportid
|
|
465
456
|
};
|
|
@@ -476,6 +467,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
476
467
|
var returnType = _DataSheetImport["default"];
|
|
477
468
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
478
469
|
}
|
|
470
|
+
|
|
479
471
|
/**
|
|
480
472
|
* Callback function to receive the result of the getDataSheetImportMapping operation.
|
|
481
473
|
* @callback module:api/DataSheetImportsApi~getDataSheetImportMappingCallback
|
|
@@ -490,28 +482,25 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
490
482
|
* @param {Number} dsimportid
|
|
491
483
|
* @param {String} sheetprop
|
|
492
484
|
* @param {Object} opts Optional parameters
|
|
493
|
-
* @param {String}
|
|
494
|
-
* @param {Number}
|
|
495
|
-
* @param {String}
|
|
485
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
486
|
+
* @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
|
|
487
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
496
488
|
* @param {module:api/DataSheetImportsApi~getDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
497
489
|
* data is of type: {@link String}
|
|
498
490
|
*/
|
|
499
|
-
|
|
500
491
|
}, {
|
|
501
492
|
key: "getDataSheetImportMapping",
|
|
502
493
|
value: function getDataSheetImportMapping(dsimportid, sheetprop, opts, callback) {
|
|
503
494
|
opts = opts || {};
|
|
504
|
-
var postBody = null;
|
|
505
|
-
|
|
495
|
+
var postBody = null;
|
|
496
|
+
// verify the required parameter 'dsimportid' is set
|
|
506
497
|
if (dsimportid === undefined || dsimportid === null) {
|
|
507
498
|
throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportMapping");
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
|
|
499
|
+
}
|
|
500
|
+
// verify the required parameter 'sheetprop' is set
|
|
511
501
|
if (sheetprop === undefined || sheetprop === null) {
|
|
512
502
|
throw new Error("Missing the required parameter 'sheetprop' when calling getDataSheetImportMapping");
|
|
513
503
|
}
|
|
514
|
-
|
|
515
504
|
var pathParams = {
|
|
516
505
|
'dsimportid': dsimportid,
|
|
517
506
|
'sheetprop': sheetprop
|
|
@@ -529,6 +518,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
529
518
|
var returnType = 'String';
|
|
530
519
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
531
520
|
}
|
|
521
|
+
|
|
532
522
|
/**
|
|
533
523
|
* Callback function to receive the result of the getDataSheetImportPreview operation.
|
|
534
524
|
* @callback module:api/DataSheetImportsApi~getDataSheetImportPreviewCallback
|
|
@@ -542,23 +532,21 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
542
532
|
* Gets the preview of the data being imported
|
|
543
533
|
* @param {Number} dsimportid
|
|
544
534
|
* @param {Object} opts Optional parameters
|
|
545
|
-
* @param {String}
|
|
546
|
-
* @param {Number}
|
|
547
|
-
* @param {String}
|
|
535
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
536
|
+
* @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
|
|
537
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
548
538
|
* @param {module:api/DataSheetImportsApi~getDataSheetImportPreviewCallback} callback The callback function, accepting three arguments: error, data, response
|
|
549
539
|
* data is of type: {@link Array.<Object>}
|
|
550
540
|
*/
|
|
551
|
-
|
|
552
541
|
}, {
|
|
553
542
|
key: "getDataSheetImportPreview",
|
|
554
543
|
value: function getDataSheetImportPreview(dsimportid, opts, callback) {
|
|
555
544
|
opts = opts || {};
|
|
556
|
-
var postBody = null;
|
|
557
|
-
|
|
545
|
+
var postBody = null;
|
|
546
|
+
// verify the required parameter 'dsimportid' is set
|
|
558
547
|
if (dsimportid === undefined || dsimportid === null) {
|
|
559
548
|
throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportPreview");
|
|
560
549
|
}
|
|
561
|
-
|
|
562
550
|
var pathParams = {
|
|
563
551
|
'dsimportid': dsimportid
|
|
564
552
|
};
|
|
@@ -575,6 +563,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
575
563
|
var returnType = [Object];
|
|
576
564
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/preview', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
577
565
|
}
|
|
566
|
+
|
|
578
567
|
/**
|
|
579
568
|
* Callback function to receive the result of the removeDataSheetImportGeocodeMapping operation.
|
|
580
569
|
* @callback module:api/DataSheetImportsApi~removeDataSheetImportGeocodeMappingCallback
|
|
@@ -588,22 +577,20 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
588
577
|
* Removes the geolocation mapping field
|
|
589
578
|
* @param {Number} dsimportid
|
|
590
579
|
* @param {Object} opts Optional parameters
|
|
591
|
-
* @param {String}
|
|
592
|
-
* @param {Number}
|
|
593
|
-
* @param {String}
|
|
580
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
581
|
+
* @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
|
|
582
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
594
583
|
* @param {module:api/DataSheetImportsApi~removeDataSheetImportGeocodeMappingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
595
584
|
*/
|
|
596
|
-
|
|
597
585
|
}, {
|
|
598
586
|
key: "removeDataSheetImportGeocodeMapping",
|
|
599
587
|
value: function removeDataSheetImportGeocodeMapping(dsimportid, opts, callback) {
|
|
600
588
|
opts = opts || {};
|
|
601
|
-
var postBody = null;
|
|
602
|
-
|
|
589
|
+
var postBody = null;
|
|
590
|
+
// verify the required parameter 'dsimportid' is set
|
|
603
591
|
if (dsimportid === undefined || dsimportid === null) {
|
|
604
592
|
throw new Error("Missing the required parameter 'dsimportid' when calling removeDataSheetImportGeocodeMapping");
|
|
605
593
|
}
|
|
606
|
-
|
|
607
594
|
var pathParams = {
|
|
608
595
|
'dsimportid': dsimportid
|
|
609
596
|
};
|
|
@@ -620,6 +607,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
620
607
|
var returnType = null;
|
|
621
608
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/geolocateon', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
622
609
|
}
|
|
610
|
+
|
|
623
611
|
/**
|
|
624
612
|
* Callback function to receive the result of the removeDataSheetImportMapping operation.
|
|
625
613
|
* @callback module:api/DataSheetImportsApi~removeDataSheetImportMappingCallback
|
|
@@ -634,27 +622,24 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
634
622
|
* @param {Number} dsimportid
|
|
635
623
|
* @param {String} sheetprop
|
|
636
624
|
* @param {Object} opts Optional parameters
|
|
637
|
-
* @param {String}
|
|
638
|
-
* @param {Number}
|
|
639
|
-
* @param {String}
|
|
625
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
626
|
+
* @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
|
|
627
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
640
628
|
* @param {module:api/DataSheetImportsApi~removeDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
641
629
|
*/
|
|
642
|
-
|
|
643
630
|
}, {
|
|
644
631
|
key: "removeDataSheetImportMapping",
|
|
645
632
|
value: function removeDataSheetImportMapping(dsimportid, sheetprop, opts, callback) {
|
|
646
633
|
opts = opts || {};
|
|
647
|
-
var postBody = null;
|
|
648
|
-
|
|
634
|
+
var postBody = null;
|
|
635
|
+
// verify the required parameter 'dsimportid' is set
|
|
649
636
|
if (dsimportid === undefined || dsimportid === null) {
|
|
650
637
|
throw new Error("Missing the required parameter 'dsimportid' when calling removeDataSheetImportMapping");
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
|
|
638
|
+
}
|
|
639
|
+
// verify the required parameter 'sheetprop' is set
|
|
654
640
|
if (sheetprop === undefined || sheetprop === null) {
|
|
655
641
|
throw new Error("Missing the required parameter 'sheetprop' when calling removeDataSheetImportMapping");
|
|
656
642
|
}
|
|
657
|
-
|
|
658
643
|
var pathParams = {
|
|
659
644
|
'dsimportid': dsimportid,
|
|
660
645
|
'sheetprop': sheetprop
|
|
@@ -672,6 +657,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
672
657
|
var returnType = null;
|
|
673
658
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
674
659
|
}
|
|
660
|
+
|
|
675
661
|
/**
|
|
676
662
|
* Callback function to receive the result of the runDataSheetImport operation.
|
|
677
663
|
* @callback module:api/DataSheetImportsApi~runDataSheetImportCallback
|
|
@@ -685,23 +671,21 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
685
671
|
* Run a datasheet import
|
|
686
672
|
* @param {Number} dsimportid
|
|
687
673
|
* @param {Object} opts Optional parameters
|
|
688
|
-
* @param {String}
|
|
689
|
-
* @param {Number}
|
|
690
|
-
* @param {String}
|
|
674
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
675
|
+
* @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
|
|
676
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
691
677
|
* @param {module:api/DataSheetImportsApi~runDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
|
|
692
678
|
* data is of type: {@link module:model/DataSheetImportSummary}
|
|
693
679
|
*/
|
|
694
|
-
|
|
695
680
|
}, {
|
|
696
681
|
key: "runDataSheetImport",
|
|
697
682
|
value: function runDataSheetImport(dsimportid, opts, callback) {
|
|
698
683
|
opts = opts || {};
|
|
699
|
-
var postBody = null;
|
|
700
|
-
|
|
684
|
+
var postBody = null;
|
|
685
|
+
// verify the required parameter 'dsimportid' is set
|
|
701
686
|
if (dsimportid === undefined || dsimportid === null) {
|
|
702
687
|
throw new Error("Missing the required parameter 'dsimportid' when calling runDataSheetImport");
|
|
703
688
|
}
|
|
704
|
-
|
|
705
689
|
var pathParams = {
|
|
706
690
|
'dsimportid': dsimportid
|
|
707
691
|
};
|
|
@@ -718,6 +702,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
718
702
|
var returnType = _DataSheetImportSummary["default"];
|
|
719
703
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/run', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
720
704
|
}
|
|
705
|
+
|
|
721
706
|
/**
|
|
722
707
|
* Callback function to receive the result of the setDataSheetImportPrivacy operation.
|
|
723
708
|
* @callback module:api/DataSheetImportsApi~setDataSheetImportPrivacyCallback
|
|
@@ -732,27 +717,24 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
732
717
|
* @param {Number} dsimportid
|
|
733
718
|
* @param {module:model/DataSheetImportPrivacySettings} dataSheetImportPrivacySettings Field to map to
|
|
734
719
|
* @param {Object} opts Optional parameters
|
|
735
|
-
* @param {String}
|
|
736
|
-
* @param {Number}
|
|
737
|
-
* @param {String}
|
|
720
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
721
|
+
* @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
|
|
722
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
738
723
|
* @param {module:api/DataSheetImportsApi~setDataSheetImportPrivacyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
739
724
|
*/
|
|
740
|
-
|
|
741
725
|
}, {
|
|
742
726
|
key: "setDataSheetImportPrivacy",
|
|
743
727
|
value: function setDataSheetImportPrivacy(dsimportid, dataSheetImportPrivacySettings, opts, callback) {
|
|
744
728
|
opts = opts || {};
|
|
745
|
-
var postBody = dataSheetImportPrivacySettings;
|
|
746
|
-
|
|
729
|
+
var postBody = dataSheetImportPrivacySettings;
|
|
730
|
+
// verify the required parameter 'dsimportid' is set
|
|
747
731
|
if (dsimportid === undefined || dsimportid === null) {
|
|
748
732
|
throw new Error("Missing the required parameter 'dsimportid' when calling setDataSheetImportPrivacy");
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
|
|
733
|
+
}
|
|
734
|
+
// verify the required parameter 'dataSheetImportPrivacySettings' is set
|
|
752
735
|
if (dataSheetImportPrivacySettings === undefined || dataSheetImportPrivacySettings === null) {
|
|
753
736
|
throw new Error("Missing the required parameter 'dataSheetImportPrivacySettings' when calling setDataSheetImportPrivacy");
|
|
754
737
|
}
|
|
755
|
-
|
|
756
738
|
var pathParams = {
|
|
757
739
|
'dsimportid': dsimportid
|
|
758
740
|
};
|
|
@@ -769,6 +751,7 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
769
751
|
var returnType = null;
|
|
770
752
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/privacy', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
771
753
|
}
|
|
754
|
+
|
|
772
755
|
/**
|
|
773
756
|
* Callback function to receive the result of the updateDataSheetImportFile operation.
|
|
774
757
|
* @callback module:api/DataSheetImportsApi~updateDataSheetImportFileCallback
|
|
@@ -782,25 +765,25 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
782
765
|
* Create a datasheet import
|
|
783
766
|
* @param {Number} dsimportid
|
|
784
767
|
* @param {Object} opts Optional parameters
|
|
785
|
-
* @param {String}
|
|
786
|
-
* @param {Number}
|
|
787
|
-
* @param {String}
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {String}
|
|
768
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
769
|
+
* @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
|
|
770
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
771
|
+
* @param {Object.<String, {String: [InputPart]}>} [formDataMap]
|
|
772
|
+
* @param {Object.<String, {String: InputPart}>} [formData]
|
|
773
|
+
* @param {Array.<module:model/InputPart>} [parts]
|
|
774
|
+
* @param {String} [preamble]
|
|
790
775
|
* @param {module:api/DataSheetImportsApi~updateDataSheetImportFileCallback} callback The callback function, accepting three arguments: error, data, response
|
|
791
776
|
* data is of type: {@link module:model/DataSheetImport}
|
|
792
777
|
*/
|
|
793
|
-
|
|
794
778
|
}, {
|
|
795
779
|
key: "updateDataSheetImportFile",
|
|
796
780
|
value: function updateDataSheetImportFile(dsimportid, opts, callback) {
|
|
797
781
|
opts = opts || {};
|
|
798
|
-
var postBody = null;
|
|
799
|
-
|
|
782
|
+
var postBody = null;
|
|
783
|
+
// verify the required parameter 'dsimportid' is set
|
|
800
784
|
if (dsimportid === undefined || dsimportid === null) {
|
|
801
785
|
throw new Error("Missing the required parameter 'dsimportid' when calling updateDataSheetImportFile");
|
|
802
786
|
}
|
|
803
|
-
|
|
804
787
|
var pathParams = {
|
|
805
788
|
'dsimportid': dsimportid
|
|
806
789
|
};
|
|
@@ -811,6 +794,8 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
811
794
|
'transactionid': opts['transactionid']
|
|
812
795
|
};
|
|
813
796
|
var formParams = {
|
|
797
|
+
'formDataMap': opts['formDataMap'],
|
|
798
|
+
'formData': opts['formData'],
|
|
814
799
|
'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
|
|
815
800
|
'preamble': opts['preamble']
|
|
816
801
|
};
|
|
@@ -821,8 +806,5 @@ var DataSheetImportsApi = /*#__PURE__*/function () {
|
|
|
821
806
|
return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/datasheet', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
822
807
|
}
|
|
823
808
|
}]);
|
|
824
|
-
|
|
825
809
|
return DataSheetImportsApi;
|
|
826
|
-
}();
|
|
827
|
-
|
|
828
|
-
exports["default"] = DataSheetImportsApi;
|
|
810
|
+
}();
|