@gobodo/gobodo-api 0.1.4 → 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.
Files changed (416) hide show
  1. package/README.md +25 -29
  2. package/dist/ApiClient.js +76 -139
  3. package/dist/api/ActionTypesApi.js +27 -27
  4. package/dist/api/AdCampaignsApi.js +84 -90
  5. package/dist/api/AdManagementApi.js +119 -129
  6. package/dist/api/AdminDataManagementApi.js +31 -31
  7. package/dist/api/AdsApi.js +67 -69
  8. package/dist/api/AttachmentsApi.js +70 -72
  9. package/dist/api/AuthenticationApi.js +45 -43
  10. package/dist/api/CategoriesApi.js +67 -72
  11. package/dist/api/CommentsApi.js +69 -76
  12. package/dist/api/ContentManagementApi.js +191 -225
  13. package/dist/api/ConversationsApi.js +67 -74
  14. package/dist/api/DataSheetImportsApi.js +151 -169
  15. package/dist/api/DefaultApi.js +106 -116
  16. package/dist/api/DocumentsApi.js +105 -121
  17. package/dist/api/EntryPartsApi.js +118 -137
  18. package/dist/api/FacebookApi.js +23 -21
  19. package/dist/api/FieldsApi.js +43 -47
  20. package/dist/api/FilesApi.js +35 -31
  21. package/dist/api/FormsApi.js +142 -165
  22. package/dist/api/FunctionsApi.js +32 -32
  23. package/dist/api/GeocodeApi.js +55 -62
  24. package/dist/api/GoogleApi.js +23 -21
  25. package/dist/api/GraphActionsApi.js +94 -106
  26. package/dist/api/GraphObjectTypesApi.js +86 -90
  27. package/dist/api/GraphObjectsApi.js +590 -606
  28. package/dist/api/GraphRelationshipTypesApi.js +157 -177
  29. package/dist/api/GraphRelationshipsApi.js +257 -296
  30. package/dist/api/GraphSchemasApi.js +75 -82
  31. package/dist/api/GraphTraversalApi.js +55 -64
  32. package/dist/api/GraphsApi.js +100 -116
  33. package/dist/api/GroupsApi.js +95 -108
  34. package/dist/api/IAMApi.js +52 -52
  35. package/dist/api/ImagesApi.js +85 -87
  36. package/dist/api/InvitesApi.js +49 -53
  37. package/dist/api/LikesApi.js +102 -114
  38. package/dist/api/LinkedINApi.js +23 -21
  39. package/dist/api/LiveMeetingsApi.js +43 -45
  40. package/dist/api/MeetingEventsApi.js +53 -58
  41. package/dist/api/PagesApi.js +82 -94
  42. package/dist/api/PostsApi.js +49 -52
  43. package/dist/api/PrivateMessagesApi.js +113 -129
  44. package/dist/api/PublicationsApi.js +25 -23
  45. package/dist/api/ScreensApi.js +39 -41
  46. package/dist/api/SocialIntegrationApi.js +35 -33
  47. package/dist/api/StripeAccountsApi.js +77 -91
  48. package/dist/api/TagsApi.js +28 -28
  49. package/dist/api/TemplatesApi.js +39 -41
  50. package/dist/api/ThemeMappingsApi.js +38 -40
  51. package/dist/api/TransactionsApi.js +26 -26
  52. package/dist/api/TwitterApi.js +23 -21
  53. package/dist/api/UserTagsApi.js +85 -97
  54. package/dist/api/UsersApi.js +75 -87
  55. package/dist/api/UtilsApi.js +22 -20
  56. package/dist/api/VideosApi.js +101 -115
  57. package/dist/index.js +350 -512
  58. package/dist/model/APIClient.js +67 -47
  59. package/dist/model/Article.js +110 -89
  60. package/dist/model/Authorization.js +45 -24
  61. package/dist/model/Comment.js +73 -61
  62. package/dist/model/Coordinates.js +32 -22
  63. package/dist/model/CreateAccountResponse.js +46 -25
  64. package/dist/model/CreateCustomerResponse.js +46 -25
  65. package/dist/model/CreateStripeAccountInput.js +47 -29
  66. package/dist/model/CreateStripeCustomerInput.js +41 -24
  67. package/dist/model/DataObject.js +32 -22
  68. package/dist/model/DataSheetImport.js +122 -85
  69. package/dist/model/DataSheetImportPrivacySettings.js +33 -24
  70. package/dist/model/DataSheetImportSummary.js +62 -28
  71. package/dist/model/Document.js +136 -94
  72. package/dist/model/DocumentPart.js +129 -84
  73. package/dist/model/DocumentPartType.js +67 -40
  74. package/dist/model/DocumentType.js +77 -54
  75. package/dist/model/FieldMapping.js +41 -30
  76. package/dist/model/Fields.js +93 -108
  77. package/dist/model/File.js +58 -44
  78. package/dist/model/FileAttachmentUploadObject.js +63 -58
  79. package/dist/model/Filter.js +40 -22
  80. package/dist/model/FilterManager.js +56 -23
  81. package/dist/model/Form.js +112 -47
  82. package/dist/model/FormSection.js +86 -33
  83. package/dist/model/FormSubmission.js +50 -32
  84. package/dist/model/Geocode.js +44 -28
  85. package/dist/model/GeocodePayload.js +42 -24
  86. package/dist/model/GeolocationInput.js +62 -30
  87. package/dist/model/Graph.js +77 -69
  88. package/dist/model/GraphAction.js +47 -39
  89. package/dist/model/GraphDatabaseService.js +43 -38
  90. package/dist/model/GraphGeocode.js +56 -35
  91. package/dist/model/GraphIteratorEntryPart.js +58 -24
  92. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
  93. package/dist/model/GraphObject.js +78 -55
  94. package/dist/model/GraphObjectPayload.js +86 -36
  95. package/dist/model/GraphObjectSchema.js +90 -62
  96. package/dist/model/GraphObjectType.js +91 -67
  97. package/dist/model/GraphObjectTypeSchema.js +110 -67
  98. package/dist/model/GraphOwner.js +37 -24
  99. package/dist/model/GraphRelation.js +48 -39
  100. package/dist/model/GraphRelationObjectObject.js +48 -39
  101. package/dist/model/GraphRelationship.js +48 -40
  102. package/dist/model/GraphRelationshipPayload.js +38 -26
  103. package/dist/model/GraphRelationshipType.js +100 -73
  104. package/dist/model/GraphSchema.js +89 -69
  105. package/dist/model/GraphTraversalInput.js +99 -60
  106. package/dist/model/Image.js +79 -61
  107. package/dist/model/ImageUploadObject.js +91 -73
  108. package/dist/model/InputPart.js +52 -36
  109. package/dist/model/InputPartMediaType.js +43 -28
  110. package/dist/model/Link.js +63 -35
  111. package/dist/model/LiveStreamInfo.js +45 -24
  112. package/dist/model/MeetingEvent.js +109 -76
  113. package/dist/model/MeetingEventTimezone.js +42 -26
  114. package/dist/model/MeetingInfo.js +48 -29
  115. package/dist/model/Member.js +108 -68
  116. package/dist/model/MemberGroupCategory.js +44 -30
  117. package/dist/model/MemberList.js +35 -39
  118. package/dist/model/MessageGroup.js +43 -30
  119. package/dist/model/MultipartBody.js +36 -22
  120. package/dist/model/Objecttype.js +104 -64
  121. package/dist/model/Page.js +60 -47
  122. package/dist/model/PageSchema.js +79 -65
  123. package/dist/model/Pageable.js +41 -31
  124. package/dist/model/Path.js +36 -21
  125. package/dist/model/PaymentIntentInput.js +38 -26
  126. package/dist/model/PaymentIntentResponse.js +40 -22
  127. package/dist/model/PaymentMethod.js +52 -30
  128. package/dist/model/Post.js +60 -47
  129. package/dist/model/PrivateMessage.js +78 -62
  130. package/dist/model/PrivateMessageConversation.js +118 -81
  131. package/dist/model/PrivateMessageConversationSchema.js +75 -28
  132. package/dist/model/Profile.js +44 -28
  133. package/dist/model/Profiletype.js +63 -28
  134. package/dist/model/PropertyContainer.js +38 -25
  135. package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
  136. package/dist/model/RelationshipMapping.js +71 -35
  137. package/dist/model/ScreenSchema.js +230 -89
  138. package/dist/model/SimulcastInfo.js +45 -24
  139. package/dist/model/SkinField.js +93 -108
  140. package/dist/model/SocialGroup.js +91 -69
  141. package/dist/model/SocialGroupType.js +61 -37
  142. package/dist/model/Sort.js +33 -24
  143. package/dist/model/StatusUpdate.js +53 -42
  144. package/dist/model/StreetAddress.js +55 -28
  145. package/dist/model/StripeAccount.js +43 -28
  146. package/dist/model/StripeCustomerAccount.js +43 -28
  147. package/dist/model/Template.js +49 -32
  148. package/dist/model/TemplateSchema.js +50 -35
  149. package/dist/model/ThemeMapping.js +50 -32
  150. package/dist/model/ThemeMappingPayload.js +45 -31
  151. package/dist/model/Transaction.js +40 -22
  152. package/dist/model/User.js +108 -68
  153. package/dist/model/UserDataPayload.js +108 -68
  154. package/dist/model/UserDomain.js +46 -26
  155. package/dist/model/UserInvite.js +66 -43
  156. package/dist/model/UserInviteInput.js +52 -30
  157. package/dist/model/UserSchema.js +108 -68
  158. package/dist/model/UserTag.js +51 -32
  159. package/dist/model/Video.js +104 -85
  160. package/dist/model/VideoLiveUrl.js +46 -28
  161. package/dist/model/VideoSchema.js +122 -98
  162. package/dist/model/VideoUploadObject.js +129 -83
  163. package/dist/model/ZeusPortalCategory.js +72 -45
  164. package/package.json +3 -3
  165. package/dist/model/Account.js +0 -315
  166. package/dist/model/AchCreditTransfer.js +0 -122
  167. package/dist/model/AchDebit.js +0 -140
  168. package/dist/model/AcssDebit.js +0 -106
  169. package/dist/model/AddInvoiceItem.js +0 -126
  170. package/dist/model/Address.js +0 -140
  171. package/dist/model/Affirm.js +0 -104
  172. package/dist/model/AfterpayClearpay.js +0 -113
  173. package/dist/model/Alipay.js +0 -95
  174. package/dist/model/AlternateStatementDescriptors.js +0 -104
  175. package/dist/model/Alternative.js +0 -104
  176. package/dist/model/AmexExpressCheckout.js +0 -86
  177. package/dist/model/AmountDetails.js +0 -97
  178. package/dist/model/ApplePay.js +0 -86
  179. package/dist/model/Application.js +0 -122
  180. package/dist/model/ApplicationFee.js +0 -267
  181. package/dist/model/AppliesTo.js +0 -95
  182. package/dist/model/AuBecsDebit.js +0 -95
  183. package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
  184. package/dist/model/AutomaticTax.js +0 -95
  185. package/dist/model/BacsDebit.js +0 -95
  186. package/dist/model/BacsDebitPayments.js +0 -95
  187. package/dist/model/BalanceSettings.js +0 -95
  188. package/dist/model/BalanceTransaction.js +0 -234
  189. package/dist/model/BalanceTransactionSource.js +0 -84
  190. package/dist/model/Bancontact.js +0 -180
  191. package/dist/model/BankTransfer.js +0 -106
  192. package/dist/model/BillingDetails.js +0 -124
  193. package/dist/model/BillingThresholds.js +0 -95
  194. package/dist/model/Blik.js +0 -86
  195. package/dist/model/BlikMandateOptions.js +0 -115
  196. package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
  197. package/dist/model/Boleto.js +0 -95
  198. package/dist/model/Breakdown.js +0 -108
  199. package/dist/model/BusinessProfile.js +0 -160
  200. package/dist/model/Capabilities.js +0 -383
  201. package/dist/model/Card.js +0 -247
  202. package/dist/model/CardPresent.js +0 -268
  203. package/dist/model/CashBalance.js +0 -135
  204. package/dist/model/Charge.js +0 -706
  205. package/dist/model/ChargeCollection.js +0 -146
  206. package/dist/model/Checks.js +0 -113
  207. package/dist/model/Company.js +0 -238
  208. package/dist/model/Computed.js +0 -108
  209. package/dist/model/Controller.js +0 -104
  210. package/dist/model/Coupon.js +0 -256
  211. package/dist/model/CreateAccountResponseFailureException.js +0 -117
  212. package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
  213. package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
  214. package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
  215. package/dist/model/CreditedItems.js +0 -104
  216. package/dist/model/CurrencyOption.js +0 -135
  217. package/dist/model/CurrentPhase.js +0 -104
  218. package/dist/model/CustomField.js +0 -104
  219. package/dist/model/CustomUnitAmount.js +0 -113
  220. package/dist/model/Customer.js +0 -400
  221. package/dist/model/CustomerAcceptance.js +0 -126
  222. package/dist/model/CustomerBalance.js +0 -86
  223. package/dist/model/CustomerNotification.js +0 -104
  224. package/dist/model/CustomerTaxId.js +0 -104
  225. package/dist/model/DateOfBirth.js +0 -113
  226. package/dist/model/DeclineChargeOn.js +0 -104
  227. package/dist/model/DefaultSettings.js +0 -177
  228. package/dist/model/Discount.js +0 -104
  229. package/dist/model/DiscountAmount.js +0 -115
  230. package/dist/model/Dispute.js +0 -260
  231. package/dist/model/EmailSent.js +0 -104
  232. package/dist/model/Eps.js +0 -104
  233. package/dist/model/Errors.js +0 -113
  234. package/dist/model/EuBankTransfer.js +0 -95
  235. package/dist/model/Evidence.js +0 -410
  236. package/dist/model/EvidenceDetails.js +0 -122
  237. package/dist/model/ExternalAccount.js +0 -84
  238. package/dist/model/ExternalAccountCollection.js +0 -146
  239. package/dist/model/Familymart.js +0 -104
  240. package/dist/model/Fee.js +0 -131
  241. package/dist/model/FeeRefund.js +0 -182
  242. package/dist/model/FeeRefundCollection.js +0 -146
  243. package/dist/model/FileAttachmentUpload.js +0 -88
  244. package/dist/model/FileLink.js +0 -178
  245. package/dist/model/FileLinkCollection.js +0 -146
  246. package/dist/model/FinancialAddress.js +0 -148
  247. package/dist/model/FinancialConnections.js +0 -95
  248. package/dist/model/Fpx.js +0 -113
  249. package/dist/model/FraudDetails.js +0 -104
  250. package/dist/model/FromQuote.js +0 -115
  251. package/dist/model/FutureRequirements.js +0 -144
  252. package/dist/model/GeneratedFrom.js +0 -126
  253. package/dist/model/Giropay.js +0 -122
  254. package/dist/model/GooglePay.js +0 -86
  255. package/dist/model/Grabpay.js +0 -95
  256. package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
  257. package/dist/model/GraphObjectDescriptorSchema.js +0 -179
  258. package/dist/model/Iban.js +0 -122
  259. package/dist/model/Ideal.js +0 -162
  260. package/dist/model/ImageUpload.js +0 -88
  261. package/dist/model/InlineObject.js +0 -124
  262. package/dist/model/InlineObject1.js +0 -124
  263. package/dist/model/InlineObject2.js +0 -124
  264. package/dist/model/InlineObject3.js +0 -124
  265. package/dist/model/InlineObject4.js +0 -124
  266. package/dist/model/InlineObject5.js +0 -124
  267. package/dist/model/InlineResponseDefault.js +0 -124
  268. package/dist/model/Installments.js +0 -97
  269. package/dist/model/InteracPresent.js +0 -241
  270. package/dist/model/Invoice.js +0 -925
  271. package/dist/model/InvoiceLineItem.js +0 -329
  272. package/dist/model/InvoiceLineItemCollection.js +0 -146
  273. package/dist/model/InvoiceLineItemPeriod.js +0 -104
  274. package/dist/model/InvoiceSettings.js +0 -95
  275. package/dist/model/JapanAddress.js +0 -149
  276. package/dist/model/JsonArray.js +0 -252
  277. package/dist/model/JsonNull.js +0 -252
  278. package/dist/model/JsonObject.js +0 -252
  279. package/dist/model/JsonPrimitive.js +0 -288
  280. package/dist/model/Klarna.js +0 -104
  281. package/dist/model/Konbini.js +0 -97
  282. package/dist/model/Lawson.js +0 -104
  283. package/dist/model/Level3.js +0 -142
  284. package/dist/model/LineItem.js +0 -220
  285. package/dist/model/LineItemCollection.js +0 -146
  286. package/dist/model/Location.js +0 -113
  287. package/dist/model/Mandate.js +0 -195
  288. package/dist/model/MandateOptions.js +0 -95
  289. package/dist/model/Masterpass.js +0 -124
  290. package/dist/model/Ministop.js +0 -104
  291. package/dist/model/MultiUse.js +0 -86
  292. package/dist/model/Multibanco.js +0 -104
  293. package/dist/model/MultipartFormDataInput.js +0 -108
  294. package/dist/model/Networks.js +0 -104
  295. package/dist/model/NextAction.js +0 -249
  296. package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
  297. package/dist/model/NextActionCardAwaitNotification.js +0 -104
  298. package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
  299. package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
  300. package/dist/model/NextActionDisplayDetails.js +0 -106
  301. package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
  302. package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
  303. package/dist/model/NextActionRedirectToUrl.js +0 -104
  304. package/dist/model/Offline.js +0 -86
  305. package/dist/model/Online.js +0 -104
  306. package/dist/model/Outcome.js +0 -160
  307. package/dist/model/OwnershipDeclaration.js +0 -113
  308. package/dist/model/Oxxo.js +0 -95
  309. package/dist/model/P24.js +0 -113
  310. package/dist/model/PackageDimensions.js +0 -122
  311. package/dist/model/PauseCollection.js +0 -104
  312. package/dist/model/PaymentIntent.js +0 -534
  313. package/dist/model/PaymentMethodDetails.js +0 -480
  314. package/dist/model/PaymentMethodOptions.js +0 -152
  315. package/dist/model/PaymentSettings.js +0 -115
  316. package/dist/model/PaymentSource.js +0 -84
  317. package/dist/model/PaymentSourceCollection.js +0 -146
  318. package/dist/model/Paynow.js +0 -95
  319. package/dist/model/PaynowDisplayQrCode.js +0 -113
  320. package/dist/model/PayoutSchedule.js +0 -122
  321. package/dist/model/PendingInvoiceItemInterval.js +0 -104
  322. package/dist/model/PendingUpdate.js +0 -133
  323. package/dist/model/Person.js +0 -381
  324. package/dist/model/Phase.js +0 -286
  325. package/dist/model/PhaseItem.js +0 -157
  326. package/dist/model/Plan.js +0 -292
  327. package/dist/model/Price.js +0 -309
  328. package/dist/model/Processing.js +0 -106
  329. package/dist/model/Product.js +0 -310
  330. package/dist/model/PromotionCode.js +0 -220
  331. package/dist/model/Promptpay.js +0 -95
  332. package/dist/model/PromptpayDisplayQrCode.js +0 -122
  333. package/dist/model/ProrationDetails.js +0 -97
  334. package/dist/model/Quote.js +0 -520
  335. package/dist/model/RadarOptions.js +0 -95
  336. package/dist/model/Receipt.js +0 -167
  337. package/dist/model/Recurring.js +0 -133
  338. package/dist/model/Refund.js +0 -332
  339. package/dist/model/RefundCollection.js +0 -146
  340. package/dist/model/Relationship.js +0 -140
  341. package/dist/model/RenderingOptions.js +0 -95
  342. package/dist/model/RequestOptions.js +0 -167
  343. package/dist/model/RequestOptionsProxyCredential.js +0 -84
  344. package/dist/model/Requirements.js +0 -162
  345. package/dist/model/Restrictions.js +0 -126
  346. package/dist/model/Review.js +0 -238
  347. package/dist/model/Rule.js +0 -113
  348. package/dist/model/SamsungPay.js +0 -86
  349. package/dist/model/Seicomart.js +0 -104
  350. package/dist/model/SepaCreditTransfer.js +0 -113
  351. package/dist/model/SepaDebit.js +0 -142
  352. package/dist/model/SepaDebitMandateOptions.js +0 -86
  353. package/dist/model/SepaDebitPayments.js +0 -95
  354. package/dist/model/Session.js +0 -122
  355. package/dist/model/Settings.js +0 -185
  356. package/dist/model/SettingsBranding.js +0 -140
  357. package/dist/model/SettingsCardIssuing.js +0 -97
  358. package/dist/model/SettingsCardPayments.js +0 -124
  359. package/dist/model/SettingsDashboard.js +0 -104
  360. package/dist/model/SettingsPayments.js +0 -131
  361. package/dist/model/SettingsPayouts.js +0 -115
  362. package/dist/model/SettingsTreasury.js +0 -97
  363. package/dist/model/SetupAttempt.js +0 -280
  364. package/dist/model/SetupIntent.js +0 -376
  365. package/dist/model/ShippingDetails.js +0 -133
  366. package/dist/model/SingleUse.js +0 -104
  367. package/dist/model/Sofort.js +0 -189
  368. package/dist/model/SortCode.js +0 -113
  369. package/dist/model/Spei.js +0 -113
  370. package/dist/model/StatusTransitions.js +0 -113
  371. package/dist/model/Store.js +0 -95
  372. package/dist/model/Stores.js +0 -130
  373. package/dist/model/StripeError.js +0 -202
  374. package/dist/model/Subscription.js +0 -556
  375. package/dist/model/SubscriptionCollection.js +0 -146
  376. package/dist/model/SubscriptionData.js +0 -104
  377. package/dist/model/SubscriptionItem.js +0 -195
  378. package/dist/model/SubscriptionItemCollection.js +0 -146
  379. package/dist/model/SubscriptionSchedule.js +0 -300
  380. package/dist/model/Tax.js +0 -115
  381. package/dist/model/TaxAmount.js +0 -124
  382. package/dist/model/TaxCode.js +0 -122
  383. package/dist/model/TaxId.js +0 -189
  384. package/dist/model/TaxIdCollection.js +0 -146
  385. package/dist/model/TaxRate.js +0 -214
  386. package/dist/model/TestClock.js +0 -167
  387. package/dist/model/ThreeDSecure.js +0 -122
  388. package/dist/model/ThreeDSecureUsage.js +0 -95
  389. package/dist/model/ThresholdItemReason.js +0 -104
  390. package/dist/model/ThresholdReason.js +0 -106
  391. package/dist/model/Tier.js +0 -131
  392. package/dist/model/Tip.js +0 -95
  393. package/dist/model/TosAcceptance.js +0 -122
  394. package/dist/model/TotalDetails.js +0 -124
  395. package/dist/model/Transfer.js +0 -285
  396. package/dist/model/TransferData.js +0 -124
  397. package/dist/model/TransferReversal.js +0 -220
  398. package/dist/model/TransferReversalCollection.js +0 -146
  399. package/dist/model/TransformQuantity.js +0 -104
  400. package/dist/model/TransformUsage.js +0 -104
  401. package/dist/model/TraversalQuery.js +0 -209
  402. package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
  403. package/dist/model/USBankAccount.js +0 -140
  404. package/dist/model/Upfront.js +0 -126
  405. package/dist/model/Verification.js +0 -113
  406. package/dist/model/VerificationDocument.js +0 -140
  407. package/dist/model/VerifyWithMicrodeposits.js +0 -113
  408. package/dist/model/VideoUpload.js +0 -88
  409. package/dist/model/VisaCheckout.js +0 -124
  410. package/dist/model/Wallet.js +0 -170
  411. package/dist/model/Wechat.js +0 -86
  412. package/dist/model/WechatPay.js +0 -104
  413. package/dist/model/WechatPayDisplayQrCode.js +0 -122
  414. package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
  415. package/dist/model/WechatPayRedirectToIosApp.js +0 -95
  416. package/dist/model/Zengin.js +0 -149
