@gobodo/gobodo-api 0.1.23 → 0.1.25
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 +13 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +6 -2
- package/dist/api/AdCampaignsApi.js +34 -2
- package/dist/api/AdManagementApi.js +50 -2
- package/dist/api/AdminDataManagementApi.js +6 -2
- package/dist/api/AdsApi.js +26 -2
- package/dist/api/AttachmentsApi.js +30 -2
- package/dist/api/AuthenticationApi.js +74 -2
- package/dist/api/CategoriesApi.js +30 -2
- package/dist/api/CommentsApi.js +34 -2
- package/dist/api/ContentManagementApi.js +98 -2
- package/dist/api/ConversationsApi.js +38 -2
- package/dist/api/DataSheetImportsApi.js +62 -2
- package/dist/api/DefaultApi.js +46 -2
- package/dist/api/DocumentsApi.js +54 -2
- package/dist/api/EntryPartsApi.js +54 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +14 -2
- package/dist/api/FilesApi.js +6 -2
- package/dist/api/FormsApi.js +74 -2
- package/dist/api/FunctionsApi.js +6 -2
- package/dist/api/GeocodeApi.js +22 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +42 -2
- package/dist/api/GraphObjectTypesApi.js +38 -2
- package/dist/api/GraphObjectsApi.js +258 -2
- package/dist/api/GraphRelationshipTypesApi.js +70 -2
- package/dist/api/GraphRelationshipsApi.js +126 -2
- package/dist/api/GraphSchemasApi.js +30 -2
- package/dist/api/GraphTraversalApi.js +22 -2
- package/dist/api/GraphsApi.js +46 -2
- package/dist/api/GroupsApi.js +46 -2
- package/dist/api/IAMApi.js +18 -2
- package/dist/api/ImagesApi.js +34 -2
- package/dist/api/InvitesApi.js +22 -2
- package/dist/api/LikesApi.js +50 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +10 -2
- package/dist/api/MeetingEventsApi.js +22 -2
- package/dist/api/PagesApi.js +38 -2
- package/dist/api/PostsApi.js +22 -2
- package/dist/api/PrivateMessagesApi.js +66 -2
- package/dist/api/PublicationsApi.js +6 -2
- package/dist/api/ScreensApi.js +14 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +414 -2
- package/dist/api/TagsApi.js +6 -2
- package/dist/api/TemplatesApi.js +14 -2
- package/dist/api/ThemeMappingsApi.js +14 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +38 -2
- package/dist/api/UsersApi.js +38 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +46 -2
- package/dist/index.js +7 -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 +2 -2
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +10 -10
- 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 +10 -10
- 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 +10 -10
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +10 -10
- 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 +10 -10
- 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 +11 -11
- 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 +16 -16
- package/dist/model/ImageUploadObject.js +16 -16
- 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 +2 -2
- 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 +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 +11 -11
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- 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 +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +9 -9
- 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 +10 -10
- package/dist/model/SocialGroup.js +9 -9
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/Sort.js +9 -9
- package/dist/model/SourceTypes.js +2 -2
- 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 +22 -22
- package/dist/model/TemplateSchema.js +22 -22
- 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 +21 -11
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +16 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +158 -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 +26 -26
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +34 -34
- package/dist/model/VideoUploadObject.js +26 -26
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
33
33
|
* gobodo-api
|
|
34
34
|
* REST Interface for Gobodo API
|
|
35
35
|
*
|
|
36
|
-
* The version of the OpenAPI document: 0.1.
|
|
36
|
+
* The version of the OpenAPI document: 0.1.25
|
|
37
37
|
* Contact: info@gobodo.io
|
|
38
38
|
*
|
|
39
39
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,7 +44,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
44
44
|
/**
|
|
45
45
|
* StripeAccounts service.
|
|
46
46
|
* @module api/StripeAccountsApi
|
|
47
|
-
* @version 0.1.
|
|
47
|
+
* @version 0.1.25
|
|
48
48
|
*/
|
|
49
49
|
var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
50
50
|
/**
|
|
@@ -72,7 +72,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
72
72
|
* Retrieves the payment methods for the customer stored in stripe
|
|
73
73
|
* @param {Object} opts Optional parameters
|
|
74
74
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
75
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
75
76
|
* @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
|
|
77
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
76
78
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
77
79
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput]
|
|
78
80
|
* @param {module:api/StripeAccountsApi~addStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
|
|
@@ -87,7 +89,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
89
|
var queryParams = {};
|
|
88
90
|
var headerParams = {
|
|
89
91
|
'Authorization': opts['authorization'],
|
|
92
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
90
93
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
94
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
91
95
|
'transactionid': opts['transactionid']
|
|
92
96
|
};
|
|
93
97
|
var formParams = {};
|
|
@@ -112,7 +116,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
112
116
|
* @param {module:model/AccountSessionInput} accountSessionInput Contains the info to create the Account Session
|
|
113
117
|
* @param {Object} opts Optional parameters
|
|
114
118
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
119
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
115
120
|
* @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
|
|
121
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
116
122
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
117
123
|
* @param {module:api/StripeAccountsApi~createAccountSessionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
118
124
|
* data is of type: {@link module:model/AccountSessionResponse}
|
|
@@ -130,7 +136,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
130
136
|
var queryParams = {};
|
|
131
137
|
var headerParams = {
|
|
132
138
|
'Authorization': opts['authorization'],
|
|
139
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
133
140
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
141
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
134
142
|
'transactionid': opts['transactionid']
|
|
135
143
|
};
|
|
136
144
|
var formParams = {};
|
|
@@ -155,7 +163,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
155
163
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
156
164
|
* @param {Object} opts Optional parameters
|
|
157
165
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
166
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
158
167
|
* @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
|
|
168
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
159
169
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
160
170
|
* @param {module:api/StripeAccountsApi~createAndLinkStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
161
171
|
* data is of type: {@link module:model/CreateAccountResponse}
|
|
@@ -173,7 +183,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
173
183
|
var queryParams = {};
|
|
174
184
|
var headerParams = {
|
|
175
185
|
'Authorization': opts['authorization'],
|
|
186
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
176
187
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
188
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
177
189
|
'transactionid': opts['transactionid']
|
|
178
190
|
};
|
|
179
191
|
var formParams = {};
|
|
@@ -198,7 +210,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
198
210
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to create the Stripe Account
|
|
199
211
|
* @param {Object} opts Optional parameters
|
|
200
212
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
213
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
201
214
|
* @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
|
|
215
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
202
216
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
203
217
|
* @param {module:api/StripeAccountsApi~createAndLinkStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
204
218
|
* data is of type: {@link module:model/CustomerResponse}
|
|
@@ -216,7 +230,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
216
230
|
var queryParams = {};
|
|
217
231
|
var headerParams = {
|
|
218
232
|
'Authorization': opts['authorization'],
|
|
233
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
219
234
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
235
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
220
236
|
'transactionid': opts['transactionid']
|
|
221
237
|
};
|
|
222
238
|
var formParams = {};
|
|
@@ -227,6 +243,114 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
227
243
|
return this.apiClient.callApi('/graph/data/payments/stripe/customer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
228
244
|
}
|
|
229
245
|
|
|
246
|
+
/**
|
|
247
|
+
* Callback function to receive the result of the createApplicationStripePaymentAccount operation.
|
|
248
|
+
* @callback module:api/StripeAccountsApi~createApplicationStripePaymentAccountCallback
|
|
249
|
+
* @param {String} error Error message, if any.
|
|
250
|
+
* @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
|
|
251
|
+
* @param {String} response The complete HTTP response.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
256
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
257
|
+
* @param {Number} applicationid
|
|
258
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
259
|
+
* @param {Object} opts Optional parameters
|
|
260
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
261
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
262
|
+
* @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
|
|
263
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
264
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
265
|
+
* @param {module:api/StripeAccountsApi~createApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
266
|
+
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
267
|
+
*/
|
|
268
|
+
}, {
|
|
269
|
+
key: "createApplicationStripePaymentAccount",
|
|
270
|
+
value: function createApplicationStripePaymentAccount(applicationid, createStripeAccountInput, opts, callback) {
|
|
271
|
+
opts = opts || {};
|
|
272
|
+
var postBody = createStripeAccountInput;
|
|
273
|
+
// verify the required parameter 'applicationid' is set
|
|
274
|
+
if (applicationid === undefined || applicationid === null) {
|
|
275
|
+
throw new Error("Missing the required parameter 'applicationid' when calling createApplicationStripePaymentAccount");
|
|
276
|
+
}
|
|
277
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
278
|
+
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
279
|
+
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createApplicationStripePaymentAccount");
|
|
280
|
+
}
|
|
281
|
+
var pathParams = {
|
|
282
|
+
'applicationid': applicationid
|
|
283
|
+
};
|
|
284
|
+
var queryParams = {};
|
|
285
|
+
var headerParams = {
|
|
286
|
+
'Authorization': opts['authorization'],
|
|
287
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
288
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
289
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
290
|
+
'transactionid': opts['transactionid']
|
|
291
|
+
};
|
|
292
|
+
var formParams = {};
|
|
293
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
294
|
+
var contentTypes = [];
|
|
295
|
+
var accepts = ['application/json'];
|
|
296
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
297
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/site/{applicationid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Callback function to receive the result of the createSiteStripePaymentAccount operation.
|
|
302
|
+
* @callback module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback
|
|
303
|
+
* @param {String} error Error message, if any.
|
|
304
|
+
* @param {module:model/ApplicationPaymentAccountResponse} data The data returned by the service call.
|
|
305
|
+
* @param {String} response The complete HTTP response.
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Creates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
310
|
+
* Updates the Stripe account that is used to pay for the app/site instance and for recieving payments from end users
|
|
311
|
+
* @param {Number} siteid
|
|
312
|
+
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
313
|
+
* @param {Object} opts Optional parameters
|
|
314
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
315
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
316
|
+
* @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
|
|
317
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
318
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
319
|
+
* @param {module:api/StripeAccountsApi~createSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
320
|
+
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
321
|
+
*/
|
|
322
|
+
}, {
|
|
323
|
+
key: "createSiteStripePaymentAccount",
|
|
324
|
+
value: function createSiteStripePaymentAccount(siteid, createStripeAccountInput, opts, callback) {
|
|
325
|
+
opts = opts || {};
|
|
326
|
+
var postBody = createStripeAccountInput;
|
|
327
|
+
// verify the required parameter 'siteid' is set
|
|
328
|
+
if (siteid === undefined || siteid === null) {
|
|
329
|
+
throw new Error("Missing the required parameter 'siteid' when calling createSiteStripePaymentAccount");
|
|
330
|
+
}
|
|
331
|
+
// verify the required parameter 'createStripeAccountInput' is set
|
|
332
|
+
if (createStripeAccountInput === undefined || createStripeAccountInput === null) {
|
|
333
|
+
throw new Error("Missing the required parameter 'createStripeAccountInput' when calling createSiteStripePaymentAccount");
|
|
334
|
+
}
|
|
335
|
+
var pathParams = {
|
|
336
|
+
'siteid': siteid
|
|
337
|
+
};
|
|
338
|
+
var queryParams = {};
|
|
339
|
+
var headerParams = {
|
|
340
|
+
'Authorization': opts['authorization'],
|
|
341
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
342
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
343
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
344
|
+
'transactionid': opts['transactionid']
|
|
345
|
+
};
|
|
346
|
+
var formParams = {};
|
|
347
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
348
|
+
var contentTypes = [];
|
|
349
|
+
var accepts = ['application/json'];
|
|
350
|
+
var returnType = _ApplicationPaymentAccountResponse["default"];
|
|
351
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/site/{siteid}/paymentaccount', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
352
|
+
}
|
|
353
|
+
|
|
230
354
|
/**
|
|
231
355
|
* Callback function to receive the result of the createStripePaymentIntent operation.
|
|
232
356
|
* @callback module:api/StripeAccountsApi~createStripePaymentIntentCallback
|
|
@@ -241,7 +365,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
241
365
|
* @param {module:model/PaymentIntentInput} paymentIntentInput Contains the info to create the Stripe Payment Intent
|
|
242
366
|
* @param {Object} opts Optional parameters
|
|
243
367
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
368
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
244
369
|
* @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
|
|
370
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
245
371
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
246
372
|
* @param {module:api/StripeAccountsApi~createStripePaymentIntentCallback} callback The callback function, accepting three arguments: error, data, response
|
|
247
373
|
* data is of type: {@link module:model/PaymentIntentResponse}
|
|
@@ -259,7 +385,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
259
385
|
var queryParams = {};
|
|
260
386
|
var headerParams = {
|
|
261
387
|
'Authorization': opts['authorization'],
|
|
388
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
262
389
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
390
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
263
391
|
'transactionid': opts['transactionid']
|
|
264
392
|
};
|
|
265
393
|
var formParams = {};
|
|
@@ -281,7 +409,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
281
409
|
/**
|
|
282
410
|
* @param {Object} opts Optional parameters
|
|
283
411
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
412
|
+
* @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
413
|
* @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
|
|
414
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
285
415
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
286
416
|
* @param {module:api/StripeAccountsApi~deleteAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
287
417
|
* data is of type: {@link Object}
|
|
@@ -295,7 +425,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
295
425
|
var queryParams = {};
|
|
296
426
|
var headerParams = {
|
|
297
427
|
'Authorization': opts['authorization'],
|
|
428
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
298
429
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
430
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
299
431
|
'transactionid': opts['transactionid']
|
|
300
432
|
};
|
|
301
433
|
var formParams = {};
|
|
@@ -318,7 +450,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
318
450
|
* Root for the API
|
|
319
451
|
* @param {Object} opts Optional parameters
|
|
320
452
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
453
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
321
454
|
* @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
|
|
455
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
322
456
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
323
457
|
* @param {module:api/StripeAccountsApi~getCallback} callback The callback function, accepting three arguments: error, data, response
|
|
324
458
|
*/
|
|
@@ -331,7 +465,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
331
465
|
var queryParams = {};
|
|
332
466
|
var headerParams = {
|
|
333
467
|
'Authorization': opts['authorization'],
|
|
468
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
334
469
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
470
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
335
471
|
'transactionid': opts['transactionid']
|
|
336
472
|
};
|
|
337
473
|
var formParams = {};
|
|
@@ -355,7 +491,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
355
491
|
* @param {Number} id
|
|
356
492
|
* @param {Object} opts Optional parameters
|
|
357
493
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
494
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
358
495
|
* @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
|
|
496
|
+
* @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
497
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
360
498
|
* @param {module:api/StripeAccountsApi~get1Callback} callback The callback function, accepting three arguments: error, data, response
|
|
361
499
|
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
@@ -375,7 +513,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
375
513
|
var queryParams = {};
|
|
376
514
|
var headerParams = {
|
|
377
515
|
'Authorization': opts['authorization'],
|
|
516
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
378
517
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
518
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
379
519
|
'transactionid': opts['transactionid']
|
|
380
520
|
};
|
|
381
521
|
var formParams = {};
|
|
@@ -402,7 +542,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
402
542
|
* @param {Number} applicationid
|
|
403
543
|
* @param {Object} opts Optional parameters
|
|
404
544
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
545
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
405
546
|
* @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
|
|
547
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
406
548
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
407
549
|
* @param {module:api/StripeAccountsApi~getApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
408
550
|
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
@@ -422,7 +564,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
422
564
|
var queryParams = {};
|
|
423
565
|
var headerParams = {
|
|
424
566
|
'Authorization': opts['authorization'],
|
|
567
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
425
568
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
569
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
426
570
|
'transactionid': opts['transactionid']
|
|
427
571
|
};
|
|
428
572
|
var formParams = {};
|
|
@@ -447,7 +591,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
447
591
|
* @param {Number} siteid
|
|
448
592
|
* @param {Object} opts Optional parameters
|
|
449
593
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
594
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
450
595
|
* @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
|
|
596
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
451
597
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
452
598
|
* @param {module:api/StripeAccountsApi~getSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
453
599
|
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
@@ -467,7 +613,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
467
613
|
var queryParams = {};
|
|
468
614
|
var headerParams = {
|
|
469
615
|
'Authorization': opts['authorization'],
|
|
616
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
470
617
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
618
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
471
619
|
'transactionid': opts['transactionid']
|
|
472
620
|
};
|
|
473
621
|
var formParams = {};
|
|
@@ -491,7 +639,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
491
639
|
* Retrieves the Stripe Customer Account
|
|
492
640
|
* @param {Object} opts Optional parameters
|
|
493
641
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
642
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
494
643
|
* @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
|
|
644
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
495
645
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
496
646
|
* @param {module:api/StripeAccountsApi~getStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
497
647
|
* data is of type: {@link module:model/CreateAccountResponse}
|
|
@@ -505,7 +655,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
505
655
|
var queryParams = {};
|
|
506
656
|
var headerParams = {
|
|
507
657
|
'Authorization': opts['authorization'],
|
|
658
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
508
659
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
660
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
509
661
|
'transactionid': opts['transactionid']
|
|
510
662
|
};
|
|
511
663
|
var formParams = {};
|
|
@@ -530,7 +682,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
530
682
|
* @param {Number} accountID The id of the account we are getting the balance for
|
|
531
683
|
* @param {Object} opts Optional parameters
|
|
532
684
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
685
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
533
686
|
* @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
|
|
687
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
534
688
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
535
689
|
* @param {module:api/StripeAccountsApi~getStripeAccountBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
536
690
|
* data is of type: {@link module:model/BalanceResponse}
|
|
@@ -550,7 +704,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
550
704
|
var queryParams = {};
|
|
551
705
|
var headerParams = {
|
|
552
706
|
'Authorization': opts['authorization'],
|
|
707
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
553
708
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
709
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
554
710
|
'transactionid': opts['transactionid']
|
|
555
711
|
};
|
|
556
712
|
var formParams = {};
|
|
@@ -574,7 +730,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
574
730
|
* Returns the publishable API key for Stripe
|
|
575
731
|
* @param {Object} opts Optional parameters
|
|
576
732
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
733
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
577
734
|
* @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
|
|
735
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
578
736
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
579
737
|
* @param {module:api/StripeAccountsApi~getStripeApiKeyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
580
738
|
* data is of type: {@link String}
|
|
@@ -588,7 +746,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
588
746
|
var queryParams = {};
|
|
589
747
|
var headerParams = {
|
|
590
748
|
'Authorization': opts['authorization'],
|
|
749
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
591
750
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
751
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
592
752
|
'transactionid': opts['transactionid']
|
|
593
753
|
};
|
|
594
754
|
var formParams = {};
|
|
@@ -612,7 +772,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
612
772
|
* Gets the balance of the logged in user
|
|
613
773
|
* @param {Object} opts Optional parameters
|
|
614
774
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
775
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
615
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 {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
616
778
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
617
779
|
* @param {module:api/StripeAccountsApi~getStripeBalanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
618
780
|
* data is of type: {@link module:model/BalanceResponse}
|
|
@@ -626,7 +788,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
626
788
|
var queryParams = {};
|
|
627
789
|
var headerParams = {
|
|
628
790
|
'Authorization': opts['authorization'],
|
|
791
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
629
792
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
793
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
630
794
|
'transactionid': opts['transactionid']
|
|
631
795
|
};
|
|
632
796
|
var formParams = {};
|
|
@@ -650,7 +814,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
650
814
|
* Retrieves the Stripe Customer Account
|
|
651
815
|
* @param {Object} opts Optional parameters
|
|
652
816
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
817
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
653
818
|
* @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
|
|
819
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
654
820
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
655
821
|
* @param {module:api/StripeAccountsApi~getStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
656
822
|
* data is of type: {@link module:model/CustomerResponse}
|
|
@@ -664,7 +830,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
664
830
|
var queryParams = {};
|
|
665
831
|
var headerParams = {
|
|
666
832
|
'Authorization': opts['authorization'],
|
|
833
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
667
834
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
835
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
668
836
|
'transactionid': opts['transactionid']
|
|
669
837
|
};
|
|
670
838
|
var formParams = {};
|
|
@@ -689,7 +857,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
689
857
|
* @param {Number} customerID The customerid to update
|
|
690
858
|
* @param {Object} opts Optional parameters
|
|
691
859
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
860
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
692
861
|
* @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
|
|
862
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
693
863
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
694
864
|
* @param {module:api/StripeAccountsApi~getStripeCustomerPaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
695
865
|
* data is of type: {@link module:model/PaymentMethodsResponse}
|
|
@@ -709,7 +879,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
709
879
|
var queryParams = {};
|
|
710
880
|
var headerParams = {
|
|
711
881
|
'Authorization': opts['authorization'],
|
|
882
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
712
883
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
884
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
713
885
|
'transactionid': opts['transactionid']
|
|
714
886
|
};
|
|
715
887
|
var formParams = {};
|
|
@@ -733,7 +905,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
733
905
|
* Retrieves the payment methods for the customer stored in stripe
|
|
734
906
|
* @param {Object} opts Optional parameters
|
|
735
907
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
908
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
736
909
|
* @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
|
|
910
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
737
911
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
738
912
|
* @param {module:api/StripeAccountsApi~getStripePaymentMethodsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
739
913
|
* data is of type: {@link module:model/PaymentMethodsResponse}
|
|
@@ -747,7 +921,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
747
921
|
var queryParams = {};
|
|
748
922
|
var headerParams = {
|
|
749
923
|
'Authorization': opts['authorization'],
|
|
924
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
750
925
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
926
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
751
927
|
'transactionid': opts['transactionid']
|
|
752
928
|
};
|
|
753
929
|
var formParams = {};
|
|
@@ -758,6 +934,202 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
758
934
|
return this.apiClient.callApi('/graph/data/payments/stripe/paymentmethods', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
759
935
|
}
|
|
760
936
|
|
|
937
|
+
/**
|
|
938
|
+
* Callback function to receive the result of the getStripeTransfer operation.
|
|
939
|
+
* @callback module:api/StripeAccountsApi~getStripeTransferCallback
|
|
940
|
+
* @param {String} error Error message, if any.
|
|
941
|
+
* @param {module:model/TransferResponse} data The data returned by the service call.
|
|
942
|
+
* @param {String} response The complete HTTP response.
|
|
943
|
+
*/
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Retrieves the transfer payment with the given transferId
|
|
947
|
+
* Retrieves the transfer payment with the given transferId
|
|
948
|
+
* @param {String} transferID The id of the transfer
|
|
949
|
+
* @param {Object} opts Optional parameters
|
|
950
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
951
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
952
|
+
* @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
|
|
953
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
954
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
955
|
+
* @param {module:api/StripeAccountsApi~getStripeTransferCallback} callback The callback function, accepting three arguments: error, data, response
|
|
956
|
+
* data is of type: {@link module:model/TransferResponse}
|
|
957
|
+
*/
|
|
958
|
+
}, {
|
|
959
|
+
key: "getStripeTransfer",
|
|
960
|
+
value: function getStripeTransfer(transferID, opts, callback) {
|
|
961
|
+
opts = opts || {};
|
|
962
|
+
var postBody = null;
|
|
963
|
+
// verify the required parameter 'transferID' is set
|
|
964
|
+
if (transferID === undefined || transferID === null) {
|
|
965
|
+
throw new Error("Missing the required parameter 'transferID' when calling getStripeTransfer");
|
|
966
|
+
}
|
|
967
|
+
var pathParams = {
|
|
968
|
+
'transferID': transferID
|
|
969
|
+
};
|
|
970
|
+
var queryParams = {};
|
|
971
|
+
var headerParams = {
|
|
972
|
+
'Authorization': opts['authorization'],
|
|
973
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
974
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
975
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
976
|
+
'transactionid': opts['transactionid']
|
|
977
|
+
};
|
|
978
|
+
var formParams = {};
|
|
979
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
980
|
+
var contentTypes = [];
|
|
981
|
+
var accepts = ['application/json'];
|
|
982
|
+
var returnType = _TransferResponse["default"];
|
|
983
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/transfer/{transferID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Callback function to receive the result of the getStripeTransferPaymentMethodDetails operation.
|
|
988
|
+
* @callback module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback
|
|
989
|
+
* @param {String} error Error message, if any.
|
|
990
|
+
* @param {module:model/TransferResponse} data The data returned by the service call.
|
|
991
|
+
* @param {String} response The complete HTTP response.
|
|
992
|
+
*/
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Retrieves the transfer payment details with the given transferId
|
|
996
|
+
* Retrieves the transfer payment with the given transferId
|
|
997
|
+
* @param {String} transferID The id of the transfer
|
|
998
|
+
* @param {Object} opts Optional parameters
|
|
999
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1000
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1001
|
+
* @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
|
|
1002
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1003
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1004
|
+
* @param {module:api/StripeAccountsApi~getStripeTransferPaymentMethodDetailsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1005
|
+
* data is of type: {@link module:model/TransferResponse}
|
|
1006
|
+
*/
|
|
1007
|
+
}, {
|
|
1008
|
+
key: "getStripeTransferPaymentMethodDetails",
|
|
1009
|
+
value: function getStripeTransferPaymentMethodDetails(transferID, opts, callback) {
|
|
1010
|
+
opts = opts || {};
|
|
1011
|
+
var postBody = null;
|
|
1012
|
+
// verify the required parameter 'transferID' is set
|
|
1013
|
+
if (transferID === undefined || transferID === null) {
|
|
1014
|
+
throw new Error("Missing the required parameter 'transferID' when calling getStripeTransferPaymentMethodDetails");
|
|
1015
|
+
}
|
|
1016
|
+
var pathParams = {
|
|
1017
|
+
'transferID': transferID
|
|
1018
|
+
};
|
|
1019
|
+
var queryParams = {};
|
|
1020
|
+
var headerParams = {
|
|
1021
|
+
'Authorization': opts['authorization'],
|
|
1022
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1023
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1024
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1025
|
+
'transactionid': opts['transactionid']
|
|
1026
|
+
};
|
|
1027
|
+
var formParams = {};
|
|
1028
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1029
|
+
var contentTypes = [];
|
|
1030
|
+
var accepts = ['application/json'];
|
|
1031
|
+
var returnType = _TransferResponse["default"];
|
|
1032
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/transfer/{transferID}/paymentMethodDetails', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Callback function to receive the result of the getUserStripeAccount operation.
|
|
1037
|
+
* @callback module:api/StripeAccountsApi~getUserStripeAccountCallback
|
|
1038
|
+
* @param {String} error Error message, if any.
|
|
1039
|
+
* @param {module:model/CreateAccountResponse} data The data returned by the service call.
|
|
1040
|
+
* @param {String} response The complete HTTP response.
|
|
1041
|
+
*/
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* Retrieves the Stripe Account For the Specified User
|
|
1045
|
+
* Retrieves the Stripe Account
|
|
1046
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
1047
|
+
* @param {Object} opts Optional parameters
|
|
1048
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1049
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1050
|
+
* @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
|
|
1051
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1052
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1053
|
+
* @param {module:api/StripeAccountsApi~getUserStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1054
|
+
* data is of type: {@link module:model/CreateAccountResponse}
|
|
1055
|
+
*/
|
|
1056
|
+
}, {
|
|
1057
|
+
key: "getUserStripeAccount",
|
|
1058
|
+
value: function getUserStripeAccount(userID, opts, callback) {
|
|
1059
|
+
opts = opts || {};
|
|
1060
|
+
var postBody = null;
|
|
1061
|
+
// verify the required parameter 'userID' is set
|
|
1062
|
+
if (userID === undefined || userID === null) {
|
|
1063
|
+
throw new Error("Missing the required parameter 'userID' when calling getUserStripeAccount");
|
|
1064
|
+
}
|
|
1065
|
+
var pathParams = {
|
|
1066
|
+
'userID': userID
|
|
1067
|
+
};
|
|
1068
|
+
var queryParams = {};
|
|
1069
|
+
var headerParams = {
|
|
1070
|
+
'Authorization': opts['authorization'],
|
|
1071
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1072
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1073
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1074
|
+
'transactionid': opts['transactionid']
|
|
1075
|
+
};
|
|
1076
|
+
var formParams = {};
|
|
1077
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1078
|
+
var contentTypes = [];
|
|
1079
|
+
var accepts = ['application/json'];
|
|
1080
|
+
var returnType = _CreateAccountResponse["default"];
|
|
1081
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/user/{userID}/account', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Callback function to receive the result of the getUserStripeCustomerAccount operation.
|
|
1086
|
+
* @callback module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback
|
|
1087
|
+
* @param {String} error Error message, if any.
|
|
1088
|
+
* @param {module:model/CustomerResponse} data The data returned by the service call.
|
|
1089
|
+
* @param {String} response The complete HTTP response.
|
|
1090
|
+
*/
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Retrieves the Stripe Customer Account For the Logged In User
|
|
1094
|
+
* Retrieves the Stripe Customer Account
|
|
1095
|
+
* @param {Number} userID The id of the user to retrieve the account for
|
|
1096
|
+
* @param {Object} opts Optional parameters
|
|
1097
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1098
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1099
|
+
* @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
|
|
1100
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1101
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1102
|
+
* @param {module:api/StripeAccountsApi~getUserStripeCustomerAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1103
|
+
* data is of type: {@link module:model/CustomerResponse}
|
|
1104
|
+
*/
|
|
1105
|
+
}, {
|
|
1106
|
+
key: "getUserStripeCustomerAccount",
|
|
1107
|
+
value: function getUserStripeCustomerAccount(userID, opts, callback) {
|
|
1108
|
+
opts = opts || {};
|
|
1109
|
+
var postBody = null;
|
|
1110
|
+
// verify the required parameter 'userID' is set
|
|
1111
|
+
if (userID === undefined || userID === null) {
|
|
1112
|
+
throw new Error("Missing the required parameter 'userID' when calling getUserStripeCustomerAccount");
|
|
1113
|
+
}
|
|
1114
|
+
var pathParams = {
|
|
1115
|
+
'userID': userID
|
|
1116
|
+
};
|
|
1117
|
+
var queryParams = {};
|
|
1118
|
+
var headerParams = {
|
|
1119
|
+
'Authorization': opts['authorization'],
|
|
1120
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1121
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1122
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1123
|
+
'transactionid': opts['transactionid']
|
|
1124
|
+
};
|
|
1125
|
+
var formParams = {};
|
|
1126
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1127
|
+
var contentTypes = [];
|
|
1128
|
+
var accepts = ['application/json'];
|
|
1129
|
+
var returnType = _CustomerResponse["default"];
|
|
1130
|
+
return this.apiClient.callApi('/graph/data/payments/stripe/user/{userID}/customer', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
761
1133
|
/**
|
|
762
1134
|
* Callback function to receive the result of the payoutStripeAccount operation.
|
|
763
1135
|
* @callback module:api/StripeAccountsApi~payoutStripeAccountCallback
|
|
@@ -773,7 +1145,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
773
1145
|
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
774
1146
|
* @param {Object} opts Optional parameters
|
|
775
1147
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1148
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
776
1149
|
* @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
|
|
1150
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
777
1151
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
778
1152
|
* @param {module:api/StripeAccountsApi~payoutStripeAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
779
1153
|
* data is of type: {@link module:model/PayoutResponse}
|
|
@@ -797,7 +1171,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
797
1171
|
var queryParams = {};
|
|
798
1172
|
var headerParams = {
|
|
799
1173
|
'Authorization': opts['authorization'],
|
|
1174
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
800
1175
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1176
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
801
1177
|
'transactionid': opts['transactionid']
|
|
802
1178
|
};
|
|
803
1179
|
var formParams = {};
|
|
@@ -823,7 +1199,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
823
1199
|
* @param {Number} accountid
|
|
824
1200
|
* @param {Object} opts Optional parameters
|
|
825
1201
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1202
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
826
1203
|
* @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
|
|
1204
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
827
1205
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
828
1206
|
* @param {module:api/StripeAccountsApi~setApplicationStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
829
1207
|
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
@@ -848,7 +1226,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
848
1226
|
var queryParams = {};
|
|
849
1227
|
var headerParams = {
|
|
850
1228
|
'Authorization': opts['authorization'],
|
|
1229
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
851
1230
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1231
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
852
1232
|
'transactionid': opts['transactionid']
|
|
853
1233
|
};
|
|
854
1234
|
var formParams = {};
|
|
@@ -874,7 +1254,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
874
1254
|
* @param {String} body The id of the payment method
|
|
875
1255
|
* @param {Object} opts Optional parameters
|
|
876
1256
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1257
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
877
1258
|
* @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
|
|
1259
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
878
1260
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
879
1261
|
* @param {module:api/StripeAccountsApi~setDefaultCustomerStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
|
|
880
1262
|
* data is of type: {@link module:model/PaymentMethodResponse}
|
|
@@ -898,7 +1280,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
898
1280
|
var queryParams = {};
|
|
899
1281
|
var headerParams = {
|
|
900
1282
|
'Authorization': opts['authorization'],
|
|
1283
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
901
1284
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1285
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
902
1286
|
'transactionid': opts['transactionid']
|
|
903
1287
|
};
|
|
904
1288
|
var formParams = {};
|
|
@@ -923,7 +1307,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
923
1307
|
* @param {String} body The id of the payment method
|
|
924
1308
|
* @param {Object} opts Optional parameters
|
|
925
1309
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1310
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
926
1311
|
* @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
|
|
1312
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
927
1313
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
928
1314
|
* @param {module:api/StripeAccountsApi~setDefaultStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
|
|
929
1315
|
* data is of type: {@link module:model/PaymentMethodResponse}
|
|
@@ -941,7 +1327,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
941
1327
|
var queryParams = {};
|
|
942
1328
|
var headerParams = {
|
|
943
1329
|
'Authorization': opts['authorization'],
|
|
1330
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
944
1331
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1332
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
945
1333
|
'transactionid': opts['transactionid']
|
|
946
1334
|
};
|
|
947
1335
|
var formParams = {};
|
|
@@ -967,7 +1355,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
967
1355
|
* @param {Number} accountid
|
|
968
1356
|
* @param {Object} opts Optional parameters
|
|
969
1357
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1358
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
970
1359
|
* @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
|
|
1360
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
971
1361
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
972
1362
|
* @param {module:api/StripeAccountsApi~setSiteStripePaymentAccountCallback} callback The callback function, accepting three arguments: error, data, response
|
|
973
1363
|
* data is of type: {@link module:model/ApplicationPaymentAccountResponse}
|
|
@@ -992,7 +1382,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
992
1382
|
var queryParams = {};
|
|
993
1383
|
var headerParams = {
|
|
994
1384
|
'Authorization': opts['authorization'],
|
|
1385
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
995
1386
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1387
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
996
1388
|
'transactionid': opts['transactionid']
|
|
997
1389
|
};
|
|
998
1390
|
var formParams = {};
|
|
@@ -1017,7 +1409,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1017
1409
|
* @param {module:model/PayoutInput} payoutInput Contains the info to create the Payout
|
|
1018
1410
|
* @param {Object} opts Optional parameters
|
|
1019
1411
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1412
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1020
1413
|
* @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
|
|
1414
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1021
1415
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1022
1416
|
* @param {module:api/StripeAccountsApi~stripePayoutCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1023
1417
|
* data is of type: {@link module:model/PayoutResponse}
|
|
@@ -1035,7 +1429,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1035
1429
|
var queryParams = {};
|
|
1036
1430
|
var headerParams = {
|
|
1037
1431
|
'Authorization': opts['authorization'],
|
|
1432
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1038
1433
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1434
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1039
1435
|
'transactionid': opts['transactionid']
|
|
1040
1436
|
};
|
|
1041
1437
|
var formParams = {};
|
|
@@ -1060,7 +1456,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1060
1456
|
* @param {module:model/TransferInput} transferInput Contains the info to create the Transfer
|
|
1061
1457
|
* @param {Object} opts Optional parameters
|
|
1062
1458
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1459
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1063
1460
|
* @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
|
|
1461
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1064
1462
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1065
1463
|
* @param {module:api/StripeAccountsApi~stripeTransferCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1066
1464
|
* data is of type: {@link module:model/TransferResponse}
|
|
@@ -1078,7 +1476,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1078
1476
|
var queryParams = {};
|
|
1079
1477
|
var headerParams = {
|
|
1080
1478
|
'Authorization': opts['authorization'],
|
|
1479
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1081
1480
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1481
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1082
1482
|
'transactionid': opts['transactionid']
|
|
1083
1483
|
};
|
|
1084
1484
|
var formParams = {};
|
|
@@ -1104,7 +1504,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1104
1504
|
* @param {module:model/CreateStripeAccountInput} createStripeAccountInput Contains the info to create the Stripe Account
|
|
1105
1505
|
* @param {Object} opts Optional parameters
|
|
1106
1506
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1507
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1107
1508
|
* @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
|
|
1509
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1108
1510
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1109
1511
|
* @param {module:api/StripeAccountsApi~updateAccountLinkCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1110
1512
|
* data is of type: {@link module:model/CreateAccountResponse}
|
|
@@ -1128,7 +1530,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1128
1530
|
var queryParams = {};
|
|
1129
1531
|
var headerParams = {
|
|
1130
1532
|
'Authorization': opts['authorization'],
|
|
1533
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1131
1534
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1535
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1132
1536
|
'transactionid': opts['transactionid']
|
|
1133
1537
|
};
|
|
1134
1538
|
var formParams = {};
|
|
@@ -1154,7 +1558,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1154
1558
|
* @param {module:model/CreateStripeCustomerInput} createStripeCustomerInput Contains the info to update the Stripe Customer Account including a client secret to pass into Stripe Payment Elements
|
|
1155
1559
|
* @param {Object} opts Optional parameters
|
|
1156
1560
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1561
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1157
1562
|
* @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
|
|
1563
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1158
1564
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1159
1565
|
* @param {module:api/StripeAccountsApi~updateCustomerCallback} callback The callback function, accepting three arguments: error, data, response
|
|
1160
1566
|
* data is of type: {@link module:model/CustomerResponse}
|
|
@@ -1178,7 +1584,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1178
1584
|
var queryParams = {};
|
|
1179
1585
|
var headerParams = {
|
|
1180
1586
|
'Authorization': opts['authorization'],
|
|
1587
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1181
1588
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1589
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1182
1590
|
'transactionid': opts['transactionid']
|
|
1183
1591
|
};
|
|
1184
1592
|
var formParams = {};
|
|
@@ -1203,7 +1611,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1203
1611
|
* @param {String} paymentMethodID The id of the payment method to update
|
|
1204
1612
|
* @param {Object} opts Optional parameters
|
|
1205
1613
|
* @param {String} [authorization] The authorization token of the logged in user
|
|
1614
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1206
1615
|
* @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
|
|
1616
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1207
1617
|
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1208
1618
|
* @param {module:model/PaymentMethodInput} [paymentMethodInput] The payment method data
|
|
1209
1619
|
* @param {module:api/StripeAccountsApi~updateStripePaymentMethodCallback} callback The callback function, accepting three arguments: error, data, response
|
|
@@ -1224,7 +1634,9 @@ var StripeAccountsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1224
1634
|
var queryParams = {};
|
|
1225
1635
|
var headerParams = {
|
|
1226
1636
|
'Authorization': opts['authorization'],
|
|
1637
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1227
1638
|
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1639
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1228
1640
|
'transactionid': opts['transactionid']
|
|
1229
1641
|
};
|
|
1230
1642
|
var formParams = {};
|