@gobodo/gobodo-api 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/README.md +742 -0
  2. package/dist/ApiClient.js +781 -0
  3. package/dist/api/ActionTypesApi.js +97 -0
  4. package/dist/api/AdCampaignsApi.js +392 -0
  5. package/dist/api/AdManagementApi.js +563 -0
  6. package/dist/api/AdminDataManagementApi.js +97 -0
  7. package/dist/api/AdsApi.js +301 -0
  8. package/dist/api/AttachmentsApi.js +361 -0
  9. package/dist/api/AuthenticationApi.js +292 -0
  10. package/dist/api/CategoriesApi.js +353 -0
  11. package/dist/api/CommentsApi.js +408 -0
  12. package/dist/api/ContentManagementApi.js +1171 -0
  13. package/dist/api/ConversationsApi.js +434 -0
  14. package/dist/api/DataSheetImportsApi.js +828 -0
  15. package/dist/api/DefaultApi.js +548 -0
  16. package/dist/api/DocumentsApi.js +635 -0
  17. package/dist/api/EntryPartsApi.js +670 -0
  18. package/dist/api/FacebookApi.js +80 -0
  19. package/dist/api/FieldsApi.js +199 -0
  20. package/dist/api/FilesApi.js +95 -0
  21. package/dist/api/FormsApi.js +885 -0
  22. package/dist/api/FunctionsApi.js +96 -0
  23. package/dist/api/GeocodeApi.js +277 -0
  24. package/dist/api/GoogleApi.js +80 -0
  25. package/dist/api/GraphActionsApi.js +523 -0
  26. package/dist/api/GraphObjectTypesApi.js +413 -0
  27. package/dist/api/GraphObjectsApi.js +3077 -0
  28. package/dist/api/GraphRelationshipTypesApi.js +831 -0
  29. package/dist/api/GraphRelationshipsApi.js +1500 -0
  30. package/dist/api/GraphSchemasApi.js +365 -0
  31. package/dist/api/GraphTraversalApi.js +291 -0
  32. package/dist/api/GraphsApi.js +571 -0
  33. package/dist/api/GroupsApi.js +568 -0
  34. package/dist/api/IAMApi.js +211 -0
  35. package/dist/api/ImagesApi.js +414 -0
  36. package/dist/api/InvitesApi.js +268 -0
  37. package/dist/api/LikesApi.js +601 -0
  38. package/dist/api/LinkedINApi.js +80 -0
  39. package/dist/api/LiveMeetingsApi.js +145 -0
  40. package/dist/api/MeetingEventsApi.js +286 -0
  41. package/dist/api/PagesApi.js +475 -0
  42. package/dist/api/PostsApi.js +262 -0
  43. package/dist/api/PrivateMessagesApi.js +752 -0
  44. package/dist/api/PublicationsApi.js +86 -0
  45. package/dist/api/ScreensApi.js +183 -0
  46. package/dist/api/SocialIntegrationApi.js +188 -0
  47. package/dist/api/StripeAccountsApi.js +461 -0
  48. package/dist/api/TagsApi.js +96 -0
  49. package/dist/api/TemplatesApi.js +183 -0
  50. package/dist/api/ThemeMappingsApi.js +178 -0
  51. package/dist/api/TransactionsApi.js +147 -0
  52. package/dist/api/TwitterApi.js +80 -0
  53. package/dist/api/UserTagsApi.js +467 -0
  54. package/dist/api/UsersApi.js +466 -0
  55. package/dist/api/UtilsApi.js +75 -0
  56. package/dist/api/VideosApi.js +564 -0
  57. package/dist/index.js +1295 -0
  58. package/dist/model/APIClient.js +180 -0
  59. package/dist/model/Account.js +315 -0
  60. package/dist/model/AchCreditTransfer.js +122 -0
  61. package/dist/model/AchDebit.js +140 -0
  62. package/dist/model/AcssDebit.js +106 -0
  63. package/dist/model/AddInvoiceItem.js +126 -0
  64. package/dist/model/Address.js +140 -0
  65. package/dist/model/Affirm.js +104 -0
  66. package/dist/model/AfterpayClearpay.js +113 -0
  67. package/dist/model/Alipay.js +95 -0
  68. package/dist/model/AlternateStatementDescriptors.js +104 -0
  69. package/dist/model/Alternative.js +104 -0
  70. package/dist/model/AmexExpressCheckout.js +86 -0
  71. package/dist/model/AmountDetails.js +97 -0
  72. package/dist/model/ApplePay.js +86 -0
  73. package/dist/model/Application.js +122 -0
  74. package/dist/model/ApplicationFee.js +267 -0
  75. package/dist/model/AppliesTo.js +95 -0
  76. package/dist/model/Article.js +272 -0
  77. package/dist/model/AuBecsDebit.js +95 -0
  78. package/dist/model/Authorization.js +93 -0
  79. package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +95 -0
  80. package/dist/model/AutomaticTax.js +95 -0
  81. package/dist/model/BacsDebit.js +95 -0
  82. package/dist/model/BacsDebitPayments.js +95 -0
  83. package/dist/model/BalanceSettings.js +95 -0
  84. package/dist/model/BalanceTransaction.js +234 -0
  85. package/dist/model/BalanceTransactionSource.js +84 -0
  86. package/dist/model/Bancontact.js +180 -0
  87. package/dist/model/BankTransfer.js +106 -0
  88. package/dist/model/BillingDetails.js +124 -0
  89. package/dist/model/BillingThresholds.js +95 -0
  90. package/dist/model/Blik.js +86 -0
  91. package/dist/model/BlikMandateOptions.js +115 -0
  92. package/dist/model/BlikMandateOptionsOffSessionDetails.js +122 -0
  93. package/dist/model/Boleto.js +95 -0
  94. package/dist/model/Breakdown.js +108 -0
  95. package/dist/model/BusinessProfile.js +160 -0
  96. package/dist/model/Capabilities.js +383 -0
  97. package/dist/model/Card.js +247 -0
  98. package/dist/model/CardPresent.js +268 -0
  99. package/dist/model/CashBalance.js +135 -0
  100. package/dist/model/Charge.js +706 -0
  101. package/dist/model/ChargeCollection.js +146 -0
  102. package/dist/model/Checks.js +113 -0
  103. package/dist/model/Comment.js +210 -0
  104. package/dist/model/Company.js +238 -0
  105. package/dist/model/Computed.js +108 -0
  106. package/dist/model/Controller.js +104 -0
  107. package/dist/model/Coordinates.js +84 -0
  108. package/dist/model/Coupon.js +256 -0
  109. package/dist/model/CreateAccountResponse.js +95 -0
  110. package/dist/model/CreateAccountResponseFailureException.js +117 -0
  111. package/dist/model/CreateAccountResponseFailureExceptionCause.js +106 -0
  112. package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +138 -0
  113. package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +95 -0
  114. package/dist/model/CreateCustomerResponse.js +95 -0
  115. package/dist/model/CreateStripeAccountInput.js +129 -0
  116. package/dist/model/CreateStripeCustomerInput.js +95 -0
  117. package/dist/model/CreditedItems.js +104 -0
  118. package/dist/model/CurrencyOption.js +135 -0
  119. package/dist/model/CurrentPhase.js +104 -0
  120. package/dist/model/CustomField.js +104 -0
  121. package/dist/model/CustomUnitAmount.js +113 -0
  122. package/dist/model/Customer.js +400 -0
  123. package/dist/model/CustomerAcceptance.js +126 -0
  124. package/dist/model/CustomerBalance.js +86 -0
  125. package/dist/model/CustomerNotification.js +104 -0
  126. package/dist/model/CustomerTaxId.js +104 -0
  127. package/dist/model/DataObject.js +84 -0
  128. package/dist/model/DataSheetImport.js +320 -0
  129. package/dist/model/DataSheetImportPrivacySettings.js +93 -0
  130. package/dist/model/DataSheetImportSummary.js +120 -0
  131. package/dist/model/DateOfBirth.js +113 -0
  132. package/dist/model/DeclineChargeOn.js +104 -0
  133. package/dist/model/DefaultSettings.js +177 -0
  134. package/dist/model/Discount.js +104 -0
  135. package/dist/model/DiscountAmount.js +115 -0
  136. package/dist/model/Dispute.js +260 -0
  137. package/dist/model/Document.js +292 -0
  138. package/dist/model/DocumentPart.js +243 -0
  139. package/dist/model/DocumentPartType.js +160 -0
  140. package/dist/model/DocumentType.js +196 -0
  141. package/dist/model/EmailSent.js +104 -0
  142. package/dist/model/Eps.js +104 -0
  143. package/dist/model/Errors.js +113 -0
  144. package/dist/model/EuBankTransfer.js +95 -0
  145. package/dist/model/Evidence.js +410 -0
  146. package/dist/model/EvidenceDetails.js +122 -0
  147. package/dist/model/ExternalAccount.js +84 -0
  148. package/dist/model/ExternalAccountCollection.js +146 -0
  149. package/dist/model/Familymart.js +104 -0
  150. package/dist/model/Fee.js +131 -0
  151. package/dist/model/FeeRefund.js +182 -0
  152. package/dist/model/FeeRefundCollection.js +146 -0
  153. package/dist/model/FieldMapping.js +139 -0
  154. package/dist/model/Fields.js +462 -0
  155. package/dist/model/File.js +156 -0
  156. package/dist/model/FileAttachmentUpload.js +88 -0
  157. package/dist/model/FileAttachmentUploadObject.js +165 -0
  158. package/dist/model/FileLink.js +178 -0
  159. package/dist/model/FileLinkCollection.js +146 -0
  160. package/dist/model/Filter.js +84 -0
  161. package/dist/model/FilterManager.js +86 -0
  162. package/dist/model/FinancialAddress.js +148 -0
  163. package/dist/model/FinancialConnections.js +95 -0
  164. package/dist/model/Form.js +174 -0
  165. package/dist/model/FormSection.js +131 -0
  166. package/dist/model/FormSubmission.js +134 -0
  167. package/dist/model/Fpx.js +113 -0
  168. package/dist/model/FraudDetails.js +104 -0
  169. package/dist/model/FromQuote.js +115 -0
  170. package/dist/model/FutureRequirements.js +144 -0
  171. package/dist/model/GeneratedFrom.js +126 -0
  172. package/dist/model/Geocode.js +106 -0
  173. package/dist/model/GeocodePayload.js +88 -0
  174. package/dist/model/GeolocationInput.js +132 -0
  175. package/dist/model/Giropay.js +122 -0
  176. package/dist/model/GooglePay.js +86 -0
  177. package/dist/model/Grabpay.js +95 -0
  178. package/dist/model/Graph.js +213 -0
  179. package/dist/model/GraphAction.js +140 -0
  180. package/dist/model/GraphDatabaseService.js +129 -0
  181. package/dist/model/GraphGeocode.js +136 -0
  182. package/dist/model/GraphIteratorEntryPart.js +77 -0
  183. package/dist/model/GraphIteratorEntryPartStackTrace.js +138 -0
  184. package/dist/model/GraphObject.js +192 -0
  185. package/dist/model/GraphObjectDescriptorSchema.js +179 -0
  186. package/dist/model/GraphObjectPayload.js +151 -0
  187. package/dist/model/GraphObjectSchema.js +223 -0
  188. package/dist/model/GraphObjectType.js +254 -0
  189. package/dist/model/GraphObjectTypeSchema.js +254 -0
  190. package/dist/model/GraphOwner.js +93 -0
  191. package/dist/model/GraphRelation.js +133 -0
  192. package/dist/model/GraphRelationObjectObject.js +133 -0
  193. package/dist/model/GraphRelationship.js +143 -0
  194. package/dist/model/GraphRelationshipPayload.js +104 -0
  195. package/dist/model/GraphRelationshipType.js +309 -0
  196. package/dist/model/GraphSchema.js +262 -0
  197. package/dist/model/GraphTraversalInput.js +255 -0
  198. package/dist/model/Iban.js +122 -0
  199. package/dist/model/Ideal.js +162 -0
  200. package/dist/model/Image.js +192 -0
  201. package/dist/model/ImageUpload.js +88 -0
  202. package/dist/model/ImageUploadObject.js +192 -0
  203. package/dist/model/InlineObject.js +124 -0
  204. package/dist/model/InlineObject1.js +124 -0
  205. package/dist/model/InlineObject2.js +124 -0
  206. package/dist/model/InlineObject3.js +124 -0
  207. package/dist/model/InlineObject4.js +124 -0
  208. package/dist/model/InlineObject5.js +124 -0
  209. package/dist/model/InlineResponseDefault.js +124 -0
  210. package/dist/model/InputPart.js +106 -0
  211. package/dist/model/InputPartMediaType.js +113 -0
  212. package/dist/model/Installments.js +97 -0
  213. package/dist/model/InteracPresent.js +241 -0
  214. package/dist/model/Invoice.js +925 -0
  215. package/dist/model/InvoiceLineItem.js +329 -0
  216. package/dist/model/InvoiceLineItemCollection.js +146 -0
  217. package/dist/model/InvoiceLineItemPeriod.js +104 -0
  218. package/dist/model/InvoiceSettings.js +95 -0
  219. package/dist/model/JapanAddress.js +149 -0
  220. package/dist/model/JsonArray.js +252 -0
  221. package/dist/model/JsonNull.js +252 -0
  222. package/dist/model/JsonObject.js +252 -0
  223. package/dist/model/JsonPrimitive.js +288 -0
  224. package/dist/model/Klarna.js +104 -0
  225. package/dist/model/Konbini.js +97 -0
  226. package/dist/model/Lawson.js +104 -0
  227. package/dist/model/Level3.js +142 -0
  228. package/dist/model/LineItem.js +220 -0
  229. package/dist/model/LineItemCollection.js +146 -0
  230. package/dist/model/Link.js +140 -0
  231. package/dist/model/LiveStreamInfo.js +94 -0
  232. package/dist/model/Location.js +113 -0
  233. package/dist/model/Mandate.js +195 -0
  234. package/dist/model/MandateOptions.js +95 -0
  235. package/dist/model/Masterpass.js +124 -0
  236. package/dist/model/MeetingEvent.js +251 -0
  237. package/dist/model/MeetingEventTimezone.js +102 -0
  238. package/dist/model/MeetingInfo.js +126 -0
  239. package/dist/model/Member.js +212 -0
  240. package/dist/model/MemberGroupCategory.js +120 -0
  241. package/dist/model/MemberList.js +101 -0
  242. package/dist/model/MessageGroup.js +95 -0
  243. package/dist/model/Ministop.js +104 -0
  244. package/dist/model/MultiUse.js +86 -0
  245. package/dist/model/Multibanco.js +104 -0
  246. package/dist/model/MultipartBody.js +84 -0
  247. package/dist/model/MultipartFormDataInput.js +108 -0
  248. package/dist/model/Networks.js +104 -0
  249. package/dist/model/NextAction.js +249 -0
  250. package/dist/model/NextActionAlipayHandleRedirect.js +122 -0
  251. package/dist/model/NextActionCardAwaitNotification.js +104 -0
  252. package/dist/model/NextActionDisplayBankTransferInstructions.js +142 -0
  253. package/dist/model/NextActionDisplayBoletoDetails.js +122 -0
  254. package/dist/model/NextActionDisplayDetails.js +106 -0
  255. package/dist/model/NextActionKonbiniDisplayDetails.js +115 -0
  256. package/dist/model/NextActionOxxoDisplayDetails.js +113 -0
  257. package/dist/model/NextActionRedirectToUrl.js +104 -0
  258. package/dist/model/Objecttype.js +244 -0
  259. package/dist/model/Offline.js +86 -0
  260. package/dist/model/Online.js +104 -0
  261. package/dist/model/Outcome.js +160 -0
  262. package/dist/model/OwnershipDeclaration.js +113 -0
  263. package/dist/model/Oxxo.js +95 -0
  264. package/dist/model/P24.js +113 -0
  265. package/dist/model/PackageDimensions.js +122 -0
  266. package/dist/model/Page.js +169 -0
  267. package/dist/model/PageSchema.js +229 -0
  268. package/dist/model/Pageable.js +122 -0
  269. package/dist/model/Path.js +77 -0
  270. package/dist/model/PauseCollection.js +104 -0
  271. package/dist/model/PaymentIntent.js +534 -0
  272. package/dist/model/PaymentIntentInput.js +102 -0
  273. package/dist/model/PaymentIntentResponse.js +84 -0
  274. package/dist/model/PaymentMethod.js +120 -0
  275. package/dist/model/PaymentMethodDetails.js +480 -0
  276. package/dist/model/PaymentMethodOptions.js +152 -0
  277. package/dist/model/PaymentSettings.js +115 -0
  278. package/dist/model/PaymentSource.js +84 -0
  279. package/dist/model/PaymentSourceCollection.js +146 -0
  280. package/dist/model/Paynow.js +95 -0
  281. package/dist/model/PaynowDisplayQrCode.js +113 -0
  282. package/dist/model/PayoutSchedule.js +122 -0
  283. package/dist/model/PendingInvoiceItemInterval.js +104 -0
  284. package/dist/model/PendingUpdate.js +133 -0
  285. package/dist/model/Person.js +381 -0
  286. package/dist/model/Phase.js +286 -0
  287. package/dist/model/PhaseItem.js +157 -0
  288. package/dist/model/Plan.js +292 -0
  289. package/dist/model/Post.js +167 -0
  290. package/dist/model/Price.js +309 -0
  291. package/dist/model/PrivateMessage.js +222 -0
  292. package/dist/model/PrivateMessageConversation.js +222 -0
  293. package/dist/model/PrivateMessageConversationSchema.js +125 -0
  294. package/dist/model/Processing.js +106 -0
  295. package/dist/model/Product.js +310 -0
  296. package/dist/model/Profile.js +106 -0
  297. package/dist/model/Profiletype.js +106 -0
  298. package/dist/model/PromotionCode.js +220 -0
  299. package/dist/model/Promptpay.js +95 -0
  300. package/dist/model/PromptpayDisplayQrCode.js +122 -0
  301. package/dist/model/PropertyContainer.js +97 -0
  302. package/dist/model/ProrationDetails.js +97 -0
  303. package/dist/model/Quote.js +520 -0
  304. package/dist/model/RadarOptions.js +95 -0
  305. package/dist/model/Receipt.js +167 -0
  306. package/dist/model/Recurring.js +133 -0
  307. package/dist/model/Refund.js +332 -0
  308. package/dist/model/RefundCollection.js +146 -0
  309. package/dist/model/Relationship.js +140 -0
  310. package/dist/model/RelationshipMapping.js +159 -0
  311. package/dist/model/RenderingOptions.js +95 -0
  312. package/dist/model/RequestOptions.js +167 -0
  313. package/dist/model/RequestOptionsProxyCredential.js +84 -0
  314. package/dist/model/Requirements.js +162 -0
  315. package/dist/model/Restrictions.js +126 -0
  316. package/dist/model/Review.js +238 -0
  317. package/dist/model/Rule.js +113 -0
  318. package/dist/model/SamsungPay.js +86 -0
  319. package/dist/model/ScreenSchema.js +299 -0
  320. package/dist/model/Seicomart.js +104 -0
  321. package/dist/model/SepaCreditTransfer.js +113 -0
  322. package/dist/model/SepaDebit.js +142 -0
  323. package/dist/model/SepaDebitMandateOptions.js +86 -0
  324. package/dist/model/SepaDebitPayments.js +95 -0
  325. package/dist/model/Session.js +122 -0
  326. package/dist/model/Settings.js +185 -0
  327. package/dist/model/SettingsBranding.js +140 -0
  328. package/dist/model/SettingsCardIssuing.js +97 -0
  329. package/dist/model/SettingsCardPayments.js +124 -0
  330. package/dist/model/SettingsDashboard.js +104 -0
  331. package/dist/model/SettingsPayments.js +131 -0
  332. package/dist/model/SettingsPayouts.js +115 -0
  333. package/dist/model/SettingsTreasury.js +97 -0
  334. package/dist/model/SetupAttempt.js +280 -0
  335. package/dist/model/SetupIntent.js +376 -0
  336. package/dist/model/ShippingDetails.js +133 -0
  337. package/dist/model/SimulcastInfo.js +96 -0
  338. package/dist/model/SingleUse.js +104 -0
  339. package/dist/model/SkinField.js +462 -0
  340. package/dist/model/SocialGroup.js +273 -0
  341. package/dist/model/SocialGroupType.js +149 -0
  342. package/dist/model/Sofort.js +189 -0
  343. package/dist/model/Sort.js +93 -0
  344. package/dist/model/SortCode.js +113 -0
  345. package/dist/model/Spei.js +113 -0
  346. package/dist/model/StatusTransitions.js +113 -0
  347. package/dist/model/StatusUpdate.js +147 -0
  348. package/dist/model/Store.js +95 -0
  349. package/dist/model/Stores.js +130 -0
  350. package/dist/model/StreetAddress.js +111 -0
  351. package/dist/model/StripeAccount.js +111 -0
  352. package/dist/model/StripeCustomerAccount.js +111 -0
  353. package/dist/model/StripeError.js +202 -0
  354. package/dist/model/Subscription.js +556 -0
  355. package/dist/model/SubscriptionCollection.js +146 -0
  356. package/dist/model/SubscriptionData.js +104 -0
  357. package/dist/model/SubscriptionItem.js +195 -0
  358. package/dist/model/SubscriptionItemCollection.js +146 -0
  359. package/dist/model/SubscriptionSchedule.js +300 -0
  360. package/dist/model/Tax.js +115 -0
  361. package/dist/model/TaxAmount.js +124 -0
  362. package/dist/model/TaxCode.js +122 -0
  363. package/dist/model/TaxId.js +189 -0
  364. package/dist/model/TaxIdCollection.js +146 -0
  365. package/dist/model/TaxRate.js +214 -0
  366. package/dist/model/Template.js +131 -0
  367. package/dist/model/TemplateSchema.js +144 -0
  368. package/dist/model/TestClock.js +167 -0
  369. package/dist/model/ThemeMapping.js +124 -0
  370. package/dist/model/ThemeMappingPayload.js +122 -0
  371. package/dist/model/ThreeDSecure.js +122 -0
  372. package/dist/model/ThreeDSecureUsage.js +95 -0
  373. package/dist/model/ThresholdItemReason.js +104 -0
  374. package/dist/model/ThresholdReason.js +106 -0
  375. package/dist/model/Tier.js +131 -0
  376. package/dist/model/Tip.js +95 -0
  377. package/dist/model/TosAcceptance.js +122 -0
  378. package/dist/model/TotalDetails.js +124 -0
  379. package/dist/model/Transaction.js +84 -0
  380. package/dist/model/Transfer.js +285 -0
  381. package/dist/model/TransferData.js +124 -0
  382. package/dist/model/TransferReversal.js +220 -0
  383. package/dist/model/TransferReversalCollection.js +146 -0
  384. package/dist/model/TransformQuantity.js +104 -0
  385. package/dist/model/TransformUsage.js +104 -0
  386. package/dist/model/TraversalQuery.js +209 -0
  387. package/dist/model/TraversalQueryStartobjecttypes.js +179 -0
  388. package/dist/model/USBankAccount.js +140 -0
  389. package/dist/model/Upfront.js +126 -0
  390. package/dist/model/User.js +212 -0
  391. package/dist/model/UserDataPayload.js +212 -0
  392. package/dist/model/UserDomain.js +102 -0
  393. package/dist/model/UserInvite.js +191 -0
  394. package/dist/model/UserInviteInput.js +120 -0
  395. package/dist/model/UserSchema.js +212 -0
  396. package/dist/model/UserTag.js +124 -0
  397. package/dist/model/Verification.js +113 -0
  398. package/dist/model/VerificationDocument.js +140 -0
  399. package/dist/model/VerifyWithMicrodeposits.js +113 -0
  400. package/dist/model/Video.js +255 -0
  401. package/dist/model/VideoLiveUrl.js +84 -0
  402. package/dist/model/VideoSchema.js +284 -0
  403. package/dist/model/VideoUpload.js +88 -0
  404. package/dist/model/VideoUploadObject.js +228 -0
  405. package/dist/model/VisaCheckout.js +124 -0
  406. package/dist/model/Wallet.js +170 -0
  407. package/dist/model/Wechat.js +86 -0
  408. package/dist/model/WechatPay.js +104 -0
  409. package/dist/model/WechatPayDisplayQrCode.js +122 -0
  410. package/dist/model/WechatPayRedirectToAndroidApp.js +158 -0
  411. package/dist/model/WechatPayRedirectToIosApp.js +95 -0
  412. package/dist/model/Zengin.js +149 -0
  413. package/dist/model/ZeusPortalCategory.js +185 -0
  414. package/package.json +46 -0
