@gobodo/gobodo-api-promise 0.1.68 → 0.1.72

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 +919 -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 +25 -25
  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 +25 -25
  104. package/dist/model/DocumentPart.js +27 -27
  105. package/dist/model/DocumentPartType.js +31 -31
  106. package/dist/model/DocumentType.js +31 -31
  107. package/dist/model/EmailAddress.js +52 -52
  108. package/dist/model/FieldMapping.js +2 -2
  109. package/dist/model/Fields.js +48 -48
  110. package/dist/model/File.js +2 -2
  111. package/dist/model/FileAttachmentUploadObject.js +2 -2
  112. package/dist/model/Filter.js +2 -2
  113. package/dist/model/FilterManager.js +2 -2
  114. package/dist/model/Form.js +2 -2
  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 +2 -2
  148. package/dist/model/ImageUploadObject.js +2 -2
  149. package/dist/model/InputPart.js +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +50 -50
  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 +2 -2
  214. package/dist/model/TemplateResponse.js +2 -2
  215. package/dist/model/TemplateSchema.js +2 -2
  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 +2 -2
  223. package/dist/model/TransferInput.js +95 -6
  224. package/dist/model/TransferResponse.js +2 -2
  225. package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
  226. package/dist/model/TraversalRelationResponse.js +2 -2
  227. package/dist/model/User.js +2 -2
  228. package/dist/model/UserDataPayload.js +2 -2
  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 +2 -2
  233. package/dist/model/UserTag.js +2 -2
  234. package/dist/model/Userid.js +2 -2
  235. package/dist/model/Video.js +2 -2
  236. package/dist/model/VideoLiveUrl.js +2 -2
  237. package/dist/model/VideoSchema.js +2 -2
  238. package/dist/model/VideoUploadObject.js +2 -2
  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
