@gobodo/gobodo-api-promise 0.1.8-9.1

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 (774) hide show
  1. package/README.md +970 -0
  2. package/dist/.tsbuildinfo +1 -0
  3. package/dist/ApiClient.d.ts +317 -0
  4. package/dist/ApiClient.d.ts.map +1 -0
  5. package/dist/ApiClient.js +720 -0
  6. package/dist/api/ActionTypesApi.d.ts +66 -0
  7. package/dist/api/ActionTypesApi.d.ts.map +1 -0
  8. package/dist/api/ActionTypesApi.js +128 -0
  9. package/dist/api/AdCampaignsApi.d.ts +377 -0
  10. package/dist/api/AdCampaignsApi.d.ts.map +1 -0
  11. package/dist/api/AdCampaignsApi.js +620 -0
  12. package/dist/api/AdManagementApi.d.ts +556 -0
  13. package/dist/api/AdManagementApi.d.ts.map +1 -0
  14. package/dist/api/AdManagementApi.js +902 -0
  15. package/dist/api/AdminDataManagementApi.d.ts +62 -0
  16. package/dist/api/AdminDataManagementApi.d.ts.map +1 -0
  17. package/dist/api/AdminDataManagementApi.js +126 -0
  18. package/dist/api/AdsApi.d.ts +286 -0
  19. package/dist/api/AdsApi.d.ts.map +1 -0
  20. package/dist/api/AdsApi.js +474 -0
  21. package/dist/api/AttachmentsApi.d.ts +348 -0
  22. package/dist/api/AttachmentsApi.d.ts.map +1 -0
  23. package/dist/api/AttachmentsApi.js +570 -0
  24. package/dist/api/AuthenticationApi.d.ts +211 -0
  25. package/dist/api/AuthenticationApi.d.ts.map +1 -0
  26. package/dist/api/AuthenticationApi.js +460 -0
  27. package/dist/api/CategoriesApi.d.ts +340 -0
  28. package/dist/api/CategoriesApi.d.ts.map +1 -0
  29. package/dist/api/CategoriesApi.js +556 -0
  30. package/dist/api/CommentsApi.d.ts +387 -0
  31. package/dist/api/CommentsApi.d.ts.map +1 -0
  32. package/dist/api/CommentsApi.js +640 -0
  33. package/dist/api/ContentManagementApi.d.ts +1295 -0
  34. package/dist/api/ContentManagementApi.d.ts.map +1 -0
  35. package/dist/api/ContentManagementApi.js +2117 -0
  36. package/dist/api/ConversationsApi.d.ts +430 -0
  37. package/dist/api/ConversationsApi.d.ts.map +1 -0
  38. package/dist/api/ConversationsApi.js +694 -0
  39. package/dist/api/CurrencyApi.d.ts +249 -0
  40. package/dist/api/CurrencyApi.d.ts.map +1 -0
  41. package/dist/api/CurrencyApi.js +411 -0
  42. package/dist/api/DataSheetImportsApi.d.ts +774 -0
  43. package/dist/api/DataSheetImportsApi.d.ts.map +1 -0
  44. package/dist/api/DataSheetImportsApi.js +1291 -0
  45. package/dist/api/DefaultApi.d.ts +261 -0
  46. package/dist/api/DefaultApi.d.ts.map +1 -0
  47. package/dist/api/DefaultApi.js +433 -0
  48. package/dist/api/DocumentPartTypesApi.d.ts +106 -0
  49. package/dist/api/DocumentPartTypesApi.d.ts.map +1 -0
  50. package/dist/api/DocumentPartTypesApi.js +178 -0
  51. package/dist/api/DocumentTypesApi.d.ts +106 -0
  52. package/dist/api/DocumentTypesApi.d.ts.map +1 -0
  53. package/dist/api/DocumentTypesApi.js +178 -0
  54. package/dist/api/DocumentsApi.d.ts +606 -0
  55. package/dist/api/DocumentsApi.d.ts.map +1 -0
  56. package/dist/api/DocumentsApi.js +1002 -0
  57. package/dist/api/EmailsApi.d.ts +205 -0
  58. package/dist/api/EmailsApi.d.ts.map +1 -0
  59. package/dist/api/EmailsApi.js +346 -0
  60. package/dist/api/EntryPartsApi.d.ts +618 -0
  61. package/dist/api/EntryPartsApi.d.ts.map +1 -0
  62. package/dist/api/EntryPartsApi.js +1042 -0
  63. package/dist/api/FacebookApi.d.ts +37 -0
  64. package/dist/api/FacebookApi.d.ts.map +1 -0
  65. package/dist/api/FacebookApi.js +88 -0
  66. package/dist/api/FieldsApi.d.ts +164 -0
  67. package/dist/api/FieldsApi.d.ts.map +1 -0
  68. package/dist/api/FieldsApi.js +288 -0
  69. package/dist/api/FilesApi.d.ts +70 -0
  70. package/dist/api/FilesApi.d.ts.map +1 -0
  71. package/dist/api/FilesApi.js +131 -0
  72. package/dist/api/FormsApi.d.ts +860 -0
  73. package/dist/api/FormsApi.d.ts.map +1 -0
  74. package/dist/api/FormsApi.js +1406 -0
  75. package/dist/api/FunctionsApi.d.ts +891 -0
  76. package/dist/api/FunctionsApi.d.ts.map +1 -0
  77. package/dist/api/FunctionsApi.js +1474 -0
  78. package/dist/api/GeocodeApi.d.ts +238 -0
  79. package/dist/api/GeocodeApi.d.ts.map +1 -0
  80. package/dist/api/GeocodeApi.js +415 -0
  81. package/dist/api/GobodoManagementApi.d.ts +242 -0
  82. package/dist/api/GobodoManagementApi.d.ts.map +1 -0
  83. package/dist/api/GobodoManagementApi.js +408 -0
  84. package/dist/api/GoogleApi.d.ts +37 -0
  85. package/dist/api/GoogleApi.d.ts.map +1 -0
  86. package/dist/api/GoogleApi.js +88 -0
  87. package/dist/api/GraphActionTypesApi.d.ts +377 -0
  88. package/dist/api/GraphActionTypesApi.d.ts.map +1 -0
  89. package/dist/api/GraphActionTypesApi.js +632 -0
  90. package/dist/api/GraphActionsApi.d.ts +536 -0
  91. package/dist/api/GraphActionsApi.d.ts.map +1 -0
  92. package/dist/api/GraphActionsApi.js +897 -0
  93. package/dist/api/GraphObjectTypesApi.d.ts +651 -0
  94. package/dist/api/GraphObjectTypesApi.d.ts.map +1 -0
  95. package/dist/api/GraphObjectTypesApi.js +1040 -0
  96. package/dist/api/GraphObjectsApi.d.ts +3023 -0
  97. package/dist/api/GraphObjectsApi.d.ts.map +1 -0
  98. package/dist/api/GraphObjectsApi.js +4993 -0
  99. package/dist/api/GraphRelationshipTypesApi.d.ts +940 -0
  100. package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -0
  101. package/dist/api/GraphRelationshipTypesApi.js +1545 -0
  102. package/dist/api/GraphRelationshipsApi.d.ts +1460 -0
  103. package/dist/api/GraphRelationshipsApi.d.ts.map +1 -0
  104. package/dist/api/GraphRelationshipsApi.js +2387 -0
  105. package/dist/api/GraphSchemasApi.d.ts +535 -0
  106. package/dist/api/GraphSchemasApi.d.ts.map +1 -0
  107. package/dist/api/GraphSchemasApi.js +870 -0
  108. package/dist/api/GraphTraversalApi.d.ts +346 -0
  109. package/dist/api/GraphTraversalApi.d.ts.map +1 -0
  110. package/dist/api/GraphTraversalApi.js +578 -0
  111. package/dist/api/GraphsApi.d.ts +532 -0
  112. package/dist/api/GraphsApi.d.ts.map +1 -0
  113. package/dist/api/GraphsApi.js +891 -0
  114. package/dist/api/GroupsApi.d.ts +546 -0
  115. package/dist/api/GroupsApi.d.ts.map +1 -0
  116. package/dist/api/GroupsApi.js +896 -0
  117. package/dist/api/IAMApi.d.ts +198 -0
  118. package/dist/api/IAMApi.d.ts.map +1 -0
  119. package/dist/api/IAMApi.js +328 -0
  120. package/dist/api/ImagesApi.d.ts +401 -0
  121. package/dist/api/ImagesApi.d.ts.map +1 -0
  122. package/dist/api/ImagesApi.js +655 -0
  123. package/dist/api/InvitesApi.d.ts +248 -0
  124. package/dist/api/InvitesApi.d.ts.map +1 -0
  125. package/dist/api/InvitesApi.js +414 -0
  126. package/dist/api/LikesApi.d.ts +630 -0
  127. package/dist/api/LikesApi.d.ts.map +1 -0
  128. package/dist/api/LikesApi.js +1038 -0
  129. package/dist/api/LinkedINApi.d.ts +37 -0
  130. package/dist/api/LinkedINApi.d.ts.map +1 -0
  131. package/dist/api/LinkedINApi.js +88 -0
  132. package/dist/api/LiveMeetingsApi.d.ts +113 -0
  133. package/dist/api/LiveMeetingsApi.d.ts.map +1 -0
  134. package/dist/api/LiveMeetingsApi.js +205 -0
  135. package/dist/api/MeetingEventsApi.d.ts +254 -0
  136. package/dist/api/MeetingEventsApi.d.ts.map +1 -0
  137. package/dist/api/MeetingEventsApi.js +433 -0
  138. package/dist/api/NotificationsApi.d.ts +669 -0
  139. package/dist/api/NotificationsApi.d.ts.map +1 -0
  140. package/dist/api/NotificationsApi.js +1076 -0
  141. package/dist/api/PagesApi.d.ts +449 -0
  142. package/dist/api/PagesApi.d.ts.map +1 -0
  143. package/dist/api/PagesApi.js +740 -0
  144. package/dist/api/PhoneNumbersApi.d.ts +255 -0
  145. package/dist/api/PhoneNumbersApi.d.ts.map +1 -0
  146. package/dist/api/PhoneNumbersApi.js +403 -0
  147. package/dist/api/PostsApi.d.ts +240 -0
  148. package/dist/api/PostsApi.d.ts.map +1 -0
  149. package/dist/api/PostsApi.js +405 -0
  150. package/dist/api/PrivateMessagesApi.d.ts +739 -0
  151. package/dist/api/PrivateMessagesApi.d.ts.map +1 -0
  152. package/dist/api/PrivateMessagesApi.js +1205 -0
  153. package/dist/api/PublicationsApi.d.ts +62 -0
  154. package/dist/api/PublicationsApi.d.ts.map +1 -0
  155. package/dist/api/PublicationsApi.js +118 -0
  156. package/dist/api/RestApplicationsApi.d.ts +250 -0
  157. package/dist/api/RestApplicationsApi.d.ts.map +1 -0
  158. package/dist/api/RestApplicationsApi.js +407 -0
  159. package/dist/api/ScreensApi.d.ts +154 -0
  160. package/dist/api/ScreensApi.d.ts.map +1 -0
  161. package/dist/api/ScreensApi.js +269 -0
  162. package/dist/api/SitesApi.d.ts +480 -0
  163. package/dist/api/SitesApi.d.ts.map +1 -0
  164. package/dist/api/SitesApi.js +767 -0
  165. package/dist/api/SocialIntegrationApi.d.ts +97 -0
  166. package/dist/api/SocialIntegrationApi.d.ts.map +1 -0
  167. package/dist/api/SocialIntegrationApi.js +214 -0
  168. package/dist/api/StripeAccountsApi.d.ts +1844 -0
  169. package/dist/api/StripeAccountsApi.d.ts.map +1 -0
  170. package/dist/api/StripeAccountsApi.js +2950 -0
  171. package/dist/api/TagsApi.d.ts +64 -0
  172. package/dist/api/TagsApi.d.ts.map +1 -0
  173. package/dist/api/TagsApi.js +126 -0
  174. package/dist/api/TemplatesApi.d.ts +154 -0
  175. package/dist/api/TemplatesApi.d.ts.map +1 -0
  176. package/dist/api/TemplatesApi.js +269 -0
  177. package/dist/api/ThemeMappingsApi.d.ts +153 -0
  178. package/dist/api/ThemeMappingsApi.d.ts.map +1 -0
  179. package/dist/api/ThemeMappingsApi.js +264 -0
  180. package/dist/api/TopicsApi.d.ts +393 -0
  181. package/dist/api/TopicsApi.d.ts.map +1 -0
  182. package/dist/api/TopicsApi.js +644 -0
  183. package/dist/api/TransactionsApi.d.ts +57 -0
  184. package/dist/api/TransactionsApi.d.ts.map +1 -0
  185. package/dist/api/TransactionsApi.js +161 -0
  186. package/dist/api/TwitterApi.d.ts +37 -0
  187. package/dist/api/TwitterApi.d.ts.map +1 -0
  188. package/dist/api/TwitterApi.js +88 -0
  189. package/dist/api/UserTagsApi.d.ts +438 -0
  190. package/dist/api/UserTagsApi.d.ts.map +1 -0
  191. package/dist/api/UserTagsApi.js +727 -0
  192. package/dist/api/UsersApi.d.ts +546 -0
  193. package/dist/api/UsersApi.d.ts.map +1 -0
  194. package/dist/api/UsersApi.js +883 -0
  195. package/dist/api/UtilsApi.d.ts +27 -0
  196. package/dist/api/UtilsApi.d.ts.map +1 -0
  197. package/dist/api/UtilsApi.js +80 -0
  198. package/dist/api/VideosApi.d.ts +522 -0
  199. package/dist/api/VideosApi.d.ts.map +1 -0
  200. package/dist/api/VideosApi.js +874 -0
  201. package/dist/api/WalletsApi.d.ts +789 -0
  202. package/dist/api/WalletsApi.d.ts.map +1 -0
  203. package/dist/api/WalletsApi.js +1290 -0
  204. package/dist/index.d.ts +251 -0
  205. package/dist/index.d.ts.map +1 -0
  206. package/dist/index.js +1749 -0
  207. package/dist/model/APIClient.d.ts +118 -0
  208. package/dist/model/APIClient.d.ts.map +1 -0
  209. package/dist/model/APIClient.js +354 -0
  210. package/dist/model/AccountSessionInput.d.ts +82 -0
  211. package/dist/model/AccountSessionInput.d.ts.map +1 -0
  212. package/dist/model/AccountSessionInput.js +222 -0
  213. package/dist/model/AccountSessionResponse.d.ts +62 -0
  214. package/dist/model/AccountSessionResponse.d.ts.map +1 -0
  215. package/dist/model/AccountSessionResponse.js +171 -0
  216. package/dist/model/ApplicationPaymentAccountResponse.d.ts +83 -0
  217. package/dist/model/ApplicationPaymentAccountResponse.d.ts.map +1 -0
  218. package/dist/model/ApplicationPaymentAccountResponse.js +243 -0
  219. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts +56 -0
  220. package/dist/model/ApplicationPaymentAccountResponseFailureException.d.ts.map +1 -0
  221. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +187 -0
  222. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.d.ts +101 -0
  223. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.d.ts.map +1 -0
  224. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +303 -0
  225. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.d.ts +56 -0
  226. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.d.ts.map +1 -0
  227. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +187 -0
  228. package/dist/model/Article.d.ts +227 -0
  229. package/dist/model/Article.d.ts.map +1 -0
  230. package/dist/model/Article.js +668 -0
  231. package/dist/model/AuthResponse.d.ts +80 -0
  232. package/dist/model/AuthResponse.d.ts.map +1 -0
  233. package/dist/model/AuthResponse.js +238 -0
  234. package/dist/model/AwsSettings.d.ts +67 -0
  235. package/dist/model/AwsSettings.d.ts.map +1 -0
  236. package/dist/model/AwsSettings.js +193 -0
  237. package/dist/model/Balance.d.ts +74 -0
  238. package/dist/model/Balance.d.ts.map +1 -0
  239. package/dist/model/Balance.js +313 -0
  240. package/dist/model/BalanceDetails.d.ts +56 -0
  241. package/dist/model/BalanceDetails.d.ts.map +1 -0
  242. package/dist/model/BalanceDetails.js +164 -0
  243. package/dist/model/BalanceResponse.d.ts +47 -0
  244. package/dist/model/BalanceResponse.d.ts.map +1 -0
  245. package/dist/model/BalanceResponse.js +139 -0
  246. package/dist/model/BankAccountInfo.d.ts +75 -0
  247. package/dist/model/BankAccountInfo.d.ts.map +1 -0
  248. package/dist/model/BankAccountInfo.js +232 -0
  249. package/dist/model/CardInfo.d.ts +74 -0
  250. package/dist/model/CardInfo.d.ts.map +1 -0
  251. package/dist/model/CardInfo.js +213 -0
  252. package/dist/model/Comment.d.ts +173 -0
  253. package/dist/model/Comment.d.ts.map +1 -0
  254. package/dist/model/Comment.js +495 -0
  255. package/dist/model/ConsoleProjectInput.d.ts +66 -0
  256. package/dist/model/ConsoleProjectInput.d.ts.map +1 -0
  257. package/dist/model/ConsoleProjectInput.js +187 -0
  258. package/dist/model/ConsoleProjectResponse.d.ts +77 -0
  259. package/dist/model/ConsoleProjectResponse.d.ts.map +1 -0
  260. package/dist/model/ConsoleProjectResponse.js +216 -0
  261. package/dist/model/Coordinates.d.ts +47 -0
  262. package/dist/model/Coordinates.d.ts.map +1 -0
  263. package/dist/model/Coordinates.js +129 -0
  264. package/dist/model/CreateAccountResponse.d.ts +102 -0
  265. package/dist/model/CreateAccountResponse.d.ts.map +1 -0
  266. package/dist/model/CreateAccountResponse.js +289 -0
  267. package/dist/model/CreateFunctionInput.d.ts +74 -0
  268. package/dist/model/CreateFunctionInput.d.ts.map +1 -0
  269. package/dist/model/CreateFunctionInput.js +238 -0
  270. package/dist/model/CreateStripeAccountInput.d.ts +81 -0
  271. package/dist/model/CreateStripeAccountInput.d.ts.map +1 -0
  272. package/dist/model/CreateStripeAccountInput.js +241 -0
  273. package/dist/model/CreateStripeCustomerInput.d.ts +65 -0
  274. package/dist/model/CreateStripeCustomerInput.d.ts.map +1 -0
  275. package/dist/model/CreateStripeCustomerInput.js +195 -0
  276. package/dist/model/CreateTopicInput.d.ts +65 -0
  277. package/dist/model/CreateTopicInput.d.ts.map +1 -0
  278. package/dist/model/CreateTopicInput.js +191 -0
  279. package/dist/model/CreateTopicListenerInput.d.ts +56 -0
  280. package/dist/model/CreateTopicListenerInput.d.ts.map +1 -0
  281. package/dist/model/CreateTopicListenerInput.js +160 -0
  282. package/dist/model/Currency.d.ts +92 -0
  283. package/dist/model/Currency.d.ts.map +1 -0
  284. package/dist/model/Currency.js +262 -0
  285. package/dist/model/CurrencyGrantInput.d.ts +108 -0
  286. package/dist/model/CurrencyGrantInput.d.ts.map +1 -0
  287. package/dist/model/CurrencyGrantInput.js +305 -0
  288. package/dist/model/CurrencyGrantResponse.d.ts +140 -0
  289. package/dist/model/CurrencyGrantResponse.d.ts.map +1 -0
  290. package/dist/model/CurrencyGrantResponse.js +394 -0
  291. package/dist/model/CurrencyInput.d.ts +94 -0
  292. package/dist/model/CurrencyInput.d.ts.map +1 -0
  293. package/dist/model/CurrencyInput.js +268 -0
  294. package/dist/model/CurrencyMinterRegistrationInput.d.ts +77 -0
  295. package/dist/model/CurrencyMinterRegistrationInput.d.ts.map +1 -0
  296. package/dist/model/CurrencyMinterRegistrationInput.js +208 -0
  297. package/dist/model/CurrencyResponse.d.ts +107 -0
  298. package/dist/model/CurrencyResponse.d.ts.map +1 -0
  299. package/dist/model/CurrencyResponse.js +301 -0
  300. package/dist/model/CurrencySettings.d.ts +47 -0
  301. package/dist/model/CurrencySettings.d.ts.map +1 -0
  302. package/dist/model/CurrencySettings.js +131 -0
  303. package/dist/model/CustomerResponse.d.ts +56 -0
  304. package/dist/model/CustomerResponse.d.ts.map +1 -0
  305. package/dist/model/CustomerResponse.js +168 -0
  306. package/dist/model/DataObject.d.ts +47 -0
  307. package/dist/model/DataObject.d.ts.map +1 -0
  308. package/dist/model/DataObject.js +129 -0
  309. package/dist/model/DataSheetImport.d.ts +238 -0
  310. package/dist/model/DataSheetImport.d.ts.map +1 -0
  311. package/dist/model/DataSheetImport.js +732 -0
  312. package/dist/model/DataSheetImportPrivacySettings.d.ts +56 -0
  313. package/dist/model/DataSheetImportPrivacySettings.d.ts.map +1 -0
  314. package/dist/model/DataSheetImportPrivacySettings.js +154 -0
  315. package/dist/model/DataSheetImportSummary.d.ts +63 -0
  316. package/dist/model/DataSheetImportSummary.d.ts.map +1 -0
  317. package/dist/model/DataSheetImportSummary.js +206 -0
  318. package/dist/model/DeviceRegistrationRequest.d.ts +78 -0
  319. package/dist/model/DeviceRegistrationRequest.d.ts.map +1 -0
  320. package/dist/model/DeviceRegistrationRequest.js +252 -0
  321. package/dist/model/Document.d.ts +245 -0
  322. package/dist/model/Document.d.ts.map +1 -0
  323. package/dist/model/Document.js +743 -0
  324. package/dist/model/DocumentPart.d.ts +200 -0
  325. package/dist/model/DocumentPart.d.ts.map +1 -0
  326. package/dist/model/DocumentPart.js +612 -0
  327. package/dist/model/DocumentPartType.d.ts +119 -0
  328. package/dist/model/DocumentPartType.d.ts.map +1 -0
  329. package/dist/model/DocumentPartType.js +358 -0
  330. package/dist/model/DocumentType.d.ts +155 -0
  331. package/dist/model/DocumentType.d.ts.map +1 -0
  332. package/dist/model/DocumentType.js +458 -0
  333. package/dist/model/EmailAddress.d.ts +83 -0
  334. package/dist/model/EmailAddress.d.ts.map +1 -0
  335. package/dist/model/EmailAddress.js +245 -0
  336. package/dist/model/FieldMapping.d.ts +59 -0
  337. package/dist/model/FieldMapping.d.ts.map +1 -0
  338. package/dist/model/FieldMapping.js +185 -0
  339. package/dist/model/Fields.d.ts +381 -0
  340. package/dist/model/Fields.d.ts.map +1 -0
  341. package/dist/model/Fields.js +737 -0
  342. package/dist/model/File.d.ts +119 -0
  343. package/dist/model/File.d.ts.map +1 -0
  344. package/dist/model/File.js +341 -0
  345. package/dist/model/FileAttachmentUploadObject.d.ts +119 -0
  346. package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -0
  347. package/dist/model/FileAttachmentUploadObject.js +341 -0
  348. package/dist/model/Filter.d.ts +47 -0
  349. package/dist/model/Filter.d.ts.map +1 -0
  350. package/dist/model/Filter.js +137 -0
  351. package/dist/model/FilterManager.d.ts +47 -0
  352. package/dist/model/FilterManager.d.ts.map +1 -0
  353. package/dist/model/FilterManager.js +154 -0
  354. package/dist/model/Form.d.ts +116 -0
  355. package/dist/model/Form.d.ts.map +1 -0
  356. package/dist/model/Form.js +393 -0
  357. package/dist/model/FormSection.d.ts +92 -0
  358. package/dist/model/FormSection.d.ts.map +1 -0
  359. package/dist/model/FormSection.js +304 -0
  360. package/dist/model/FormSubmission.d.ts +80 -0
  361. package/dist/model/FormSubmission.d.ts.map +1 -0
  362. package/dist/model/FormSubmission.js +238 -0
  363. package/dist/model/FunctionConfigInput.d.ts +172 -0
  364. package/dist/model/FunctionConfigInput.d.ts.map +1 -0
  365. package/dist/model/FunctionConfigInput.js +563 -0
  366. package/dist/model/FunctionEnvironmentConfig.d.ts +72 -0
  367. package/dist/model/FunctionEnvironmentConfig.d.ts.map +1 -0
  368. package/dist/model/FunctionEnvironmentConfig.js +221 -0
  369. package/dist/model/FunctionInput.d.ts +98 -0
  370. package/dist/model/FunctionInput.d.ts.map +1 -0
  371. package/dist/model/FunctionInput.js +260 -0
  372. package/dist/model/FunctionOutput.d.ts +89 -0
  373. package/dist/model/FunctionOutput.d.ts.map +1 -0
  374. package/dist/model/FunctionOutput.js +235 -0
  375. package/dist/model/Geocode.d.ts +65 -0
  376. package/dist/model/Geocode.d.ts.map +1 -0
  377. package/dist/model/Geocode.js +191 -0
  378. package/dist/model/GeocodePayload.d.ts +47 -0
  379. package/dist/model/GeocodePayload.d.ts.map +1 -0
  380. package/dist/model/GeocodePayload.js +141 -0
  381. package/dist/model/GeolocationInput.d.ts +65 -0
  382. package/dist/model/GeolocationInput.d.ts.map +1 -0
  383. package/dist/model/GeolocationInput.js +216 -0
  384. package/dist/model/GetFunctionConfig.d.ts +169 -0
  385. package/dist/model/GetFunctionConfig.d.ts.map +1 -0
  386. package/dist/model/GetFunctionConfig.js +536 -0
  387. package/dist/model/GetFunctionEnvironmentConfig.d.ts +73 -0
  388. package/dist/model/GetFunctionEnvironmentConfig.d.ts.map +1 -0
  389. package/dist/model/GetFunctionEnvironmentConfig.js +223 -0
  390. package/dist/model/GetFunctionResponse.d.ts +97 -0
  391. package/dist/model/GetFunctionResponse.d.ts.map +1 -0
  392. package/dist/model/GetFunctionResponse.js +302 -0
  393. package/dist/model/GoogleCloudSettings.d.ts +57 -0
  394. package/dist/model/GoogleCloudSettings.d.ts.map +1 -0
  395. package/dist/model/GoogleCloudSettings.js +162 -0
  396. package/dist/model/Graph.d.ts +177 -0
  397. package/dist/model/Graph.d.ts.map +1 -0
  398. package/dist/model/Graph.js +499 -0
  399. package/dist/model/GraphAction.d.ts +111 -0
  400. package/dist/model/GraphAction.d.ts.map +1 -0
  401. package/dist/model/GraphAction.js +298 -0
  402. package/dist/model/GraphDatabaseService.d.ts +92 -0
  403. package/dist/model/GraphDatabaseService.d.ts.map +1 -0
  404. package/dist/model/GraphDatabaseService.js +254 -0
  405. package/dist/model/GraphGeocode.d.ts +96 -0
  406. package/dist/model/GraphGeocode.d.ts.map +1 -0
  407. package/dist/model/GraphGeocode.js +282 -0
  408. package/dist/model/GraphIteratorEntryPart.d.ts +38 -0
  409. package/dist/model/GraphIteratorEntryPart.d.ts.map +1 -0
  410. package/dist/model/GraphIteratorEntryPart.js +129 -0
  411. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +101 -0
  412. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts.map +1 -0
  413. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +303 -0
  414. package/dist/model/GraphObject.d.ts +162 -0
  415. package/dist/model/GraphObject.d.ts.map +1 -0
  416. package/dist/model/GraphObject.js +454 -0
  417. package/dist/model/GraphObjectPayload.d.ts +137 -0
  418. package/dist/model/GraphObjectPayload.d.ts.map +1 -0
  419. package/dist/model/GraphObjectPayload.js +430 -0
  420. package/dist/model/GraphObjectSchema.d.ts +193 -0
  421. package/dist/model/GraphObjectSchema.d.ts.map +1 -0
  422. package/dist/model/GraphObjectSchema.js +545 -0
  423. package/dist/model/GraphObjectType.d.ts +215 -0
  424. package/dist/model/GraphObjectType.d.ts.map +1 -0
  425. package/dist/model/GraphObjectType.js +626 -0
  426. package/dist/model/GraphObjectTypeInput.d.ts +184 -0
  427. package/dist/model/GraphObjectTypeInput.d.ts.map +1 -0
  428. package/dist/model/GraphObjectTypeInput.js +570 -0
  429. package/dist/model/GraphObjectTypeResponse.d.ts +137 -0
  430. package/dist/model/GraphObjectTypeResponse.d.ts.map +1 -0
  431. package/dist/model/GraphObjectTypeResponse.js +440 -0
  432. package/dist/model/GraphObjectTypeSchema.d.ts +215 -0
  433. package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -0
  434. package/dist/model/GraphObjectTypeSchema.js +645 -0
  435. package/dist/model/GraphOwner.d.ts +56 -0
  436. package/dist/model/GraphOwner.d.ts.map +1 -0
  437. package/dist/model/GraphOwner.js +158 -0
  438. package/dist/model/GraphRelationship.d.ts +113 -0
  439. package/dist/model/GraphRelationship.d.ts.map +1 -0
  440. package/dist/model/GraphRelationship.js +301 -0
  441. package/dist/model/GraphRelationshipPayload.d.ts +74 -0
  442. package/dist/model/GraphRelationshipPayload.d.ts.map +1 -0
  443. package/dist/model/GraphRelationshipPayload.js +214 -0
  444. package/dist/model/GraphRelationshipType.d.ts +232 -0
  445. package/dist/model/GraphRelationshipType.d.ts.map +1 -0
  446. package/dist/model/GraphRelationshipType.js +675 -0
  447. package/dist/model/GraphRelationshipTypeResponse.d.ts +201 -0
  448. package/dist/model/GraphRelationshipTypeResponse.d.ts.map +1 -0
  449. package/dist/model/GraphRelationshipTypeResponse.js +683 -0
  450. package/dist/model/GraphSchema.d.ts +222 -0
  451. package/dist/model/GraphSchema.d.ts.map +1 -0
  452. package/dist/model/GraphSchema.js +645 -0
  453. package/dist/model/GraphSchemaInput.d.ts +101 -0
  454. package/dist/model/GraphSchemaInput.d.ts.map +1 -0
  455. package/dist/model/GraphSchemaInput.js +285 -0
  456. package/dist/model/GraphSchemaResponse.d.ts +226 -0
  457. package/dist/model/GraphSchemaResponse.d.ts.map +1 -0
  458. package/dist/model/GraphSchemaResponse.js +640 -0
  459. package/dist/model/GraphTraversalInput.d.ts +365 -0
  460. package/dist/model/GraphTraversalInput.d.ts.map +1 -0
  461. package/dist/model/GraphTraversalInput.js +1125 -0
  462. package/dist/model/Image.d.ts +155 -0
  463. package/dist/model/Image.d.ts.map +1 -0
  464. package/dist/model/Image.js +449 -0
  465. package/dist/model/ImageUploadObject.d.ts +155 -0
  466. package/dist/model/ImageUploadObject.d.ts.map +1 -0
  467. package/dist/model/ImageUploadObject.js +449 -0
  468. package/dist/model/InputPart.d.ts +65 -0
  469. package/dist/model/InputPart.d.ts.map +1 -0
  470. package/dist/model/InputPart.js +191 -0
  471. package/dist/model/InputPartHeaders.d.ts +38 -0
  472. package/dist/model/InputPartHeaders.d.ts.map +1 -0
  473. package/dist/model/InputPartHeaders.js +106 -0
  474. package/dist/model/InputPartMediaType.d.ts +74 -0
  475. package/dist/model/InputPartMediaType.d.ts.map +1 -0
  476. package/dist/model/InputPartMediaType.js +214 -0
  477. package/dist/model/KafkaSettings.d.ts +75 -0
  478. package/dist/model/KafkaSettings.d.ts.map +1 -0
  479. package/dist/model/KafkaSettings.js +220 -0
  480. package/dist/model/Link.d.ts +101 -0
  481. package/dist/model/Link.d.ts.map +1 -0
  482. package/dist/model/Link.js +305 -0
  483. package/dist/model/LiveStreamInfo.d.ts +56 -0
  484. package/dist/model/LiveStreamInfo.d.ts.map +1 -0
  485. package/dist/model/LiveStreamInfo.js +167 -0
  486. package/dist/model/MeetingEvent.d.ts +197 -0
  487. package/dist/model/MeetingEvent.d.ts.map +1 -0
  488. package/dist/model/MeetingEvent.js +591 -0
  489. package/dist/model/MeetingEventTimezone.d.ts +65 -0
  490. package/dist/model/MeetingEventTimezone.d.ts.map +1 -0
  491. package/dist/model/MeetingEventTimezone.js +187 -0
  492. package/dist/model/MeetingInfo.d.ts +77 -0
  493. package/dist/model/MeetingInfo.d.ts.map +1 -0
  494. package/dist/model/MeetingInfo.js +220 -0
  495. package/dist/model/Member.d.ts +173 -0
  496. package/dist/model/Member.d.ts.map +1 -0
  497. package/dist/model/Member.js +525 -0
  498. package/dist/model/MemberGroupCategory.d.ts +83 -0
  499. package/dist/model/MemberGroupCategory.d.ts.map +1 -0
  500. package/dist/model/MemberGroupCategory.js +237 -0
  501. package/dist/model/MemberList.d.ts +35 -0
  502. package/dist/model/MemberList.d.ts.map +1 -0
  503. package/dist/model/MemberList.js +96 -0
  504. package/dist/model/MessageGroup.d.ts +56 -0
  505. package/dist/model/MessageGroup.d.ts.map +1 -0
  506. package/dist/model/MessageGroup.js +160 -0
  507. package/dist/model/MultipartBody.d.ts +47 -0
  508. package/dist/model/MultipartBody.d.ts.map +1 -0
  509. package/dist/model/MultipartBody.js +133 -0
  510. package/dist/model/Notification.d.ts +127 -0
  511. package/dist/model/Notification.d.ts.map +1 -0
  512. package/dist/model/Notification.js +381 -0
  513. package/dist/model/NotificationInput.d.ts +92 -0
  514. package/dist/model/NotificationInput.d.ts.map +1 -0
  515. package/dist/model/NotificationInput.js +273 -0
  516. package/dist/model/NotificationResponse.d.ts +117 -0
  517. package/dist/model/NotificationResponse.d.ts.map +1 -0
  518. package/dist/model/NotificationResponse.js +332 -0
  519. package/dist/model/NumberSettings.d.ts +47 -0
  520. package/dist/model/NumberSettings.d.ts.map +1 -0
  521. package/dist/model/NumberSettings.js +127 -0
  522. package/dist/model/ObjectSettings.d.ts +56 -0
  523. package/dist/model/ObjectSettings.d.ts.map +1 -0
  524. package/dist/model/ObjectSettings.js +152 -0
  525. package/dist/model/Objecttype.d.ts +206 -0
  526. package/dist/model/Objecttype.d.ts.map +1 -0
  527. package/dist/model/Objecttype.js +615 -0
  528. package/dist/model/OutParameter.d.ts +57 -0
  529. package/dist/model/OutParameter.d.ts.map +1 -0
  530. package/dist/model/OutParameter.js +162 -0
  531. package/dist/model/Page.d.ts +128 -0
  532. package/dist/model/Page.d.ts.map +1 -0
  533. package/dist/model/Page.js +370 -0
  534. package/dist/model/PageSchema.d.ts +164 -0
  535. package/dist/model/PageSchema.d.ts.map +1 -0
  536. package/dist/model/PageSchema.js +482 -0
  537. package/dist/model/Pageable.d.ts +83 -0
  538. package/dist/model/Pageable.d.ts.map +1 -0
  539. package/dist/model/Pageable.js +235 -0
  540. package/dist/model/Parameter.d.ts +57 -0
  541. package/dist/model/Parameter.d.ts.map +1 -0
  542. package/dist/model/Parameter.js +162 -0
  543. package/dist/model/Path.d.ts +56 -0
  544. package/dist/model/Path.d.ts.map +1 -0
  545. package/dist/model/Path.js +190 -0
  546. package/dist/model/PaymentAccountObject.d.ts +74 -0
  547. package/dist/model/PaymentAccountObject.d.ts.map +1 -0
  548. package/dist/model/PaymentAccountObject.js +209 -0
  549. package/dist/model/PaymentIntentInput.d.ts +78 -0
  550. package/dist/model/PaymentIntentInput.d.ts.map +1 -0
  551. package/dist/model/PaymentIntentInput.js +214 -0
  552. package/dist/model/PaymentIntentResponse.d.ts +47 -0
  553. package/dist/model/PaymentIntentResponse.d.ts.map +1 -0
  554. package/dist/model/PaymentIntentResponse.js +137 -0
  555. package/dist/model/PaymentMethod.d.ts +109 -0
  556. package/dist/model/PaymentMethod.d.ts.map +1 -0
  557. package/dist/model/PaymentMethod.js +319 -0
  558. package/dist/model/PaymentMethodInput.d.ts +99 -0
  559. package/dist/model/PaymentMethodInput.d.ts.map +1 -0
  560. package/dist/model/PaymentMethodInput.js +291 -0
  561. package/dist/model/PaymentMethodResponse.d.ts +47 -0
  562. package/dist/model/PaymentMethodResponse.d.ts.map +1 -0
  563. package/dist/model/PaymentMethodResponse.js +139 -0
  564. package/dist/model/PaymentMethodsResponse.d.ts +47 -0
  565. package/dist/model/PaymentMethodsResponse.d.ts.map +1 -0
  566. package/dist/model/PaymentMethodsResponse.js +158 -0
  567. package/dist/model/Payout.d.ts +113 -0
  568. package/dist/model/Payout.d.ts.map +1 -0
  569. package/dist/model/Payout.js +313 -0
  570. package/dist/model/PayoutInput.d.ts +122 -0
  571. package/dist/model/PayoutInput.d.ts.map +1 -0
  572. package/dist/model/PayoutInput.js +347 -0
  573. package/dist/model/PayoutResponse.d.ts +49 -0
  574. package/dist/model/PayoutResponse.d.ts.map +1 -0
  575. package/dist/model/PayoutResponse.js +142 -0
  576. package/dist/model/PhoneNumber.d.ts +110 -0
  577. package/dist/model/PhoneNumber.d.ts.map +1 -0
  578. package/dist/model/PhoneNumber.js +332 -0
  579. package/dist/model/Post.d.ts +128 -0
  580. package/dist/model/Post.d.ts.map +1 -0
  581. package/dist/model/Post.js +368 -0
  582. package/dist/model/PrivateMessage.d.ts +170 -0
  583. package/dist/model/PrivateMessage.d.ts.map +1 -0
  584. package/dist/model/PrivateMessage.js +494 -0
  585. package/dist/model/PrivateMessageConversation.d.ts +183 -0
  586. package/dist/model/PrivateMessageConversation.d.ts.map +1 -0
  587. package/dist/model/PrivateMessageConversation.js +520 -0
  588. package/dist/model/PrivateMessageConversationSchema.d.ts +96 -0
  589. package/dist/model/PrivateMessageConversationSchema.d.ts.map +1 -0
  590. package/dist/model/PrivateMessageConversationSchema.js +268 -0
  591. package/dist/model/Profile.d.ts +65 -0
  592. package/dist/model/Profile.d.ts.map +1 -0
  593. package/dist/model/Profile.js +191 -0
  594. package/dist/model/Profiletype.d.ts +65 -0
  595. package/dist/model/Profiletype.d.ts.map +1 -0
  596. package/dist/model/Profiletype.js +210 -0
  597. package/dist/model/Project.d.ts +65 -0
  598. package/dist/model/Project.d.ts.map +1 -0
  599. package/dist/model/Project.js +187 -0
  600. package/dist/model/ProjectInput.d.ts +66 -0
  601. package/dist/model/ProjectInput.d.ts.map +1 -0
  602. package/dist/model/ProjectInput.js +187 -0
  603. package/dist/model/PropertyContainer.d.ts +56 -0
  604. package/dist/model/PropertyContainer.d.ts.map +1 -0
  605. package/dist/model/PropertyContainer.js +162 -0
  606. package/dist/model/PurchaseInput.d.ts +84 -0
  607. package/dist/model/PurchaseInput.d.ts.map +1 -0
  608. package/dist/model/PurchaseInput.js +229 -0
  609. package/dist/model/PurchaseResponse.d.ts +126 -0
  610. package/dist/model/PurchaseResponse.d.ts.map +1 -0
  611. package/dist/model/PurchaseResponse.js +345 -0
  612. package/dist/model/PurgeDataDefaultResponse.d.ts +58 -0
  613. package/dist/model/PurgeDataDefaultResponse.d.ts.map +1 -0
  614. package/dist/model/PurgeDataDefaultResponse.js +179 -0
  615. package/dist/model/PurgeDataDefaultResponseValue.d.ts +49 -0
  616. package/dist/model/PurgeDataDefaultResponseValue.d.ts.map +1 -0
  617. package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
  618. package/dist/model/RelationshipMapping.d.ts +77 -0
  619. package/dist/model/RelationshipMapping.d.ts.map +1 -0
  620. package/dist/model/RelationshipMapping.js +264 -0
  621. package/dist/model/RestApplicationInput.d.ts +85 -0
  622. package/dist/model/RestApplicationInput.d.ts.map +1 -0
  623. package/dist/model/RestApplicationInput.js +247 -0
  624. package/dist/model/RestApplicationResponse.d.ts +107 -0
  625. package/dist/model/RestApplicationResponse.d.ts.map +1 -0
  626. package/dist/model/RestApplicationResponse.js +309 -0
  627. package/dist/model/ScreenSchema.d.ts +271 -0
  628. package/dist/model/ScreenSchema.d.ts.map +1 -0
  629. package/dist/model/ScreenSchema.js +834 -0
  630. package/dist/model/SimulcastInfo.d.ts +62 -0
  631. package/dist/model/SimulcastInfo.d.ts.map +1 -0
  632. package/dist/model/SimulcastInfo.js +175 -0
  633. package/dist/model/SiteInput.d.ts +85 -0
  634. package/dist/model/SiteInput.d.ts.map +1 -0
  635. package/dist/model/SiteInput.js +243 -0
  636. package/dist/model/SiteResponse.d.ts +117 -0
  637. package/dist/model/SiteResponse.d.ts.map +1 -0
  638. package/dist/model/SiteResponse.js +342 -0
  639. package/dist/model/SiteTypeInput.d.ts +75 -0
  640. package/dist/model/SiteTypeInput.d.ts.map +1 -0
  641. package/dist/model/SiteTypeInput.js +216 -0
  642. package/dist/model/SiteTypeResponse.d.ts +77 -0
  643. package/dist/model/SiteTypeResponse.d.ts.map +1 -0
  644. package/dist/model/SiteTypeResponse.js +216 -0
  645. package/dist/model/SkinField.d.ts +381 -0
  646. package/dist/model/SkinField.d.ts.map +1 -0
  647. package/dist/model/SkinField.js +737 -0
  648. package/dist/model/SkinFieldResponse.d.ts +227 -0
  649. package/dist/model/SkinFieldResponse.d.ts.map +1 -0
  650. package/dist/model/SkinFieldResponse.js +655 -0
  651. package/dist/model/SocialGroup.d.ts +200 -0
  652. package/dist/model/SocialGroup.d.ts.map +1 -0
  653. package/dist/model/SocialGroup.js +602 -0
  654. package/dist/model/SocialGroupType.d.ts +110 -0
  655. package/dist/model/SocialGroupType.d.ts.map +1 -0
  656. package/dist/model/SocialGroupType.js +327 -0
  657. package/dist/model/Sort.d.ts +56 -0
  658. package/dist/model/Sort.d.ts.map +1 -0
  659. package/dist/model/Sort.js +154 -0
  660. package/dist/model/SourceTypes.d.ts +56 -0
  661. package/dist/model/SourceTypes.d.ts.map +1 -0
  662. package/dist/model/SourceTypes.js +154 -0
  663. package/dist/model/StatusUpdate.d.ts +110 -0
  664. package/dist/model/StatusUpdate.d.ts.map +1 -0
  665. package/dist/model/StatusUpdate.js +312 -0
  666. package/dist/model/StreetAddress.d.ts +74 -0
  667. package/dist/model/StreetAddress.d.ts.map +1 -0
  668. package/dist/model/StreetAddress.js +224 -0
  669. package/dist/model/StripeAccount.d.ts +157 -0
  670. package/dist/model/StripeAccount.d.ts.map +1 -0
  671. package/dist/model/StripeAccount.js +463 -0
  672. package/dist/model/StripeCustomerAccount.d.ts +74 -0
  673. package/dist/model/StripeCustomerAccount.d.ts.map +1 -0
  674. package/dist/model/StripeCustomerAccount.js +212 -0
  675. package/dist/model/Template.d.ts +96 -0
  676. package/dist/model/Template.d.ts.map +1 -0
  677. package/dist/model/Template.js +272 -0
  678. package/dist/model/TemplateResponse.d.ts +107 -0
  679. package/dist/model/TemplateResponse.d.ts.map +1 -0
  680. package/dist/model/TemplateResponse.js +301 -0
  681. package/dist/model/TemplateSchema.d.ts +105 -0
  682. package/dist/model/TemplateSchema.d.ts.map +1 -0
  683. package/dist/model/TemplateSchema.js +300 -0
  684. package/dist/model/ThemeMapping.d.ts +83 -0
  685. package/dist/model/ThemeMapping.d.ts.map +1 -0
  686. package/dist/model/ThemeMapping.js +245 -0
  687. package/dist/model/ThemeMappingPayload.d.ts +83 -0
  688. package/dist/model/ThemeMappingPayload.d.ts.map +1 -0
  689. package/dist/model/ThemeMappingPayload.js +239 -0
  690. package/dist/model/TopicInfoResponse.d.ts +87 -0
  691. package/dist/model/TopicInfoResponse.d.ts.map +1 -0
  692. package/dist/model/TopicInfoResponse.js +269 -0
  693. package/dist/model/TopicMessageInput.d.ts +57 -0
  694. package/dist/model/TopicMessageInput.d.ts.map +1 -0
  695. package/dist/model/TopicMessageInput.js +158 -0
  696. package/dist/model/TopicSubscriptionResponse.d.ts +77 -0
  697. package/dist/model/TopicSubscriptionResponse.d.ts.map +1 -0
  698. package/dist/model/TopicSubscriptionResponse.js +220 -0
  699. package/dist/model/Transaction.d.ts +47 -0
  700. package/dist/model/Transaction.d.ts.map +1 -0
  701. package/dist/model/Transaction.js +137 -0
  702. package/dist/model/Transfer.d.ts +100 -0
  703. package/dist/model/Transfer.d.ts.map +1 -0
  704. package/dist/model/Transfer.js +286 -0
  705. package/dist/model/TransferInput.d.ts +156 -0
  706. package/dist/model/TransferInput.d.ts.map +1 -0
  707. package/dist/model/TransferInput.js +433 -0
  708. package/dist/model/TransferResponse.d.ts +91 -0
  709. package/dist/model/TransferResponse.d.ts.map +1 -0
  710. package/dist/model/TransferResponse.js +276 -0
  711. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +100 -0
  712. package/dist/model/TransferResponsePaymentMethodDetails.d.ts.map +1 -0
  713. package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
  714. package/dist/model/TraversalRelationResponse.d.ts +47 -0
  715. package/dist/model/TraversalRelationResponse.d.ts.map +1 -0
  716. package/dist/model/TraversalRelationResponse.js +176 -0
  717. package/dist/model/User.d.ts +173 -0
  718. package/dist/model/User.d.ts.map +1 -0
  719. package/dist/model/User.js +525 -0
  720. package/dist/model/UserDataPayload.d.ts +173 -0
  721. package/dist/model/UserDataPayload.d.ts.map +1 -0
  722. package/dist/model/UserDataPayload.js +525 -0
  723. package/dist/model/UserDomain.d.ts +65 -0
  724. package/dist/model/UserDomain.d.ts.map +1 -0
  725. package/dist/model/UserDomain.js +191 -0
  726. package/dist/model/UserInvite.d.ts +137 -0
  727. package/dist/model/UserInvite.d.ts.map +1 -0
  728. package/dist/model/UserInvite.js +404 -0
  729. package/dist/model/UserInviteInput.d.ts +83 -0
  730. package/dist/model/UserInviteInput.d.ts.map +1 -0
  731. package/dist/model/UserInviteInput.js +245 -0
  732. package/dist/model/UserResponse.d.ts +197 -0
  733. package/dist/model/UserResponse.d.ts.map +1 -0
  734. package/dist/model/UserResponse.js +578 -0
  735. package/dist/model/UserSchema.d.ts +173 -0
  736. package/dist/model/UserSchema.d.ts.map +1 -0
  737. package/dist/model/UserSchema.js +525 -0
  738. package/dist/model/UserTag.d.ts +83 -0
  739. package/dist/model/UserTag.d.ts.map +1 -0
  740. package/dist/model/UserTag.js +246 -0
  741. package/dist/model/Userid.d.ts +47 -0
  742. package/dist/model/Userid.d.ts.map +1 -0
  743. package/dist/model/Userid.js +133 -0
  744. package/dist/model/Video.d.ts +218 -0
  745. package/dist/model/Video.d.ts.map +1 -0
  746. package/dist/model/Video.js +632 -0
  747. package/dist/model/VideoLiveUrl.d.ts +47 -0
  748. package/dist/model/VideoLiveUrl.d.ts.map +1 -0
  749. package/dist/model/VideoLiveUrl.js +137 -0
  750. package/dist/model/VideoSchema.d.ts +245 -0
  751. package/dist/model/VideoSchema.d.ts.map +1 -0
  752. package/dist/model/VideoSchema.js +717 -0
  753. package/dist/model/VideoUploadObject.d.ts +218 -0
  754. package/dist/model/VideoUploadObject.d.ts.map +1 -0
  755. package/dist/model/VideoUploadObject.js +632 -0
  756. package/dist/model/WalletHoldInput.d.ts +96 -0
  757. package/dist/model/WalletHoldInput.d.ts.map +1 -0
  758. package/dist/model/WalletHoldInput.js +260 -0
  759. package/dist/model/WalletHoldResponse.d.ts +126 -0
  760. package/dist/model/WalletHoldResponse.d.ts.map +1 -0
  761. package/dist/model/WalletHoldResponse.js +345 -0
  762. package/dist/model/WalletPayoutInput.d.ts +76 -0
  763. package/dist/model/WalletPayoutInput.d.ts.map +1 -0
  764. package/dist/model/WalletPayoutInput.js +206 -0
  765. package/dist/model/WalletPayoutResponse.d.ts +96 -0
  766. package/dist/model/WalletPayoutResponse.d.ts.map +1 -0
  767. package/dist/model/WalletPayoutResponse.js +260 -0
  768. package/dist/model/WalletResponse.d.ts +87 -0
  769. package/dist/model/WalletResponse.d.ts.map +1 -0
  770. package/dist/model/WalletResponse.js +239 -0
  771. package/dist/model/ZeusPortalCategory.d.ts +146 -0
  772. package/dist/model/ZeusPortalCategory.d.ts.map +1 -0
  773. package/dist/model/ZeusPortalCategory.js +434 -0
  774. package/package.json +53 -0
