@gobodo/gobodo-api 0.1.21 → 0.1.23
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 +20 -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 +269 -9
- 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 +84 -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 +2 -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 +2 -2
- 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 +28 -28
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +10 -10
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +17 -17
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- 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 +2 -2
- 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 +22 -22
- package/dist/model/ImageUploadObject.js +22 -22
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +24 -24
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +18 -18
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +2 -2
- 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 +16 -16
- package/dist/model/PageSchema.js +2 -2
- package/dist/model/Pageable.js +16 -16
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +123 -0
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +10 -10
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +123 -0
- 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 +9 -9
- package/dist/model/PrivateMessageConversation.js +15 -15
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- 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 +9 -9
- package/dist/model/SocialGroupType.js +9 -9
- package/dist/model/Sort.js +9 -9
- 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 +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +11 -11
- package/dist/model/TemplateSchema.js +11 -11
- package/dist/model/ThemeMapping.js +10 -10
- package/dist/model/ThemeMappingPayload.js +9 -9
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +148 -0
- package/dist/model/TransferInput.js +173 -0
- package/dist/model/TransferObjectObject.js +139 -0
- package/dist/model/TransferResponse.js +105 -0
- package/dist/model/User.js +2 -2
- package/dist/model/UserDataPayload.js +2 -2
- 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 +2 -2
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +18 -18
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +26 -26
- package/dist/model/VideoUploadObject.js +18 -18
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -8,16 +8,21 @@ 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"));
|
|
14
15
|
var _CustomerResponse = _interopRequireDefault(require("../model/CustomerResponse"));
|
|
15
16
|
var _PaymentIntentInput = _interopRequireDefault(require("../model/PaymentIntentInput"));
|
|
16
17
|
var _PaymentIntentResponse = _interopRequireDefault(require("../model/PaymentIntentResponse"));
|
|
17
|
-
var _PaymentMethod = _interopRequireDefault(require("../model/PaymentMethod"));
|
|
18
18
|
var _PaymentMethodInput = _interopRequireDefault(require("../model/PaymentMethodInput"));
|
|
19
19
|
var _PaymentMethodResponse = _interopRequireDefault(require("../model/PaymentMethodResponse"));
|
|
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"));
|
|
24
|
+
var _TransferInput = _interopRequireDefault(require("../model/TransferInput"));
|
|
25
|
+
var _TransferResponse = _interopRequireDefault(require("../model/TransferResponse"));
|
|
21
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
22
27
|
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); }
|
|
23
28
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -28,7 +33,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
33
|
* gobodo-api
|
|
29
34
|
* REST Interface for Gobodo API
|
|
30
35
|
*
|
|
31
|
-
* The version of the OpenAPI document: 0.1.
|
|
36
|
+
* The version of the OpenAPI document: 0.1.23
|
|
32
37
|
* Contact: info@gobodo.io
|
|
33
38
|
*
|
|
34
39
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,7 +44,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
39
44
|
/**
|
|
40
45
|
* StripeAccounts service.
|
|
41
46
|
* @module api/StripeAccountsApi
|
|
42
|
-
* @version 0.1.
|
|
47
|
+
* @version 0.1.23
|
|
43
48
|
*/
|
|
44
49
|
var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
45
50
|
/**
|
|
@@ -265,6 +270,42 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
265
270
|
return this.apiClient.callApi('/graph/data/payments/stripe/payment', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
266
271
|
}
|
|
267
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Callback function to receive the result of the deleteAccount operation.
|
|
275
|
+
* @callback module:api/StripeAccountsApi~deleteAccountCallback
|
|
276
|
+
* @param {String} error Error message, if any.
|
|
277
|
+
* @param {Object} data The data returned by the service call.
|
|
278
|
+
* @param {String} response The complete HTTP response.
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @param {Object} opts Optional parameters
|
|
283
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
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 {String} [transactionid] The id of the transaction this operation is being run in
|
|
286
|
+
* @param {module:api/StripeAccountsApi~deleteAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
287
|
+
* data is of type: {@link Object}
|
|
288
|
+
*/
|
|
289
|
+
}, {
|
|
290
|
+
key: "deleteAccount",
|
|
291
|
+
value: function deleteAccount(opts, callback) {
|
|
292
|
+
opts = opts || {};
|
|
293
|
+
var postBody = null;
|
|
294
|
+
var pathParams = {};
|
|
295
|
+
var queryParams = {};
|
|
296
|
+
var headerParams = {
|
|
297
|
+
'Authorization': opts['authorization'],
|
|
298
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
299
|
+
'transactionid': opts['transactionid']
|
|
300
|
+
};
|
|
301
|
+
var formParams = {};
|
|
302
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
303
|
+
var contentTypes = [];
|
|
304
|
+
var accepts = ['application/json'];
|
|
305
|
+
var returnType = Object;
|
|
306
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/account', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
307
|
+
}
|
|
308
|
+
|
|
268
309
|
/**
|
|
269
310
|
* Callback function to receive the result of the get operation.
|
|
270
311
|
* @callback module:api/StripeAccountsApi~getCallback
|
|
@@ -475,6 +516,51 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
475
516
|
return this.apiClient.callApi('/graph/data/payments/stripe/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
476
517
|
}
|
|
477
518
|
|
|
519
|
+
/**
|
|
520
|
+
* Callback function to receive the result of the getStripeAccountBalance operation.
|
|
521
|
+
* @callback module:api/StripeAccountsApi~getStripeAccountBalanceCallback
|
|
522
|
+
* @param {String} error Error message, if any.
|
|
523
|
+
* @param {module:model/BalanceResponse} data The data returned by the service call.
|
|
524
|
+
* @param {String} response The complete HTTP response.
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Gets the balance of the logged in user
|
|
529
|
+
* Gets the balance of the logged in user
|
|
530
|
+
* @param {Number} accountID The id of the account we are getting the balance for
|
|
531
|
+
* @param {Object} opts Optional parameters
|
|
532
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
533
|
+
* @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
|
|
534
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
535
|
+
* @param {module:api/StripeAccountsApi~getStripeAccountBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
536
|
+
* data is of type: {@link module:model/BalanceResponse}
|
|
537
|
+
*/
|
|
538
|
+
}, {
|
|
539
|
+
key: "getStripeAccountBalance",
|
|
540
|
+
value: function getStripeAccountBalance(accountID, opts, callback) {
|
|
541
|
+
opts = opts || {};
|
|
542
|
+
var postBody = null;
|
|
543
|
+
// verify the required parameter 'accountID' is set
|
|
544
|
+
if (accountID === undefined || accountID === null) {
|
|
545
|
+
throw new Error("Missing the required parameter 'accountID' when calling getStripeAccountBalance");
|
|
546
|
+
}
|
|
547
|
+
var pathParams = {
|
|
548
|
+
'accountID': accountID
|
|
549
|
+
};
|
|
550
|
+
var queryParams = {};
|
|
551
|
+
var headerParams = {
|
|
552
|
+
'Authorization': opts['authorization'],
|
|
553
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
554
|
+
'transactionid': opts['transactionid']
|
|
555
|
+
};
|
|
556
|
+
var formParams = {};
|
|
557
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
558
|
+
var contentTypes = [];
|
|
559
|
+
var accepts = ['application/json'];
|
|
560
|
+
var returnType = _BalanceResponse["default"];
|
|
561
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/account/{accountID}/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
562
|
+
}
|
|
563
|
+
|
|
478
564
|
/**
|
|
479
565
|
* Callback function to receive the result of the getStripeApiKey operation.
|
|
480
566
|
* @callback module:api/StripeAccountsApi~getStripeApiKeyCallback
|
|
@@ -513,6 +599,44 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
513
599
|
return this.apiClient.callApi('/graph/data/payments/stripe/apikey', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
514
600
|
}
|
|
515
601
|
|
|
602
|
+
/**
|
|
603
|
+
* Callback function to receive the result of the getStripeBalance operation.
|
|
604
|
+
* @callback module:api/StripeAccountsApi~getStripeBalanceCallback
|
|
605
|
+
* @param {String} error Error message, if any.
|
|
606
|
+
* @param {module:model/BalanceResponse} data The data returned by the service call.
|
|
607
|
+
* @param {String} response The complete HTTP response.
|
|
608
|
+
*/
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Gets the balance of the logged in user
|
|
612
|
+
* Gets the balance of the logged in user
|
|
613
|
+
* @param {Object} opts Optional parameters
|
|
614
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
615
|
+
* @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
|
|
616
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
617
|
+
* @param {module:api/StripeAccountsApi~getStripeBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
618
|
+
* data is of type: {@link module:model/BalanceResponse}
|
|
619
|
+
*/
|
|
620
|
+
}, {
|
|
621
|
+
key: "getStripeBalance",
|
|
622
|
+
value: function getStripeBalance(opts, callback) {
|
|
623
|
+
opts = opts || {};
|
|
624
|
+
var postBody = null;
|
|
625
|
+
var pathParams = {};
|
|
626
|
+
var queryParams = {};
|
|
627
|
+
var headerParams = {
|
|
628
|
+
'Authorization': opts['authorization'],
|
|
629
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
630
|
+
'transactionid': opts['transactionid']
|
|
631
|
+
};
|
|
632
|
+
var formParams = {};
|
|
633
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
634
|
+
var contentTypes = [];
|
|
635
|
+
var accepts = ['application/json'];
|
|
636
|
+
var returnType = _BalanceResponse["default"];
|
|
637
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/balance', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
638
|
+
}
|
|
639
|
+
|
|
516
640
|
/**
|
|
517
641
|
* Callback function to receive the result of the getStripeCustomerAccount operation.
|
|
518
642
|
* @callback module:api/StripeAccountsApi~getStripeCustomerAccountCallback
|
|
@@ -555,7 +679,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
555
679
|
* Callback function to receive the result of the getStripeCustomerPaymentMethods operation.
|
|
556
680
|
* @callback module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback
|
|
557
681
|
* @param {String} error Error message, if any.
|
|
558
|
-
* @param {
|
|
682
|
+
* @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
|
|
559
683
|
* @param {String} response The complete HTTP response.
|
|
560
684
|
*/
|
|
561
685
|
|
|
@@ -568,7 +692,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
568
692
|
* @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
|
|
569
693
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
570
694
|
* @param {module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
571
|
-
* data is of type: {@link
|
|
695
|
+
* data is of type: {@link module:model/PaymentMethodsResponse}
|
|
572
696
|
*/
|
|
573
697
|
}, {
|
|
574
698
|
key: "getStripeCustomerPaymentMethods",
|
|
@@ -592,7 +716,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
592
716
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
593
717
|
var contentTypes = [];
|
|
594
718
|
var accepts = ['application/json'];
|
|
595
|
-
var returnType = [
|
|
719
|
+
var returnType = _PaymentMethodsResponse["default"];
|
|
596
720
|
return this.apiClient.callApi('/graph/data/payments/stripe/customer/{customerID}/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
597
721
|
}
|
|
598
722
|
|
|
@@ -600,7 +724,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
600
724
|
* Callback function to receive the result of the getStripePaymentMethods operation.
|
|
601
725
|
* @callback module:api/StripeAccountsApi~getStripePaymentMethodsCallback
|
|
602
726
|
* @param {String} error Error message, if any.
|
|
603
|
-
* @param {
|
|
727
|
+
* @param {module:model/PaymentMethodsResponse} data The data returned by the service call.
|
|
604
728
|
* @param {String} response The complete HTTP response.
|
|
605
729
|
*/
|
|
606
730
|
|
|
@@ -612,7 +736,7 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
612
736
|
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
613
737
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
614
738
|
* @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
615
|
-
* data is of type: {@link
|
|
739
|
+
* data is of type: {@link module:model/PaymentMethodsResponse}
|
|
616
740
|
*/
|
|
617
741
|
}, {
|
|
618
742
|
key: "getStripePaymentMethods",
|
|
@@ -630,10 +754,60 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
630
754
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
631
755
|
var contentTypes = [];
|
|
632
756
|
var accepts = ['application/json'];
|
|
633
|
-
var returnType = [
|
|
757
|
+
var returnType = _PaymentMethodsResponse["default"];
|
|
634
758
|
return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
635
759
|
}
|
|
636
760
|
|
|
761
|
+
/**
|
|
762
|
+
* Callback function to receive the result of the payoutStripeAccount operation.
|
|
763
|
+
* @callback module:api/StripeAccountsApi~payoutStripeAccountCallback
|
|
764
|
+
* @param {String} error Error message, if any.
|
|
765
|
+
* @param {module:model/PayoutResponse} data The data returned by the service call.
|
|
766
|
+
* @param {String} response The complete HTTP response.
|
|
767
|
+
*/
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Pays out the specified account
|
|
771
|
+
* Pays out the specified account
|
|
772
|
+
* @param {Number} accountID The id of the account we are paying out
|
|
773
|
+
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
774
|
+
* @param {Object} opts Optional parameters
|
|
775
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
776
|
+
* @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
|
|
777
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
778
|
+
* @param {module:api/StripeAccountsApi~payoutStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
779
|
+
* data is of type: {@link module:model/PayoutResponse}
|
|
780
|
+
*/
|
|
781
|
+
}, {
|
|
782
|
+
key: "payoutStripeAccount",
|
|
783
|
+
value: function payoutStripeAccount(accountID, payoutInput, opts, callback) {
|
|
784
|
+
opts = opts || {};
|
|
785
|
+
var postBody = payoutInput;
|
|
786
|
+
// verify the required parameter 'accountID' is set
|
|
787
|
+
if (accountID === undefined || accountID === null) {
|
|
788
|
+
throw new Error("Missing the required parameter 'accountID' when calling payoutStripeAccount");
|
|
789
|
+
}
|
|
790
|
+
// verify the required parameter 'payoutInput' is set
|
|
791
|
+
if (payoutInput === undefined || payoutInput === null) {
|
|
792
|
+
throw new Error("Missing the required parameter 'payoutInput' when calling payoutStripeAccount");
|
|
793
|
+
}
|
|
794
|
+
var pathParams = {
|
|
795
|
+
'accountID': accountID
|
|
796
|
+
};
|
|
797
|
+
var queryParams = {};
|
|
798
|
+
var headerParams = {
|
|
799
|
+
'Authorization': opts['authorization'],
|
|
800
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
801
|
+
'transactionid': opts['transactionid']
|
|
802
|
+
};
|
|
803
|
+
var formParams = {};
|
|
804
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
805
|
+
var contentTypes = ['application/json'];
|
|
806
|
+
var accepts = ['application/json'];
|
|
807
|
+
var returnType = _PayoutResponse["default"];
|
|
808
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/account/{accountID}/payout', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
809
|
+
}
|
|
810
|
+
|
|
637
811
|
/**
|
|
638
812
|
* Callback function to receive the result of the setApplicationStripePaymentAccount operation.
|
|
639
813
|
* @callback module:api/StripeAccountsApi~setApplicationStripePaymentAccountCallback
|
|
@@ -829,6 +1003,92 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
829
1003
|
return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/{accountId}/paymentaccount', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
830
1004
|
}
|
|
831
1005
|
|
|
1006
|
+
/**
|
|
1007
|
+
* Callback function to receive the result of the stripePayout operation.
|
|
1008
|
+
* @callback module:api/StripeAccountsApi~stripePayoutCallback
|
|
1009
|
+
* @param {String} error Error message, if any.
|
|
1010
|
+
* @param {module:model/PayoutResponse} data The data returned by the service call.
|
|
1011
|
+
* @param {String} response The complete HTTP response.
|
|
1012
|
+
*/
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Pays out the account of the logged in user
|
|
1016
|
+
* Pays out the account of the logged in user
|
|
1017
|
+
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
1018
|
+
* @param {Object} opts Optional parameters
|
|
1019
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1020
|
+
* @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
|
|
1021
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1022
|
+
* @param {module:api/StripeAccountsApi~stripePayoutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1023
|
+
* data is of type: {@link module:model/PayoutResponse}
|
|
1024
|
+
*/
|
|
1025
|
+
}, {
|
|
1026
|
+
key: "stripePayout",
|
|
1027
|
+
value: function stripePayout(payoutInput, opts, callback) {
|
|
1028
|
+
opts = opts || {};
|
|
1029
|
+
var postBody = payoutInput;
|
|
1030
|
+
// verify the required parameter 'payoutInput' is set
|
|
1031
|
+
if (payoutInput === undefined || payoutInput === null) {
|
|
1032
|
+
throw new Error("Missing the required parameter 'payoutInput' when calling stripePayout");
|
|
1033
|
+
}
|
|
1034
|
+
var pathParams = {};
|
|
1035
|
+
var queryParams = {};
|
|
1036
|
+
var headerParams = {
|
|
1037
|
+
'Authorization': opts['authorization'],
|
|
1038
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1039
|
+
'transactionid': opts['transactionid']
|
|
1040
|
+
};
|
|
1041
|
+
var formParams = {};
|
|
1042
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1043
|
+
var contentTypes = [];
|
|
1044
|
+
var accepts = ['application/json'];
|
|
1045
|
+
var returnType = _PayoutResponse["default"];
|
|
1046
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/payout', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Callback function to receive the result of the stripeTransfer operation.
|
|
1051
|
+
* @callback module:api/StripeAccountsApi~stripeTransferCallback
|
|
1052
|
+
* @param {String} error Error message, if any.
|
|
1053
|
+
* @param {module:model/TransferResponse} data The data returned by the service call.
|
|
1054
|
+
* @param {String} response The complete HTTP response.
|
|
1055
|
+
*/
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
1059
|
+
* Sends a transfer payment from the logged in user to the recipient specified in the TransferInput
|
|
1060
|
+
* @param {module:model/TransferInput} transferInput Contains the info to create the Transfer
|
|
1061
|
+
* @param {Object} opts Optional parameters
|
|
1062
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1063
|
+
* @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
|
|
1064
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1065
|
+
* @param {module:api/StripeAccountsApi~stripeTransferCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1066
|
+
* data is of type: {@link module:model/TransferResponse}
|
|
1067
|
+
*/
|
|
1068
|
+
}, {
|
|
1069
|
+
key: "stripeTransfer",
|
|
1070
|
+
value: function stripeTransfer(transferInput, opts, callback) {
|
|
1071
|
+
opts = opts || {};
|
|
1072
|
+
var postBody = transferInput;
|
|
1073
|
+
// verify the required parameter 'transferInput' is set
|
|
1074
|
+
if (transferInput === undefined || transferInput === null) {
|
|
1075
|
+
throw new Error("Missing the required parameter 'transferInput' when calling stripeTransfer");
|
|
1076
|
+
}
|
|
1077
|
+
var pathParams = {};
|
|
1078
|
+
var queryParams = {};
|
|
1079
|
+
var headerParams = {
|
|
1080
|
+
'Authorization': opts['authorization'],
|
|
1081
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1082
|
+
'transactionid': opts['transactionid']
|
|
1083
|
+
};
|
|
1084
|
+
var formParams = {};
|
|
1085
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1086
|
+
var contentTypes = ['application/json'];
|
|
1087
|
+
var accepts = ['application/json'];
|
|
1088
|
+
var returnType = _TransferResponse["default"];
|
|
1089
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/transfer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
832
1092
|
/**
|
|
833
1093
|
* Callback function to receive the result of the updateAccountLink operation.
|
|
834
1094
|
* @callback module:api/StripeAccountsApi~updateAccountLinkCallback
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
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.23
|
|
38
38
|
*/
|
|
39
39
|
var VideosApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|