@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,1136 @@
|
|
|
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 _Form = _interopRequireDefault(require("../model/Form"));
|
|
9
|
+
var _FormSection = _interopRequireDefault(require("../model/FormSection"));
|
|
10
|
+
var _GraphRelationship = _interopRequireDefault(require("../model/GraphRelationship"));
|
|
11
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
12
|
+
var _SkinField = _interopRequireDefault(require("../model/SkinField"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
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); }
|
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
19
|
+
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); } /**
|
|
20
|
+
* gobodo-api
|
|
21
|
+
* REST Interface for Gobodo API
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: 0.1.34
|
|
24
|
+
* Contact: info@gobodo.io
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Forms service.
|
|
33
|
+
* @module api/FormsApi
|
|
34
|
+
* @version 0.1.34
|
|
35
|
+
*/
|
|
36
|
+
var FormsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new FormsApi.
|
|
39
|
+
* @alias module:api/FormsApi
|
|
40
|
+
* @class
|
|
41
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
42
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
43
|
+
*/
|
|
44
|
+
function FormsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, FormsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Create a new Form
|
|
51
|
+
* Creates a new form object
|
|
52
|
+
* @param {Number} sectionid
|
|
53
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
54
|
+
* @param {Object} opts Optional parameters
|
|
55
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
56
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
57
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
58
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
59
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
60
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FormSection} and HTTP response
|
|
61
|
+
*/
|
|
62
|
+
_createClass(FormsApi, [{
|
|
63
|
+
key: "createChildSectionWithHttpInfo",
|
|
64
|
+
value: function createChildSectionWithHttpInfo(sectionid, formSection, opts) {
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
var postBody = formSection;
|
|
67
|
+
// verify the required parameter 'sectionid' is set
|
|
68
|
+
if (sectionid === undefined || sectionid === null) {
|
|
69
|
+
throw new Error("Missing the required parameter 'sectionid' when calling createChildSection");
|
|
70
|
+
}
|
|
71
|
+
// verify the required parameter 'formSection' is set
|
|
72
|
+
if (formSection === undefined || formSection === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'formSection' when calling createChildSection");
|
|
74
|
+
}
|
|
75
|
+
var pathParams = {
|
|
76
|
+
'sectionid': sectionid
|
|
77
|
+
};
|
|
78
|
+
var queryParams = {};
|
|
79
|
+
var headerParams = {
|
|
80
|
+
'Authorization': opts['authorization'],
|
|
81
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
82
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
83
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
84
|
+
'transactionid': opts['transactionid']
|
|
85
|
+
};
|
|
86
|
+
var formParams = {};
|
|
87
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
88
|
+
var contentTypes = [];
|
|
89
|
+
var accepts = ['*/*'];
|
|
90
|
+
var returnType = _FormSection["default"];
|
|
91
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{sectionid}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Create a new Form
|
|
96
|
+
* Creates a new form object
|
|
97
|
+
* @param {Number} sectionid
|
|
98
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
99
|
+
* @param {Object} opts Optional parameters
|
|
100
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
101
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
102
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
103
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
104
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
105
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FormSection}
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "createChildSection",
|
|
109
|
+
value: function createChildSection(sectionid, formSection, opts) {
|
|
110
|
+
return this.createChildSectionWithHttpInfo(sectionid, formSection, opts).then(function (response_and_data) {
|
|
111
|
+
return response_and_data.data;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Create a new Form
|
|
117
|
+
* Creates a new form object
|
|
118
|
+
* @param {Array.<module:model/Form>} form GraphObject object or array of objects to create
|
|
119
|
+
* @param {Object} opts Optional parameters
|
|
120
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
121
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
122
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
123
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
124
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
125
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Form} and HTTP response
|
|
126
|
+
*/
|
|
127
|
+
}, {
|
|
128
|
+
key: "createFormWithHttpInfo",
|
|
129
|
+
value: function createFormWithHttpInfo(form, opts) {
|
|
130
|
+
opts = opts || {};
|
|
131
|
+
var postBody = form;
|
|
132
|
+
// verify the required parameter 'form' is set
|
|
133
|
+
if (form === undefined || form === null) {
|
|
134
|
+
throw new Error("Missing the required parameter 'form' when calling createForm");
|
|
135
|
+
}
|
|
136
|
+
var pathParams = {};
|
|
137
|
+
var queryParams = {};
|
|
138
|
+
var headerParams = {
|
|
139
|
+
'Authorization': opts['authorization'],
|
|
140
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
141
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
142
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
143
|
+
'transactionid': opts['transactionid']
|
|
144
|
+
};
|
|
145
|
+
var formParams = {};
|
|
146
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
147
|
+
var contentTypes = [];
|
|
148
|
+
var accepts = ['*/*'];
|
|
149
|
+
var returnType = _Form["default"];
|
|
150
|
+
return this.apiClient.callApi('/graph/data/forms', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Create a new Form
|
|
155
|
+
* Creates a new form object
|
|
156
|
+
* @param {Array.<module:model/Form>} form GraphObject object or array of objects to create
|
|
157
|
+
* @param {Object} opts Optional parameters
|
|
158
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
159
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
160
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
161
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
162
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
163
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Form}
|
|
164
|
+
*/
|
|
165
|
+
}, {
|
|
166
|
+
key: "createForm",
|
|
167
|
+
value: function createForm(form, opts) {
|
|
168
|
+
return this.createFormWithHttpInfo(form, opts).then(function (response_and_data) {
|
|
169
|
+
return response_and_data.data;
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Update a form object
|
|
175
|
+
* Updates the form data
|
|
176
|
+
* @param {Number} formid
|
|
177
|
+
* @param {module:model/Form} form The form object data to update
|
|
178
|
+
* @param {Object} opts Optional parameters
|
|
179
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
180
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
181
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
182
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
183
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
184
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Form} and HTTP response
|
|
185
|
+
*/
|
|
186
|
+
}, {
|
|
187
|
+
key: "createForm2WithHttpInfo",
|
|
188
|
+
value: function createForm2WithHttpInfo(formid, form, opts) {
|
|
189
|
+
opts = opts || {};
|
|
190
|
+
var postBody = form;
|
|
191
|
+
// verify the required parameter 'formid' is set
|
|
192
|
+
if (formid === undefined || formid === null) {
|
|
193
|
+
throw new Error("Missing the required parameter 'formid' when calling createForm2");
|
|
194
|
+
}
|
|
195
|
+
// verify the required parameter 'form' is set
|
|
196
|
+
if (form === undefined || form === null) {
|
|
197
|
+
throw new Error("Missing the required parameter 'form' when calling createForm2");
|
|
198
|
+
}
|
|
199
|
+
var pathParams = {
|
|
200
|
+
'formid': formid
|
|
201
|
+
};
|
|
202
|
+
var queryParams = {};
|
|
203
|
+
var headerParams = {
|
|
204
|
+
'Authorization': opts['authorization'],
|
|
205
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
206
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
207
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
208
|
+
'transactionid': opts['transactionid']
|
|
209
|
+
};
|
|
210
|
+
var formParams = {};
|
|
211
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
212
|
+
var contentTypes = ['application/json'];
|
|
213
|
+
var accepts = ['application/json'];
|
|
214
|
+
var returnType = _Form["default"];
|
|
215
|
+
return this.apiClient.callApi('/graph/data/forms/{formid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Update a form object
|
|
220
|
+
* Updates the form data
|
|
221
|
+
* @param {Number} formid
|
|
222
|
+
* @param {module:model/Form} form The form object data to update
|
|
223
|
+
* @param {Object} opts Optional parameters
|
|
224
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
225
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
226
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
227
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
228
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
229
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Form}
|
|
230
|
+
*/
|
|
231
|
+
}, {
|
|
232
|
+
key: "createForm2",
|
|
233
|
+
value: function createForm2(formid, form, opts) {
|
|
234
|
+
return this.createForm2WithHttpInfo(formid, form, opts).then(function (response_and_data) {
|
|
235
|
+
return response_and_data.data;
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Update a form object
|
|
241
|
+
* Updates the form data
|
|
242
|
+
* @param {Number} formsectionid
|
|
243
|
+
* @param {module:model/FormSection} formSection The form object data to update
|
|
244
|
+
* @param {Object} opts Optional parameters
|
|
245
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
246
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
247
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
248
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
249
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
250
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FormSection} and HTTP response
|
|
251
|
+
*/
|
|
252
|
+
}, {
|
|
253
|
+
key: "createForm3WithHttpInfo",
|
|
254
|
+
value: function createForm3WithHttpInfo(formsectionid, formSection, opts) {
|
|
255
|
+
opts = opts || {};
|
|
256
|
+
var postBody = formSection;
|
|
257
|
+
// verify the required parameter 'formsectionid' is set
|
|
258
|
+
if (formsectionid === undefined || formsectionid === null) {
|
|
259
|
+
throw new Error("Missing the required parameter 'formsectionid' when calling createForm3");
|
|
260
|
+
}
|
|
261
|
+
// verify the required parameter 'formSection' is set
|
|
262
|
+
if (formSection === undefined || formSection === null) {
|
|
263
|
+
throw new Error("Missing the required parameter 'formSection' when calling createForm3");
|
|
264
|
+
}
|
|
265
|
+
var pathParams = {
|
|
266
|
+
'formsectionid': formsectionid
|
|
267
|
+
};
|
|
268
|
+
var queryParams = {};
|
|
269
|
+
var headerParams = {
|
|
270
|
+
'Authorization': opts['authorization'],
|
|
271
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
272
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
273
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
274
|
+
'transactionid': opts['transactionid']
|
|
275
|
+
};
|
|
276
|
+
var formParams = {};
|
|
277
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
278
|
+
var contentTypes = ['application/json'];
|
|
279
|
+
var accepts = ['application/json'];
|
|
280
|
+
var returnType = _FormSection["default"];
|
|
281
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{formsectionid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Update a form object
|
|
286
|
+
* Updates the form data
|
|
287
|
+
* @param {Number} formsectionid
|
|
288
|
+
* @param {module:model/FormSection} formSection The form object data to update
|
|
289
|
+
* @param {Object} opts Optional parameters
|
|
290
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
291
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
292
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
293
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
294
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
295
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FormSection}
|
|
296
|
+
*/
|
|
297
|
+
}, {
|
|
298
|
+
key: "createForm3",
|
|
299
|
+
value: function createForm3(formsectionid, formSection, opts) {
|
|
300
|
+
return this.createForm3WithHttpInfo(formsectionid, formSection, opts).then(function (response_and_data) {
|
|
301
|
+
return response_and_data.data;
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Create a new Form
|
|
307
|
+
* Creates a new form object
|
|
308
|
+
* @param {Number} id
|
|
309
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
310
|
+
* @param {Object} opts Optional parameters
|
|
311
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
312
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
313
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
314
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
315
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
316
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FormSection} and HTTP response
|
|
317
|
+
*/
|
|
318
|
+
}, {
|
|
319
|
+
key: "createFormSectionWithHttpInfo",
|
|
320
|
+
value: function createFormSectionWithHttpInfo(id, formSection, opts) {
|
|
321
|
+
opts = opts || {};
|
|
322
|
+
var postBody = formSection;
|
|
323
|
+
// verify the required parameter 'id' is set
|
|
324
|
+
if (id === undefined || id === null) {
|
|
325
|
+
throw new Error("Missing the required parameter 'id' when calling createFormSection");
|
|
326
|
+
}
|
|
327
|
+
// verify the required parameter 'formSection' is set
|
|
328
|
+
if (formSection === undefined || formSection === null) {
|
|
329
|
+
throw new Error("Missing the required parameter 'formSection' when calling createFormSection");
|
|
330
|
+
}
|
|
331
|
+
var pathParams = {
|
|
332
|
+
'id': id
|
|
333
|
+
};
|
|
334
|
+
var queryParams = {};
|
|
335
|
+
var headerParams = {
|
|
336
|
+
'Authorization': opts['authorization'],
|
|
337
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
338
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
339
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
340
|
+
'transactionid': opts['transactionid']
|
|
341
|
+
};
|
|
342
|
+
var formParams = {};
|
|
343
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
344
|
+
var contentTypes = [];
|
|
345
|
+
var accepts = ['*/*'];
|
|
346
|
+
var returnType = _FormSection["default"];
|
|
347
|
+
return this.apiClient.callApi('/graph/data/forms/{id}/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Create a new Form
|
|
352
|
+
* Creates a new form object
|
|
353
|
+
* @param {Number} id
|
|
354
|
+
* @param {Array.<module:model/FormSection>} formSection GraphObject object or array of objects to create
|
|
355
|
+
* @param {Object} opts Optional parameters
|
|
356
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
357
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
358
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
359
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
360
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
361
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FormSection}
|
|
362
|
+
*/
|
|
363
|
+
}, {
|
|
364
|
+
key: "createFormSection",
|
|
365
|
+
value: function createFormSection(id, formSection, opts) {
|
|
366
|
+
return this.createFormSectionWithHttpInfo(id, formSection, opts).then(function (response_and_data) {
|
|
367
|
+
return response_and_data.data;
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Delete Relationship
|
|
373
|
+
* Delete an individual relationship
|
|
374
|
+
* @param {Number} id
|
|
375
|
+
* @param {Object} opts Optional parameters
|
|
376
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
377
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
378
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
379
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
380
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
381
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
382
|
+
*/
|
|
383
|
+
}, {
|
|
384
|
+
key: "deleteRelationship1WithHttpInfo",
|
|
385
|
+
value: function deleteRelationship1WithHttpInfo(id, opts) {
|
|
386
|
+
opts = opts || {};
|
|
387
|
+
var postBody = null;
|
|
388
|
+
// verify the required parameter 'id' is set
|
|
389
|
+
if (id === undefined || id === null) {
|
|
390
|
+
throw new Error("Missing the required parameter 'id' when calling deleteRelationship1");
|
|
391
|
+
}
|
|
392
|
+
var pathParams = {
|
|
393
|
+
'id': id
|
|
394
|
+
};
|
|
395
|
+
var queryParams = {};
|
|
396
|
+
var headerParams = {
|
|
397
|
+
'Authorization': opts['authorization'],
|
|
398
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
399
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
400
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
401
|
+
'transactionid': opts['transactionid']
|
|
402
|
+
};
|
|
403
|
+
var formParams = {};
|
|
404
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
405
|
+
var contentTypes = [];
|
|
406
|
+
var accepts = ['*/*'];
|
|
407
|
+
var returnType = null;
|
|
408
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Delete Relationship
|
|
413
|
+
* Delete an individual relationship
|
|
414
|
+
* @param {Number} id
|
|
415
|
+
* @param {Object} opts Optional parameters
|
|
416
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
417
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
418
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
419
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
420
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
421
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
422
|
+
*/
|
|
423
|
+
}, {
|
|
424
|
+
key: "deleteRelationship1",
|
|
425
|
+
value: function deleteRelationship1(id, opts) {
|
|
426
|
+
return this.deleteRelationship1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
427
|
+
return response_and_data.data;
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Root for the API
|
|
433
|
+
* @param {Object} opts Optional parameters
|
|
434
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
435
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
436
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
437
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
438
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
439
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
440
|
+
*/
|
|
441
|
+
}, {
|
|
442
|
+
key: "get29WithHttpInfo",
|
|
443
|
+
value: function get29WithHttpInfo(opts) {
|
|
444
|
+
opts = opts || {};
|
|
445
|
+
var postBody = null;
|
|
446
|
+
var pathParams = {};
|
|
447
|
+
var queryParams = {};
|
|
448
|
+
var headerParams = {
|
|
449
|
+
'Authorization': opts['authorization'],
|
|
450
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
451
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
452
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
453
|
+
'transactionid': opts['transactionid']
|
|
454
|
+
};
|
|
455
|
+
var formParams = {};
|
|
456
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
457
|
+
var contentTypes = [];
|
|
458
|
+
var accepts = ['*/*'];
|
|
459
|
+
var returnType = null;
|
|
460
|
+
return this.apiClient.callApi('/graph/data/forms', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Root for the API
|
|
465
|
+
* @param {Object} opts Optional parameters
|
|
466
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
467
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
468
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
469
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
470
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
471
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
472
|
+
*/
|
|
473
|
+
}, {
|
|
474
|
+
key: "get29",
|
|
475
|
+
value: function get29(opts) {
|
|
476
|
+
return this.get29WithHttpInfo(opts).then(function (response_and_data) {
|
|
477
|
+
return response_and_data.data;
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Root for the API
|
|
483
|
+
* @param {Object} opts Optional parameters
|
|
484
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
485
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
486
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
487
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
488
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
489
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
490
|
+
*/
|
|
491
|
+
}, {
|
|
492
|
+
key: "get30WithHttpInfo",
|
|
493
|
+
value: function get30WithHttpInfo(opts) {
|
|
494
|
+
opts = opts || {};
|
|
495
|
+
var postBody = null;
|
|
496
|
+
var pathParams = {};
|
|
497
|
+
var queryParams = {};
|
|
498
|
+
var headerParams = {
|
|
499
|
+
'Authorization': opts['authorization'],
|
|
500
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
501
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
502
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
503
|
+
'transactionid': opts['transactionid']
|
|
504
|
+
};
|
|
505
|
+
var formParams = {};
|
|
506
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
507
|
+
var contentTypes = [];
|
|
508
|
+
var accepts = ['*/*'];
|
|
509
|
+
var returnType = null;
|
|
510
|
+
return this.apiClient.callApi('/graph/data/forms/sections', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Root for the API
|
|
515
|
+
* @param {Object} opts Optional parameters
|
|
516
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
517
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
518
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
519
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
520
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
521
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
522
|
+
*/
|
|
523
|
+
}, {
|
|
524
|
+
key: "get30",
|
|
525
|
+
value: function get30(opts) {
|
|
526
|
+
return this.get30WithHttpInfo(opts).then(function (response_and_data) {
|
|
527
|
+
return response_and_data.data;
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Root for the API
|
|
533
|
+
* @param {Object} opts Optional parameters
|
|
534
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
535
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
536
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
537
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
538
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
539
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
540
|
+
*/
|
|
541
|
+
}, {
|
|
542
|
+
key: "get31WithHttpInfo",
|
|
543
|
+
value: function get31WithHttpInfo(opts) {
|
|
544
|
+
opts = opts || {};
|
|
545
|
+
var postBody = null;
|
|
546
|
+
var pathParams = {};
|
|
547
|
+
var queryParams = {};
|
|
548
|
+
var headerParams = {
|
|
549
|
+
'Authorization': opts['authorization'],
|
|
550
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
551
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
552
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
553
|
+
'transactionid': opts['transactionid']
|
|
554
|
+
};
|
|
555
|
+
var formParams = {};
|
|
556
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
557
|
+
var contentTypes = [];
|
|
558
|
+
var accepts = ['*/*'];
|
|
559
|
+
var returnType = null;
|
|
560
|
+
return this.apiClient.callApi('/graph/data/forms/submissions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Root for the API
|
|
565
|
+
* @param {Object} opts Optional parameters
|
|
566
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
567
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
568
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
569
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
570
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
571
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
572
|
+
*/
|
|
573
|
+
}, {
|
|
574
|
+
key: "get31",
|
|
575
|
+
value: function get31(opts) {
|
|
576
|
+
return this.get31WithHttpInfo(opts).then(function (response_and_data) {
|
|
577
|
+
return response_and_data.data;
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Get Form By Id
|
|
583
|
+
* Returns the form with the given id
|
|
584
|
+
* @param {Number} id
|
|
585
|
+
* @param {Object} opts Optional parameters
|
|
586
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
587
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
588
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
589
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
590
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
591
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Form} and HTTP response
|
|
592
|
+
*/
|
|
593
|
+
}, {
|
|
594
|
+
key: "getFormByIdWithHttpInfo",
|
|
595
|
+
value: function getFormByIdWithHttpInfo(id, opts) {
|
|
596
|
+
opts = opts || {};
|
|
597
|
+
var postBody = null;
|
|
598
|
+
// verify the required parameter 'id' is set
|
|
599
|
+
if (id === undefined || id === null) {
|
|
600
|
+
throw new Error("Missing the required parameter 'id' when calling getFormById");
|
|
601
|
+
}
|
|
602
|
+
var pathParams = {
|
|
603
|
+
'id': id
|
|
604
|
+
};
|
|
605
|
+
var queryParams = {};
|
|
606
|
+
var headerParams = {
|
|
607
|
+
'Authorization': opts['authorization'],
|
|
608
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
609
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
610
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
611
|
+
'transactionid': opts['transactionid']
|
|
612
|
+
};
|
|
613
|
+
var formParams = {};
|
|
614
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
615
|
+
var contentTypes = [];
|
|
616
|
+
var accepts = ['application/json'];
|
|
617
|
+
var returnType = _Form["default"];
|
|
618
|
+
return this.apiClient.callApi('/graph/data/forms/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Get Form By Id
|
|
623
|
+
* Returns the form with the given id
|
|
624
|
+
* @param {Number} id
|
|
625
|
+
* @param {Object} opts Optional parameters
|
|
626
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
627
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
628
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
629
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
630
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
631
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Form}
|
|
632
|
+
*/
|
|
633
|
+
}, {
|
|
634
|
+
key: "getFormById",
|
|
635
|
+
value: function getFormById(id, opts) {
|
|
636
|
+
return this.getFormByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
637
|
+
return response_and_data.data;
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @param {Number} id
|
|
643
|
+
* @param {Object} opts Optional parameters
|
|
644
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
645
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
646
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
647
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
648
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
649
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SkinField>} and HTTP response
|
|
650
|
+
*/
|
|
651
|
+
}, {
|
|
652
|
+
key: "getFormFieldsWithHttpInfo",
|
|
653
|
+
value: function getFormFieldsWithHttpInfo(id, opts) {
|
|
654
|
+
opts = opts || {};
|
|
655
|
+
var postBody = null;
|
|
656
|
+
// verify the required parameter 'id' is set
|
|
657
|
+
if (id === undefined || id === null) {
|
|
658
|
+
throw new Error("Missing the required parameter 'id' when calling getFormFields");
|
|
659
|
+
}
|
|
660
|
+
var pathParams = {
|
|
661
|
+
'id': id
|
|
662
|
+
};
|
|
663
|
+
var queryParams = {};
|
|
664
|
+
var headerParams = {
|
|
665
|
+
'Authorization': opts['authorization'],
|
|
666
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
667
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
668
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
669
|
+
'transactionid': opts['transactionid']
|
|
670
|
+
};
|
|
671
|
+
var formParams = {};
|
|
672
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
673
|
+
var contentTypes = [];
|
|
674
|
+
var accepts = ['application/json'];
|
|
675
|
+
var returnType = [_SkinField["default"]];
|
|
676
|
+
return this.apiClient.callApi('/graph/data/forms/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @param {Number} id
|
|
681
|
+
* @param {Object} opts Optional parameters
|
|
682
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
683
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
684
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
685
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
686
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
687
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SkinField>}
|
|
688
|
+
*/
|
|
689
|
+
}, {
|
|
690
|
+
key: "getFormFields",
|
|
691
|
+
value: function getFormFields(id, opts) {
|
|
692
|
+
return this.getFormFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
693
|
+
return response_and_data.data;
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Get Form By Id
|
|
699
|
+
* Returns the form with the given id
|
|
700
|
+
* @param {Number} id
|
|
701
|
+
* @param {Object} opts Optional parameters
|
|
702
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
703
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
704
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
705
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
706
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
707
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FormSection} and HTTP response
|
|
708
|
+
*/
|
|
709
|
+
}, {
|
|
710
|
+
key: "getFormSectionByIdWithHttpInfo",
|
|
711
|
+
value: function getFormSectionByIdWithHttpInfo(id, opts) {
|
|
712
|
+
opts = opts || {};
|
|
713
|
+
var postBody = null;
|
|
714
|
+
// verify the required parameter 'id' is set
|
|
715
|
+
if (id === undefined || id === null) {
|
|
716
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSectionById");
|
|
717
|
+
}
|
|
718
|
+
var pathParams = {
|
|
719
|
+
'id': id
|
|
720
|
+
};
|
|
721
|
+
var queryParams = {};
|
|
722
|
+
var headerParams = {
|
|
723
|
+
'Authorization': opts['authorization'],
|
|
724
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
725
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
726
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
727
|
+
'transactionid': opts['transactionid']
|
|
728
|
+
};
|
|
729
|
+
var formParams = {};
|
|
730
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
731
|
+
var contentTypes = [];
|
|
732
|
+
var accepts = ['application/json'];
|
|
733
|
+
var returnType = _FormSection["default"];
|
|
734
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Get Form By Id
|
|
739
|
+
* Returns the form with the given id
|
|
740
|
+
* @param {Number} id
|
|
741
|
+
* @param {Object} opts Optional parameters
|
|
742
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
743
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
744
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
745
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
746
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
747
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FormSection}
|
|
748
|
+
*/
|
|
749
|
+
}, {
|
|
750
|
+
key: "getFormSectionById",
|
|
751
|
+
value: function getFormSectionById(id, opts) {
|
|
752
|
+
return this.getFormSectionByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
753
|
+
return response_and_data.data;
|
|
754
|
+
});
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* @param {Number} id
|
|
759
|
+
* @param {Object} opts Optional parameters
|
|
760
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
761
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
762
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
763
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
764
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
765
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SkinField>} and HTTP response
|
|
766
|
+
*/
|
|
767
|
+
}, {
|
|
768
|
+
key: "getFormSectionFieldsWithHttpInfo",
|
|
769
|
+
value: function getFormSectionFieldsWithHttpInfo(id, opts) {
|
|
770
|
+
opts = opts || {};
|
|
771
|
+
var postBody = null;
|
|
772
|
+
// verify the required parameter 'id' is set
|
|
773
|
+
if (id === undefined || id === null) {
|
|
774
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSectionFields");
|
|
775
|
+
}
|
|
776
|
+
var pathParams = {
|
|
777
|
+
'id': id
|
|
778
|
+
};
|
|
779
|
+
var queryParams = {};
|
|
780
|
+
var headerParams = {
|
|
781
|
+
'Authorization': opts['authorization'],
|
|
782
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
783
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
784
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
785
|
+
'transactionid': opts['transactionid']
|
|
786
|
+
};
|
|
787
|
+
var formParams = {};
|
|
788
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
789
|
+
var contentTypes = [];
|
|
790
|
+
var accepts = ['application/json'];
|
|
791
|
+
var returnType = [_SkinField["default"]];
|
|
792
|
+
return this.apiClient.callApi('/graph/data/forms/sections/{id}/fields', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* @param {Number} id
|
|
797
|
+
* @param {Object} opts Optional parameters
|
|
798
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
799
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
800
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
801
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
802
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
803
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SkinField>}
|
|
804
|
+
*/
|
|
805
|
+
}, {
|
|
806
|
+
key: "getFormSectionFields",
|
|
807
|
+
value: function getFormSectionFields(id, opts) {
|
|
808
|
+
return this.getFormSectionFieldsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
809
|
+
return response_and_data.data;
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Get Form By Id
|
|
815
|
+
* Returns the form with the given id
|
|
816
|
+
* @param {Number} id
|
|
817
|
+
* @param {Object} opts Optional parameters
|
|
818
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
819
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
820
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
821
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
822
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
823
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GraphRelationship} and HTTP response
|
|
824
|
+
*/
|
|
825
|
+
}, {
|
|
826
|
+
key: "getFormSubmissionByIdWithHttpInfo",
|
|
827
|
+
value: function getFormSubmissionByIdWithHttpInfo(id, opts) {
|
|
828
|
+
opts = opts || {};
|
|
829
|
+
var postBody = null;
|
|
830
|
+
// verify the required parameter 'id' is set
|
|
831
|
+
if (id === undefined || id === null) {
|
|
832
|
+
throw new Error("Missing the required parameter 'id' when calling getFormSubmissionById");
|
|
833
|
+
}
|
|
834
|
+
var pathParams = {
|
|
835
|
+
'id': id
|
|
836
|
+
};
|
|
837
|
+
var queryParams = {};
|
|
838
|
+
var headerParams = {
|
|
839
|
+
'Authorization': opts['authorization'],
|
|
840
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
841
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
842
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
843
|
+
'transactionid': opts['transactionid']
|
|
844
|
+
};
|
|
845
|
+
var formParams = {};
|
|
846
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
847
|
+
var contentTypes = [];
|
|
848
|
+
var accepts = ['application/json'];
|
|
849
|
+
var returnType = _GraphRelationship["default"];
|
|
850
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Get Form By Id
|
|
855
|
+
* Returns the form with the given id
|
|
856
|
+
* @param {Number} id
|
|
857
|
+
* @param {Object} opts Optional parameters
|
|
858
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
859
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
860
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
861
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
862
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
863
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GraphRelationship}
|
|
864
|
+
*/
|
|
865
|
+
}, {
|
|
866
|
+
key: "getFormSubmissionById",
|
|
867
|
+
value: function getFormSubmissionById(id, opts) {
|
|
868
|
+
return this.getFormSubmissionByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
869
|
+
return response_and_data.data;
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Get Properties
|
|
875
|
+
* Get all properties attached to a relationship
|
|
876
|
+
* @param {Number} id
|
|
877
|
+
* @param {Object} opts Optional parameters
|
|
878
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
879
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
880
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
881
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
882
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
883
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
884
|
+
*/
|
|
885
|
+
}, {
|
|
886
|
+
key: "getRelProperties1WithHttpInfo",
|
|
887
|
+
value: function getRelProperties1WithHttpInfo(id, opts) {
|
|
888
|
+
opts = opts || {};
|
|
889
|
+
var postBody = null;
|
|
890
|
+
// verify the required parameter 'id' is set
|
|
891
|
+
if (id === undefined || id === null) {
|
|
892
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperties1");
|
|
893
|
+
}
|
|
894
|
+
var pathParams = {
|
|
895
|
+
'id': id
|
|
896
|
+
};
|
|
897
|
+
var queryParams = {};
|
|
898
|
+
var headerParams = {
|
|
899
|
+
'Authorization': opts['authorization'],
|
|
900
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
901
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
902
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
903
|
+
'transactionid': opts['transactionid']
|
|
904
|
+
};
|
|
905
|
+
var formParams = {};
|
|
906
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
907
|
+
var contentTypes = [];
|
|
908
|
+
var accepts = ['application/json'];
|
|
909
|
+
var returnType = {
|
|
910
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
911
|
+
};
|
|
912
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Get Properties
|
|
917
|
+
* Get all properties attached to a relationship
|
|
918
|
+
* @param {Number} id
|
|
919
|
+
* @param {Object} opts Optional parameters
|
|
920
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
921
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
922
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
923
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
924
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
925
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
926
|
+
*/
|
|
927
|
+
}, {
|
|
928
|
+
key: "getRelProperties1",
|
|
929
|
+
value: function getRelProperties1(id, opts) {
|
|
930
|
+
return this.getRelProperties1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
931
|
+
return response_and_data.data;
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Get Property
|
|
937
|
+
* Get a single property attached to a relationship
|
|
938
|
+
* @param {Number} id
|
|
939
|
+
* @param {String} prop
|
|
940
|
+
* @param {Object} opts Optional parameters
|
|
941
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
942
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
943
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
944
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
945
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
946
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} and HTTP response
|
|
947
|
+
*/
|
|
948
|
+
}, {
|
|
949
|
+
key: "getRelProperty1WithHttpInfo",
|
|
950
|
+
value: function getRelProperty1WithHttpInfo(id, prop, opts) {
|
|
951
|
+
opts = opts || {};
|
|
952
|
+
var postBody = null;
|
|
953
|
+
// verify the required parameter 'id' is set
|
|
954
|
+
if (id === undefined || id === null) {
|
|
955
|
+
throw new Error("Missing the required parameter 'id' when calling getRelProperty1");
|
|
956
|
+
}
|
|
957
|
+
// verify the required parameter 'prop' is set
|
|
958
|
+
if (prop === undefined || prop === null) {
|
|
959
|
+
throw new Error("Missing the required parameter 'prop' when calling getRelProperty1");
|
|
960
|
+
}
|
|
961
|
+
var pathParams = {
|
|
962
|
+
'id': id,
|
|
963
|
+
'prop': prop
|
|
964
|
+
};
|
|
965
|
+
var queryParams = {};
|
|
966
|
+
var headerParams = {
|
|
967
|
+
'Authorization': opts['authorization'],
|
|
968
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
969
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
970
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
971
|
+
'transactionid': opts['transactionid']
|
|
972
|
+
};
|
|
973
|
+
var formParams = {};
|
|
974
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
975
|
+
var contentTypes = [];
|
|
976
|
+
var accepts = ['application/json'];
|
|
977
|
+
var returnType = {
|
|
978
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
979
|
+
};
|
|
980
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Get Property
|
|
985
|
+
* Get a single property attached to a relationship
|
|
986
|
+
* @param {Number} id
|
|
987
|
+
* @param {String} prop
|
|
988
|
+
* @param {Object} opts Optional parameters
|
|
989
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
990
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
991
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
992
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
993
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
994
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
995
|
+
*/
|
|
996
|
+
}, {
|
|
997
|
+
key: "getRelProperty1",
|
|
998
|
+
value: function getRelProperty1(id, prop, opts) {
|
|
999
|
+
return this.getRelProperty1WithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
1000
|
+
return response_and_data.data;
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Set Multiple Properties
|
|
1006
|
+
* Set multiple properties attaced to an object / record
|
|
1007
|
+
* @param {Number} id
|
|
1008
|
+
* @param {Object} opts Optional parameters
|
|
1009
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1010
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1011
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1012
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1013
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1014
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
1015
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1016
|
+
*/
|
|
1017
|
+
}, {
|
|
1018
|
+
key: "setRelProperties1WithHttpInfo",
|
|
1019
|
+
value: function setRelProperties1WithHttpInfo(id, opts) {
|
|
1020
|
+
opts = opts || {};
|
|
1021
|
+
var postBody = opts['requestBody'];
|
|
1022
|
+
// verify the required parameter 'id' is set
|
|
1023
|
+
if (id === undefined || id === null) {
|
|
1024
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperties1");
|
|
1025
|
+
}
|
|
1026
|
+
var pathParams = {
|
|
1027
|
+
'id': id
|
|
1028
|
+
};
|
|
1029
|
+
var queryParams = {};
|
|
1030
|
+
var headerParams = {
|
|
1031
|
+
'Authorization': opts['authorization'],
|
|
1032
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1033
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1034
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1035
|
+
'transactionid': opts['transactionid']
|
|
1036
|
+
};
|
|
1037
|
+
var formParams = {};
|
|
1038
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1039
|
+
var contentTypes = [];
|
|
1040
|
+
var accepts = ['*/*'];
|
|
1041
|
+
var returnType = null;
|
|
1042
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Set Multiple Properties
|
|
1047
|
+
* Set multiple properties attaced to an object / record
|
|
1048
|
+
* @param {Number} id
|
|
1049
|
+
* @param {Object} opts Optional parameters
|
|
1050
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1051
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1052
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1053
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1054
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1055
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} opts.requestBody
|
|
1056
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1057
|
+
*/
|
|
1058
|
+
}, {
|
|
1059
|
+
key: "setRelProperties1",
|
|
1060
|
+
value: function setRelProperties1(id, opts) {
|
|
1061
|
+
return this.setRelProperties1WithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1062
|
+
return response_and_data.data;
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Update Property
|
|
1068
|
+
* Update a specific property
|
|
1069
|
+
* @param {Number} id
|
|
1070
|
+
* @param {String} prop
|
|
1071
|
+
* @param {Object} opts Optional parameters
|
|
1072
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
1073
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1074
|
+
* @param {Number} [zeusportalPostas] The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1075
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1076
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
1077
|
+
* @param {String} [body]
|
|
1078
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1079
|
+
*/
|
|
1080
|
+
}, {
|
|
1081
|
+
key: "setRelProperty1WithHttpInfo",
|
|
1082
|
+
value: function setRelProperty1WithHttpInfo(id, prop, opts) {
|
|
1083
|
+
opts = opts || {};
|
|
1084
|
+
var postBody = opts['body'];
|
|
1085
|
+
// verify the required parameter 'id' is set
|
|
1086
|
+
if (id === undefined || id === null) {
|
|
1087
|
+
throw new Error("Missing the required parameter 'id' when calling setRelProperty1");
|
|
1088
|
+
}
|
|
1089
|
+
// verify the required parameter 'prop' is set
|
|
1090
|
+
if (prop === undefined || prop === null) {
|
|
1091
|
+
throw new Error("Missing the required parameter 'prop' when calling setRelProperty1");
|
|
1092
|
+
}
|
|
1093
|
+
var pathParams = {
|
|
1094
|
+
'id': id,
|
|
1095
|
+
'prop': prop
|
|
1096
|
+
};
|
|
1097
|
+
var queryParams = {};
|
|
1098
|
+
var headerParams = {
|
|
1099
|
+
'Authorization': opts['authorization'],
|
|
1100
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
1101
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
1102
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
1103
|
+
'transactionid': opts['transactionid']
|
|
1104
|
+
};
|
|
1105
|
+
var formParams = {};
|
|
1106
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
1107
|
+
var contentTypes = [];
|
|
1108
|
+
var accepts = ['*/*'];
|
|
1109
|
+
var returnType = null;
|
|
1110
|
+
return this.apiClient.callApi('/graph/data/forms/submissions/{id}/properties/{prop}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Update Property
|
|
1115
|
+
* Update a specific property
|
|
1116
|
+
* @param {Number} id
|
|
1117
|
+
* @param {String} prop
|
|
1118
|
+
* @param {Object} opts Optional parameters
|
|
1119
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
1120
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
1121
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
1122
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
1123
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
1124
|
+
* @param {String} opts.body
|
|
1125
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1126
|
+
*/
|
|
1127
|
+
}, {
|
|
1128
|
+
key: "setRelProperty1",
|
|
1129
|
+
value: function setRelProperty1(id, prop, opts) {
|
|
1130
|
+
return this.setRelProperty1WithHttpInfo(id, prop, opts).then(function (response_and_data) {
|
|
1131
|
+
return response_and_data.data;
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
}]);
|
|
1135
|
+
return FormsApi;
|
|
1136
|
+
}();
|