@gobodo/gobodo-api-promise 0.1.68 → 0.1.71

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 (245) hide show
  1. package/README.md +32 -2
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/ActionTypesApi.js +2 -2
  4. package/dist/api/AdCampaignsApi.js +2 -2
  5. package/dist/api/AdManagementApi.js +2 -2
  6. package/dist/api/AdminDataManagementApi.js +2 -2
  7. package/dist/api/AdsApi.js +2 -2
  8. package/dist/api/AttachmentsApi.js +2 -2
  9. package/dist/api/AuthenticationApi.js +2 -2
  10. package/dist/api/CategoriesApi.js +2 -2
  11. package/dist/api/CommentsApi.js +2 -2
  12. package/dist/api/ContentManagementApi.js +2 -2
  13. package/dist/api/ConversationsApi.js +2 -2
  14. package/dist/api/CurrencyApi.js +322 -0
  15. package/dist/api/DataSheetImportsApi.js +2 -2
  16. package/dist/api/DefaultApi.js +2 -2
  17. package/dist/api/DocumentPartTypesApi.js +2 -2
  18. package/dist/api/DocumentTypesApi.js +2 -2
  19. package/dist/api/DocumentsApi.js +2 -2
  20. package/dist/api/EmailsApi.js +2 -2
  21. package/dist/api/EntryPartsApi.js +2 -2
  22. package/dist/api/FacebookApi.js +2 -2
  23. package/dist/api/FieldsApi.js +2 -2
  24. package/dist/api/FilesApi.js +2 -2
  25. package/dist/api/FormsApi.js +2 -2
  26. package/dist/api/FunctionsApi.js +2 -2
  27. package/dist/api/GeocodeApi.js +2 -2
  28. package/dist/api/GoogleApi.js +2 -2
  29. package/dist/api/GraphActionTypesApi.js +2 -2
  30. package/dist/api/GraphActionsApi.js +2 -2
  31. package/dist/api/GraphObjectTypesApi.js +2 -2
  32. package/dist/api/GraphObjectsApi.js +2 -2
  33. package/dist/api/GraphRelationshipTypesApi.js +2 -2
  34. package/dist/api/GraphRelationshipsApi.js +2 -2
  35. package/dist/api/GraphSchemasApi.js +2 -2
  36. package/dist/api/GraphTraversalApi.js +2 -2
  37. package/dist/api/GraphsApi.js +2 -2
  38. package/dist/api/GroupsApi.js +2 -2
  39. package/dist/api/IAMApi.js +2 -2
  40. package/dist/api/ImagesApi.js +2 -2
  41. package/dist/api/InvitesApi.js +2 -2
  42. package/dist/api/LikesApi.js +2 -2
  43. package/dist/api/LinkedINApi.js +2 -2
  44. package/dist/api/LiveMeetingsApi.js +2 -2
  45. package/dist/api/MeetingEventsApi.js +2 -2
  46. package/dist/api/NotificationsApi.js +2 -2
  47. package/dist/api/PagesApi.js +2 -2
  48. package/dist/api/PhoneNumbersApi.js +2 -2
  49. package/dist/api/PostsApi.js +2 -2
  50. package/dist/api/PrivateMessagesApi.js +2 -2
  51. package/dist/api/PublicationsApi.js +2 -2
  52. package/dist/api/RestApplicationsApi.js +2 -2
  53. package/dist/api/ScreensApi.js +2 -2
  54. package/dist/api/SitesApi.js +2 -2
  55. package/dist/api/SocialIntegrationApi.js +2 -2
  56. package/dist/api/StripeAccountsApi.js +2 -2
  57. package/dist/api/TagsApi.js +2 -2
  58. package/dist/api/TemplatesApi.js +2 -2
  59. package/dist/api/ThemeMappingsApi.js +2 -2
  60. package/dist/api/TopicsApi.js +77 -2
  61. package/dist/api/TransactionsApi.js +2 -2
  62. package/dist/api/TwitterApi.js +2 -2
  63. package/dist/api/UserTagsApi.js +2 -2
  64. package/dist/api/UsersApi.js +2 -2
  65. package/dist/api/UtilsApi.js +2 -2
  66. package/dist/api/VideosApi.js +2 -2
  67. package/dist/api/WalletsApi.js +884 -0
  68. package/dist/index.js +105 -0
  69. package/dist/model/APIClient.js +23 -23
  70. package/dist/model/AccountSessionInput.js +2 -2
  71. package/dist/model/AccountSessionResponse.js +2 -2
  72. package/dist/model/ApplicationPaymentAccountResponse.js +31 -2
  73. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
  74. package/dist/model/Article.js +41 -41
  75. package/dist/model/AuthResponse.js +2 -2
  76. package/dist/model/AwsSettings.js +2 -2
  77. package/dist/model/Balance.js +101 -55
  78. package/dist/model/BalanceDetails.js +2 -2
  79. package/dist/model/BalanceResponse.js +2 -2
  80. package/dist/model/BankAccountInfo.js +2 -2
  81. package/dist/model/CardInfo.js +2 -2
  82. package/dist/model/Comment.js +30 -30
  83. package/dist/model/Coordinates.js +2 -2
  84. package/dist/model/CreateAccountResponse.js +2 -2
  85. package/dist/model/CreateFunctionInput.js +2 -2
  86. package/dist/model/CreateStripeAccountInput.js +2 -2
  87. package/dist/model/CreateStripeCustomerInput.js +2 -2
  88. package/dist/model/CreateTopicInput.js +2 -2
  89. package/dist/model/CreateTopicListenerInput.js +2 -2
  90. package/dist/model/Currency.js +262 -0
  91. package/dist/model/CurrencyGrantInput.js +280 -0
  92. package/dist/model/CurrencyGrantResponse.js +369 -0
  93. package/dist/model/CurrencyInput.js +268 -0
  94. package/dist/model/CurrencyMinterRegistrationInput.js +208 -0
  95. package/dist/model/CurrencyResponse.js +301 -0
  96. package/dist/model/CurrencySettings.js +2 -2
  97. package/dist/model/CustomerResponse.js +2 -2
  98. package/dist/model/DataObject.js +2 -2
  99. package/dist/model/DataSheetImport.js +2 -2
  100. package/dist/model/DataSheetImportPrivacySettings.js +2 -2
  101. package/dist/model/DataSheetImportSummary.js +2 -2
  102. package/dist/model/DeviceRegistrationRequest.js +2 -2
  103. package/dist/model/Document.js +39 -39
  104. package/dist/model/DocumentPart.js +27 -27
  105. package/dist/model/DocumentPartType.js +31 -31
  106. package/dist/model/DocumentType.js +41 -41
  107. package/dist/model/EmailAddress.js +2 -2
  108. package/dist/model/FieldMapping.js +2 -2
  109. package/dist/model/Fields.js +48 -48
  110. package/dist/model/File.js +31 -31
  111. package/dist/model/FileAttachmentUploadObject.js +31 -31
  112. package/dist/model/Filter.js +2 -2
  113. package/dist/model/FilterManager.js +2 -2
  114. package/dist/model/Form.js +29 -29
  115. package/dist/model/FormSection.js +2 -2
  116. package/dist/model/FormSubmission.js +2 -2
  117. package/dist/model/FunctionConfigInput.js +2 -2
  118. package/dist/model/FunctionEnvironmentConfig.js +2 -2
  119. package/dist/model/FunctionInput.js +2 -2
  120. package/dist/model/FunctionOutput.js +2 -2
  121. package/dist/model/Geocode.js +2 -2
  122. package/dist/model/GeocodePayload.js +2 -2
  123. package/dist/model/GeolocationInput.js +2 -2
  124. package/dist/model/GetFunctionConfig.js +2 -2
  125. package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
  126. package/dist/model/GetFunctionResponse.js +2 -2
  127. package/dist/model/GoogleCloudSettings.js +2 -2
  128. package/dist/model/Graph.js +25 -25
  129. package/dist/model/GraphAction.js +2 -2
  130. package/dist/model/GraphDatabaseService.js +2 -2
  131. package/dist/model/GraphGeocode.js +2 -2
  132. package/dist/model/GraphIteratorEntryPart.js +2 -2
  133. package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
  134. package/dist/model/GraphObject.js +2 -2
  135. package/dist/model/GraphObjectPayload.js +2 -2
  136. package/dist/model/GraphObjectSchema.js +2 -2
  137. package/dist/model/GraphObjectType.js +2 -2
  138. package/dist/model/GraphObjectTypeResponse.js +2 -2
  139. package/dist/model/GraphObjectTypeSchema.js +2 -2
  140. package/dist/model/GraphOwner.js +2 -2
  141. package/dist/model/GraphRelationship.js +2 -2
  142. package/dist/model/GraphRelationshipPayload.js +2 -2
  143. package/dist/model/GraphRelationshipType.js +31 -31
  144. package/dist/model/GraphRelationshipTypeResponse.js +2 -2
  145. package/dist/model/GraphSchema.js +2 -2
  146. package/dist/model/GraphTraversalInput.js +2 -2
  147. package/dist/model/Image.js +31 -31
  148. package/dist/model/ImageUploadObject.js +31 -31
  149. package/dist/model/InputPart.js +29 -29
  150. package/dist/model/InputPartMediaType.js +2 -2
  151. package/dist/model/KafkaSettings.js +2 -2
  152. package/dist/model/Link.js +2 -2
  153. package/dist/model/LiveStreamInfo.js +2 -2
  154. package/dist/model/MeetingEvent.js +26 -26
  155. package/dist/model/MeetingEventTimezone.js +2 -2
  156. package/dist/model/MeetingInfo.js +2 -2
  157. package/dist/model/Member.js +25 -25
  158. package/dist/model/MemberGroupCategory.js +2 -2
  159. package/dist/model/MemberList.js +2 -2
  160. package/dist/model/MessageGroup.js +2 -2
  161. package/dist/model/MultipartBody.js +2 -2
  162. package/dist/model/NotificationInput.js +2 -2
  163. package/dist/model/NotificationResponse.js +2 -2
  164. package/dist/model/NumberSettings.js +2 -2
  165. package/dist/model/ObjectSettings.js +2 -2
  166. package/dist/model/Objecttype.js +2 -2
  167. package/dist/model/OutParameter.js +2 -2
  168. package/dist/model/Page.js +25 -25
  169. package/dist/model/PageSchema.js +29 -29
  170. package/dist/model/Pageable.js +2 -2
  171. package/dist/model/Parameter.js +2 -2
  172. package/dist/model/Path.js +2 -2
  173. package/dist/model/PaymentAccountObject.js +2 -2
  174. package/dist/model/PaymentIntentInput.js +2 -2
  175. package/dist/model/PaymentIntentResponse.js +2 -2
  176. package/dist/model/PaymentMethod.js +2 -2
  177. package/dist/model/PaymentMethodInput.js +2 -2
  178. package/dist/model/PaymentMethodResponse.js +2 -2
  179. package/dist/model/PaymentMethodsResponse.js +2 -2
  180. package/dist/model/Payout.js +30 -30
  181. package/dist/model/PayoutInput.js +2 -2
  182. package/dist/model/PayoutResponse.js +2 -2
  183. package/dist/model/PhoneNumber.js +2 -2
  184. package/dist/model/Post.js +2 -2
  185. package/dist/model/PrivateMessage.js +2 -2
  186. package/dist/model/PrivateMessageConversation.js +2 -2
  187. package/dist/model/PrivateMessageConversationSchema.js +2 -2
  188. package/dist/model/Profile.js +2 -2
  189. package/dist/model/Profiletype.js +2 -2
  190. package/dist/model/PropertyContainer.js +2 -2
  191. package/dist/model/PurchaseInput.js +229 -0
  192. package/dist/model/PurchaseResponse.js +320 -0
  193. package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
  194. package/dist/model/RelationshipMapping.js +2 -2
  195. package/dist/model/RestApplicationInput.js +2 -2
  196. package/dist/model/RestApplicationResponse.js +2 -2
  197. package/dist/model/ScreenSchema.js +2 -2
  198. package/dist/model/SimulcastInfo.js +2 -2
  199. package/dist/model/SiteInput.js +2 -2
  200. package/dist/model/SiteResponse.js +2 -2
  201. package/dist/model/SiteTypeInput.js +2 -2
  202. package/dist/model/SiteTypeResponse.js +2 -2
  203. package/dist/model/SkinField.js +48 -48
  204. package/dist/model/SkinFieldResponse.js +2 -2
  205. package/dist/model/SocialGroup.js +25 -25
  206. package/dist/model/SocialGroupType.js +2 -2
  207. package/dist/model/Sort.js +2 -2
  208. package/dist/model/SourceTypes.js +2 -2
  209. package/dist/model/StatusUpdate.js +2 -2
  210. package/dist/model/StreetAddress.js +2 -2
  211. package/dist/model/StripeAccount.js +143 -2
  212. package/dist/model/StripeCustomerAccount.js +2 -2
  213. package/dist/model/Template.js +30 -30
  214. package/dist/model/TemplateResponse.js +2 -2
  215. package/dist/model/TemplateSchema.js +30 -30
  216. package/dist/model/ThemeMapping.js +2 -2
  217. package/dist/model/ThemeMappingPayload.js +2 -2
  218. package/dist/model/TopicInfoResponse.js +2 -2
  219. package/dist/model/TopicMessageInput.js +2 -2
  220. package/dist/model/TopicSubscriptionResponse.js +2 -2
  221. package/dist/model/Transaction.js +2 -2
  222. package/dist/model/Transfer.js +32 -32
  223. package/dist/model/TransferInput.js +95 -6
  224. package/dist/model/TransferResponse.js +2 -2
  225. package/dist/model/TransferResponsePaymentMethodDetails.js +32 -32
  226. package/dist/model/TraversalRelationResponse.js +2 -2
  227. package/dist/model/User.js +25 -25
  228. package/dist/model/UserDataPayload.js +25 -25
  229. package/dist/model/UserDomain.js +2 -2
  230. package/dist/model/UserInvite.js +2 -2
  231. package/dist/model/UserInviteInput.js +2 -2
  232. package/dist/model/UserSchema.js +25 -25
  233. package/dist/model/UserTag.js +2 -2
  234. package/dist/model/Userid.js +2 -2
  235. package/dist/model/Video.js +31 -31
  236. package/dist/model/VideoLiveUrl.js +2 -2
  237. package/dist/model/VideoSchema.js +31 -31
  238. package/dist/model/VideoUploadObject.js +31 -31
  239. package/dist/model/WalletHoldInput.js +235 -0
  240. package/dist/model/WalletHoldResponse.js +293 -0
  241. package/dist/model/WalletPayoutInput.js +206 -0
  242. package/dist/model/WalletPayoutResponse.js +235 -0
  243. package/dist/model/WalletResponse.js +239 -0
  244. package/dist/model/ZeusPortalCategory.js +2 -2
  245. package/package.json +1 -1
