@gobodo/gobodo-api-promise 0.1.108 → 0.1.110

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 (663) hide show
  1. package/README.md +20 -5
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/ApiClient.d.ts +1 -1
  4. package/dist/ApiClient.js +3 -3
  5. package/dist/api/AbilitiesApi.d.ts +158 -0
  6. package/dist/api/AbilitiesApi.d.ts.map +1 -0
  7. package/dist/api/AbilitiesApi.js +289 -0
  8. package/dist/api/AdCampaignsApi.d.ts +15 -1
  9. package/dist/api/AdCampaignsApi.d.ts.map +1 -1
  10. package/dist/api/AdCampaignsApi.js +23 -2
  11. package/dist/api/AdManagementApi.d.ts +25 -1
  12. package/dist/api/AdManagementApi.d.ts.map +1 -1
  13. package/dist/api/AdManagementApi.js +38 -2
  14. package/dist/api/AdminDataManagementApi.d.ts +3 -1
  15. package/dist/api/AdminDataManagementApi.d.ts.map +1 -1
  16. package/dist/api/AdminDataManagementApi.js +5 -2
  17. package/dist/api/AdsApi.d.ts +11 -1
  18. package/dist/api/AdsApi.d.ts.map +1 -1
  19. package/dist/api/AdsApi.js +17 -2
  20. package/dist/api/AttachmentsApi.d.ts +11 -1
  21. package/dist/api/AttachmentsApi.d.ts.map +1 -1
  22. package/dist/api/AttachmentsApi.js +17 -2
  23. package/dist/api/AuthenticationApi.d.ts +21 -1
  24. package/dist/api/AuthenticationApi.d.ts.map +1 -1
  25. package/dist/api/AuthenticationApi.js +44 -2
  26. package/dist/api/CategoriesApi.d.ts +15 -1
  27. package/dist/api/CategoriesApi.d.ts.map +1 -1
  28. package/dist/api/CategoriesApi.js +23 -2
  29. package/dist/api/CommentsApi.d.ts +13 -1
  30. package/dist/api/CommentsApi.d.ts.map +1 -1
  31. package/dist/api/CommentsApi.js +20 -2
  32. package/dist/api/ContentManagementApi.d.ts +57 -1
  33. package/dist/api/ContentManagementApi.d.ts.map +1 -1
  34. package/dist/api/ContentManagementApi.js +86 -2
  35. package/dist/api/ConversationsApi.d.ts +17 -1
  36. package/dist/api/ConversationsApi.d.ts.map +1 -1
  37. package/dist/api/ConversationsApi.js +26 -2
  38. package/dist/api/CurrencyApi.d.ts +15 -1
  39. package/dist/api/CurrencyApi.d.ts.map +1 -1
  40. package/dist/api/CurrencyApi.js +23 -2
  41. package/dist/api/DataSheetImportsApi.d.ts +31 -1
  42. package/dist/api/DataSheetImportsApi.d.ts.map +1 -1
  43. package/dist/api/DataSheetImportsApi.js +47 -2
  44. package/dist/api/DefaultApi.d.ts +11 -1
  45. package/dist/api/DefaultApi.d.ts.map +1 -1
  46. package/dist/api/DefaultApi.js +17 -2
  47. package/dist/api/DocumentPartTypesApi.d.ts +5 -1
  48. package/dist/api/DocumentPartTypesApi.d.ts.map +1 -1
  49. package/dist/api/DocumentPartTypesApi.js +8 -2
  50. package/dist/api/DocumentTypesApi.d.ts +5 -1
  51. package/dist/api/DocumentTypesApi.d.ts.map +1 -1
  52. package/dist/api/DocumentTypesApi.js +8 -2
  53. package/dist/api/DocumentsApi.d.ts +25 -1
  54. package/dist/api/DocumentsApi.d.ts.map +1 -1
  55. package/dist/api/DocumentsApi.js +38 -2
  56. package/dist/api/EmailsApi.d.ts +9 -1
  57. package/dist/api/EmailsApi.d.ts.map +1 -1
  58. package/dist/api/EmailsApi.js +14 -2
  59. package/dist/api/EntryPartsApi.d.ts +25 -1
  60. package/dist/api/EntryPartsApi.d.ts.map +1 -1
  61. package/dist/api/EntryPartsApi.js +38 -2
  62. package/dist/api/FacebookApi.d.ts +1 -1
  63. package/dist/api/FacebookApi.js +2 -2
  64. package/dist/api/FieldsApi.d.ts +7 -1
  65. package/dist/api/FieldsApi.d.ts.map +1 -1
  66. package/dist/api/FieldsApi.js +11 -2
  67. package/dist/api/FormsApi.d.ts +29 -1
  68. package/dist/api/FormsApi.d.ts.map +1 -1
  69. package/dist/api/FormsApi.js +44 -2
  70. package/dist/api/FunctionsApi.d.ts +41 -1
  71. package/dist/api/FunctionsApi.d.ts.map +1 -1
  72. package/dist/api/FunctionsApi.js +62 -2
  73. package/dist/api/GeocodeApi.d.ts +7 -1
  74. package/dist/api/GeocodeApi.d.ts.map +1 -1
  75. package/dist/api/GeocodeApi.js +11 -2
  76. package/dist/api/GobodoManagementApi.d.ts +236 -1
  77. package/dist/api/GobodoManagementApi.d.ts.map +1 -1
  78. package/dist/api/GobodoManagementApi.js +418 -5
  79. package/dist/api/GoogleApi.d.ts +1 -1
  80. package/dist/api/GoogleApi.js +2 -2
  81. package/dist/api/GraphActionTypesApi.d.ts +27 -1
  82. package/dist/api/GraphActionTypesApi.d.ts.map +1 -1
  83. package/dist/api/GraphActionTypesApi.js +41 -2
  84. package/dist/api/GraphActionsApi.d.ts +19 -1
  85. package/dist/api/GraphActionsApi.d.ts.map +1 -1
  86. package/dist/api/GraphActionsApi.js +29 -2
  87. package/dist/api/GraphObjectTypesApi.d.ts +41 -1
  88. package/dist/api/GraphObjectTypesApi.d.ts.map +1 -1
  89. package/dist/api/GraphObjectTypesApi.js +62 -2
  90. package/dist/api/GraphObjectsApi.d.ts +59 -1
  91. package/dist/api/GraphObjectsApi.d.ts.map +1 -1
  92. package/dist/api/GraphObjectsApi.js +89 -2
  93. package/dist/api/GraphRelationshipTypesApi.d.ts +39 -1
  94. package/dist/api/GraphRelationshipTypesApi.d.ts.map +1 -1
  95. package/dist/api/GraphRelationshipTypesApi.js +59 -2
  96. package/dist/api/GraphRelationshipsApi.d.ts +29 -1
  97. package/dist/api/GraphRelationshipsApi.d.ts.map +1 -1
  98. package/dist/api/GraphRelationshipsApi.js +44 -2
  99. package/dist/api/GraphSchemasApi.d.ts +29 -1
  100. package/dist/api/GraphSchemasApi.d.ts.map +1 -1
  101. package/dist/api/GraphSchemasApi.js +44 -2
  102. package/dist/api/GraphTraversalApi.d.ts +15 -1
  103. package/dist/api/GraphTraversalApi.d.ts.map +1 -1
  104. package/dist/api/GraphTraversalApi.js +23 -2
  105. package/dist/api/GraphsApi.d.ts +23 -1
  106. package/dist/api/GraphsApi.d.ts.map +1 -1
  107. package/dist/api/GraphsApi.js +35 -2
  108. package/dist/api/GroupsApi.d.ts +11 -11
  109. package/dist/api/IAMApi.d.ts +9 -1
  110. package/dist/api/IAMApi.d.ts.map +1 -1
  111. package/dist/api/IAMApi.js +14 -2
  112. package/dist/api/ImagesApi.d.ts +13 -1
  113. package/dist/api/ImagesApi.d.ts.map +1 -1
  114. package/dist/api/ImagesApi.js +20 -2
  115. package/dist/api/InvitesApi.d.ts +11 -1
  116. package/dist/api/InvitesApi.d.ts.map +1 -1
  117. package/dist/api/InvitesApi.js +17 -2
  118. package/dist/api/LikesApi.d.ts +27 -1
  119. package/dist/api/LikesApi.d.ts.map +1 -1
  120. package/dist/api/LikesApi.js +41 -2
  121. package/dist/api/LinkedINApi.d.ts +1 -1
  122. package/dist/api/LinkedINApi.js +2 -2
  123. package/dist/api/LiveMeetingsApi.d.ts +5 -1
  124. package/dist/api/LiveMeetingsApi.d.ts.map +1 -1
  125. package/dist/api/LiveMeetingsApi.js +8 -2
  126. package/dist/api/MeetingEventsApi.d.ts +39 -1
  127. package/dist/api/MeetingEventsApi.d.ts.map +1 -1
  128. package/dist/api/MeetingEventsApi.js +59 -2
  129. package/dist/api/NotificationsApi.d.ts +29 -1
  130. package/dist/api/NotificationsApi.d.ts.map +1 -1
  131. package/dist/api/NotificationsApi.js +44 -2
  132. package/dist/api/PagesApi.d.ts +17 -1
  133. package/dist/api/PagesApi.d.ts.map +1 -1
  134. package/dist/api/PagesApi.js +26 -2
  135. package/dist/api/PasswordResetApi.d.ts +1 -1
  136. package/dist/api/PasswordResetApi.js +2 -2
  137. package/dist/api/PhoneNumbersApi.d.ts +11 -1
  138. package/dist/api/PhoneNumbersApi.d.ts.map +1 -1
  139. package/dist/api/PhoneNumbersApi.js +17 -2
  140. package/dist/api/PostsApi.d.ts +9 -1
  141. package/dist/api/PostsApi.d.ts.map +1 -1
  142. package/dist/api/PostsApi.js +14 -2
  143. package/dist/api/PrivateMessagesApi.d.ts +31 -1
  144. package/dist/api/PrivateMessagesApi.d.ts.map +1 -1
  145. package/dist/api/PrivateMessagesApi.js +47 -2
  146. package/dist/api/PublicationsApi.d.ts +19 -1
  147. package/dist/api/PublicationsApi.d.ts.map +1 -1
  148. package/dist/api/PublicationsApi.js +29 -2
  149. package/dist/api/RestApplicationsApi.d.ts +11 -1
  150. package/dist/api/RestApplicationsApi.d.ts.map +1 -1
  151. package/dist/api/RestApplicationsApi.js +17 -2
  152. package/dist/api/ScreensApi.d.ts +7 -1
  153. package/dist/api/ScreensApi.d.ts.map +1 -1
  154. package/dist/api/ScreensApi.js +11 -2
  155. package/dist/api/SitesApi.d.ts +21 -1
  156. package/dist/api/SitesApi.d.ts.map +1 -1
  157. package/dist/api/SitesApi.js +32 -2
  158. package/dist/api/SocialGroupsApi.d.ts +39 -1
  159. package/dist/api/SocialGroupsApi.d.ts.map +1 -1
  160. package/dist/api/SocialGroupsApi.js +59 -2
  161. package/dist/api/SocialIntegrationApi.d.ts +1 -1
  162. package/dist/api/SocialIntegrationApi.js +2 -2
  163. package/dist/api/StripeAccountsApi.d.ts +79 -1
  164. package/dist/api/StripeAccountsApi.d.ts.map +1 -1
  165. package/dist/api/StripeAccountsApi.js +119 -2
  166. package/dist/api/TemplatesApi.d.ts +7 -1
  167. package/dist/api/TemplatesApi.d.ts.map +1 -1
  168. package/dist/api/TemplatesApi.js +11 -2
  169. package/dist/api/ThemeMappingsApi.d.ts +7 -1
  170. package/dist/api/ThemeMappingsApi.d.ts.map +1 -1
  171. package/dist/api/ThemeMappingsApi.js +11 -2
  172. package/dist/api/TopicsApi.d.ts +17 -1
  173. package/dist/api/TopicsApi.d.ts.map +1 -1
  174. package/dist/api/TopicsApi.js +26 -2
  175. package/dist/api/TransactionsApi.d.ts +1 -1
  176. package/dist/api/TransactionsApi.js +2 -2
  177. package/dist/api/TwitterApi.d.ts +1 -1
  178. package/dist/api/TwitterApi.js +2 -2
  179. package/dist/api/UserManagerAdministrationApi.d.ts +1 -1
  180. package/dist/api/UserManagerAdministrationApi.js +2 -2
  181. package/dist/api/UserTagsApi.d.ts +7 -1
  182. package/dist/api/UserTagsApi.d.ts.map +1 -1
  183. package/dist/api/UserTagsApi.js +11 -2
  184. package/dist/api/UsersApi.d.ts +23 -1
  185. package/dist/api/UsersApi.d.ts.map +1 -1
  186. package/dist/api/UsersApi.js +35 -2
  187. package/dist/api/UtilsApi.d.ts +1 -1
  188. package/dist/api/UtilsApi.js +2 -2
  189. package/dist/api/VideosApi.d.ts +19 -1
  190. package/dist/api/VideosApi.d.ts.map +1 -1
  191. package/dist/api/VideosApi.js +29 -2
  192. package/dist/api/WalletsApi.d.ts +35 -1
  193. package/dist/api/WalletsApi.d.ts.map +1 -1
  194. package/dist/api/WalletsApi.js +53 -2
  195. package/dist/index.d.ts +6 -1
  196. package/dist/index.d.ts.map +1 -1
  197. package/dist/index.js +35 -0
  198. package/dist/model/APIClient.d.ts +1 -1
  199. package/dist/model/APIClient.js +2 -2
  200. package/dist/model/AbilityResponse.d.ts +65 -0
  201. package/dist/model/AbilityResponse.d.ts.map +1 -0
  202. package/dist/model/AbilityResponse.js +191 -0
  203. package/dist/model/AccountSessionInput.d.ts +1 -1
  204. package/dist/model/AccountSessionInput.js +2 -2
  205. package/dist/model/AccountSessionResponse.d.ts +1 -1
  206. package/dist/model/AccountSessionResponse.js +2 -2
  207. package/dist/model/Address.d.ts +1 -1
  208. package/dist/model/Address.js +2 -2
  209. package/dist/model/AddressResponse.d.ts +1 -1
  210. package/dist/model/AddressResponse.js +2 -2
  211. package/dist/model/ApplicationPaymentAccountResponse.d.ts +1 -1
  212. package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
  213. package/dist/model/Article.d.ts +1 -1
  214. package/dist/model/Article.js +2 -2
  215. package/dist/model/AuthResponse.d.ts +1 -1
  216. package/dist/model/AuthResponse.js +2 -2
  217. package/dist/model/AuthorizationCheckResponse.d.ts +67 -0
  218. package/dist/model/AuthorizationCheckResponse.d.ts.map +1 -0
  219. package/dist/model/AuthorizationCheckResponse.js +185 -0
  220. package/dist/model/AwsSettings.d.ts +1 -1
  221. package/dist/model/AwsSettings.js +2 -2
  222. package/dist/model/Balance.d.ts +9 -9
  223. package/dist/model/Balance.d.ts.map +1 -1
  224. package/dist/model/Balance.js +33 -33
  225. package/dist/model/BalanceDetails.d.ts +1 -1
  226. package/dist/model/BalanceDetails.js +2 -2
  227. package/dist/model/BalanceResponse.d.ts +1 -1
  228. package/dist/model/BalanceResponse.js +2 -2
  229. package/dist/model/BankAccountInfo.d.ts +1 -1
  230. package/dist/model/BankAccountInfo.js +2 -2
  231. package/dist/model/Base64ImageUpload.d.ts +1 -1
  232. package/dist/model/Base64ImageUpload.js +2 -2
  233. package/dist/model/BlogPostResponse.d.ts +1 -1
  234. package/dist/model/BlogPostResponse.js +2 -2
  235. package/dist/model/CacheInvalidation.d.ts +1 -1
  236. package/dist/model/CacheInvalidation.js +2 -2
  237. package/dist/model/CardInfo.d.ts +1 -1
  238. package/dist/model/CardInfo.js +2 -2
  239. package/dist/model/Comment.d.ts +10 -10
  240. package/dist/model/Comment.d.ts.map +1 -1
  241. package/dist/model/Comment.js +31 -31
  242. package/dist/model/ConsoleOrganizationInput.d.ts +66 -0
  243. package/dist/model/ConsoleOrganizationInput.d.ts.map +1 -0
  244. package/dist/model/ConsoleOrganizationInput.js +187 -0
  245. package/dist/model/ConsoleOrganizationResponse.d.ts +77 -0
  246. package/dist/model/ConsoleOrganizationResponse.d.ts.map +1 -0
  247. package/dist/model/ConsoleOrganizationResponse.js +216 -0
  248. package/dist/model/ConsoleProjectInput.d.ts +1 -1
  249. package/dist/model/ConsoleProjectInput.js +2 -2
  250. package/dist/model/ConsoleProjectResponse.d.ts +1 -1
  251. package/dist/model/ConsoleProjectResponse.js +2 -2
  252. package/dist/model/Coordinates.d.ts +1 -1
  253. package/dist/model/Coordinates.js +2 -2
  254. package/dist/model/CreateAccountResponse.d.ts +1 -1
  255. package/dist/model/CreateAccountResponse.js +2 -2
  256. package/dist/model/CreateFunctionInput.d.ts +1 -1
  257. package/dist/model/CreateFunctionInput.js +2 -2
  258. package/dist/model/CreateStripeAccountInput.d.ts +1 -1
  259. package/dist/model/CreateStripeAccountInput.js +2 -2
  260. package/dist/model/CreateStripeCustomerInput.d.ts +1 -1
  261. package/dist/model/CreateStripeCustomerInput.js +2 -2
  262. package/dist/model/CreateTopicInput.d.ts +1 -1
  263. package/dist/model/CreateTopicInput.js +2 -2
  264. package/dist/model/CreateTopicListenerInput.d.ts +1 -1
  265. package/dist/model/CreateTopicListenerInput.js +2 -2
  266. package/dist/model/CurrencyGrantInput.d.ts +1 -1
  267. package/dist/model/CurrencyGrantInput.js +2 -2
  268. package/dist/model/CurrencyGrantResponse.d.ts +1 -1
  269. package/dist/model/CurrencyGrantResponse.js +2 -2
  270. package/dist/model/CurrencyInput.d.ts +1 -1
  271. package/dist/model/CurrencyInput.js +2 -2
  272. package/dist/model/CurrencyMinterRegistrationInput.d.ts +1 -1
  273. package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
  274. package/dist/model/CurrencyResponse.d.ts +1 -1
  275. package/dist/model/CurrencyResponse.js +2 -2
  276. package/dist/model/CurrencySettings.d.ts +1 -1
  277. package/dist/model/CurrencySettings.js +2 -2
  278. package/dist/model/CustomerResponse.d.ts +1 -1
  279. package/dist/model/CustomerResponse.js +2 -2
  280. package/dist/model/DataObject.d.ts +1 -1
  281. package/dist/model/DataObject.js +2 -2
  282. package/dist/model/DataSheetImport.d.ts +30 -30
  283. package/dist/model/DataSheetImport.d.ts.map +1 -1
  284. package/dist/model/DataSheetImport.js +83 -83
  285. package/dist/model/DataSheetImportPrivacySettings.d.ts +1 -1
  286. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  287. package/dist/model/DataSheetImportSummary.d.ts +1 -1
  288. package/dist/model/DataSheetImportSummary.js +2 -2
  289. package/dist/model/DeviceRegistrationRequest.d.ts +1 -1
  290. package/dist/model/DeviceRegistrationRequest.js +2 -2
  291. package/dist/model/Document.d.ts +1 -1
  292. package/dist/model/Document.js +2 -2
  293. package/dist/model/DocumentPart.d.ts +10 -10
  294. package/dist/model/DocumentPart.d.ts.map +1 -1
  295. package/dist/model/DocumentPart.js +31 -31
  296. package/dist/model/DocumentPartType.d.ts +10 -10
  297. package/dist/model/DocumentPartType.d.ts.map +1 -1
  298. package/dist/model/DocumentPartType.js +25 -25
  299. package/dist/model/DocumentType.d.ts +10 -10
  300. package/dist/model/DocumentType.d.ts.map +1 -1
  301. package/dist/model/DocumentType.js +25 -25
  302. package/dist/model/DomainMappingInput.d.ts +1 -1
  303. package/dist/model/DomainMappingInput.js +2 -2
  304. package/dist/model/DomainMappingResponse.d.ts +1 -1
  305. package/dist/model/DomainMappingResponse.js +2 -2
  306. package/dist/model/EmailAddress.d.ts +1 -1
  307. package/dist/model/EmailAddress.js +2 -2
  308. package/dist/model/FieldMapping.d.ts +1 -1
  309. package/dist/model/FieldMapping.js +2 -2
  310. package/dist/model/Fields.d.ts +10 -10
  311. package/dist/model/Fields.d.ts.map +1 -1
  312. package/dist/model/Fields.js +27 -27
  313. package/dist/model/File.d.ts +10 -10
  314. package/dist/model/File.d.ts.map +1 -1
  315. package/dist/model/File.js +31 -31
  316. package/dist/model/FileAttachmentUploadObject.d.ts +10 -10
  317. package/dist/model/FileAttachmentUploadObject.d.ts.map +1 -1
  318. package/dist/model/FileAttachmentUploadObject.js +31 -31
  319. package/dist/model/Filter.d.ts +1 -1
  320. package/dist/model/Filter.js +2 -2
  321. package/dist/model/FilterManager.d.ts +1 -1
  322. package/dist/model/FilterManager.js +2 -2
  323. package/dist/model/Form.d.ts +10 -10
  324. package/dist/model/Form.d.ts.map +1 -1
  325. package/dist/model/Form.js +37 -37
  326. package/dist/model/FormSection.d.ts +10 -10
  327. package/dist/model/FormSection.d.ts.map +1 -1
  328. package/dist/model/FormSection.js +37 -37
  329. package/dist/model/FormSubmission.d.ts +10 -10
  330. package/dist/model/FormSubmission.d.ts.map +1 -1
  331. package/dist/model/FormSubmission.js +30 -30
  332. package/dist/model/FunctionConfigInput.d.ts +1 -1
  333. package/dist/model/FunctionConfigInput.js +2 -2
  334. package/dist/model/FunctionEnvironmentConfig.d.ts +1 -1
  335. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  336. package/dist/model/FunctionInput.d.ts +1 -1
  337. package/dist/model/FunctionInput.js +2 -2
  338. package/dist/model/FunctionOutput.d.ts +1 -1
  339. package/dist/model/FunctionOutput.js +2 -2
  340. package/dist/model/GeocodePayload.d.ts +1 -1
  341. package/dist/model/GeocodePayload.js +2 -2
  342. package/dist/model/GeocodeResponse.d.ts +1 -1
  343. package/dist/model/GeocodeResponse.js +2 -2
  344. package/dist/model/GeolocationInput.d.ts +1 -1
  345. package/dist/model/GeolocationInput.js +2 -2
  346. package/dist/model/GetFunctionConfig.d.ts +1 -1
  347. package/dist/model/GetFunctionConfig.js +2 -2
  348. package/dist/model/GetFunctionEnvironmentConfig.d.ts +1 -1
  349. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  350. package/dist/model/GetFunctionResponse.d.ts +1 -1
  351. package/dist/model/GetFunctionResponse.js +2 -2
  352. package/dist/model/GoogleCloudSettings.d.ts +1 -1
  353. package/dist/model/GoogleCloudSettings.js +2 -2
  354. package/dist/model/Graph.d.ts +11 -11
  355. package/dist/model/Graph.d.ts.map +1 -1
  356. package/dist/model/Graph.js +26 -26
  357. package/dist/model/GraphAction.d.ts +1 -1
  358. package/dist/model/GraphAction.js +2 -2
  359. package/dist/model/GraphActionPayload.d.ts +1 -1
  360. package/dist/model/GraphActionPayload.js +2 -2
  361. package/dist/model/GraphActionResponse.d.ts +1 -1
  362. package/dist/model/GraphActionResponse.js +2 -2
  363. package/dist/model/GraphActionTypeInput.d.ts +1 -1
  364. package/dist/model/GraphActionTypeInput.js +2 -2
  365. package/dist/model/GraphActionTypeResponse.d.ts +1 -1
  366. package/dist/model/GraphActionTypeResponse.js +2 -2
  367. package/dist/model/GraphInput.d.ts +1 -1
  368. package/dist/model/GraphInput.js +2 -2
  369. package/dist/model/GraphIteratorEntryPart.d.ts +1 -1
  370. package/dist/model/GraphIteratorEntryPart.js +2 -2
  371. package/dist/model/GraphIteratorEntryPartStackTraceInner.d.ts +1 -1
  372. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  373. package/dist/model/GraphObject.d.ts +10 -10
  374. package/dist/model/GraphObject.d.ts.map +1 -1
  375. package/dist/model/GraphObject.js +27 -27
  376. package/dist/model/GraphObjectPayload.d.ts +1 -1
  377. package/dist/model/GraphObjectPayload.js +2 -2
  378. package/dist/model/GraphObjectResponse.d.ts +1 -1
  379. package/dist/model/GraphObjectResponse.js +2 -2
  380. package/dist/model/GraphObjectType.d.ts +9 -9
  381. package/dist/model/GraphObjectType.d.ts.map +1 -1
  382. package/dist/model/GraphObjectType.js +23 -23
  383. package/dist/model/GraphObjectTypeInput.d.ts +1 -1
  384. package/dist/model/GraphObjectTypeInput.js +2 -2
  385. package/dist/model/GraphObjectTypeResponse.d.ts +1 -1
  386. package/dist/model/GraphObjectTypeResponse.js +2 -2
  387. package/dist/model/GraphObjectTypeSchema.d.ts +9 -9
  388. package/dist/model/GraphObjectTypeSchema.d.ts.map +1 -1
  389. package/dist/model/GraphObjectTypeSchema.js +23 -23
  390. package/dist/model/GraphOwner.d.ts +1 -1
  391. package/dist/model/GraphOwner.js +2 -2
  392. package/dist/model/GraphRelationship.d.ts +1 -1
  393. package/dist/model/GraphRelationship.js +2 -2
  394. package/dist/model/GraphRelationshipPayload.d.ts +1 -1
  395. package/dist/model/GraphRelationshipPayload.js +2 -2
  396. package/dist/model/GraphRelationshipResponse.d.ts +1 -1
  397. package/dist/model/GraphRelationshipResponse.js +2 -2
  398. package/dist/model/GraphRelationshipType.d.ts +1 -1
  399. package/dist/model/GraphRelationshipType.js +2 -2
  400. package/dist/model/GraphRelationshipTypeInput.d.ts +1 -1
  401. package/dist/model/GraphRelationshipTypeInput.js +2 -2
  402. package/dist/model/GraphRelationshipTypeResponse.d.ts +1 -1
  403. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  404. package/dist/model/GraphResponse.d.ts +1 -1
  405. package/dist/model/GraphResponse.js +2 -2
  406. package/dist/model/GraphSchemaInput.d.ts +1 -1
  407. package/dist/model/GraphSchemaInput.js +2 -2
  408. package/dist/model/GraphSchemaResponse.d.ts +1 -1
  409. package/dist/model/GraphSchemaResponse.js +2 -2
  410. package/dist/model/GraphTraversalInput.d.ts +1 -1
  411. package/dist/model/GraphTraversalInput.js +2 -2
  412. package/dist/model/Image.d.ts +1 -1
  413. package/dist/model/Image.js +2 -2
  414. package/dist/model/IndexFilter.d.ts +1 -1
  415. package/dist/model/IndexFilter.js +2 -2
  416. package/dist/model/InputPart.d.ts +10 -10
  417. package/dist/model/InputPart.d.ts.map +1 -1
  418. package/dist/model/InputPart.js +25 -25
  419. package/dist/model/InputPartHeaders.d.ts +1 -1
  420. package/dist/model/InputPartHeaders.js +2 -2
  421. package/dist/model/JsonArray.d.ts +1 -1
  422. package/dist/model/JsonArray.js +2 -2
  423. package/dist/model/JsonObject.d.ts +1 -1
  424. package/dist/model/JsonObject.js +2 -2
  425. package/dist/model/JsonValue.d.ts +1 -1
  426. package/dist/model/JsonValue.js +2 -2
  427. package/dist/model/KafkaSettings.d.ts +1 -1
  428. package/dist/model/KafkaSettings.js +2 -2
  429. package/dist/model/Link.d.ts +10 -10
  430. package/dist/model/Link.d.ts.map +1 -1
  431. package/dist/model/Link.js +29 -29
  432. package/dist/model/LiveStreamInfo.d.ts +1 -1
  433. package/dist/model/LiveStreamInfo.js +2 -2
  434. package/dist/model/MediaType.d.ts +1 -1
  435. package/dist/model/MediaType.js +2 -2
  436. package/dist/model/MeetingEventInput.d.ts +1 -1
  437. package/dist/model/MeetingEventInput.js +2 -2
  438. package/dist/model/MeetingEventResponse.d.ts +1 -1
  439. package/dist/model/MeetingEventResponse.js +2 -2
  440. package/dist/model/MeetingEventTypeInput.d.ts +1 -1
  441. package/dist/model/MeetingEventTypeInput.js +2 -2
  442. package/dist/model/MeetingEventTypeResponse.d.ts +1 -1
  443. package/dist/model/MeetingEventTypeResponse.js +2 -2
  444. package/dist/model/MeetingInfo.d.ts +1 -1
  445. package/dist/model/MeetingInfo.js +2 -2
  446. package/dist/model/Member.d.ts +1 -1
  447. package/dist/model/Member.js +2 -2
  448. package/dist/model/MemberGroupCategory.d.ts +1 -1
  449. package/dist/model/MemberGroupCategory.js +2 -2
  450. package/dist/model/MemberList.d.ts +1 -1
  451. package/dist/model/MemberList.js +2 -2
  452. package/dist/model/MemberManagerConfigInput.d.ts +1 -1
  453. package/dist/model/MemberManagerConfigInput.js +2 -2
  454. package/dist/model/MemberManagerConfigResponse.d.ts +1 -1
  455. package/dist/model/MemberManagerConfigResponse.js +2 -2
  456. package/dist/model/MemberManagerInput.d.ts +1 -1
  457. package/dist/model/MemberManagerInput.js +2 -2
  458. package/dist/model/MemberManagerResponse.d.ts +1 -1
  459. package/dist/model/MemberManagerResponse.js +2 -2
  460. package/dist/model/MessageGroup.d.ts +1 -1
  461. package/dist/model/MessageGroup.js +2 -2
  462. package/dist/model/MultipartBody.d.ts +1 -1
  463. package/dist/model/MultipartBody.js +2 -2
  464. package/dist/model/MultivaluedMapStringString.d.ts +1 -1
  465. package/dist/model/MultivaluedMapStringString.js +2 -2
  466. package/dist/model/NotificationInput.d.ts +1 -1
  467. package/dist/model/NotificationInput.js +2 -2
  468. package/dist/model/NotificationResponse.d.ts +1 -1
  469. package/dist/model/NotificationResponse.js +2 -2
  470. package/dist/model/NumberSettings.d.ts +1 -1
  471. package/dist/model/NumberSettings.js +2 -2
  472. package/dist/model/ObjectSettings.d.ts +1 -1
  473. package/dist/model/ObjectSettings.js +2 -2
  474. package/dist/model/Objecttype.d.ts +9 -9
  475. package/dist/model/Objecttype.d.ts.map +1 -1
  476. package/dist/model/Objecttype.js +23 -23
  477. package/dist/model/OutParameter.d.ts +1 -1
  478. package/dist/model/OutParameter.js +2 -2
  479. package/dist/model/Page.d.ts +1 -1
  480. package/dist/model/Page.js +2 -2
  481. package/dist/model/PageSchema.d.ts +1 -1
  482. package/dist/model/PageSchema.js +2 -2
  483. package/dist/model/Pageable.d.ts +1 -1
  484. package/dist/model/Pageable.js +2 -2
  485. package/dist/model/Parameter.d.ts +1 -1
  486. package/dist/model/Parameter.js +2 -2
  487. package/dist/model/PasswordResetInitiateRequest.d.ts +1 -1
  488. package/dist/model/PasswordResetInitiateRequest.js +2 -2
  489. package/dist/model/PasswordResetInitiateResponse.d.ts +1 -1
  490. package/dist/model/PasswordResetInitiateResponse.js +2 -2
  491. package/dist/model/PasswordResetRequest.d.ts +1 -1
  492. package/dist/model/PasswordResetRequest.js +2 -2
  493. package/dist/model/PasswordResetResponse.d.ts +1 -1
  494. package/dist/model/PasswordResetResponse.js +2 -2
  495. package/dist/model/PasswordResetValidationResponse.d.ts +1 -1
  496. package/dist/model/PasswordResetValidationResponse.js +2 -2
  497. package/dist/model/Path.d.ts +1 -1
  498. package/dist/model/Path.js +2 -2
  499. package/dist/model/PaymentAccountObject.d.ts +1 -1
  500. package/dist/model/PaymentAccountObject.js +2 -2
  501. package/dist/model/PaymentIntentInput.d.ts +1 -1
  502. package/dist/model/PaymentIntentInput.js +2 -2
  503. package/dist/model/PaymentIntentResponse.d.ts +1 -1
  504. package/dist/model/PaymentIntentResponse.js +2 -2
  505. package/dist/model/PaymentMethod.d.ts +1 -1
  506. package/dist/model/PaymentMethod.js +2 -2
  507. package/dist/model/PaymentMethodInput.d.ts +1 -1
  508. package/dist/model/PaymentMethodInput.js +2 -2
  509. package/dist/model/PaymentMethodResponse.d.ts +1 -1
  510. package/dist/model/PaymentMethodResponse.js +2 -2
  511. package/dist/model/PaymentMethodsResponse.d.ts +1 -1
  512. package/dist/model/PaymentMethodsResponse.js +2 -2
  513. package/dist/model/Payout.d.ts +1 -1
  514. package/dist/model/Payout.js +2 -2
  515. package/dist/model/PayoutInput.d.ts +1 -1
  516. package/dist/model/PayoutInput.js +2 -2
  517. package/dist/model/PayoutResponse.d.ts +1 -1
  518. package/dist/model/PayoutResponse.js +2 -2
  519. package/dist/model/PhoneNumber.d.ts +1 -1
  520. package/dist/model/PhoneNumber.js +2 -2
  521. package/dist/model/Post.d.ts +1 -1
  522. package/dist/model/Post.js +2 -2
  523. package/dist/model/PrivateMessage.d.ts +1 -1
  524. package/dist/model/PrivateMessage.js +2 -2
  525. package/dist/model/PrivateMessageConversation.d.ts +1 -1
  526. package/dist/model/PrivateMessageConversation.js +2 -2
  527. package/dist/model/PrivateMessageConversationSchema.d.ts +1 -1
  528. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  529. package/dist/model/Profile.d.ts +1 -1
  530. package/dist/model/Profile.js +2 -2
  531. package/dist/model/Profiletype.d.ts +1 -1
  532. package/dist/model/Profiletype.js +2 -2
  533. package/dist/model/PublicationInput.d.ts +1 -1
  534. package/dist/model/PublicationInput.js +2 -2
  535. package/dist/model/PublicationResponse.d.ts +1 -1
  536. package/dist/model/PublicationResponse.js +2 -2
  537. package/dist/model/PurchaseInput.d.ts +1 -1
  538. package/dist/model/PurchaseInput.js +2 -2
  539. package/dist/model/PurchaseResponse.d.ts +1 -1
  540. package/dist/model/PurchaseResponse.js +2 -2
  541. package/dist/model/PurgeDataDefaultResponse.d.ts +1 -1
  542. package/dist/model/PurgeDataDefaultResponse.js +2 -2
  543. package/dist/model/RelationshipMapping.d.ts +1 -1
  544. package/dist/model/RelationshipMapping.js +2 -2
  545. package/dist/model/RestApplicationInput.d.ts +1 -1
  546. package/dist/model/RestApplicationInput.js +2 -2
  547. package/dist/model/RestApplicationResponse.d.ts +1 -1
  548. package/dist/model/RestApplicationResponse.js +2 -2
  549. package/dist/model/ScreenSchema.d.ts +10 -10
  550. package/dist/model/ScreenSchema.d.ts.map +1 -1
  551. package/dist/model/ScreenSchema.js +27 -27
  552. package/dist/model/SimulcastInfo.d.ts +1 -1
  553. package/dist/model/SimulcastInfo.js +2 -2
  554. package/dist/model/SiteInput.d.ts +1 -1
  555. package/dist/model/SiteInput.js +2 -2
  556. package/dist/model/SiteResponse.d.ts +1 -1
  557. package/dist/model/SiteResponse.js +2 -2
  558. package/dist/model/SiteTypeInput.d.ts +1 -1
  559. package/dist/model/SiteTypeInput.js +2 -2
  560. package/dist/model/SiteTypeResponse.d.ts +1 -1
  561. package/dist/model/SiteTypeResponse.js +2 -2
  562. package/dist/model/SkinField.d.ts +10 -10
  563. package/dist/model/SkinField.d.ts.map +1 -1
  564. package/dist/model/SkinField.js +27 -27
  565. package/dist/model/SkinFieldResponse.d.ts +1 -1
  566. package/dist/model/SkinFieldResponse.js +2 -2
  567. package/dist/model/SocialGroup.d.ts +1 -1
  568. package/dist/model/SocialGroup.js +2 -2
  569. package/dist/model/SocialGroupInput.d.ts +1 -1
  570. package/dist/model/SocialGroupInput.js +2 -2
  571. package/dist/model/SocialGroupResponse.d.ts +1 -1
  572. package/dist/model/SocialGroupResponse.js +2 -2
  573. package/dist/model/SocialGroupType.d.ts +1 -1
  574. package/dist/model/SocialGroupType.js +2 -2
  575. package/dist/model/SocialGroupTypeInput.d.ts +1 -1
  576. package/dist/model/SocialGroupTypeInput.js +2 -2
  577. package/dist/model/Sort.d.ts +1 -1
  578. package/dist/model/Sort.js +2 -2
  579. package/dist/model/SourceTypes.d.ts +1 -1
  580. package/dist/model/SourceTypes.js +2 -2
  581. package/dist/model/StatusUpdate.d.ts +1 -1
  582. package/dist/model/StatusUpdate.js +2 -2
  583. package/dist/model/StripeAccount.d.ts +1 -1
  584. package/dist/model/StripeAccount.js +2 -2
  585. package/dist/model/StripeCustomerAccount.d.ts +1 -1
  586. package/dist/model/StripeCustomerAccount.js +2 -2
  587. package/dist/model/Template.d.ts +1 -1
  588. package/dist/model/Template.js +2 -2
  589. package/dist/model/TemplateResponse.d.ts +1 -1
  590. package/dist/model/TemplateResponse.js +2 -2
  591. package/dist/model/TemplateSchema.d.ts +1 -1
  592. package/dist/model/TemplateSchema.js +2 -2
  593. package/dist/model/ThemeMapping.d.ts +10 -10
  594. package/dist/model/ThemeMapping.d.ts.map +1 -1
  595. package/dist/model/ThemeMapping.js +25 -25
  596. package/dist/model/ThemeMappingPayload.d.ts +1 -1
  597. package/dist/model/ThemeMappingPayload.js +2 -2
  598. package/dist/model/Timezone.d.ts +1 -1
  599. package/dist/model/Timezone.js +2 -2
  600. package/dist/model/Timezone1.d.ts +1 -1
  601. package/dist/model/Timezone1.js +2 -2
  602. package/dist/model/TopicInfoResponse.d.ts +1 -1
  603. package/dist/model/TopicInfoResponse.js +2 -2
  604. package/dist/model/TopicMessageInput.d.ts +1 -1
  605. package/dist/model/TopicMessageInput.js +2 -2
  606. package/dist/model/TopicSubscriptionResponse.d.ts +1 -1
  607. package/dist/model/TopicSubscriptionResponse.js +2 -2
  608. package/dist/model/Transaction.d.ts +1 -1
  609. package/dist/model/Transaction.js +2 -2
  610. package/dist/model/Transfer.d.ts +1 -1
  611. package/dist/model/Transfer.js +2 -2
  612. package/dist/model/TransferInput.d.ts +1 -1
  613. package/dist/model/TransferInput.js +2 -2
  614. package/dist/model/TransferResponse.d.ts +1 -1
  615. package/dist/model/TransferResponse.js +2 -2
  616. package/dist/model/TransferResponsePaymentMethodDetails.d.ts +1 -1
  617. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  618. package/dist/model/TraversalRelationResponse.d.ts +1 -1
  619. package/dist/model/TraversalRelationResponse.js +2 -2
  620. package/dist/model/User.d.ts +1 -1
  621. package/dist/model/User.js +2 -2
  622. package/dist/model/UserDataPayload.d.ts +1 -1
  623. package/dist/model/UserDataPayload.js +2 -2
  624. package/dist/model/UserDomain.d.ts +1 -1
  625. package/dist/model/UserDomain.js +2 -2
  626. package/dist/model/UserInvite.d.ts +1 -1
  627. package/dist/model/UserInvite.js +2 -2
  628. package/dist/model/UserInviteInput.d.ts +1 -1
  629. package/dist/model/UserInviteInput.js +2 -2
  630. package/dist/model/UserResponse.d.ts +1 -1
  631. package/dist/model/UserResponse.js +2 -2
  632. package/dist/model/UserSchema.d.ts +1 -1
  633. package/dist/model/UserSchema.js +2 -2
  634. package/dist/model/Userid.d.ts +1 -1
  635. package/dist/model/Userid.js +2 -2
  636. package/dist/model/UsernameReminderRequest.d.ts +1 -1
  637. package/dist/model/UsernameReminderRequest.js +2 -2
  638. package/dist/model/UsernameReminderResponse.d.ts +1 -1
  639. package/dist/model/UsernameReminderResponse.js +2 -2
  640. package/dist/model/Video.d.ts +10 -10
  641. package/dist/model/Video.d.ts.map +1 -1
  642. package/dist/model/Video.js +31 -31
  643. package/dist/model/VideoLiveUrl.d.ts +1 -1
  644. package/dist/model/VideoLiveUrl.js +2 -2
  645. package/dist/model/VideoSchema.d.ts +10 -10
  646. package/dist/model/VideoSchema.d.ts.map +1 -1
  647. package/dist/model/VideoSchema.js +31 -31
  648. package/dist/model/VideoUploadObject.d.ts +10 -10
  649. package/dist/model/VideoUploadObject.d.ts.map +1 -1
  650. package/dist/model/VideoUploadObject.js +31 -31
  651. package/dist/model/WalletHoldInput.d.ts +1 -1
  652. package/dist/model/WalletHoldInput.js +2 -2
  653. package/dist/model/WalletHoldResponse.d.ts +1 -1
  654. package/dist/model/WalletHoldResponse.js +2 -2
  655. package/dist/model/WalletPayoutInput.d.ts +1 -1
  656. package/dist/model/WalletPayoutInput.js +2 -2
  657. package/dist/model/WalletPayoutResponse.d.ts +1 -1
  658. package/dist/model/WalletPayoutResponse.js +2 -2
  659. package/dist/model/WalletResponse.d.ts +1 -1
  660. package/dist/model/WalletResponse.js +2 -2
  661. package/dist/model/ZeusPortalCategory.d.ts +1 -1
  662. package/dist/model/ZeusPortalCategory.js +2 -2
  663. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  export default ApiClient;