@@ -4,23 +4,30 @@ 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 _GeolocationInput = _interopRequireDefault(require("./GeolocationInput"));
11
-
12
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
-
10
+ 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); }
14
11
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
-
16
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
-
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
19
-
12
+ 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); } }
13
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
+ 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); } /**
16
+ * Gobodo API
17
+ * REST Interface for Gobodo API
18
+ *
19
+ * The version of the OpenAPI document: 0.1.6
20
+ * Contact: info@gobodo.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
20
27
  /**
21
28
  * The GraphTraversalInput model module.
22
29
  * @module model/GraphTraversalInput
23
- * @version 0.1.4
30
+ * @version 0.1.6
24
31
  */
25
32
  var GraphTraversalInput = /*#__PURE__*/function () {
26
33
  /**
@@ -29,19 +36,18 @@ var GraphTraversalInput = /*#__PURE__*/function () {
29
36
  */
30
37
  function GraphTraversalInput() {
31
38
  _classCallCheck(this, GraphTraversalInput);
32
-
33
39
  GraphTraversalInput.initialize(this);
34
40
  }
41
+
35
42
  /**
36
43
  * Initializes the fields of this object.
37
44
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38
45
  * Only for internal use.
39
46
  */
40
-
41
-
42
47
  _createClass(GraphTraversalInput, null, [{
43
48
  key: "initialize",
44
49
  value: function initialize(obj) {}
50
+
45
51
  /**
46
52
  * Constructs a <code>GraphTraversalInput</code> from a plain JavaScript object, optionally creating a new instance.
47
53
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -49,216 +55,249 @@ var GraphTraversalInput = /*#__PURE__*/function () {
49
55
  * @param {module:model/GraphTraversalInput} obj Optional instance to populate.
50
56
  * @return {module:model/GraphTraversalInput} The populated <code>GraphTraversalInput</code> instance.
51
57
  */
52
-
53
58
  }, {
54
59
  key: "constructFromObject",
55
60
  value: function constructFromObject(data, obj) {
56
61
  if (data) {
57
62
  obj = obj || new GraphTraversalInput();
58
-
59
63
  if (data.hasOwnProperty('graphId')) {
60
64
  obj['graphId'] = _ApiClient["default"].convertToType(data['graphId'], 'Number');
61
65
  }
62
-
63
66
  if (data.hasOwnProperty('startObjectId')) {
64
67
  obj['startObjectId'] = _ApiClient["default"].convertToType(data['startObjectId'], 'Number');
65
68
  }
66
-
67
69
  if (data.hasOwnProperty('endObjectId')) {
68
70
  obj['endObjectId'] = _ApiClient["default"].convertToType(data['endObjectId'], 'Number');
69
71
  }
70
-
71
72
  if (data.hasOwnProperty('startObjectTypes')) {
72
73
  obj['startObjectTypes'] = _ApiClient["default"].convertToType(data['startObjectTypes'], ['String']);
73
74
  }
74
-
75
75
  if (data.hasOwnProperty('endObjectTypes')) {
76
76
  obj['endObjectTypes'] = _ApiClient["default"].convertToType(data['endObjectTypes'], ['String']);
77
77
  }
78
-
79
78
  if (data.hasOwnProperty('excludeObjectTypes')) {
80
79
  obj['excludeObjectTypes'] = _ApiClient["default"].convertToType(data['excludeObjectTypes'], ['String']);
81
80
  }
82
-
83
81
  if (data.hasOwnProperty('relationshipTypes')) {
84
82
  obj['relationshipTypes'] = _ApiClient["default"].convertToType(data['relationshipTypes'], ['String']);
85
83
  }
86
-
87
84
  if (data.hasOwnProperty('actionTypes')) {
88
85
  obj['actionTypes'] = _ApiClient["default"].convertToType(data['actionTypes'], ['String']);
89
86
  }
90
-
91
87
  if (data.hasOwnProperty('startGeoLocation')) {
92
88
  obj['startGeoLocation'] = _GeolocationInput["default"].constructFromObject(data['startGeoLocation']);
93
89
  }
94
-
95
90
  if (data.hasOwnProperty('endGeoLocation')) {
96
91
  obj['endGeoLocation'] = _GeolocationInput["default"].constructFromObject(data['endGeoLocation']);
97
92
  }
98
-
99
93
  if (data.hasOwnProperty('direction')) {
100
94
  obj['direction'] = _ApiClient["default"].convertToType(data['direction'], 'String');
101
95
  }
102
-
103
96
  if (data.hasOwnProperty('appendTo')) {
104
97
  obj['appendTo'] = GraphTraversalInput.constructFromObject(data['appendTo']);
105
98
  }
106
-
107
99
  if (data.hasOwnProperty('unionWith')) {
108
100
  obj['unionWith'] = GraphTraversalInput.constructFromObject(data['unionWith']);
109
101
  }
110
-
111
102
  if (data.hasOwnProperty('intersectionWith')) {
112
103
  obj['intersectionWith'] = GraphTraversalInput.constructFromObject(data['intersectionWith']);
113
104
  }
114
-
115
105
  if (data.hasOwnProperty('shortestPath')) {
116
106
  obj['shortestPath'] = _ApiClient["default"].convertToType(data['shortestPath'], 'Boolean');
117
107
  }
118
-
119
108
  if (data.hasOwnProperty('minPathLength')) {
120
109
  obj['minPathLength'] = _ApiClient["default"].convertToType(data['minPathLength'], 'Number');
121
110
  }
122
-
123
111
  if (data.hasOwnProperty('maxPathLength')) {
124
112
  obj['maxPathLength'] = _ApiClient["default"].convertToType(data['maxPathLength'], 'Number');
125
113
  }
126
-
127
114
  if (data.hasOwnProperty('startIndex')) {
128
115
  obj['startIndex'] = _ApiClient["default"].convertToType(data['startIndex'], 'Number');
129
116
  }
130
-
131
117
  if (data.hasOwnProperty('count')) {
132
118
  obj['count'] = _ApiClient["default"].convertToType(data['count'], 'Number');
133
119
  }
134
120
  }
135
-
136
121
  return obj;
137
122
  }
138
- }]);
139
123
 
124
+ /**
125
+ * Validates the JSON data with respect to <code>GraphTraversalInput</code>.
126
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
127
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphTraversalInput</code>.
128
+ */
129
+ }, {
130
+ key: "validateJSON",
131
+ value: function validateJSON(data) {
132
+ // ensure the json data is an array
133
+ if (!Array.isArray(data['startObjectTypes'])) {
134
+ throw new Error("Expected the field `startObjectTypes` to be an array in the JSON data but got " + data['startObjectTypes']);
135
+ }
136
+ // ensure the json data is an array
137
+ if (!Array.isArray(data['endObjectTypes'])) {
138
+ throw new Error("Expected the field `endObjectTypes` to be an array in the JSON data but got " + data['endObjectTypes']);
139
+ }
140
+ // ensure the json data is an array
141
+ if (!Array.isArray(data['excludeObjectTypes'])) {
142
+ throw new Error("Expected the field `excludeObjectTypes` to be an array in the JSON data but got " + data['excludeObjectTypes']);
143
+ }
144
+ // ensure the json data is an array
145
+ if (!Array.isArray(data['relationshipTypes'])) {
146
+ throw new Error("Expected the field `relationshipTypes` to be an array in the JSON data but got " + data['relationshipTypes']);
147
+ }
148
+ // ensure the json data is an array
149
+ if (!Array.isArray(data['actionTypes'])) {
150
+ throw new Error("Expected the field `actionTypes` to be an array in the JSON data but got " + data['actionTypes']);
151
+ }
152
+ // validate the optional field `startGeoLocation`
153
+ if (data['startGeoLocation']) {
154
+ // data not null
155
+ _GeolocationInput["default"].validateJSON(data['startGeoLocation']);
156
+ }
157
+ // validate the optional field `endGeoLocation`
158
+ if (data['endGeoLocation']) {
159
+ // data not null
160
+ _GeolocationInput["default"].validateJSON(data['endGeoLocation']);
161
+ }
162
+ // ensure the json data is a string
163
+ if (data['direction'] && !(typeof data['direction'] === 'string' || data['direction'] instanceof String)) {
164
+ throw new Error("Expected the field `direction` to be a primitive type in the JSON string but got " + data['direction']);
165
+ }
166
+ // validate the optional field `appendTo`
167
+ if (data['appendTo']) {
168
+ // data not null
169
+ GraphTraversalInput.validateJSON(data['appendTo']);
170
+ }
171
+ // validate the optional field `unionWith`
172
+ if (data['unionWith']) {
173
+ // data not null
174
+ GraphTraversalInput.validateJSON(data['unionWith']);
175
+ }
176
+ // validate the optional field `intersectionWith`
177
+ if (data['intersectionWith']) {
178
+ // data not null
179
+ GraphTraversalInput.validateJSON(data['intersectionWith']);
180
+ }
181
+ return true;
182
+ }
183
+ }]);
140
184
  return GraphTraversalInput;
