@gobodo/gobodo-api-promise 0.1.34
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 +794 -0
- package/dist/ApiClient.js +720 -0
- package/dist/api/ActionTypesApi.js +113 -0
- package/dist/api/AdCampaignsApi.js +500 -0
- package/dist/api/AdManagementApi.js +722 -0
- package/dist/api/AdminDataManagementApi.js +111 -0
- package/dist/api/AdsApi.js +384 -0
- package/dist/api/AttachmentsApi.js +465 -0
- package/dist/api/AuthenticationApi.js +418 -0
- package/dist/api/CategoriesApi.js +451 -0
- package/dist/api/CommentsApi.js +520 -0
- package/dist/api/ContentManagementApi.js +1491 -0
- package/dist/api/ConversationsApi.js +559 -0
- package/dist/api/DataSheetImportsApi.js +1066 -0
- package/dist/api/DefaultApi.js +696 -0
- package/dist/api/DocumentsApi.js +807 -0
- package/dist/api/EntryPartsApi.js +847 -0
- package/dist/api/FacebookApi.js +88 -0
- package/dist/api/FieldsApi.js +243 -0
- package/dist/api/FilesApi.js +116 -0
- package/dist/api/FormsApi.js +1136 -0
- package/dist/api/FunctionsApi.js +111 -0
- package/dist/api/GeocodeApi.js +340 -0
- package/dist/api/GoogleApi.js +88 -0
- package/dist/api/GraphActionsApi.js +674 -0
- package/dist/api/GraphObjectTypesApi.js +527 -0
- package/dist/api/GraphObjectsApi.js +4026 -0
- package/dist/api/GraphRelationshipTypesApi.js +1055 -0
- package/dist/api/GraphRelationshipsApi.js +1921 -0
- package/dist/api/GraphSchemasApi.js +459 -0
- package/dist/api/GraphTraversalApi.js +415 -0
- package/dist/api/GraphsApi.js +716 -0
- package/dist/api/GroupsApi.js +731 -0
- package/dist/api/IAMApi.js +268 -0
- package/dist/api/ImagesApi.js +535 -0
- package/dist/api/InvitesApi.js +339 -0
- package/dist/api/LikesApi.js +785 -0
- package/dist/api/LinkedINApi.js +88 -0
- package/dist/api/LiveMeetingsApi.js +175 -0
- package/dist/api/MeetingEventsApi.js +358 -0
- package/dist/api/PagesApi.js +605 -0
- package/dist/api/PostsApi.js +330 -0
- package/dist/api/PrivateMessagesApi.js +965 -0
- package/dist/api/PublicationsApi.js +103 -0
- package/dist/api/ScreensApi.js +224 -0
- package/dist/api/SocialIntegrationApi.js +214 -0
- package/dist/api/StripeAccountsApi.js +2309 -0
- package/dist/api/TagsApi.js +111 -0
- package/dist/api/TemplatesApi.js +224 -0
- package/dist/api/ThemeMappingsApi.js +219 -0
- package/dist/api/TransactionsApi.js +161 -0
- package/dist/api/TwitterApi.js +88 -0
- package/dist/api/UserTagsApi.js +592 -0
- package/dist/api/UsersApi.js +591 -0
- package/dist/api/UtilsApi.js +80 -0
- package/dist/api/VideosApi.js +709 -0
- package/dist/index.js +1301 -0
- package/dist/model/APIClient.js +354 -0
- package/dist/model/AccountSessionInput.js +222 -0
- package/dist/model/AccountSessionResponse.js +171 -0
- package/dist/model/ApplicationPaymentAccountResponse.js +185 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +265 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCause.js +234 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseStackTraceInner.js +303 -0
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionCauseSuppressedInner.js +187 -0
- package/dist/model/Article.js +668 -0
- package/dist/model/Authorization.js +166 -0
- package/dist/model/Balance.js +267 -0
- package/dist/model/BalanceDetails.js +164 -0
- package/dist/model/BalanceResponse.js +139 -0
- package/dist/model/BankAccountInfo.js +232 -0
- package/dist/model/CardInfo.js +213 -0
- package/dist/model/Comment.js +495 -0
- package/dist/model/Coordinates.js +129 -0
- package/dist/model/CreateAccountResponse.js +233 -0
- package/dist/model/CreateStripeAccountInput.js +216 -0
- package/dist/model/CreateStripeCustomerInput.js +195 -0
- package/dist/model/CustomerResponse.js +168 -0
- package/dist/model/DataObject.js +129 -0
- package/dist/model/DataSheetImport.js +732 -0
- package/dist/model/DataSheetImportPrivacySettings.js +154 -0
- package/dist/model/DataSheetImportSummary.js +206 -0
- package/dist/model/Document.js +743 -0
- package/dist/model/DocumentPart.js +612 -0
- package/dist/model/DocumentPartType.js +358 -0
- package/dist/model/DocumentType.js +458 -0
- package/dist/model/FieldMapping.js +185 -0
- package/dist/model/Fields.js +737 -0
- package/dist/model/File.js +341 -0
- package/dist/model/FileAttachmentUploadObject.js +341 -0
- package/dist/model/Filter.js +137 -0
- package/dist/model/FilterManager.js +154 -0
- package/dist/model/Form.js +393 -0
- package/dist/model/FormSection.js +304 -0
- package/dist/model/FormSubmission.js +238 -0
- package/dist/model/Geocode.js +191 -0
- package/dist/model/GeocodePayload.js +141 -0
- package/dist/model/GeolocationInput.js +216 -0
- package/dist/model/Graph.js +499 -0
- package/dist/model/GraphAction.js +298 -0
- package/dist/model/GraphDatabaseService.js +254 -0
- package/dist/model/GraphGeocode.js +282 -0
- package/dist/model/GraphIteratorEntryPart.js +129 -0
- package/dist/model/GraphObject.js +454 -0
- package/dist/model/GraphObjectPayload.js +430 -0
- package/dist/model/GraphObjectSchema.js +545 -0
- package/dist/model/GraphObjectType.js +626 -0
- package/dist/model/GraphObjectTypeSchema.js +645 -0
- package/dist/model/GraphOwner.js +158 -0
- package/dist/model/GraphRelationObjectObject.js +273 -0
- package/dist/model/GraphRelationship.js +301 -0
- package/dist/model/GraphRelationshipPayload.js +214 -0
- package/dist/model/GraphRelationshipType.js +675 -0
- package/dist/model/GraphSchema.js +645 -0
- package/dist/model/GraphTraversalInput.js +1125 -0
- package/dist/model/Image.js +449 -0
- package/dist/model/ImageUploadObject.js +449 -0
- package/dist/model/InputPart.js +191 -0
- package/dist/model/InputPartMediaType.js +214 -0
- package/dist/model/Link.js +305 -0
- package/dist/model/LiveStreamInfo.js +167 -0
- package/dist/model/MeetingEvent.js +591 -0
- package/dist/model/MeetingEventTimezone.js +187 -0
- package/dist/model/MeetingInfo.js +220 -0
- package/dist/model/Member.js +525 -0
- package/dist/model/MemberGroupCategory.js +237 -0
- package/dist/model/MemberList.js +96 -0
- package/dist/model/MessageGroup.js +160 -0
- package/dist/model/MultipartBody.js +133 -0
- package/dist/model/Objecttype.js +615 -0
- package/dist/model/Page.js +370 -0
- package/dist/model/PageSchema.js +482 -0
- package/dist/model/Pageable.js +235 -0
- package/dist/model/Path.js +110 -0
- package/dist/model/PaymentAccountObject.js +209 -0
- package/dist/model/PaymentIntentInput.js +214 -0
- package/dist/model/PaymentIntentResponse.js +137 -0
- package/dist/model/PaymentMethod.js +319 -0
- package/dist/model/PaymentMethodInput.js +291 -0
- package/dist/model/PaymentMethodResponse.js +139 -0
- package/dist/model/PaymentMethodsResponse.js +158 -0
- package/dist/model/Payout.js +313 -0
- package/dist/model/PayoutInput.js +347 -0
- package/dist/model/PayoutResponse.js +142 -0
- package/dist/model/Post.js +368 -0
- package/dist/model/PrivateMessage.js +494 -0
- package/dist/model/PrivateMessageConversation.js +520 -0
- package/dist/model/PrivateMessageConversationSchema.js +268 -0
- package/dist/model/Profile.js +191 -0
- package/dist/model/Profiletype.js +210 -0
- package/dist/model/PropertyContainer.js +162 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +151 -0
- package/dist/model/RelationshipMapping.js +264 -0
- package/dist/model/ScreenSchema.js +834 -0
- package/dist/model/SimulcastInfo.js +175 -0
- package/dist/model/SkinField.js +737 -0
- package/dist/model/SocialGroup.js +602 -0
- package/dist/model/SocialGroupType.js +327 -0
- package/dist/model/Sort.js +154 -0
- package/dist/model/SourceTypes.js +154 -0
- package/dist/model/StatusUpdate.js +312 -0
- package/dist/model/StreetAddress.js +224 -0
- package/dist/model/StripeAccount.js +272 -0
- package/dist/model/StripeCustomerAccount.js +212 -0
- package/dist/model/Template.js +272 -0
- package/dist/model/TemplateSchema.js +300 -0
- package/dist/model/ThemeMapping.js +245 -0
- package/dist/model/ThemeMappingPayload.js +239 -0
- package/dist/model/Transaction.js +137 -0
- package/dist/model/Transfer.js +286 -0
- package/dist/model/TransferInput.js +288 -0
- package/dist/model/TransferResponse.js +173 -0
- package/dist/model/TransferResponsePaymentMethodDetails.js +286 -0
- package/dist/model/TraversalRelationResponse.js +176 -0
- package/dist/model/User.js +525 -0
- package/dist/model/UserDataPayload.js +525 -0
- package/dist/model/UserDomain.js +191 -0
- package/dist/model/UserInvite.js +404 -0
- package/dist/model/UserInviteInput.js +245 -0
- package/dist/model/UserSchema.js +525 -0
- package/dist/model/UserTag.js +246 -0
- package/dist/model/Userid.js +133 -0
- package/dist/model/Video.js +632 -0
- package/dist/model/VideoLiveUrl.js +137 -0
- package/dist/model/VideoSchema.js +717 -0
- package/dist/model/VideoUploadObject.js +632 -0
- package/dist/model/ZeusPortalCategory.js +434 -0
- package/package.json +46 -0
|
@@ -0,0 +1,137 @@
|
|
|
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.34
|
|
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 Filter model module.
|
|
28
|
+
* @module model/Filter
|
|
29
|
+
* @version 0.1.34
|
|
30
|
+
*/
|
|
31
|
+
var Filter = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>Filter</code>.
|
|
34
|
+
* @alias module:model/Filter
|
|
35
|
+
*/
|
|
36
|
+
function Filter() {
|
|
37
|
+
_classCallCheck(this, Filter);
|
|
38
|
+
Filter.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(Filter, [{
|
|
47
|
+
key: "getName",
|
|
48
|
+
value:
|
|
49
|
+
/**
|
|
50
|
+
* @return {String}
|
|
51
|
+
*/
|
|
52
|
+
function getName() {
|
|
53
|
+
return this.name;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param {String} name
|
|
58
|
+
*/
|
|
59
|
+
}, {
|
|
60
|
+
key: "setName",
|
|
61
|
+
value: function setName(name) {
|
|
62
|
+
this['name'] = name;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @return {Array.<String>}
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "getProperties",
|
|
69
|
+
value: function getProperties() {
|
|
70
|
+
return this.properties;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @param {Array.<String>} properties
|
|
75
|
+
*/
|
|
76
|
+
}, {
|
|
77
|
+
key: "setProperties",
|
|
78
|
+
value: function setProperties(properties) {
|
|
79
|
+
this['properties'] = properties;
|
|
80
|
+
}
|
|
81
|
+
}], [{
|
|
82
|
+
key: "initialize",
|
|
83
|
+
value: function initialize(obj) {}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Constructs a <code>Filter</code> from a plain JavaScript object, optionally creating a new instance.
|
|
87
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
88
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
89
|
+
* @param {module:model/Filter} obj Optional instance to populate.
|
|
90
|
+
* @return {module:model/Filter} The populated <code>Filter</code> instance.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "constructFromObject",
|
|
94
|
+
value: function constructFromObject(data, obj) {
|
|
95
|
+
if (data) {
|
|
96
|
+
obj = obj || new Filter();
|
|
97
|
+
if (data.hasOwnProperty('name')) {
|
|
98
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty('properties')) {
|
|
101
|
+
obj['properties'] = _ApiClient["default"].convertToType(data['properties'], ['String']);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Validates the JSON data with respect to <code>Filter</code>.
|
|
109
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
110
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Filter</code>.
|
|
111
|
+
*/
|
|
112
|
+
}, {
|
|
113
|
+
key: "validateJSON",
|
|
114
|
+
value: function validateJSON(data) {
|
|
115
|
+
// ensure the json data is a string
|
|
116
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
117
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
118
|
+
}
|
|
119
|
+
// ensure the json data is an array
|
|
120
|
+
if (!Array.isArray(data['properties'])) {
|
|
121
|
+
throw new Error("Expected the field `properties` to be an array in the JSON data but got " + data['properties']);
|
|
122
|
+
}
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
}]);
|
|
126
|
+
return Filter;
|
|
127
|
+
}();
|
|
128
|
+
/**
|
|
129
|
+
* @member {String} name
|
|
130
|
+
*/
|
|
131
|
+
Filter.prototype['name'] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @member {Array.<String>} properties
|
|
135
|
+
*/
|
|
136
|
+
Filter.prototype['properties'] = undefined;
|
|
137
|
+
var _default = exports["default"] = Filter;
|
|
@@ -0,0 +1,154 @@
|
|
|
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 _Filter = _interopRequireDefault(require("./Filter"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
18
|
+
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); } /**
|
|
19
|
+
* gobodo-api
|
|
20
|
+
* REST Interface for Gobodo API
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 0.1.34
|
|
23
|
+
* Contact: info@gobodo.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The FilterManager model module.
|
|
32
|
+
* @module model/FilterManager
|
|
33
|
+
* @version 0.1.34
|
|
34
|
+
*/
|
|
35
|
+
var FilterManager = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>FilterManager</code>.
|
|
38
|
+
* @alias module:model/FilterManager
|
|
39
|
+
*/
|
|
40
|
+
function FilterManager() {
|
|
41
|
+
_classCallCheck(this, FilterManager);
|
|
42
|
+
FilterManager.initialize(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
_createClass(FilterManager, [{
|
|
51
|
+
key: "getAvailableFilters",
|
|
52
|
+
value:
|
|
53
|
+
/**
|
|
54
|
+
* @return {Array.<module:model/Filter>}
|
|
55
|
+
*/
|
|
56
|
+
function getAvailableFilters() {
|
|
57
|
+
return this.availableFilters;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @param {Array.<module:model/Filter>} availableFilters
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "setAvailableFilters",
|
|
65
|
+
value: function setAvailableFilters(availableFilters) {
|
|
66
|
+
this['availableFilters'] = availableFilters;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @return {Number}
|
|
70
|
+
*/
|
|
71
|
+
}, {
|
|
72
|
+
key: "getFilterCount",
|
|
73
|
+
value: function getFilterCount() {
|
|
74
|
+
return this.filterCount;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @param {Number} filterCount
|
|
79
|
+
*/
|
|
80
|
+
}, {
|
|
81
|
+
key: "setFilterCount",
|
|
82
|
+
value: function setFilterCount(filterCount) {
|
|
83
|
+
this['filterCount'] = filterCount;
|
|
84
|
+
}
|
|
85
|
+
}], [{
|
|
86
|
+
key: "initialize",
|
|
87
|
+
value: function initialize(obj) {}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Constructs a <code>FilterManager</code> from a plain JavaScript object, optionally creating a new instance.
|
|
91
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
92
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
+
* @param {module:model/FilterManager} obj Optional instance to populate.
|
|
94
|
+
* @return {module:model/FilterManager} The populated <code>FilterManager</code> instance.
|
|
95
|
+
*/
|
|
96
|
+
}, {
|
|
97
|
+
key: "constructFromObject",
|
|
98
|
+
value: function constructFromObject(data, obj) {
|
|
99
|
+
if (data) {
|
|
100
|
+
obj = obj || new FilterManager();
|
|
101
|
+
if (data.hasOwnProperty('availableFilters')) {
|
|
102
|
+
obj['availableFilters'] = _ApiClient["default"].convertToType(data['availableFilters'], [_Filter["default"]]);
|
|
103
|
+
}
|
|
104
|
+
if (data.hasOwnProperty('filterCount')) {
|
|
105
|
+
obj['filterCount'] = _ApiClient["default"].convertToType(data['filterCount'], 'Number');
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return obj;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Validates the JSON data with respect to <code>FilterManager</code>.
|
|
113
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
114
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>FilterManager</code>.
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "validateJSON",
|
|
118
|
+
value: function validateJSON(data) {
|
|
119
|
+
if (data['availableFilters']) {
|
|
120
|
+
// data not null
|
|
121
|
+
// ensure the json data is an array
|
|
122
|
+
if (!Array.isArray(data['availableFilters'])) {
|
|
123
|
+
throw new Error("Expected the field `availableFilters` to be an array in the JSON data but got " + data['availableFilters']);
|
|
124
|
+
}
|
|
125
|
+
// validate the optional field `availableFilters` (array)
|
|
126
|
+
var _iterator = _createForOfIteratorHelper(data['availableFilters']),
|
|
127
|
+
_step;
|
|
128
|
+
try {
|
|
129
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
130
|
+
var item = _step.value;
|
|
131
|
+
_Filter["default"].validateJSON(item);
|
|
132
|
+
}
|
|
133
|
+
} catch (err) {
|
|
134
|
+
_iterator.e(err);
|
|
135
|
+
} finally {
|
|
136
|
+
_iterator.f();
|
|
137
|
+
}
|
|
138
|
+
;
|
|
139
|
+
}
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
}]);
|
|
143
|
+
return FilterManager;
|
|
144
|
+
}();
|
|
145
|
+
/**
|
|
146
|
+
* @member {Array.<module:model/Filter>} availableFilters
|
|
147
|
+
*/
|
|
148
|
+
FilterManager.prototype['availableFilters'] = undefined;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @member {Number} filterCount
|
|
152
|
+
*/
|
|
153
|
+
FilterManager.prototype['filterCount'] = undefined;
|
|
154
|
+
var _default = exports["default"] = FilterManager;
|
|
@@ -0,0 +1,393 @@
|
|
|
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 _Fields = _interopRequireDefault(require("./Fields"));
|
|
9
|
+
var _FormSection = _interopRequireDefault(require("./FormSection"));
|
|
10
|
+
var _FormSubmission = _interopRequireDefault(require("./FormSubmission"));
|
|
11
|
+
var _User = _interopRequireDefault(require("./User"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
15
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
16
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18
|
+
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); } }
|
|
19
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
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.34
|
|
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 Form model module.
|
|
35
|
+
* @module model/Form
|
|
36
|
+
* @version 0.1.34
|
|
37
|
+
*/
|
|
38
|
+
var Form = /*#__PURE__*/function () {
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a new <code>Form</code>.
|
|
41
|
+
* @alias module:model/Form
|
|
42
|
+
*/
|
|
43
|
+
function Form() {
|
|
44
|
+
_classCallCheck(this, Form);
|
|
45
|
+
Form.initialize(this);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the fields of this object.
|
|
50
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
51
|
+
* Only for internal use.
|
|
52
|
+
*/
|
|
53
|
+
_createClass(Form, [{
|
|
54
|
+
key: "getName",
|
|
55
|
+
value:
|
|
56
|
+
/**
|
|
57
|
+
* @return {String}
|
|
58
|
+
*/
|
|
59
|
+
function getName() {
|
|
60
|
+
return this.name;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @param {String} name
|
|
65
|
+
*/
|
|
66
|
+
}, {
|
|
67
|
+
key: "setName",
|
|
68
|
+
value: function setName(name) {
|
|
69
|
+
this['name'] = name;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @return {module:model/Form.StatusEnum}
|
|
73
|
+
*/
|
|
74
|
+
}, {
|
|
75
|
+
key: "getStatus",
|
|
76
|
+
value: function getStatus() {
|
|
77
|
+
return this.status;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @param {module:model/Form.StatusEnum} status
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "setStatus",
|
|
85
|
+
value: function setStatus(status) {
|
|
86
|
+
this['status'] = status;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @return {String}
|
|
90
|
+
*/
|
|
91
|
+
}, {
|
|
92
|
+
key: "getDescription",
|
|
93
|
+
value: function getDescription() {
|
|
94
|
+
return this.description;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @param {String} description
|
|
99
|
+
*/
|
|
100
|
+
}, {
|
|
101
|
+
key: "setDescription",
|
|
102
|
+
value: function setDescription(description) {
|
|
103
|
+
this['description'] = description;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @return {module:model/User}
|
|
107
|
+
*/
|
|
108
|
+
}, {
|
|
109
|
+
key: "getCreator",
|
|
110
|
+
value: function getCreator() {
|
|
111
|
+
return this.creator;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @param {module:model/User} creator
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "setCreator",
|
|
119
|
+
value: function setCreator(creator) {
|
|
120
|
+
this['creator'] = creator;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @return {module:model/FormSubmission}
|
|
124
|
+
*/
|
|
125
|
+
}, {
|
|
126
|
+
key: "getSubmissions",
|
|
127
|
+
value: function getSubmissions() {
|
|
128
|
+
return this.submissions;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @param {module:model/FormSubmission} submissions
|
|
133
|
+
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "setSubmissions",
|
|
136
|
+
value: function setSubmissions(submissions) {
|
|
137
|
+
this['submissions'] = submissions;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @return {Array.<module:model/Fields>}
|
|
141
|
+
*/
|
|
142
|
+
}, {
|
|
143
|
+
key: "getFields",
|
|
144
|
+
value: function getFields() {
|
|
145
|
+
return this.fields;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @param {Array.<module:model/Fields>} fields
|
|
150
|
+
*/
|
|
151
|
+
}, {
|
|
152
|
+
key: "setFields",
|
|
153
|
+
value: function setFields(fields) {
|
|
154
|
+
this['fields'] = fields;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* @return {Array.<module:model/FormSection>}
|
|
158
|
+
*/
|
|
159
|
+
}, {
|
|
160
|
+
key: "getSections",
|
|
161
|
+
value: function getSections() {
|
|
162
|
+
return this.sections;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @param {Array.<module:model/FormSection>} sections
|
|
167
|
+
*/
|
|
168
|
+
}, {
|
|
169
|
+
key: "setSections",
|
|
170
|
+
value: function setSections(sections) {
|
|
171
|
+
this['sections'] = sections;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @return {Object}
|
|
175
|
+
*/
|
|
176
|
+
}, {
|
|
177
|
+
key: "getData",
|
|
178
|
+
value: function getData() {
|
|
179
|
+
return this.data;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @param {Object} data
|
|
184
|
+
*/
|
|
185
|
+
}, {
|
|
186
|
+
key: "setData",
|
|
187
|
+
value: function setData(data) {
|
|
188
|
+
this['data'] = data;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @return {Number}
|
|
192
|
+
*/
|
|
193
|
+
}, {
|
|
194
|
+
key: "getId",
|
|
195
|
+
value: function getId() {
|
|
196
|
+
return this.id;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @param {Number} id
|
|
201
|
+
*/
|
|
202
|
+
}, {
|
|
203
|
+
key: "setId",
|
|
204
|
+
value: function setId(id) {
|
|
205
|
+
this['id'] = id;
|
|
206
|
+
}
|
|
207
|
+
}], [{
|
|
208
|
+
key: "initialize",
|
|
209
|
+
value: function initialize(obj) {}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Constructs a <code>Form</code> from a plain JavaScript object, optionally creating a new instance.
|
|
213
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
214
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
215
|
+
* @param {module:model/Form} obj Optional instance to populate.
|
|
216
|
+
* @return {module:model/Form} The populated <code>Form</code> instance.
|
|
217
|
+
*/
|
|
218
|
+
}, {
|
|
219
|
+
key: "constructFromObject",
|
|
220
|
+
value: function constructFromObject(data, obj) {
|
|
221
|
+
if (data) {
|
|
222
|
+
obj = obj || new Form();
|
|
223
|
+
if (data.hasOwnProperty('name')) {
|
|
224
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
225
|
+
}
|
|
226
|
+
if (data.hasOwnProperty('status')) {
|
|
227
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
|
|
228
|
+
}
|
|
229
|
+
if (data.hasOwnProperty('description')) {
|
|
230
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
231
|
+
}
|
|
232
|
+
if (data.hasOwnProperty('creator')) {
|
|
233
|
+
obj['creator'] = _User["default"].constructFromObject(data['creator']);
|
|
234
|
+
}
|
|
235
|
+
if (data.hasOwnProperty('submissions')) {
|
|
236
|
+
obj['submissions'] = _FormSubmission["default"].constructFromObject(data['submissions']);
|
|
237
|
+
}
|
|
238
|
+
if (data.hasOwnProperty('fields')) {
|
|
239
|
+
obj['fields'] = _ApiClient["default"].convertToType(data['fields'], [_Fields["default"]]);
|
|
240
|
+
}
|
|
241
|
+
if (data.hasOwnProperty('sections')) {
|
|
242
|
+
obj['sections'] = _ApiClient["default"].convertToType(data['sections'], [_FormSection["default"]]);
|
|
243
|
+
}
|
|
244
|
+
if (data.hasOwnProperty('data')) {
|
|
245
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
|
|
246
|
+
}
|
|
247
|
+
if (data.hasOwnProperty('id')) {
|
|
248
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
return obj;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Validates the JSON data with respect to <code>Form</code>.
|
|
256
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
257
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Form</code>.
|
|
258
|
+
*/
|
|
259
|
+
}, {
|
|
260
|
+
key: "validateJSON",
|
|
261
|
+
value: function validateJSON(data) {
|
|
262
|
+
// ensure the json data is a string
|
|
263
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
264
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
265
|
+
}
|
|
266
|
+
// ensure the json data is a string
|
|
267
|
+
if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
|
|
268
|
+
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
|
|
269
|
+
}
|
|
270
|
+
// ensure the json data is a string
|
|
271
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
272
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
273
|
+
}
|
|
274
|
+
// validate the optional field `creator`
|
|
275
|
+
if (data['creator']) {
|
|
276
|
+
// data not null
|
|
277
|
+
_User["default"].validateJSON(data['creator']);
|
|
278
|
+
}
|
|
279
|
+
// validate the optional field `submissions`
|
|
280
|
+
if (data['submissions']) {
|
|
281
|
+
// data not null
|
|
282
|
+
_FormSubmission["default"].validateJSON(data['submissions']);
|
|
283
|
+
}
|
|
284
|
+
if (data['fields']) {
|
|
285
|
+
// data not null
|
|
286
|
+
// ensure the json data is an array
|
|
287
|
+
if (!Array.isArray(data['fields'])) {
|
|
288
|
+
throw new Error("Expected the field `fields` to be an array in the JSON data but got " + data['fields']);
|
|
289
|
+
}
|
|
290
|
+
// validate the optional field `fields` (array)
|
|
291
|
+
var _iterator = _createForOfIteratorHelper(data['fields']),
|
|
292
|
+
_step;
|
|
293
|
+
try {
|
|
294
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
295
|
+
var item = _step.value;
|
|
296
|
+
_Fields["default"].validateJSON(item);
|
|
297
|
+
}
|
|
298
|
+
} catch (err) {
|
|
299
|
+
_iterator.e(err);
|
|
300
|
+
} finally {
|
|
301
|
+
_iterator.f();
|
|
302
|
+
}
|
|
303
|
+
;
|
|
304
|
+
}
|
|
305
|
+
if (data['sections']) {
|
|
306
|
+
// data not null
|
|
307
|
+
// ensure the json data is an array
|
|
308
|
+
if (!Array.isArray(data['sections'])) {
|
|
309
|
+
throw new Error("Expected the field `sections` to be an array in the JSON data but got " + data['sections']);
|
|
310
|
+
}
|
|
311
|
+
// validate the optional field `sections` (array)
|
|
312
|
+
var _iterator2 = _createForOfIteratorHelper(data['sections']),
|
|
313
|
+
_step2;
|
|
314
|
+
try {
|
|
315
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
316
|
+
var _item = _step2.value;
|
|
317
|
+
_FormSection["default"].validateJSON(_item);
|
|
318
|
+
}
|
|
319
|
+
} catch (err) {
|
|
320
|
+
_iterator2.e(err);
|
|
321
|
+
} finally {
|
|
322
|
+
_iterator2.f();
|
|
323
|
+
}
|
|
324
|
+
;
|
|
325
|
+
}
|
|
326
|
+
return true;
|
|
327
|
+
}
|
|
328
|
+
}]);
|
|
329
|
+
return Form;
|
|
330
|
+
}();
|
|
331
|
+
/**
|
|
332
|
+
* @member {String} name
|
|
333
|
+
*/
|
|
334
|
+
Form.prototype['name'] = undefined;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @member {module:model/Form.StatusEnum} status
|
|
338
|
+
*/
|
|
339
|
+
Form.prototype['status'] = undefined;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @member {String} description
|
|
343
|
+
*/
|
|
344
|
+
Form.prototype['description'] = undefined;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @member {module:model/User} creator
|
|
348
|
+
*/
|
|
349
|
+
Form.prototype['creator'] = undefined;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @member {module:model/FormSubmission} submissions
|
|
353
|
+
*/
|
|
354
|
+
Form.prototype['submissions'] = undefined;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @member {Array.<module:model/Fields>} fields
|
|
358
|
+
*/
|
|
359
|
+
Form.prototype['fields'] = undefined;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @member {Array.<module:model/FormSection>} sections
|
|
363
|
+
*/
|
|
364
|
+
Form.prototype['sections'] = undefined;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @member {Object} data
|
|
368
|
+
*/
|
|
369
|
+
Form.prototype['data'] = undefined;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @member {Number} id
|
|
373
|
+
*/
|
|
374
|
+
Form.prototype['id'] = undefined;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Allowed values for the <code>status</code> property.
|
|
378
|
+
* @enum {String}
|
|
379
|
+
* @readonly
|
|
380
|
+
*/
|
|
381
|
+
Form['StatusEnum'] = {
|
|
382
|
+
/**
|
|
383
|
+
* value: "UNDER_CONSTRUCTION"
|
|
384
|
+
* @const
|
|
385
|
+
*/
|
|
386
|
+
"UNDER_CONSTRUCTION": "UNDER_CONSTRUCTION",
|
|
387
|
+
/**
|
|
388
|
+
* value: "PUBLISHED"
|
|
389
|
+
* @const
|
|
390
|
+
*/
|
|
391
|
+
"PUBLISHED": "PUBLISHED"
|
|
392
|
+
};
|
|
393
|
+
var _default = exports["default"] = Form;
|