@@ -0,0 +1,2117 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _Document = _interopRequireDefault(require("../model/Document"));
9
+ var _DocumentPart = _interopRequireDefault(require("../model/DocumentPart"));
10
+ var _DocumentPartType = _interopRequireDefault(require("../model/DocumentPartType"));
11
+ var _DocumentType = _interopRequireDefault(require("../model/DocumentType"));
12
+ var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
20
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
21
+ * gobodo-api
22
+ * REST Interface for Gobodo API
23
+ *
24
+ * The version of the OpenAPI document: 0.1.89
25
+ * Contact: info@gobodo.io
26
+ *
27
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
28
+ * https://openapi-generator.tech
29
+ * Do not edit the class manually.
30
+ *
31
+ */
32
+ /**
33
+ * ContentManagement service.
34
+ * @module api/ContentManagementApi
35
+ * @version 0.1.89
36
+ */
37
+ var ContentManagementApi = exports["default"] = /*#__PURE__*/function () {
38
+ /**
39
+ * Constructs a new ContentManagementApi.
40
+ * @alias module:api/ContentManagementApi
41
+ * @class
42
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
43
+ * default to {@link module:ApiClient#instance} if unspecified.
44
+ */
45
+ function ContentManagementApi(apiClient) {
46
+ _classCallCheck(this, ContentManagementApi);
47
+ this.apiClient = apiClient || _ApiClient["default"].instance;
48
+ }
49
+
50
+ /**
51
+ * Create a new document
52
+ * @param {Number} docid
53
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
54
+ * @param {Object} opts Optional parameters
55
+ * @param {String} [authorization] The authorization token of the logged in user
56
+ * @param {Number} [cacheduration] The how long the cache entry should persist
57
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
58
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
59
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
60
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
61
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
62
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
63
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
64
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
65
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentPart>} and HTTP response
66
+ */
67
+ _createClass(ContentManagementApi, [{
68
+ key: "addDocumentPartWithHttpInfo",
69
+ value: function addDocumentPartWithHttpInfo(docid, documentPart, opts) {
70
+ opts = opts || {};
71
+ var postBody = documentPart;
72
+ // verify the required parameter 'docid' is set
73
+ if (docid === undefined || docid === null) {
74
+ throw new Error("Missing the required parameter 'docid' when calling addDocumentPart");
75
+ }
76
+ // verify the required parameter 'documentPart' is set
77
+ if (documentPart === undefined || documentPart === null) {
78
+ throw new Error("Missing the required parameter 'documentPart' when calling addDocumentPart");
79
+ }
80
+ var pathParams = {
81
+ 'docid': docid
82
+ };
83
+ var queryParams = {};
84
+ var headerParams = {
85
+ 'Authorization': opts['authorization'],
86
+ 'cacheduration': opts['cacheduration'],
87
+ 'cachegroup': opts['cachegroup'],
88
+ 'cachekey': opts['cachekey'],
89
+ 'cachescope': opts['cachescope'],
90
+ 'cacheuser': opts['cacheuser'],
91
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
92
+ 'zeusportal-postas': opts['zeusportalPostas'],
93
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
94
+ 'transactionid': opts['transactionid']
95
+ };
96
+ var formParams = {};
97
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
98
+ var contentTypes = [];
99
+ var accepts = ['*/*'];
100
+ var returnType = [_DocumentPart["default"]];
101
+ return this.apiClient.callApi('/graph/data/articles/{docid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
102
+ }
103
+
104
+ /**
105
+ * Create a new document
106
+ * @param {Number} docid
107
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
108
+ * @param {Object} opts Optional parameters
109
+ * @param {String} opts.authorization The authorization token of the logged in user
110
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
111
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
112
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
113
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
114
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
115
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
116
+ * @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
117
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
118
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
119
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentPart>}
120
+ */
121
+ }, {
122
+ key: "addDocumentPart",
123
+ value: function addDocumentPart(docid, documentPart, opts) {
124
+ return this.addDocumentPartWithHttpInfo(docid, documentPart, opts).then(function (response_and_data) {
125
+ return response_and_data.data;
126
+ });
127
+ }
128
+
129
+ /**
130
+ * Changes the document part's type
131
+ * @param {Number} docpartid
132
+ * @param {Number} typeid
133
+ * @param {Object} opts Optional parameters
134
+ * @param {String} [authorization] The authorization token of the logged in user
135
+ * @param {Number} [cacheduration] The how long the cache entry should persist
136
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
137
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
138
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
139
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
140
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
141
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
142
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
143
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
144
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
145
+ */
146
+ }, {
147
+ key: "changeDocPartTypeWithHttpInfo",
148
+ value: function changeDocPartTypeWithHttpInfo(docpartid, typeid, opts) {
149
+ opts = opts || {};
150
+ var postBody = null;
151
+ // verify the required parameter 'docpartid' is set
152
+ if (docpartid === undefined || docpartid === null) {
153
+ throw new Error("Missing the required parameter 'docpartid' when calling changeDocPartType");
154
+ }
155
+ // verify the required parameter 'typeid' is set
156
+ if (typeid === undefined || typeid === null) {
157
+ throw new Error("Missing the required parameter 'typeid' when calling changeDocPartType");
158
+ }
159
+ var pathParams = {
160
+ 'docpartid': docpartid,
161
+ 'typeid': typeid
162
+ };
163
+ var queryParams = {};
164
+ var headerParams = {
165
+ 'Authorization': opts['authorization'],
166
+ 'cacheduration': opts['cacheduration'],
167
+ 'cachegroup': opts['cachegroup'],
168
+ 'cachekey': opts['cachekey'],
169
+ 'cachescope': opts['cachescope'],
170
+ 'cacheuser': opts['cacheuser'],
171
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
172
+ 'zeusportal-postas': opts['zeusportalPostas'],
173
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
174
+ 'transactionid': opts['transactionid']
175
+ };
176
+ var formParams = {};
177
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
178
+ var contentTypes = [];
179
+ var accepts = ['*/*'];
180
+ var returnType = null;
181
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/changetype/{typeid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
182
+ }
183
+
184
+ /**
185
+ * Changes the document part's type
186
+ * @param {Number} docpartid
187
+ * @param {Number} typeid
188
+ * @param {Object} opts Optional parameters
189
+ * @param {String} opts.authorization The authorization token of the logged in user
190
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
191
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
192
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
193
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
194
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
195
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
196
+ * @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
197
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
198
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
199
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
200
+ */
201
+ }, {
202
+ key: "changeDocPartType",
203
+ value: function changeDocPartType(docpartid, typeid, opts) {
204
+ return this.changeDocPartTypeWithHttpInfo(docpartid, typeid, opts).then(function (response_and_data) {
205
+ return response_and_data.data;
206
+ });
207
+ }
208
+
209
+ /**
210
+ * @param {Number} id
211
+ * @param {Object} opts Optional parameters
212
+ * @param {String} [authorization] The authorization token of the logged in user
213
+ * @param {Number} [cacheduration] The how long the cache entry should persist
214
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
215
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
216
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
217
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
218
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
219
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
220
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
221
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
222
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
223
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
224
+ */
225
+ }, {
226
+ key: "changeStatusWithHttpInfo",
227
+ value: function changeStatusWithHttpInfo(id, opts) {
228
+ opts = opts || {};
229
+ var postBody = opts['requestBody'];
230
+ // verify the required parameter 'id' is set
231
+ if (id === undefined || id === null) {
232
+ throw new Error("Missing the required parameter 'id' when calling changeStatus");
233
+ }
234
+ var pathParams = {
235
+ 'id': id
236
+ };
237
+ var queryParams = {};
238
+ var headerParams = {
239
+ 'Authorization': opts['authorization'],
240
+ 'cacheduration': opts['cacheduration'],
241
+ 'cachegroup': opts['cachegroup'],
242
+ 'cachekey': opts['cachekey'],
243
+ 'cachescope': opts['cachescope'],
244
+ 'cacheuser': opts['cacheuser'],
245
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
246
+ 'zeusportal-postas': opts['zeusportalPostas'],
247
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
248
+ 'transactionid': opts['transactionid']
249
+ };
250
+ var formParams = {};
251
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
252
+ var contentTypes = ['application/json'];
253
+ var accepts = ['*/*'];
254
+ var returnType = null;
255
+ return this.apiClient.callApi('/graph/data/articles/{id}/status', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
256
+ }
257
+
258
+ /**
259
+ * @param {Number} id
260
+ * @param {Object} opts Optional parameters
261
+ * @param {String} opts.authorization The authorization token of the logged in user
262
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
263
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
264
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
265
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
266
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
267
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
268
+ * @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
269
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
270
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
271
+ * @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
272
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
273
+ */
274
+ }, {
275
+ key: "changeStatus",
276
+ value: function changeStatus(id, opts) {
277
+ return this.changeStatusWithHttpInfo(id, opts).then(function (response_and_data) {
278
+ return response_and_data.data;
279
+ });
280
+ }
281
+
282
+ /**
283
+ * Copies the specified document
284
+ * @param {Number} docid
285
+ * @param {Object} opts Optional parameters
286
+ * @param {String} [authorization] The authorization token of the logged in user
287
+ * @param {Number} [cacheduration] The how long the cache entry should persist
288
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
289
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
290
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
291
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
292
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
293
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
294
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
295
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
296
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Document} and HTTP response
297
+ */
298
+ }, {
299
+ key: "copyDocumentWithHttpInfo",
300
+ value: function copyDocumentWithHttpInfo(docid, opts) {
301
+ opts = opts || {};
302
+ var postBody = null;
303
+ // verify the required parameter 'docid' is set
304
+ if (docid === undefined || docid === null) {
305
+ throw new Error("Missing the required parameter 'docid' when calling copyDocument");
306
+ }
307
+ var pathParams = {
308
+ 'docid': docid
309
+ };
310
+ var queryParams = {};
311
+ var headerParams = {
312
+ 'Authorization': opts['authorization'],
313
+ 'cacheduration': opts['cacheduration'],
314
+ 'cachegroup': opts['cachegroup'],
315
+ 'cachekey': opts['cachekey'],
316
+ 'cachescope': opts['cachescope'],
317
+ 'cacheuser': opts['cacheuser'],
318
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
319
+ 'zeusportal-postas': opts['zeusportalPostas'],
320
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
321
+ 'transactionid': opts['transactionid']
322
+ };
323
+ var formParams = {};
324
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
325
+ var contentTypes = [];
326
+ var accepts = ['application/json'];
327
+ var returnType = _Document["default"];
328
+ return this.apiClient.callApi('/graph/data/articles/{docid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
329
+ }
330
+
331
+ /**
332
+ * Copies the specified document
333
+ * @param {Number} docid
334
+ * @param {Object} opts Optional parameters
335
+ * @param {String} opts.authorization The authorization token of the logged in user
336
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
337
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
338
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
339
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
340
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
341
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
342
+ * @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
343
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
344
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
345
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Document}
346
+ */
347
+ }, {
348
+ key: "copyDocument",
349
+ value: function copyDocument(docid, opts) {
350
+ return this.copyDocumentWithHttpInfo(docid, opts).then(function (response_and_data) {
351
+ return response_and_data.data;
352
+ });
353
+ }
354
+
355
+ /**
356
+ * Create a copy of the document part attached to the same parent document part or Article as the original
357
+ * @param {Number} docpartid
358
+ * @param {Object} opts Optional parameters
359
+ * @param {String} [authorization] The authorization token of the logged in user
360
+ * @param {Number} [cacheduration] The how long the cache entry should persist
361
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
362
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
363
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
364
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
365
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
366
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
367
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
368
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
369
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
370
+ */
371
+ }, {
372
+ key: "copyDocumentPartWithHttpInfo",
373
+ value: function copyDocumentPartWithHttpInfo(docpartid, opts) {
374
+ opts = opts || {};
375
+ var postBody = null;
376
+ // verify the required parameter 'docpartid' is set
377
+ if (docpartid === undefined || docpartid === null) {
378
+ throw new Error("Missing the required parameter 'docpartid' when calling copyDocumentPart");
379
+ }
380
+ var pathParams = {
381
+ 'docpartid': docpartid
382
+ };
383
+ var queryParams = {};
384
+ var headerParams = {
385
+ 'Authorization': opts['authorization'],
386
+ 'cacheduration': opts['cacheduration'],
387
+ 'cachegroup': opts['cachegroup'],
388
+ 'cachekey': opts['cachekey'],
389
+ 'cachescope': opts['cachescope'],
390
+ 'cacheuser': opts['cacheuser'],
391
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
392
+ 'zeusportal-postas': opts['zeusportalPostas'],
393
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
394
+ 'transactionid': opts['transactionid']
395
+ };
396
+ var formParams = {};
397
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
398
+ var contentTypes = [];
399
+ var accepts = ['*/*'];
400
+ var returnType = _PurgeDataDefaultResponseValue["default"];
401
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/copy', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
402
+ }
403
+
404
+ /**
405
+ * Create a copy of the document part attached to the same parent document part or Article as the original
406
+ * @param {Number} docpartid
407
+ * @param {Object} opts Optional parameters
408
+ * @param {String} opts.authorization The authorization token of the logged in user
409
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
410
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
411
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
412
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
413
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
414
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
415
+ * @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
416
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
417
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
418
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
419
+ */
420
+ }, {
421
+ key: "copyDocumentPart",
422
+ value: function copyDocumentPart(docpartid, opts) {
423
+ return this.copyDocumentPartWithHttpInfo(docpartid, opts).then(function (response_and_data) {
424
+ return response_and_data.data;
425
+ });
426
+ }
427
+
428
+ /**
429
+ * Create child document part(s)
430
+ * @param {Number} docpartid
431
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
432
+ * @param {Object} opts Optional parameters
433
+ * @param {String} [authorization] The authorization token of the logged in user
434
+ * @param {Number} [cacheduration] The how long the cache entry should persist
435
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
436
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
437
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
438
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
439
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
440
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
441
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
442
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
443
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentPart>} and HTTP response
444
+ */
445
+ }, {
446
+ key: "createChildDocumentPartWithHttpInfo",
447
+ value: function createChildDocumentPartWithHttpInfo(docpartid, documentPart, opts) {
448
+ opts = opts || {};
449
+ var postBody = documentPart;
450
+ // verify the required parameter 'docpartid' is set
451
+ if (docpartid === undefined || docpartid === null) {
452
+ throw new Error("Missing the required parameter 'docpartid' when calling createChildDocumentPart");
453
+ }
454
+ // verify the required parameter 'documentPart' is set
455
+ if (documentPart === undefined || documentPart === null) {
456
+ throw new Error("Missing the required parameter 'documentPart' when calling createChildDocumentPart");
457
+ }
458
+ var pathParams = {
459
+ 'docpartid': docpartid
460
+ };
461
+ var queryParams = {};
462
+ var headerParams = {
463
+ 'Authorization': opts['authorization'],
464
+ 'cacheduration': opts['cacheduration'],
465
+ 'cachegroup': opts['cachegroup'],
466
+ 'cachekey': opts['cachekey'],
467
+ 'cachescope': opts['cachescope'],
468
+ 'cacheuser': opts['cacheuser'],
469
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
470
+ 'zeusportal-postas': opts['zeusportalPostas'],
471
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
472
+ 'transactionid': opts['transactionid']
473
+ };
474
+ var formParams = {};
475
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
476
+ var contentTypes = [];
477
+ var accepts = ['*/*'];
478
+ var returnType = [_DocumentPart["default"]];
479
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
480
+ }
481
+
482
+ /**
483
+ * Create child document part(s)
484
+ * @param {Number} docpartid
485
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
486
+ * @param {Object} opts Optional parameters
487
+ * @param {String} opts.authorization The authorization token of the logged in user
488
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
489
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
490
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
491
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
492
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
493
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
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 {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
496
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
497
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentPart>}
498
+ */
499
+ }, {
500
+ key: "createChildDocumentPart",
501
+ value: function createChildDocumentPart(docpartid, documentPart, opts) {
502
+ return this.createChildDocumentPartWithHttpInfo(docpartid, documentPart, opts).then(function (response_and_data) {
503
+ return response_and_data.data;
504
+ });
505
+ }
506
+
507
+ /**
508
+ * Create a new document
509
+ * @param {Array.<module:model/Document>} document Document or array of documents to create
510
+ * @param {Object} opts Optional parameters
511
+ * @param {String} [authorization] The authorization token of the logged in user
512
+ * @param {Number} [cacheduration] The how long the cache entry should persist
513
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
514
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
515
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
516
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
517
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
518
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
519
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
520
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
521
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Document>} and HTTP response
522
+ */
523
+ }, {
524
+ key: "createDocumentWithHttpInfo",
525
+ value: function createDocumentWithHttpInfo(document, opts) {
526
+ opts = opts || {};
527
+ var postBody = document;
528
+ // verify the required parameter 'document' is set
529
+ if (document === undefined || document === null) {
530
+ throw new Error("Missing the required parameter 'document' when calling createDocument");
531
+ }
532
+ var pathParams = {};
533
+ var queryParams = {};
534
+ var headerParams = {
535
+ 'Authorization': opts['authorization'],
536
+ 'cacheduration': opts['cacheduration'],
537
+ 'cachegroup': opts['cachegroup'],
538
+ 'cachekey': opts['cachekey'],
539
+ 'cachescope': opts['cachescope'],
540
+ 'cacheuser': opts['cacheuser'],
541
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
542
+ 'zeusportal-postas': opts['zeusportalPostas'],
543
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
544
+ 'transactionid': opts['transactionid']
545
+ };
546
+ var formParams = {};
547
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
548
+ var contentTypes = ['application/json'];
549
+ var accepts = ['application/json'];
550
+ var returnType = [_Document["default"]];
551
+ return this.apiClient.callApi('/graph/data/articles', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
552
+ }
553
+
554
+ /**
555
+ * Create a new document
556
+ * @param {Array.<module:model/Document>} document Document or array of documents to create
557
+ * @param {Object} opts Optional parameters
558
+ * @param {String} opts.authorization The authorization token of the logged in user
559
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
560
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
561
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
562
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
563
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
564
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
565
+ * @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
566
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
567
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
568
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Document>}
569
+ */
570
+ }, {
571
+ key: "createDocument",
572
+ value: function createDocument(document, opts) {
573
+ return this.createDocumentWithHttpInfo(document, opts).then(function (response_and_data) {
574
+ return response_and_data.data;
575
+ });
576
+ }
577
+
578
+ /**
579
+ * Create a new document part
580
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
581
+ * @param {Object} opts Optional parameters
582
+ * @param {String} [authorization] The authorization token of the logged in user
583
+ * @param {Number} [cacheduration] The how long the cache entry should persist
584
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
585
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
586
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
587
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
588
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
589
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
590
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
591
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
592
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurgeDataDefaultResponseValue} and HTTP response
593
+ */
594
+ }, {
595
+ key: "createDocumentPartWithHttpInfo",
596
+ value: function createDocumentPartWithHttpInfo(documentPart, opts) {
597
+ opts = opts || {};
598
+ var postBody = documentPart;
599
+ // verify the required parameter 'documentPart' is set
600
+ if (documentPart === undefined || documentPart === null) {
601
+ throw new Error("Missing the required parameter 'documentPart' when calling createDocumentPart");
602
+ }
603
+ var pathParams = {};
604
+ var queryParams = {};
605
+ var headerParams = {
606
+ 'Authorization': opts['authorization'],
607
+ 'cacheduration': opts['cacheduration'],
608
+ 'cachegroup': opts['cachegroup'],
609
+ 'cachekey': opts['cachekey'],
610
+ 'cachescope': opts['cachescope'],
611
+ 'cacheuser': opts['cacheuser'],
612
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
613
+ 'zeusportal-postas': opts['zeusportalPostas'],
614
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
615
+ 'transactionid': opts['transactionid']
616
+ };
617
+ var formParams = {};
618
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
619
+ var contentTypes = [];
620
+ var accepts = ['*/*'];
621
+ var returnType = _PurgeDataDefaultResponseValue["default"];
622
+ return this.apiClient.callApi('/graph/data/entryparts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
623
+ }
624
+
625
+ /**
626
+ * Create a new document part
627
+ * @param {Array.<module:model/DocumentPart>} documentPart Document part or array of document parts to create
628
+ * @param {Object} opts Optional parameters
629
+ * @param {String} opts.authorization The authorization token of the logged in user
630
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
631
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
632
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
633
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
634
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
635
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
636
+ * @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
637
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
638
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
639
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurgeDataDefaultResponseValue}
640
+ */
641
+ }, {
642
+ key: "createDocumentPart",
643
+ value: function createDocumentPart(documentPart, opts) {
644
+ return this.createDocumentPartWithHttpInfo(documentPart, opts).then(function (response_and_data) {
645
+ return response_and_data.data;
646
+ });
647
+ }
648
+
649
+ /**
650
+ * Delete Document Part
651
+ * Delete an individual entry part
652
+ * @param {Number} docpartid
653
+ * @param {Object} opts Optional parameters
654
+ * @param {String} [authorization] The authorization token of the logged in user
655
+ * @param {Number} [cacheduration] The how long the cache entry should persist
656
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
657
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
658
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
659
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
660
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
661
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
662
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
663
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
664
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
665
+ */
666
+ }, {
667
+ key: "deleteDocPartWithHttpInfo",
668
+ value: function deleteDocPartWithHttpInfo(docpartid, opts) {
669
+ opts = opts || {};
670
+ var postBody = null;
671
+ // verify the required parameter 'docpartid' is set
672
+ if (docpartid === undefined || docpartid === null) {
673
+ throw new Error("Missing the required parameter 'docpartid' when calling deleteDocPart");
674
+ }
675
+ var pathParams = {
676
+ 'docpartid': docpartid
677
+ };
678
+ var queryParams = {};
679
+ var headerParams = {
680
+ 'Authorization': opts['authorization'],
681
+ 'cacheduration': opts['cacheduration'],
682
+ 'cachegroup': opts['cachegroup'],
683
+ 'cachekey': opts['cachekey'],
684
+ 'cachescope': opts['cachescope'],
685
+ 'cacheuser': opts['cacheuser'],
686
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
687
+ 'zeusportal-postas': opts['zeusportalPostas'],
688
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
689
+ 'transactionid': opts['transactionid']
690
+ };
691
+ var formParams = {};
692
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
693
+ var contentTypes = [];
694
+ var accepts = ['application/json'];
695
+ var returnType = null;
696
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
697
+ }
698
+
699
+ /**
700
+ * Delete Document Part
701
+ * Delete an individual entry part
702
+ * @param {Number} docpartid
703
+ * @param {Object} opts Optional parameters
704
+ * @param {String} opts.authorization The authorization token of the logged in user
705
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
706
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
707
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
708
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
709
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
710
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
711
+ * @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
712
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
713
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
714
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
715
+ */
716
+ }, {
717
+ key: "deleteDocPart",
718
+ value: function deleteDocPart(docpartid, opts) {
719
+ return this.deleteDocPartWithHttpInfo(docpartid, opts).then(function (response_and_data) {
720
+ return response_and_data.data;
721
+ });
722
+ }
723
+
724
+ /**
725
+ * Delete Document Part
726
+ * Delete an individual document
727
+ * @param {Number} docid
728
+ * @param {Object} opts Optional parameters
729
+ * @param {String} [authorization] The authorization token of the logged in user
730
+ * @param {Number} [cacheduration] The how long the cache entry should persist
731
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
732
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
733
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
734
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
735
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
736
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
737
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
738
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
739
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
740
+ */
741
+ }, {
742
+ key: "deleteDocumentWithHttpInfo",
743
+ value: function deleteDocumentWithHttpInfo(docid, opts) {
744
+ opts = opts || {};
745
+ var postBody = null;
746
+ // verify the required parameter 'docid' is set
747
+ if (docid === undefined || docid === null) {
748
+ throw new Error("Missing the required parameter 'docid' when calling deleteDocument");
749
+ }
750
+ var pathParams = {
751
+ 'docid': docid
752
+ };
753
+ var queryParams = {};
754
+ var headerParams = {
755
+ 'Authorization': opts['authorization'],
756
+ 'cacheduration': opts['cacheduration'],
757
+ 'cachegroup': opts['cachegroup'],
758
+ 'cachekey': opts['cachekey'],
759
+ 'cachescope': opts['cachescope'],
760
+ 'cacheuser': opts['cacheuser'],
761
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
762
+ 'zeusportal-postas': opts['zeusportalPostas'],
763
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
764
+ 'transactionid': opts['transactionid']
765
+ };
766
+ var formParams = {};
767
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
768
+ var contentTypes = [];
769
+ var accepts = ['application/json'];
770
+ var returnType = null;
771
+ return this.apiClient.callApi('/graph/data/articles/{docid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
772
+ }
773
+
774
+ /**
775
+ * Delete Document Part
776
+ * Delete an individual document
777
+ * @param {Number} docid
778
+ * @param {Object} opts Optional parameters
779
+ * @param {String} opts.authorization The authorization token of the logged in user
780
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
781
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
782
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
783
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
784
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
785
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
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 {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
788
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
789
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
790
+ */
791
+ }, {
792
+ key: "deleteDocument",
793
+ value: function deleteDocument(docid, opts) {
794
+ return this.deleteDocumentWithHttpInfo(docid, opts).then(function (response_and_data) {
795
+ return response_and_data.data;
796
+ });
797
+ }
798
+
799
+ /**
800
+ * Updates to the document
801
+ * @param {Number} docid
802
+ * @param {module:model/Document} document The document to update
803
+ * @param {Object} opts Optional parameters
804
+ * @param {String} [authorization] The authorization token of the logged in user
805
+ * @param {Number} [cacheduration] The how long the cache entry should persist
806
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
807
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
808
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
809
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
810
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
811
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
812
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
813
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
814
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Document} and HTTP response
815
+ */
816
+ }, {
817
+ key: "editDocumentWithHttpInfo",
818
+ value: function editDocumentWithHttpInfo(docid, document, opts) {
819
+ opts = opts || {};
820
+ var postBody = document;
821
+ // verify the required parameter 'docid' is set
822
+ if (docid === undefined || docid === null) {
823
+ throw new Error("Missing the required parameter 'docid' when calling editDocument");
824
+ }
825
+ // verify the required parameter 'document' is set
826
+ if (document === undefined || document === null) {
827
+ throw new Error("Missing the required parameter 'document' when calling editDocument");
828
+ }
829
+ var pathParams = {
830
+ 'docid': docid
831
+ };
832
+ var queryParams = {};
833
+ var headerParams = {
834
+ 'Authorization': opts['authorization'],
835
+ 'cacheduration': opts['cacheduration'],
836
+ 'cachegroup': opts['cachegroup'],
837
+ 'cachekey': opts['cachekey'],
838
+ 'cachescope': opts['cachescope'],
839
+ 'cacheuser': opts['cacheuser'],
840
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
841
+ 'zeusportal-postas': opts['zeusportalPostas'],
842
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
843
+ 'transactionid': opts['transactionid']
844
+ };
845
+ var formParams = {};
846
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
847
+ var contentTypes = ['application/json'];
848
+ var accepts = ['application/json'];
849
+ var returnType = _Document["default"];
850
+ return this.apiClient.callApi('/graph/data/articles/{docid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
851
+ }
852
+
853
+ /**
854
+ * Updates to the document
855
+ * @param {Number} docid
856
+ * @param {module:model/Document} document The document to update
857
+ * @param {Object} opts Optional parameters
858
+ * @param {String} opts.authorization The authorization token of the logged in user
859
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
860
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
861
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
862
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
863
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
864
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
865
+ * @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
866
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
867
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
868
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Document}
869
+ */
870
+ }, {
871
+ key: "editDocument",
872
+ value: function editDocument(docid, document, opts) {
873
+ return this.editDocumentWithHttpInfo(docid, document, opts).then(function (response_and_data) {
874
+ return response_and_data.data;
875
+ });
876
+ }
877
+
878
+ /**
879
+ * Root for the API
880
+ * @param {Object} opts Optional parameters
881
+ * @param {String} [authorization] The authorization token of the logged in user
882
+ * @param {Number} [cacheduration] The how long the cache entry should persist
883
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
884
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
885
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
886
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
887
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
888
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
889
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
890
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
891
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
892
+ */
893
+ }, {
894
+ key: "get20WithHttpInfo",
895
+ value: function get20WithHttpInfo(opts) {
896
+ opts = opts || {};
897
+ var postBody = null;
898
+ var pathParams = {};
899
+ var queryParams = {};
900
+ var headerParams = {
901
+ 'Authorization': opts['authorization'],
902
+ 'cacheduration': opts['cacheduration'],
903
+ 'cachegroup': opts['cachegroup'],
904
+ 'cachekey': opts['cachekey'],
905
+ 'cachescope': opts['cachescope'],
906
+ 'cacheuser': opts['cacheuser'],
907
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
908
+ 'zeusportal-postas': opts['zeusportalPostas'],
909
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
910
+ 'transactionid': opts['transactionid']
911
+ };
912
+ var formParams = {};
913
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
914
+ var contentTypes = [];
915
+ var accepts = ['*/*'];
916
+ var returnType = null;
917
+ return this.apiClient.callApi('/graph/data/articles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
918
+ }
919
+
920
+ /**
921
+ * Root for the API
922
+ * @param {Object} opts Optional parameters
923
+ * @param {String} opts.authorization The authorization token of the logged in user
924
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
925
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
926
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
927
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
928
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
929
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
930
+ * @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
931
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
932
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
933
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
934
+ */
935
+ }, {
936
+ key: "get20",
937
+ value: function get20(opts) {
938
+ return this.get20WithHttpInfo(opts).then(function (response_and_data) {
939
+ return response_and_data.data;
940
+ });
941
+ }
942
+
943
+ /**
944
+ * Root for the API
945
+ * @param {Object} opts Optional parameters
946
+ * @param {String} [authorization] The authorization token of the logged in user
947
+ * @param {Number} [cacheduration] The how long the cache entry should persist
948
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
949
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
950
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
951
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
952
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
953
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
954
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
955
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
956
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
957
+ */
958
+ }, {
959
+ key: "get21WithHttpInfo",
960
+ value: function get21WithHttpInfo(opts) {
961
+ opts = opts || {};
962
+ var postBody = null;
963
+ var pathParams = {};
964
+ var queryParams = {};
965
+ var headerParams = {
966
+ 'Authorization': opts['authorization'],
967
+ 'cacheduration': opts['cacheduration'],
968
+ 'cachegroup': opts['cachegroup'],
969
+ 'cachekey': opts['cachekey'],
970
+ 'cachescope': opts['cachescope'],
971
+ 'cacheuser': opts['cacheuser'],
972
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
973
+ 'zeusportal-postas': opts['zeusportalPostas'],
974
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
975
+ 'transactionid': opts['transactionid']
976
+ };
977
+ var formParams = {};
978
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
979
+ var contentTypes = [];
980
+ var accepts = ['*/*'];
981
+ var returnType = null;
982
+ return this.apiClient.callApi('/graph/data/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
983
+ }
984
+
985
+ /**
986
+ * Root for the API
987
+ * @param {Object} opts Optional parameters
988
+ * @param {String} opts.authorization The authorization token of the logged in user
989
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
990
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
991
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
992
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
993
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
994
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
995
+ * @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
996
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
997
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
998
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
999
+ */
1000
+ }, {
1001
+ key: "get21",
1002
+ value: function get21(opts) {
1003
+ return this.get21WithHttpInfo(opts).then(function (response_and_data) {
1004
+ return response_and_data.data;
1005
+ });
1006
+ }
1007
+
1008
+ /**
1009
+ * Returns all document types
1010
+ * @param {Object} opts Optional parameters
1011
+ * @param {String} [authorization] The authorization token of the logged in user
1012
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1013
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1014
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1015
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1016
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1017
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1018
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1019
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1020
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1021
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentPartType>} and HTTP response
1022
+ */
1023
+ }, {
1024
+ key: "getAllDocumentPartTypesWithHttpInfo",
1025
+ value: function getAllDocumentPartTypesWithHttpInfo(opts) {
1026
+ opts = opts || {};
1027
+ var postBody = null;
1028
+ var pathParams = {};
1029
+ var queryParams = {};
1030
+ var headerParams = {
1031
+ 'Authorization': opts['authorization'],
1032
+ 'cacheduration': opts['cacheduration'],
1033
+ 'cachegroup': opts['cachegroup'],
1034
+ 'cachekey': opts['cachekey'],
1035
+ 'cachescope': opts['cachescope'],
1036
+ 'cacheuser': opts['cacheuser'],
1037
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1038
+ 'zeusportal-postas': opts['zeusportalPostas'],
1039
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1040
+ 'transactionid': opts['transactionid']
1041
+ };
1042
+ var formParams = {};
1043
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1044
+ var contentTypes = [];
1045
+ var accepts = ['*/*'];
1046
+ var returnType = [_DocumentPartType["default"]];
1047
+ return this.apiClient.callApi('/graph/data/entryparttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1048
+ }
1049
+
1050
+ /**
1051
+ * Returns all document types
1052
+ * @param {Object} opts Optional parameters
1053
+ * @param {String} opts.authorization The authorization token of the logged in user
1054
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1055
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1056
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1057
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1058
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1059
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1060
+ * @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
1061
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1062
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1063
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentPartType>}
1064
+ */
1065
+ }, {
1066
+ key: "getAllDocumentPartTypes",
1067
+ value: function getAllDocumentPartTypes(opts) {
1068
+ return this.getAllDocumentPartTypesWithHttpInfo(opts).then(function (response_and_data) {
1069
+ return response_and_data.data;
1070
+ });
1071
+ }
1072
+
1073
+ /**
1074
+ * Returns all document types
1075
+ * @param {Object} opts Optional parameters
1076
+ * @param {String} [authorization] The authorization token of the logged in user
1077
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1078
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1079
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1080
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1081
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1082
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1083
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1084
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1085
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1086
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentType>} and HTTP response
1087
+ */
1088
+ }, {
1089
+ key: "getAllDocumentTypesWithHttpInfo",
1090
+ value: function getAllDocumentTypesWithHttpInfo(opts) {
1091
+ opts = opts || {};
1092
+ var postBody = null;
1093
+ var pathParams = {};
1094
+ var queryParams = {};
1095
+ var headerParams = {
1096
+ 'Authorization': opts['authorization'],
1097
+ 'cacheduration': opts['cacheduration'],
1098
+ 'cachegroup': opts['cachegroup'],
1099
+ 'cachekey': opts['cachekey'],
1100
+ 'cachescope': opts['cachescope'],
1101
+ 'cacheuser': opts['cacheuser'],
1102
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1103
+ 'zeusportal-postas': opts['zeusportalPostas'],
1104
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1105
+ 'transactionid': opts['transactionid']
1106
+ };
1107
+ var formParams = {};
1108
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1109
+ var contentTypes = [];
1110
+ var accepts = ['*/*'];
1111
+ var returnType = [_DocumentType["default"]];
1112
+ return this.apiClient.callApi('/graph/data/entrytypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1113
+ }
1114
+
1115
+ /**
1116
+ * Returns all document types
1117
+ * @param {Object} opts Optional parameters
1118
+ * @param {String} opts.authorization The authorization token of the logged in user
1119
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1120
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1121
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1122
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1123
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1124
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1125
+ * @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
1126
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1127
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1128
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentType>}
1129
+ */
1130
+ }, {
1131
+ key: "getAllDocumentTypes",
1132
+ value: function getAllDocumentTypes(opts) {
1133
+ return this.getAllDocumentTypesWithHttpInfo(opts).then(function (response_and_data) {
1134
+ return response_and_data.data;
1135
+ });
1136
+ }
1137
+
1138
+ /**
1139
+ * Returns all documents
1140
+ * @param {Object} opts Optional parameters
1141
+ * @param {String} [authorization] The authorization token of the logged in user
1142
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1143
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1144
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1145
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1146
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1147
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1148
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1149
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1150
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1151
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Document>} and HTTP response
1152
+ */
1153
+ }, {
1154
+ key: "getAllDocumentsWithHttpInfo",
1155
+ value: function getAllDocumentsWithHttpInfo(opts) {
1156
+ opts = opts || {};
1157
+ var postBody = null;
1158
+ var pathParams = {};
1159
+ var queryParams = {};
1160
+ var headerParams = {
1161
+ 'Authorization': opts['authorization'],
1162
+ 'cacheduration': opts['cacheduration'],
1163
+ 'cachegroup': opts['cachegroup'],
1164
+ 'cachekey': opts['cachekey'],
1165
+ 'cachescope': opts['cachescope'],
1166
+ 'cacheuser': opts['cacheuser'],
1167
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1168
+ 'zeusportal-postas': opts['zeusportalPostas'],
1169
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1170
+ 'transactionid': opts['transactionid']
1171
+ };
1172
+ var formParams = {};
1173
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1174
+ var contentTypes = [];
1175
+ var accepts = ['*/*'];
1176
+ var returnType = [_Document["default"]];
1177
+ return this.apiClient.callApi('/graph/data/articles/all', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1178
+ }
1179
+
1180
+ /**
1181
+ * Returns all documents
1182
+ * @param {Object} opts Optional parameters
1183
+ * @param {String} opts.authorization The authorization token of the logged in user
1184
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1185
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1186
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1187
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1188
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1189
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1190
+ * @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
1191
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1192
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1193
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Document>}
1194
+ */
1195
+ }, {
1196
+ key: "getAllDocuments",
1197
+ value: function getAllDocuments(opts) {
1198
+ return this.getAllDocumentsWithHttpInfo(opts).then(function (response_and_data) {
1199
+ return response_and_data.data;
1200
+ });
1201
+ }
1202
+
1203
+ /**
1204
+ * Returns the child document part with the given page number
1205
+ * @param {Number} id
1206
+ * @param {Number} pagenum
1207
+ * @param {Object} opts Optional parameters
1208
+ * @param {String} [authorization] The authorization token of the logged in user
1209
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1210
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1211
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1212
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1213
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1214
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1215
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1216
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1217
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1218
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DocumentPart} and HTTP response
1219
+ */
1220
+ }, {
1221
+ key: "getChildDocPartByPageNumWithHttpInfo",
1222
+ value: function getChildDocPartByPageNumWithHttpInfo(id, pagenum, opts) {
1223
+ opts = opts || {};
1224
+ var postBody = null;
1225
+ // verify the required parameter 'id' is set
1226
+ if (id === undefined || id === null) {
1227
+ throw new Error("Missing the required parameter 'id' when calling getChildDocPartByPageNum");
1228
+ }
1229
+ // verify the required parameter 'pagenum' is set
1230
+ if (pagenum === undefined || pagenum === null) {
1231
+ throw new Error("Missing the required parameter 'pagenum' when calling getChildDocPartByPageNum");
1232
+ }
1233
+ var pathParams = {
1234
+ 'id': id,
1235
+ 'pagenum': pagenum
1236
+ };
1237
+ var queryParams = {};
1238
+ var headerParams = {
1239
+ 'Authorization': opts['authorization'],
1240
+ 'cacheduration': opts['cacheduration'],
1241
+ 'cachegroup': opts['cachegroup'],
1242
+ 'cachekey': opts['cachekey'],
1243
+ 'cachescope': opts['cachescope'],
1244
+ 'cacheuser': opts['cacheuser'],
1245
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1246
+ 'zeusportal-postas': opts['zeusportalPostas'],
1247
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1248
+ 'transactionid': opts['transactionid']
1249
+ };
1250
+ var formParams = {};
1251
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1252
+ var contentTypes = [];
1253
+ var accepts = ['*/*'];
1254
+ var returnType = _DocumentPart["default"];
1255
+ return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1256
+ }
1257
+
1258
+ /**
1259
+ * Returns the child document part with the given page number
1260
+ * @param {Number} id
1261
+ * @param {Number} pagenum
1262
+ * @param {Object} opts Optional parameters
1263
+ * @param {String} opts.authorization The authorization token of the logged in user
1264
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1265
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1266
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1267
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1268
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1269
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1270
+ * @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
1271
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1272
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1273
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DocumentPart}
1274
+ */
1275
+ }, {
1276
+ key: "getChildDocPartByPageNum",
1277
+ value: function getChildDocPartByPageNum(id, pagenum, opts) {
1278
+ return this.getChildDocPartByPageNumWithHttpInfo(id, pagenum, opts).then(function (response_and_data) {
1279
+ return response_and_data.data;
1280
+ });
1281
+ }
1282
+
1283
+ /**
1284
+ * Returns all documents
1285
+ * @param {Number} id
1286
+ * @param {Object} opts Optional parameters
1287
+ * @param {String} [authorization] The authorization token of the logged in user
1288
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1289
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1290
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1291
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1292
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1293
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1294
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1295
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1296
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1297
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Document} and HTTP response
1298
+ */
1299
+ }, {
1300
+ key: "getDocumentByIdWithHttpInfo",
1301
+ value: function getDocumentByIdWithHttpInfo(id, opts) {
1302
+ opts = opts || {};
1303
+ var postBody = null;
1304
+ // verify the required parameter 'id' is set
1305
+ if (id === undefined || id === null) {
1306
+ throw new Error("Missing the required parameter 'id' when calling getDocumentById");
1307
+ }
1308
+ var pathParams = {
1309
+ 'id': id
1310
+ };
1311
+ var queryParams = {};
1312
+ var headerParams = {
1313
+ 'Authorization': opts['authorization'],
1314
+ 'cacheduration': opts['cacheduration'],
1315
+ 'cachegroup': opts['cachegroup'],
1316
+ 'cachekey': opts['cachekey'],
1317
+ 'cachescope': opts['cachescope'],
1318
+ 'cacheuser': opts['cacheuser'],
1319
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1320
+ 'zeusportal-postas': opts['zeusportalPostas'],
1321
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1322
+ 'transactionid': opts['transactionid']
1323
+ };
1324
+ var formParams = {};
1325
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1326
+ var contentTypes = [];
1327
+ var accepts = ['application/json'];
1328
+ var returnType = _Document["default"];
1329
+ return this.apiClient.callApi('/graph/data/articles/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1330
+ }
1331
+
1332
+ /**
1333
+ * Returns all documents
1334
+ * @param {Number} id
1335
+ * @param {Object} opts Optional parameters
1336
+ * @param {String} opts.authorization The authorization token of the logged in user
1337
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1338
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1339
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1340
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1341
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1342
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1343
+ * @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
1344
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1345
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1346
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Document}
1347
+ */
1348
+ }, {
1349
+ key: "getDocumentById",
1350
+ value: function getDocumentById(id, opts) {
1351
+ return this.getDocumentByIdWithHttpInfo(id, opts).then(function (response_and_data) {
1352
+ return response_and_data.data;
1353
+ });
1354
+ }
1355
+
1356
+ /**
1357
+ * Returns the entrypart with the given id
1358
+ * @param {Number} id
1359
+ * @param {Object} opts Optional parameters
1360
+ * @param {String} [authorization] The authorization token of the logged in user
1361
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1362
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1363
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1364
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1365
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1366
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1367
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1368
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1369
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1370
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DocumentPart} and HTTP response
1371
+ */
1372
+ }, {
1373
+ key: "getDocumentPartByIdWithHttpInfo",
1374
+ value: function getDocumentPartByIdWithHttpInfo(id, opts) {
1375
+ opts = opts || {};
1376
+ var postBody = null;
1377
+ // verify the required parameter 'id' is set
1378
+ if (id === undefined || id === null) {
1379
+ throw new Error("Missing the required parameter 'id' when calling getDocumentPartById");
1380
+ }
1381
+ var pathParams = {
1382
+ 'id': id
1383
+ };
1384
+ var queryParams = {};
1385
+ var headerParams = {
1386
+ 'Authorization': opts['authorization'],
1387
+ 'cacheduration': opts['cacheduration'],
1388
+ 'cachegroup': opts['cachegroup'],
1389
+ 'cachekey': opts['cachekey'],
1390
+ 'cachescope': opts['cachescope'],
1391
+ 'cacheuser': opts['cacheuser'],
1392
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1393
+ 'zeusportal-postas': opts['zeusportalPostas'],
1394
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1395
+ 'transactionid': opts['transactionid']
1396
+ };
1397
+ var formParams = {};
1398
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1399
+ var contentTypes = [];
1400
+ var accepts = ['application/json'];
1401
+ var returnType = _DocumentPart["default"];
1402
+ return this.apiClient.callApi('/graph/data/entryparts/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1403
+ }
1404
+
1405
+ /**
1406
+ * Returns the entrypart with the given id
1407
+ * @param {Number} id
1408
+ * @param {Object} opts Optional parameters
1409
+ * @param {String} opts.authorization The authorization token of the logged in user
1410
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1411
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1412
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1413
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1414
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1415
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1416
+ * @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
1417
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1418
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1419
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DocumentPart}
1420
+ */
1421
+ }, {
1422
+ key: "getDocumentPartById",
1423
+ value: function getDocumentPartById(id, opts) {
1424
+ return this.getDocumentPartByIdWithHttpInfo(id, opts).then(function (response_and_data) {
1425
+ return response_and_data.data;
1426
+ });
1427
+ }
1428
+
1429
+ /**
1430
+ * Returns the entrypart with the given id
1431
+ * @param {Number} id
1432
+ * @param {Object} opts Optional parameters
1433
+ * @param {String} [authorization] The authorization token of the logged in user
1434
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1435
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1436
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1437
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1438
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1439
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1440
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1441
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1442
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1443
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentPart>} and HTTP response
1444
+ */
1445
+ }, {
1446
+ key: "getDocumentPartById1WithHttpInfo",
1447
+ value: function getDocumentPartById1WithHttpInfo(id, opts) {
1448
+ opts = opts || {};
1449
+ var postBody = null;
1450
+ // verify the required parameter 'id' is set
1451
+ if (id === undefined || id === null) {
1452
+ throw new Error("Missing the required parameter 'id' when calling getDocumentPartById1");
1453
+ }
1454
+ var pathParams = {
1455
+ 'id': id
1456
+ };
1457
+ var queryParams = {};
1458
+ var headerParams = {
1459
+ 'Authorization': opts['authorization'],
1460
+ 'cacheduration': opts['cacheduration'],
1461
+ 'cachegroup': opts['cachegroup'],
1462
+ 'cachekey': opts['cachekey'],
1463
+ 'cachescope': opts['cachescope'],
1464
+ 'cacheuser': opts['cacheuser'],
1465
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1466
+ 'zeusportal-postas': opts['zeusportalPostas'],
1467
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1468
+ 'transactionid': opts['transactionid']
1469
+ };
1470
+ var formParams = {};
1471
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1472
+ var contentTypes = [];
1473
+ var accepts = ['*/*'];
1474
+ var returnType = [_DocumentPart["default"]];
1475
+ return this.apiClient.callApi('/graph/data/entryparts/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1476
+ }
1477
+
1478
+ /**
1479
+ * Returns the entrypart with the given id
1480
+ * @param {Number} id
1481
+ * @param {Object} opts Optional parameters
1482
+ * @param {String} opts.authorization The authorization token of the logged in user
1483
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1484
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1485
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1486
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1487
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1488
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1489
+ * @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
1490
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1491
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1492
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentPart>}
1493
+ */
1494
+ }, {
1495
+ key: "getDocumentPartById1",
1496
+ value: function getDocumentPartById1(id, opts) {
1497
+ return this.getDocumentPartById1WithHttpInfo(id, opts).then(function (response_and_data) {
1498
+ return response_and_data.data;
1499
+ });
1500
+ }
1501
+
1502
+ /**
1503
+ * Gets the document part attached to the document with the given page number
1504
+ * @param {Number} id
1505
+ * @param {Number} id2
1506
+ * @param {Object} opts Optional parameters
1507
+ * @param {String} [authorization] The authorization token of the logged in user
1508
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1509
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1510
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1511
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1512
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1513
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1514
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1515
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1516
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1517
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
1518
+ */
1519
+ }, {
1520
+ key: "getDocumentPartByPageNumberWithHttpInfo",
1521
+ value: function getDocumentPartByPageNumberWithHttpInfo(id, id2, opts) {
1522
+ opts = opts || {};
1523
+ var postBody = null;
1524
+ // verify the required parameter 'id' is set
1525
+ if (id === undefined || id === null) {
1526
+ throw new Error("Missing the required parameter 'id' when calling getDocumentPartByPageNumber");
1527
+ }
1528
+ // verify the required parameter 'id2' is set
1529
+ if (id2 === undefined || id2 === null) {
1530
+ throw new Error("Missing the required parameter 'id2' when calling getDocumentPartByPageNumber");
1531
+ }
1532
+ var pathParams = _defineProperty({
1533
+ 'id': id
1534
+ }, "id", id2);
1535
+ var queryParams = {};
1536
+ var headerParams = {
1537
+ 'Authorization': opts['authorization'],
1538
+ 'cacheduration': opts['cacheduration'],
1539
+ 'cachegroup': opts['cachegroup'],
1540
+ 'cachekey': opts['cachekey'],
1541
+ 'cachescope': opts['cachescope'],
1542
+ 'cacheuser': opts['cacheuser'],
1543
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1544
+ 'zeusportal-postas': opts['zeusportalPostas'],
1545
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1546
+ 'transactionid': opts['transactionid']
1547
+ };
1548
+ var formParams = {};
1549
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1550
+ var contentTypes = [];
1551
+ var accepts = ['*/*'];
1552
+ var returnType = {
1553
+ 'String': _PurgeDataDefaultResponseValue["default"]
1554
+ };
1555
+ return this.apiClient.callApi('/graph/data/articles/{id}/entryparts/{pagenum}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1556
+ }
1557
+
1558
+ /**
1559
+ * Gets the document part attached to the document with the given page number
1560
+ * @param {Number} id
1561
+ * @param {Number} id2
1562
+ * @param {Object} opts Optional parameters
1563
+ * @param {String} opts.authorization The authorization token of the logged in user
1564
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1565
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1566
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1567
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1568
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1569
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1570
+ * @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
1571
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1572
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1573
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
1574
+ */
1575
+ }, {
1576
+ key: "getDocumentPartByPageNumber",
1577
+ value: function getDocumentPartByPageNumber(id, id2, opts) {
1578
+ return this.getDocumentPartByPageNumberWithHttpInfo(id, id2, opts).then(function (response_and_data) {
1579
+ return response_and_data.data;
1580
+ });
1581
+ }
1582
+
1583
+ /**
1584
+ * Returns the document type with the given id
1585
+ * @param {Object} opts Optional parameters
1586
+ * @param {String} [authorization] The authorization token of the logged in user
1587
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1588
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1589
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1590
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1591
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1592
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1593
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1594
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1595
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1596
+ * @param {Number} [body]
1597
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DocumentPartType} and HTTP response
1598
+ */
1599
+ }, {
1600
+ key: "getDocumentPartTypeByIdWithHttpInfo",
1601
+ value: function getDocumentPartTypeByIdWithHttpInfo(opts) {
1602
+ opts = opts || {};
1603
+ var postBody = opts['body'];
1604
+ var pathParams = {};
1605
+ var queryParams = {};
1606
+ var headerParams = {
1607
+ 'Authorization': opts['authorization'],
1608
+ 'cacheduration': opts['cacheduration'],
1609
+ 'cachegroup': opts['cachegroup'],
1610
+ 'cachekey': opts['cachekey'],
1611
+ 'cachescope': opts['cachescope'],
1612
+ 'cacheuser': opts['cacheuser'],
1613
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1614
+ 'zeusportal-postas': opts['zeusportalPostas'],
1615
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1616
+ 'transactionid': opts['transactionid']
1617
+ };
1618
+ var formParams = {};
1619
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1620
+ var contentTypes = [];
1621
+ var accepts = ['*/*'];
1622
+ var returnType = _DocumentPartType["default"];
1623
+ return this.apiClient.callApi('/graph/data/entryparttypes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1624
+ }
1625
+
1626
+ /**
1627
+ * Returns the document type with the given id
1628
+ * @param {Object} opts Optional parameters
1629
+ * @param {String} opts.authorization The authorization token of the logged in user
1630
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1631
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1632
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1633
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1634
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1635
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1636
+ * @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
1637
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1638
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1639
+ * @param {Number} opts.body
1640
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DocumentPartType}
1641
+ */
1642
+ }, {
1643
+ key: "getDocumentPartTypeById",
1644
+ value: function getDocumentPartTypeById(opts) {
1645
+ return this.getDocumentPartTypeByIdWithHttpInfo(opts).then(function (response_and_data) {
1646
+ return response_and_data.data;
1647
+ });
1648
+ }
1649
+
1650
+ /**
1651
+ * Gets the document parts attached to the document
1652
+ * @param {Number} id
1653
+ * @param {Object} opts Optional parameters
1654
+ * @param {String} [authorization] The authorization token of the logged in user
1655
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1656
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1657
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1658
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1659
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1660
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1661
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1662
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1663
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1664
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/DocumentPart>} and HTTP response
1665
+ */
1666
+ }, {
1667
+ key: "getDocumentPartsWithHttpInfo",
1668
+ value: function getDocumentPartsWithHttpInfo(id, opts) {
1669
+ opts = opts || {};
1670
+ var postBody = null;
1671
+ // verify the required parameter 'id' is set
1672
+ if (id === undefined || id === null) {
1673
+ throw new Error("Missing the required parameter 'id' when calling getDocumentParts");
1674
+ }
1675
+ var pathParams = {
1676
+ 'id': id
1677
+ };
1678
+ var queryParams = {};
1679
+ var headerParams = {
1680
+ 'Authorization': opts['authorization'],
1681
+ 'cacheduration': opts['cacheduration'],
1682
+ 'cachegroup': opts['cachegroup'],
1683
+ 'cachekey': opts['cachekey'],
1684
+ 'cachescope': opts['cachescope'],
1685
+ 'cacheuser': opts['cacheuser'],
1686
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1687
+ 'zeusportal-postas': opts['zeusportalPostas'],
1688
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1689
+ 'transactionid': opts['transactionid']
1690
+ };
1691
+ var formParams = {};
1692
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1693
+ var contentTypes = [];
1694
+ var accepts = ['*/*'];
1695
+ var returnType = [_DocumentPart["default"]];
1696
+ return this.apiClient.callApi('/graph/data/articles/{id}/entryparts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1697
+ }
1698
+
1699
+ /**
1700
+ * Gets the document parts attached to the document
1701
+ * @param {Number} id
1702
+ * @param {Object} opts Optional parameters
1703
+ * @param {String} opts.authorization The authorization token of the logged in user
1704
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1705
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1706
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1707
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1708
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1709
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1710
+ * @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
1711
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1712
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1713
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/DocumentPart>}
1714
+ */
1715
+ }, {
1716
+ key: "getDocumentParts",
1717
+ value: function getDocumentParts(id, opts) {
1718
+ return this.getDocumentPartsWithHttpInfo(id, opts).then(function (response_and_data) {
1719
+ return response_and_data.data;
1720
+ });
1721
+ }
1722
+
1723
+ /**
1724
+ * Returns the document type with the given id
1725
+ * @param {Object} opts Optional parameters
1726
+ * @param {String} [authorization] The authorization token of the logged in user
1727
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1728
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1729
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1730
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1731
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1732
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1733
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1734
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1735
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1736
+ * @param {Number} [body]
1737
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DocumentType} and HTTP response
1738
+ */
1739
+ }, {
1740
+ key: "getDocumentTypeByIdWithHttpInfo",
1741
+ value: function getDocumentTypeByIdWithHttpInfo(opts) {
1742
+ opts = opts || {};
1743
+ var postBody = opts['body'];
1744
+ var pathParams = {};
1745
+ var queryParams = {};
1746
+ var headerParams = {
1747
+ 'Authorization': opts['authorization'],
1748
+ 'cacheduration': opts['cacheduration'],
1749
+ 'cachegroup': opts['cachegroup'],
1750
+ 'cachekey': opts['cachekey'],
1751
+ 'cachescope': opts['cachescope'],
1752
+ 'cacheuser': opts['cacheuser'],
1753
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1754
+ 'zeusportal-postas': opts['zeusportalPostas'],
1755
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1756
+ 'transactionid': opts['transactionid']
1757
+ };
1758
+ var formParams = {};
1759
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1760
+ var contentTypes = [];
1761
+ var accepts = ['*/*'];
1762
+ var returnType = _DocumentType["default"];
1763
+ return this.apiClient.callApi('/graph/data/entrytypes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1764
+ }
1765
+
1766
+ /**
1767
+ * Returns the document type with the given id
1768
+ * @param {Object} opts Optional parameters
1769
+ * @param {String} opts.authorization The authorization token of the logged in user
1770
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1771
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1772
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1773
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1774
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1775
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1776
+ * @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
1777
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1778
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1779
+ * @param {Number} opts.body
1780
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DocumentType}
1781
+ */
1782
+ }, {
1783
+ key: "getDocumentTypeById",
1784
+ value: function getDocumentTypeById(opts) {
1785
+ return this.getDocumentTypeByIdWithHttpInfo(opts).then(function (response_and_data) {
1786
+ return response_and_data.data;
1787
+ });
1788
+ }
1789
+
1790
+ /**
1791
+ * Returns the documents of the given type
1792
+ * @param {Number} typeid
1793
+ * @param {Object} opts Optional parameters
1794
+ * @param {String} [authorization] The authorization token of the logged in user
1795
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1796
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1797
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1798
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1799
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1800
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1801
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1802
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1803
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1804
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Document>} and HTTP response
1805
+ */
1806
+ }, {
1807
+ key: "getDocumentsByTypeWithHttpInfo",
1808
+ value: function getDocumentsByTypeWithHttpInfo(typeid, opts) {
1809
+ opts = opts || {};
1810
+ var postBody = null;
1811
+ // verify the required parameter 'typeid' is set
1812
+ if (typeid === undefined || typeid === null) {
1813
+ throw new Error("Missing the required parameter 'typeid' when calling getDocumentsByType");
1814
+ }
1815
+ var pathParams = {
1816
+ 'typeid': typeid
1817
+ };
1818
+ var queryParams = {};
1819
+ var headerParams = {
1820
+ 'Authorization': opts['authorization'],
1821
+ 'cacheduration': opts['cacheduration'],
1822
+ 'cachegroup': opts['cachegroup'],
1823
+ 'cachekey': opts['cachekey'],
1824
+ 'cachescope': opts['cachescope'],
1825
+ 'cacheuser': opts['cacheuser'],
1826
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1827
+ 'zeusportal-postas': opts['zeusportalPostas'],
1828
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1829
+ 'transactionid': opts['transactionid']
1830
+ };
1831
+ var formParams = {};
1832
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1833
+ var contentTypes = [];
1834
+ var accepts = ['*/*'];
1835
+ var returnType = [_Document["default"]];
1836
+ return this.apiClient.callApi('/graph/data/articles/entrytype/{typeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1837
+ }
1838
+
1839
+ /**
1840
+ * Returns the documents of the given type
1841
+ * @param {Number} typeid
1842
+ * @param {Object} opts Optional parameters
1843
+ * @param {String} opts.authorization The authorization token of the logged in user
1844
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1845
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1846
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1847
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1848
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1849
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1850
+ * @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
1851
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1852
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1853
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Document>}
1854
+ */
1855
+ }, {
1856
+ key: "getDocumentsByType",
1857
+ value: function getDocumentsByType(typeid, opts) {
1858
+ return this.getDocumentsByTypeWithHttpInfo(typeid, opts).then(function (response_and_data) {
1859
+ return response_and_data.data;
1860
+ });
1861
+ }
1862
+
1863
+ /**
1864
+ * Moves a document part to a new position in it's parent doc part or to a new parent
1865
+ * @param {Number} docpartid
1866
+ * @param {Number} newdocpartid
1867
+ * @param {Number} partindex
1868
+ * @param {Object} opts Optional parameters
1869
+ * @param {String} [authorization] The authorization token of the logged in user
1870
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1871
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1872
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1873
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1874
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1875
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1876
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1877
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1878
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1879
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1880
+ */
1881
+ }, {
1882
+ key: "moveChildPartWithHttpInfo",
1883
+ value: function moveChildPartWithHttpInfo(docpartid, newdocpartid, partindex, opts) {
1884
+ opts = opts || {};
1885
+ var postBody = null;
1886
+ // verify the required parameter 'docpartid' is set
1887
+ if (docpartid === undefined || docpartid === null) {
1888
+ throw new Error("Missing the required parameter 'docpartid' when calling moveChildPart");
1889
+ }
1890
+ // verify the required parameter 'newdocpartid' is set
1891
+ if (newdocpartid === undefined || newdocpartid === null) {
1892
+ throw new Error("Missing the required parameter 'newdocpartid' when calling moveChildPart");
1893
+ }
1894
+ // verify the required parameter 'partindex' is set
1895
+ if (partindex === undefined || partindex === null) {
1896
+ throw new Error("Missing the required parameter 'partindex' when calling moveChildPart");
1897
+ }
1898
+ var pathParams = {
1899
+ 'docpartid': docpartid,
1900
+ 'newdocpartid': newdocpartid,
1901
+ 'partindex': partindex
1902
+ };
1903
+ var queryParams = {};
1904
+ var headerParams = {
1905
+ 'Authorization': opts['authorization'],
1906
+ 'cacheduration': opts['cacheduration'],
1907
+ 'cachegroup': opts['cachegroup'],
1908
+ 'cachekey': opts['cachekey'],
1909
+ 'cachescope': opts['cachescope'],
1910
+ 'cacheuser': opts['cacheuser'],
1911
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1912
+ 'zeusportal-postas': opts['zeusportalPostas'],
1913
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
1914
+ 'transactionid': opts['transactionid']
1915
+ };
1916
+ var formParams = {};
1917
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
1918
+ var contentTypes = [];
1919
+ var accepts = ['*/*'];
1920
+ var returnType = null;
1921
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/entrypart/{newdocpartid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1922
+ }
1923
+
1924
+ /**
1925
+ * Moves a document part to a new position in it's parent doc part or to a new parent
1926
+ * @param {Number} docpartid
1927
+ * @param {Number} newdocpartid
1928
+ * @param {Number} partindex
1929
+ * @param {Object} opts Optional parameters
1930
+ * @param {String} opts.authorization The authorization token of the logged in user
1931
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
1932
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
1933
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
1934
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
1935
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1936
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
1937
+ * @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
1938
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
1939
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
1940
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1941
+ */
1942
+ }, {
1943
+ key: "moveChildPart",
1944
+ value: function moveChildPart(docpartid, newdocpartid, partindex, opts) {
1945
+ return this.moveChildPartWithHttpInfo(docpartid, newdocpartid, partindex, opts).then(function (response_and_data) {
1946
+ return response_and_data.data;
1947
+ });
1948
+ }
1949
+
1950
+ /**
1951
+ * Moves a document part to a new position in it's document
1952
+ * @param {Number} docpartid
1953
+ * @param {Number} articleid
1954
+ * @param {Number} partindex
1955
+ * @param {Object} opts Optional parameters
1956
+ * @param {String} [authorization] The authorization token of the logged in user
1957
+ * @param {Number} [cacheduration] The how long the cache entry should persist
1958
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
1959
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
1960
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
1961
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
1962
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
1963
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
1964
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
1965
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
1966
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1967
+ */
1968
+ }, {
1969
+ key: "moveDocPartWithHttpInfo",
1970
+ value: function moveDocPartWithHttpInfo(docpartid, articleid, partindex, opts) {
1971
+ opts = opts || {};
1972
+ var postBody = null;
1973
+ // verify the required parameter 'docpartid' is set
1974
+ if (docpartid === undefined || docpartid === null) {
1975
+ throw new Error("Missing the required parameter 'docpartid' when calling moveDocPart");
1976
+ }
1977
+ // verify the required parameter 'articleid' is set
1978
+ if (articleid === undefined || articleid === null) {
1979
+ throw new Error("Missing the required parameter 'articleid' when calling moveDocPart");
1980
+ }
1981
+ // verify the required parameter 'partindex' is set
1982
+ if (partindex === undefined || partindex === null) {
1983
+ throw new Error("Missing the required parameter 'partindex' when calling moveDocPart");
1984
+ }
1985
+ var pathParams = {
1986
+ 'docpartid': docpartid,
1987
+ 'articleid': articleid,
1988
+ 'partindex': partindex
1989
+ };
1990
+ var queryParams = {};
1991
+ var headerParams = {
1992
+ 'Authorization': opts['authorization'],
1993
+ 'cacheduration': opts['cacheduration'],
1994
+ 'cachegroup': opts['cachegroup'],
1995
+ 'cachekey': opts['cachekey'],
1996
+ 'cachescope': opts['cachescope'],
1997
+ 'cacheuser': opts['cacheuser'],
1998
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
1999
+ 'zeusportal-postas': opts['zeusportalPostas'],
2000
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2001
+ 'transactionid': opts['transactionid']
2002
+ };
2003
+ var formParams = {};
2004
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2005
+ var contentTypes = [];
2006
+ var accepts = ['*/*'];
2007
+ var returnType = null;
2008
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}/moveto/article/{articleid}/{partindex}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2009
+ }
2010
+
2011
+ /**
2012
+ * Moves a document part to a new position in it's document
2013
+ * @param {Number} docpartid
2014
+ * @param {Number} articleid
2015
+ * @param {Number} partindex
2016
+ * @param {Object} opts Optional parameters
2017
+ * @param {String} opts.authorization The authorization token of the logged in user
2018
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2019
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2020
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2021
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2022
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2023
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2024
+ * @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
2025
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2026
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2027
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2028
+ */
2029
+ }, {
2030
+ key: "moveDocPart",
2031
+ value: function moveDocPart(docpartid, articleid, partindex, opts) {
2032
+ return this.moveDocPartWithHttpInfo(docpartid, articleid, partindex, opts).then(function (response_and_data) {
2033
+ return response_and_data.data;
2034
+ });
2035
+ }
2036
+
2037
+ /**
2038
+ * Updates the document part
2039
+ * @param {Number} docpartid
2040
+ * @param {module:model/DocumentPart} documentPart Document part or array of document parts to create
2041
+ * @param {Object} opts Optional parameters
2042
+ * @param {String} [authorization] The authorization token of the logged in user
2043
+ * @param {Number} [cacheduration] The how long the cache entry should persist
2044
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
2045
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
2046
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
2047
+ * @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2048
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
2049
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
2050
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
2051
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
2052
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DocumentPart} and HTTP response
2053
+ */
2054
+ }, {
2055
+ key: "updateDocumentPartWithHttpInfo",
2056
+ value: function updateDocumentPartWithHttpInfo(docpartid, documentPart, opts) {
2057
+ opts = opts || {};
2058
+ var postBody = documentPart;
2059
+ // verify the required parameter 'docpartid' is set
2060
+ if (docpartid === undefined || docpartid === null) {
2061
+ throw new Error("Missing the required parameter 'docpartid' when calling updateDocumentPart");
2062
+ }
2063
+ // verify the required parameter 'documentPart' is set
2064
+ if (documentPart === undefined || documentPart === null) {
2065
+ throw new Error("Missing the required parameter 'documentPart' when calling updateDocumentPart");
2066
+ }
2067
+ var pathParams = {
2068
+ 'docpartid': docpartid
2069
+ };
2070
+ var queryParams = {};
2071
+ var headerParams = {
2072
+ 'Authorization': opts['authorization'],
2073
+ 'cacheduration': opts['cacheduration'],
2074
+ 'cachegroup': opts['cachegroup'],
2075
+ 'cachekey': opts['cachekey'],
2076
+ 'cachescope': opts['cachescope'],
2077
+ 'cacheuser': opts['cacheuser'],
2078
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
2079
+ 'zeusportal-postas': opts['zeusportalPostas'],
2080
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
2081
+ 'transactionid': opts['transactionid']
2082
+ };
2083
+ var formParams = {};
2084
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
2085
+ var contentTypes = ['application/json'];
2086
+ var accepts = ['application/json'];
2087
+ var returnType = _DocumentPart["default"];
2088
+ return this.apiClient.callApi('/graph/data/entryparts/{docpartid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
2089
+ }
2090
+
2091
+ /**
2092
+ * Updates the document part
2093
+ * @param {Number} docpartid
2094
+ * @param {module:model/DocumentPart} documentPart Document part or array of document parts to create
2095
+ * @param {Object} opts Optional parameters
2096
+ * @param {String} opts.authorization The authorization token of the logged in user
2097
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
2098
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
2099
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
2100
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
2101
+ * @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
2102
+ * @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
2103
+ * @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
2104
+ * @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
2105
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
2106
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DocumentPart}
2107
+ */
2108
+ }, {
2109
+ key: "updateDocumentPart",
2110
+ value: function updateDocumentPart(docpartid, documentPart, opts) {
2111
+ return this.updateDocumentPartWithHttpInfo(docpartid, documentPart, opts).then(function (response_and_data) {
2112
+ return response_and_data.data;
2113
+ });
2114
+ }
2115
+ }]);
2116
+ return ContentManagementApi;
2117
+ }();