141
185
  }();
142
186
  /**
143
187
  * @member {Number} graphId
144
188
  */
145
-
146
-
147
189
  GraphTraversalInput.prototype['graphId'] = undefined;
190
+
148
191
  /**
149
192
  * @member {Number} startObjectId
150
193
  */
151
-
152
194
  GraphTraversalInput.prototype['startObjectId'] = undefined;
195
+
153
196
  /**
154
197
  * @member {Number} endObjectId
155
198
  */
156
-
157
199
  GraphTraversalInput.prototype['endObjectId'] = undefined;
200
+
158
201
  /**
159
202
  * @member {Array.<String>} startObjectTypes
160
203
  */
161
-
162
204
  GraphTraversalInput.prototype['startObjectTypes'] = undefined;
205
+
163
206
  /**
164
207
  * @member {Array.<String>} endObjectTypes
165
208
  */
166
-
167
209
  GraphTraversalInput.prototype['endObjectTypes'] = undefined;
210
+
168
211
  /**
169
212
  * @member {Array.<String>} excludeObjectTypes
170
213
  */
171
-
172
214
  GraphTraversalInput.prototype['excludeObjectTypes'] = undefined;
215
+
173
216
  /**
174
217
  * @member {Array.<String>} relationshipTypes
175
218
  */
