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