@@ -0,0 +1,828 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
9
+
10
+ var _DataSheetImport = _interopRequireDefault(require("../model/DataSheetImport"));
11
+
12
+ var _DataSheetImportPrivacySettings = _interopRequireDefault(require("../model/DataSheetImportPrivacySettings"));
13
+
14
+ var _DataSheetImportSummary = _interopRequireDefault(require("../model/DataSheetImportSummary"));
15
+
16
+ var _FieldMapping = _interopRequireDefault(require("../model/FieldMapping"));
17
+
18
+ var _InputPart = _interopRequireDefault(require("../model/InputPart"));
19
+
20
+ var _RelationshipMapping = _interopRequireDefault(require("../model/RelationshipMapping"));
21
+
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
+
24
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25
+
26
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
27
+
28
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
29
+
30
+ /**
31
+ * DataSheetImports service.
32
+ * @module api/DataSheetImportsApi
33
+ * @version 0.1.2
34
+ */
35
+ var DataSheetImportsApi = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new DataSheetImportsApi.
38
+ * @alias module:api/DataSheetImportsApi
39
+ * @class
40
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
41
+ * default to {@link module:ApiClient#instance} if unspecified.
42
+ */
43
+ function DataSheetImportsApi(apiClient) {
44
+ _classCallCheck(this, DataSheetImportsApi);
45
+
46
+ this.apiClient = apiClient || _ApiClient["default"].instance;
47
+ }
48
+ /**
49
+ * Callback function to receive the result of the addDataSheetImportGeocodeMapping operation.
50
+ * @callback module:api/DataSheetImportsApi~addDataSheetImportGeocodeMappingCallback
51
+ * @param {String} error Error message, if any.
52
+ * @param data This operation does not return a value.
53
+ * @param {String} response The complete HTTP response.
54
+ */
55
+
56
+ /**
57
+ * Geocodes the imported object based on the specified data field in the datasheet
58
+ * Geocodes the imported object based on the specified data field in the datasheet
59
+ * @param {Number} dsimportid
60
+ * @param {String} sheetprop
61
+ * @param {String} body Field to geolocate on
62
+ * @param {Object} opts Optional parameters
63
+ * @param {String} opts.authorization The authorization token of the logged in user
64
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
65
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
66
+ * @param {module:api/DataSheetImportsApi~addDataSheetImportGeocodeMappingCallback} callback The callback function, accepting three arguments: error, data, response
67
+ */
68
+
69
+
70
+ _createClass(DataSheetImportsApi, [{
71
+ key: "addDataSheetImportGeocodeMapping",
72
+ value: function addDataSheetImportGeocodeMapping(dsimportid, sheetprop, body, opts, callback) {
73
+ opts = opts || {};
74
+ var postBody = body; // verify the required parameter 'dsimportid' is set
75
+
76
+ if (dsimportid === undefined || dsimportid === null) {
77
+ throw new Error("Missing the required parameter 'dsimportid' when calling addDataSheetImportGeocodeMapping");
78
+ } // verify the required parameter 'sheetprop' is set
79
+
80
+
81
+ if (sheetprop === undefined || sheetprop === null) {
82
+ throw new Error("Missing the required parameter 'sheetprop' when calling addDataSheetImportGeocodeMapping");
83
+ } // verify the required parameter 'body' is set
84
+
85
+
86
+ if (body === undefined || body === null) {
87
+ throw new Error("Missing the required parameter 'body' when calling addDataSheetImportGeocodeMapping");
88
+ }
89
+
90
+ var pathParams = {
91
+ 'dsimportid': dsimportid,
92
+ 'sheetprop': sheetprop
93
+ };
94
+ var queryParams = {};
95
+ var headerParams = {
96
+ 'Authorization': opts['authorization'],
97
+ 'zeusportal-postas': opts['zeusportalPostas'],
98
+ 'transactionid': opts['transactionid']
99
+ };
100
+ var formParams = {};
101
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
102
+ var contentTypes = [];
103
+ var accepts = ['*/*'];
104
+ var returnType = null;
105
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/geolocateon/{sheetprop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
106
+ }
107
+ /**
108
+ * Callback function to receive the result of the addDataSheetImportMapping operation.
109
+ * @callback module:api/DataSheetImportsApi~addDataSheetImportMappingCallback
110
+ * @param {String} error Error message, if any.
111
+ * @param data This operation does not return a value.
112
+ * @param {String} response The complete HTTP response.
113
+ */
114
+
115
+ /**
116
+ * Sets the mapping associated with the sheetprop
117
+ * Sets the mapping associated with the sheetprop
118
+ * @param {Number} dsimportid
119
+ * @param {String} sheetprop
120
+ * @param {module:model/FieldMapping} fieldMapping Field to map to
121
+ * @param {Object} opts Optional parameters
122
+ * @param {String} opts.authorization The authorization token of the logged in user
123
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
124
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
125
+ * @param {module:api/DataSheetImportsApi~addDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
126
+ */
127
+
128
+ }, {
129
+ key: "addDataSheetImportMapping",
130
+ value: function addDataSheetImportMapping(dsimportid, sheetprop, fieldMapping, opts, callback) {
131
+ opts = opts || {};
132
+ var postBody = fieldMapping; // verify the required parameter 'dsimportid' is set
133
+
134
+ if (dsimportid === undefined || dsimportid === null) {
135
+ throw new Error("Missing the required parameter 'dsimportid' when calling addDataSheetImportMapping");
136
+ } // verify the required parameter 'sheetprop' is set
137
+
138
+
139
+ if (sheetprop === undefined || sheetprop === null) {
140
+ throw new Error("Missing the required parameter 'sheetprop' when calling addDataSheetImportMapping");
141
+ } // verify the required parameter 'fieldMapping' is set
142
+
143
+
144
+ if (fieldMapping === undefined || fieldMapping === null) {
145
+ throw new Error("Missing the required parameter 'fieldMapping' when calling addDataSheetImportMapping");
146
+ }
147
+
148
+ var pathParams = {
149
+ 'dsimportid': dsimportid,
150
+ 'sheetprop': sheetprop
151
+ };
152
+ var queryParams = {};
153
+ var headerParams = {
154
+ 'Authorization': opts['authorization'],
155
+ 'zeusportal-postas': opts['zeusportalPostas'],
156
+ 'transactionid': opts['transactionid']
157
+ };
158
+ var formParams = {};
159
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
160
+ var contentTypes = [];
161
+ var accepts = ['*/*'];
162
+ var returnType = null;
163
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
164
+ }
165
+ /**
166
+ * Callback function to receive the result of the addEndObjectLookup operation.
167
+ * @callback module:api/DataSheetImportsApi~addEndObjectLookupCallback
168
+ * @param {String} error Error message, if any.
169
+ * @param data This operation does not return a value.
170
+ * @param {String} response The complete HTTP response.
171
+ */
172
+
173
+ /**
174
+ * Sets the lookup for the end object in a relationship import
175
+ * Sets the lookup for the end object in a relationship import
176
+ * @param {Number} dsimportid
177
+ * @param {module:model/RelationshipMapping} relationshipMapping The end relationship lookup
178
+ * @param {Object} opts Optional parameters
179
+ * @param {String} opts.authorization The authorization token of the logged in user
180
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
181
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
182
+ * @param {module:api/DataSheetImportsApi~addEndObjectLookupCallback} callback The callback function, accepting three arguments: error, data, response
183
+ */
184
+
185
+ }, {
186
+ key: "addEndObjectLookup",
187
+ value: function addEndObjectLookup(dsimportid, relationshipMapping, opts, callback) {
188
+ opts = opts || {};
189
+ var postBody = relationshipMapping; // verify the required parameter 'dsimportid' is set
190
+
191
+ if (dsimportid === undefined || dsimportid === null) {
192
+ throw new Error("Missing the required parameter 'dsimportid' when calling addEndObjectLookup");
193
+ } // verify the required parameter 'relationshipMapping' is set
194
+
195
+
196
+ if (relationshipMapping === undefined || relationshipMapping === null) {
197
+ throw new Error("Missing the required parameter 'relationshipMapping' when calling addEndObjectLookup");
198
+ }
199
+
200
+ var pathParams = {
201
+ 'dsimportid': dsimportid
202
+ };
203
+ var queryParams = {};
204
+ var headerParams = {
205
+ 'Authorization': opts['authorization'],
206
+ 'zeusportal-postas': opts['zeusportalPostas'],
207
+ 'transactionid': opts['transactionid']
208
+ };
209
+ var formParams = {};
210
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
211
+ var contentTypes = [];
212
+ var accepts = ['*/*'];
213
+ var returnType = null;
214
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/endobjectlookup', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
215
+ }
216
+ /**
217
+ * Callback function to receive the result of the addStartObjectLookup operation.
218
+ * @callback module:api/DataSheetImportsApi~addStartObjectLookupCallback
219
+ * @param {String} error Error message, if any.
220
+ * @param data This operation does not return a value.
221
+ * @param {String} response The complete HTTP response.
222
+ */
223
+
224
+ /**
225
+ * Sets the lookup for the start object in a relationship import
226
+ * Sets the lookup for the start object in a relationship import
227
+ * @param {Number} dsimportid
228
+ * @param {module:model/RelationshipMapping} relationshipMapping The start relationship lookup
229
+ * @param {Object} opts Optional parameters
230
+ * @param {String} opts.authorization The authorization token of the logged in user
231
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
232
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
233
+ * @param {module:api/DataSheetImportsApi~addStartObjectLookupCallback} callback The callback function, accepting three arguments: error, data, response
234
+ */
235
+
236
+ }, {
237
+ key: "addStartObjectLookup",
238
+ value: function addStartObjectLookup(dsimportid, relationshipMapping, opts, callback) {
239
+ opts = opts || {};
240
+ var postBody = relationshipMapping; // verify the required parameter 'dsimportid' is set
241
+
242
+ if (dsimportid === undefined || dsimportid === null) {
243
+ throw new Error("Missing the required parameter 'dsimportid' when calling addStartObjectLookup");
244
+ } // verify the required parameter 'relationshipMapping' is set
245
+
246
+
247
+ if (relationshipMapping === undefined || relationshipMapping === null) {
248
+ throw new Error("Missing the required parameter 'relationshipMapping' when calling addStartObjectLookup");
249
+ }
250
+
251
+ var pathParams = {
252
+ 'dsimportid': dsimportid
253
+ };
254
+ var queryParams = {};
255
+ var headerParams = {
256
+ 'Authorization': opts['authorization'],
257
+ 'zeusportal-postas': opts['zeusportalPostas'],
258
+ 'transactionid': opts['transactionid']
259
+ };
260
+ var formParams = {};
261
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
262
+ var contentTypes = [];
263
+ var accepts = ['*/*'];
264
+ var returnType = null;
265
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/startobjectlookup', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
266
+ }
267
+ /**
268
+ * Callback function to receive the result of the createDataSheetImport operation.
269
+ * @callback module:api/DataSheetImportsApi~createDataSheetImportCallback
270
+ * @param {String} error Error message, if any.
271
+ * @param {module:model/DataSheetImport} data The data returned by the service call.
272
+ * @param {String} response The complete HTTP response.
273
+ */
274
+
275
+ /**
276
+ * Create a datasheet import
277
+ * Create a datasheet import
278
+ * @param {Number} containerid
279
+ * @param {Number} reltypeid
280
+ * @param {Number} objecttypeid
281
+ * @param {Object} opts Optional parameters
282
+ * @param {String} opts.authorization The authorization token of the logged in user
283
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
284
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
285
+ * @param {Array.<module:model/InputPart>} opts.parts
286
+ * @param {String} opts.preamble
287
+ * @param {module:api/DataSheetImportsApi~createDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
288
+ * data is of type: {@link module:model/DataSheetImport}
289
+ */
290
+
291
+ }, {
292
+ key: "createDataSheetImport",
293
+ value: function createDataSheetImport(containerid, reltypeid, objecttypeid, opts, callback) {
294
+ opts = opts || {};
295
+ var postBody = null; // verify the required parameter 'containerid' is set
296
+
297
+ if (containerid === undefined || containerid === null) {
298
+ throw new Error("Missing the required parameter 'containerid' when calling createDataSheetImport");
299
+ } // verify the required parameter 'reltypeid' is set
300
+
301
+
302
+ if (reltypeid === undefined || reltypeid === null) {
303
+ throw new Error("Missing the required parameter 'reltypeid' when calling createDataSheetImport");
304
+ } // verify the required parameter 'objecttypeid' is set
305
+
306
+
307
+ if (objecttypeid === undefined || objecttypeid === null) {
308
+ throw new Error("Missing the required parameter 'objecttypeid' when calling createDataSheetImport");
309
+ }
310
+
311
+ var pathParams = {
312
+ 'containerid': containerid,
313
+ 'reltypeid': reltypeid,
314
+ 'objecttypeid': objecttypeid
315
+ };
316
+ var queryParams = {};
317
+ var headerParams = {
318
+ 'Authorization': opts['authorization'],
319
+ 'zeusportal-postas': opts['zeusportalPostas'],
320
+ 'transactionid': opts['transactionid']
321
+ };
322
+ var formParams = {
323
+ 'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
324
+ 'preamble': opts['preamble']
325
+ };
326
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
327
+ var contentTypes = ['multipart/form-data'];
328
+ var accepts = ['application/json'];
329
+ var returnType = _DataSheetImport["default"];
330
+ return this.apiClient.callApi('/graph/data/datasheetimport/{containerid}/{reltypeid}/{objecttypeid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
331
+ }
332
+ /**
333
+ * Callback function to receive the result of the createRelationshipDataSheetImport operation.
334
+ * @callback module:api/DataSheetImportsApi~createRelationshipDataSheetImportCallback
335
+ * @param {String} error Error message, if any.
336
+ * @param {module:model/DataSheetImport} data The data returned by the service call.
337
+ * @param {String} response The complete HTTP response.
338
+ */
339
+
340
+ /**
341
+ * Create a datasheet import for relationships
342
+ * Create a datasheet import for relationships
343
+ * @param {Number} containerid
344
+ * @param {Number} reltypeid
345
+ * @param {Number} objecttypeid
346
+ * @param {Object} opts Optional parameters
347
+ * @param {String} opts.authorization The authorization token of the logged in user
348
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
349
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
350
+ * @param {Array.<module:model/InputPart>} opts.parts
351
+ * @param {String} opts.preamble
352
+ * @param {module:api/DataSheetImportsApi~createRelationshipDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
353
+ * data is of type: {@link module:model/DataSheetImport}
354
+ */
355
+
356
+ }, {
357
+ key: "createRelationshipDataSheetImport",
358
+ value: function createRelationshipDataSheetImport(containerid, reltypeid, objecttypeid, opts, callback) {
359
+ opts = opts || {};
360
+ var postBody = null; // verify the required parameter 'containerid' is set
361
+
362
+ if (containerid === undefined || containerid === null) {
363
+ throw new Error("Missing the required parameter 'containerid' when calling createRelationshipDataSheetImport");
364
+ } // verify the required parameter 'reltypeid' is set
365
+
366
+
367
+ if (reltypeid === undefined || reltypeid === null) {
368
+ throw new Error("Missing the required parameter 'reltypeid' when calling createRelationshipDataSheetImport");
369
+ } // verify the required parameter 'objecttypeid' is set
370
+
371
+
372
+ if (objecttypeid === undefined || objecttypeid === null) {
373
+ throw new Error("Missing the required parameter 'objecttypeid' when calling createRelationshipDataSheetImport");
374
+ }
375
+
376
+ var pathParams = {
377
+ 'containerid': containerid,
378
+ 'reltypeid': reltypeid,
379
+ 'objecttypeid': objecttypeid
380
+ };
381
+ var queryParams = {};
382
+ var headerParams = {
383
+ 'Authorization': opts['authorization'],
384
+ 'zeusportal-postas': opts['zeusportalPostas'],
385
+ 'transactionid': opts['transactionid']
386
+ };
387
+ var formParams = {
388
+ 'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
389
+ 'preamble': opts['preamble']
390
+ };
391
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
392
+ var contentTypes = ['multipart/form-data'];
393
+ var accepts = ['application/json'];
394
+ var returnType = _DataSheetImport["default"];
395
+ return this.apiClient.callApi('/graph/data/datasheetimport/{containerid}/{reltypeid}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
396
+ }
397
+ /**
398
+ * Callback function to receive the result of the get28 operation.
399
+ * @callback module:api/DataSheetImportsApi~get28Callback
400
+ * @param {String} error Error message, if any.
401
+ * @param data This operation does not return a value.
402
+ * @param {String} response The complete HTTP response.
403
+ */
404
+
405
+ /**
406
+ * Root for the API
407
+ * @param {Object} opts Optional parameters
408
+ * @param {String} opts.authorization The authorization token of the logged in user
409
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
410
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
411
+ * @param {module:api/DataSheetImportsApi~get28Callback} callback The callback function, accepting three arguments: error, data, response
412
+ */
413
+
414
+ }, {
415
+ key: "get28",
416
+ value: function get28(opts, callback) {
417
+ opts = opts || {};
418
+ var postBody = null;
419
+ var pathParams = {};
420
+ var queryParams = {};
421
+ var headerParams = {
422
+ 'Authorization': opts['authorization'],
423
+ 'zeusportal-postas': opts['zeusportalPostas'],
424
+ 'transactionid': opts['transactionid']
425
+ };
426
+ var formParams = {};
427
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
428
+ var contentTypes = [];
429
+ var accepts = ['*/*'];
430
+ var returnType = null;
431
+ return this.apiClient.callApi('/graph/data/datasheetimport', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
432
+ }
433
+ /**
434
+ * Callback function to receive the result of the getDataSheetImportById operation.
435
+ * @callback module:api/DataSheetImportsApi~getDataSheetImportByIdCallback
436
+ * @param {String} error Error message, if any.
437
+ * @param {module:model/DataSheetImport} data The data returned by the service call.
438
+ * @param {String} response The complete HTTP response.
439
+ */
440
+
441
+ /**
442
+ * Gets the datasheet import specified by the given id
443
+ * Gets the mapping associated with the sheetprop
444
+ * @param {Number} dsimportid
445
+ * @param {Object} opts Optional parameters
446
+ * @param {String} opts.authorization The authorization token of the logged in user
447
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
448
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
449
+ * @param {module:api/DataSheetImportsApi~getDataSheetImportByIdCallback} callback The callback function, accepting three arguments: error, data, response
450
+ * data is of type: {@link module:model/DataSheetImport}
451
+ */
452
+
453
+ }, {
454
+ key: "getDataSheetImportById",
455
+ value: function getDataSheetImportById(dsimportid, opts, callback) {
456
+ opts = opts || {};
457
+ var postBody = null; // verify the required parameter 'dsimportid' is set
458
+
459
+ if (dsimportid === undefined || dsimportid === null) {
460
+ throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportById");
461
+ }
462
+
463
+ var pathParams = {
464
+ 'dsimportid': dsimportid
465
+ };
466
+ var queryParams = {};
467
+ var headerParams = {
468
+ 'Authorization': opts['authorization'],
469
+ 'zeusportal-postas': opts['zeusportalPostas'],
470
+ 'transactionid': opts['transactionid']
471
+ };
472
+ var formParams = {};
473
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
474
+ var contentTypes = [];
475
+ var accepts = ['application/json'];
476
+ var returnType = _DataSheetImport["default"];
477
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
478
+ }
479
+ /**
480
+ * Callback function to receive the result of the getDataSheetImportMapping operation.
481
+ * @callback module:api/DataSheetImportsApi~getDataSheetImportMappingCallback
482
+ * @param {String} error Error message, if any.
483
+ * @param {String} data The data returned by the service call.
484
+ * @param {String} response The complete HTTP response.
485
+ */
486
+
487
+ /**
488
+ * Gets the mapping associated with the sheetprop
489
+ * Gets the mapping associated with the sheetprop
490
+ * @param {Number} dsimportid
491
+ * @param {String} sheetprop
492
+ * @param {Object} opts Optional parameters
493
+ * @param {String} opts.authorization The authorization token of the logged in user
494
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
495
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
496
+ * @param {module:api/DataSheetImportsApi~getDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
497
+ * data is of type: {@link String}
498
+ */
499
+
500
+ }, {
501
+ key: "getDataSheetImportMapping",
502
+ value: function getDataSheetImportMapping(dsimportid, sheetprop, opts, callback) {
503
+ opts = opts || {};
504
+ var postBody = null; // verify the required parameter 'dsimportid' is set
505
+
506
+ if (dsimportid === undefined || dsimportid === null) {
507
+ throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportMapping");
508
+ } // verify the required parameter 'sheetprop' is set
509
+
510
+
511
+ if (sheetprop === undefined || sheetprop === null) {
512
+ throw new Error("Missing the required parameter 'sheetprop' when calling getDataSheetImportMapping");
513
+ }
514
+
515
+ var pathParams = {
516
+ 'dsimportid': dsimportid,
517
+ 'sheetprop': sheetprop
518
+ };
519
+ var queryParams = {};
520
+ var headerParams = {
521
+ 'Authorization': opts['authorization'],
522
+ 'zeusportal-postas': opts['zeusportalPostas'],
523
+ 'transactionid': opts['transactionid']
524
+ };
525
+ var formParams = {};
526
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
527
+ var contentTypes = [];
528
+ var accepts = ['text/plain'];
529
+ var returnType = 'String';
530
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
531
+ }
532
+ /**
533
+ * Callback function to receive the result of the getDataSheetImportPreview operation.
534
+ * @callback module:api/DataSheetImportsApi~getDataSheetImportPreviewCallback
535
+ * @param {String} error Error message, if any.
536
+ * @param {Array.<Object>} data The data returned by the service call.
537
+ * @param {String} response The complete HTTP response.
538
+ */
539
+
540
+ /**
541
+ * Gets the preview of the data being imported
542
+ * Gets the preview of the data being imported
543
+ * @param {Number} dsimportid
544
+ * @param {Object} opts Optional parameters
545
+ * @param {String} opts.authorization The authorization token of the logged in user
546
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
547
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
548
+ * @param {module:api/DataSheetImportsApi~getDataSheetImportPreviewCallback} callback The callback function, accepting three arguments: error, data, response
549
+ * data is of type: {@link Array.<Object>}
550
+ */
551
+
552
+ }, {
553
+ key: "getDataSheetImportPreview",
554
+ value: function getDataSheetImportPreview(dsimportid, opts, callback) {
555
+ opts = opts || {};
556
+ var postBody = null; // verify the required parameter 'dsimportid' is set
557
+
558
+ if (dsimportid === undefined || dsimportid === null) {
559
+ throw new Error("Missing the required parameter 'dsimportid' when calling getDataSheetImportPreview");
560
+ }
561
+
562
+ var pathParams = {
563
+ 'dsimportid': dsimportid
564
+ };
565
+ var queryParams = {};
566
+ var headerParams = {
567
+ 'Authorization': opts['authorization'],
568
+ 'zeusportal-postas': opts['zeusportalPostas'],
569
+ 'transactionid': opts['transactionid']
570
+ };
571
+ var formParams = {};
572
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
573
+ var contentTypes = [];
574
+ var accepts = ['application/json'];
575
+ var returnType = [Object];
576
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/preview', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
577
+ }
578
+ /**
579
+ * Callback function to receive the result of the removeDataSheetImportGeocodeMapping operation.
580
+ * @callback module:api/DataSheetImportsApi~removeDataSheetImportGeocodeMappingCallback
581
+ * @param {String} error Error message, if any.
582
+ * @param data This operation does not return a value.
583
+ * @param {String} response The complete HTTP response.
584
+ */
585
+
586
+ /**
587
+ * Removes the geolocation mapping field
588
+ * Removes the geolocation mapping field
589
+ * @param {Number} dsimportid
590
+ * @param {Object} opts Optional parameters
591
+ * @param {String} opts.authorization The authorization token of the logged in user
592
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
593
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
594
+ * @param {module:api/DataSheetImportsApi~removeDataSheetImportGeocodeMappingCallback} callback The callback function, accepting three arguments: error, data, response
595
+ */
596
+
597
+ }, {
598
+ key: "removeDataSheetImportGeocodeMapping",
599
+ value: function removeDataSheetImportGeocodeMapping(dsimportid, opts, callback) {
600
+ opts = opts || {};
601
+ var postBody = null; // verify the required parameter 'dsimportid' is set
602
+
603
+ if (dsimportid === undefined || dsimportid === null) {
604
+ throw new Error("Missing the required parameter 'dsimportid' when calling removeDataSheetImportGeocodeMapping");
605
+ }
606
+
607
+ var pathParams = {
608
+ 'dsimportid': dsimportid
609
+ };
610
+ var queryParams = {};
611
+ var headerParams = {
612
+ 'Authorization': opts['authorization'],
613
+ 'zeusportal-postas': opts['zeusportalPostas'],
614
+ 'transactionid': opts['transactionid']
615
+ };
616
+ var formParams = {};
617
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
618
+ var contentTypes = [];
619
+ var accepts = ['*/*'];
620
+ var returnType = null;
621
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/geolocateon', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
622
+ }
623
+ /**
624
+ * Callback function to receive the result of the removeDataSheetImportMapping operation.
625
+ * @callback module:api/DataSheetImportsApi~removeDataSheetImportMappingCallback
626
+ * @param {String} error Error message, if any.
627
+ * @param data This operation does not return a value.
628
+ * @param {String} response The complete HTTP response.
629
+ */
630
+
631
+ /**
632
+ * Removes the mapping associated with the sheetprop
633
+ * Removes the mapping associated with the sheetprop
634
+ * @param {Number} dsimportid
635
+ * @param {String} sheetprop
636
+ * @param {Object} opts Optional parameters
637
+ * @param {String} opts.authorization The authorization token of the logged in user
638
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
639
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
640
+ * @param {module:api/DataSheetImportsApi~removeDataSheetImportMappingCallback} callback The callback function, accepting three arguments: error, data, response
641
+ */
642
+
643
+ }, {
644
+ key: "removeDataSheetImportMapping",
645
+ value: function removeDataSheetImportMapping(dsimportid, sheetprop, opts, callback) {
646
+ opts = opts || {};
647
+ var postBody = null; // verify the required parameter 'dsimportid' is set
648
+
649
+ if (dsimportid === undefined || dsimportid === null) {
650
+ throw new Error("Missing the required parameter 'dsimportid' when calling removeDataSheetImportMapping");
651
+ } // verify the required parameter 'sheetprop' is set
652
+
653
+
654
+ if (sheetprop === undefined || sheetprop === null) {
655
+ throw new Error("Missing the required parameter 'sheetprop' when calling removeDataSheetImportMapping");
656
+ }
657
+
658
+ var pathParams = {
659
+ 'dsimportid': dsimportid,
660
+ 'sheetprop': sheetprop
661
+ };
662
+ var queryParams = {};
663
+ var headerParams = {
664
+ 'Authorization': opts['authorization'],
665
+ 'zeusportal-postas': opts['zeusportalPostas'],
666
+ 'transactionid': opts['transactionid']
667
+ };
668
+ var formParams = {};
669
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
670
+ var contentTypes = [];
671
+ var accepts = ['*/*'];
672
+ var returnType = null;
673
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
674
+ }
675
+ /**
676
+ * Callback function to receive the result of the runDataSheetImport operation.
677
+ * @callback module:api/DataSheetImportsApi~runDataSheetImportCallback
678
+ * @param {String} error Error message, if any.
679
+ * @param {module:model/DataSheetImportSummary} data The data returned by the service call.
680
+ * @param {String} response The complete HTTP response.
681
+ */
682
+
683
+ /**
684
+ * Run a datasheet import
685
+ * Run a datasheet import
686
+ * @param {Number} dsimportid
687
+ * @param {Object} opts Optional parameters
688
+ * @param {String} opts.authorization The authorization token of the logged in user
689
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
690
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
691
+ * @param {module:api/DataSheetImportsApi~runDataSheetImportCallback} callback The callback function, accepting three arguments: error, data, response
692
+ * data is of type: {@link module:model/DataSheetImportSummary}
693
+ */
694
+
695
+ }, {
696
+ key: "runDataSheetImport",
697
+ value: function runDataSheetImport(dsimportid, opts, callback) {
698
+ opts = opts || {};
699
+ var postBody = null; // verify the required parameter 'dsimportid' is set
700
+
701
+ if (dsimportid === undefined || dsimportid === null) {
702
+ throw new Error("Missing the required parameter 'dsimportid' when calling runDataSheetImport");
703
+ }
704
+
705
+ var pathParams = {
706
+ 'dsimportid': dsimportid
707
+ };
708
+ var queryParams = {};
709
+ var headerParams = {
710
+ 'Authorization': opts['authorization'],
711
+ 'zeusportal-postas': opts['zeusportalPostas'],
712
+ 'transactionid': opts['transactionid']
713
+ };
714
+ var formParams = {};
715
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
716
+ var contentTypes = [];
717
+ var accepts = ['application/json'];
718
+ var returnType = _DataSheetImportSummary["default"];
719
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/run', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
720
+ }
721
+ /**
722
+ * Callback function to receive the result of the setDataSheetImportPrivacy operation.
723
+ * @callback module:api/DataSheetImportsApi~setDataSheetImportPrivacyCallback
724
+ * @param {String} error Error message, if any.
725
+ * @param data This operation does not return a value.
726
+ * @param {String} response The complete HTTP response.
727
+ */
728
+
729
+ /**
730
+ * Sets the privacy settings of the generated objects from the import
731
+ * Sets the privacy settings of the generated objects from the import
732
+ * @param {Number} dsimportid
733
+ * @param {module:model/DataSheetImportPrivacySettings} dataSheetImportPrivacySettings Field to map to
734
+ * @param {Object} opts Optional parameters
735
+ * @param {String} opts.authorization The authorization token of the logged in user
736
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
737
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
738
+ * @param {module:api/DataSheetImportsApi~setDataSheetImportPrivacyCallback} callback The callback function, accepting three arguments: error, data, response
739
+ */
740
+
741
+ }, {
742
+ key: "setDataSheetImportPrivacy",
743
+ value: function setDataSheetImportPrivacy(dsimportid, dataSheetImportPrivacySettings, opts, callback) {
744
+ opts = opts || {};
745
+ var postBody = dataSheetImportPrivacySettings; // verify the required parameter 'dsimportid' is set
746
+
747
+ if (dsimportid === undefined || dsimportid === null) {
748
+ throw new Error("Missing the required parameter 'dsimportid' when calling setDataSheetImportPrivacy");
749
+ } // verify the required parameter 'dataSheetImportPrivacySettings' is set
750
+
751
+
752
+ if (dataSheetImportPrivacySettings === undefined || dataSheetImportPrivacySettings === null) {
753
+ throw new Error("Missing the required parameter 'dataSheetImportPrivacySettings' when calling setDataSheetImportPrivacy");
754
+ }
755
+
756
+ var pathParams = {
757
+ 'dsimportid': dsimportid
758
+ };
759
+ var queryParams = {};
760
+ var headerParams = {
761
+ 'Authorization': opts['authorization'],
762
+ 'zeusportal-postas': opts['zeusportalPostas'],
763
+ 'transactionid': opts['transactionid']
764
+ };
765
+ var formParams = {};
766
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
767
+ var contentTypes = ['application/json'];
768
+ var accepts = ['*/*'];
769
+ var returnType = null;
770
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/privacy', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
771
+ }
772
+ /**
773
+ * Callback function to receive the result of the updateDataSheetImportFile operation.
774
+ * @callback module:api/DataSheetImportsApi~updateDataSheetImportFileCallback
775
+ * @param {String} error Error message, if any.
776
+ * @param {module:model/DataSheetImport} data The data returned by the service call.
777
+ * @param {String} response The complete HTTP response.
778
+ */
779
+
780
+ /**
781
+ * Updates the file used by a datasheet import
782
+ * Create a datasheet import
783
+ * @param {Number} dsimportid
784
+ * @param {Object} opts Optional parameters
785
+ * @param {String} opts.authorization The authorization token of the logged in user
786
+ * @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
787
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
788
+ * @param {Array.<module:model/InputPart>} opts.parts
789
+ * @param {String} opts.preamble
790
+ * @param {module:api/DataSheetImportsApi~updateDataSheetImportFileCallback} callback The callback function, accepting three arguments: error, data, response
791
+ * data is of type: {@link module:model/DataSheetImport}
792
+ */
793
+
794
+ }, {
795
+ key: "updateDataSheetImportFile",
796
+ value: function updateDataSheetImportFile(dsimportid, opts, callback) {
797
+ opts = opts || {};
798
+ var postBody = null; // verify the required parameter 'dsimportid' is set
799
+
800
+ if (dsimportid === undefined || dsimportid === null) {
801
+ throw new Error("Missing the required parameter 'dsimportid' when calling updateDataSheetImportFile");
802
+ }
803
+
804
+ var pathParams = {
805
+ 'dsimportid': dsimportid
806
+ };
807
+ var queryParams = {};
808
+ var headerParams = {
809
+ 'Authorization': opts['authorization'],
810
+ 'zeusportal-postas': opts['zeusportalPostas'],
811
+ 'transactionid': opts['transactionid']
812
+ };
813
+ var formParams = {
814
+ 'parts': this.apiClient.buildCollectionParam(opts['parts'], 'csv'),
815
+ 'preamble': opts['preamble']
816
+ };
817
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
818
+ var contentTypes = ['multipart/form-data'];
819
+ var accepts = ['application/json'];
820
+ var returnType = _DataSheetImport["default"];
821
+ return this.apiClient.callApi('/graph/data/datasheetimport/{dsimportid}/datasheet', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
822
+ }
823
+ }]);
824
+
825
+ return DataSheetImportsApi;
826
+ }();
827
+
828
+ exports["default"] = DataSheetImportsApi;