176
-
177
219
  GraphTraversalInput.prototype['relationshipTypes'] = undefined;
220
+
178
221
  /**
179
222
  * @member {Array.<String>} actionTypes
180
223
  */
181
-
182
224
  GraphTraversalInput.prototype['actionTypes'] = undefined;
225
+
183
226
  /**
184
227
  * @member {module:model/GeolocationInput} startGeoLocation
185
228
  */
186
-
187
229
  GraphTraversalInput.prototype['startGeoLocation'] = undefined;
230
+
188
231
  /**
189
232
  * @member {module:model/GeolocationInput} endGeoLocation
190
233
  */
191
-
192
234
  GraphTraversalInput.prototype['endGeoLocation'] = undefined;
235
+
193
236
  /**
194
237
  * @member {module:model/GraphTraversalInput.DirectionEnum} direction
195
238
  */
196
-
197
239
  GraphTraversalInput.prototype['direction'] = undefined;
240
+
198
241
  /**
199
242
  * @member {module:model/GraphTraversalInput} appendTo
200
243
  */
201
-
202
244
  GraphTraversalInput.prototype['appendTo'] = undefined;
245
+
203
246
  /**
204
247
  * @member {module:model/GraphTraversalInput} unionWith
205
248
  */
206
-
207
249
  GraphTraversalInput.prototype['unionWith'] = undefined;
