@gobodo/gobodo-api 0.1.67 → 0.1.71
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 +41 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +210 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.js +262 -0
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.js +148 -0
- package/dist/api/DocumentTypesApi.js +148 -0
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TopicsApi.js +61 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/api/WalletsApi.js +708 -0
- package/dist/index.js +126 -7
- 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 +14 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +6 -6
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.js +31 -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 +14 -14
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.js +141 -0
- package/dist/model/CurrencyGrantInput.js +176 -0
- package/dist/model/CurrencyGrantResponse.js +214 -0
- package/dist/model/CurrencyInput.js +164 -0
- package/dist/model/CurrencyMinterRegistrationInput.js +138 -0
- package/dist/model/CurrencyResponse.js +180 -0
- package/dist/model/CurrencySettings.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/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +27 -27
- package/dist/model/DocumentType.js +41 -41
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +9 -9
- 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/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.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/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.js +2 -2
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +6 -6
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +165 -0
- 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/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +14 -14
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +2 -2
- package/dist/model/ImageUploadObject.js +2 -2
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +29 -29
- 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/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.js +9 -9
- package/dist/model/PageSchema.js +2 -2
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +2 -2
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +11 -11
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.js +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +2 -2
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurchaseInput.js +142 -0
- package/dist/model/PurchaseResponse.js +182 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.js +9 -9
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +22 -22
- 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 +58 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +11 -11
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.js +11 -11
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +13 -13
- package/dist/model/TransferInput.js +55 -4
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +13 -13
- package/dist/model/TraversalRelationResponse.js +2 -2
- 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 +14 -14
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +2 -2
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +18 -18
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +26 -26
- package/dist/model/VideoUploadObject.js +18 -18
- package/dist/model/WalletHoldInput.js +148 -0
- package/dist/model/WalletHoldResponse.js +172 -0
- package/dist/model/WalletPayoutInput.js +136 -0
- package/dist/model/WalletPayoutResponse.js +148 -0
- package/dist/model/WalletResponse.js +152 -0
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -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.71
|
|
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 UserDataPayload model module.
|
|
29
29
|
* @module model/UserDataPayload
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.71
|
|
31
31
|
*/
|
|
32
32
|
var UserDataPayload = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/UserDomain.js
CHANGED
|
@@ -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.71
|
|
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 UserDomain model module.
|
|
28
28
|
* @module model/UserDomain
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var UserDomain = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/UserInvite.js
CHANGED
|
@@ -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.71
|
|
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 UserInvite model module.
|
|
28
28
|
* @module model/UserInvite
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var UserInvite = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -68,9 +68,6 @@ var UserInvite = /*#__PURE__*/function () {
|
|
|
68
68
|
if (data.hasOwnProperty('url')) {
|
|
69
69
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
70
70
|
}
|
|
71
|
-
if (data.hasOwnProperty('invitedEmails')) {
|
|
72
|
-
obj['invitedEmails'] = _ApiClient["default"].convertToType(data['invitedEmails'], ['String']);
|
|
73
|
-
}
|
|
74
71
|
if (data.hasOwnProperty('inviteCode')) {
|
|
75
72
|
obj['inviteCode'] = _ApiClient["default"].convertToType(data['inviteCode'], 'String');
|
|
76
73
|
}
|
|
@@ -80,6 +77,9 @@ var UserInvite = /*#__PURE__*/function () {
|
|
|
80
77
|
if (data.hasOwnProperty('invitedUsers')) {
|
|
81
78
|
obj['invitedUsers'] = _ApiClient["default"].convertToType(data['invitedUsers'], ['Number']);
|
|
82
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('invitedEmails')) {
|
|
81
|
+
obj['invitedEmails'] = _ApiClient["default"].convertToType(data['invitedEmails'], ['String']);
|
|
82
|
+
}
|
|
83
83
|
if (data.hasOwnProperty('objectid')) {
|
|
84
84
|
obj['objectid'] = _ApiClient["default"].convertToType(data['objectid'], 'Number');
|
|
85
85
|
}
|
|
@@ -112,10 +112,6 @@ var UserInvite = /*#__PURE__*/function () {
|
|
|
112
112
|
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
113
113
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
114
114
|
}
|
|
115
|
-
// ensure the json data is an array
|
|
116
|
-
if (!Array.isArray(data['invitedEmails'])) {
|
|
117
|
-
throw new Error("Expected the field `invitedEmails` to be an array in the JSON data but got " + data['invitedEmails']);
|
|
118
|
-
}
|
|
119
115
|
// ensure the json data is a string
|
|
120
116
|
if (data['inviteCode'] && !(typeof data['inviteCode'] === 'string' || data['inviteCode'] instanceof String)) {
|
|
121
117
|
throw new Error("Expected the field `inviteCode` to be a primitive type in the JSON string but got " + data['inviteCode']);
|
|
@@ -128,6 +124,10 @@ var UserInvite = /*#__PURE__*/function () {
|
|
|
128
124
|
if (!Array.isArray(data['invitedUsers'])) {
|
|
129
125
|
throw new Error("Expected the field `invitedUsers` to be an array in the JSON data but got " + data['invitedUsers']);
|
|
130
126
|
}
|
|
127
|
+
// ensure the json data is an array
|
|
128
|
+
if (!Array.isArray(data['invitedEmails'])) {
|
|
129
|
+
throw new Error("Expected the field `invitedEmails` to be an array in the JSON data but got " + data['invitedEmails']);
|
|
130
|
+
}
|
|
131
131
|
return true;
|
|
132
132
|
}
|
|
133
133
|
}]);
|
|
@@ -147,11 +147,6 @@ UserInvite.prototype['date'] = undefined;
|
|
|
147
147
|
*/
|
|
148
148
|
UserInvite.prototype['url'] = undefined;
|
|
149
149
|
|
|
150
|
-
/**
|
|
151
|
-
* @member {Array.<String>} invitedEmails
|
|
152
|
-
*/
|
|
153
|
-
UserInvite.prototype['invitedEmails'] = undefined;
|
|
154
|
-
|
|
155
150
|
/**
|
|
156
151
|
* @member {String} inviteCode
|
|
157
152
|
*/
|
|
@@ -167,6 +162,11 @@ UserInvite.prototype['inviteType'] = undefined;
|
|
|
167
162
|
*/
|
|
168
163
|
UserInvite.prototype['invitedUsers'] = undefined;
|
|
169
164
|
|
|
165
|
+
/**
|
|
166
|
+
* @member {Array.<String>} invitedEmails
|
|
167
|
+
*/
|
|
168
|
+
UserInvite.prototype['invitedEmails'] = undefined;
|
|
169
|
+
|
|
170
170
|
/**
|
|
171
171
|
* @member {Number} objectid
|
|
172
172
|
*/
|
|
@@ -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.71
|
|
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 UserInviteInput model module.
|
|
28
28
|
* @module model/UserInviteInput
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var UserInviteInput = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/UserSchema.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.71
|
|
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 UserSchema model module.
|
|
29
29
|
* @module model/UserSchema
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.71
|
|
31
31
|
*/
|
|
32
32
|
var UserSchema = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/UserTag.js
CHANGED
|
@@ -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.71
|
|
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 UserTag model module.
|
|
30
30
|
* @module model/UserTag
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.71
|
|
32
32
|
*/
|
|
33
33
|
var UserTag = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/Userid.js
CHANGED
|
@@ -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.71
|
|
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 Userid model module.
|
|
28
28
|
* @module model/Userid
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var Userid = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Video.js
CHANGED
|
@@ -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.71
|
|
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 Video model module.
|
|
28
28
|
* @module model/Video
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var Video = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -95,6 +95,12 @@ var Video = /*#__PURE__*/function () {
|
|
|
95
95
|
if (data.hasOwnProperty('url')) {
|
|
96
96
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
97
97
|
}
|
|
98
|
+
if (data.hasOwnProperty('containerObjectType')) {
|
|
99
|
+
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('containerObjectID')) {
|
|
102
|
+
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
103
|
+
}
|
|
98
104
|
if (data.hasOwnProperty('videoType')) {
|
|
99
105
|
obj['videoType'] = _ApiClient["default"].convertToType(data['videoType'], 'Number');
|
|
100
106
|
}
|
|
@@ -107,12 +113,6 @@ var Video = /*#__PURE__*/function () {
|
|
|
107
113
|
if (data.hasOwnProperty('hostKey')) {
|
|
108
114
|
obj['hostKey'] = _ApiClient["default"].convertToType(data['hostKey'], 'String');
|
|
109
115
|
}
|
|
110
|
-
if (data.hasOwnProperty('containerObjectType')) {
|
|
111
|
-
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
112
|
-
}
|
|
113
|
-
if (data.hasOwnProperty('containerObjectID')) {
|
|
114
|
-
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
115
|
-
}
|
|
116
116
|
if (data.hasOwnProperty('contenttype')) {
|
|
117
117
|
obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
|
|
118
118
|
}
|
|
@@ -226,6 +226,16 @@ Video.prototype['videoProcessingStatus'] = undefined;
|
|
|
226
226
|
*/
|
|
227
227
|
Video.prototype['url'] = undefined;
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @member {Number} containerObjectType
|
|
231
|
+
*/
|
|
232
|
+
Video.prototype['containerObjectType'] = undefined;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @member {Number} containerObjectID
|
|
236
|
+
*/
|
|
237
|
+
Video.prototype['containerObjectID'] = undefined;
|
|
238
|
+
|
|
229
239
|
/**
|
|
230
240
|
* @member {Number} videoType
|
|
231
241
|
*/
|
|
@@ -246,16 +256,6 @@ Video.prototype['thumbnailImages'] = undefined;
|
|
|
246
256
|
*/
|
|
247
257
|
Video.prototype['hostKey'] = undefined;
|
|
248
258
|
|
|
249
|
-
/**
|
|
250
|
-
* @member {Number} containerObjectType
|
|
251
|
-
*/
|
|
252
|
-
Video.prototype['containerObjectType'] = undefined;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @member {Number} containerObjectID
|
|
256
|
-
*/
|
|
257
|
-
Video.prototype['containerObjectID'] = undefined;
|
|
258
|
-
|
|
259
259
|
/**
|
|
260
260
|
* @member {String} contenttype
|
|
261
261
|
*/
|
|
@@ -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.71
|
|
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 VideoLiveUrl model module.
|
|
28
28
|
* @module model/VideoLiveUrl
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var VideoLiveUrl = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -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.71
|
|
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 VideoSchema model module.
|
|
29
29
|
* @module model/VideoSchema
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.71
|
|
31
31
|
*/
|
|
32
32
|
var VideoSchema = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -60,15 +60,15 @@ var VideoSchema = /*#__PURE__*/function () {
|
|
|
60
60
|
value: function constructFromObject(data, obj) {
|
|
61
61
|
if (data) {
|
|
62
62
|
obj = obj || new VideoSchema();
|
|
63
|
+
if (data.hasOwnProperty('creatorpageid')) {
|
|
64
|
+
obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
|
|
65
|
+
}
|
|
63
66
|
if (data.hasOwnProperty('dataurl')) {
|
|
64
67
|
obj['dataurl'] = _ApiClient["default"].convertToType(data['dataurl'], 'String');
|
|
65
68
|
}
|
|
66
69
|
if (data.hasOwnProperty('liveUrl')) {
|
|
67
70
|
obj['liveUrl'] = _VideoLiveUrl["default"].constructFromObject(data['liveUrl']);
|
|
68
71
|
}
|
|
69
|
-
if (data.hasOwnProperty('creatorpageid')) {
|
|
70
|
-
obj['creatorpageid'] = _ApiClient["default"].convertToType(data['creatorpageid'], 'Number');
|
|
71
|
-
}
|
|
72
72
|
if (data.hasOwnProperty('name')) {
|
|
73
73
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
74
74
|
}
|
|
@@ -105,6 +105,12 @@ var VideoSchema = /*#__PURE__*/function () {
|
|
|
105
105
|
if (data.hasOwnProperty('url')) {
|
|
106
106
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
107
107
|
}
|
|
108
|
+
if (data.hasOwnProperty('containerObjectType')) {
|
|
109
|
+
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
110
|
+
}
|
|
111
|
+
if (data.hasOwnProperty('containerObjectID')) {
|
|
112
|
+
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
113
|
+
}
|
|
108
114
|
if (data.hasOwnProperty('videoType')) {
|
|
109
115
|
obj['videoType'] = _ApiClient["default"].convertToType(data['videoType'], 'Number');
|
|
110
116
|
}
|
|
@@ -117,12 +123,6 @@ var VideoSchema = /*#__PURE__*/function () {
|
|
|
117
123
|
if (data.hasOwnProperty('hostKey')) {
|
|
118
124
|
obj['hostKey'] = _ApiClient["default"].convertToType(data['hostKey'], 'String');
|
|
119
125
|
}
|
|
120
|
-
if (data.hasOwnProperty('containerObjectType')) {
|
|
121
|
-
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
122
|
-
}
|
|
123
|
-
if (data.hasOwnProperty('containerObjectID')) {
|
|
124
|
-
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
125
|
-
}
|
|
126
126
|
if (data.hasOwnProperty('contenttype')) {
|
|
127
127
|
obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
|
|
128
128
|
}
|
|
@@ -185,6 +185,11 @@ var VideoSchema = /*#__PURE__*/function () {
|
|
|
185
185
|
}
|
|
186
186
|
}]);
|
|
187
187
|
}();
|
|
188
|
+
/**
|
|
189
|
+
* @member {Number} creatorpageid
|
|
190
|
+
*/
|
|
191
|
+
VideoSchema.prototype['creatorpageid'] = undefined;
|
|
192
|
+
|
|
188
193
|
/**
|
|
189
194
|
* @member {String} dataurl
|
|
190
195
|
*/
|
|
@@ -195,11 +200,6 @@ VideoSchema.prototype['dataurl'] = undefined;
|
|
|
195
200
|
*/
|
|
196
201
|
VideoSchema.prototype['liveUrl'] = undefined;
|
|
197
202
|
|
|
198
|
-
/**
|
|
199
|
-
* @member {Number} creatorpageid
|
|
200
|
-
*/
|
|
201
|
-
VideoSchema.prototype['creatorpageid'] = undefined;
|
|
202
|
-
|
|
203
203
|
/**
|
|
204
204
|
* @member {String} name
|
|
205
205
|
*/
|
|
@@ -260,6 +260,16 @@ VideoSchema.prototype['videoProcessingStatus'] = undefined;
|
|
|
260
260
|
*/
|
|
261
261
|
VideoSchema.prototype['url'] = undefined;
|
|
262
262
|
|
|
263
|
+
/**
|
|
264
|
+
* @member {Number} containerObjectType
|
|
265
|
+
*/
|
|
266
|
+
VideoSchema.prototype['containerObjectType'] = undefined;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @member {Number} containerObjectID
|
|
270
|
+
*/
|
|
271
|
+
VideoSchema.prototype['containerObjectID'] = undefined;
|
|
272
|
+
|
|
263
273
|
/**
|
|
264
274
|
* @member {Number} videoType
|
|
265
275
|
*/
|
|
@@ -280,16 +290,6 @@ VideoSchema.prototype['thumbnailImages'] = undefined;
|
|
|
280
290
|
*/
|
|
281
291
|
VideoSchema.prototype['hostKey'] = undefined;
|
|
282
292
|
|
|
283
|
-
/**
|
|
284
|
-
* @member {Number} containerObjectType
|
|
285
|
-
*/
|
|
286
|
-
VideoSchema.prototype['containerObjectType'] = undefined;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* @member {Number} containerObjectID
|
|
290
|
-
*/
|
|
291
|
-
VideoSchema.prototype['containerObjectID'] = undefined;
|
|
292
|
-
|
|
293
293
|
/**
|
|
294
294
|
* @member {String} contenttype
|
|
295
295
|
*/
|
|
@@ -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.71
|
|
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 VideoUploadObject model module.
|
|
28
28
|
* @module model/VideoUploadObject
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.71
|
|
30
30
|
*/
|
|
31
31
|
var VideoUploadObject = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -95,6 +95,12 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
95
95
|
if (data.hasOwnProperty('url')) {
|
|
96
96
|
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
97
97
|
}
|
|
98
|
+
if (data.hasOwnProperty('containerObjectType')) {
|
|
99
|
+
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('containerObjectID')) {
|
|
102
|
+
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
103
|
+
}
|
|
98
104
|
if (data.hasOwnProperty('videoType')) {
|
|
99
105
|
obj['videoType'] = _ApiClient["default"].convertToType(data['videoType'], 'Number');
|
|
100
106
|
}
|
|
@@ -107,12 +113,6 @@ var VideoUploadObject = /*#__PURE__*/function () {
|
|
|
107
113
|
if (data.hasOwnProperty('hostKey')) {
|
|
108
114
|
obj['hostKey'] = _ApiClient["default"].convertToType(data['hostKey'], 'String');
|
|
109
115
|
}
|
|
110
|
-
if (data.hasOwnProperty('containerObjectType')) {
|
|
111
|
-
obj['containerObjectType'] = _ApiClient["default"].convertToType(data['containerObjectType'], 'Number');
|
|
112
|
-
}
|
|
113
|
-
if (data.hasOwnProperty('containerObjectID')) {
|
|
114
|
-
obj['containerObjectID'] = _ApiClient["default"].convertToType(data['containerObjectID'], 'Number');
|
|
115
|
-
}
|
|
116
116
|
if (data.hasOwnProperty('contenttype')) {
|
|
117
117
|
obj['contenttype'] = _ApiClient["default"].convertToType(data['contenttype'], 'String');
|
|
118
118
|
}
|
|
@@ -226,6 +226,16 @@ VideoUploadObject.prototype['videoProcessingStatus'] = undefined;
|
|
|
226
226
|
*/
|
|
227
227
|
VideoUploadObject.prototype['url'] = undefined;
|
|
228
228
|
|
|
229
|
+
/**
|
|
230
|
+
* @member {Number} containerObjectType
|
|
231
|
+
*/
|
|
232
|
+
VideoUploadObject.prototype['containerObjectType'] = undefined;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @member {Number} containerObjectID
|
|
236
|
+
*/
|
|
237
|
+
VideoUploadObject.prototype['containerObjectID'] = undefined;
|
|
238
|
+
|
|
229
239
|
/**
|
|
230
240
|
* @member {Number} videoType
|
|
231
241
|
*/
|
|
@@ -246,16 +256,6 @@ VideoUploadObject.prototype['thumbnailImages'] = undefined;
|
|
|
246
256
|
*/
|
|
247
257
|
VideoUploadObject.prototype['hostKey'] = undefined;
|
|
248
258
|
|
|
249
|
-
/**
|
|
250
|
-
* @member {Number} containerObjectType
|
|
251
|
-
*/
|
|
252
|
-
VideoUploadObject.prototype['containerObjectType'] = undefined;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @member {Number} containerObjectID
|
|
256
|
-
*/
|
|
257
|
-
VideoUploadObject.prototype['containerObjectID'] = undefined;
|
|
258
|
-
|
|
259
259
|
/**
|
|
260
260
|
* @member {String} contenttype
|
|
261
261
|
*/
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
|
+
* gobodo-api
|
|
19
|
+
* REST Interface for Gobodo API
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 0.1.71
|
|
22
|
+
* Contact: info@gobodo.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The WalletHoldInput model module.
|
|
31
|
+
* @module model/WalletHoldInput
|
|
32
|
+
* @version 0.1.71
|
|
33
|
+
*/
|
|
34
|
+
var WalletHoldInput = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>WalletHoldInput</code>.
|
|
37
|
+
* @alias module:model/WalletHoldInput
|
|
38
|
+
* @param walletId {Number}
|
|
39
|
+
* @param holderId {Number}
|
|
40
|
+
* @param currencyId {Number}
|
|
41
|
+
* @param amount {Number}
|
|
42
|
+
* @param data {Object}
|
|
43
|
+
*/
|
|
44
|
+
function WalletHoldInput(walletId, holderId, currencyId, amount, data) {
|
|
45
|
+
_classCallCheck(this, WalletHoldInput);
|
|
46
|
+
WalletHoldInput.initialize(this, walletId, holderId, currencyId, amount, data);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Initializes the fields of this object.
|
|
51
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
52
|
+
* Only for internal use.
|
|
53
|
+
*/
|
|
54
|
+
return _createClass(WalletHoldInput, null, [{
|
|
55
|
+
key: "initialize",
|
|
56
|
+
value: function initialize(obj, walletId, holderId, currencyId, amount, data) {
|
|
57
|
+
obj['walletId'] = walletId;
|
|
58
|
+
obj['holderId'] = holderId;
|
|
59
|
+
obj['currencyId'] = currencyId;
|
|
60
|
+
obj['amount'] = amount;
|
|
61
|
+
obj['data'] = data;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Constructs a <code>WalletHoldInput</code> from a plain JavaScript object, optionally creating a new instance.
|
|
66
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
67
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
68
|
+
* @param {module:model/WalletHoldInput} obj Optional instance to populate.
|
|
69
|
+
* @return {module:model/WalletHoldInput} The populated <code>WalletHoldInput</code> instance.
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "constructFromObject",
|
|
73
|
+
value: function constructFromObject(data, obj) {
|
|
74
|
+
if (data) {
|
|
75
|
+
obj = obj || new WalletHoldInput();
|
|
76
|
+
if (data.hasOwnProperty('walletId')) {
|
|
77
|
+
obj['walletId'] = _ApiClient["default"].convertToType(data['walletId'], 'Number');
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('holderId')) {
|
|
80
|
+
obj['holderId'] = _ApiClient["default"].convertToType(data['holderId'], 'Number');
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('currencyId')) {
|
|
83
|
+
obj['currencyId'] = _ApiClient["default"].convertToType(data['currencyId'], 'Number');
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('amount')) {
|
|
86
|
+
obj['amount'] = _ApiClient["default"].convertToType(data['amount'], 'Number');
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('data')) {
|
|
89
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return obj;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Validates the JSON data with respect to <code>WalletHoldInput</code>.
|
|
97
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
98
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>WalletHoldInput</code>.
|
|
99
|
+
*/
|
|
100
|
+
}, {
|
|
101
|
+
key: "validateJSON",
|
|
102
|
+
value: function validateJSON(data) {
|
|
103
|
+
// check to make sure all required properties are present in the JSON string
|
|
104
|
+
var _iterator = _createForOfIteratorHelper(WalletHoldInput.RequiredProperties),
|
|
105
|
+
_step;
|
|
106
|
+
try {
|
|
107
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
108
|
+
var property = _step.value;
|
|
109
|
+
if (!data[property]) {
|
|
110
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
} catch (err) {
|
|
114
|
+
_iterator.e(err);
|
|
115
|
+
} finally {
|
|
116
|
+
_iterator.f();
|
|
117
|
+
}
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
}]);
|
|
121
|
+
}();
|
|
122
|
+
WalletHoldInput.RequiredProperties = ["walletId", "holderId", "currencyId", "amount", "data"];
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @member {Number} walletId
|
|
126
|
+
*/
|
|
127
|
+
WalletHoldInput.prototype['walletId'] = undefined;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @member {Number} holderId
|
|
131
|
+
*/
|
|
132
|
+
WalletHoldInput.prototype['holderId'] = undefined;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @member {Number} currencyId
|
|
136
|
+
*/
|
|
137
|
+
WalletHoldInput.prototype['currencyId'] = undefined;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @member {Number} amount
|
|
141
|
+
*/
|
|
142
|
+
WalletHoldInput.prototype['amount'] = undefined;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @member {Object} data
|
|
146
|
+
*/
|
|
147
|
+
WalletHoldInput.prototype['data'] = undefined;
|
|
148
|
+
var _default = exports["default"] = WalletHoldInput;
|