2
2
  /**
3
3
  * @module ApiClient
4
- * @version 0.1.108
4
+ * @version 0.1.110
5
5
  */
6
6
  /**
7
7
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
package/dist/ApiClient.js CHANGED
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * gobodo-api
17
17
  * REST Interface for Gobodo API
18
18
  *
19
- * The version of the OpenAPI document: 0.1.108
19
+ * The version of the OpenAPI document: 0.1.110
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  */
27
27
  /**
28
28
  * @module ApiClient
29
- * @version 0.1.108
29
+ * @version 0.1.110
30
30
  */
31
31
  /**
32
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -78,7 +78,7 @@ var ApiClient = /*#__PURE__*/function () {
78
78
  * @default {}
79
79
  */
80
80
  this.defaultHeaders = {
81
- 'User-Agent': 'OpenAPI-Generator/0.1.108/Javascript'
81
+ 'User-Agent': 'OpenAPI-Generator/0.1.110/Javascript'
82
82
  };
83
83
 
84
84
  /**
@@ -0,0 +1,158 @@
1
+ /**
2
+ * Abilities service.
3
+ * @module api/AbilitiesApi
4
+ * @version 0.1.110
5
+ */
6
+ export default class AbilitiesApi {
7
+ /**
8
+ * Constructs a new AbilitiesApi.
9
+ * @alias module:api/AbilitiesApi
10
+ * @class
11
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
12
+ * default to {@link module:ApiClient#instance} if unspecified.
13
+ */
14
+ constructor(apiClient?: any);
15
+ apiClient: any;
16
+ /**
17
+ * Check if user is authorized for a permission
18
+ * Returns a simple true/false indicating if the current user has the specified permission on the object
19
+ * @param {Number} objectId
20
+ * @param {Object} opts Optional parameters
21
+ * @param {String} [authorization] The authorization token of the logged in user
22
+ * @param {Number} [cacheduration] The how long the cache entry should persist
23
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
24
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
25
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
26
+ * @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)
27
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
28
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
29
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
30
+ * @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
31
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
32
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
33
+ * @param {String} [permission]
34
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AuthorizationCheckResponse} and HTTP response
35
+ */
36
+ checkAuthorizationWithHttpInfo(objectId: number, opts: any): Promise<any>;
37
+ /**
38
+ * Check if user is authorized for a permission
39
+ * Returns a simple true/false indicating if the current user has the specified permission on the object
40
+ * @param {Number} objectId
41
+ * @param {Object} opts Optional parameters
42
+ * @param {String} opts.authorization The authorization token of the logged in user
43
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
44
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
45
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
46
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
47
+ * @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)
48
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
49
+ * @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
50
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
51
+ * @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
52
+ * @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
53
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
54
+ * @param {String} opts.permission
55
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AuthorizationCheckResponse}
56
+ */
57
+ checkAuthorization(objectId: number, opts?: { [key: string]: any; [key: string]: any;
58
+ authorization?: string;
59
+ cacheduration?: number;
60
+ cachegroup?: Array<string>;
61
+ cachekey?: Array<string>;
62
+ cachescope?: any;
63
+ cacheuser?: Array<string>;
64
+ }): Promise<any>;
65
+ /**
66
+ * Get user abilities for an object
67
+ * Returns a CASL-compatible list of abilities/permissions the current user has on the specified graph object
68
+ * @param {Number} objectId
69
+ * @param {Object} opts Optional parameters
70
+ * @param {String} [authorization] The authorization token of the logged in user
71
+ * @param {Number} [cacheduration] The how long the cache entry should persist
72
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
73
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
74
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
75
+ * @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)
76
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
77
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
78
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
79
+ * @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
80
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
81
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
82
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AbilityResponse>} and HTTP response
83
+ */
84
+ getAbilitiesForObjectWithHttpInfo(objectId: number, opts: any): Promise<any>;
85
+ /**
86
+ * Get user abilities for an object
87
+ * Returns a CASL-compatible list of abilities/permissions the current user has on the specified graph object
88
+ * @param {Number} objectId
89
+ * @param {Object} opts Optional parameters
90
+ * @param {String} opts.authorization The authorization token of the logged in user
91
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
92
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
93
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
94
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
95
+ * @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)
96
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
97
+ * @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
98
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
99
+ * @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
100
+ * @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
101
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
102
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AbilityResponse>}
103
+ */
104
+ getAbilitiesForObject(objectId: number, opts?: { [key: string]: any; [key: string]: any;
105
+ authorization?: string;
106
+ cacheduration?: number;
107
+ cachegroup?: Array<string>;
108
+ cachekey?: Array<string>;
109
+ cachescope?: any;
110
+ cacheuser?: Array<string>;
111
+ }): Promise<any>;
112
+ /**
113
+ * Get current user's global abilities
114
+ * Returns a CASL-compatible list of global abilities/permissions for the current user
115
+ * @param {Object} opts Optional parameters
116
+ * @param {String} [authorization] The authorization token of the logged in user
117
+ * @param {Number} [cacheduration] The how long the cache entry should persist
118
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
119
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
120
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
121
+ * @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)
122
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
123
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
124
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
125
+ * @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
126
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
127
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
128
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AbilityResponse>} and HTTP response
129
+ */
130
+ getMyAbilitiesWithHttpInfo(opts: any): Promise<any>;
131
+ /**
132
+ * Get current user's global abilities
133
+ * Returns a CASL-compatible list of global abilities/permissions for the current user
134
+ * @param {Object} opts Optional parameters
135
+ * @param {String} opts.authorization The authorization token of the logged in user
136
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
137
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
138
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
139
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
140
+ * @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)
141
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
142
+ * @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
143
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
144
+ * @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
145
+ * @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
146
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
147
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AbilityResponse>}
148
+ */
149
+ getMyAbilities(opts?: { [key: string]: any; [key: string]: any;
150
+ authorization?: string;
151
+ cacheduration?: number;
152
+ cachegroup?: Array<string>;
153
+ cachekey?: Array<string>;
154
+ cachescope?: any;
155
+ cacheuser?: Array<string>;
156
+ }): Promise<any>;
157
+ }
158
+ //# sourceMappingURL=AbilitiesApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AbilitiesApi.d.ts","sourceRoot":"","sources":["../../src/api/AbilitiesApi.js"],"names":[],"mappings":"AAmBA;;;;EAIE;AACF;IAEI;;;;;;MAME;IACF,wBAHU,GAAgB,EAKzB;IADG,eAAgD;IAKpD;;;;;;;;;;;;;;;;;;;OAmBG;IACH,0EAwCC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,2CAfG;QAAqB,aAAa;QACb,aAAa;QACL,UAAU,EAA/B,KAAK,QAAS;QACO,QAAQ,EAA7B,KAAK,QAAS;QACY,UAAU,EAApC,GAAmB;QACE,SAAS,EAA9B,KAAK,QAAS;KACtB,gBAcF;IAGD;;;;;;;;;;;;;;;;;;OAkBG;IACH,6EAuCC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,8CAdG;QAAqB,aAAa;QACb,aAAa;QACL,UAAU,EAA/B,KAAK,QAAS;QACO,QAAQ,EAA7B,KAAK,QAAS;QACY,UAAU,EAApC,GAAmB;QACE,SAAS,EAA9B,KAAK,QAAS;KACtB,gBAaF;IAGD;;;;;;;;;;;;;;;;;OAiBG;IACH,oDAkCC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,qBAdG;QAAqB,aAAa;QACb,aAAa;QACL,UAAU,EAA/B,KAAK,QAAS;QACO,QAAQ,EAA7B,KAAK,QAAS;QACY,UAAU,EAApC,GAAmB;QACE,SAAS,EAA9B,KAAK,QAAS;KACtB,gBAaF;CAGJ"}
@@ -0,0 +1,289 @@
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 _AbilityResponse = _interopRequireDefault(require("../model/AbilityResponse"));
9
+ var _AuthorizationCheckResponse = _interopRequireDefault(require("../model/AuthorizationCheckResponse"));
10
+ var _CacheInvalidation = _interopRequireDefault(require("../model/CacheInvalidation"));
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ 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); }
13
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
14
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
15
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
17
+ 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); } /**
18
+ * gobodo-api
19
+ * REST Interface for Gobodo API
20
+ *
21
+ * The version of the OpenAPI document: 0.1.110
22
+ * Contact: info@gobodo.io
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * Abilities service.
31
+ * @module api/AbilitiesApi
32
+ * @version 0.1.110
33
+ */
34
+ var AbilitiesApi = exports["default"] = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new AbilitiesApi.
37
+ * @alias module:api/AbilitiesApi
38
+ * @class
39
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
40
+ * default to {@link module:ApiClient#instance} if unspecified.
41
+ */
42
+ function AbilitiesApi(apiClient) {
43
+ _classCallCheck(this, AbilitiesApi);
44
+ this.apiClient = apiClient || _ApiClient["default"].instance;
45
+ }
46
+
47
+ /**
48
+ * Check if user is authorized for a permission
49
+ * Returns a simple true/false indicating if the current user has the specified permission on the object
50
+ * @param {Number} objectId
51
+ * @param {Object} opts Optional parameters
52
+ * @param {String} [authorization] The authorization token of the logged in user
53
+ * @param {Number} [cacheduration] The how long the cache entry should persist
54
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
55
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
56
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
57
+ * @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)
58
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
59
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
60
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
61
+ * @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
62
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
63
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
64
+ * @param {String} [permission]
65
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AuthorizationCheckResponse} and HTTP response
66
+ */
67
+ _createClass(AbilitiesApi, [{
68
+ key: "checkAuthorizationWithHttpInfo",
69
+ value: function checkAuthorizationWithHttpInfo(objectId, opts) {
70
+ opts = opts || {};
71
+ var postBody = null;
72
+ // verify the required parameter 'objectId' is set
73
+ if (objectId === undefined || objectId === null) {
74
+ throw new Error("Missing the required parameter 'objectId' when calling checkAuthorization");
75
+ }
76
+ var pathParams = {
77
+ 'objectId': objectId
78
+ };
79
+ var queryParams = {
80
+ 'cacheduration': opts['cacheduration'],
81
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
82
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
83
+ 'cachescope': opts['cachescope'],
84
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
85
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi'),
86
+ 'permission': opts['permission']
87
+ };
88
+ var headerParams = {
89
+ 'Authorization': opts['authorization'],
90
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
91
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
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 = ['application/json'];
100
+ var returnType = _AuthorizationCheckResponse["default"];
101
+ return this.apiClient.callApi('/abilities/check/{objectId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
102
+ }
103
+
104
+ /**
105
+ * Check if user is authorized for a permission
106
+ * Returns a simple true/false indicating if the current user has the specified permission on the object
107
+ * @param {Number} objectId
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 {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
116
+ * @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
117
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
118
+ * @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
119
+ * @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
120
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
121
+ * @param {String} opts.permission
122
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AuthorizationCheckResponse}
123
+ */
124
+ }, {
125
+ key: "checkAuthorization",
126
+ value: function checkAuthorization(objectId, opts) {
127
+ return this.checkAuthorizationWithHttpInfo(objectId, opts).then(function (response_and_data) {
128
+ return response_and_data.data;
129
+ });
130
+ }
131
+
132
+ /**
133
+ * Get user abilities for an object
134
+ * Returns a CASL-compatible list of abilities/permissions the current user has on the specified graph object
135
+ * @param {Number} objectId
136
+ * @param {Object} opts Optional parameters
137
+ * @param {String} [authorization] The authorization token of the logged in user
138
+ * @param {Number} [cacheduration] The how long the cache entry should persist
139
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
140
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
141
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
142
+ * @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)
143
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
144
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
145
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
146
+ * @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
147
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
148
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
149
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AbilityResponse>} and HTTP response
150
+ */
151
+ }, {
152
+ key: "getAbilitiesForObjectWithHttpInfo",
153
+ value: function getAbilitiesForObjectWithHttpInfo(objectId, opts) {
154
+ opts = opts || {};
155
+ var postBody = null;
156
+ // verify the required parameter 'objectId' is set
157
+ if (objectId === undefined || objectId === null) {
158
+ throw new Error("Missing the required parameter 'objectId' when calling getAbilitiesForObject");
159
+ }
160
+ var pathParams = {
161
+ 'objectId': objectId
162
+ };
163
+ var queryParams = {
164
+ 'cacheduration': opts['cacheduration'],
165
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
166
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
167
+ 'cachescope': opts['cachescope'],
168
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
169
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
170
+ };
171
+ var headerParams = {
172
+ 'Authorization': opts['authorization'],
173
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
174
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
175
+ 'zeusportal-postas': opts['zeusportalPostas'],
176
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
177
+ 'transactionid': opts['transactionid']
178
+ };
179
+ var formParams = {};
180
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
181
+ var contentTypes = [];
182
+ var accepts = ['application/json'];
183
+ var returnType = [_AbilityResponse["default"]];
184
+ return this.apiClient.callApi('/abilities/object/{objectId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
185
+ }
186
+
187
+ /**
188
+ * Get user abilities for an object
189
+ * Returns a CASL-compatible list of abilities/permissions the current user has on the specified graph object
190
+ * @param {Number} objectId
191
+ * @param {Object} opts Optional parameters
192
+ * @param {String} opts.authorization The authorization token of the logged in user
193
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
194
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
195
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
196
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
197
+ * @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)
198
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
199
+ * @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
200
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
201
+ * @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
202
+ * @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
203
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
204
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AbilityResponse>}
205
+ */
206
+ }, {
207
+ key: "getAbilitiesForObject",
208
+ value: function getAbilitiesForObject(objectId, opts) {
209
+ return this.getAbilitiesForObjectWithHttpInfo(objectId, opts).then(function (response_and_data) {
210
+ return response_and_data.data;
211
+ });
212
+ }
213
+
214
+ /**
215
+ * Get current user's global abilities
216
+ * Returns a CASL-compatible list of global abilities/permissions for the current user
217
+ * @param {Object} opts Optional parameters
218
+ * @param {String} [authorization] The authorization token of the logged in user
219
+ * @param {Number} [cacheduration] The how long the cache entry should persist
220
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
221
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
222
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
223
+ * @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)
224
+ * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
225
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
226
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
227
+ * @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
228
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
229
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
230
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AbilityResponse>} and HTTP response
231
+ */
232
+ }, {
233
+ key: "getMyAbilitiesWithHttpInfo",
234
+ value: function getMyAbilitiesWithHttpInfo(opts) {
235
+ opts = opts || {};
236
+ var postBody = null;
237
+ var pathParams = {};
238
+ var queryParams = {
239
+ 'cacheduration': opts['cacheduration'],
240
+ 'cachegroup': this.apiClient.buildCollectionParam(opts['cachegroup'], 'multi'),
241
+ 'cachekey': this.apiClient.buildCollectionParam(opts['cachekey'], 'multi'),
242
+ 'cachescope': opts['cachescope'],
243
+ 'cacheuser': this.apiClient.buildCollectionParam(opts['cacheuser'], 'multi'),
244
+ 'invalidationkeys': this.apiClient.buildCollectionParam(opts['invalidationkeys'], 'multi')
245
+ };
246
+ var headerParams = {
247
+ 'Authorization': opts['authorization'],
248
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
249
+ 'zeusportal-postas-org': opts['zeusportalPostasOrg'],
250
+ 'zeusportal-postas': opts['zeusportalPostas'],
251
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
252
+ 'transactionid': opts['transactionid']
253
+ };
254
+ var formParams = {};
255
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
256
+ var contentTypes = [];
257
+ var accepts = ['application/json'];
258
+ var returnType = [_AbilityResponse["default"]];
259
+ return this.apiClient.callApi('/abilities/me', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
260
+ }
261
+
262
+ /**
263
+ * Get current user's global abilities
264
+ * Returns a CASL-compatible list of global abilities/permissions for the current user
265
+ * @param {Object} opts Optional parameters
266
+ * @param {String} opts.authorization The authorization token of the logged in user
267
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
268
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
269
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
270
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
271
+ * @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)
272
+ * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
273
+ * @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
274
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
275
+ * @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
276
+ * @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
277
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
278
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AbilityResponse>}
279
+ */
280
+ }, {
281
+ key: "getMyAbilities",
282
+ value: function getMyAbilities(opts) {
283
+ return this.getMyAbilitiesWithHttpInfo(opts).then(function (response_and_data) {
284
+ return response_and_data.data;
285
+ });
286
+ }
287
+ }]);
288
+ return AbilitiesApi;
289
+ }();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * AdCampaigns service.
3
3
  * @module api/AdCampaignsApi
4
- * @version 0.1.108
4
+ * @version 0.1.110
5
5
  */
6
6
  export default class AdCampaignsApi {
7
7
  /**
@@ -25,6 +25,7 @@ export default class AdCampaignsApi {
25
25
  * @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)
26
26
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
27
27
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
28
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
28
29
  * @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
29
30
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
30
31
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -44,6 +45,7 @@ export default class AdCampaignsApi {
44
45
  * @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)
45
46
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
46
47
  * @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
48
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
47
49
  * @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
48
50
  * @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
49
51
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -69,6 +71,7 @@ export default class AdCampaignsApi {
69
71
  * @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)
70
72
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
71
73
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
74
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
72
75
  * @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
73
76
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
74
77
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -86,6 +89,7 @@ export default class AdCampaignsApi {
86
89
  * @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)
87
90
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
88
91
  * @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
92
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
89
93
  * @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
90
94
  * @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
91
95
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -111,6 +115,7 @@ export default class AdCampaignsApi {
111
115
  * @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)
112
116
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
113
117
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
118
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
114
119
  * @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
115
120
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
116
121
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -129,6 +134,7 @@ export default class AdCampaignsApi {
129
134
  * @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)
130
135
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
131
136
  * @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
137
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
132
138
  * @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
133
139
  * @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
134
140
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -153,6 +159,7 @@ export default class AdCampaignsApi {
153
159
  * @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)
154
160
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
155
161
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
162
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
156
163
  * @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
157
164
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
158
165
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -170,6 +177,7 @@ export default class AdCampaignsApi {
170
177
  * @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)
171
178
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
172
179
  * @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
180
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
173
181
  * @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
174
182
  * @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
175
183
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -194,6 +202,7 @@ export default class AdCampaignsApi {
194
202
  * @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)
195
203
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
196
204
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
205
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
197
206
  * @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
198
207
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
199
208
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -212,6 +221,7 @@ export default class AdCampaignsApi {
212
221
  * @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)
213
222
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
214
223
  * @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
224
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
215
225
  * @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
216
226
  * @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
217
227
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -237,6 +247,7 @@ export default class AdCampaignsApi {
237
247
  * @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)
238
248
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
239
249
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
250
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
240
251
  * @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
241
252
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
242
253
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -255,6 +266,7 @@ export default class AdCampaignsApi {
255
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)
256
267
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
257
268
  * @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
269
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
258
270
  * @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
259
271
  * @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
260
272
  * @param {String} opts.transactionid The id of the transaction this operation is being run in
@@ -280,6 +292,7 @@ export default class AdCampaignsApi {
280
292
  * @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)
281
293
  * @param {Array.<module:model/CacheInvalidation>} [invalidationkeys] Cache keys that should be invalidated in this operation
282
294
  * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
295
+ * @param {Number} [zeusportalPostasOrg] The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
283
296
  * @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
284
297
  * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
285
298
  * @param {String} [transactionid] The id of the transaction this operation is being run in
@@ -298,6 +311,7 @@ export default class AdCampaignsApi {
298
311
  * @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)
299
312
  * @param {Array.<module:model/CacheInvalidation>} opts.invalidationkeys Cache keys that should be invalidated in this operation
300
313
  * @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
314
+ * @param {Number} opts.zeusportalPostasOrg The id of the console organization this operation is being performed as if the caller chooses to post as a console organization
301
315
  * @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
302
316
  * @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
303
317
  * @param {String} opts.transactionid The id of the transaction this operation is being run in