@gobodo/gobodo-api 0.1.78 → 0.1.80
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 +14 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.js +2 -2
- 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/GobodoManagementApi.js +323 -0
- 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 +109 -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 +56 -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 +2 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/api/WalletsApi.js +2 -2
- package/dist/index.js +35 -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/Article.js +9 -9
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.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 +9 -9
- package/dist/model/ConsoleProjectInput.js +134 -0
- package/dist/model/ConsoleProjectResponse.js +117 -0
- 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 +9 -9
- package/dist/model/CurrencyGrantInput.js +2 -2
- package/dist/model/CurrencyGrantResponse.js +2 -2
- package/dist/model/CurrencyInput.js +2 -2
- package/dist/model/CurrencyMinterRegistrationInput.js +2 -2
- package/dist/model/CurrencyResponse.js +2 -2
- 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 +15 -15
- 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 +9 -9
- package/dist/model/DocumentPart.js +18 -18
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +10 -10
- package/dist/model/EmailAddress.js +13 -13
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +2 -2
- package/dist/model/File.js +14 -14
- package/dist/model/FileAttachmentUploadObject.js +14 -14
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +13 -13
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +14 -14
- 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 +37 -37
- 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/GraphIteratorEntryPartStackTraceInner.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 +10 -10
- package/dist/model/GraphObjectTypeInput.js +296 -0
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +10 -10
- 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 +2 -2
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphSchema.js +10 -10
- package/dist/model/GraphSchemaInput.js +156 -0
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +14 -14
- package/dist/model/ImageUploadObject.js +14 -14
- package/dist/model/InputPart.js +12 -12
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +14 -14
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +9 -9
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/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 +10 -10
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.js +9 -9
- package/dist/model/PageSchema.js +18 -18
- 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 +2 -2
- 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 +14 -14
- package/dist/model/PrivateMessageConversation.js +58 -58
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/Project.js +117 -0
- package/dist/model/ProjectInput.js +134 -0
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurchaseInput.js +2 -2
- package/dist/model/PurchaseResponse.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +18 -18
- 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 +2 -2
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +14 -14
- 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 +10 -10
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.js +10 -10
- 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 +2 -2
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +9 -9
- package/dist/model/UserDataPayload.js +9 -9
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +2 -2
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +9 -9
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +14 -14
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +14 -14
- package/dist/model/VideoUploadObject.js +14 -14
- package/dist/model/WalletHoldInput.js +2 -2
- package/dist/model/WalletHoldResponse.js +2 -2
- package/dist/model/WalletPayoutInput.js +2 -2
- package/dist/model/WalletPayoutResponse.js +2 -2
- package/dist/model/WalletResponse.js +2 -2
- package/dist/model/ZeusPortalCategory.js +23 -23
- 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.80
|
|
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 PrivateMessage model module.
|
|
29
29
|
* @module model/PrivateMessage
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.80
|
|
31
31
|
*/
|
|
32
32
|
var PrivateMessage = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -63,15 +63,15 @@ var PrivateMessage = /*#__PURE__*/function () {
|
|
|
63
63
|
if (data.hasOwnProperty('status')) {
|
|
64
64
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
65
65
|
}
|
|
66
|
+
if (data.hasOwnProperty('conversationid')) {
|
|
67
|
+
obj['conversationid'] = _PrivateMessageConversation["default"].constructFromObject(data['conversationid']);
|
|
68
|
+
}
|
|
66
69
|
if (data.hasOwnProperty('unfilteredMessage')) {
|
|
67
70
|
obj['unfilteredMessage'] = _ApiClient["default"].convertToType(data['unfilteredMessage'], 'String');
|
|
68
71
|
}
|
|
69
72
|
if (data.hasOwnProperty('call')) {
|
|
70
73
|
obj['call'] = _ApiClient["default"].convertToType(data['call'], 'Boolean');
|
|
71
74
|
}
|
|
72
|
-
if (data.hasOwnProperty('conversationid')) {
|
|
73
|
-
obj['conversationid'] = _PrivateMessageConversation["default"].constructFromObject(data['conversationid']);
|
|
74
|
-
}
|
|
75
75
|
if (data.hasOwnProperty('parentid')) {
|
|
76
76
|
obj['parentid'] = _ApiClient["default"].convertToType(data['parentid'], 'Number');
|
|
77
77
|
}
|
|
@@ -121,16 +121,16 @@ var PrivateMessage = /*#__PURE__*/function () {
|
|
|
121
121
|
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
122
122
|
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
123
123
|
}
|
|
124
|
-
// ensure the json data is a string
|
|
125
|
-
if (data['unfilteredMessage'] && !(typeof data['unfilteredMessage'] === 'string' || data['unfilteredMessage'] instanceof String)) {
|
|
126
|
-
throw new Error("Expected the field `unfilteredMessage` to be a primitive type in the JSON string but got " + data['unfilteredMessage']);
|
|
127
|
-
}
|
|
128
124
|
// validate the optional field `conversationid`
|
|
129
125
|
if (data['conversationid']) {
|
|
130
126
|
// data not null
|
|
131
127
|
_PrivateMessageConversation["default"].validateJSON(data['conversationid']);
|
|
132
128
|
}
|
|
133
129
|
// ensure the json data is a string
|
|
130
|
+
if (data['unfilteredMessage'] && !(typeof data['unfilteredMessage'] === 'string' || data['unfilteredMessage'] instanceof String)) {
|
|
131
|
+
throw new Error("Expected the field `unfilteredMessage` to be a primitive type in the JSON string but got " + data['unfilteredMessage']);
|
|
132
|
+
}
|
|
133
|
+
// ensure the json data is a string
|
|
134
134
|
if (data['body'] && !(typeof data['body'] === 'string' || data['body'] instanceof String)) {
|
|
135
135
|
throw new Error("Expected the field `body` to be a primitive type in the JSON string but got " + data['body']);
|
|
136
136
|
}
|
|
@@ -147,6 +147,11 @@ var PrivateMessage = /*#__PURE__*/function () {
|
|
|
147
147
|
*/
|
|
148
148
|
PrivateMessage.prototype['status'] = undefined;
|
|
149
149
|
|
|
150
|
+
/**
|
|
151
|
+
* @member {module:model/PrivateMessageConversation} conversationid
|
|
152
|
+
*/
|
|
153
|
+
PrivateMessage.prototype['conversationid'] = undefined;
|
|
154
|
+
|
|
150
155
|
/**
|
|
151
156
|
* @member {String} unfilteredMessage
|
|
152
157
|
*/
|
|
@@ -157,11 +162,6 @@ PrivateMessage.prototype['unfilteredMessage'] = undefined;
|
|
|
157
162
|
*/
|
|
158
163
|
PrivateMessage.prototype['call'] = undefined;
|
|
159
164
|
|
|
160
|
-
/**
|
|
161
|
-
* @member {module:model/PrivateMessageConversation} conversationid
|
|
162
|
-
*/
|
|
163
|
-
PrivateMessage.prototype['conversationid'] = undefined;
|
|
164
|
-
|
|
165
165
|
/**
|
|
166
166
|
* @member {Number} parentid
|
|
167
167
|
*/
|
|
@@ -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.80
|
|
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 PrivateMessageConversation model module.
|
|
28
28
|
* @module model/PrivateMessageConversation
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.80
|
|
30
30
|
*/
|
|
31
31
|
var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -65,21 +65,6 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
65
65
|
if (data.hasOwnProperty('status')) {
|
|
66
66
|
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
67
67
|
}
|
|
68
|
-
if (data.hasOwnProperty('participants')) {
|
|
69
|
-
obj['participants'] = _ApiClient["default"].convertToType(data['participants'], 'String');
|
|
70
|
-
}
|
|
71
|
-
if (data.hasOwnProperty('firstmessage')) {
|
|
72
|
-
obj['firstmessage'] = _ApiClient["default"].convertToType(data['firstmessage'], 'String');
|
|
73
|
-
}
|
|
74
|
-
if (data.hasOwnProperty('creator')) {
|
|
75
|
-
obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'String');
|
|
76
|
-
}
|
|
77
|
-
if (data.hasOwnProperty('childconversations')) {
|
|
78
|
-
obj['childconversations'] = _ApiClient["default"].convertToType(data['childconversations'], 'String');
|
|
79
|
-
}
|
|
80
|
-
if (data.hasOwnProperty('groupedMessages')) {
|
|
81
|
-
obj['groupedMessages'] = _ApiClient["default"].convertToType(data['groupedMessages'], Object);
|
|
82
|
-
}
|
|
83
68
|
if (data.hasOwnProperty('participantcount')) {
|
|
84
69
|
obj['participantcount'] = _ApiClient["default"].convertToType(data['participantcount'], 'Number');
|
|
85
70
|
}
|
|
@@ -92,9 +77,24 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
92
77
|
if (data.hasOwnProperty('messages')) {
|
|
93
78
|
obj['messages'] = _ApiClient["default"].convertToType(data['messages'], 'String');
|
|
94
79
|
}
|
|
80
|
+
if (data.hasOwnProperty('childconversations')) {
|
|
81
|
+
obj['childconversations'] = _ApiClient["default"].convertToType(data['childconversations'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('groupedMessages')) {
|
|
84
|
+
obj['groupedMessages'] = _ApiClient["default"].convertToType(data['groupedMessages'], Object);
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('creator')) {
|
|
87
|
+
obj['creator'] = _ApiClient["default"].convertToType(data['creator'], 'String');
|
|
88
|
+
}
|
|
95
89
|
if (data.hasOwnProperty('parent')) {
|
|
96
90
|
obj['parent'] = _ApiClient["default"].convertToType(data['parent'], 'String');
|
|
97
91
|
}
|
|
92
|
+
if (data.hasOwnProperty('participants')) {
|
|
93
|
+
obj['participants'] = _ApiClient["default"].convertToType(data['participants'], 'String');
|
|
94
|
+
}
|
|
95
|
+
if (data.hasOwnProperty('firstmessage')) {
|
|
96
|
+
obj['firstmessage'] = _ApiClient["default"].convertToType(data['firstmessage'], 'String');
|
|
97
|
+
}
|
|
98
98
|
if (data.hasOwnProperty('data')) {
|
|
99
99
|
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
100
100
|
}
|
|
@@ -122,36 +122,36 @@ var PrivateMessageConversation = /*#__PURE__*/function () {
|
|
|
122
122
|
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
123
123
|
}
|
|
124
124
|
// ensure the json data is a string
|
|
125
|
-
if (data['
|
|
126
|
-
throw new Error("Expected the field `
|
|
125
|
+
if (data['lastparticipantnotself'] && !(typeof data['lastparticipantnotself'] === 'string' || data['lastparticipantnotself'] instanceof String)) {
|
|
126
|
+
throw new Error("Expected the field `lastparticipantnotself` to be a primitive type in the JSON string but got " + data['lastparticipantnotself']);
|
|
127
127
|
}
|
|
128
128
|
// ensure the json data is a string
|
|
129
|
-
if (data['
|
|
130
|
-
throw new Error("Expected the field `
|
|
129
|
+
if (data['lastmessage'] && !(typeof data['lastmessage'] === 'string' || data['lastmessage'] instanceof String)) {
|
|
130
|
+
throw new Error("Expected the field `lastmessage` to be a primitive type in the JSON string but got " + data['lastmessage']);
|
|
131
131
|
}
|
|
132
132
|
// ensure the json data is a string
|
|
133
|
-
if (data['
|
|
134
|
-
throw new Error("Expected the field `
|
|
133
|
+
if (data['messages'] && !(typeof data['messages'] === 'string' || data['messages'] instanceof String)) {
|
|
134
|
+
throw new Error("Expected the field `messages` to be a primitive type in the JSON string but got " + data['messages']);
|
|
135
135
|
}
|
|
136
136
|
// ensure the json data is a string
|
|
137
137
|
if (data['childconversations'] && !(typeof data['childconversations'] === 'string' || data['childconversations'] instanceof String)) {
|
|
138
138
|
throw new Error("Expected the field `childconversations` to be a primitive type in the JSON string but got " + data['childconversations']);
|
|
139
139
|
}
|
|
140
140
|
// ensure the json data is a string
|
|
141
|
-
if (data['
|
|
142
|
-
throw new Error("Expected the field `
|
|
141
|
+
if (data['creator'] && !(typeof data['creator'] === 'string' || data['creator'] instanceof String)) {
|
|
142
|
+
throw new Error("Expected the field `creator` to be a primitive type in the JSON string but got " + data['creator']);
|
|
143
143
|
}
|
|
144
144
|
// ensure the json data is a string
|
|
145
|
-
if (data['
|
|
146
|
-
throw new Error("Expected the field `
|
|
145
|
+
if (data['parent'] && !(typeof data['parent'] === 'string' || data['parent'] instanceof String)) {
|
|
146
|
+
throw new Error("Expected the field `parent` to be a primitive type in the JSON string but got " + data['parent']);
|
|
147
147
|
}
|
|
148
148
|
// ensure the json data is a string
|
|
149
|
-
if (data['
|
|
150
|
-
throw new Error("Expected the field `
|
|
149
|
+
if (data['participants'] && !(typeof data['participants'] === 'string' || data['participants'] instanceof String)) {
|
|
150
|
+
throw new Error("Expected the field `participants` to be a primitive type in the JSON string but got " + data['participants']);
|
|
151
151
|
}
|
|
152
152
|
// ensure the json data is a string
|
|
153
|
-
if (data['
|
|
154
|
-
throw new Error("Expected the field `
|
|
153
|
+
if (data['firstmessage'] && !(typeof data['firstmessage'] === 'string' || data['firstmessage'] instanceof String)) {
|
|
154
|
+
throw new Error("Expected the field `firstmessage` to be a primitive type in the JSON string but got " + data['firstmessage']);
|
|
155
155
|
}
|
|
156
156
|
return true;
|
|
157
157
|
}
|
|
@@ -170,22 +170,28 @@ PrivateMessageConversation.prototype['subject'] = undefined;
|
|
|
170
170
|
PrivateMessageConversation.prototype['status'] = undefined;
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @member {
|
|
173
|
+
* Number of participants in this conversation
|
|
174
|
+
* @member {Number} participantcount
|
|
175
175
|
*/
|
|
176
|
-
PrivateMessageConversation.prototype['
|
|
176
|
+
PrivateMessageConversation.prototype['participantcount'] = undefined;
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* The
|
|
180
|
-
* @member {String}
|
|
179
|
+
* The last participant in this conversation other than the logged in user
|
|
180
|
+
* @member {String} lastparticipantnotself
|
|
181
181
|
*/
|
|
182
|
-
PrivateMessageConversation.prototype['
|
|
182
|
+
PrivateMessageConversation.prototype['lastparticipantnotself'] = undefined;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* The
|
|
186
|
-
* @member {String}
|
|
185
|
+
* The last message in this conversation
|
|
186
|
+
* @member {String} lastmessage
|
|
187
187
|
*/
|
|
188
|
-
PrivateMessageConversation.prototype['
|
|
188
|
+
PrivateMessageConversation.prototype['lastmessage'] = undefined;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* The messages in this conversation
|
|
192
|
+
* @member {String} messages
|
|
193
|
+
*/
|
|
194
|
+
PrivateMessageConversation.prototype['messages'] = undefined;
|
|
189
195
|
|
|
190
196
|
/**
|
|
191
197
|
* The child conversations
|
|
@@ -199,34 +205,28 @@ PrivateMessageConversation.prototype['childconversations'] = undefined;
|
|
|
199
205
|
PrivateMessageConversation.prototype['groupedMessages'] = undefined;
|
|
200
206
|
|
|
201
207
|
/**
|
|
202
|
-
*
|
|
203
|
-
* @member {
|
|
204
|
-
*/
|
|
205
|
-
PrivateMessageConversation.prototype['participantcount'] = undefined;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* The last participant in this conversation other than the logged in user
|
|
209
|
-
* @member {String} lastparticipantnotself
|
|
208
|
+
* The creator of this conversation
|
|
209
|
+
* @member {String} creator
|
|
210
210
|
*/
|
|
211
|
-
PrivateMessageConversation.prototype['
|
|
211
|
+
PrivateMessageConversation.prototype['creator'] = undefined;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
-
* The
|
|
215
|
-
* @member {String}
|
|
214
|
+
* The parent conversation
|
|
215
|
+
* @member {String} parent
|
|
216
216
|
*/
|
|
217
|
-
PrivateMessageConversation.prototype['
|
|
217
|
+
PrivateMessageConversation.prototype['parent'] = undefined;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
|
-
* The
|
|
221
|
-
* @member {String}
|
|
220
|
+
* The participants in this conversation
|
|
221
|
+
* @member {String} participants
|
|
222
222
|
*/
|
|
223
|
-
PrivateMessageConversation.prototype['
|
|
223
|
+
PrivateMessageConversation.prototype['participants'] = undefined;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* The
|
|
227
|
-
* @member {String}
|
|
226
|
+
* The first message in this conversation
|
|
227
|
+
* @member {String} firstmessage
|
|
228
228
|
*/
|
|
229
|
-
PrivateMessageConversation.prototype['
|
|
229
|
+
PrivateMessageConversation.prototype['firstmessage'] = undefined;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* @member {Object} data
|
|
@@ -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.80
|
|
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 PrivateMessageConversationSchema model module.
|
|
31
31
|
* @module model/PrivateMessageConversationSchema
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.80
|
|
33
33
|
*/
|
|
34
34
|
var PrivateMessageConversationSchema = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Profile.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.80
|
|
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 Profile model module.
|
|
30
30
|
* @module model/Profile
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.80
|
|
32
32
|
*/
|
|
33
33
|
var Profile = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -20,7 +20,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
20
20
|
* gobodo-api
|
|
21
21
|
* REST Interface for Gobodo API
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
23
|
+
* The version of the OpenAPI document: 0.1.80
|
|
24
24
|
* Contact: info@gobodo.io
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The Profiletype model module.
|
|
33
33
|
* @module model/Profiletype
|
|
34
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.80
|
|
35
35
|
*/
|
|
36
36
|
var Profiletype = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -0,0 +1,117 @@
|
|
|
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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
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); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
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); } /**
|
|
15
|
+
* gobodo-api
|
|
16
|
+
* REST Interface for Gobodo API
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 0.1.80
|
|
19
|
+
* Contact: info@gobodo.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The Project model module.
|
|
28
|
+
* @module model/Project
|
|
29
|
+
* @version 0.1.80
|
|
30
|
+
*/
|
|
31
|
+
var Project = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>Project</code>.
|
|
34
|
+
* @alias module:model/Project
|
|
35
|
+
*/
|
|
36
|
+
function Project() {
|
|
37
|
+
_classCallCheck(this, Project);
|
|
38
|
+
Project.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
return _createClass(Project, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>Project</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
+
* @param {module:model/Project} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/Project} The populated <code>Project</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new Project();
|
|
62
|
+
if (data.hasOwnProperty('id')) {
|
|
63
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('name')) {
|
|
66
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('description')) {
|
|
69
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('data')) {
|
|
72
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Validates the JSON data with respect to <code>Project</code>.
|
|
80
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
81
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Project</code>.
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "validateJSON",
|
|
85
|
+
value: function validateJSON(data) {
|
|
86
|
+
// ensure the json data is a string
|
|
87
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
88
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
89
|
+
}
|
|
90
|
+
// ensure the json data is a string
|
|
91
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
92
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
93
|
+
}
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
}]);
|
|
97
|
+
}();
|
|
98
|
+
/**
|
|
99
|
+
* @member {Number} id
|
|
100
|
+
*/
|
|
101
|
+
Project.prototype['id'] = undefined;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @member {String} name
|
|
105
|
+
*/
|
|
106
|
+
Project.prototype['name'] = undefined;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @member {String} description
|
|
110
|
+
*/
|
|
111
|
+
Project.prototype['description'] = undefined;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @member {Object} data
|
|
115
|
+
*/
|
|
116
|
+
Project.prototype['data'] = undefined;
|
|
117
|
+
var _default = exports["default"] = Project;
|
|
@@ -0,0 +1,134 @@
|
|
|
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.80
|
|
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 ProjectInput model module.
|
|
31
|
+
* @module model/ProjectInput
|
|
32
|
+
* @version 0.1.80
|
|
33
|
+
*/
|
|
34
|
+
var ProjectInput = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>ProjectInput</code>.
|
|
37
|
+
* @alias module:model/ProjectInput
|
|
38
|
+
* @param name {String}
|
|
39
|
+
* @param data {Object}
|
|
40
|
+
*/
|
|
41
|
+
function ProjectInput(name, data) {
|
|
42
|
+
_classCallCheck(this, ProjectInput);
|
|
43
|
+
ProjectInput.initialize(this, name, data);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initializes the fields of this object.
|
|
48
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
+
* Only for internal use.
|
|
50
|
+
*/
|
|
51
|
+
return _createClass(ProjectInput, null, [{
|
|
52
|
+
key: "initialize",
|
|
53
|
+
value: function initialize(obj, name, data) {
|
|
54
|
+
obj['name'] = name;
|
|
55
|
+
obj['data'] = data;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Constructs a <code>ProjectInput</code> from a plain JavaScript object, optionally creating a new instance.
|
|
60
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
61
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
62
|
+
* @param {module:model/ProjectInput} obj Optional instance to populate.
|
|
63
|
+
* @return {module:model/ProjectInput} The populated <code>ProjectInput</code> instance.
|
|
64
|
+
*/
|
|
65
|
+
}, {
|
|
66
|
+
key: "constructFromObject",
|
|
67
|
+
value: function constructFromObject(data, obj) {
|
|
68
|
+
if (data) {
|
|
69
|
+
obj = obj || new ProjectInput();
|
|
70
|
+
if (data.hasOwnProperty('name')) {
|
|
71
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('description')) {
|
|
74
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('data')) {
|
|
77
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return obj;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Validates the JSON data with respect to <code>ProjectInput</code>.
|
|
85
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
86
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ProjectInput</code>.
|
|
87
|
+
*/
|
|
88
|
+
}, {
|
|
89
|
+
key: "validateJSON",
|
|
90
|
+
value: function validateJSON(data) {
|
|
91
|
+
// check to make sure all required properties are present in the JSON string
|
|
92
|
+
var _iterator = _createForOfIteratorHelper(ProjectInput.RequiredProperties),
|
|
93
|
+
_step;
|
|
94
|
+
try {
|
|
95
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
96
|
+
var property = _step.value;
|
|
97
|
+
if (!data[property]) {
|
|
98
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
// ensure the json data is a string
|
|
102
|
+
} catch (err) {
|
|
103
|
+
_iterator.e(err);
|
|
104
|
+
} finally {
|
|
105
|
+
_iterator.f();
|
|
106
|
+
}
|
|
107
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
109
|
+
}
|
|
110
|
+
// ensure the json data is a string
|
|
111
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
113
|
+
}
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
}]);
|
|
117
|
+
}();
|
|
118
|
+
ProjectInput.RequiredProperties = ["name", "data"];
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @member {String} name
|
|
122
|
+
*/
|
|
123
|
+
ProjectInput.prototype['name'] = undefined;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @member {String} description
|
|
127
|
+
*/
|
|
128
|
+
ProjectInput.prototype['description'] = undefined;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @member {Object} data
|
|
132
|
+
*/
|
|
133
|
+
ProjectInput.prototype['data'] = undefined;
|
|
134
|
+
var _default = exports["default"] = ProjectInput;
|
|
@@ -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.80
|
|
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 PropertyContainer model module.
|
|
29
29
|
* @module model/PropertyContainer
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.80
|
|
31
31
|
*/
|
|
32
32
|
var PropertyContainer = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.80
|
|
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 PurchaseInput model module.
|
|
31
31
|
* @module model/PurchaseInput
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.80
|
|
33
33
|
*/
|
|
34
34
|
var PurchaseInput = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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.80
|
|
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 PurchaseResponse model module.
|
|
31
31
|
* @module model/PurchaseResponse
|
|
32
|
-
* @version 0.1.
|
|
32
|
+
* @version 0.1.80
|
|
33
33
|
*/
|
|
34
34
|
var PurchaseResponse = /*#__PURE__*/function () {
|
|
35
35
|
/**
|