250
+
208
251
  /**
209
252
  * @member {module:model/GraphTraversalInput} intersectionWith
210
253
  */
211
-
212
254
  GraphTraversalInput.prototype['intersectionWith'] = undefined;
255
+
213
256
  /**
214
257
  * @member {Boolean} shortestPath
215
258
  */
216
-
217
259
  GraphTraversalInput.prototype['shortestPath'] = undefined;
260
+
218
261
  /**
219
262
  * @member {Number} minPathLength
220
263
  */
221
-
222
264
  GraphTraversalInput.prototype['minPathLength'] = undefined;
265
+
223
266
  /**
224
267
  * @member {Number} maxPathLength
225
268
  */
226
-
227
269
  GraphTraversalInput.prototype['maxPathLength'] = undefined;
270
+
228
271
  /**
229
272
  * @member {Number} startIndex
230
273
  */
231
-
232
274
  GraphTraversalInput.prototype['startIndex'] = undefined;
275
+
233
276
  /**
234
277
  * @member {Number} count
235
278
  */
236
-
237
279
  GraphTraversalInput.prototype['count'] = undefined;
280
+
238
281
  /**
239
282
  * Allowed values for the <code>direction</code> property.
240
283
  * @enum {String}
241
284
  * @readonly
242
285
  */
