@gobodo/gobodo-api 0.1.56 → 0.1.59

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.
Files changed (217) hide show
  1. package/README.md +46 -12
  2. package/dist/ApiClient.js +20 -21
  3. package/dist/api/ActionTypesApi.js +19 -20
  4. package/dist/api/AdCampaignsApi.js +19 -20
  5. package/dist/api/AdManagementApi.js +19 -20
  6. package/dist/api/AdminDataManagementApi.js +19 -20
  7. package/dist/api/AdsApi.js +19 -20
  8. package/dist/api/AttachmentsApi.js +19 -20
  9. package/dist/api/AuthenticationApi.js +55 -20
  10. package/dist/api/CategoriesApi.js +19 -20
  11. package/dist/api/CommentsApi.js +19 -20
  12. package/dist/api/ContentManagementApi.js +20 -21
  13. package/dist/api/ConversationsApi.js +19 -20
  14. package/dist/api/DataSheetImportsApi.js +19 -20
  15. package/dist/api/DefaultApi.js +25 -366
  16. package/dist/api/DocumentsApi.js +20 -21
  17. package/dist/api/EmailsApi.js +19 -20
  18. package/dist/api/EntryPartsApi.js +19 -20
  19. package/dist/api/FacebookApi.js +19 -20
  20. package/dist/api/FieldsApi.js +19 -20
  21. package/dist/api/FilesApi.js +19 -20
  22. package/dist/api/FormsApi.js +19 -20
  23. package/dist/api/FunctionsApi.js +721 -32
  24. package/dist/api/GeocodeApi.js +19 -20
  25. package/dist/api/GoogleApi.js +19 -20
  26. package/dist/api/GraphActionTypesApi.js +510 -0
  27. package/dist/api/GraphActionsApi.js +19 -20
  28. package/dist/api/GraphObjectTypesApi.js +151 -27
  29. package/dist/api/GraphObjectsApi.js +19 -20
  30. package/dist/api/GraphRelationshipTypesApi.js +144 -20
  31. package/dist/api/GraphRelationshipsApi.js +19 -20
  32. package/dist/api/GraphSchemasApi.js +19 -20
  33. package/dist/api/GraphTraversalApi.js +19 -20
  34. package/dist/api/GraphsApi.js +19 -20
  35. package/dist/api/GroupsApi.js +19 -20
  36. package/dist/api/IAMApi.js +19 -20
  37. package/dist/api/ImagesApi.js +19 -20
  38. package/dist/api/InvitesApi.js +19 -20
  39. package/dist/api/LikesApi.js +19 -20
  40. package/dist/api/LinkedINApi.js +19 -20
  41. package/dist/api/LiveMeetingsApi.js +19 -20
  42. package/dist/api/MeetingEventsApi.js +19 -20
  43. package/dist/api/NotificationsApi.js +39 -40
  44. package/dist/api/PagesApi.js +19 -20
  45. package/dist/api/PhoneNumbersApi.js +19 -20
  46. package/dist/api/PostsApi.js +19 -20
  47. package/dist/api/PrivateMessagesApi.js +19 -20
  48. package/dist/api/PublicationsApi.js +19 -20
  49. package/dist/api/ScreensApi.js +19 -20
  50. package/dist/api/SocialIntegrationApi.js +19 -20
  51. package/dist/api/StripeAccountsApi.js +19 -20
  52. package/dist/api/TagsApi.js +19 -20
  53. package/dist/api/TemplatesApi.js +19 -20
  54. package/dist/api/ThemeMappingsApi.js +19 -20
  55. package/dist/api/TopicsApi.js +320 -27
  56. package/dist/api/TransactionsApi.js +19 -20
  57. package/dist/api/TwitterApi.js +19 -20
  58. package/dist/api/UserTagsApi.js +19 -20
  59. package/dist/api/UsersApi.js +19 -20
  60. package/dist/api/UtilsApi.js +19 -20
  61. package/dist/api/VideosApi.js +19 -20
  62. package/dist/index.js +90 -6
  63. package/dist/model/APIClient.js +19 -20
  64. package/dist/model/AccountSessionInput.js +19 -20
  65. package/dist/model/AccountSessionResponse.js +19 -20
  66. package/dist/model/ApplicationPaymentAccountResponse.js +19 -20
  67. package/dist/model/ApplicationPaymentAccountResponseFailureException.js +22 -23
  68. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionStackTraceInner.js +19 -20
  69. package/dist/model/Article.js +19 -20
  70. package/dist/model/AuthResponse.js +19 -20
  71. package/dist/model/AwsSettings.js +140 -0
  72. package/dist/model/Balance.js +50 -51
  73. package/dist/model/BalanceDetails.js +19 -20
  74. package/dist/model/BalanceResponse.js +19 -20
  75. package/dist/model/BankAccountInfo.js +19 -20
  76. package/dist/model/CardInfo.js +19 -20
  77. package/dist/model/Comment.js +31 -32
  78. package/dist/model/Coordinates.js +19 -20
  79. package/dist/model/CreateAccountResponse.js +19 -20
  80. package/dist/model/CreateFunctionInput.js +22 -23
  81. package/dist/model/CreateStripeAccountInput.js +19 -20
  82. package/dist/model/CreateStripeCustomerInput.js +19 -20
  83. package/dist/model/CreateTopicInput.js +22 -23
  84. package/dist/model/CreateTopicListenerInput.js +22 -23
  85. package/dist/model/CustomerResponse.js +19 -20
  86. package/dist/model/DataObject.js +19 -20
  87. package/dist/model/DataSheetImport.js +19 -20
  88. package/dist/model/DataSheetImportPrivacySettings.js +19 -20
  89. package/dist/model/DataSheetImportSummary.js +22 -23
  90. package/dist/model/DeviceRegistrationRequest.js +22 -23
  91. package/dist/model/Document.js +22 -23
  92. package/dist/model/DocumentPart.js +22 -23
  93. package/dist/model/DocumentPartType.js +19 -20
  94. package/dist/model/DocumentType.js +27 -28
  95. package/dist/model/EmailAddress.js +19 -20
  96. package/dist/model/FieldMapping.js +19 -20
  97. package/dist/model/Fields.js +33 -34
  98. package/dist/model/File.js +19 -20
  99. package/dist/model/FileAttachmentUploadObject.js +19 -20
  100. package/dist/model/Filter.js +19 -20
  101. package/dist/model/FilterManager.js +22 -23
  102. package/dist/model/Form.js +22 -23
  103. package/dist/model/FormSection.js +22 -23
  104. package/dist/model/FormSubmission.js +31 -32
  105. package/dist/model/FunctionConfigInput.js +81 -23
  106. package/dist/model/FunctionEnvironmentConfig.js +22 -23
  107. package/dist/model/FunctionInput.js +190 -0
  108. package/dist/model/FunctionOutput.js +182 -0
  109. package/dist/model/Geocode.js +19 -20
  110. package/dist/model/GeocodePayload.js +19 -20
  111. package/dist/model/GeolocationInput.js +22 -23
  112. package/dist/model/GetFunctionConfig.js +364 -0
  113. package/dist/model/GetFunctionEnvironmentConfig.js +170 -0
  114. package/dist/model/GetFunctionResponse.js +39 -36
  115. package/dist/model/GoogleCloudSettings.js +126 -0
  116. package/dist/model/Graph.js +19 -20
  117. package/dist/model/GraphAction.js +28 -29
  118. package/dist/model/GraphDatabaseService.js +19 -20
  119. package/dist/model/GraphGeocode.js +19 -20
  120. package/dist/model/GraphIteratorEntryPart.js +22 -23
  121. package/dist/model/GraphObject.js +19 -20
  122. package/dist/model/GraphObjectPayload.js +22 -23
  123. package/dist/model/GraphObjectSchema.js +19 -20
  124. package/dist/model/GraphObjectType.js +19 -20
  125. package/dist/model/GraphObjectTypeSchema.js +22 -23
  126. package/dist/model/GraphOwner.js +19 -20
  127. package/dist/model/GraphRelationship.js +28 -29
  128. package/dist/model/GraphRelationshipPayload.js +19 -20
  129. package/dist/model/GraphRelationshipType.js +31 -32
  130. package/dist/model/GraphSchema.js +27 -28
  131. package/dist/model/GraphTraversalInput.js +19 -20
  132. package/dist/model/Image.js +27 -28
  133. package/dist/model/ImageUploadObject.js +27 -28
  134. package/dist/model/InputPart.js +19 -20
  135. package/dist/model/InputPartMediaType.js +19 -20
  136. package/dist/model/KafkaSettings.js +150 -0
  137. package/dist/model/Link.js +30 -31
  138. package/dist/model/LiveStreamInfo.js +19 -20
  139. package/dist/model/MeetingEvent.js +27 -28
  140. package/dist/model/MeetingEventTimezone.js +19 -20
  141. package/dist/model/MeetingInfo.js +19 -20
  142. package/dist/model/Member.js +19 -20
  143. package/dist/model/MemberGroupCategory.js +19 -20
  144. package/dist/model/MemberList.js +32 -34
  145. package/dist/model/MessageGroup.js +19 -20
  146. package/dist/model/MultipartBody.js +19 -20
  147. package/dist/model/NotificationInput.js +22 -23
  148. package/dist/model/NotificationResponse.js +194 -0
  149. package/dist/model/Objecttype.js +22 -23
  150. package/dist/model/OutParameter.js +126 -0
  151. package/dist/model/Page.js +26 -27
  152. package/dist/model/PageSchema.js +19 -20
  153. package/dist/model/Pageable.js +19 -20
  154. package/dist/model/Parameter.js +126 -0
  155. package/dist/model/Path.js +22 -23
  156. package/dist/model/PaymentAccountObject.js +19 -20
  157. package/dist/model/PaymentIntentInput.js +19 -20
  158. package/dist/model/PaymentIntentResponse.js +19 -20
  159. package/dist/model/PaymentMethod.js +26 -27
  160. package/dist/model/PaymentMethodInput.js +19 -20
  161. package/dist/model/PaymentMethodResponse.js +19 -20
  162. package/dist/model/PaymentMethodsResponse.js +22 -23
  163. package/dist/model/Payout.js +19 -20
  164. package/dist/model/PayoutInput.js +22 -23
  165. package/dist/model/PayoutResponse.js +19 -20
  166. package/dist/model/PhoneNumber.js +19 -20
  167. package/dist/model/Post.js +19 -20
  168. package/dist/model/PrivateMessage.js +19 -20
  169. package/dist/model/PrivateMessageConversation.js +32 -33
  170. package/dist/model/PrivateMessageConversationSchema.js +22 -23
  171. package/dist/model/Profile.js +19 -20
  172. package/dist/model/Profiletype.js +22 -23
  173. package/dist/model/PropertyContainer.js +19 -20
  174. package/dist/model/PurgeDataDefaultResponseValue.js +19 -20
  175. package/dist/model/RelationshipMapping.js +22 -23
  176. package/dist/model/ScreenSchema.js +19 -20
  177. package/dist/model/SimulcastInfo.js +19 -20
  178. package/dist/model/SkinField.js +33 -34
  179. package/dist/model/SocialGroup.js +27 -28
  180. package/dist/model/SocialGroupType.js +19 -20
  181. package/dist/model/Sort.js +19 -20
  182. package/dist/model/SourceTypes.js +19 -20
  183. package/dist/model/StatusUpdate.js +19 -20
  184. package/dist/model/StreetAddress.js +19 -20
  185. package/dist/model/StripeAccount.js +19 -20
  186. package/dist/model/StripeCustomerAccount.js +19 -20
  187. package/dist/model/Template.js +27 -28
  188. package/dist/model/TemplateSchema.js +27 -28
  189. package/dist/model/ThemeMapping.js +19 -20
  190. package/dist/model/ThemeMappingPayload.js +19 -20
  191. package/dist/model/TopicInfoResponse.js +103 -23
  192. package/dist/model/TopicMessageInput.js +122 -0
  193. package/dist/model/TopicSubscriptionResponse.js +150 -0
  194. package/dist/model/Transaction.js +19 -20
  195. package/dist/model/Transfer.js +19 -20
  196. package/dist/model/TransferInput.js +22 -23
  197. package/dist/model/TransferResponse.js +19 -20
  198. package/dist/model/TransferResponsePaymentMethodDetails.js +19 -20
  199. package/dist/model/TraversalRelationResponse.js +22 -23
  200. package/dist/model/User.js +19 -20
  201. package/dist/model/UserDataPayload.js +19 -20
  202. package/dist/model/UserDomain.js +19 -20
  203. package/dist/model/UserInvite.js +19 -20
  204. package/dist/model/UserInviteInput.js +19 -20
  205. package/dist/model/UserSchema.js +19 -20
  206. package/dist/model/UserTag.js +19 -20
  207. package/dist/model/Userid.js +19 -20
  208. package/dist/model/Video.js +27 -28
  209. package/dist/model/VideoLiveUrl.js +30 -31
  210. package/dist/model/VideoSchema.js +27 -28
  211. package/dist/model/VideoUploadObject.js +27 -28
  212. package/dist/model/ZeusPortalCategory.js +19 -20
  213. package/package.json +3 -1
  214. package/dist/model/ApplicationPaymentAccountResponseFailureExceptionSuppressedInner.js +0 -135
  215. package/dist/model/InputPartHeaders.js +0 -88
  216. package/dist/model/Notification.js +0 -210
  217. package/dist/model/PurgeDataDefaultResponse.js +0 -144
