@gobodo/gobodo-api 0.1.67 → 0.1.71
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 +41 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +210 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.js +262 -0
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.js +148 -0
- package/dist/api/DocumentTypesApi.js +148 -0
- package/dist/api/DocumentsApi.js +2 -2
- package/dist/api/EmailsApi.js +2 -2
- package/dist/api/EntryPartsApi.js +2 -2
- package/dist/api/FacebookApi.js +2 -2
- package/dist/api/FieldsApi.js +2 -2
- package/dist/api/FilesApi.js +2 -2
- package/dist/api/FormsApi.js +2 -2
- package/dist/api/FunctionsApi.js +2 -2
- package/dist/api/GeocodeApi.js +2 -2
- package/dist/api/GoogleApi.js +2 -2
- package/dist/api/GraphActionTypesApi.js +2 -2
- package/dist/api/GraphActionsApi.js +2 -2
- package/dist/api/GraphObjectTypesApi.js +2 -2
- package/dist/api/GraphObjectsApi.js +2 -2
- package/dist/api/GraphRelationshipTypesApi.js +2 -2
- package/dist/api/GraphRelationshipsApi.js +2 -2
- package/dist/api/GraphSchemasApi.js +2 -2
- package/dist/api/GraphTraversalApi.js +2 -2
- package/dist/api/GraphsApi.js +2 -2
- package/dist/api/GroupsApi.js +2 -2
- package/dist/api/IAMApi.js +2 -2
- package/dist/api/ImagesApi.js +2 -2
- package/dist/api/InvitesApi.js +2 -2
- package/dist/api/LikesApi.js +2 -2
- package/dist/api/LinkedINApi.js +2 -2
- package/dist/api/LiveMeetingsApi.js +2 -2
- package/dist/api/MeetingEventsApi.js +2 -2
- package/dist/api/NotificationsApi.js +2 -2
- package/dist/api/PagesApi.js +2 -2
- package/dist/api/PhoneNumbersApi.js +2 -2
- package/dist/api/PostsApi.js +2 -2
- package/dist/api/PrivateMessagesApi.js +2 -2
- package/dist/api/PublicationsApi.js +2 -2
- package/dist/api/RestApplicationsApi.js +2 -2
- package/dist/api/ScreensApi.js +2 -2
- package/dist/api/SitesApi.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 +61 -2
- package/dist/api/TransactionsApi.js +2 -2
- package/dist/api/TwitterApi.js +2 -2
- package/dist/api/UserTagsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/api/UtilsApi.js +2 -2
- package/dist/api/VideosApi.js +2 -2
- package/dist/api/WalletsApi.js +708 -0
- package/dist/index.js +126 -7
- package/dist/model/APIClient.js +2 -2
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +14 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +6 -6
- package/dist/model/Article.js +2 -2
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.js +31 -2
- package/dist/model/BalanceDetails.js +2 -2
- package/dist/model/BalanceResponse.js +2 -2
- package/dist/model/BankAccountInfo.js +2 -2
- package/dist/model/CardInfo.js +2 -2
- package/dist/model/Comment.js +14 -14
- package/dist/model/Coordinates.js +2 -2
- package/dist/model/CreateAccountResponse.js +2 -2
- package/dist/model/CreateFunctionInput.js +2 -2
- package/dist/model/CreateStripeAccountInput.js +2 -2
- package/dist/model/CreateStripeCustomerInput.js +2 -2
- package/dist/model/CreateTopicInput.js +2 -2
- package/dist/model/CreateTopicListenerInput.js +2 -2
- package/dist/model/Currency.js +141 -0
- package/dist/model/CurrencyGrantInput.js +176 -0
- package/dist/model/CurrencyGrantResponse.js +214 -0
- package/dist/model/CurrencyInput.js +164 -0
- package/dist/model/CurrencyMinterRegistrationInput.js +138 -0
- package/dist/model/CurrencyResponse.js +180 -0
- package/dist/model/CurrencySettings.js +2 -2
- package/dist/model/CustomerResponse.js +2 -2
- package/dist/model/DataObject.js +2 -2
- package/dist/model/DataSheetImport.js +2 -2
- package/dist/model/DataSheetImportPrivacySettings.js +2 -2
- package/dist/model/DataSheetImportSummary.js +2 -2
- package/dist/model/DeviceRegistrationRequest.js +2 -2
- package/dist/model/Document.js +2 -2
- package/dist/model/DocumentPart.js +2 -2
- package/dist/model/DocumentPartType.js +27 -27
- package/dist/model/DocumentType.js +41 -41
- package/dist/model/EmailAddress.js +2 -2
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +9 -9
- package/dist/model/File.js +2 -2
- package/dist/model/FileAttachmentUploadObject.js +2 -2
- package/dist/model/Filter.js +2 -2
- package/dist/model/FilterManager.js +2 -2
- package/dist/model/Form.js +2 -2
- package/dist/model/FormSection.js +2 -2
- package/dist/model/FormSubmission.js +2 -2
- package/dist/model/FunctionConfigInput.js +2 -2
- package/dist/model/FunctionEnvironmentConfig.js +2 -2
- package/dist/model/FunctionInput.js +2 -2
- package/dist/model/FunctionOutput.js +2 -2
- package/dist/model/Geocode.js +2 -2
- package/dist/model/GeocodePayload.js +2 -2
- package/dist/model/GeolocationInput.js +2 -2
- package/dist/model/GetFunctionConfig.js +2 -2
- package/dist/model/GetFunctionEnvironmentConfig.js +2 -2
- package/dist/model/GetFunctionResponse.js +2 -2
- package/dist/model/GoogleCloudSettings.js +2 -2
- package/dist/model/Graph.js +2 -2
- package/dist/model/GraphAction.js +2 -2
- package/dist/model/GraphDatabaseService.js +2 -2
- package/dist/model/GraphGeocode.js +2 -2
- package/dist/model/GraphIteratorEntryPart.js +6 -6
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +165 -0
- package/dist/model/GraphObject.js +2 -2
- package/dist/model/GraphObjectPayload.js +2 -2
- package/dist/model/GraphObjectSchema.js +2 -2
- package/dist/model/GraphObjectType.js +2 -2
- package/dist/model/GraphObjectTypeResponse.js +2 -2
- package/dist/model/GraphObjectTypeSchema.js +2 -2
- package/dist/model/GraphOwner.js +2 -2
- package/dist/model/GraphRelationship.js +2 -2
- package/dist/model/GraphRelationshipPayload.js +2 -2
- package/dist/model/GraphRelationshipType.js +14 -14
- package/dist/model/GraphRelationshipTypeResponse.js +2 -2
- package/dist/model/GraphSchema.js +2 -2
- package/dist/model/GraphTraversalInput.js +2 -2
- package/dist/model/Image.js +2 -2
- package/dist/model/ImageUploadObject.js +2 -2
- package/dist/model/InputPart.js +2 -2
- package/dist/model/InputPartMediaType.js +2 -2
- package/dist/model/KafkaSettings.js +2 -2
- package/dist/model/Link.js +2 -2
- package/dist/model/LiveStreamInfo.js +2 -2
- package/dist/model/MeetingEvent.js +29 -29
- package/dist/model/MeetingEventTimezone.js +2 -2
- package/dist/model/MeetingInfo.js +2 -2
- package/dist/model/Member.js +2 -2
- package/dist/model/MemberGroupCategory.js +2 -2
- package/dist/model/MemberList.js +2 -2
- package/dist/model/MessageGroup.js +2 -2
- package/dist/model/MultipartBody.js +2 -2
- package/dist/model/NotificationInput.js +2 -2
- package/dist/model/NotificationResponse.js +2 -2
- package/dist/model/NumberSettings.js +2 -2
- package/dist/model/ObjectSettings.js +2 -2
- package/dist/model/Objecttype.js +2 -2
- package/dist/model/OutParameter.js +2 -2
- package/dist/model/Page.js +9 -9
- package/dist/model/PageSchema.js +2 -2
- package/dist/model/Pageable.js +2 -2
- package/dist/model/Parameter.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 +2 -2
- 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 +2 -2
- package/dist/model/Post.js +2 -2
- package/dist/model/PrivateMessage.js +2 -2
- package/dist/model/PrivateMessageConversation.js +2 -2
- package/dist/model/PrivateMessageConversationSchema.js +2 -2
- package/dist/model/Profile.js +2 -2
- package/dist/model/Profiletype.js +2 -2
- package/dist/model/PropertyContainer.js +2 -2
- package/dist/model/PurchaseInput.js +142 -0
- package/dist/model/PurchaseResponse.js +182 -0
- package/dist/model/PurgeDataDefaultResponseValue.js +2 -2
- package/dist/model/RelationshipMapping.js +2 -2
- package/dist/model/RestApplicationInput.js +2 -2
- package/dist/model/RestApplicationResponse.js +2 -2
- package/dist/model/ScreenSchema.js +2 -2
- package/dist/model/SimulcastInfo.js +2 -2
- package/dist/model/SiteInput.js +2 -2
- package/dist/model/SiteResponse.js +2 -2
- package/dist/model/SiteTypeInput.js +2 -2
- package/dist/model/SiteTypeResponse.js +2 -2
- package/dist/model/SkinField.js +9 -9
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +2 -2
- package/dist/model/SocialGroupType.js +22 -22
- 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 +58 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +11 -11
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.js +11 -11
- package/dist/model/ThemeMapping.js +2 -2
- package/dist/model/ThemeMappingPayload.js +2 -2
- package/dist/model/TopicInfoResponse.js +2 -2
- package/dist/model/TopicMessageInput.js +2 -2
- package/dist/model/TopicSubscriptionResponse.js +2 -2
- package/dist/model/Transaction.js +2 -2
- package/dist/model/Transfer.js +13 -13
- package/dist/model/TransferInput.js +55 -4
- 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 +2 -2
- package/dist/model/UserDataPayload.js +2 -2
- package/dist/model/UserDomain.js +2 -2
- package/dist/model/UserInvite.js +14 -14
- package/dist/model/UserInviteInput.js +2 -2
- package/dist/model/UserSchema.js +2 -2
- package/dist/model/UserTag.js +2 -2
- package/dist/model/Userid.js +2 -2
- package/dist/model/Video.js +18 -18
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +26 -26
- package/dist/model/VideoUploadObject.js +18 -18
- package/dist/model/WalletHoldInput.js +148 -0
- package/dist/model/WalletHoldResponse.js +172 -0
- package/dist/model/WalletPayoutInput.js +136 -0
- package/dist/model/WalletPayoutResponse.js +148 -0
- package/dist/model/WalletResponse.js +152 -0
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,262 @@
|
|
|
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 _CurrencyResponse = _interopRequireDefault(require("../model/CurrencyResponse"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
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); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.71
|
|
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
|
+
* Currency service.
|
|
29
|
+
* @module api/CurrencyApi
|
|
30
|
+
* @version 0.1.71
|
|
31
|
+
*/
|
|
32
|
+
var CurrencyApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new CurrencyApi.
|
|
35
|
+
* @alias module:api/CurrencyApi
|
|
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 CurrencyApi(apiClient) {
|
|
41
|
+
_classCallCheck(this, CurrencyApi);
|
|
42
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Callback function to receive the result of the createCurrency operation.
|
|
47
|
+
* @callback module:api/CurrencyApi~createCurrencyCallback
|
|
48
|
+
* @param {String} error Error message, if any.
|
|
49
|
+
* @param {module:model/CurrencyResponse} data The data returned by the service call.
|
|
50
|
+
* @param {String} response The complete HTTP response.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Create a new currency
|
|
55
|
+
* @param {Object} opts Optional parameters
|
|
56
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
57
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
58
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
59
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
60
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
61
|
+
* @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)
|
|
62
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
63
|
+
* @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
|
|
64
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
65
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
66
|
+
* @param {module:api/CurrencyApi~createCurrencyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
* data is of type: {@link module:model/CurrencyResponse}
|
|
68
|
+
*/
|
|
69
|
+
return _createClass(CurrencyApi, [{
|
|
70
|
+
key: "createCurrency",
|
|
71
|
+
value: function createCurrency(opts, callback) {
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
var postBody = null;
|
|
74
|
+
var pathParams = {};
|
|
75
|
+
var queryParams = {};
|
|
76
|
+
var headerParams = {
|
|
77
|
+
'Authorization': opts['authorization'],
|
|
78
|
+
'cacheduration': opts['cacheduration'],
|
|
79
|
+
'cachegroup': opts['cachegroup'],
|
|
80
|
+
'cachekey': opts['cachekey'],
|
|
81
|
+
'cachescope': opts['cachescope'],
|
|
82
|
+
'cacheuser': opts['cacheuser'],
|
|
83
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
84
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
85
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
86
|
+
'transactionid': opts['transactionid']
|
|
87
|
+
};
|
|
88
|
+
var formParams = {};
|
|
89
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
90
|
+
var contentTypes = [];
|
|
91
|
+
var accepts = ['application/json'];
|
|
92
|
+
var returnType = _CurrencyResponse["default"];
|
|
93
|
+
return this.apiClient.callApi('/graph/data/payments/currency', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Callback function to receive the result of the getCurrencyById operation.
|
|
98
|
+
* @callback module:api/CurrencyApi~getCurrencyByIdCallback
|
|
99
|
+
* @param {String} error Error message, if any.
|
|
100
|
+
* @param {module:model/CurrencyResponse} data The data returned by the service call.
|
|
101
|
+
* @param {String} response The complete HTTP response.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Get a currency by id
|
|
106
|
+
* @param {Number} currencyId
|
|
107
|
+
* @param {Object} opts Optional parameters
|
|
108
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
109
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
110
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
111
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
112
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
113
|
+
* @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)
|
|
114
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
115
|
+
* @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
|
|
116
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
117
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
118
|
+
* @param {module:api/CurrencyApi~getCurrencyByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
119
|
+
* data is of type: {@link module:model/CurrencyResponse}
|
|
120
|
+
*/
|
|
121
|
+
}, {
|
|
122
|
+
key: "getCurrencyById",
|
|
123
|
+
value: function getCurrencyById(currencyId, opts, callback) {
|
|
124
|
+
opts = opts || {};
|
|
125
|
+
var postBody = null;
|
|
126
|
+
// verify the required parameter 'currencyId' is set
|
|
127
|
+
if (currencyId === undefined || currencyId === null) {
|
|
128
|
+
throw new Error("Missing the required parameter 'currencyId' when calling getCurrencyById");
|
|
129
|
+
}
|
|
130
|
+
var pathParams = {
|
|
131
|
+
'currencyId': currencyId
|
|
132
|
+
};
|
|
133
|
+
var queryParams = {};
|
|
134
|
+
var headerParams = {
|
|
135
|
+
'Authorization': opts['authorization'],
|
|
136
|
+
'cacheduration': opts['cacheduration'],
|
|
137
|
+
'cachegroup': opts['cachegroup'],
|
|
138
|
+
'cachekey': opts['cachekey'],
|
|
139
|
+
'cachescope': opts['cachescope'],
|
|
140
|
+
'cacheuser': opts['cacheuser'],
|
|
141
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
142
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
143
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
144
|
+
'transactionid': opts['transactionid']
|
|
145
|
+
};
|
|
146
|
+
var formParams = {};
|
|
147
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
148
|
+
var contentTypes = [];
|
|
149
|
+
var accepts = ['application/json'];
|
|
150
|
+
var returnType = _CurrencyResponse["default"];
|
|
151
|
+
return this.apiClient.callApi('/graph/data/payments/currency/{currencyId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Callback function to receive the result of the getRegisteredCurrencies operation.
|
|
156
|
+
* @callback module:api/CurrencyApi~getRegisteredCurrenciesCallback
|
|
157
|
+
* @param {String} error Error message, if any.
|
|
158
|
+
* @param {Array.<module:model/CurrencyResponse>} data The data returned by the service call.
|
|
159
|
+
* @param {String} response The complete HTTP response.
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Get all currencies registered by a minter
|
|
164
|
+
* @param {Number} minterId
|
|
165
|
+
* @param {Object} opts Optional parameters
|
|
166
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
167
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
168
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
169
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
170
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
171
|
+
* @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)
|
|
172
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
173
|
+
* @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
|
|
174
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
175
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
176
|
+
* @param {module:api/CurrencyApi~getRegisteredCurrenciesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
177
|
+
* data is of type: {@link Array.<module:model/CurrencyResponse>}
|
|
178
|
+
*/
|
|
179
|
+
}, {
|
|
180
|
+
key: "getRegisteredCurrencies",
|
|
181
|
+
value: function getRegisteredCurrencies(minterId, opts, callback) {
|
|
182
|
+
opts = opts || {};
|
|
183
|
+
var postBody = null;
|
|
184
|
+
// verify the required parameter 'minterId' is set
|
|
185
|
+
if (minterId === undefined || minterId === null) {
|
|
186
|
+
throw new Error("Missing the required parameter 'minterId' when calling getRegisteredCurrencies");
|
|
187
|
+
}
|
|
188
|
+
var pathParams = {
|
|
189
|
+
'minterId': minterId
|
|
190
|
+
};
|
|
191
|
+
var queryParams = {};
|
|
192
|
+
var headerParams = {
|
|
193
|
+
'Authorization': opts['authorization'],
|
|
194
|
+
'cacheduration': opts['cacheduration'],
|
|
195
|
+
'cachegroup': opts['cachegroup'],
|
|
196
|
+
'cachekey': opts['cachekey'],
|
|
197
|
+
'cachescope': opts['cachescope'],
|
|
198
|
+
'cacheuser': opts['cacheuser'],
|
|
199
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
200
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
201
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
202
|
+
'transactionid': opts['transactionid']
|
|
203
|
+
};
|
|
204
|
+
var formParams = {};
|
|
205
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
206
|
+
var contentTypes = [];
|
|
207
|
+
var accepts = ['application/json'];
|
|
208
|
+
var returnType = [_CurrencyResponse["default"]];
|
|
209
|
+
return this.apiClient.callApi('/graph/data/payments/currency/registeredcurrencies/{minterId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Callback function to receive the result of the registerCurrency operation.
|
|
214
|
+
* @callback module:api/CurrencyApi~registerCurrencyCallback
|
|
215
|
+
* @param {String} error Error message, if any.
|
|
216
|
+
* @param data This operation does not return a value.
|
|
217
|
+
* @param {String} response The complete HTTP response.
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Register a currency with a minter
|
|
222
|
+
* @param {Object} opts Optional parameters
|
|
223
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
224
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
225
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
226
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
227
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
228
|
+
* @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)
|
|
229
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
230
|
+
* @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
|
|
231
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
232
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
233
|
+
* @param {module:api/CurrencyApi~registerCurrencyCallback} callback The callback function, accepting three arguments: error, data, response
|
|
234
|
+
*/
|
|
235
|
+
}, {
|
|
236
|
+
key: "registerCurrency",
|
|
237
|
+
value: function registerCurrency(opts, callback) {
|
|
238
|
+
opts = opts || {};
|
|
239
|
+
var postBody = null;
|
|
240
|
+
var pathParams = {};
|
|
241
|
+
var queryParams = {};
|
|
242
|
+
var headerParams = {
|
|
243
|
+
'Authorization': opts['authorization'],
|
|
244
|
+
'cacheduration': opts['cacheduration'],
|
|
245
|
+
'cachegroup': opts['cachegroup'],
|
|
246
|
+
'cachekey': opts['cachekey'],
|
|
247
|
+
'cachescope': opts['cachescope'],
|
|
248
|
+
'cacheuser': opts['cacheuser'],
|
|
249
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
250
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
251
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
252
|
+
'transactionid': opts['transactionid']
|
|
253
|
+
};
|
|
254
|
+
var formParams = {};
|
|
255
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
256
|
+
var contentTypes = [];
|
|
257
|
+
var accepts = [];
|
|
258
|
+
var returnType = null;
|
|
259
|
+
return this.apiClient.callApi('/graph/data/payments/currency/register', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
260
|
+
}
|
|
261
|
+
}]);
|
|
262
|
+
}();
|
|
@@ -21,7 +21,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
21
21
|
* gobodo-api
|
|
22
22
|
* REST Interface for Gobodo API
|
|
23
23
|
*
|
|
24
|
-
* The version of the OpenAPI document: 0.1.
|
|
24
|
+
* The version of the OpenAPI document: 0.1.71
|
|
25
25
|
* Contact: info@gobodo.io
|
|
26
26
|
*
|
|
27
27
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* DataSheetImports service.
|
|
34
34
|
* @module api/DataSheetImportsApi
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.71
|
|
36
36
|
*/
|
|
37
37
|
var DataSheetImportsApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/DefaultApi.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.71
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Default service.
|
|
30
30
|
* @module api/DefaultApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.71
|
|
32
32
|
*/
|
|
33
33
|
var DefaultApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -0,0 +1,148 @@
|
|
|
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 _DocumentPartType = _interopRequireDefault(require("../model/DocumentPartType"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
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); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.71
|
|
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
|
+
* DocumentPartTypes service.
|
|
29
|
+
* @module api/DocumentPartTypesApi
|
|
30
|
+
* @version 0.1.71
|
|
31
|
+
*/
|
|
32
|
+
var DocumentPartTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new DocumentPartTypesApi.
|
|
35
|
+
* @alias module:api/DocumentPartTypesApi
|
|
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 DocumentPartTypesApi(apiClient) {
|
|
41
|
+
_classCallCheck(this, DocumentPartTypesApi);
|
|
42
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Callback function to receive the result of the getAllDocumentPartTypes operation.
|
|
47
|
+
* @callback module:api/DocumentPartTypesApi~getAllDocumentPartTypesCallback
|
|
48
|
+
* @param {String} error Error message, if any.
|
|
49
|
+
* @param {Array.<module:model/DocumentPartType>} data The data returned by the service call.
|
|
50
|
+
* @param {String} response The complete HTTP response.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Returns all document types
|
|
55
|
+
* @param {Object} opts Optional parameters
|
|
56
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
57
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
58
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
59
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
60
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
61
|
+
* @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)
|
|
62
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
63
|
+
* @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
|
|
64
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
65
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
66
|
+
* @param {module:api/DocumentPartTypesApi~getAllDocumentPartTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
* data is of type: {@link Array.<module:model/DocumentPartType>}
|
|
68
|
+
*/
|
|
69
|
+
return _createClass(DocumentPartTypesApi, [{
|
|
70
|
+
key: "getAllDocumentPartTypes",
|
|
71
|
+
value: function getAllDocumentPartTypes(opts, callback) {
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
var postBody = null;
|
|
74
|
+
var pathParams = {};
|
|
75
|
+
var queryParams = {};
|
|
76
|
+
var headerParams = {
|
|
77
|
+
'Authorization': opts['authorization'],
|
|
78
|
+
'cacheduration': opts['cacheduration'],
|
|
79
|
+
'cachegroup': opts['cachegroup'],
|
|
80
|
+
'cachekey': opts['cachekey'],
|
|
81
|
+
'cachescope': opts['cachescope'],
|
|
82
|
+
'cacheuser': opts['cacheuser'],
|
|
83
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
84
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
85
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
86
|
+
'transactionid': opts['transactionid']
|
|
87
|
+
};
|
|
88
|
+
var formParams = {};
|
|
89
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
90
|
+
var contentTypes = [];
|
|
91
|
+
var accepts = ['*/*'];
|
|
92
|
+
var returnType = [_DocumentPartType["default"]];
|
|
93
|
+
return this.apiClient.callApi('/graph/data/entryparttypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Callback function to receive the result of the getDocumentPartTypeById operation.
|
|
98
|
+
* @callback module:api/DocumentPartTypesApi~getDocumentPartTypeByIdCallback
|
|
99
|
+
* @param {String} error Error message, if any.
|
|
100
|
+
* @param {module:model/DocumentPartType} data The data returned by the service call.
|
|
101
|
+
* @param {String} response The complete HTTP response.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Returns the document type with the given id
|
|
106
|
+
* @param {Object} opts Optional parameters
|
|
107
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
108
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
109
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
110
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
111
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
112
|
+
* @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)
|
|
113
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
114
|
+
* @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
|
|
115
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
116
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
117
|
+
* @param {Number} [body]
|
|
118
|
+
* @param {module:api/DocumentPartTypesApi~getDocumentPartTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
119
|
+
* data is of type: {@link module:model/DocumentPartType}
|
|
120
|
+
*/
|
|
121
|
+
}, {
|
|
122
|
+
key: "getDocumentPartTypeById",
|
|
123
|
+
value: function getDocumentPartTypeById(opts, callback) {
|
|
124
|
+
opts = opts || {};
|
|
125
|
+
var postBody = opts['body'];
|
|
126
|
+
var pathParams = {};
|
|
127
|
+
var queryParams = {};
|
|
128
|
+
var headerParams = {
|
|
129
|
+
'Authorization': opts['authorization'],
|
|
130
|
+
'cacheduration': opts['cacheduration'],
|
|
131
|
+
'cachegroup': opts['cachegroup'],
|
|
132
|
+
'cachekey': opts['cachekey'],
|
|
133
|
+
'cachescope': opts['cachescope'],
|
|
134
|
+
'cacheuser': opts['cacheuser'],
|
|
135
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
136
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
137
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
138
|
+
'transactionid': opts['transactionid']
|
|
139
|
+
};
|
|
140
|
+
var formParams = {};
|
|
141
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
142
|
+
var contentTypes = [];
|
|
143
|
+
var accepts = ['*/*'];
|
|
144
|
+
var returnType = _DocumentPartType["default"];
|
|
145
|
+
return this.apiClient.callApi('/graph/data/entryparttypes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
146
|
+
}
|
|
147
|
+
}]);
|
|
148
|
+
}();
|
|
@@ -0,0 +1,148 @@
|
|
|
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 _DocumentType = _interopRequireDefault(require("../model/DocumentType"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
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); } /**
|
|
16
|
+
* gobodo-api
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.71
|
|
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
|
+
* DocumentTypes service.
|
|
29
|
+
* @module api/DocumentTypesApi
|
|
30
|
+
* @version 0.1.71
|
|
31
|
+
*/
|
|
32
|
+
var DocumentTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
|
+
/**
|
|
34
|
+
* Constructs a new DocumentTypesApi.
|
|
35
|
+
* @alias module:api/DocumentTypesApi
|
|
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 DocumentTypesApi(apiClient) {
|
|
41
|
+
_classCallCheck(this, DocumentTypesApi);
|
|
42
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Callback function to receive the result of the getAllDocumentTypes operation.
|
|
47
|
+
* @callback module:api/DocumentTypesApi~getAllDocumentTypesCallback
|
|
48
|
+
* @param {String} error Error message, if any.
|
|
49
|
+
* @param {Array.<module:model/DocumentType>} data The data returned by the service call.
|
|
50
|
+
* @param {String} response The complete HTTP response.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Returns all document types
|
|
55
|
+
* @param {Object} opts Optional parameters
|
|
56
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
57
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
58
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
59
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
60
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
61
|
+
* @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)
|
|
62
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
63
|
+
* @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
|
|
64
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
65
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
66
|
+
* @param {module:api/DocumentTypesApi~getAllDocumentTypesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
* data is of type: {@link Array.<module:model/DocumentType>}
|
|
68
|
+
*/
|
|
69
|
+
return _createClass(DocumentTypesApi, [{
|
|
70
|
+
key: "getAllDocumentTypes",
|
|
71
|
+
value: function getAllDocumentTypes(opts, callback) {
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
var postBody = null;
|
|
74
|
+
var pathParams = {};
|
|
75
|
+
var queryParams = {};
|
|
76
|
+
var headerParams = {
|
|
77
|
+
'Authorization': opts['authorization'],
|
|
78
|
+
'cacheduration': opts['cacheduration'],
|
|
79
|
+
'cachegroup': opts['cachegroup'],
|
|
80
|
+
'cachekey': opts['cachekey'],
|
|
81
|
+
'cachescope': opts['cachescope'],
|
|
82
|
+
'cacheuser': opts['cacheuser'],
|
|
83
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
84
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
85
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
86
|
+
'transactionid': opts['transactionid']
|
|
87
|
+
};
|
|
88
|
+
var formParams = {};
|
|
89
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
90
|
+
var contentTypes = [];
|
|
91
|
+
var accepts = ['*/*'];
|
|
92
|
+
var returnType = [_DocumentType["default"]];
|
|
93
|
+
return this.apiClient.callApi('/graph/data/entrytypes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Callback function to receive the result of the getDocumentTypeById operation.
|
|
98
|
+
* @callback module:api/DocumentTypesApi~getDocumentTypeByIdCallback
|
|
99
|
+
* @param {String} error Error message, if any.
|
|
100
|
+
* @param {module:model/DocumentType} data The data returned by the service call.
|
|
101
|
+
* @param {String} response The complete HTTP response.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Returns the document type with the given id
|
|
106
|
+
* @param {Object} opts Optional parameters
|
|
107
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
108
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
109
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
110
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
111
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
112
|
+
* @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)
|
|
113
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
114
|
+
* @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
|
|
115
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
116
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
117
|
+
* @param {Number} [body]
|
|
118
|
+
* @param {module:api/DocumentTypesApi~getDocumentTypeByIdCallback} callback The callback function, accepting three arguments: error, data, response
|
|
119
|
+
* data is of type: {@link module:model/DocumentType}
|
|
120
|
+
*/
|
|
121
|
+
}, {
|
|
122
|
+
key: "getDocumentTypeById",
|
|
123
|
+
value: function getDocumentTypeById(opts, callback) {
|
|
124
|
+
opts = opts || {};
|
|
125
|
+
var postBody = opts['body'];
|
|
126
|
+
var pathParams = {};
|
|
127
|
+
var queryParams = {};
|
|
128
|
+
var headerParams = {
|
|
129
|
+
'Authorization': opts['authorization'],
|
|
130
|
+
'cacheduration': opts['cacheduration'],
|
|
131
|
+
'cachegroup': opts['cachegroup'],
|
|
132
|
+
'cachekey': opts['cachekey'],
|
|
133
|
+
'cachescope': opts['cachescope'],
|
|
134
|
+
'cacheuser': opts['cacheuser'],
|
|
135
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
136
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
137
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
138
|
+
'transactionid': opts['transactionid']
|
|
139
|
+
};
|
|
140
|
+
var formParams = {};
|
|
141
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
142
|
+
var contentTypes = [];
|
|
143
|
+
var accepts = ['*/*'];
|
|
144
|
+
var returnType = _DocumentType["default"];
|
|
145
|
+
return this.apiClient.callApi('/graph/data/entrytypes/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
146
|
+
}
|
|
147
|
+
}]);
|
|
148
|
+
}();
|
package/dist/api/DocumentsApi.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
19
19
|
* gobodo-api
|
|
20
20
|
* REST Interface for Gobodo API
|
|
21
21
|
*
|
|
22
|
-
* The version of the OpenAPI document: 0.1.
|
|
22
|
+
* The version of the OpenAPI document: 0.1.71
|
|
23
23
|
* Contact: info@gobodo.io
|
|
24
24
|
*
|
|
25
25
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Documents service.
|
|
32
32
|
* @module api/DocumentsApi
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.71
|
|
34
34
|
*/
|
|
35
35
|
var DocumentsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/EmailsApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.71
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* Emails service.
|
|
29
29
|
* @module api/EmailsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.71
|
|
31
31
|
*/
|
|
32
32
|
var EmailsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
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.71
|
|
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(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* EntryParts service.
|
|
30
30
|
* @module api/EntryPartsApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.71
|
|
32
32
|
*/
|
|
33
33
|
var EntryPartsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|