@@ -0,0 +1,919 @@
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 _BalanceResponse = _interopRequireDefault(require("../model/BalanceResponse"));
9
+ var _CurrencyGrantInput = _interopRequireDefault(require("../model/CurrencyGrantInput"));
10
+ var _CurrencyGrantResponse = _interopRequireDefault(require("../model/CurrencyGrantResponse"));
11
+ var _PurchaseInput = _interopRequireDefault(require("../model/PurchaseInput"));
12
+ var _PurchaseResponse = _interopRequireDefault(require("../model/PurchaseResponse"));
13
+ var _TransferInput = _interopRequireDefault(require("../model/TransferInput"));
14
+ var _TransferResponse = _interopRequireDefault(require("../model/TransferResponse"));
15
+ var _WalletHoldInput = _interopRequireDefault(require("../model/WalletHoldInput"));
16
+ var _WalletHoldResponse = _interopRequireDefault(require("../model/WalletHoldResponse"));
17
+ var _WalletPayoutInput = _interopRequireDefault(require("../model/WalletPayoutInput"));
18
+ var _WalletPayoutResponse = _interopRequireDefault(require("../model/WalletPayoutResponse"));
19
+ var _WalletResponse = _interopRequireDefault(require("../model/WalletResponse"));
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+ 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); }
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+ 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); } }
24
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
26
+ 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); } /**
27
+ * gobodo-api
28
+ * REST Interface for Gobodo API
29
+ *
30
+ * The version of the OpenAPI document: 0.1.72
31
+ * Contact: info@gobodo.io
32
+ *
33
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
34
+ * https://openapi-generator.tech
35
+ * Do not edit the class manually.
36
+ *
37
+ */
38
+ /**
39
+ * Wallets service.
40
+ * @module api/WalletsApi
41
+ * @version 0.1.72
42
+ */
43
+ var WalletsApi = exports["default"] = /*#__PURE__*/function () {
44
+ /**
45
+ * Constructs a new WalletsApi.
46
+ * @alias module:api/WalletsApi
47
+ * @class
48
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
49
+ * default to {@link module:ApiClient#instance} if unspecified.
50
+ */
51
+ function WalletsApi(apiClient) {
52
+ _classCallCheck(this, WalletsApi);
53
+ this.apiClient = apiClient || _ApiClient["default"].instance;
54
+ }
55
+
56
+ /**
57
+ * Hold currency for a user
58
+ * @param {module:model/WalletHoldInput} walletHoldInput Contains the hold details
59
+ * @param {Object} opts Optional parameters
60
+ * @param {String} [authorization] The authorization token of the logged in user
61
+ * @param {Number} [cacheduration] The how long the cache entry should persist
62
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
63
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
64
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
65
+ * @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)
66
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
67
+ * @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
68
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
69
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
70
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WalletHoldResponse} and HTTP response
71
+ */
72
+ _createClass(WalletsApi, [{
73
+ key: "createHoldWithHttpInfo",
74
+ value: function createHoldWithHttpInfo(walletHoldInput, opts) {
75
+ opts = opts || {};
76
+ var postBody = walletHoldInput;
77
+ // verify the required parameter 'walletHoldInput' is set
78
+ if (walletHoldInput === undefined || walletHoldInput === null) {
79
+ throw new Error("Missing the required parameter 'walletHoldInput' when calling createHold");
80
+ }
81
+ var pathParams = {};
82
+ var queryParams = {};
83
+ var headerParams = {
84
+ 'Authorization': opts['authorization'],
85
+ 'cacheduration': opts['cacheduration'],
86
+ 'cachegroup': opts['cachegroup'],
87
+ 'cachekey': opts['cachekey'],
88
+ 'cachescope': opts['cachescope'],
89
+ 'cacheuser': opts['cacheuser'],
90
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
91
+ 'zeusportal-postas': opts['zeusportalPostas'],
92
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
93
+ 'transactionid': opts['transactionid']
94
+ };
95
+ var formParams = {};
96
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
97
+ var contentTypes = [];
98
+ var accepts = ['application/json'];
99
+ var returnType = _WalletHoldResponse["default"];
100
+ return this.apiClient.callApi('/graph/data/payments/wallets/hold', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
101
+ }
102
+
103
+ /**
104
+ * Hold currency for a user
105
+ * @param {module:model/WalletHoldInput} walletHoldInput Contains the hold details
106
+ * @param {Object} opts Optional parameters
107
+ * @param {String} opts.authorization The authorization token of the logged in user
108
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
109
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
110
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
111
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
112
+ * @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)
113
+ * @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
114
+ * @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
115
+ * @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
116
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
117
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WalletHoldResponse}
118
+ */
119
+ }, {
120
+ key: "createHold",
121
+ value: function createHold(walletHoldInput, opts) {
122
+ return this.createHoldWithHttpInfo(walletHoldInput, opts).then(function (response_and_data) {
123
+ return response_and_data.data;
124
+ });
125
+ }
126
+
127
+ /**
128
+ * Get a grant by id
129
+ * @param {Number} grantId
130
+ * @param {Object} opts Optional parameters
131
+ * @param {String} [authorization] The authorization token of the logged in user
132
+ * @param {Number} [cacheduration] The how long the cache entry should persist
133
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
134
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
135
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
136
+ * @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)
137
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
138
+ * @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
139
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
140
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
141
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyGrantResponse} and HTTP response
142
+ */
143
+ }, {
144
+ key: "getGrantByIdWithHttpInfo",
145
+ value: function getGrantByIdWithHttpInfo(grantId, opts) {
146
+ opts = opts || {};
147
+ var postBody = null;
148
+ // verify the required parameter 'grantId' is set
149
+ if (grantId === undefined || grantId === null) {
150
+ throw new Error("Missing the required parameter 'grantId' when calling getGrantById");
151
+ }
152
+ var pathParams = {
153
+ 'grantId': grantId
154
+ };
155
+ var queryParams = {};
156
+ var headerParams = {
157
+ 'Authorization': opts['authorization'],
158
+ 'cacheduration': opts['cacheduration'],
159
+ 'cachegroup': opts['cachegroup'],
160
+ 'cachekey': opts['cachekey'],
161
+ 'cachescope': opts['cachescope'],
162
+ 'cacheuser': opts['cacheuser'],
163
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
164
+ 'zeusportal-postas': opts['zeusportalPostas'],
165
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
166
+ 'transactionid': opts['transactionid']
167
+ };
168
+ var formParams = {};
169
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
170
+ var contentTypes = [];
171
+ var accepts = ['application/json'];
172
+ var returnType = _CurrencyGrantResponse["default"];
173
+ return this.apiClient.callApi('/graph/data/payments/wallets/grant/{grantId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
174
+ }
175
+
176
+ /**
177
+ * Get a grant by id
178
+ * @param {Number} grantId
179
+ * @param {Object} opts Optional parameters
180
+ * @param {String} opts.authorization The authorization token of the logged in user
181
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
182
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
183
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
184
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
185
+ * @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)
186
+ * @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
187
+ * @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
188
+ * @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
189
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
190
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyGrantResponse}
191
+ */
192
+ }, {
193
+ key: "getGrantById",
194
+ value: function getGrantById(grantId, opts) {
195
+ return this.getGrantByIdWithHttpInfo(grantId, opts).then(function (response_and_data) {
196
+ return response_and_data.data;
197
+ });
198
+ }
199
+
200
+ /**
201
+ * Get a hold by id
202
+ * @param {Number} holdId
203
+ * @param {Object} opts Optional parameters
204
+ * @param {String} [authorization] The authorization token of the logged in user
205
+ * @param {Number} [cacheduration] The how long the cache entry should persist
206
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
207
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
208
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
209
+ * @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)
210
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
211
+ * @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
212
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
213
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
214
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WalletHoldResponse} and HTTP response
215
+ */
216
+ }, {
217
+ key: "getHoldByIdWithHttpInfo",
218
+ value: function getHoldByIdWithHttpInfo(holdId, opts) {
219
+ opts = opts || {};
220
+ var postBody = null;
221
+ // verify the required parameter 'holdId' is set
222
+ if (holdId === undefined || holdId === null) {
223
+ throw new Error("Missing the required parameter 'holdId' when calling getHoldById");
224
+ }
225
+ var pathParams = {
226
+ 'holdId': holdId
227
+ };
228
+ var queryParams = {};
229
+ var headerParams = {
230
+ 'Authorization': opts['authorization'],
231
+ 'cacheduration': opts['cacheduration'],
232
+ 'cachegroup': opts['cachegroup'],
233
+ 'cachekey': opts['cachekey'],
234
+ 'cachescope': opts['cachescope'],
235
+ 'cacheuser': opts['cacheuser'],
236
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
237
+ 'zeusportal-postas': opts['zeusportalPostas'],
238
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
239
+ 'transactionid': opts['transactionid']
240
+ };
241
+ var formParams = {};
242
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
243
+ var contentTypes = [];
244
+ var accepts = ['application/json'];
245
+ var returnType = _WalletHoldResponse["default"];
246
+ return this.apiClient.callApi('/graph/data/payments/wallets/hold/{holdId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
247
+ }
248
+
249
+ /**
250
+ * Get a hold by id
251
+ * @param {Number} holdId
252
+ * @param {Object} opts Optional parameters
253
+ * @param {String} opts.authorization The authorization token of the logged in user
254
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
255
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
256
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
257
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
258
+ * @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)
259
+ * @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
260
+ * @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
261
+ * @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
262
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
263
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WalletHoldResponse}
264
+ */
265
+ }, {
266
+ key: "getHoldById",
267
+ value: function getHoldById(holdId, opts) {
268
+ return this.getHoldByIdWithHttpInfo(holdId, opts).then(function (response_and_data) {
269
+ return response_and_data.data;
270
+ });
271
+ }
272
+
273
+ /**
274
+ * Get a purchase by id
275
+ * @param {Number} purchaseId
276
+ * @param {Object} opts Optional parameters
277
+ * @param {String} [authorization] The authorization token of the logged in user
278
+ * @param {Number} [cacheduration] The how long the cache entry should persist
279
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
280
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
281
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
282
+ * @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)
283
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
284
+ * @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
285
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
286
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
287
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurchaseResponse} and HTTP response
288
+ */
289
+ }, {
290
+ key: "getPurchaseByIdWithHttpInfo",
291
+ value: function getPurchaseByIdWithHttpInfo(purchaseId, opts) {
292
+ opts = opts || {};
293
+ var postBody = null;
294
+ // verify the required parameter 'purchaseId' is set
295
+ if (purchaseId === undefined || purchaseId === null) {
296
+ throw new Error("Missing the required parameter 'purchaseId' when calling getPurchaseById");
297
+ }
298
+ var pathParams = {
299
+ 'purchaseId': purchaseId
300
+ };
301
+ var queryParams = {};
302
+ var headerParams = {
303
+ 'Authorization': opts['authorization'],
304
+ 'cacheduration': opts['cacheduration'],
305
+ 'cachegroup': opts['cachegroup'],
306
+ 'cachekey': opts['cachekey'],
307
+ 'cachescope': opts['cachescope'],
308
+ 'cacheuser': opts['cacheuser'],
309
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
310
+ 'zeusportal-postas': opts['zeusportalPostas'],
311
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
312
+ 'transactionid': opts['transactionid']
313
+ };
314
+ var formParams = {};
315
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
316
+ var contentTypes = [];
317
+ var accepts = ['application/json'];
318
+ var returnType = _PurchaseResponse["default"];
319
+ return this.apiClient.callApi('/graph/data/payments/wallets/purchase/{purchaseId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
320
+ }
321
+
322
+ /**
323
+ * Get a purchase by id
324
+ * @param {Number} purchaseId
325
+ * @param {Object} opts Optional parameters
326
+ * @param {String} opts.authorization The authorization token of the logged in user
327
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
328
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
329
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
330
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
331
+ * @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)
332
+ * @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
333
+ * @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
334
+ * @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
335
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
336
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurchaseResponse}
337
+ */
338
+ }, {
339
+ key: "getPurchaseById",
340
+ value: function getPurchaseById(purchaseId, opts) {
341
+ return this.getPurchaseByIdWithHttpInfo(purchaseId, opts).then(function (response_and_data) {
342
+ return response_and_data.data;
343
+ });
344
+ }
345
+
346
+ /**
347
+ * Get a transfer by id
348
+ * @param {Number} transferId
349
+ * @param {Object} opts Optional parameters
350
+ * @param {String} [authorization] The authorization token of the logged in user
351
+ * @param {Number} [cacheduration] The how long the cache entry should persist
352
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
353
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
354
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
355
+ * @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)
356
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
357
+ * @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
358
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
359
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
360
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
361
+ */
362
+ }, {
363
+ key: "getTransferByIdWithHttpInfo",
364
+ value: function getTransferByIdWithHttpInfo(transferId, opts) {
365
+ opts = opts || {};
366
+ var postBody = null;
367
+ // verify the required parameter 'transferId' is set
368
+ if (transferId === undefined || transferId === null) {
369
+ throw new Error("Missing the required parameter 'transferId' when calling getTransferById");
370
+ }
371
+ var pathParams = {
372
+ 'transferId': transferId
373
+ };
374
+ var queryParams = {};
375
+ var headerParams = {
376
+ 'Authorization': opts['authorization'],
377
+ 'cacheduration': opts['cacheduration'],
378
+ 'cachegroup': opts['cachegroup'],
379
+ 'cachekey': opts['cachekey'],
380
+ 'cachescope': opts['cachescope'],
381
+ 'cacheuser': opts['cacheuser'],
382
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
383
+ 'zeusportal-postas': opts['zeusportalPostas'],
384
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
385
+ 'transactionid': opts['transactionid']
386
+ };
387
+ var formParams = {};
388
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
389
+ var contentTypes = [];
390
+ var accepts = ['application/json'];
391
+ var returnType = _TransferResponse["default"];
392
+ return this.apiClient.callApi('/graph/data/payments/wallets/transfer/{transferId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
393
+ }
394
+
395
+ /**
396
+ * Get a transfer by id
397
+ * @param {Number} transferId
398
+ * @param {Object} opts Optional parameters
399
+ * @param {String} opts.authorization The authorization token of the logged in user
400
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
401
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
402
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
403
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
404
+ * @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)
405
+ * @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
406
+ * @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
407
+ * @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
408
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
409
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
410
+ */
411
+ }, {
412
+ key: "getTransferById",
413
+ value: function getTransferById(transferId, opts) {
414
+ return this.getTransferByIdWithHttpInfo(transferId, opts).then(function (response_and_data) {
415
+ return response_and_data.data;
416
+ });
417
+ }
418
+
419
+ /**
420
+ * Get the balance of a wallet
421
+ * @param {Number} walletId
422
+ * @param {Object} opts Optional parameters
423
+ * @param {String} [authorization] The authorization token of the logged in user
424
+ * @param {Number} [cacheduration] The how long the cache entry should persist
425
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
426
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
427
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
428
+ * @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)
429
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
430
+ * @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
431
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
432
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
433
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BalanceResponse} and HTTP response
434
+ */
435
+ }, {
436
+ key: "getWalletBalanceWithHttpInfo",
437
+ value: function getWalletBalanceWithHttpInfo(walletId, opts) {
438
+ opts = opts || {};
439
+ var postBody = null;
440
+ // verify the required parameter 'walletId' is set
441
+ if (walletId === undefined || walletId === null) {
442
+ throw new Error("Missing the required parameter 'walletId' when calling getWalletBalance");
443
+ }
444
+ var pathParams = {
445
+ 'walletId': walletId
446
+ };
447
+ var queryParams = {};
448
+ var headerParams = {
449
+ 'Authorization': opts['authorization'],
450
+ 'cacheduration': opts['cacheduration'],
451
+ 'cachegroup': opts['cachegroup'],
452
+ 'cachekey': opts['cachekey'],
453
+ 'cachescope': opts['cachescope'],
454
+ 'cacheuser': opts['cacheuser'],
455
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
456
+ 'zeusportal-postas': opts['zeusportalPostas'],
457
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
458
+ 'transactionid': opts['transactionid']
459
+ };
460
+ var formParams = {};
461
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
462
+ var contentTypes = [];
463
+ var accepts = ['application/json'];
464
+ var returnType = _BalanceResponse["default"];
465
+ return this.apiClient.callApi('/graph/data/payments/wallets/wallet/{walletId}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
466
+ }
467
+
468
+ /**
469
+ * Get the balance of a wallet
470
+ * @param {Number} walletId
471
+ * @param {Object} opts Optional parameters
472
+ * @param {String} opts.authorization The authorization token of the logged in user
473
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
474
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
475
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
476
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
477
+ * @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)
478
+ * @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
479
+ * @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
480
+ * @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
481
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
482
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BalanceResponse}
483
+ */
484
+ }, {
485
+ key: "getWalletBalance",
486
+ value: function getWalletBalance(walletId, opts) {
487
+ return this.getWalletBalanceWithHttpInfo(walletId, opts).then(function (response_and_data) {
488
+ return response_and_data.data;
489
+ });
490
+ }
491
+
492
+ /**
493
+ * Get a wallet by id
494
+ * @param {Number} walletId
495
+ * @param {Object} opts Optional parameters
496
+ * @param {String} [authorization] The authorization token of the logged in user
497
+ * @param {Number} [cacheduration] The how long the cache entry should persist
498
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
499
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
500
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
501
+ * @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)
502
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
503
+ * @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
504
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
505
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
506
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WalletResponse} and HTTP response
507
+ */
508
+ }, {
509
+ key: "getWalletByIdWithHttpInfo",
510
+ value: function getWalletByIdWithHttpInfo(walletId, opts) {
511
+ opts = opts || {};
512
+ var postBody = null;
513
+ // verify the required parameter 'walletId' is set
514
+ if (walletId === undefined || walletId === null) {
515
+ throw new Error("Missing the required parameter 'walletId' when calling getWalletById");
516
+ }
517
+ var pathParams = {
518
+ 'walletId': walletId
519
+ };
520
+ var queryParams = {};
521
+ var headerParams = {
522
+ 'Authorization': opts['authorization'],
523
+ 'cacheduration': opts['cacheduration'],
524
+ 'cachegroup': opts['cachegroup'],
525
+ 'cachekey': opts['cachekey'],
526
+ 'cachescope': opts['cachescope'],
527
+ 'cacheuser': opts['cacheuser'],
528
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
529
+ 'zeusportal-postas': opts['zeusportalPostas'],
530
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
531
+ 'transactionid': opts['transactionid']
532
+ };
533
+ var formParams = {};
534
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
535
+ var contentTypes = [];
536
+ var accepts = ['application/json'];
537
+ var returnType = _WalletResponse["default"];
538
+ return this.apiClient.callApi('/graph/data/payments/wallets/wallet/{walletId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
539
+ }
540
+
541
+ /**
542
+ * Get a wallet by id
543
+ * @param {Number} walletId
544
+ * @param {Object} opts Optional parameters
545
+ * @param {String} opts.authorization The authorization token of the logged in user
546
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
547
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
548
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
549
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
550
+ * @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)
551
+ * @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
552
+ * @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
553
+ * @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
554
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
555
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WalletResponse}
556
+ */
557
+ }, {
558
+ key: "getWalletById",
559
+ value: function getWalletById(walletId, opts) {
560
+ return this.getWalletByIdWithHttpInfo(walletId, opts).then(function (response_and_data) {
561
+ return response_and_data.data;
562
+ });
563
+ }
564
+
565
+ /**
566
+ * Get all wallets
567
+ * @param {Object} opts Optional parameters
568
+ * @param {String} [authorization] The authorization token of the logged in user
569
+ * @param {Number} [cacheduration] The how long the cache entry should persist
570
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
571
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
572
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
573
+ * @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)
574
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
575
+ * @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
576
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
577
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
578
+ * @param {Number} [currencyid]
579
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WalletResponse>} and HTTP response
580
+ */
581
+ }, {
582
+ key: "getWalletsWithHttpInfo",
583
+ value: function getWalletsWithHttpInfo(opts) {
584
+ opts = opts || {};
585
+ var postBody = null;
586
+ var pathParams = {};
587
+ var queryParams = {
588
+ 'currencyid': opts['currencyid']
589
+ };
590
+ var headerParams = {
591
+ 'Authorization': opts['authorization'],
592
+ 'cacheduration': opts['cacheduration'],
593
+ 'cachegroup': opts['cachegroup'],
594
+ 'cachekey': opts['cachekey'],
595
+ 'cachescope': opts['cachescope'],
596
+ 'cacheuser': opts['cacheuser'],
597
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
598
+ 'zeusportal-postas': opts['zeusportalPostas'],
599
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
600
+ 'transactionid': opts['transactionid']
601
+ };
602
+ var formParams = {};
603
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
604
+ var contentTypes = [];
605
+ var accepts = ['application/json'];
606
+ var returnType = [_WalletResponse["default"]];
607
+ return this.apiClient.callApi('/graph/data/payments/wallets/wallet', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
608
+ }
609
+
610
+ /**
611
+ * Get all wallets
612
+ * @param {Object} opts Optional parameters
613
+ * @param {String} opts.authorization The authorization token of the logged in user
614
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
615
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
616
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
617
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
618
+ * @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)
619
+ * @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
620
+ * @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
621
+ * @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
622
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
623
+ * @param {Number} opts.currencyid
624
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WalletResponse>}
625
+ */
626
+ }, {
627
+ key: "getWallets",
628
+ value: function getWallets(opts) {
629
+ return this.getWalletsWithHttpInfo(opts).then(function (response_and_data) {
630
+ return response_and_data.data;
631
+ });
632
+ }
633
+
634
+ /**
635
+ * Grant currency to a user
636
+ * @param {module:model/CurrencyGrantInput} currencyGrantInput
637
+ * @param {Object} opts Optional parameters
638
+ * @param {String} [authorization] The authorization token of the logged in user
639
+ * @param {Number} [cacheduration] The how long the cache entry should persist
640
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
641
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
642
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
643
+ * @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)
644
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
645
+ * @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
646
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
647
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
648
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyGrantResponse} and HTTP response
649
+ */
650
+ }, {
651
+ key: "grantCurrencyWithHttpInfo",
652
+ value: function grantCurrencyWithHttpInfo(currencyGrantInput, opts) {
653
+ opts = opts || {};
654
+ var postBody = currencyGrantInput;
655
+ // verify the required parameter 'currencyGrantInput' is set
656
+ if (currencyGrantInput === undefined || currencyGrantInput === null) {
657
+ throw new Error("Missing the required parameter 'currencyGrantInput' when calling grantCurrency");
658
+ }
659
+ var pathParams = {};
660
+ var queryParams = {};
661
+ var headerParams = {
662
+ 'Authorization': opts['authorization'],
663
+ 'cacheduration': opts['cacheduration'],
664
+ 'cachegroup': opts['cachegroup'],
665
+ 'cachekey': opts['cachekey'],
666
+ 'cachescope': opts['cachescope'],
667
+ 'cacheuser': opts['cacheuser'],
668
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
669
+ 'zeusportal-postas': opts['zeusportalPostas'],
670
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
671
+ 'transactionid': opts['transactionid']
672
+ };
673
+ var formParams = {};
674
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
675
+ var contentTypes = [];
676
+ var accepts = ['application/json'];
677
+ var returnType = _CurrencyGrantResponse["default"];
678
+ return this.apiClient.callApi('/graph/data/payments/wallets/grant', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
679
+ }
680
+
681
+ /**
682
+ * Grant currency to a user
683
+ * @param {module:model/CurrencyGrantInput} currencyGrantInput
684
+ * @param {Object} opts Optional parameters
685
+ * @param {String} opts.authorization The authorization token of the logged in user
686
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
687
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
688
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
689
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
690
+ * @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)
691
+ * @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
692
+ * @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
693
+ * @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
694
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
695
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyGrantResponse}
696
+ */
697
+ }, {
698
+ key: "grantCurrency",
699
+ value: function grantCurrency(currencyGrantInput, opts) {
700
+ return this.grantCurrencyWithHttpInfo(currencyGrantInput, opts).then(function (response_and_data) {
701
+ return response_and_data.data;
702
+ });
703
+ }
704
+
705
+ /**
706
+ * Payout to the wallet to the logged in user's cash balance
707
+ * @param {module:model/WalletPayoutInput} walletPayoutInput
708
+ * @param {Object} opts Optional parameters
709
+ * @param {String} [authorization] The authorization token of the logged in user
710
+ * @param {Number} [cacheduration] The how long the cache entry should persist
711
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
712
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
713
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
714
+ * @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)
715
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
716
+ * @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
717
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
718
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
719
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WalletPayoutResponse} and HTTP response
720
+ */
721
+ }, {
722
+ key: "payoutWalletWithHttpInfo",
723
+ value: function payoutWalletWithHttpInfo(walletPayoutInput, opts) {
724
+ opts = opts || {};
725
+ var postBody = walletPayoutInput;
726
+ // verify the required parameter 'walletPayoutInput' is set
727
+ if (walletPayoutInput === undefined || walletPayoutInput === null) {
728
+ throw new Error("Missing the required parameter 'walletPayoutInput' when calling payoutWallet");
729
+ }
730
+ var pathParams = {};
731
+ var queryParams = {};
732
+ var headerParams = {
733
+ 'Authorization': opts['authorization'],
734
+ 'cacheduration': opts['cacheduration'],
735
+ 'cachegroup': opts['cachegroup'],
736
+ 'cachekey': opts['cachekey'],
737
+ 'cachescope': opts['cachescope'],
738
+ 'cacheuser': opts['cacheuser'],
739
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
740
+ 'zeusportal-postas': opts['zeusportalPostas'],
741
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
742
+ 'transactionid': opts['transactionid']
743
+ };
744
+ var formParams = {};
745
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
746
+ var contentTypes = [];
747
+ var accepts = ['application/json'];
748
+ var returnType = _WalletPayoutResponse["default"];
749
+ return this.apiClient.callApi('/graph/data/payments/wallets/payout', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
750
+ }
751
+
752
+ /**
753
+ * Payout to the wallet to the logged in user's cash balance
754
+ * @param {module:model/WalletPayoutInput} walletPayoutInput
755
+ * @param {Object} opts Optional parameters
756
+ * @param {String} opts.authorization The authorization token of the logged in user
757
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
758
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
759
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
760
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
761
+ * @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)
762
+ * @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
763
+ * @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
764
+ * @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
765
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
766
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WalletPayoutResponse}
767
+ */
768
+ }, {
769
+ key: "payoutWallet",
770
+ value: function payoutWallet(walletPayoutInput, opts) {
771
+ return this.payoutWalletWithHttpInfo(walletPayoutInput, opts).then(function (response_and_data) {
772
+ return response_and_data.data;
773
+ });
774
+ }
775
+
776
+ /**
777
+ * Purchase an item
778
+ * @param {module:model/PurchaseInput} purchaseInput
779
+ * @param {Object} opts Optional parameters
780
+ * @param {String} [authorization] The authorization token of the logged in user
781
+ * @param {Number} [cacheduration] The how long the cache entry should persist
782
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
783
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
784
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
785
+ * @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)
786
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
787
+ * @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
788
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
789
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
790
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PurchaseResponse} and HTTP response
791
+ */
792
+ }, {
793
+ key: "purchaseCurrencyWithHttpInfo",
794
+ value: function purchaseCurrencyWithHttpInfo(purchaseInput, opts) {
795
+ opts = opts || {};
796
+ var postBody = purchaseInput;
797
+ // verify the required parameter 'purchaseInput' is set
798
+ if (purchaseInput === undefined || purchaseInput === null) {
799
+ throw new Error("Missing the required parameter 'purchaseInput' when calling purchaseCurrency");
800
+ }
801
+ var pathParams = {};
802
+ var queryParams = {};
803
+ var headerParams = {
804
+ 'Authorization': opts['authorization'],
805
+ 'cacheduration': opts['cacheduration'],
806
+ 'cachegroup': opts['cachegroup'],
807
+ 'cachekey': opts['cachekey'],
808
+ 'cachescope': opts['cachescope'],
809
+ 'cacheuser': opts['cacheuser'],
810
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
811
+ 'zeusportal-postas': opts['zeusportalPostas'],
812
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
813
+ 'transactionid': opts['transactionid']
814
+ };
815
+ var formParams = {};
816
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
817
+ var contentTypes = [];
818
+ var accepts = ['application/json'];
819
+ var returnType = _PurchaseResponse["default"];
820
+ return this.apiClient.callApi('/graph/data/payments/wallets/purchase', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
821
+ }
822
+
823
+ /**
824
+ * Purchase an item
825
+ * @param {module:model/PurchaseInput} purchaseInput
826
+ * @param {Object} opts Optional parameters
827
+ * @param {String} opts.authorization The authorization token of the logged in user
828
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
829
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
830
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
831
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
832
+ * @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)
833
+ * @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
834
+ * @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
835
+ * @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
836
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
837
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PurchaseResponse}
838
+ */
839
+ }, {
840
+ key: "purchaseCurrency",
841
+ value: function purchaseCurrency(purchaseInput, opts) {
842
+ return this.purchaseCurrencyWithHttpInfo(purchaseInput, opts).then(function (response_and_data) {
843
+ return response_and_data.data;
844
+ });
845
+ }
846
+
847
+ /**
848
+ * Transfer funds between wallets
849
+ * @param {module:model/TransferInput} transferInput
850
+ * @param {Object} opts Optional parameters
851
+ * @param {String} [authorization] The authorization token of the logged in user
852
+ * @param {Number} [cacheduration] The how long the cache entry should persist
853
+ * @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
854
+ * @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
855
+ * @param {module:model/String} [cachescope] The scope of storage of the cache item
856
+ * @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)
857
+ * @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
858
+ * @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
859
+ * @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
860
+ * @param {String} [transactionid] The id of the transaction this operation is being run in
861
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TransferResponse} and HTTP response
862
+ */
863
+ }, {
864
+ key: "walletTransferWithHttpInfo",
865
+ value: function walletTransferWithHttpInfo(transferInput, opts) {
866
+ opts = opts || {};
867
+ var postBody = transferInput;
868
+ // verify the required parameter 'transferInput' is set
869
+ if (transferInput === undefined || transferInput === null) {
870
+ throw new Error("Missing the required parameter 'transferInput' when calling walletTransfer");
871
+ }
872
+ var pathParams = {};
873
+ var queryParams = {};
874
+ var headerParams = {
875
+ 'Authorization': opts['authorization'],
876
+ 'cacheduration': opts['cacheduration'],
877
+ 'cachegroup': opts['cachegroup'],
878
+ 'cachekey': opts['cachekey'],
879
+ 'cachescope': opts['cachescope'],
880
+ 'cacheuser': opts['cacheuser'],
881
+ 'zeusportal-postas-app': opts['zeusportalPostasApp'],
882
+ 'zeusportal-postas': opts['zeusportalPostas'],
883
+ 'zeusportal-postas-site': opts['zeusportalPostasSite'],
884
+ 'transactionid': opts['transactionid']
885
+ };
886
+ var formParams = {};
887
+ var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
888
+ var contentTypes = [];
889
+ var accepts = ['application/json'];
890
+ var returnType = _TransferResponse["default"];
891
+ return this.apiClient.callApi('/graph/data/payments/wallets/transfer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
892
+ }
893
+
894
+ /**
895
+ * Transfer funds between wallets
896
+ * @param {module:model/TransferInput} transferInput
897
+ * @param {Object} opts Optional parameters
898
+ * @param {String} opts.authorization The authorization token of the logged in user
899
+ * @param {Number} opts.cacheduration The how long the cache entry should persist
900
+ * @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
901
+ * @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
902
+ * @param {module:model/String} opts.cachescope The scope of storage of the cache item
903
+ * @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)
904
+ * @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
905
+ * @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
906
+ * @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
907
+ * @param {String} opts.transactionid The id of the transaction this operation is being run in
908
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TransferResponse}
909
+ */
910
+ }, {
911
+ key: "walletTransfer",
912
+ value: function walletTransfer(transferInput, opts) {
913
+ return this.walletTransferWithHttpInfo(transferInput, opts).then(function (response_and_data) {
914
+ return response_and_data.data;
915
+ });
916
+ }
917
+ }]);
918
+ return WalletsApi;
919
+ }();