@@ -6,31 +6,31 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Coordinates = _interopRequireDefault(require("./Coordinates"));
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
10
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
12
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
16
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
- 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); } /**
19
- * gobodo-api
20
- * REST Interface for Gobodo API
21
- *
22
- * The version of the OpenAPI document: 0.1.56
23
- * Contact: info@gobodo.io
24
- *
25
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
- * https://openapi-generator.tech
27
- * Do not edit the class manually.
28
- *
29
- */
11
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ 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); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
19
+ * gobodo-api
20
+ * REST Interface for Gobodo API
21
+ *
22
+ * The version of the OpenAPI document: 0.1.59
23
+ * Contact: info@gobodo.io
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
30
  /**
31
31
  * The GeolocationInput model module.
32
32
  * @module model/GeolocationInput
33
- * @version 0.1.56
33
+ * @version 0.1.59
34
34
  */
35
35
  var GeolocationInput = /*#__PURE__*/function () {
36
36
  /**
@@ -47,7 +47,7 @@ var GeolocationInput = /*#__PURE__*/function () {
47
47
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
48
48
  * Only for internal use.
49
49
  */
50
- _createClass(GeolocationInput, null, [{
50
+ return _createClass(GeolocationInput, null, [{
51
51
  key: "initialize",
52
52
  value: function initialize(obj) {}
53
53
 
@@ -112,7 +112,6 @@ var GeolocationInput = /*#__PURE__*/function () {
112
112
  return true;
113
113
  }
114
114
  }]);
115
- return GeolocationInput;
116
115
  }();
117
116
  /**
118
117
  * @member {Number} radius
@@ -0,0 +1,364 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ 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); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ 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); } /**
18
+ * gobodo-api
19
+ * REST Interface for Gobodo API
20
+ *
21
+ * The version of the OpenAPI document: 0.1.59
22
+ * Contact: info@gobodo.io
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ *
28
+ */
29
+ /**
30
+ * The GetFunctionConfig model module.
31
+ * @module model/GetFunctionConfig
32
+ * @version 0.1.59
33
+ */
34
+ var GetFunctionConfig = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>GetFunctionConfig</code>.
37
+ * @alias module:model/GetFunctionConfig
38
+ * @param id {Number}
39
+ * @param key {String}
40
+ * @param asynchronous {Boolean}
41
+ * @param functionType {module:model/GetFunctionConfig.FunctionTypeEnum}
42
+ * @param inputType {module:model/GetFunctionConfig.InputTypeEnum}
43
+ * @param outputType {module:model/GetFunctionConfig.OutputTypeEnum}
44
+ * @param functionUrl {String}
45
+ * @param functionArn {String}
46
+ * @param functionZpml {String}
47
+ * @param className {String}
48
+ */
49
+ function GetFunctionConfig(id, key, asynchronous, functionType, inputType, outputType, functionUrl, functionArn, functionZpml, className) {
50
+ _classCallCheck(this, GetFunctionConfig);
51
+ GetFunctionConfig.initialize(this, id, key, asynchronous, functionType, inputType, outputType, functionUrl, functionArn, functionZpml, className);
52
+ }
53
+
54
+ /**
55
+ * Initializes the fields of this object.
56
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
57
+ * Only for internal use.
58
+ */
59
+ return _createClass(GetFunctionConfig, null, [{
60
+ key: "initialize",
61
+ value: function initialize(obj, id, key, asynchronous, functionType, inputType, outputType, functionUrl, functionArn, functionZpml, className) {
62
+ obj['id'] = id;
63
+ obj['key'] = key;
64
+ obj['asynchronous'] = asynchronous;
65
+ obj['functionType'] = functionType;
66
+ obj['inputType'] = inputType;
67
+ obj['outputType'] = outputType;
68
+ obj['functionUrl'] = functionUrl;
69
+ obj['functionArn'] = functionArn;
70
+ obj['functionZpml'] = functionZpml;
71
+ obj['className'] = className;
72
+ }
73
+
74
+ /**
75
+ * Constructs a <code>GetFunctionConfig</code> from a plain JavaScript object, optionally creating a new instance.
76
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
77
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
78
+ * @param {module:model/GetFunctionConfig} obj Optional instance to populate.
79
+ * @return {module:model/GetFunctionConfig} The populated <code>GetFunctionConfig</code> instance.
80
+ */
81
+ }, {
82
+ key: "constructFromObject",
83
+ value: function constructFromObject(data, obj) {
84
+ if (data) {
85
+ obj = obj || new GetFunctionConfig();
86
+ if (data.hasOwnProperty('id')) {
87
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
88
+ }
89
+ if (data.hasOwnProperty('key')) {
90
+ obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
91
+ }
92
+ if (data.hasOwnProperty('asynchronous')) {
93
+ obj['asynchronous'] = _ApiClient["default"].convertToType(data['asynchronous'], 'Boolean');
94
+ }
95
+ if (data.hasOwnProperty('functionType')) {
96
+ obj['functionType'] = _ApiClient["default"].convertToType(data['functionType'], 'String');
97
+ }
98
+ if (data.hasOwnProperty('inputType')) {
99
+ obj['inputType'] = _ApiClient["default"].convertToType(data['inputType'], 'String');
100
+ }
101
+ if (data.hasOwnProperty('outputType')) {
102
+ obj['outputType'] = _ApiClient["default"].convertToType(data['outputType'], 'String');
103
+ }
104
+ if (data.hasOwnProperty('functionUrl')) {
105
+ obj['functionUrl'] = _ApiClient["default"].convertToType(data['functionUrl'], 'String');
106
+ }
107
+ if (data.hasOwnProperty('functionArn')) {
108
+ obj['functionArn'] = _ApiClient["default"].convertToType(data['functionArn'], 'String');
109
+ }
110
+ if (data.hasOwnProperty('functionZpml')) {
111
+ obj['functionZpml'] = _ApiClient["default"].convertToType(data['functionZpml'], 'String');
112
+ }
113
+ if (data.hasOwnProperty('className')) {
114
+ obj['className'] = _ApiClient["default"].convertToType(data['className'], 'String');
115
+ }
116
+ }
117
+ return obj;
118
+ }
119
+
120
+ /**
121
+ * Validates the JSON data with respect to <code>GetFunctionConfig</code>.
122
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
123
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetFunctionConfig</code>.
124
+ */
125
+ }, {
126
+ key: "validateJSON",
127
+ value: function validateJSON(data) {
128
+ // check to make sure all required properties are present in the JSON string
129
+ var _iterator = _createForOfIteratorHelper(GetFunctionConfig.RequiredProperties),
130
+ _step;
131
+ try {
132
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
133
+ var property = _step.value;
134
+ if (!data[property]) {
135
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
136
+ }
137
+ }
138
+ // ensure the json data is a string
139
+ } catch (err) {
140
+ _iterator.e(err);
141
+ } finally {
142
+ _iterator.f();
143
+ }
144
+ if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
145
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
146
+ }
147
+ // ensure the json data is a string
148
+ if (data['functionType'] && !(typeof data['functionType'] === 'string' || data['functionType'] instanceof String)) {
149
+ throw new Error("Expected the field `functionType` to be a primitive type in the JSON string but got " + data['functionType']);
150
+ }
151
+ // ensure the json data is a string
152
+ if (data['inputType'] && !(typeof data['inputType'] === 'string' || data['inputType'] instanceof String)) {
153
+ throw new Error("Expected the field `inputType` to be a primitive type in the JSON string but got " + data['inputType']);
154
+ }
155
+ // ensure the json data is a string
156
+ if (data['outputType'] && !(typeof data['outputType'] === 'string' || data['outputType'] instanceof String)) {
157
+ throw new Error("Expected the field `outputType` to be a primitive type in the JSON string but got " + data['outputType']);
158
+ }
159
+ // ensure the json data is a string
160
+ if (data['functionUrl'] && !(typeof data['functionUrl'] === 'string' || data['functionUrl'] instanceof String)) {
161
+ throw new Error("Expected the field `functionUrl` to be a primitive type in the JSON string but got " + data['functionUrl']);
162
+ }
163
+ // ensure the json data is a string
164
+ if (data['functionArn'] && !(typeof data['functionArn'] === 'string' || data['functionArn'] instanceof String)) {
165
+ throw new Error("Expected the field `functionArn` to be a primitive type in the JSON string but got " + data['functionArn']);
166
+ }
167
+ // ensure the json data is a string
168
+ if (data['functionZpml'] && !(typeof data['functionZpml'] === 'string' || data['functionZpml'] instanceof String)) {
169
+ throw new Error("Expected the field `functionZpml` to be a primitive type in the JSON string but got " + data['functionZpml']);
170
+ }
171
+ // ensure the json data is a string
172
+ if (data['className'] && !(typeof data['className'] === 'string' || data['className'] instanceof String)) {
173
+ throw new Error("Expected the field `className` to be a primitive type in the JSON string but got " + data['className']);
174
+ }
175
+ return true;
176
+ }
177
+ }]);
178
+ }();
179
+ GetFunctionConfig.RequiredProperties = ["id", "key", "asynchronous", "functionType", "inputType", "outputType", "functionUrl", "functionArn", "functionZpml", "className"];
180
+
181
+ /**
182
+ * @member {Number} id
183
+ */
184
+ GetFunctionConfig.prototype['id'] = undefined;
185
+
186
+ /**
187
+ * @member {String} key
188
+ */
189
+ GetFunctionConfig.prototype['key'] = undefined;
190
+
191
+ /**
192
+ * @member {Boolean} asynchronous
193
+ */
194
+ GetFunctionConfig.prototype['asynchronous'] = undefined;
195
+
196
+ /**
197
+ * @member {module:model/GetFunctionConfig.FunctionTypeEnum} functionType
198
+ */
199
+ GetFunctionConfig.prototype['functionType'] = undefined;
200
+
201
+ /**
202
+ * @member {module:model/GetFunctionConfig.InputTypeEnum} inputType
203
+ */
204
+ GetFunctionConfig.prototype['inputType'] = undefined;
205
+
206
+ /**
207
+ * @member {module:model/GetFunctionConfig.OutputTypeEnum} outputType
208
+ */
209
+ GetFunctionConfig.prototype['outputType'] = undefined;
210
+
211
+ /**
212
+ * @member {String} functionUrl
213
+ */
214
+ GetFunctionConfig.prototype['functionUrl'] = undefined;
215
+
216
+ /**
217
+ * @member {String} functionArn
218
+ */
219
+ GetFunctionConfig.prototype['functionArn'] = undefined;
220
+
221
+ /**
222
+ * @member {String} functionZpml
223
+ */
224
+ GetFunctionConfig.prototype['functionZpml'] = undefined;
225
+
226
+ /**
227
+ * @member {String} className
228
+ */
229
+ GetFunctionConfig.prototype['className'] = undefined;
230
+
231
+ /**
232
+ * Allowed values for the <code>functionType</code> property.
233
+ * @enum {String}
234
+ * @readonly
235
+ */
236
+ GetFunctionConfig['FunctionTypeEnum'] = {
237
+ /**
238
+ * value: "LOCAL"
239
+ * @const
240
+ */
241
+ "LOCAL": "LOCAL",
242
+ /**
243
+ * value: "ZPML"
244
+ * @const
245
+ */
246
+ "ZPML": "ZPML",
247
+ /**
248
+ * value: "REMOTE_ZPML"
249
+ * @const
250
+ */
251
+ "REMOTE_ZPML": "REMOTE_ZPML",
252
+ /**
253
+ * value: "JAVASCRIPT"
254
+ * @const
255
+ */
256
+ "JAVASCRIPT": "JAVASCRIPT",
257
+ /**
258
+ * value: "AWS_LAMBDA"
259
+ * @const
260
+ */
261
+ "AWS_LAMBDA": "AWS_LAMBDA",
262
+ /**
263
+ * value: "GOOGLE_CLOUD_FUNCTION"
264
+ * @const
265
+ */
266
+ "GOOGLE_CLOUD_FUNCTION": "GOOGLE_CLOUD_FUNCTION",
267
+ /**
268
+ * value: "AZURE_FUNCTION"
269
+ * @const
270
+ */
271
+ "AZURE_FUNCTION": "AZURE_FUNCTION",
272
+ /**
273
+ * value: "FIREBASE_FUNCTION"
274
+ * @const
275
+ */
276
+ "FIREBASE_FUNCTION": "FIREBASE_FUNCTION",
277
+ /**
278
+ * value: "PHP"
279
+ * @const
280
+ */
281
+ "PHP": "PHP",
282
+ /**
283
+ * value: "WEB_SERVICE"
284
+ * @const
285
+ */
286
+ "WEB_SERVICE": "WEB_SERVICE",
287
+ /**
288
+ * value: "CYPHER_QUERY"
289
+ * @const
290
+ */
291
+ "CYPHER_QUERY": "CYPHER_QUERY",
292
+ /**
293
+ * value: "TOPIC"
294
+ * @const
295
+ */
296
+ "TOPIC": "TOPIC",
297
+ /**
298
+ * value: "KAFKA"
299
+ * @const
300
+ */
301
+ "KAFKA": "KAFKA",
302
+ /**
303
+ * value: "AWS_SNS"
304
+ * @const
305
+ */
306
+ "AWS_SNS": "AWS_SNS"
307
+ };
308
+
309
+ /**
310
+ * Allowed values for the <code>inputType</code> property.
311
+ * @enum {String}
312
+ * @readonly
313
+ */
314
+ GetFunctionConfig['InputTypeEnum'] = {
315
+ /**
316
+ * value: "JSON"
317
+ * @const
318
+ */
319
+ "JSON": "JSON",
320
+ /**
321
+ * value: "STRING"
322
+ * @const
323
+ */
324
+ "STRING": "STRING",
325
+ /**
326
+ * value: "BINARY"
327
+ * @const
328
+ */
329
+ "BINARY": "BINARY",
330
+ /**
331
+ * value: "VOID"
332
+ * @const
333
+ */
334
+ "VOID": "VOID"
335
+ };
336
+
337
+ /**
338
+ * Allowed values for the <code>outputType</code> property.
339
+ * @enum {String}
340
+ * @readonly
341
+ */
342
+ GetFunctionConfig['OutputTypeEnum'] = {
343
+ /**
344
+ * value: "JSON"
345
+ * @const
346
+ */
347
+ "JSON": "JSON",
348
+ /**
349
+ * value: "STRING"
350
+ * @const
351
+ */
352
+ "STRING": "STRING",
353
+ /**
354
+ * value: "BINARY"
355
+ * @const
356
+ */
357
+ "BINARY": "BINARY",
358
+ /**
359
+ * value: "VOID"
360
+ * @const
361
+ */
362
+ "VOID": "VOID"
363
+ };
364
+ var _default = exports["default"] = GetFunctionConfig;
@@ -0,0 +1,170 @@
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 _GetFunctionConfig = _interopRequireDefault(require("./GetFunctionConfig"));
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 _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ 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); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
19
+ * gobodo-api
20
+ * REST Interface for Gobodo API
21
+ *
22
+ * The version of the OpenAPI document: 0.1.59
23
+ * Contact: info@gobodo.io
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The GetFunctionEnvironmentConfig model module.
32
+ * @module model/GetFunctionEnvironmentConfig
33
+ * @version 0.1.59
34
+ */
35
+ var GetFunctionEnvironmentConfig = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new <code>GetFunctionEnvironmentConfig</code>.
38
+ * @alias module:model/GetFunctionEnvironmentConfig
39
+ * @param environment {module:model/GetFunctionEnvironmentConfig.EnvironmentEnum}
40
+ * @param environmentKey {String}
41
+ * @param functionConfig {module:model/GetFunctionConfig}
42
+ */
43
+ function GetFunctionEnvironmentConfig(environment, environmentKey, functionConfig) {
44
+ _classCallCheck(this, GetFunctionEnvironmentConfig);
45
+ GetFunctionEnvironmentConfig.initialize(this, environment, environmentKey, functionConfig);
46
+ }
47
+
48
+ /**
49
+ * Initializes the fields of this object.
50
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
51
+ * Only for internal use.
52
+ */
53
+ return _createClass(GetFunctionEnvironmentConfig, null, [{
54
+ key: "initialize",
55
+ value: function initialize(obj, environment, environmentKey, functionConfig) {
56
+ obj['environment'] = environment;
57
+ obj['environmentKey'] = environmentKey;
58
+ obj['functionConfig'] = functionConfig;
59
+ }
60
+
61
+ /**
62
+ * Constructs a <code>GetFunctionEnvironmentConfig</code> from a plain JavaScript object, optionally creating a new instance.
63
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
64
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
65
+ * @param {module:model/GetFunctionEnvironmentConfig} obj Optional instance to populate.
66
+ * @return {module:model/GetFunctionEnvironmentConfig} The populated <code>GetFunctionEnvironmentConfig</code> instance.
67
+ */
68
+ }, {
69
+ key: "constructFromObject",
70
+ value: function constructFromObject(data, obj) {
71
+ if (data) {
72
+ obj = obj || new GetFunctionEnvironmentConfig();
73
+ if (data.hasOwnProperty('environment')) {
74
+ obj['environment'] = _ApiClient["default"].convertToType(data['environment'], 'String');
75
+ }
76
+ if (data.hasOwnProperty('environmentKey')) {
77
+ obj['environmentKey'] = _ApiClient["default"].convertToType(data['environmentKey'], 'String');
78
+ }
79
+ if (data.hasOwnProperty('functionConfig')) {
80
+ obj['functionConfig'] = _GetFunctionConfig["default"].constructFromObject(data['functionConfig']);
81
+ }
82
+ }
83
+ return obj;
84
+ }
85
+
86
+ /**
87
+ * Validates the JSON data with respect to <code>GetFunctionEnvironmentConfig</code>.
88
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
89
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetFunctionEnvironmentConfig</code>.
90
+ */
91
+ }, {
92
+ key: "validateJSON",
93
+ value: function validateJSON(data) {
94
+ // check to make sure all required properties are present in the JSON string
95
+ var _iterator = _createForOfIteratorHelper(GetFunctionEnvironmentConfig.RequiredProperties),
96
+ _step;
97
+ try {
98
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
99
+ var property = _step.value;
100
+ if (!data[property]) {
101
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
102
+ }
103
+ }
104
+ // ensure the json data is a string
105
+ } catch (err) {
106
+ _iterator.e(err);
107
+ } finally {
108
+ _iterator.f();
109
+ }
110
+ if (data['environment'] && !(typeof data['environment'] === 'string' || data['environment'] instanceof String)) {
111
+ throw new Error("Expected the field `environment` to be a primitive type in the JSON string but got " + data['environment']);
112
+ }
113
+ // ensure the json data is a string
114
+ if (data['environmentKey'] && !(typeof data['environmentKey'] === 'string' || data['environmentKey'] instanceof String)) {
115
+ throw new Error("Expected the field `environmentKey` to be a primitive type in the JSON string but got " + data['environmentKey']);
116
+ }
117
+ // validate the optional field `functionConfig`
118
+ if (data['functionConfig']) {
119
+ // data not null
120
+ _GetFunctionConfig["default"].validateJSON(data['functionConfig']);
121
+ }
122
+ return true;
123
+ }
124
+ }]);
125
+ }();
126
+ GetFunctionEnvironmentConfig.RequiredProperties = ["environment", "environmentKey", "functionConfig"];
127
+
128
+ /**
129
+ * @member {module:model/GetFunctionEnvironmentConfig.EnvironmentEnum} environment
130
+ */
131
+ GetFunctionEnvironmentConfig.prototype['environment'] = undefined;
132
+
133
+ /**
134
+ * @member {String} environmentKey
135
+ */
136
+ GetFunctionEnvironmentConfig.prototype['environmentKey'] = undefined;
137
+
138
+ /**
139
+ * @member {module:model/GetFunctionConfig} functionConfig
140
+ */
141
+ GetFunctionEnvironmentConfig.prototype['functionConfig'] = undefined;
142
+
143
+ /**
144
+ * Allowed values for the <code>environment</code> property.
145
+ * @enum {String}
146
+ * @readonly
147
+ */
148
+ GetFunctionEnvironmentConfig['EnvironmentEnum'] = {
149
+ /**
150
+ * value: "DEVELOPMENT"
151
+ * @const
152
+ */
153
+ "DEVELOPMENT": "DEVELOPMENT",
154
+ /**
155
+ * value: "SIT"
156
+ * @const
157
+ */
158
+ "SIT": "SIT",
159
+ /**
160
+ * value: "CAT"
161
+ * @const
162
+ */
163
+ "CAT": "CAT",
164
+ /**
165
+ * value: "PRODUCTION"
166
+ * @const
167
+ */
168
+ "PRODUCTION": "PRODUCTION"
169
+ };
170
+ var _default = exports["default"] = GetFunctionEnvironmentConfig;