@gobodo/gobodo-api-promise 0.1.44 → 0.1.46
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 +2 -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 +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +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/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +0 -7
- package/dist/model/APIClient.js +27 -27
- 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/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.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 +25 -25
- 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 +90 -90
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +25 -25
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +109 -109
- package/dist/model/DocumentPartType.js +23 -23
- package/dist/model/DocumentType.js +27 -27
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +39 -39
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/Graph.js +25 -25
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/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 +52 -52
- package/dist/model/ImageUploadObject.js +52 -52
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +27 -27
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +25 -25
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +25 -25
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +27 -27
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +8 -8
- 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 +25 -25
- 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 +29 -29
- package/dist/model/PrivateMessageConversation.js +59 -59
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +39 -39
- 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 +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +30 -30
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +30 -30
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +25 -25
- package/dist/model/UserDataPayload.js +25 -25
- 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 +25 -25
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +2 -2
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +2 -2
- package/dist/model/VideoUploadObject.js +2 -2
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +0 -234
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +0 -303
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +0 -187
- package/dist/model/Authorization.js +0 -166
- package/dist/model/GraphRelationObjectObject.js +0 -273
- package/dist/model/PathPathInner.js +0 -272
- package/dist/model/Traverse200ResponseInnerInner.js +0 -10
|
@@ -1,273 +0,0 @@
|
|
|
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(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
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(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(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.43
|
|
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 GraphRelationObjectObject model module.
|
|
28
|
-
* @module model/GraphRelationObjectObject
|
|
29
|
-
* @version 0.1.43
|
|
30
|
-
*/
|
|
31
|
-
var GraphRelationObjectObject = /*#__PURE__*/function () {
|
|
32
|
-
/**
|
|
33
|
-
* Constructs a new <code>GraphRelationObjectObject</code>.
|
|
34
|
-
* @alias module:model/GraphRelationObjectObject
|
|
35
|
-
*/
|
|
36
|
-
function GraphRelationObjectObject() {
|
|
37
|
-
_classCallCheck(this, GraphRelationObjectObject);
|
|
38
|
-
GraphRelationObjectObject.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
|
-
_createClass(GraphRelationObjectObject, [{
|
|
47
|
-
key: "getStartobject",
|
|
48
|
-
value:
|
|
49
|
-
/**
|
|
50
|
-
* Returns The Start Object of this Relationship
|
|
51
|
-
* @return {Object}
|
|
52
|
-
*/
|
|
53
|
-
function getStartobject() {
|
|
54
|
-
return this.startobject;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Sets The Start Object of this Relationship
|
|
59
|
-
* @param {Object} startobject The Start Object of this Relationship
|
|
60
|
-
*/
|
|
61
|
-
}, {
|
|
62
|
-
key: "setStartobject",
|
|
63
|
-
value: function setStartobject(startobject) {
|
|
64
|
-
this['startobject'] = startobject;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Returns The creation date of this relationship
|
|
68
|
-
* @return {Date}
|
|
69
|
-
*/
|
|
70
|
-
}, {
|
|
71
|
-
key: "getCreationdate",
|
|
72
|
-
value: function getCreationdate() {
|
|
73
|
-
return this.creationdate;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Sets The creation date of this relationship
|
|
78
|
-
* @param {Date} creationdate The creation date of this relationship
|
|
79
|
-
*/
|
|
80
|
-
}, {
|
|
81
|
-
key: "setCreationdate",
|
|
82
|
-
value: function setCreationdate(creationdate) {
|
|
83
|
-
this['creationdate'] = creationdate;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Returns The modification date of this relationship
|
|
87
|
-
* @return {Date}
|
|
88
|
-
*/
|
|
89
|
-
}, {
|
|
90
|
-
key: "getModificationdate",
|
|
91
|
-
value: function getModificationdate() {
|
|
92
|
-
return this.modificationdate;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Sets The modification date of this relationship
|
|
97
|
-
* @param {Date} modificationdate The modification date of this relationship
|
|
98
|
-
*/
|
|
99
|
-
}, {
|
|
100
|
-
key: "setModificationdate",
|
|
101
|
-
value: function setModificationdate(modificationdate) {
|
|
102
|
-
this['modificationdate'] = modificationdate;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Returns The End Object of this Relationship
|
|
106
|
-
* @return {Object}
|
|
107
|
-
*/
|
|
108
|
-
}, {
|
|
109
|
-
key: "getEndobject",
|
|
110
|
-
value: function getEndobject() {
|
|
111
|
-
return this.endobject;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Sets The End Object of this Relationship
|
|
116
|
-
* @param {Object} endobject The End Object of this Relationship
|
|
117
|
-
*/
|
|
118
|
-
}, {
|
|
119
|
-
key: "setEndobject",
|
|
120
|
-
value: function setEndobject(endobject) {
|
|
121
|
-
this['endobject'] = endobject;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Returns The unique key of this entity
|
|
125
|
-
* @return {String}
|
|
126
|
-
*/
|
|
127
|
-
}, {
|
|
128
|
-
key: "getKey",
|
|
129
|
-
value: function getKey() {
|
|
130
|
-
return this.key;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Sets The unique key of this entity
|
|
135
|
-
* @param {String} key The unique key of this entity
|
|
136
|
-
*/
|
|
137
|
-
}, {
|
|
138
|
-
key: "setKey",
|
|
139
|
-
value: function setKey(key) {
|
|
140
|
-
this['key'] = key;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* @return {Object}
|
|
144
|
-
*/
|
|
145
|
-
}, {
|
|
146
|
-
key: "getData",
|
|
147
|
-
value: function getData() {
|
|
148
|
-
return this.data;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @param {Object} data
|
|
153
|
-
*/
|
|
154
|
-
}, {
|
|
155
|
-
key: "setData",
|
|
156
|
-
value: function setData(data) {
|
|
157
|
-
this['data'] = data;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* @return {Number}
|
|
161
|
-
*/
|
|
162
|
-
}, {
|
|
163
|
-
key: "getId",
|
|
164
|
-
value: function getId() {
|
|
165
|
-
return this.id;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* @param {Number} id
|
|
170
|
-
*/
|
|
171
|
-
}, {
|
|
172
|
-
key: "setId",
|
|
173
|
-
value: function setId(id) {
|
|
174
|
-
this['id'] = id;
|
|
175
|
-
}
|
|
176
|
-
}], [{
|
|
177
|
-
key: "initialize",
|
|
178
|
-
value: function initialize(obj) {}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Constructs a <code>GraphRelationObjectObject</code> from a plain JavaScript object, optionally creating a new instance.
|
|
182
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
183
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
184
|
-
* @param {module:model/GraphRelationObjectObject} obj Optional instance to populate.
|
|
185
|
-
* @return {module:model/GraphRelationObjectObject} The populated <code>GraphRelationObjectObject</code> instance.
|
|
186
|
-
*/
|
|
187
|
-
}, {
|
|
188
|
-
key: "constructFromObject",
|
|
189
|
-
value: function constructFromObject(data, obj) {
|
|
190
|
-
if (data) {
|
|
191
|
-
obj = obj || new GraphRelationObjectObject();
|
|
192
|
-
if (data.hasOwnProperty('startobject')) {
|
|
193
|
-
obj['startobject'] = _ApiClient["default"].convertToType(data['startobject'], Object);
|
|
194
|
-
}
|
|
195
|
-
if (data.hasOwnProperty('creationdate')) {
|
|
196
|
-
obj['creationdate'] = _ApiClient["default"].convertToType(data['creationdate'], 'Date');
|
|
197
|
-
}
|
|
198
|
-
if (data.hasOwnProperty('modificationdate')) {
|
|
199
|
-
obj['modificationdate'] = _ApiClient["default"].convertToType(data['modificationdate'], 'Date');
|
|
200
|
-
}
|
|
201
|
-
if (data.hasOwnProperty('endobject')) {
|
|
202
|
-
obj['endobject'] = _ApiClient["default"].convertToType(data['endobject'], Object);
|
|
203
|
-
}
|
|
204
|
-
if (data.hasOwnProperty('key')) {
|
|
205
|
-
obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
|
|
206
|
-
}
|
|
207
|
-
if (data.hasOwnProperty('data')) {
|
|
208
|
-
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
209
|
-
}
|
|
210
|
-
if (data.hasOwnProperty('id')) {
|
|
211
|
-
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
return obj;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Validates the JSON data with respect to <code>GraphRelationObjectObject</code>.
|
|
219
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
220
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GraphRelationObjectObject</code>.
|
|
221
|
-
*/
|
|
222
|
-
}, {
|
|
223
|
-
key: "validateJSON",
|
|
224
|
-
value: function validateJSON(data) {
|
|
225
|
-
// ensure the json data is a string
|
|
226
|
-
if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
|
|
227
|
-
throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
|
|
228
|
-
}
|
|
229
|
-
return true;
|
|
230
|
-
}
|
|
231
|
-
}]);
|
|
232
|
-
return GraphRelationObjectObject;
|
|
233
|
-
}();
|
|
234
|
-
/**
|
|
235
|
-
* The Start Object of this Relationship
|
|
236
|
-
* @member {Object} startobject
|
|
237
|
-
*/
|
|
238
|
-
GraphRelationObjectObject.prototype['startobject'] = undefined;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* The creation date of this relationship
|
|
242
|
-
* @member {Date} creationdate
|
|
243
|
-
*/
|
|
244
|
-
GraphRelationObjectObject.prototype['creationdate'] = undefined;
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* The modification date of this relationship
|
|
248
|
-
* @member {Date} modificationdate
|
|
249
|
-
*/
|
|
250
|
-
GraphRelationObjectObject.prototype['modificationdate'] = undefined;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* The End Object of this Relationship
|
|
254
|
-
* @member {Object} endobject
|
|
255
|
-
*/
|
|
256
|
-
GraphRelationObjectObject.prototype['endobject'] = undefined;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* The unique key of this entity
|
|
260
|
-
* @member {String} key
|
|
261
|
-
*/
|
|
262
|
-
GraphRelationObjectObject.prototype['key'] = undefined;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* @member {Object} data
|
|
266
|
-
*/
|
|
267
|
-
GraphRelationObjectObject.prototype['data'] = undefined;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* @member {Number} id
|
|
271
|
-
*/
|
|
272
|
-
GraphRelationObjectObject.prototype['id'] = undefined;
|
|
273
|
-
var _default = exports["default"] = GraphRelationObjectObject;
|
|
@@ -1,272 +0,0 @@
|
|
|
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
|
-
var _GraphAction = _interopRequireDefault(require("./GraphAction"));
|
|
9
|
-
var _GraphObjectSchema = _interopRequireDefault(require("./GraphObjectSchema"));
|
|
10
|
-
var _GraphRelationship = _interopRequireDefault(require("./GraphRelationship"));
|
|
11
|
-
var _Image = _interopRequireDefault(require("./Image"));
|
|
12
|
-
var _Objecttype = _interopRequireDefault(require("./Objecttype"));
|
|
13
|
-
var _class;
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
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); }
|
|
16
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
18
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
21
|
-
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); } /**
|
|
22
|
-
* gobodo-api
|
|
23
|
-
* REST Interface for Gobodo API
|
|
24
|
-
*
|
|
25
|
-
* The version of the OpenAPI document: 0.1.44
|
|
26
|
-
* Contact: info@gobodo.io
|
|
27
|
-
*
|
|
28
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
29
|
-
* https://openapi-generator.tech
|
|
30
|
-
* Do not edit the class manually.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
/**
|
|
34
|
-
* The PathPathInner model module.
|
|
35
|
-
* @module model/PathPathInner
|
|
36
|
-
* @version 0.1.44
|
|
37
|
-
*/
|
|
38
|
-
var PathPathInner = /*#__PURE__*/function () {
|
|
39
|
-
/**
|
|
40
|
-
* Constructs a new <code>PathPathInner</code>.
|
|
41
|
-
* @alias module:model/PathPathInner
|
|
42
|
-
* @param {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} instance The actual instance to initialize PathPathInner.
|
|
43
|
-
*/
|
|
44
|
-
function PathPathInner() {
|
|
45
|
-
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
46
|
-
_classCallCheck(this, PathPathInner);
|
|
47
|
-
/**
|
|
48
|
-
* Returns the JSON representation of the actual instance.
|
|
49
|
-
* @return {string}
|
|
50
|
-
*/
|
|
51
|
-
_defineProperty(this, "toJSON", function () {
|
|
52
|
-
return this.getActualInstance();
|
|
53
|
-
});
|
|
54
|
-
if (instance === null) {
|
|
55
|
-
this.actualInstance = null;
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
var match = 0;
|
|
59
|
-
var errorMessages = [];
|
|
60
|
-
try {
|
|
61
|
-
if (typeof instance === "GraphRelationship") {
|
|
62
|
-
this.actualInstance = instance;
|
|
63
|
-
} else {
|
|
64
|
-
// plain JS object
|
|
65
|
-
// validate the object
|
|
66
|
-
_GraphRelationship["default"].validateJSON(instance); // throw an exception if no match
|
|
67
|
-
// create GraphRelationship from JS object
|
|
68
|
-
this.actualInstance = _GraphRelationship["default"].constructFromObject(instance);
|
|
69
|
-
}
|
|
70
|
-
match++;
|
|
71
|
-
} catch (err) {
|
|
72
|
-
// json data failed to deserialize into GraphRelationship
|
|
73
|
-
errorMessages.push("Failed to construct GraphRelationship: " + err);
|
|
74
|
-
}
|
|
75
|
-
try {
|
|
76
|
-
if (typeof instance === "GraphAction") {
|
|
77
|
-
this.actualInstance = instance;
|
|
78
|
-
} else {
|
|
79
|
-
// plain JS object
|
|
80
|
-
// validate the object
|
|
81
|
-
_GraphAction["default"].validateJSON(instance); // throw an exception if no match
|
|
82
|
-
// create GraphAction from JS object
|
|
83
|
-
this.actualInstance = _GraphAction["default"].constructFromObject(instance);
|
|
84
|
-
}
|
|
85
|
-
match++;
|
|
86
|
-
} catch (err) {
|
|
87
|
-
// json data failed to deserialize into GraphAction
|
|
88
|
-
errorMessages.push("Failed to construct GraphAction: " + err);
|
|
89
|
-
}
|
|
90
|
-
try {
|
|
91
|
-
if (typeof instance === "GraphObjectSchema") {
|
|
92
|
-
this.actualInstance = instance;
|
|
93
|
-
} else {
|
|
94
|
-
// plain JS object
|
|
95
|
-
// validate the object
|
|
96
|
-
_GraphObjectSchema["default"].validateJSON(instance); // throw an exception if no match
|
|
97
|
-
// create GraphObjectSchema from JS object
|
|
98
|
-
this.actualInstance = _GraphObjectSchema["default"].constructFromObject(instance);
|
|
99
|
-
}
|
|
100
|
-
match++;
|
|
101
|
-
} catch (err) {
|
|
102
|
-
// json data failed to deserialize into GraphObjectSchema
|
|
103
|
-
errorMessages.push("Failed to construct GraphObjectSchema: " + err);
|
|
104
|
-
}
|
|
105
|
-
if (match > 1) {
|
|
106
|
-
throw new Error("Multiple matches found constructing `PathPathInner` with oneOf schemas GraphAction, GraphObjectSchema, GraphRelationship. Input: " + JSON.stringify(instance));
|
|
107
|
-
} else if (match === 0) {
|
|
108
|
-
this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
109
|
-
throw new Error("No match found constructing `PathPathInner` with oneOf schemas GraphAction, GraphObjectSchema, GraphRelationship. Details: " + errorMessages.join(", "));
|
|
110
|
-
} else {// only 1 match
|
|
111
|
-
// the input is valid
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Constructs a <code>PathPathInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
117
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
118
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
119
|
-
* @param {module:model/PathPathInner} obj Optional instance to populate.
|
|
120
|
-
* @return {module:model/PathPathInner} The populated <code>PathPathInner</code> instance.
|
|
121
|
-
*/
|
|
122
|
-
_createClass(PathPathInner, [{
|
|
123
|
-
key: "getActualInstance",
|
|
124
|
-
value:
|
|
125
|
-
/**
|
|
126
|
-
* Gets the actual instance, which can be <code>GraphAction</code>, <code>GraphObjectSchema</code>, <code>GraphRelationship</code>.
|
|
127
|
-
* @return {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} The actual instance.
|
|
128
|
-
*/
|
|
129
|
-
function getActualInstance() {
|
|
130
|
-
return this.actualInstance;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Sets the actual instance, which can be <code>GraphAction</code>, <code>GraphObjectSchema</code>, <code>GraphRelationship</code>.
|
|
135
|
-
* @param {(module:model/GraphAction|module:model/GraphObjectSchema|module:model/GraphRelationship)} obj The actual instance.
|
|
136
|
-
*/
|
|
137
|
-
}, {
|
|
138
|
-
key: "setActualInstance",
|
|
139
|
-
value: function setActualInstance(obj) {
|
|
140
|
-
this.actualInstance = PathPathInner.constructFromObject(obj).getActualInstance();
|
|
141
|
-
}
|
|
142
|
-
}], [{
|
|
143
|
-
key: "constructFromObject",
|
|
144
|
-
value: function constructFromObject(data, obj) {
|
|
145
|
-
return new PathPathInner(data);
|
|
146
|
-
}
|
|
147
|
-
}]);
|
|
148
|
-
return PathPathInner;
|
|
149
|
-
}();
|
|
150
|
-
/**
|
|
151
|
-
* The id of the relationship type
|
|
152
|
-
* @member {Number} reltypeid
|
|
153
|
-
*/
|
|
154
|
-
_class = PathPathInner;
|
|
155
|
-
/**
|
|
156
|
-
* Create an instance of PathPathInner from a JSON string.
|
|
157
|
-
* @param {string} json_string JSON string.
|
|
158
|
-
* @return {module:model/PathPathInner} An instance of PathPathInner.
|
|
159
|
-
*/
|
|
160
|
-
_defineProperty(PathPathInner, "fromJSON", function (json_string) {
|
|
161
|
-
return _class.constructFromObject(JSON.parse(json_string));
|
|
162
|
-
});
|
|
163
|
-
PathPathInner.prototype['reltypeid'] = undefined;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* The Start Object of this Relationship
|
|
167
|
-
* @member {Object} startobject
|
|
168
|
-
*/
|
|
169
|
-
PathPathInner.prototype['startobject'] = undefined;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Creation Date
|
|
173
|
-
* @member {Date} creationdate
|
|
174
|
-
*/
|
|
175
|
-
PathPathInner.prototype['creationdate'] = undefined;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Modification Date
|
|
179
|
-
* @member {Date} modificationdate
|
|
180
|
-
*/
|
|
181
|
-
PathPathInner.prototype['modificationdate'] = undefined;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* The End Object of this Relationship
|
|
185
|
-
* @member {Object} endobject
|
|
186
|
-
*/
|
|
187
|
-
PathPathInner.prototype['endobject'] = undefined;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* The unique key of this entity
|
|
191
|
-
* @member {String} key
|
|
192
|
-
*/
|
|
193
|
-
PathPathInner.prototype['key'] = undefined;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* @member {Object} data
|
|
197
|
-
*/
|
|
198
|
-
PathPathInner.prototype['data'] = undefined;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @member {Number} id
|
|
202
|
-
*/
|
|
203
|
-
PathPathInner.prototype['id'] = undefined;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @member {Number} actiontypeid
|
|
207
|
-
*/
|
|
208
|
-
PathPathInner.prototype['actiontypeid'] = undefined;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* @member {module:model/Objecttype} objecttype
|
|
212
|
-
*/
|
|
213
|
-
PathPathInner.prototype['objecttype'] = undefined;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @member {module:model/Image} mainphoto
|
|
217
|
-
*/
|
|
218
|
-
PathPathInner.prototype['mainphoto'] = undefined;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* The creator of this Object
|
|
222
|
-
* @member {Number} creatorpageid
|
|
223
|
-
*/
|
|
224
|
-
PathPathInner.prototype['creatorpageid'] = undefined;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* The Object Type of this Object
|
|
228
|
-
* @member {String} objecttypekey
|
|
229
|
-
*/
|
|
230
|
-
PathPathInner.prototype['objecttypekey'] = undefined;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Actions performed on this object
|
|
234
|
-
* @member {String} actions_performed
|
|
235
|
-
*/
|
|
236
|
-
PathPathInner.prototype['actions_performed'] = undefined;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Label of this object
|
|
240
|
-
* @member {String} label
|
|
241
|
-
*/
|
|
242
|
-
PathPathInner.prototype['label'] = undefined;
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* @member {Object} tags
|
|
246
|
-
*/
|
|
247
|
-
PathPathInner.prototype['tags'] = undefined;
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Graphs this object is apart of
|
|
251
|
-
* @member {String} graphs
|
|
252
|
-
*/
|
|
253
|
-
PathPathInner.prototype['graphs'] = undefined;
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Relationships on this object
|
|
257
|
-
* @member {String} relationships
|
|
258
|
-
*/
|
|
259
|
-
PathPathInner.prototype['relationships'] = undefined;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* @member {Boolean} searchable
|
|
263
|
-
*/
|
|
264
|
-
PathPathInner.prototype['searchable'] = undefined;
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* The creator of this Object
|
|
268
|
-
* @member {Number} creatorid
|
|
269
|
-
*/
|
|
270
|
-
PathPathInner.prototype['creatorid'] = undefined;
|
|
271
|
-
PathPathInner.OneOf = ["GraphAction", "GraphObjectSchema", "GraphRelationship"];
|
|
272
|
-
var _default = exports["default"] = PathPathInner;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
4
|
-
var _GraphAction = _interopRequireDefault(require("./GraphAction"));
|
|
5
|
-
var _GraphObjectSchema = _interopRequireDefault(require("./GraphObjectSchema"));
|
|
6
|
-
var _GraphRelationObjectObject = _interopRequireDefault(require("./GraphRelationObjectObject"));
|
|
7
|
-
var _GraphRelationship = _interopRequireDefault(require("./GraphRelationship"));
|
|
8
|
-
var _Image = _interopRequireDefault(require("./Image"));
|
|
9
|
-
var _Objecttype = _interopRequireDefault(require("./Objecttype"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|