243
-
244
286
  GraphTraversalInput['DirectionEnum'] = {
245
287
  /**
246
288
  * value: "INCOMING"
247
289
  * @const
248
290
  */
249
291
  "INCOMING": "INCOMING",
250
-
251
292
  /**
252
293
  * value: "OUTGOING"
253
294
  * @const
254
295
  */
255
296
  "OUTGOING": "OUTGOING",
256
-
257
297
  /**
258
298
  * value: "BOTH"
259
299
  * @const
260
300
  */
261
301
  "BOTH": "BOTH"
262
302
  };
263
- var _default = GraphTraversalInput;
264
- exports["default"] = _default;
303
+ var _default = exports["default"] = GraphTraversalInput;
@@ -4,21 +4,29 @@ 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
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
-
9
+ 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); }
12
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
-
14
- 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); } }
15
-
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
17
-
11
+ 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); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
+ 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); } /**
15
+ * Gobodo API
16
+ * REST Interface for Gobodo API
17
+ *
18
+ * The version of the OpenAPI document: 0.1.6
19
+ * Contact: info@gobodo.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
18
26
  /**
19
27
  * The Image model module.
20
28
  * @module model/Image
21
- * @version 0.1.4
29
+ * @version 0.1.6
22
30
  */
23
31
  var Image = /*#__PURE__*/function () {
24
32
  /**
@@ -27,19 +35,18 @@ var Image = /*#__PURE__*/function () {
27
35
  */
28
36
  function Image() {
29
37
  _classCallCheck(this, Image);
30
-
31
38
  Image.initialize(this);
32
39
  }
40
+
33
41
  /**
34
42
  * Initializes the fields of this object.
35
43
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
44
  * Only for internal use.
37
45
  */
38
-
39
-
40
46
  _createClass(Image, null, [{
41
47
  key: "initialize",
42
48
  value: function initialize(obj) {}
49
+
43
50
  /**
44
51
  * Constructs a <code>Image</code> from a plain JavaScript object, optionally creating a new instance.
45
52
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -47,146 +54,157 @@ var Image = /*#__PURE__*/function () {
47
54
  * @param {module:model/Image} obj Optional instance to populate.
48
55
  * @return {module:model/Image} The populated <code>Image</code> instance.
49
56
  */
50
-
51
57
  }, {
52
58
  key: "constructFromObject",
53
59
  value: function constructFromObject(data, obj) {
54
60
  if (data) {
55
61
  obj = obj || new Image();
56
-
57
62
  if (data.hasOwnProperty('name')) {
58
63
  obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
59
64
  }
60
-
61
65
  if (data.hasOwnProperty('size')) {
62
66
  obj['size'] = _ApiClient["default"].convertToType(data['size'], 'Number');
63
67
  }
64
-
65
68
  if (data.hasOwnProperty('content')) {
66
69
  obj['content'] = _ApiClient["default"].convertToType(data['content'], Object);
67
70
  }
68
-
69
- if (data.hasOwnProperty('contenttype')) {
70
- obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
71
- }
72
-
73
71
  if (data.hasOwnProperty('description')) {
74
72
  obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
75
73
  }
76
-
77
74
  if (data.hasOwnProperty('creator')) {
78
75
  obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'Number');
79
76
  }
80
-
81
- if (data.hasOwnProperty('imageurl')) {
82
- obj['imageurl'] = _ApiClient["default"].convertToType(data['imageurl'], 'String');
83
- }
84
-
85
77
  if (data.hasOwnProperty('height')) {
86
78
  obj['height'] = _ApiClient["default"].convertToType(data['height'], 'Number');
87
79
  }
88
-
89
80
  if (data.hasOwnProperty('width')) {
90
81
  obj['width'] = _ApiClient["default"].convertToType(data['width'], 'Number');
91
82
  }
92
-
83
+ if (data.hasOwnProperty('imageurl')) {
84
+ obj['imageurl'] = _ApiClient["default"].convertToType(data['imageurl'], 'String');
85
+ }
86
+ if (data.hasOwnProperty('formattedname')) {
87
+ obj['formattedname'] = _ApiClient["default"].convertToType(data['formattedname'], 'String');
88
+ }
93
89
  if (data.hasOwnProperty('containerObjectType')) {
94
90
  obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
95
91
  }
96
-
97
92
  if (data.hasOwnProperty('containerObjectID')) {
98
93
  obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
99
94
  }
100
-
101
- if (data.hasOwnProperty('formattedname')) {
102
- obj['formattedname'] = _ApiClient["default"].convertToType(data['formattedname'], 'String');
95
+ if (data.hasOwnProperty('contenttype')) {
96
+ obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
103
97
  }
104
-
105
98
  if (data.hasOwnProperty('data')) {
106
99
  obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
107
100
  }
108
-
109
101
  if (data.hasOwnProperty('id')) {
110
102
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
111
103
  }
112
104
  }
113
-
114
105
  return obj;
115
106
  }
116
- }]);
117
107
 
108
+ /**
109
+ * Validates the JSON data with respect to <code>Image</code>.
110
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
111
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>Image</code>.
112
+ */
113
+ }, {
114
+ key: "validateJSON",
115
+ value: function validateJSON(data) {
116
+ // ensure the json data is a string
117
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
118
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
119
+ }
120
+ // ensure the json data is a string
121
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
122
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
123
+ }
124
+ // ensure the json data is a string
125
+ if (data['imageurl'] && !(typeof data['imageurl'] === 'string' || data['imageurl'] instanceof String)) {
126
+ throw new Error("Expected the field `imageurl` to be a primitive type in the JSON string but got " + data['imageurl']);
127
+ }
128
+ // ensure the json data is a string
129
+ if (data['formattedname'] && !(typeof data['formattedname'] === 'string' || data['formattedname'] instanceof String)) {
130
+ throw new Error("Expected the field `formattedname` to be a primitive type in the JSON string but got " + data['formattedname']);
131
+ }
132
+ // ensure the json data is a string
133
+ if (data['contenttype'] && !(typeof data['contenttype'] === 'string' || data['contenttype'] instanceof String)) {
134
+ throw new Error("Expected the field `contenttype` to be a primitive type in the JSON string but got " + data['contenttype']);
135
+ }
136
+ return true;
137
+ }
138
+ }]);
118
139
  return Image;
