@gobodo/gobodo-api-promise 0.1.68 → 0.1.72
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 +32 -2
- package/dist/ApiClient.js +3 -3
- package/dist/api/ActionTypesApi.js +2 -2
- package/dist/api/AdCampaignsApi.js +2 -2
- package/dist/api/AdManagementApi.js +2 -2
- package/dist/api/AdminDataManagementApi.js +2 -2
- package/dist/api/AdsApi.js +2 -2
- package/dist/api/AttachmentsApi.js +2 -2
- package/dist/api/AuthenticationApi.js +2 -2
- package/dist/api/CategoriesApi.js +2 -2
- package/dist/api/CommentsApi.js +2 -2
- package/dist/api/ContentManagementApi.js +2 -2
- package/dist/api/ConversationsApi.js +2 -2
- package/dist/api/CurrencyApi.js +322 -0
- package/dist/api/DataSheetImportsApi.js +2 -2
- package/dist/api/DefaultApi.js +2 -2
- package/dist/api/DocumentPartTypesApi.js +2 -2
- package/dist/api/DocumentTypesApi.js +2 -2
- 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 +77 -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 +919 -0
- package/dist/index.js +105 -0
- package/dist/model/APIClient.js +23 -23
- package/dist/model/AccountSessionInput.js +2 -2
- package/dist/model/AccountSessionResponse.js +2 -2
- package/dist/model/ApplicationPaymentAccountResponse.js +31 -2
- package/dist/model/ApplicationPaymentAccountResponseFailureException.js +2 -2
- package/dist/model/Article.js +25 -25
- package/dist/model/AuthResponse.js +2 -2
- package/dist/model/AwsSettings.js +2 -2
- package/dist/model/Balance.js +101 -55
- 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 +30 -30
- 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 +262 -0
- package/dist/model/CurrencyGrantInput.js +280 -0
- package/dist/model/CurrencyGrantResponse.js +369 -0
- package/dist/model/CurrencyInput.js +268 -0
- package/dist/model/CurrencyMinterRegistrationInput.js +208 -0
- package/dist/model/CurrencyResponse.js +301 -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 +25 -25
- package/dist/model/DocumentPart.js +27 -27
- package/dist/model/DocumentPartType.js +31 -31
- package/dist/model/DocumentType.js +31 -31
- package/dist/model/EmailAddress.js +52 -52
- package/dist/model/FieldMapping.js +2 -2
- package/dist/model/Fields.js +48 -48
- 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 +25 -25
- 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 +2 -2
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +2 -2
- 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 +31 -31
- 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 +26 -26
- 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 +25 -25
- 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 +2 -2
- 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 +229 -0
- package/dist/model/PurchaseResponse.js +320 -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 +48 -48
- package/dist/model/SkinFieldResponse.js +2 -2
- package/dist/model/SocialGroup.js +50 -50
- package/dist/model/SocialGroupType.js +2 -2
- 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 +143 -2
- package/dist/model/StripeCustomerAccount.js +2 -2
- package/dist/model/Template.js +2 -2
- package/dist/model/TemplateResponse.js +2 -2
- package/dist/model/TemplateSchema.js +2 -2
- 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 +2 -2
- package/dist/model/TransferInput.js +95 -6
- package/dist/model/TransferResponse.js +2 -2
- package/dist/model/TransferResponsePaymentMethodDetails.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/model/VideoLiveUrl.js +2 -2
- package/dist/model/VideoSchema.js +2 -2
- package/dist/model/VideoUploadObject.js +2 -2
- package/dist/model/WalletHoldInput.js +235 -0
- package/dist/model/WalletHoldResponse.js +293 -0
- package/dist/model/WalletPayoutInput.js +206 -0
- package/dist/model/WalletPayoutResponse.js +235 -0
- package/dist/model/WalletResponse.js +239 -0
- package/dist/model/ZeusPortalCategory.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ Gobodo - JavaScript client for @gobodo/gobodo-api-promise
|
|
|
4
4
|
REST Interface for Gobodo API
|
|
5
5
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
6
6
|
|
|
7
|
-
- API version: 0.1.
|
|
8
|
-
- Package version: 0.1.
|
|
7
|
+
- API version: 0.1.72
|
|
8
|
+
- Package version: 0.1.72
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
@@ -239,6 +239,10 @@ Class | Method | HTTP request | Description
|
|
|
239
239
|
*Gobodo.ConversationsApi* | [**getConversationParticipants**](docs/ConversationsApi.md#getConversationParticipants) | **GET** /graph/data/privatemessages/conversations/{convoid}/groupedmessages | Get Grouped Messages
|
|
240
240
|
*Gobodo.ConversationsApi* | [**getConversationParticipants1**](docs/ConversationsApi.md#getConversationParticipants1) | **GET** /graph/data/privatemessages/conversations/{convoid}/messages | Get Participants
|
|
241
241
|
*Gobodo.ConversationsApi* | [**getUnreadMessageCount**](docs/ConversationsApi.md#getUnreadMessageCount) | **GET** /graph/data/privatemessages/conversations/newmessagecount | Get the number of unread messages
|
|
242
|
+
*Gobodo.CurrencyApi* | [**createCurrency**](docs/CurrencyApi.md#createCurrency) | **POST** /graph/data/payments/currency | Create a new currency
|
|
243
|
+
*Gobodo.CurrencyApi* | [**getCurrencyById**](docs/CurrencyApi.md#getCurrencyById) | **GET** /graph/data/payments/currency/{currencyId} | Get a currency by id
|
|
244
|
+
*Gobodo.CurrencyApi* | [**getRegisteredCurrencies**](docs/CurrencyApi.md#getRegisteredCurrencies) | **GET** /graph/data/payments/currency/registeredcurrencies/{minterId} | Get all currencies registered by a minter
|
|
245
|
+
*Gobodo.CurrencyApi* | [**registerCurrency**](docs/CurrencyApi.md#registerCurrency) | **POST** /graph/data/payments/currency/register | Register a currency with a minter
|
|
242
246
|
*Gobodo.DataSheetImportsApi* | [**addDataSheetImportGeocodeMapping**](docs/DataSheetImportsApi.md#addDataSheetImportGeocodeMapping) | **PUT** /graph/data/datasheetimport/{dsimportid}/geolocateon/{sheetprop} | Geocodes the imported object based on the specified data field in the datasheet
|
|
243
247
|
*Gobodo.DataSheetImportsApi* | [**addDataSheetImportMapping**](docs/DataSheetImportsApi.md#addDataSheetImportMapping) | **PUT** /graph/data/datasheetimport/{dsimportid}/mapping/{sheetprop} | Sets the mapping associated with the sheetprop
|
|
244
248
|
*Gobodo.DataSheetImportsApi* | [**addEndObjectLookup**](docs/DataSheetImportsApi.md#addEndObjectLookup) | **PUT** /graph/data/datasheetimport/{dsimportid}/endobjectlookup | Sets the lookup for the end object in a relationship import
|
|
@@ -682,6 +686,7 @@ Class | Method | HTTP request | Description
|
|
|
682
686
|
*Gobodo.ThemeMappingsApi* | [**createTheme**](docs/ThemeMappingsApi.md#createTheme) | **POST** /graph/data/themes | Create a Theme Mapping
|
|
683
687
|
*Gobodo.ThemeMappingsApi* | [**get41**](docs/ThemeMappingsApi.md#get41) | **GET** /graph/data/themes/{themeid} |
|
|
684
688
|
*Gobodo.TopicsApi* | [**createTopic**](docs/TopicsApi.md#createTopic) | **POST** /graph/data/topics | Creates a new topic
|
|
689
|
+
*Gobodo.TopicsApi* | [**deleteSubscription**](docs/TopicsApi.md#deleteSubscription) | **DELETE** /graph/data/topics/subscription/{subscriptionId} | Deletes a subscription
|
|
685
690
|
*Gobodo.TopicsApi* | [**deleteTopic**](docs/TopicsApi.md#deleteTopic) | **DELETE** /graph/data/topics/{topicName} | Deletes a topic
|
|
686
691
|
*Gobodo.TopicsApi* | [**getSubscription**](docs/TopicsApi.md#getSubscription) | **GET** /graph/data/topics/subscription/{subscriptionId} | Gets a subscription by key
|
|
687
692
|
*Gobodo.TopicsApi* | [**getTopicByName**](docs/TopicsApi.md#getTopicByName) | **GET** /graph/data/topics/{topicName} | Gets a topic by name
|
|
@@ -724,6 +729,18 @@ Class | Method | HTTP request | Description
|
|
|
724
729
|
*Gobodo.VideosApi* | [**updateVideo**](docs/VideosApi.md#updateVideo) | **PUT** /graph/data/videos/{id} |
|
|
725
730
|
*Gobodo.VideosApi* | [**upload2**](docs/VideosApi.md#upload2) | **POST** /graph/data/videos/{id}/upload |
|
|
726
731
|
*Gobodo.VideosApi* | [**uploadVideo**](docs/VideosApi.md#uploadVideo) | **POST** /graph/data/videos/upload | Upload data
|
|
732
|
+
*Gobodo.WalletsApi* | [**createHold**](docs/WalletsApi.md#createHold) | **POST** /graph/data/payments/wallets/hold | Hold currency for a user
|
|
733
|
+
*Gobodo.WalletsApi* | [**getGrantById**](docs/WalletsApi.md#getGrantById) | **GET** /graph/data/payments/wallets/grant/{grantId} | Get a grant by id
|
|
734
|
+
*Gobodo.WalletsApi* | [**getHoldById**](docs/WalletsApi.md#getHoldById) | **GET** /graph/data/payments/wallets/hold/{holdId} | Get a hold by id
|
|
735
|
+
*Gobodo.WalletsApi* | [**getPurchaseById**](docs/WalletsApi.md#getPurchaseById) | **GET** /graph/data/payments/wallets/purchase/{purchaseId} | Get a purchase by id
|
|
736
|
+
*Gobodo.WalletsApi* | [**getTransferById**](docs/WalletsApi.md#getTransferById) | **GET** /graph/data/payments/wallets/transfer/{transferId} | Get a transfer by id
|
|
737
|
+
*Gobodo.WalletsApi* | [**getWalletBalance**](docs/WalletsApi.md#getWalletBalance) | **GET** /graph/data/payments/wallets/wallet/{walletId}/balance | Get the balance of a wallet
|
|
738
|
+
*Gobodo.WalletsApi* | [**getWalletById**](docs/WalletsApi.md#getWalletById) | **GET** /graph/data/payments/wallets/wallet/{walletId} | Get a wallet by id
|
|
739
|
+
*Gobodo.WalletsApi* | [**getWallets**](docs/WalletsApi.md#getWallets) | **GET** /graph/data/payments/wallets/wallet | Get all wallets
|
|
740
|
+
*Gobodo.WalletsApi* | [**grantCurrency**](docs/WalletsApi.md#grantCurrency) | **POST** /graph/data/payments/wallets/grant | Grant currency to a user
|
|
741
|
+
*Gobodo.WalletsApi* | [**payoutWallet**](docs/WalletsApi.md#payoutWallet) | **POST** /graph/data/payments/wallets/payout | Payout to the wallet to the logged in user's cash balance
|
|
742
|
+
*Gobodo.WalletsApi* | [**purchaseCurrency**](docs/WalletsApi.md#purchaseCurrency) | **POST** /graph/data/payments/wallets/purchase | Purchase an item
|
|
743
|
+
*Gobodo.WalletsApi* | [**walletTransfer**](docs/WalletsApi.md#walletTransfer) | **POST** /graph/data/payments/wallets/transfer | Transfer funds between wallets
|
|
727
744
|
|
|
728
745
|
|
|
729
746
|
## Documentation for Models
|
|
@@ -749,6 +766,12 @@ Class | Method | HTTP request | Description
|
|
|
749
766
|
- [Gobodo.CreateStripeCustomerInput](docs/CreateStripeCustomerInput.md)
|
|
750
767
|
- [Gobodo.CreateTopicInput](docs/CreateTopicInput.md)
|
|
751
768
|
- [Gobodo.CreateTopicListenerInput](docs/CreateTopicListenerInput.md)
|
|
769
|
+
- [Gobodo.Currency](docs/Currency.md)
|
|
770
|
+
- [Gobodo.CurrencyGrantInput](docs/CurrencyGrantInput.md)
|
|
771
|
+
- [Gobodo.CurrencyGrantResponse](docs/CurrencyGrantResponse.md)
|
|
772
|
+
- [Gobodo.CurrencyInput](docs/CurrencyInput.md)
|
|
773
|
+
- [Gobodo.CurrencyMinterRegistrationInput](docs/CurrencyMinterRegistrationInput.md)
|
|
774
|
+
- [Gobodo.CurrencyResponse](docs/CurrencyResponse.md)
|
|
752
775
|
- [Gobodo.CurrencySettings](docs/CurrencySettings.md)
|
|
753
776
|
- [Gobodo.CustomerResponse](docs/CustomerResponse.md)
|
|
754
777
|
- [Gobodo.DataObject](docs/DataObject.md)
|
|
@@ -844,6 +867,8 @@ Class | Method | HTTP request | Description
|
|
|
844
867
|
- [Gobodo.Profile](docs/Profile.md)
|
|
845
868
|
- [Gobodo.Profiletype](docs/Profiletype.md)
|
|
846
869
|
- [Gobodo.PropertyContainer](docs/PropertyContainer.md)
|
|
870
|
+
- [Gobodo.PurchaseInput](docs/PurchaseInput.md)
|
|
871
|
+
- [Gobodo.PurchaseResponse](docs/PurchaseResponse.md)
|
|
847
872
|
- [Gobodo.PurgeDataDefaultResponseValue](docs/PurgeDataDefaultResponseValue.md)
|
|
848
873
|
- [Gobodo.RelationshipMapping](docs/RelationshipMapping.md)
|
|
849
874
|
- [Gobodo.RestApplicationInput](docs/RestApplicationInput.md)
|
|
@@ -890,6 +915,11 @@ Class | Method | HTTP request | Description
|
|
|
890
915
|
- [Gobodo.VideoLiveUrl](docs/VideoLiveUrl.md)
|
|
891
916
|
- [Gobodo.VideoSchema](docs/VideoSchema.md)
|
|
892
917
|
- [Gobodo.VideoUploadObject](docs/VideoUploadObject.md)
|
|
918
|
+
- [Gobodo.WalletHoldInput](docs/WalletHoldInput.md)
|
|
919
|
+
- [Gobodo.WalletHoldResponse](docs/WalletHoldResponse.md)
|
|
920
|
+
- [Gobodo.WalletPayoutInput](docs/WalletPayoutInput.md)
|
|
921
|
+
- [Gobodo.WalletPayoutResponse](docs/WalletPayoutResponse.md)
|
|
922
|
+
- [Gobodo.WalletResponse](docs/WalletResponse.md)
|
|
893
923
|
- [Gobodo.ZeusPortalCategory](docs/ZeusPortalCategory.md)
|
|
894
924
|
|
|
895
925
|
|
package/dist/ApiClient.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.72
|
|
20
20
|
* Contact: info@gobodo.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 0.1.
|
|
29
|
+
* @version 0.1.72
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -74,7 +74,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
74
74
|
* @default {}
|
|
75
75
|
*/
|
|
76
76
|
this.defaultHeaders = {
|
|
77
|
-
'User-Agent': 'OpenAPI-Generator/0.1.
|
|
77
|
+
'User-Agent': 'OpenAPI-Generator/0.1.72/Javascript'
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
/**
|
|
@@ -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.72
|
|
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
|
* ActionTypes service.
|
|
29
29
|
* @module api/ActionTypesApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var ActionTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.72
|
|
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
|
* AdCampaigns service.
|
|
29
29
|
* @module api/AdCampaignsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var AdCampaignsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.72
|
|
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
|
* AdManagement service.
|
|
29
29
|
* @module api/AdManagementApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var AdManagementApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.72
|
|
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
|
* AdminDataManagement service.
|
|
29
29
|
* @module api/AdminDataManagementApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var AdminDataManagementApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/AdsApi.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.72
|
|
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
|
* Ads service.
|
|
29
29
|
* @module api/AdsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var AdsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.72
|
|
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
|
* Attachments service.
|
|
32
32
|
* @module api/AttachmentsApi
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.72
|
|
34
34
|
*/
|
|
35
35
|
var AttachmentsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -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.72
|
|
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
|
* Authentication service.
|
|
29
29
|
* @module api/AuthenticationApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var AuthenticationApi = 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.72
|
|
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
|
* Categories service.
|
|
30
30
|
* @module api/CategoriesApi
|
|
31
|
-
* @version 0.1.
|
|
31
|
+
* @version 0.1.72
|
|
32
32
|
*/
|
|
33
33
|
var CategoriesApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/CommentsApi.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.72
|
|
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
|
* Comments service.
|
|
29
29
|
* @module api/CommentsApi
|
|
30
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.72
|
|
31
31
|
*/
|
|
32
32
|
var CommentsApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -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.72
|
|
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
|
* ContentManagement service.
|
|
34
34
|
* @module api/ContentManagementApi
|
|
35
|
-
* @version 0.1.
|
|
35
|
+
* @version 0.1.72
|
|
36
36
|
*/
|
|
37
37
|
var ContentManagementApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -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.72
|
|
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
|
* Conversations service.
|
|
32
32
|
* @module api/ConversationsApi
|
|
33
|
-
* @version 0.1.
|
|
33
|
+
* @version 0.1.72
|
|
34
34
|
*/
|
|
35
35
|
var ConversationsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -0,0 +1,322 @@
|
|
|
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(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(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.72
|
|
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.72
|
|
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
|
+
* Create a new currency
|
|
47
|
+
* @param {Object} opts Optional parameters
|
|
48
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
49
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
50
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
51
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
52
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
53
|
+
* @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)
|
|
54
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
55
|
+
* @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
|
|
56
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
57
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
58
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyResponse} and HTTP response
|
|
59
|
+
*/
|
|
60
|
+
_createClass(CurrencyApi, [{
|
|
61
|
+
key: "createCurrencyWithHttpInfo",
|
|
62
|
+
value: function createCurrencyWithHttpInfo(opts) {
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
var postBody = null;
|
|
65
|
+
var pathParams = {};
|
|
66
|
+
var queryParams = {};
|
|
67
|
+
var headerParams = {
|
|
68
|
+
'Authorization': opts['authorization'],
|
|
69
|
+
'cacheduration': opts['cacheduration'],
|
|
70
|
+
'cachegroup': opts['cachegroup'],
|
|
71
|
+
'cachekey': opts['cachekey'],
|
|
72
|
+
'cachescope': opts['cachescope'],
|
|
73
|
+
'cacheuser': opts['cacheuser'],
|
|
74
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
75
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
76
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
77
|
+
'transactionid': opts['transactionid']
|
|
78
|
+
};
|
|
79
|
+
var formParams = {};
|
|
80
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
81
|
+
var contentTypes = [];
|
|
82
|
+
var accepts = ['application/json'];
|
|
83
|
+
var returnType = _CurrencyResponse["default"];
|
|
84
|
+
return this.apiClient.callApi('/graph/data/payments/currency', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Create a new currency
|
|
89
|
+
* @param {Object} opts Optional parameters
|
|
90
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
91
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
92
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
93
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
94
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
95
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
96
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
97
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
98
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
99
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
100
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyResponse}
|
|
101
|
+
*/
|
|
102
|
+
}, {
|
|
103
|
+
key: "createCurrency",
|
|
104
|
+
value: function createCurrency(opts) {
|
|
105
|
+
return this.createCurrencyWithHttpInfo(opts).then(function (response_and_data) {
|
|
106
|
+
return response_and_data.data;
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Get a currency by id
|
|
112
|
+
* @param {Number} currencyId
|
|
113
|
+
* @param {Object} opts Optional parameters
|
|
114
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
115
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
116
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
117
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
118
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
119
|
+
* @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)
|
|
120
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
121
|
+
* @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
|
|
122
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
123
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
124
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CurrencyResponse} and HTTP response
|
|
125
|
+
*/
|
|
126
|
+
}, {
|
|
127
|
+
key: "getCurrencyByIdWithHttpInfo",
|
|
128
|
+
value: function getCurrencyByIdWithHttpInfo(currencyId, opts) {
|
|
129
|
+
opts = opts || {};
|
|
130
|
+
var postBody = null;
|
|
131
|
+
// verify the required parameter 'currencyId' is set
|
|
132
|
+
if (currencyId === undefined || currencyId === null) {
|
|
133
|
+
throw new Error("Missing the required parameter 'currencyId' when calling getCurrencyById");
|
|
134
|
+
}
|
|
135
|
+
var pathParams = {
|
|
136
|
+
'currencyId': currencyId
|
|
137
|
+
};
|
|
138
|
+
var queryParams = {};
|
|
139
|
+
var headerParams = {
|
|
140
|
+
'Authorization': opts['authorization'],
|
|
141
|
+
'cacheduration': opts['cacheduration'],
|
|
142
|
+
'cachegroup': opts['cachegroup'],
|
|
143
|
+
'cachekey': opts['cachekey'],
|
|
144
|
+
'cachescope': opts['cachescope'],
|
|
145
|
+
'cacheuser': opts['cacheuser'],
|
|
146
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
147
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
148
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
149
|
+
'transactionid': opts['transactionid']
|
|
150
|
+
};
|
|
151
|
+
var formParams = {};
|
|
152
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
153
|
+
var contentTypes = [];
|
|
154
|
+
var accepts = ['application/json'];
|
|
155
|
+
var returnType = _CurrencyResponse["default"];
|
|
156
|
+
return this.apiClient.callApi('/graph/data/payments/currency/{currencyId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Get a currency by id
|
|
161
|
+
* @param {Number} currencyId
|
|
162
|
+
* @param {Object} opts Optional parameters
|
|
163
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
164
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
165
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
166
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
167
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
168
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
169
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
170
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
171
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
172
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
173
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CurrencyResponse}
|
|
174
|
+
*/
|
|
175
|
+
}, {
|
|
176
|
+
key: "getCurrencyById",
|
|
177
|
+
value: function getCurrencyById(currencyId, opts) {
|
|
178
|
+
return this.getCurrencyByIdWithHttpInfo(currencyId, opts).then(function (response_and_data) {
|
|
179
|
+
return response_and_data.data;
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Get all currencies registered by a minter
|
|
185
|
+
* @param {Number} minterId
|
|
186
|
+
* @param {Object} opts Optional parameters
|
|
187
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
188
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
189
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
190
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
191
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
192
|
+
* @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)
|
|
193
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
194
|
+
* @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
|
|
195
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
196
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
197
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CurrencyResponse>} and HTTP response
|
|
198
|
+
*/
|
|
199
|
+
}, {
|
|
200
|
+
key: "getRegisteredCurrenciesWithHttpInfo",
|
|
201
|
+
value: function getRegisteredCurrenciesWithHttpInfo(minterId, opts) {
|
|
202
|
+
opts = opts || {};
|
|
203
|
+
var postBody = null;
|
|
204
|
+
// verify the required parameter 'minterId' is set
|
|
205
|
+
if (minterId === undefined || minterId === null) {
|
|
206
|
+
throw new Error("Missing the required parameter 'minterId' when calling getRegisteredCurrencies");
|
|
207
|
+
}
|
|
208
|
+
var pathParams = {
|
|
209
|
+
'minterId': minterId
|
|
210
|
+
};
|
|
211
|
+
var queryParams = {};
|
|
212
|
+
var headerParams = {
|
|
213
|
+
'Authorization': opts['authorization'],
|
|
214
|
+
'cacheduration': opts['cacheduration'],
|
|
215
|
+
'cachegroup': opts['cachegroup'],
|
|
216
|
+
'cachekey': opts['cachekey'],
|
|
217
|
+
'cachescope': opts['cachescope'],
|
|
218
|
+
'cacheuser': opts['cacheuser'],
|
|
219
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
220
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
221
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
222
|
+
'transactionid': opts['transactionid']
|
|
223
|
+
};
|
|
224
|
+
var formParams = {};
|
|
225
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
226
|
+
var contentTypes = [];
|
|
227
|
+
var accepts = ['application/json'];
|
|
228
|
+
var returnType = [_CurrencyResponse["default"]];
|
|
229
|
+
return this.apiClient.callApi('/graph/data/payments/currency/registeredcurrencies/{minterId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Get all currencies registered by a minter
|
|
234
|
+
* @param {Number} minterId
|
|
235
|
+
* @param {Object} opts Optional parameters
|
|
236
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
237
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
238
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
239
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
240
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
241
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
242
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
243
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
244
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
245
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
246
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CurrencyResponse>}
|
|
247
|
+
*/
|
|
248
|
+
}, {
|
|
249
|
+
key: "getRegisteredCurrencies",
|
|
250
|
+
value: function getRegisteredCurrencies(minterId, opts) {
|
|
251
|
+
return this.getRegisteredCurrenciesWithHttpInfo(minterId, opts).then(function (response_and_data) {
|
|
252
|
+
return response_and_data.data;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Register a currency with a minter
|
|
258
|
+
* @param {Object} opts Optional parameters
|
|
259
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
260
|
+
* @param {Number} [cacheduration] The how long the cache entry should persist
|
|
261
|
+
* @param {Array.<String>} [cachegroup] The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
262
|
+
* @param {Array.<String>} [cachekey] The key to cache the response or the key to remove if a post, put, or delete operation
|
|
263
|
+
* @param {module:model/String} [cachescope] The scope of storage of the cache item
|
|
264
|
+
* @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)
|
|
265
|
+
* @param {Number} [zeusportalPostasApp] The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
266
|
+
* @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
|
|
267
|
+
* @param {Number} [zeusportalPostasSite] The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
268
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
269
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
270
|
+
*/
|
|
271
|
+
}, {
|
|
272
|
+
key: "registerCurrencyWithHttpInfo",
|
|
273
|
+
value: function registerCurrencyWithHttpInfo(opts) {
|
|
274
|
+
opts = opts || {};
|
|
275
|
+
var postBody = null;
|
|
276
|
+
var pathParams = {};
|
|
277
|
+
var queryParams = {};
|
|
278
|
+
var headerParams = {
|
|
279
|
+
'Authorization': opts['authorization'],
|
|
280
|
+
'cacheduration': opts['cacheduration'],
|
|
281
|
+
'cachegroup': opts['cachegroup'],
|
|
282
|
+
'cachekey': opts['cachekey'],
|
|
283
|
+
'cachescope': opts['cachescope'],
|
|
284
|
+
'cacheuser': opts['cacheuser'],
|
|
285
|
+
'zeusportal-postas-app': opts['zeusportalPostasApp'],
|
|
286
|
+
'zeusportal-postas': opts['zeusportalPostas'],
|
|
287
|
+
'zeusportal-postas-site': opts['zeusportalPostasSite'],
|
|
288
|
+
'transactionid': opts['transactionid']
|
|
289
|
+
};
|
|
290
|
+
var formParams = {};
|
|
291
|
+
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
292
|
+
var contentTypes = [];
|
|
293
|
+
var accepts = [];
|
|
294
|
+
var returnType = null;
|
|
295
|
+
return this.apiClient.callApi('/graph/data/payments/currency/register', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Register a currency with a minter
|
|
300
|
+
* @param {Object} opts Optional parameters
|
|
301
|
+
* @param {String} opts.authorization The authorization token of the logged in user
|
|
302
|
+
* @param {Number} opts.cacheduration The how long the cache entry should persist
|
|
303
|
+
* @param {Array.<String>} opts.cachegroup The cache group(s) the cache entry specified by the cachekey should be grouped to
|
|
304
|
+
* @param {Array.<String>} opts.cachekey The key to cache the response or the key to remove if a post, put, or delete operation
|
|
305
|
+
* @param {module:model/String} opts.cachescope The scope of storage of the cache item
|
|
306
|
+
* @param {Array.<String>} opts.cacheuser The users the cachekey should be applied to (this is only valid for clearing cache elements previously set for that user)
|
|
307
|
+
* @param {Number} opts.zeusportalPostasApp The id of the application this operation is being performed as if the caller chooses to post as an organization page
|
|
308
|
+
* @param {Number} opts.zeusportalPostas The id of the organization page this operation is being performed as if the caller chooses to post as an organization page
|
|
309
|
+
* @param {Number} opts.zeusportalPostasSite The id of the site this operation is being performed as if the caller chooses to post as an organization page
|
|
310
|
+
* @param {String} opts.transactionid The id of the transaction this operation is being run in
|
|
311
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
312
|
+
*/
|
|
313
|
+
}, {
|
|
314
|
+
key: "registerCurrency",
|
|
315
|
+
value: function registerCurrency(opts) {
|
|
316
|
+
return this.registerCurrencyWithHttpInfo(opts).then(function (response_and_data) {
|
|
317
|
+
return response_and_data.data;
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
}]);
|
|
321
|
+
return CurrencyApi;
|
|
322
|
+
}();
|