@gobodo/gobodo-api-promise 0.1.34 → 0.1.38
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 +8 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +14 -2
- package/dist/api/AdCampaignsApi.js +98 -2
- package/dist/api/AdManagementApi.js +146 -2
- package/dist/api/AdminDataManagementApi.js +14 -2
- package/dist/api/AdsApi.js +74 -2
- package/dist/api/AttachmentsApi.js +86 -2
- package/dist/api/AuthenticationApi.js +27 -27
- package/dist/api/CategoriesApi.js +86 -2
- package/dist/api/CommentsApi.js +98 -2
- package/dist/api/ContentManagementApi.js +290 -2
- package/dist/api/ConversationsApi.js +110 -2
- package/dist/api/DataSheetImportsApi.js +182 -2
- package/dist/api/DefaultApi.js +134 -2
- package/dist/api/DocumentsApi.js +158 -2
- package/dist/api/EntryPartsApi.js +158 -2
- package/dist/api/FacebookApi.js +6 -6
- package/dist/api/FieldsApi.js +38 -2
- package/dist/api/FilesApi.js +14 -2
- package/dist/api/FormsApi.js +218 -2
- package/dist/api/FunctionsApi.js +14 -2
- package/dist/api/GeocodeApi.js +62 -2
- package/dist/api/GoogleApi.js +6 -6
- package/dist/api/GraphActionsApi.js +122 -2
- package/dist/api/GraphObjectTypesApi.js +110 -2
- package/dist/api/GraphObjectsApi.js +779 -11
- package/dist/api/GraphRelationshipTypesApi.js +206 -2
- package/dist/api/GraphRelationshipsApi.js +374 -2
- package/dist/api/GraphSchemasApi.js +86 -2
- package/dist/api/GraphTraversalApi.js +144 -2
- package/dist/api/GraphsApi.js +134 -2
- package/dist/api/GroupsApi.js +134 -2
- package/dist/api/IAMApi.js +50 -2
- package/dist/api/ImagesApi.js +98 -2
- package/dist/api/InvitesApi.js +62 -2
- package/dist/api/LikesApi.js +146 -2
- package/dist/api/LinkedINApi.js +6 -6
- package/dist/api/LiveMeetingsApi.js +26 -2
- package/dist/api/MeetingEventsApi.js +62 -2
- package/dist/api/PagesApi.js +110 -2
- package/dist/api/PostsApi.js +62 -2
- package/dist/api/PrivateMessagesApi.js +194 -2
- package/dist/api/PublicationsApi.js +14 -2
- package/dist/api/ScreensApi.js +38 -2
- package/dist/api/SocialIntegrationApi.js +15 -15
- package/dist/api/StripeAccountsApi.js +458 -2
- package/dist/api/TagsApi.js +14 -2
- package/dist/api/TemplatesApi.js +38 -2
- package/dist/api/ThemeMappingsApi.js +38 -2
- package/dist/api/TransactionsApi.js +8 -8
- package/dist/api/TwitterApi.js +6 -6
- package/dist/api/UserTagsApi.js +110 -2
- package/dist/api/UsersApi.js +110 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +134 -2
- package/dist/index.js +5 -5
- package/dist/model/APIClient.js +2 -2
- 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 +121 -121
- package/dist/model/AuthResponse.js +238 -0
- package/dist/model/Balance.js +34 -34
- 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 +31 -31
- 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 +121 -121
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +2 -2
- package/dist/model/DocumentType.js +48 -48
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +26 -26
- package/dist/model/File.js +48 -48
- package/dist/model/FileAttachmentUploadObject.js +48 -48
- 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 +25 -25
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +24 -24
- 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/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 +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +70 -70
- package/dist/model/ImageUploadObject.js +70 -70
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +54 -54
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +85 -85
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +42 -42
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +25 -25
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +48 -48
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +23 -23
- 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 +30 -30
- 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 +60 -60
- 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 +25 -25
- 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 +26 -26
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +2 -2
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- 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 +30 -30
- package/dist/model/TemplateSchema.js +30 -30
- package/dist/model/ThemeMapping.js +39 -39
- package/dist/model/ThemeMappingPayload.js +25 -25
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +55 -55
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +77 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +55 -55
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +42 -42
- package/dist/model/UserDataPayload.js +42 -42
- 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 +42 -42
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +81 -81
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +81 -81
- package/dist/model/VideoUploadObject.js +81 -81
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.38
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The ThemeMapping model module.
|
|
30
30
|
* @module model/ThemeMapping
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.38
|
|
32
32
|
*/
|
|
33
33
|
var ThemeMapping = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -63,23 +63,6 @@ var ThemeMapping = /*#__PURE__*/function () {
|
|
|
63
63
|
value: function setUrlpatterns(urlpatterns) {
|
|
64
64
|
this['urlpatterns'] = urlpatterns;
|
|
65
65
|
}
|
|
66
|
-
/**
|
|
67
|
-
* @return {Object}
|
|
68
|
-
*/
|
|
69
|
-
}, {
|
|
70
|
-
key: "getUrlPatterns",
|
|
71
|
-
value: function getUrlPatterns() {
|
|
72
|
-
return this.urlPatterns;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @param {Object} urlPatterns
|
|
77
|
-
*/
|
|
78
|
-
}, {
|
|
79
|
-
key: "setUrlPatterns",
|
|
80
|
-
value: function setUrlPatterns(urlPatterns) {
|
|
81
|
-
this['urlPatterns'] = urlPatterns;
|
|
82
|
-
}
|
|
83
66
|
/**
|
|
84
67
|
* @return {module:model/ZeusPortalCategory}
|
|
85
68
|
*/
|
|
@@ -98,21 +81,21 @@ var ThemeMapping = /*#__PURE__*/function () {
|
|
|
98
81
|
this['rootCategory'] = rootCategory;
|
|
99
82
|
}
|
|
100
83
|
/**
|
|
101
|
-
* @return {
|
|
84
|
+
* @return {Object}
|
|
102
85
|
*/
|
|
103
86
|
}, {
|
|
104
|
-
key: "
|
|
105
|
-
value: function
|
|
106
|
-
return this.
|
|
87
|
+
key: "getUrlPatterns",
|
|
88
|
+
value: function getUrlPatterns() {
|
|
89
|
+
return this.urlPatterns;
|
|
107
90
|
}
|
|
108
91
|
|
|
109
92
|
/**
|
|
110
|
-
* @param {
|
|
93
|
+
* @param {Object} urlPatterns
|
|
111
94
|
*/
|
|
112
95
|
}, {
|
|
113
|
-
key: "
|
|
114
|
-
value: function
|
|
115
|
-
this['
|
|
96
|
+
key: "setUrlPatterns",
|
|
97
|
+
value: function setUrlPatterns(urlPatterns) {
|
|
98
|
+
this['urlPatterns'] = urlPatterns;
|
|
116
99
|
}
|
|
117
100
|
/**
|
|
118
101
|
* @return {Number}
|
|
@@ -131,6 +114,23 @@ var ThemeMapping = /*#__PURE__*/function () {
|
|
|
131
114
|
value: function setSiteTypeId(siteTypeId) {
|
|
132
115
|
this['siteTypeId'] = siteTypeId;
|
|
133
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* @return {module:model/Template}
|
|
119
|
+
*/
|
|
120
|
+
}, {
|
|
121
|
+
key: "getTemplate",
|
|
122
|
+
value: function getTemplate() {
|
|
123
|
+
return this.template;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @param {module:model/Template} template
|
|
128
|
+
*/
|
|
129
|
+
}, {
|
|
130
|
+
key: "setTemplate",
|
|
131
|
+
value: function setTemplate(template) {
|
|
132
|
+
this['template'] = template;
|
|
133
|
+
}
|
|
134
134
|
/**
|
|
135
135
|
* @return {Number}
|
|
136
136
|
*/
|
|
@@ -167,18 +167,18 @@ var ThemeMapping = /*#__PURE__*/function () {
|
|
|
167
167
|
if (data.hasOwnProperty('urlpatterns')) {
|
|
168
168
|
obj['urlpatterns'] = _ApiClient["default"].convertToType(data['urlpatterns'], ['String']);
|
|
169
169
|
}
|
|
170
|
-
if (data.hasOwnProperty('urlPatterns')) {
|
|
171
|
-
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
172
|
-
}
|
|
173
170
|
if (data.hasOwnProperty('rootCategory')) {
|
|
174
171
|
obj['rootCategory'] = _ZeusPortalCategory["default"].constructFromObject(data['rootCategory']);
|
|
175
172
|
}
|
|
176
|
-
if (data.hasOwnProperty('
|
|
177
|
-
obj['
|
|
173
|
+
if (data.hasOwnProperty('urlPatterns')) {
|
|
174
|
+
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
178
175
|
}
|
|
179
176
|
if (data.hasOwnProperty('siteTypeId')) {
|
|
180
177
|
obj['siteTypeId'] = _ApiClient["default"].convertToType(data['siteTypeId'], 'Number');
|
|
181
178
|
}
|
|
179
|
+
if (data.hasOwnProperty('template')) {
|
|
180
|
+
obj['template'] = _Template["default"].constructFromObject(data['template']);
|
|
181
|
+
}
|
|
182
182
|
if (data.hasOwnProperty('id')) {
|
|
183
183
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
184
184
|
}
|
|
@@ -218,26 +218,26 @@ var ThemeMapping = /*#__PURE__*/function () {
|
|
|
218
218
|
*/
|
|
219
219
|
ThemeMapping.prototype['urlpatterns'] = undefined;
|
|
220
220
|
|
|
221
|
-
/**
|
|
222
|
-
* @member {Object} urlPatterns
|
|
223
|
-
*/
|
|
224
|
-
ThemeMapping.prototype['urlPatterns'] = undefined;
|
|
225
|
-
|
|
226
221
|
/**
|
|
227
222
|
* @member {module:model/ZeusPortalCategory} rootCategory
|
|
228
223
|
*/
|
|
229
224
|
ThemeMapping.prototype['rootCategory'] = undefined;
|
|
230
225
|
|
|
231
226
|
/**
|
|
232
|
-
* @member {
|
|
227
|
+
* @member {Object} urlPatterns
|
|
233
228
|
*/
|
|
234
|
-
ThemeMapping.prototype['
|
|
229
|
+
ThemeMapping.prototype['urlPatterns'] = undefined;
|
|
235
230
|
|
|
236
231
|
/**
|
|
237
232
|
* @member {Number} siteTypeId
|
|
238
233
|
*/
|
|
239
234
|
ThemeMapping.prototype['siteTypeId'] = undefined;
|
|
240
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @member {module:model/Template} template
|
|
238
|
+
*/
|
|
239
|
+
ThemeMapping.prototype['template'] = undefined;
|
|
240
|
+
|
|
241
241
|
/**
|
|
242
242
|
* @member {Number} id
|
|
243
243
|
*/
|
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.38
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The ThemeMappingPayload model module.
|
|
29
29
|
* @module model/ThemeMappingPayload
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.38
|
|
31
31
|
*/
|
|
32
32
|
var ThemeMappingPayload = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -80,38 +80,38 @@ var ThemeMappingPayload = /*#__PURE__*/function () {
|
|
|
80
80
|
this['urlpatterns'] = urlpatterns;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* @return {
|
|
83
|
+
* @return {module:model/ZeusPortalCategory}
|
|
84
84
|
*/
|
|
85
85
|
}, {
|
|
86
|
-
key: "
|
|
87
|
-
value: function
|
|
88
|
-
return this.
|
|
86
|
+
key: "getRootCategory",
|
|
87
|
+
value: function getRootCategory() {
|
|
88
|
+
return this.rootCategory;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* @param {
|
|
92
|
+
* @param {module:model/ZeusPortalCategory} rootCategory
|
|
93
93
|
*/
|
|
94
94
|
}, {
|
|
95
|
-
key: "
|
|
96
|
-
value: function
|
|
97
|
-
this['
|
|
95
|
+
key: "setRootCategory",
|
|
96
|
+
value: function setRootCategory(rootCategory) {
|
|
97
|
+
this['rootCategory'] = rootCategory;
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* @return {
|
|
100
|
+
* @return {Object}
|
|
101
101
|
*/
|
|
102
102
|
}, {
|
|
103
|
-
key: "
|
|
104
|
-
value: function
|
|
105
|
-
return this.
|
|
103
|
+
key: "getUrlPatterns",
|
|
104
|
+
value: function getUrlPatterns() {
|
|
105
|
+
return this.urlPatterns;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* @param {
|
|
109
|
+
* @param {Object} urlPatterns
|
|
110
110
|
*/
|
|
111
111
|
}, {
|
|
112
|
-
key: "
|
|
113
|
-
value: function
|
|
114
|
-
this['
|
|
112
|
+
key: "setUrlPatterns",
|
|
113
|
+
value: function setUrlPatterns(urlPatterns) {
|
|
114
|
+
this['urlPatterns'] = urlPatterns;
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
117
|
* @return {Number}
|
|
@@ -169,12 +169,12 @@ var ThemeMappingPayload = /*#__PURE__*/function () {
|
|
|
169
169
|
if (data.hasOwnProperty('urlpatterns')) {
|
|
170
170
|
obj['urlpatterns'] = _ApiClient["default"].convertToType(data['urlpatterns'], ['String']);
|
|
171
171
|
}
|
|
172
|
-
if (data.hasOwnProperty('urlPatterns')) {
|
|
173
|
-
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
174
|
-
}
|
|
175
172
|
if (data.hasOwnProperty('rootCategory')) {
|
|
176
173
|
obj['rootCategory'] = _ZeusPortalCategory["default"].constructFromObject(data['rootCategory']);
|
|
177
174
|
}
|
|
175
|
+
if (data.hasOwnProperty('urlPatterns')) {
|
|
176
|
+
obj['urlPatterns'] = _ApiClient["default"].convertToType(data['urlPatterns'], Object);
|
|
177
|
+
}
|
|
178
178
|
if (data.hasOwnProperty('siteTypeId')) {
|
|
179
179
|
obj['siteTypeId'] = _ApiClient["default"].convertToType(data['siteTypeId'], 'Number');
|
|
180
180
|
}
|
|
@@ -218,14 +218,14 @@ ThemeMappingPayload.prototype['templateid'] = undefined;
|
|
|
218
218
|
ThemeMappingPayload.prototype['urlpatterns'] = undefined;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
|
-
* @member {
|
|
221
|
+
* @member {module:model/ZeusPortalCategory} rootCategory
|
|
222
222
|
*/
|
|
223
|
-
ThemeMappingPayload.prototype['
|
|
223
|
+
ThemeMappingPayload.prototype['rootCategory'] = undefined;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* @member {
|
|
226
|
+
* @member {Object} urlPatterns
|
|
227
227
|
*/
|
|
228
|
-
ThemeMappingPayload.prototype['
|
|
228
|
+
ThemeMappingPayload.prototype['urlPatterns'] = undefined;
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* @member {Number} siteTypeId
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.38
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Transaction model module.
|
|
28
28
|
* @module model/Transaction
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.38
|
|
30
30
|
*/
|
|
31
31
|
var Transaction = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Transfer.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.38
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The Transfer model module.
|
|
29
29
|
* @module model/Transfer
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.38
|
|
31
31
|
*/
|
|
32
32
|
var Transfer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -82,6 +82,25 @@ var Transfer = /*#__PURE__*/function () {
|
|
|
82
82
|
value: function setDestination(destination) {
|
|
83
83
|
this['destination'] = destination;
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns The amount of the transfer in cents
|
|
87
|
+
* @return {Number}
|
|
88
|
+
*/
|
|
89
|
+
}, {
|
|
90
|
+
key: "getAmount",
|
|
91
|
+
value: function getAmount() {
|
|
92
|
+
return this.amount;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Sets The amount of the transfer in cents
|
|
97
|
+
* @param {Number} amount The amount of the transfer in cents
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "setAmount",
|
|
101
|
+
value: function setAmount(amount) {
|
|
102
|
+
this['amount'] = amount;
|
|
103
|
+
}
|
|
85
104
|
/**
|
|
86
105
|
* Returns An arbitrary string attached to the object. Often useful for displaying to users.
|
|
87
106
|
* @return {String}
|
|
@@ -101,23 +120,6 @@ var Transfer = /*#__PURE__*/function () {
|
|
|
101
120
|
value: function setDescription(description) {
|
|
102
121
|
this['description'] = description;
|
|
103
122
|
}
|
|
104
|
-
/**
|
|
105
|
-
* @return {Object.<String, Object>}
|
|
106
|
-
*/
|
|
107
|
-
}, {
|
|
108
|
-
key: "getPaymentMethodDetails",
|
|
109
|
-
value: function getPaymentMethodDetails() {
|
|
110
|
-
return this.paymentMethodDetails;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @param {Object.<String, Object>} paymentMethodDetails
|
|
115
|
-
*/
|
|
116
|
-
}, {
|
|
117
|
-
key: "setPaymentMethodDetails",
|
|
118
|
-
value: function setPaymentMethodDetails(paymentMethodDetails) {
|
|
119
|
-
this['paymentMethodDetails'] = paymentMethodDetails;
|
|
120
|
-
}
|
|
121
123
|
/**
|
|
122
124
|
* Returns Metadata associated with the transfer
|
|
123
125
|
* @return {Object.<String, String>}
|
|
@@ -138,40 +140,38 @@ var Transfer = /*#__PURE__*/function () {
|
|
|
138
140
|
this['metadata'] = metadata;
|
|
139
141
|
}
|
|
140
142
|
/**
|
|
141
|
-
*
|
|
142
|
-
* @return {Number}
|
|
143
|
+
* @return {module:model/PaymentAccountObject}
|
|
143
144
|
*/
|
|
144
145
|
}, {
|
|
145
|
-
key: "
|
|
146
|
-
value: function
|
|
147
|
-
return this.
|
|
146
|
+
key: "getSender",
|
|
147
|
+
value: function getSender() {
|
|
148
|
+
return this.sender;
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
/**
|
|
151
|
-
*
|
|
152
|
-
* @param {Number} amount The amount of the transfer in cents
|
|
152
|
+
* @param {module:model/PaymentAccountObject} sender
|
|
153
153
|
*/
|
|
154
154
|
}, {
|
|
155
|
-
key: "
|
|
156
|
-
value: function
|
|
157
|
-
this['
|
|
155
|
+
key: "setSender",
|
|
156
|
+
value: function setSender(sender) {
|
|
157
|
+
this['sender'] = sender;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
|
-
* @return {
|
|
160
|
+
* @return {Object.<String, Object>}
|
|
161
161
|
*/
|
|
162
162
|
}, {
|
|
163
|
-
key: "
|
|
164
|
-
value: function
|
|
165
|
-
return this.
|
|
163
|
+
key: "getPaymentMethodDetails",
|
|
164
|
+
value: function getPaymentMethodDetails() {
|
|
165
|
+
return this.paymentMethodDetails;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* @param {
|
|
169
|
+
* @param {Object.<String, Object>} paymentMethodDetails
|
|
170
170
|
*/
|
|
171
171
|
}, {
|
|
172
|
-
key: "
|
|
173
|
-
value: function
|
|
174
|
-
this['
|
|
172
|
+
key: "setPaymentMethodDetails",
|
|
173
|
+
value: function setPaymentMethodDetails(paymentMethodDetails) {
|
|
174
|
+
this['paymentMethodDetails'] = paymentMethodDetails;
|
|
175
175
|
}
|
|
176
176
|
}], [{
|
|
177
177
|
key: "initialize",
|
|
@@ -195,25 +195,25 @@ var Transfer = /*#__PURE__*/function () {
|
|
|
195
195
|
if (data.hasOwnProperty('destination')) {
|
|
196
196
|
obj['destination'] = _PaymentAccountObject["default"].constructFromObject(data['destination']);
|
|
197
197
|
}
|
|
198
|
+
if (data.hasOwnProperty('amount')) {
|
|
199
|
+
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
|
|
200
|
+
}
|
|
198
201
|
if (data.hasOwnProperty('description')) {
|
|
199
202
|
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
200
203
|
}
|
|
201
|
-
if (data.hasOwnProperty('paymentMethodDetails')) {
|
|
202
|
-
obj['paymentMethodDetails'] = _ApiClient["default"].convertToType(data['paymentMethodDetails'], {
|
|
203
|
-
'String': Object
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
204
|
if (data.hasOwnProperty('metadata')) {
|
|
207
205
|
obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], {
|
|
208
206
|
'String': 'String'
|
|
209
207
|
});
|
|
210
208
|
}
|
|
211
|
-
if (data.hasOwnProperty('amount')) {
|
|
212
|
-
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
|
|
213
|
-
}
|
|
214
209
|
if (data.hasOwnProperty('sender')) {
|
|
215
210
|
obj['sender'] = _PaymentAccountObject["default"].constructFromObject(data['sender']);
|
|
216
211
|
}
|
|
212
|
+
if (data.hasOwnProperty('paymentMethodDetails')) {
|
|
213
|
+
obj['paymentMethodDetails'] = _ApiClient["default"].convertToType(data['paymentMethodDetails'], {
|
|
214
|
+
'String': Object
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
217
|
}
|
|
218
218
|
return obj;
|
|
219
219
|
}
|
|
@@ -257,15 +257,16 @@ Transfer.prototype['id'] = undefined;
|
|
|
257
257
|
Transfer.prototype['destination'] = undefined;
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
261
|
-
* @member {
|
|
260
|
+
* The amount of the transfer in cents
|
|
261
|
+
* @member {Number} amount
|
|
262
262
|
*/
|
|
263
|
-
Transfer.prototype['
|
|
263
|
+
Transfer.prototype['amount'] = undefined;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
266
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
267
|
+
* @member {String} description
|
|
267
268
|
*/
|
|
268
|
-
Transfer.prototype['
|
|
269
|
+
Transfer.prototype['description'] = undefined;
|
|
269
270
|
|
|
270
271
|
/**
|
|
271
272
|
* Metadata associated with the transfer
|
|
@@ -274,13 +275,12 @@ Transfer.prototype['paymentMethodDetails'] = undefined;
|
|
|
274
275
|
Transfer.prototype['metadata'] = undefined;
|
|
275
276
|
|
|
276
277
|
/**
|
|
277
|
-
*
|
|
278
|
-
* @member {Number} amount
|
|
278
|
+
* @member {module:model/PaymentAccountObject} sender
|
|
279
279
|
*/
|
|
280
|
-
Transfer.prototype['
|
|
280
|
+
Transfer.prototype['sender'] = undefined;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
* @member {
|
|
283
|
+
* @member {Object.<String, Object>} paymentMethodDetails
|
|
284
284
|
*/
|
|
285
|
-
Transfer.prototype['
|
|
285
|
+
Transfer.prototype['paymentMethodDetails'] = undefined;
|
|
286
286
|
var _default = exports["default"] = Transfer;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.38
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The TransferInput model module.
|
|
31
31
|
* @module model/TransferInput
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.38
|
|
33
33
|
*/
|
|
34
34
|
var TransferInput = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.38
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The TransferResponse model module.
|
|
30
30
|
* @module model/TransferResponse
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.38
|
|
32
32
|
*/
|
|
33
33
|
var TransferResponse = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -99,6 +99,25 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
99
99
|
value: function setFailureException(failureException) {
|
|
100
100
|
this['failureException'] = failureException;
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns The reason the transfer action failed
|
|
104
|
+
* @return {module:model/TransferResponse.FailureReasonEnum}
|
|
105
|
+
*/
|
|
106
|
+
}, {
|
|
107
|
+
key: "getFailureReason",
|
|
108
|
+
value: function getFailureReason() {
|
|
109
|
+
return this.failureReason;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Sets The reason the transfer action failed
|
|
114
|
+
* @param {module:model/TransferResponse.FailureReasonEnum} failureReason The reason the transfer action failed
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "setFailureReason",
|
|
118
|
+
value: function setFailureReason(failureReason) {
|
|
119
|
+
this['failureReason'] = failureReason;
|
|
120
|
+
}
|
|
102
121
|
}], [{
|
|
103
122
|
key: "initialize",
|
|
104
123
|
value: function initialize(obj) {}
|
|
@@ -124,6 +143,9 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
124
143
|
if (data.hasOwnProperty('failureException')) {
|
|
125
144
|
obj['failureException'] = _ApiClient["default"].convertToType(data['failureException'], 'String');
|
|
126
145
|
}
|
|
146
|
+
if (data.hasOwnProperty('failureReason')) {
|
|
147
|
+
obj['failureReason'] = _ApiClient["default"].convertToType(data['failureReason'], 'String');
|
|
148
|
+
}
|
|
127
149
|
}
|
|
128
150
|
return obj;
|
|
129
151
|
}
|
|
@@ -150,6 +172,10 @@ var TransferResponse = /*#__PURE__*/function () {
|
|
|
150
172
|
if (data['failureException'] && !(typeof data['failureException'] === 'string' || data['failureException'] instanceof String)) {
|
|
151
173
|
throw new Error("Expected the field `failureException` to be a primitive type in the JSON string but got " + data['failureException']);
|
|
152
174
|
}
|
|
175
|
+
// ensure the json data is a string
|
|
176
|
+
if (data['failureReason'] && !(typeof data['failureReason'] === 'string' || data['failureReason'] instanceof String)) {
|
|
177
|
+
throw new Error("Expected the field `failureReason` to be a primitive type in the JSON string but got " + data['failureReason']);
|
|
178
|
+
}
|
|
153
179
|
return true;
|
|
154
180
|
}
|
|
155
181
|
}]);
|
|
@@ -170,4 +196,53 @@ TransferResponse.prototype['paymentMethodDetails'] = undefined;
|
|
|
170
196
|
* @member {String} failureException
|
|
171
197
|
*/
|
|
172
198
|
TransferResponse.prototype['failureException'] = undefined;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The reason the transfer action failed
|
|
202
|
+
* @member {module:model/TransferResponse.FailureReasonEnum} failureReason
|
|
203
|
+
*/
|
|
204
|
+
TransferResponse.prototype['failureReason'] = undefined;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Allowed values for the <code>failureReason</code> property.
|
|
208
|
+
* @enum {String}
|
|
209
|
+
* @readonly
|
|
210
|
+
*/
|
|
211
|
+
TransferResponse['FailureReasonEnum'] = {
|
|
212
|
+
/**
|
|
213
|
+
* value: "NO_PAYMENT_ACCOUNT"
|
|
214
|
+
* @const
|
|
215
|
+
*/
|
|
216
|
+
"NO_PAYMENT_ACCOUNT": "NO_PAYMENT_ACCOUNT",
|
|
217
|
+
/**
|
|
218
|
+
* value: "PAYMENT_METHOD_DECLINED"
|
|
219
|
+
* @const
|
|
220
|
+
*/
|
|
221
|
+
"PAYMENT_METHOD_DECLINED": "PAYMENT_METHOD_DECLINED",
|
|
222
|
+
/**
|
|
223
|
+
* value: "INSUFFICIENT_FUNDS"
|
|
224
|
+
* @const
|
|
225
|
+
*/
|
|
226
|
+
"INSUFFICIENT_FUNDS": "INSUFFICIENT_FUNDS",
|
|
227
|
+
/**
|
|
228
|
+
* value: "FRAUD_DETECTION"
|
|
229
|
+
* @const
|
|
230
|
+
*/
|
|
231
|
+
"FRAUD_DETECTION": "FRAUD_DETECTION",
|
|
232
|
+
/**
|
|
233
|
+
* value: "TRANSFER_FUNDS_NOT_PAID"
|
|
234
|
+
* @const
|
|
235
|
+
*/
|
|
236
|
+
"TRANSFER_FUNDS_NOT_PAID": "TRANSFER_FUNDS_NOT_PAID",
|
|
237
|
+
/**
|
|
238
|
+
* value: "BACKEND_ERROR"
|
|
239
|
+
* @const
|
|
240
|
+
*/
|
|
241
|
+
"BACKEND_ERROR": "BACKEND_ERROR",
|
|
242
|
+
/**
|
|
243
|
+
* value: "UNKNOWN_ERROR"
|
|
244
|
+
* @const
|
|
245
|
+
*/
|
|
246
|
+
"UNKNOWN_ERROR": "UNKNOWN_ERROR"
|
|
247
|
+
};
|
|
173
248
|
var _default = exports["default"] = TransferResponse;
|