@gobodo/gobodo-api 0.1.52 → 0.1.58
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 +73 -9
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +8 -348
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.js +282 -0
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +946 -10
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +511 -0
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +134 -9
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +127 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.js +735 -0
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PhoneNumbersApi.js +322 -0
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SocialIntegrationApi.js +2 -2
- package/dist/api/StripeAccountsApi.js +2 -2
- package/dist/api/TagsApi.js +2 -2
- package/dist/api/TemplatesApi.js +2 -2
- package/dist/api/ThemeMappingsApi.js +2 -2
- package/dist/api/TopicsApi.js +457 -0
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/index.js +147 -7
- package/dist/model/APIClient.js +9 -9
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -32
- package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +2 -2
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/Balance.js +37 -37
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +14 -14
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +169 -0
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +139 -0
- package/dist/model/CreateTopicListenerInput.js +125 -0
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +10 -10
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +200 -0
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +21 -21
- package/dist/model/DocumentPartType.js +10 -10
- package/dist/model/DocumentType.js +18 -18
- package/dist/model/EmailAddress.js +142 -0
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +25 -25
- package/dist/model/File.js +9 -9
- package/dist/model/FileAttachmentUploadObject.js +9 -9
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/FunctionConfigInput.js +333 -0
- package/dist/model/FunctionEnvironmentConfig.js +169 -0
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.js +365 -0
- package/dist/model/GetFunctionEnvironmentConfig.js +171 -0
- package/dist/model/GetFunctionResponse.js +199 -0
- package/dist/model/Graph.js +37 -37
- package/dist/model/GraphAction.js +11 -11
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +2 -2
- package/dist/model/GraphObject.js +27 -27
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +36 -36
- package/dist/model/GraphObjectType.js +18 -18
- package/dist/model/GraphObjectTypeSchema.js +18 -18
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +11 -11
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +2 -2
- package/dist/model/GraphSchema.js +38 -38
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +23 -23
- package/dist/model/ImageUploadObject.js +23 -23
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartHeaders.js +88 -0
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/Link.js +26 -26
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +41 -41
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +14 -14
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +9 -9
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/Notification.js +210 -0
- package/dist/model/NotificationInput.js +187 -0
- package/dist/model/NotificationResponse.js +185 -0
- package/dist/model/Objecttype.js +17 -17
- package/dist/model/Page.js +2 -2
- package/dist/model/PageSchema.js +10 -10
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Path.js +2 -2
- package/dist/model/PaymentAccountObject.js +2 -2
- package/dist/model/PaymentIntentInput.js +2 -2
- package/dist/model/PaymentIntentResponse.js +2 -2
- package/dist/model/PaymentMethod.js +9 -9
- package/dist/model/PaymentMethodInput.js +2 -2
- package/dist/model/PaymentMethodResponse.js +2 -2
- package/dist/model/PaymentMethodsResponse.js +2 -2
- package/dist/model/Payout.js +11 -11
- package/dist/model/PayoutInput.js +2 -2
- package/dist/model/PayoutResponse.js +2 -2
- package/dist/model/PhoneNumber.js +178 -0
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +36 -36
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +9 -9
- package/dist/model/PurgeDataDefaultResponse.js +144 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/ScreenSchema.js +27 -27
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SkinField.js +25 -25
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +16 -16
- package/dist/model/Sort.js +2 -2
- package/dist/model/SourceTypes.js +2 -2
- package/dist/model/StatusUpdate.js +2 -2
- package/dist/model/StreetAddress.js +2 -2
- package/dist/model/StripeAccount.js +2 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +22 -22
- package/dist/model/TemplateSchema.js +22 -22
- package/dist/model/ThemeMapping.js +10 -10
- package/dist/model/ThemeMappingPayload.js +9 -9
- package/dist/model/TopicInfoResponse.js +183 -0
- package/dist/model/TopicMessageInput.js +123 -0
- package/dist/model/TopicSubscriptionResponse.js +151 -0
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +13 -13
- package/dist/model/TransferInput.js +2 -2
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +13 -13
- package/dist/model/TraversalRelationResponse.js +2 -2
- package/dist/model/User.js +14 -14
- package/dist/model/UserDataPayload.js +14 -14
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +13 -13
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +14 -14
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +30 -30
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +38 -38
- package/dist/model/VideoUploadObject.js +30 -30
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,282 @@
|
|
|
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 _EmailAddress = _interopRequireDefault(require("../model/EmailAddress"));
|
|
9
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.58
|
|
20
|
+
* Contact: info@gobodo.io
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
23
|
+
* https://openapi-generator.tech
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Emails service.
|
|
29
|
+
* @module api/EmailsApi
|
|
30
|
+
* @version 0.1.58
|
|
31
|
+
*/
|
|
32
|
+
var EmailsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new EmailsApi.
|
|
35
|
+
* @alias module:api/EmailsApi
|
|
36
|
+
* @class
|
|
37
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
38
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
39
|
+
*/
|
|
40
|
+
function EmailsApi(apiClient) {
|
|
41
|
+
_classCallCheck(this, EmailsApi);
|
|
42
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Callback function to receive the result of the createEmailForPage operation.
|
|
47
|
+
* @callback module:api/EmailsApi~createEmailForPageCallback
|
|
48
|
+
* @param {String} error Error message, if any.
|
|
49
|
+
* @param {module:model/EmailAddress} data The data returned by the service call.
|
|
50
|
+
* @param {String} response The complete HTTP response.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Creates an email address for a page
|
|
55
|
+
* Creates an email address for a page
|
|
56
|
+
* @param {Number} pageId
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
59
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
60
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
61
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
62
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
63
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
64
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
65
|
+
* @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
|
|
66
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
67
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
68
|
+
* @param {module:api/EmailsApi~createEmailForPageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
|
+
* data is of type: {@link module:model/EmailAddress}
|
|
70
|
+
*/
|
|
71
|
+
_createClass(EmailsApi, [{
|
|
72
|
+
key: "createEmailForPage",
|
|
73
|
+
value: function createEmailForPage(pageId, opts, callback) {
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
var postBody = null;
|
|
76
|
+
// verify the required parameter 'pageId' is set
|
|
77
|
+
if (pageId === undefined || pageId === null) {
|
|
78
|
+
throw new Error("Missing the required parameter 'pageId' when calling createEmailForPage");
|
|
79
|
+
}
|
|
80
|
+
var pathParams = {
|
|
81
|
+
'pageId': pageId
|
|
82
|
+
};
|
|
83
|
+
var queryParams = {};
|
|
84
|
+
var headerParams = {
|
|
85
|
+
'Authorization': opts['authorization'],
|
|
86
|
+
'cacheduration': opts['cacheduration'],
|
|
87
|
+
'cachegroup': opts['cachegroup'],
|
|
88
|
+
'cachekey': opts['cachekey'],
|
|
89
|
+
'cachescope': opts['cachescope'],
|
|
90
|
+
'cacheuser': opts['cacheuser'],
|
|
91
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
92
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
93
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
94
|
+
'transactionid': opts['transactionid']
|
|
95
|
+
};
|
|
96
|
+
var formParams = {};
|
|
97
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
98
|
+
var contentTypes = [];
|
|
99
|
+
var accepts = ['application/json'];
|
|
100
|
+
var returnType = _EmailAddress["default"];
|
|
101
|
+
return this.apiClient.callApi('/graph/data/emails/page/{pageId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Callback function to receive the result of the createEmailForUser operation.
|
|
106
|
+
* @callback module:api/EmailsApi~createEmailForUserCallback
|
|
107
|
+
* @param {String} error Error message, if any.
|
|
108
|
+
* @param {module:model/EmailAddress} data The data returned by the service call.
|
|
109
|
+
* @param {String} response The complete HTTP response.
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Creates an email address for a user
|
|
114
|
+
* Creates an email address for a user
|
|
115
|
+
* @param {Number} userId
|
|
116
|
+
* @param {Object} opts Optional parameters
|
|
117
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
118
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
119
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
120
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
121
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
122
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
123
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
124
|
+
* @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
|
|
125
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
126
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
127
|
+
* @param {module:api/EmailsApi~createEmailForUserCallback} callback The callback function, accepting three arguments: error, data, response
|
|
128
|
+
* data is of type: {@link module:model/EmailAddress}
|
|
129
|
+
*/
|
|
130
|
+
}, {
|
|
131
|
+
key: "createEmailForUser",
|
|
132
|
+
value: function createEmailForUser(userId, opts, callback) {
|
|
133
|
+
opts = opts || {};
|
|
134
|
+
var postBody = null;
|
|
135
|
+
// verify the required parameter 'userId' is set
|
|
136
|
+
if (userId === undefined || userId === null) {
|
|
137
|
+
throw new Error("Missing the required parameter 'userId' when calling createEmailForUser");
|
|
138
|
+
}
|
|
139
|
+
var pathParams = {
|
|
140
|
+
'userId': userId
|
|
141
|
+
};
|
|
142
|
+
var queryParams = {};
|
|
143
|
+
var headerParams = {
|
|
144
|
+
'Authorization': opts['authorization'],
|
|
145
|
+
'cacheduration': opts['cacheduration'],
|
|
146
|
+
'cachegroup': opts['cachegroup'],
|
|
147
|
+
'cachekey': opts['cachekey'],
|
|
148
|
+
'cachescope': opts['cachescope'],
|
|
149
|
+
'cacheuser': opts['cacheuser'],
|
|
150
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
151
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
152
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
153
|
+
'transactionid': opts['transactionid']
|
|
154
|
+
};
|
|
155
|
+
var formParams = {};
|
|
156
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
157
|
+
var contentTypes = [];
|
|
158
|
+
var accepts = ['application/json'];
|
|
159
|
+
var returnType = _EmailAddress["default"];
|
|
160
|
+
return this.apiClient.callApi('/graph/data/emails/user/{userId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Callback function to receive the result of the getEmailsByPage operation.
|
|
165
|
+
* @callback module:api/EmailsApi~getEmailsByPageCallback
|
|
166
|
+
* @param {String} error Error message, if any.
|
|
167
|
+
* @param {Array.<module:model/EmailAddress>} data The data returned by the service call.
|
|
168
|
+
* @param {String} response The complete HTTP response.
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Returns all email addresses for a given page
|
|
173
|
+
* Returns all email addresses for a given page
|
|
174
|
+
* @param {Number} pageId
|
|
175
|
+
* @param {Object} opts Optional parameters
|
|
176
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
177
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
178
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
179
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
180
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
181
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
182
|
+
* @param {Number} [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} [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} [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} [transactionid] The id of the transaction this operation is being run in
|
|
186
|
+
* @param {module:api/EmailsApi~getEmailsByPageCallback} callback The callback function, accepting three arguments: error, data, response
|
|
187
|
+
* data is of type: {@link Array.<module:model/EmailAddress>}
|
|
188
|
+
*/
|
|
189
|
+
}, {
|
|
190
|
+
key: "getEmailsByPage",
|
|
191
|
+
value: function getEmailsByPage(pageId, opts, callback) {
|
|
192
|
+
opts = opts || {};
|
|
193
|
+
var postBody = null;
|
|
194
|
+
// verify the required parameter 'pageId' is set
|
|
195
|
+
if (pageId === undefined || pageId === null) {
|
|
196
|
+
throw new Error("Missing the required parameter 'pageId' when calling getEmailsByPage");
|
|
197
|
+
}
|
|
198
|
+
var pathParams = {
|
|
199
|
+
'pageId': pageId
|
|
200
|
+
};
|
|
201
|
+
var queryParams = {};
|
|
202
|
+
var headerParams = {
|
|
203
|
+
'Authorization': opts['authorization'],
|
|
204
|
+
'cacheduration': opts['cacheduration'],
|
|
205
|
+
'cachegroup': opts['cachegroup'],
|
|
206
|
+
'cachekey': opts['cachekey'],
|
|
207
|
+
'cachescope': opts['cachescope'],
|
|
208
|
+
'cacheuser': opts['cacheuser'],
|
|
209
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
210
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
211
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
212
|
+
'transactionid': opts['transactionid']
|
|
213
|
+
};
|
|
214
|
+
var formParams = {};
|
|
215
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
216
|
+
var contentTypes = [];
|
|
217
|
+
var accepts = ['application/json'];
|
|
218
|
+
var returnType = [_EmailAddress["default"]];
|
|
219
|
+
return this.apiClient.callApi('/graph/data/emails/page/{pageId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Callback function to receive the result of the getEmailsByUser operation.
|
|
224
|
+
* @callback module:api/EmailsApi~getEmailsByUserCallback
|
|
225
|
+
* @param {String} error Error message, if any.
|
|
226
|
+
* @param {Array.<module:model/EmailAddress>} data The data returned by the service call.
|
|
227
|
+
* @param {String} response The complete HTTP response.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Returns all email addresses for a given user
|
|
232
|
+
* Returns all email addresses for a given user
|
|
233
|
+
* @param {Number} userId
|
|
234
|
+
* @param {Object} opts Optional parameters
|
|
235
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
236
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
237
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
238
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
239
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
240
|
+
* @param {Array.<String>} [cacheuser] The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
241
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
242
|
+
* @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
|
|
243
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
244
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
245
|
+
* @param {module:api/EmailsApi~getEmailsByUserCallback} callback The callback function, accepting three arguments: error, data, response
|
|
246
|
+
* data is of type: {@link Array.<module:model/EmailAddress>}
|
|
247
|
+
*/
|
|
248
|
+
}, {
|
|
249
|
+
key: "getEmailsByUser",
|
|
250
|
+
value: function getEmailsByUser(userId, opts, callback) {
|
|
251
|
+
opts = opts || {};
|
|
252
|
+
var postBody = null;
|
|
253
|
+
// verify the required parameter 'userId' is set
|
|
254
|
+
if (userId === undefined || userId === null) {
|
|
255
|
+
throw new Error("Missing the required parameter 'userId' when calling getEmailsByUser");
|
|
256
|
+
}
|
|
257
|
+
var pathParams = {
|
|
258
|
+
'userId': userId
|
|
259
|
+
};
|
|
260
|
+
var queryParams = {};
|
|
261
|
+
var headerParams = {
|
|
262
|
+
'Authorization': opts['authorization'],
|
|
263
|
+
'cacheduration': opts['cacheduration'],
|
|
264
|
+
'cachegroup': opts['cachegroup'],
|
|
265
|
+
'cachekey': opts['cachekey'],
|
|
266
|
+
'cachescope': opts['cachescope'],
|
|
267
|
+
'cacheuser': opts['cacheuser'],
|
|
268
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
269
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
270
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
271
|
+
'transactionid': opts['transactionid']
|
|
272
|
+
};
|
|
273
|
+
var formParams = {};
|
|
274
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
275
|
+
var contentTypes = [];
|
|
276
|
+
var accepts = ['application/json'];
|
|
277
|
+
var returnType = [_EmailAddress["default"]];
|
|
278
|
+
return this.apiClient.callApi('/graph/data/emails/user/{userid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
279
|
+
}
|
|
280
|
+
}]);
|
|
281
|
+
return EmailsApi;
|
|
282
|
+
}();
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.58
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* EntryParts service.
|
|
30
30
|
* @module api/EntryPartsApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.58
|
|
32
32
|
*/
|
|
33
33
|
var EntryPartsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/FacebookApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.58
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Facebook service.
|
|
29
29
|
* @module api/FacebookApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.58
|
|
31
31
|
*/
|
|
32
32
|
var FacebookApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/FieldsApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
16
16
|
* gobodo-api
|
|
17
17
|
* REST Interface for Gobodo API
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 0.1.
|
|
19
|
+
* The version of the OpenAPI document: 0.1.58
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Fields service.
|
|
29
29
|
* @module api/FieldsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.58
|
|
31
31
|
*/
|
|
32
32
|
var FieldsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/FilesApi.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
* gobodo-api
|
|
18
18
|
* REST Interface for Gobodo API
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 0.1.
|
|
20
|
+
* The version of the OpenAPI document: 0.1.58
|
|
21
21
|
* Contact: info@gobodo.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
28
28
|
/**
|
|
29
29
|
* Files service.
|
|
30
30
|
* @module api/FilesApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.58
|
|
32
32
|
*/
|
|
33
33
|
var FilesApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/FormsApi.js
CHANGED
|
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
20
20
|
* gobodo-api
|
|
21
21
|
* REST Interface for Gobodo API
|
|
22
22
|
*
|
|
23
|
-
* The version of the OpenAPI document: 0.1.
|
|
23
|
+
* The version of the OpenAPI document: 0.1.58
|
|
24
24
|
* Contact: info@gobodo.io
|
|
25
25
|
*
|
|
26
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
31
31
|
/**
|
|
32
32
|
* Forms service.
|
|
33
33
|
* @module api/FormsApi
|
|
34
|
-
* @version 0.1.
|
|
34
|
+
* @version 0.1.58
|
|
35
35
|
*/
|
|
36
36
|
var FormsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|