119
140
  }();
120
141
  /**
121
142
  * @member {String} name
122
143
  */
123
-
124
-
125
144
  Image.prototype['name'] = undefined;
145
+
126
146
  /**
127
147
  * @member {Number} size
128
148
  */
129
-
130
149
  Image.prototype['size'] = undefined;
150
+
131
151
  /**
132
152
  * @member {Object} content
133
153
  */
134
-
135
154
  Image.prototype['content'] = undefined;
136
- /**
137
- * @member {String} contenttype
138
- */
139
155
 
140
- Image.prototype['contenttype'] = undefined;
141
156
  /**
142
157
  * @member {String} description
143
158
  */
144
-
145
159
  Image.prototype['description'] = undefined;
160
+
146
161
  /**
147
162
  * @member {Number} creator
148
163
  */
149
-
150
164
  Image.prototype['creator'] = undefined;
151
- /**
152
- * @member {String} imageurl
153
- */
154
165
 
155
- Image.prototype['imageurl'] = undefined;
156
166
  /**
157
167
  * @member {Number} height
158
168
  */
159
-
160
169
  Image.prototype['height'] = undefined;
170
+
161
171
  /**
162
172
  * @member {Number} width
163
173
  */
164
-
165
174
  Image.prototype['width'] = undefined;