package/README.md CHANGED
@@ -4,8 +4,8 @@ Gobodo - JavaScript client for @gobodo/gobodo-api-promise
4
4
  REST Interface for Gobodo API
5
5
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
- - API version: 0.1.68
8
- - Package version: 0.1.68
7
+ - API version: 0.1.71
8
+ - Package version: 0.1.71
9
9
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
10
10
 
11
11
  ## Installation
@@ -239,6 +239,10 @@ Class | Method | HTTP request | Description
239
239
  *Gobodo.ConversationsApi* | [**getConversationParticipants**](docs/ConversationsApi.md#getConversationParticipants) | **GET** /graph/data/privatemessages/conversations/{convoid}/groupedmessages | Get Grouped Messages
240
240
  *Gobodo.ConversationsApi* | [**getConversationParticipants1**](docs/ConversationsApi.md#getConversationParticipants1) | **GET** /graph/data/privatemessages/conversations/{convoid}/messages | Get Participants
241
241
  *Gobodo.ConversationsApi* | [**getUnreadMessageCount**](docs/ConversationsApi.md#getUnreadMessageCount) | **GET** /graph/data/privatemessages/conversations/newmessagecount | Get the number of unread messages
242
+ *Gobodo.CurrencyApi* | [**createCurrency**](docs/CurrencyApi.md#createCurrency) | **POST** /graph/data/payments/currency | Create a new currency
243
+ *Gobodo.CurrencyApi* | [**getCurrencyById**](docs/CurrencyApi.md#getCurrencyById) | **GET** /graph/data/payments/currency/{currencyId} | Get a currency by id
244
+ *Gobodo.CurrencyApi* | [**getRegisteredCurrencies**](docs/CurrencyApi.md#getRegisteredCurrencies) | **GET** /graph/data/payments/currency/registeredcurrencies/{minterId} | Get all currencies registered by a minter
245
+ *Gobodo.CurrencyApi* | [**registerCurrency**](docs/CurrencyApi.md#registerCurrency) | **POST** /graph/data/payments/currency/register | Register a currency with a minter
242
246
  *Gobodo.DataSheetImportsApi* | [**addDataSheetImportGeocodeMapping**](docs/DataSheetImportsApi.md#addDataSheetImportGeocodeMapping) | **PUT** /graph/data/datasheetimport/{dsimportid}/geolocateon/{sheetprop} | Geocodes the imported object based on the specified data field in the datasheet
243
247
  *Gobodo.DataSheetImportsApi* | [**addDataSheetImportMapping**](docs/DataSheetImportsApi.md#addDataSheetImportMapping) | **PUT** /graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop} | Sets the mapping associated with the sheetprop
244
248
  *Gobodo.DataSheetImportsApi* | [**addEndObjectLookup**](docs/DataSheetImportsApi.md#addEndObjectLookup) | **PUT** /graph/data/datasheetimport/{dsimportid}/endobjectlookup | Sets the lookup for the end object in a relationship import
@@ -682,6 +686,7 @@ Class | Method | HTTP request | Description
682
686
  *Gobodo.ThemeMappingsApi* | [**createTheme**](docs/ThemeMappingsApi.md#createTheme) | **POST** /graph/data/themes | Create a Theme Mapping
683
687
  *Gobodo.ThemeMappingsApi* | [**get41**](docs/ThemeMappingsApi.md#get41) | **GET** /graph/data/themes/{themeid} |
684
688
  *Gobodo.TopicsApi* | [**createTopic**](docs/TopicsApi.md#createTopic) | **POST** /graph/data/topics | Creates a new topic
689
+ *Gobodo.TopicsApi* | [**deleteSubscription**](docs/TopicsApi.md#deleteSubscription) | **DELETE** /graph/data/topics/subscription/{subscriptionId} | Deletes a subscription
685
690
  *Gobodo.TopicsApi* | [**deleteTopic**](docs/TopicsApi.md#deleteTopic) | **DELETE** /graph/data/topics/{topicName} | Deletes a topic
686
691
  *Gobodo.TopicsApi* | [**getSubscription**](docs/TopicsApi.md#getSubscription) | **GET** /graph/data/topics/subscription/{subscriptionId} | Gets a subscription by key
687
692
  *Gobodo.TopicsApi* | [**getTopicByName**](docs/TopicsApi.md#getTopicByName) | **GET** /graph/data/topics/{topicName} | Gets a topic by name
@@ -724,6 +729,18 @@ Class | Method | HTTP request | Description
724
729
  *Gobodo.VideosApi* | [**updateVideo**](docs/VideosApi.md#updateVideo) | **PUT** /graph/data/videos/{id} |
725
730
  *Gobodo.VideosApi* | [**upload2**](docs/VideosApi.md#upload2) | **POST** /graph/data/videos/{id}/upload |
726
731
  *Gobodo.VideosApi* | [**uploadVideo**](docs/VideosApi.md#uploadVideo) | **POST** /graph/data/videos/upload | Upload data
732
+ *Gobodo.WalletsApi* | [**createHold**](docs/WalletsApi.md#createHold) | **POST** /graph/data/payments/wallets/hold | Hold currency for a user
733
+ *Gobodo.WalletsApi* | [**getGrantById**](docs/WalletsApi.md#getGrantById) | **GET** /graph/data/payments/wallets/grant/{grantId} | Get a grant by id
734
+ *Gobodo.WalletsApi* | [**getHoldById**](docs/WalletsApi.md#getHoldById) | **GET** /graph/data/payments/wallets/hold/{holdId} | Get a hold by id
735
+ *Gobodo.WalletsApi* | [**getPurchaseById**](docs/WalletsApi.md#getPurchaseById) | **GET** /graph/data/payments/wallets/purchase/{purchaseId} | Get a purchase by id
736
+ *Gobodo.WalletsApi* | [**getTransferById**](docs/WalletsApi.md#getTransferById) | **GET** /graph/data/payments/wallets/transfer/{transferId} | Get a transfer by id
737
+ *Gobodo.WalletsApi* | [**getWalletBalance**](docs/WalletsApi.md#getWalletBalance) | **GET** /graph/data/payments/wallets/wallet/{walletId}/balance | Get the balance of a wallet
738
+ *Gobodo.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /graph/data/payments/wallets/wallet/{walletId} | Get a wallet by id
739
+ *Gobodo.WalletsApi* | [**getWallets**](docs/WalletsApi.md#getWallets) | **GET** /graph/data/payments/wallets/wallet | Get all wallets
740
+ *Gobodo.WalletsApi* | [**grantCurrency**](docs/WalletsApi.md#grantCurrency) | **POST** /graph/data/payments/wallets/grant | Grant currency to a user
741
+ *Gobodo.WalletsApi* | [**payoutWallet**](docs/WalletsApi.md#payoutWallet) | **POST** /graph/data/payments/wallets/payout | Payout to the wallet to the logged in user's cash balance
742
+ *Gobodo.WalletsApi* | [**purchaseCurrency**](docs/WalletsApi.md#purchaseCurrency) | **POST** /graph/data/payments/wallets/purchase | Purchase an item
743
+ *Gobodo.WalletsApi* | [**walletTransfer**](docs/WalletsApi.md#walletTransfer) | **POST** /graph/data/payments/wallets/transfer | Transfer funds between wallets
727
744
 
728
745
 
729
746
  ## Documentation for Models
@@ -749,6 +766,12 @@ Class | Method | HTTP request | Description
749
766
  - [Gobodo.CreateStripeCustomerInput](docs/CreateStripeCustomerInput.md)
750
767
  - [Gobodo.CreateTopicInput](docs/CreateTopicInput.md)
751
768
  - [Gobodo.CreateTopicListenerInput](docs/CreateTopicListenerInput.md)
769
+ - [Gobodo.Currency](docs/Currency.md)
770
+ - [Gobodo.CurrencyGrantInput](docs/CurrencyGrantInput.md)
771
+ - [Gobodo.CurrencyGrantResponse](docs/CurrencyGrantResponse.md)
772
+ - [Gobodo.CurrencyInput](docs/CurrencyInput.md)
773
+ - [Gobodo.CurrencyMinterRegistrationInput](docs/CurrencyMinterRegistrationInput.md)
774
+ - [Gobodo.CurrencyResponse](docs/CurrencyResponse.md)
752
775
  - [Gobodo.CurrencySettings](docs/CurrencySettings.md)
753
776
  - [Gobodo.CustomerResponse](docs/CustomerResponse.md)
754
777
  - [Gobodo.DataObject](docs/DataObject.md)
@@ -844,6 +867,8 @@ Class | Method | HTTP request | Description
844
867
  - [Gobodo.Profile](docs/Profile.md)
845
868
  - [Gobodo.Profiletype](docs/Profiletype.md)
846
869
  - [Gobodo.PropertyContainer](docs/PropertyContainer.md)
870
+ - [Gobodo.PurchaseInput](docs/PurchaseInput.md)
871
+ - [Gobodo.PurchaseResponse](docs/PurchaseResponse.md)
847
872
  - [Gobodo.PurgeDataDefaultResponseValue](docs/PurgeDataDefaultResponseValue.md)
848
873
  - [Gobodo.RelationshipMapping](docs/RelationshipMapping.md)
849
874
  - [Gobodo.RestApplicationInput](docs/RestApplicationInput.md)
@@ -890,6 +915,11 @@ Class | Method | HTTP request | Description
890
915
  - [Gobodo.VideoLiveUrl](docs/VideoLiveUrl.md)
891
916
  - [Gobodo.VideoSchema](docs/VideoSchema.md)
892
917
  - [Gobodo.VideoUploadObject](docs/VideoUploadObject.md)
918
+ - [Gobodo.WalletHoldInput](docs/WalletHoldInput.md)
919
+ - [Gobodo.WalletHoldResponse](docs/WalletHoldResponse.md)
920
+ - [Gobodo.WalletPayoutInput](docs/WalletPayoutInput.md)
921
+ - [Gobodo.WalletPayoutResponse](docs/WalletPayoutResponse.md)
922
+ - [Gobodo.WalletResponse](docs/WalletResponse.md)
893
923
  - [Gobodo.ZeusPortalCategory](docs/ZeusPortalCategory.md)
894
924
 
895
925
 
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.68
19
+ * The version of the OpenAPI document: 0.1.71
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.68
29
+ * @version 0.1.71
30
30
  */
31
31
  /**
32
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -74,7 +74,7 @@ var ApiClient = /*#__PURE__*/function () {
74
74
  * @default {}
75
75
  */
76
76
  this.defaultHeaders = {
77
- 'User-Agent': 'OpenAPI-Generator/0.1.68/Javascript'
77
+ 'User-Agent': 'OpenAPI-Generator/0.1.71/Javascript'
78
78
  };
79
79
 
80
80
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * ActionTypes service.
29
29
  * @module api/ActionTypesApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var ActionTypesApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * AdCampaigns service.
29
29
  * @module api/AdCampaignsApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var AdCampaignsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * AdManagement service.
29
29
  * @module api/AdManagementApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var AdManagementApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * AdminDataManagement service.
29
29
  * @module api/AdminDataManagementApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var AdminDataManagementApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Ads service.
29
29
  * @module api/AdsApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var AdsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.68
22
+ * The version of the OpenAPI document: 0.1.71
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Attachments service.
32
32
  * @module api/AttachmentsApi
33
- * @version 0.1.68
33
+ * @version 0.1.71
34
34
  */
35
35
  var AttachmentsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Authentication service.
29
29
  * @module api/AuthenticationApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var AuthenticationApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * gobodo-api
18
18
  * REST Interface for Gobodo API
19
19
  *
20
- * The version of the OpenAPI document: 0.1.68
20
+ * The version of the OpenAPI document: 0.1.71
21
21
  * Contact: info@gobodo.io
22
22
  *
23
23
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * Categories service.
30
30
  * @module api/CategoriesApi
31
- * @version 0.1.68
31
+ * @version 0.1.71
32
32
  */
33
33
  var CategoriesApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -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.68
19
+ * The version of the OpenAPI document: 0.1.71
20
20
  * Contact: info@gobodo.io
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Comments service.
29
29
  * @module api/CommentsApi
30
- * @version 0.1.68
30
+ * @version 0.1.71
31
31
  */
32
32
  var CommentsApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -21,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
21
21
  * gobodo-api
22
22
  * REST Interface for Gobodo API
23
23
  *
24
- * The version of the OpenAPI document: 0.1.68
24
+ * The version of the OpenAPI document: 0.1.71
25
25
  * Contact: info@gobodo.io
26
26
  *
27
27
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * ContentManagement service.
34
34
  * @module api/ContentManagementApi
35
- * @version 0.1.68
35
+ * @version 0.1.71
36
36
  */
37
37
  var ContentManagementApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * gobodo-api
20
20
  * REST Interface for Gobodo API
21
21
  *
22
- * The version of the OpenAPI document: 0.1.68
22
+ * The version of the OpenAPI document: 0.1.71
23
23
  * Contact: info@gobodo.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Conversations service.
32
32
  * @module api/ConversationsApi
33
- * @version 0.1.68
33
+ * @version 0.1.71
34
34
  */
35
35
  var ConversationsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -0,0 +1,322 @@
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 _CurrencyResponse = _interopRequireDefault(require("../model/CurrencyResponse"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
13
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
15
+ 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); } /**
16
+ * gobodo-api
17
+ * REST Interface for Gobodo API
18
+ *
19
+ * The version of the OpenAPI document: 0.1.71
20
+ * Contact: info@gobodo.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
27
+ /**
28
+ * Currency service.
29
+ * @module api/CurrencyApi
30
+ * @version 0.1.71
31
+ */
32
+ var CurrencyApi = exports["default"] = /*#__PURE__*/function () {
33
+ /**
34
+ * Constructs a new CurrencyApi.
35
+ * @alias module:api/CurrencyApi
36
+ * @class
37
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
38
+ * default to {@link module:ApiClient#instance} if unspecified.
39
+ */
40
+ function CurrencyApi(apiClient) {
41
+ _classCallCheck(this, CurrencyApi);
42
+ this.apiClient = apiClient || _ApiClient["default"].instance;
43
+ }
44
+
45
+ /**
46
+ * Create a new currency
47
+ * @param {Object} opts Optional parameters
48
+ * @param {String} [authorization] The authorization token of the logged in user
49
+ * @param {Number} [cacheduration] The how long the cache entry should persist
50
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
51
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
52
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
53
+ * @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)
54
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
55
+ * @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
56
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
57
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
58
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyResponse} and HTTP response
59
+ */
60
+ _createClass(CurrencyApi, [{
61
+ key: "createCurrencyWithHttpInfo",
62
+ value: function createCurrencyWithHttpInfo(opts) {
63
+ opts = opts || {};
64
+ var postBody = null;
65
+ var pathParams = {};
66
+ var queryParams = {};
67
+ var headerParams = {
68
+ 'Authorization': opts['authorization'],
69
+ 'cacheduration': opts['cacheduration'],
70
+ 'cachegroup': opts['cachegroup'],
71
+ 'cachekey': opts['cachekey'],
72
+ 'cachescope': opts['cachescope'],
73
+ 'cacheuser': opts['cacheuser'],
74
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
75
+ 'zeusportal-postas': opts['zeusportalPostas'],
76
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
77
+ 'transactionid': opts['transactionid']
78
+ };
79
+ var formParams = {};
80
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
81
+ var contentTypes = [];
82
+ var accepts = ['application/json'];
83
+ var returnType = _CurrencyResponse["default"];
84
+ return this.apiClient.callApi('/graph/data/payments/currency', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
85
+ }
86
+
87
+ /**
88
+ * Create a new currency
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 {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
97
+ * @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
98
+ * @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
99
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
100
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyResponse}
101
+ */
102
+ }, {
103
+ key: "createCurrency",
104
+ value: function createCurrency(opts) {
105
+ return this.createCurrencyWithHttpInfo(opts).then(function (response_and_data) {
106
+ return response_and_data.data;
107
+ });
108
+ }
109
+
110
+ /**
111
+ * Get a currency by id
112
+ * @param {Number} currencyId
113
+ * @param {Object} opts Optional parameters
114
+ * @param {String} [authorization] The authorization token of the logged in user
115
+ * @param {Number} [cacheduration] The how long the cache entry should persist
116
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
117
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
118
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
119
+ * @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)
120
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
121
+ * @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
122
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
123
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
124
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyResponse} and HTTP response
125
+ */
126
+ }, {
127
+ key: "getCurrencyByIdWithHttpInfo",
128
+ value: function getCurrencyByIdWithHttpInfo(currencyId, opts) {
129
+ opts = opts || {};
130
+ var postBody = null;
131
+ // verify the required parameter 'currencyId' is set
132
+ if (currencyId === undefined || currencyId === null) {
133
+ throw new Error("Missing the required parameter 'currencyId' when calling getCurrencyById");
134
+ }
135
+ var pathParams = {
136
+ 'currencyId': currencyId
137
+ };
138
+ var queryParams = {};
139
+ var headerParams = {
140
+ 'Authorization': opts['authorization'],
141
+ 'cacheduration': opts['cacheduration'],
142
+ 'cachegroup': opts['cachegroup'],
143
+ 'cachekey': opts['cachekey'],
144
+ 'cachescope': opts['cachescope'],
145
+ 'cacheuser': opts['cacheuser'],
146
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
147
+ 'zeusportal-postas': opts['zeusportalPostas'],
148
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
149
+ 'transactionid': opts['transactionid']
150
+ };
151
+ var formParams = {};
152
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
153
+ var contentTypes = [];
154
+ var accepts = ['application/json'];
155
+ var returnType = _CurrencyResponse["default"];
156
+ return this.apiClient.callApi('/graph/data/payments/currency/{currencyId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
157
+ }
158
+
159
+ /**
160
+ * Get a currency by id
161
+ * @param {Number} currencyId
162
+ * @param {Object} opts Optional parameters
163
+ * @param {String} opts.authorization The authorization token of the logged in user
164
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
165
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
166
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
167
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
168
+ * @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)
169
+ * @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
170
+ * @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
171
+ * @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
172
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
173
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyResponse}
174
+ */
175
+ }, {
176
+ key: "getCurrencyById",
177
+ value: function getCurrencyById(currencyId, opts) {
178
+ return this.getCurrencyByIdWithHttpInfo(currencyId, opts).then(function (response_and_data) {
179
+ return response_and_data.data;
180
+ });
181
+ }
182
+
183
+ /**
184
+ * Get all currencies registered by a minter
185
+ * @param {Number} minterId
186
+ * @param {Object} opts Optional parameters
187
+ * @param {String} [authorization] The authorization token of the logged in user
188
+ * @param {Number} [cacheduration] The how long the cache entry should persist
189
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
190
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
191
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
192
+ * @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)
193
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
194
+ * @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
195
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
196
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
197
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CurrencyResponse>} and HTTP response
198
+ */
199
+ }, {
200
+ key: "getRegisteredCurrenciesWithHttpInfo",
201
+ value: function getRegisteredCurrenciesWithHttpInfo(minterId, opts) {
202
+ opts = opts || {};
203
+ var postBody = null;
204
+ // verify the required parameter 'minterId' is set
205
+ if (minterId === undefined || minterId === null) {
206
+ throw new Error("Missing the required parameter 'minterId' when calling getRegisteredCurrencies");
207
+ }
208
+ var pathParams = {
209
+ 'minterId': minterId
210
+ };
211
+ var queryParams = {};
212
+ var headerParams = {
213
+ 'Authorization': opts['authorization'],
214
+ 'cacheduration': opts['cacheduration'],
215
+ 'cachegroup': opts['cachegroup'],
216
+ 'cachekey': opts['cachekey'],
217
+ 'cachescope': opts['cachescope'],
218
+ 'cacheuser': opts['cacheuser'],
219
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
220
+ 'zeusportal-postas': opts['zeusportalPostas'],
221
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
222
+ 'transactionid': opts['transactionid']
223
+ };
224
+ var formParams = {};
225
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
226
+ var contentTypes = [];
227
+ var accepts = ['application/json'];
228
+ var returnType = [_CurrencyResponse["default"]];
229
+ return this.apiClient.callApi('/graph/data/payments/currency/registeredcurrencies/{minterId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
230
+ }
231
+
232
+ /**
233
+ * Get all currencies registered by a minter
234
+ * @param {Number} minterId
235
+ * @param {Object} opts Optional parameters
236
+ * @param {String} opts.authorization The authorization token of the logged in user
237
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
238
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
239
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
240
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
241
+ * @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)
242
+ * @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
243
+ * @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
244
+ * @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
245
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
246
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CurrencyResponse>}
247
+ */
248
+ }, {
249
+ key: "getRegisteredCurrencies",
250
+ value: function getRegisteredCurrencies(minterId, opts) {
251
+ return this.getRegisteredCurrenciesWithHttpInfo(minterId, opts).then(function (response_and_data) {
252
+ return response_and_data.data;
253
+ });
254
+ }
255
+
256
+ /**
257
+ * Register a currency with a minter
258
+ * @param {Object} opts Optional parameters
259
+ * @param {String} [authorization] The authorization token of the logged in user
260
+ * @param {Number} [cacheduration] The how long the cache entry should persist
261
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
262
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
263
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
264
+ * @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)
265
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
266
+ * @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
267
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
268
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
269
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
270
+ */
271
+ }, {
272
+ key: "registerCurrencyWithHttpInfo",
273
+ value: function registerCurrencyWithHttpInfo(opts) {
274
+ opts = opts || {};
275
+ var postBody = null;
276
+ var pathParams = {};
277
+ var queryParams = {};
278
+ var headerParams = {
279
+ 'Authorization': opts['authorization'],
280
+ 'cacheduration': opts['cacheduration'],
281
+ 'cachegroup': opts['cachegroup'],
282
+ 'cachekey': opts['cachekey'],
283
+ 'cachescope': opts['cachescope'],
284
+ 'cacheuser': opts['cacheuser'],
285
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
286
+ 'zeusportal-postas': opts['zeusportalPostas'],
287
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
288
+ 'transactionid': opts['transactionid']
289
+ };
290
+ var formParams = {};
291
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
292
+ var contentTypes = [];
293
+ var accepts = [];
294
+ var returnType = null;
295
+ return this.apiClient.callApi('/graph/data/payments/currency/register', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
296
+ }
297
+
298
+ /**
299
+ * Register a currency with a minter
300
+ * @param {Object} opts Optional parameters
301
+ * @param {String} opts.authorization The authorization token of the logged in user
302
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
303
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
304
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
305
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
306
+ * @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)
307
+ * @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
308
+ * @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
309
+ * @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
310
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
311
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
312
+ */
313
+ }, {
314
+ key: "registerCurrency",
315
+ value: function registerCurrency(opts) {
316
+ return this.registerCurrencyWithHttpInfo(opts).then(function (response_and_data) {
317
+ return response_and_data.data;
318
+ });
319
+ }
320
+ }]);
321
+ return CurrencyApi;
322
+ }();