@gobodo/gobodo-api 0.1.22 → 0.1.24
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.
- package/README.md +15 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +281 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +49 -0
- package/dist/model/APIClient.js +9 -9
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +2 -2
- package/dist/model/Article.js +26 -26
- package/dist/model/Authorization.js +2 -2
- package/dist/model/Balance.js +198 -0
- package/dist/model/BalanceDetails.js +112 -0
- package/dist/model/BalanceResponse.js +104 -0
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +9 -9
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +11 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +56 -56
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/Document.js +26 -26
- package/dist/model/DocumentPart.js +21 -21
- package/dist/model/DocumentPartType.js +2 -2
- package/dist/model/DocumentType.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +17 -17
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +9 -9
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +14 -14
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelation.js +2 -2
- package/dist/model/GraphRelationObjectObject.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +30 -30
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +14 -14
- package/dist/model/ImageUploadObject.js +14 -14
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +13 -13
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +10 -10
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +9 -9
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +13 -13
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +179 -0
- package/dist/model/PayoutInput.js +213 -0
- package/dist/model/PayoutResponse.js +105 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +15 -15
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +14 -14
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +17 -17
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +102 -0
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +11 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +10 -10
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/User.js +9 -9
- package/dist/model/UserDataPayload.js +9 -9
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +9 -9
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +14 -14
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +14 -14
- package/dist/model/VideoUploadObject.js +14 -14
- package/dist/model/ZeusPortalCategory.js +23 -23
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _AccountSessionInput = _interopRequireDefault(require("../model/AccountSessionInput"));
|
|
9
9
|
var _AccountSessionResponse = _interopRequireDefault(require("../model/AccountSessionResponse"));
|
|
10
10
|
var _ApplicationPaymentAccountResponse = _interopRequireDefault(require("../model/ApplicationPaymentAccountResponse"));
|
|
11
|
+
var _BalanceResponse = _interopRequireDefault(require("../model/BalanceResponse"));
|
|
11
12
|
var _CreateAccountResponse = _interopRequireDefault(require("../model/CreateAccountResponse"));
|
|
12
13
|
var _CreateStripeAccountInput = _interopRequireDefault(require("../model/CreateStripeAccountInput"));
|
|
13
14
|
var _CreateStripeCustomerInput = _interopRequireDefault(require("../model/CreateStripeCustomerInput"));
|
|
@@ -17,6 +18,8 @@ var _PaymentIntentResponse = _interopRequireDefault(require("../model/PaymentInt
|
|
|
17
18
|
var _PaymentMethodInput = _interopRequireDefault(require("../model/PaymentMethodInput"));
|
|
18
19
|
var _PaymentMethodResponse = _interopRequireDefault(require("../model/PaymentMethodResponse"));
|
|
19
20
|
var _PaymentMethodsResponse = _interopRequireDefault(require("../model/PaymentMethodsResponse"));
|
|
21
|
+
var _PayoutInput = _interopRequireDefault(require("../model/PayoutInput"));
|
|
22
|
+
var _PayoutResponse = _interopRequireDefault(require("../model/PayoutResponse"));
|
|
20
23
|
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
21
24
|
var _TransferInput = _interopRequireDefault(require("../model/TransferInput"));
|
|
22
25
|
var _TransferResponse = _interopRequireDefault(require("../model/TransferResponse"));
|
|
@@ -30,7 +33,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
30
33
|
* gobodo-api
|
|
31
34
|
* REST Interface for Gobodo API
|
|
32
35
|
*
|
|
33
|
-
* The version of the OpenAPI document: 0.1.
|
|
36
|
+
* The version of the OpenAPI document: 0.1.24
|
|
34
37
|
* Contact: info@gobodo.io
|
|
35
38
|
*
|
|
36
39
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,7 +44,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
41
44
|
/**
|
|
42
45
|
* StripeAccounts service.
|
|
43
46
|
* @module api/StripeAccountsApi
|
|
44
|
-
* @version 0.1.
|
|
47
|
+
* @version 0.1.24
|
|
45
48
|
*/
|
|
46
49
|
var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
47
50
|
/**
|
|
@@ -224,6 +227,106 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
224
227
|
return this.apiClient.callApi('/graph/data/payments/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
225
228
|
}
|
|
226
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Callback function to receive the result of the createApplicationStripePaymentAccount operation.
|
|
232
|
+
* @callback module:api/StripeAccountsApi~createApplicationStripePaymentAccountCallback
|
|
233
|
+
* @param {String} error Error message, if any.
|
|
234
|
+
* @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
|
|
235
|
+
* @param {String} response The complete HTTP response.
|
|
236
|
+
*/
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
240
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
241
|
+
* @param {Number} applicationid
|
|
242
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
243
|
+
* @param {Object} opts Optional parameters
|
|
244
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
245
|
+
* @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
|
|
246
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
247
|
+
* @param {module:api/StripeAccountsApi~createApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
248
|
+
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
249
|
+
*/
|
|
250
|
+
}, {
|
|
251
|
+
key: "createApplicationStripePaymentAccount",
|
|
252
|
+
value: function createApplicationStripePaymentAccount(applicationid, createStripeAccountInput, opts, callback) {
|
|
253
|
+
opts = opts || {};
|
|
254
|
+
var postBody = createStripeAccountInput;
|
|
255
|
+
// verify the required parameter 'applicationid' is set
|
|
256
|
+
if (applicationid === undefined || applicationid === null) {
|
|
257
|
+
throw new Error("Missing the required parameter 'applicationid' when calling createApplicationStripePaymentAccount");
|
|
258
|
+
}
|
|
259
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
260
|
+
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
261
|
+
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");
|
|
262
|
+
}
|
|
263
|
+
var pathParams = {
|
|
264
|
+
'applicationid': applicationid
|
|
265
|
+
};
|
|
266
|
+
var queryParams = {};
|
|
267
|
+
var headerParams = {
|
|
268
|
+
'Authorization': opts['authorization'],
|
|
269
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
270
|
+
'transactionid': opts['transactionid']
|
|
271
|
+
};
|
|
272
|
+
var formParams = {};
|
|
273
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
274
|
+
var contentTypes = [];
|
|
275
|
+
var accepts = ['application/json'];
|
|
276
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
277
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/site/{applicationid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Callback function to receive the result of the createSiteStripePaymentAccount operation.
|
|
282
|
+
* @callback module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback
|
|
283
|
+
* @param {String} error Error message, if any.
|
|
284
|
+
* @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
|
|
285
|
+
* @param {String} response The complete HTTP response.
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
290
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
291
|
+
* @param {Number} siteid
|
|
292
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
293
|
+
* @param {Object} opts Optional parameters
|
|
294
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
295
|
+
* @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
|
|
296
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
297
|
+
* @param {module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
298
|
+
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
299
|
+
*/
|
|
300
|
+
}, {
|
|
301
|
+
key: "createSiteStripePaymentAccount",
|
|
302
|
+
value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts, callback) {
|
|
303
|
+
opts = opts || {};
|
|
304
|
+
var postBody = createStripeAccountInput;
|
|
305
|
+
// verify the required parameter 'siteid' is set
|
|
306
|
+
if (siteid === undefined || siteid === null) {
|
|
307
|
+
throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
|
|
308
|
+
}
|
|
309
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
310
|
+
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
311
|
+
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
|
|
312
|
+
}
|
|
313
|
+
var pathParams = {
|
|
314
|
+
'siteid': siteid
|
|
315
|
+
};
|
|
316
|
+
var queryParams = {};
|
|
317
|
+
var headerParams = {
|
|
318
|
+
'Authorization': opts['authorization'],
|
|
319
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
320
|
+
'transactionid': opts['transactionid']
|
|
321
|
+
};
|
|
322
|
+
var formParams = {};
|
|
323
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
324
|
+
var contentTypes = [];
|
|
325
|
+
var accepts = ['application/json'];
|
|
326
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
327
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
328
|
+
}
|
|
329
|
+
|
|
227
330
|
/**
|
|
228
331
|
* Callback function to receive the result of the createStripePaymentIntent operation.
|
|
229
332
|
* @callback module:api/StripeAccountsApi~createStripePaymentIntentCallback
|
|
@@ -513,6 +616,51 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
513
616
|
return this.apiClient.callApi('/graph/data/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
514
617
|
}
|
|
515
618
|
|
|
619
|
+
/**
|
|
620
|
+
* Callback function to receive the result of the getStripeAccountBalance operation.
|
|
621
|
+
* @callback module:api/StripeAccountsApi~getStripeAccountBalanceCallback
|
|
622
|
+
* @param {String} error Error message, if any.
|
|
623
|
+
* @param {module:model/BalanceResponse} data The data returned by the service call.
|
|
624
|
+
* @param {String} response The complete HTTP response.
|
|
625
|
+
*/
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Gets the balance of the logged in user
|
|
629
|
+
* Gets the balance of the logged in user
|
|
630
|
+
* @param {Number} accountID The id of the account we are getting the balance for
|
|
631
|
+
* @param {Object} opts Optional parameters
|
|
632
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
633
|
+
* @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
|
|
634
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
635
|
+
* @param {module:api/StripeAccountsApi~getStripeAccountBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
636
|
+
* data is of type: {@link module:model/BalanceResponse}
|
|
637
|
+
*/
|
|
638
|
+
}, {
|
|
639
|
+
key: "getStripeAccountBalance",
|
|
640
|
+
value: function getStripeAccountBalance(accountID, opts, callback) {
|
|
641
|
+
opts = opts || {};
|
|
642
|
+
var postBody = null;
|
|
643
|
+
// verify the required parameter 'accountID' is set
|
|
644
|
+
if (accountID === undefined || accountID === null) {
|
|
645
|
+
throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
|
|
646
|
+
}
|
|
647
|
+
var pathParams = {
|
|
648
|
+
'accountID': accountID
|
|
649
|
+
};
|
|
650
|
+
var queryParams = {};
|
|
651
|
+
var headerParams = {
|
|
652
|
+
'Authorization': opts['authorization'],
|
|
653
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
654
|
+
'transactionid': opts['transactionid']
|
|
655
|
+
};
|
|
656
|
+
var formParams = {};
|
|
657
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
658
|
+
var contentTypes = [];
|
|
659
|
+
var accepts = ['application/json'];
|
|
660
|
+
var returnType = _BalanceResponse["default"];
|
|
661
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
662
|
+
}
|
|
663
|
+
|
|
516
664
|
/**
|
|
517
665
|
* Callback function to receive the result of the getStripeApiKey operation.
|
|
518
666
|
* @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
|
|
@@ -551,6 +699,44 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
551
699
|
return this.apiClient.callApi('/graph/data/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
552
700
|
}
|
|
553
701
|
|
|
702
|
+
/**
|
|
703
|
+
* Callback function to receive the result of the getStripeBalance operation.
|
|
704
|
+
* @callback module:api/StripeAccountsApi~getStripeBalanceCallback
|
|
705
|
+
* @param {String} error Error message, if any.
|
|
706
|
+
* @param {module:model/BalanceResponse} data The data returned by the service call.
|
|
707
|
+
* @param {String} response The complete HTTP response.
|
|
708
|
+
*/
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Gets the balance of the logged in user
|
|
712
|
+
* Gets the balance of the logged in user
|
|
713
|
+
* @param {Object} opts Optional parameters
|
|
714
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
715
|
+
* @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
|
|
716
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
717
|
+
* @param {module:api/StripeAccountsApi~getStripeBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
718
|
+
* data is of type: {@link module:model/BalanceResponse}
|
|
719
|
+
*/
|
|
720
|
+
}, {
|
|
721
|
+
key: "getStripeBalance",
|
|
722
|
+
value: function getStripeBalance(opts, callback) {
|
|
723
|
+
opts = opts || {};
|
|
724
|
+
var postBody = null;
|
|
725
|
+
var pathParams = {};
|
|
726
|
+
var queryParams = {};
|
|
727
|
+
var headerParams = {
|
|
728
|
+
'Authorization': opts['authorization'],
|
|
729
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
730
|
+
'transactionid': opts['transactionid']
|
|
731
|
+
};
|
|
732
|
+
var formParams = {};
|
|
733
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
734
|
+
var contentTypes = [];
|
|
735
|
+
var accepts = ['application/json'];
|
|
736
|
+
var returnType = _BalanceResponse["default"];
|
|
737
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
738
|
+
}
|
|
739
|
+
|
|
554
740
|
/**
|
|
555
741
|
* Callback function to receive the result of the getStripeCustomerAccount operation.
|
|
556
742
|
* @callback module:api/StripeAccountsApi~getStripeCustomerAccountCallback
|
|
@@ -672,6 +858,56 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
672
858
|
return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
673
859
|
}
|
|
674
860
|
|
|
861
|
+
/**
|
|
862
|
+
* Callback function to receive the result of the payoutStripeAccount operation.
|
|
863
|
+
* @callback module:api/StripeAccountsApi~payoutStripeAccountCallback
|
|
864
|
+
* @param {String} error Error message, if any.
|
|
865
|
+
* @param {module:model/PayoutResponse} data The data returned by the service call.
|
|
866
|
+
* @param {String} response The complete HTTP response.
|
|
867
|
+
*/
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* Pays out the specified account
|
|
871
|
+
* Pays out the specified account
|
|
872
|
+
* @param {Number} accountID The id of the account we are paying out
|
|
873
|
+
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
874
|
+
* @param {Object} opts Optional parameters
|
|
875
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
876
|
+
* @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
|
|
877
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
878
|
+
* @param {module:api/StripeAccountsApi~payoutStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
879
|
+
* data is of type: {@link module:model/PayoutResponse}
|
|
880
|
+
*/
|
|
881
|
+
}, {
|
|
882
|
+
key: "payoutStripeAccount",
|
|
883
|
+
value: function payoutStripeAccount(accountID, payoutInput, opts, callback) {
|
|
884
|
+
opts = opts || {};
|
|
885
|
+
var postBody = payoutInput;
|
|
886
|
+
// verify the required parameter 'accountID' is set
|
|
887
|
+
if (accountID === undefined || accountID === null) {
|
|
888
|
+
throw new Error("Missing the required parameter 'accountID' when calling payoutStripeAccount");
|
|
889
|
+
}
|
|
890
|
+
// verify the required parameter 'payoutInput' is set
|
|
891
|
+
if (payoutInput === undefined || payoutInput === null) {
|
|
892
|
+
throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");
|
|
893
|
+
}
|
|
894
|
+
var pathParams = {
|
|
895
|
+
'accountID': accountID
|
|
896
|
+
};
|
|
897
|
+
var queryParams = {};
|
|
898
|
+
var headerParams = {
|
|
899
|
+
'Authorization': opts['authorization'],
|
|
900
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
901
|
+
'transactionid': opts['transactionid']
|
|
902
|
+
};
|
|
903
|
+
var formParams = {};
|
|
904
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
905
|
+
var contentTypes = ['application/json'];
|
|
906
|
+
var accepts = ['application/json'];
|
|
907
|
+
var returnType = _PayoutResponse["default"];
|
|
908
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/account/{accountID}/payout', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
909
|
+
}
|
|
910
|
+
|
|
675
911
|
/**
|
|
676
912
|
* Callback function to receive the result of the setApplicationStripePaymentAccount operation.
|
|
677
913
|
* @callback module:api/StripeAccountsApi~setApplicationStripePaymentAccountCallback
|
|
@@ -867,6 +1103,49 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
867
1103
|
return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
868
1104
|
}
|
|
869
1105
|
|
|
1106
|
+
/**
|
|
1107
|
+
* Callback function to receive the result of the stripePayout operation.
|
|
1108
|
+
* @callback module:api/StripeAccountsApi~stripePayoutCallback
|
|
1109
|
+
* @param {String} error Error message, if any.
|
|
1110
|
+
* @param {module:model/PayoutResponse} data The data returned by the service call.
|
|
1111
|
+
* @param {String} response The complete HTTP response.
|
|
1112
|
+
*/
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Pays out the account of the logged in user
|
|
1116
|
+
* Pays out the account of the logged in user
|
|
1117
|
+
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
1118
|
+
* @param {Object} opts Optional parameters
|
|
1119
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1120
|
+
* @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
|
|
1121
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1122
|
+
* @param {module:api/StripeAccountsApi~stripePayoutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1123
|
+
* data is of type: {@link module:model/PayoutResponse}
|
|
1124
|
+
*/
|
|
1125
|
+
}, {
|
|
1126
|
+
key: "stripePayout",
|
|
1127
|
+
value: function stripePayout(payoutInput, opts, callback) {
|
|
1128
|
+
opts = opts || {};
|
|
1129
|
+
var postBody = payoutInput;
|
|
1130
|
+
// verify the required parameter 'payoutInput' is set
|
|
1131
|
+
if (payoutInput === undefined || payoutInput === null) {
|
|
1132
|
+
throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");
|
|
1133
|
+
}
|
|
1134
|
+
var pathParams = {};
|
|
1135
|
+
var queryParams = {};
|
|
1136
|
+
var headerParams = {
|
|
1137
|
+
'Authorization': opts['authorization'],
|
|
1138
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1139
|
+
'transactionid': opts['transactionid']
|
|
1140
|
+
};
|
|
1141
|
+
var formParams = {};
|
|
1142
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1143
|
+
var contentTypes = [];
|
|
1144
|
+
var accepts = ['application/json'];
|
|
1145
|
+
var returnType = _PayoutResponse["default"];
|
|
1146
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/payout', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
870
1149
|
/**
|
|
871
1150
|
* Callback function to receive the result of the stripeTransfer operation.
|
|
872
1151
|
* @callback module:api/StripeAccountsApi~stripeTransferCallback
|
package/dist/api/TagsApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Tags service.
|
|
29
29
|
* @module api/TagsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.24
|
|
31
31
|
*/
|
|
32
32
|
var TagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/TemplatesApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Templates service.
|
|
29
29
|
* @module api/TemplatesApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.24
|
|
31
31
|
*/
|
|
32
32
|
var TemplatesApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* ThemeMappings service.
|
|
30
30
|
* @module api/ThemeMappingsApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.24
|
|
32
32
|
*/
|
|
33
33
|
var ThemeMappingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Transactions service.
|
|
29
29
|
* @module api/TransactionsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.24
|
|
31
31
|
*/
|
|
32
32
|
var TransactionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/TwitterApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Twitter service.
|
|
29
29
|
* @module api/TwitterApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.24
|
|
31
31
|
*/
|
|
32
32
|
var TwitterApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/UserTagsApi.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
* gobodo-api
|
|
19
19
|
* REST Interface for Gobodo API
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 0.1.
|
|
21
|
+
* The version of the OpenAPI document: 0.1.24
|
|
22
22
|
* Contact: info@gobodo.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
29
29
|
/**
|
|
30
30
|
* UserTags service.
|
|
31
31
|
* @module api/UserTagsApi
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.24
|
|
33
33
|
*/
|
|
34
34
|
var UserTagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/UsersApi.js
CHANGED
|
@@ -21,7 +21,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
21
21
|
* gobodo-api
|
|
22
22
|
* REST Interface for Gobodo API
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.24
|
|
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(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
32
32
|
/**
|
|
33
33
|
* Users service.
|
|
34
34
|
* @module api/UsersApi
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.24
|
|
36
36
|
*/
|
|
37
37
|
var UsersApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/UtilsApi.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
* gobodo-api
|
|
16
16
|
* REST Interface for Gobodo API
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 0.1.
|
|
18
|
+
* The version of the OpenAPI document: 0.1.24
|
|
19
19
|
* Contact: info@gobodo.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
26
26
|
/**
|
|
27
27
|
* Utils service.
|
|
28
28
|
* @module api/UtilsApi
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.24
|
|
30
30
|
*/
|
|
31
31
|
var UtilsApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/api/VideosApi.js
CHANGED
|
@@ -23,7 +23,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
23
23
|
* gobodo-api
|
|
24
24
|
* REST Interface for Gobodo API
|
|
25
25
|
*
|
|
26
|
-
* The version of the OpenAPI document: 0.1.
|
|
26
|
+
* The version of the OpenAPI document: 0.1.24
|
|
27
27
|
* Contact: info@gobodo.io
|
|
28
28
|
*
|
|
29
29
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
34
34
|
/**
|
|
35
35
|
* Videos service.
|
|
36
36
|
* @module api/VideosApi
|
|
37
|
-
* @version 0.1.
|
|
37
|
+
* @version 0.1.24
|
|
38
38
|
*/
|
|
39
39
|
var VideosApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|