175
+
166
176
  /**
167
- * @member {Number} containerObjectType
177
+ * @member {String} imageurl
178
+ */
179
+ Image.prototype['imageurl'] = undefined;
180
+
181
+ /**
182
+ * @member {String} formattedname
168
183
  */
184
+ Image.prototype['formattedname'] = undefined;
169
185
 
186
+ /**
187
+ * @member {Number} containerObjectType
188
+ */
170
189
  Image.prototype['containerObjectType'] = undefined;
190
+
171
191
  /**
172
192
  * @member {Number} containerObjectID
173
193
  */
174
-
175
194
  Image.prototype['containerObjectID'] = undefined;
195
+
176
196
  /**
177
- * @member {String} formattedname
197
+ * @member {String} contenttype
178
198
  */
199
+ Image.prototype['contenttype'] = undefined;
179
200
 
180
- Image.prototype['formattedname'] = undefined;
181
201
  /**
182
202
  * @member {Object} data
183
203
  */
184
-
185
204
  Image.prototype['data'] = undefined;
205
+
186
206
  /**
187
207
  * @member {Number} id
188
208
  */
189
-
190
209
  Image.prototype['id'] = undefined;
191
- var _default = Image;
192
- exports["default"] = _default;
210
+ var _default = exports["default"] = Image;