@gobodo/gobodo-api 0.1.5 → 0.1.6
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 +16 -22
- package/dist/ApiClient.js +76 -139
- package/dist/api/ActionTypesApi.js +27 -27
- package/dist/api/AdCampaignsApi.js +84 -90
- package/dist/api/AdManagementApi.js +119 -129
- package/dist/api/AdminDataManagementApi.js +31 -31
- package/dist/api/AdsApi.js +67 -69
- package/dist/api/AttachmentsApi.js +70 -72
- package/dist/api/AuthenticationApi.js +45 -43
- package/dist/api/CategoriesApi.js +67 -72
- package/dist/api/CommentsApi.js +69 -76
- package/dist/api/ContentManagementApi.js +191 -225
- package/dist/api/ConversationsApi.js +67 -74
- package/dist/api/DataSheetImportsApi.js +151 -169
- package/dist/api/DefaultApi.js +106 -116
- package/dist/api/DocumentsApi.js +105 -121
- package/dist/api/EntryPartsApi.js +118 -137
- package/dist/api/FacebookApi.js +23 -21
- package/dist/api/FieldsApi.js +43 -47
- package/dist/api/FilesApi.js +35 -31
- package/dist/api/FormsApi.js +142 -165
- package/dist/api/FunctionsApi.js +32 -32
- package/dist/api/GeocodeApi.js +55 -62
- package/dist/api/GoogleApi.js +23 -21
- package/dist/api/GraphActionsApi.js +94 -106
- package/dist/api/GraphObjectTypesApi.js +86 -90
- package/dist/api/GraphObjectsApi.js +508 -612
- package/dist/api/GraphRelationshipTypesApi.js +157 -177
- package/dist/api/GraphRelationshipsApi.js +257 -296
- package/dist/api/GraphSchemasApi.js +75 -82
- package/dist/api/GraphTraversalApi.js +55 -64
- package/dist/api/GraphsApi.js +98 -114
- package/dist/api/GroupsApi.js +95 -108
- package/dist/api/IAMApi.js +52 -52
- package/dist/api/ImagesApi.js +85 -87
- package/dist/api/InvitesApi.js +49 -53
- package/dist/api/LikesApi.js +102 -114
- package/dist/api/LinkedINApi.js +23 -21
- package/dist/api/LiveMeetingsApi.js +37 -39
- package/dist/api/MeetingEventsApi.js +53 -58
- package/dist/api/PagesApi.js +82 -94
- package/dist/api/PostsApi.js +49 -52
- package/dist/api/PrivateMessagesApi.js +113 -129
- package/dist/api/PublicationsApi.js +25 -23
- package/dist/api/ScreensApi.js +39 -41
- package/dist/api/SocialIntegrationApi.js +35 -33
- package/dist/api/StripeAccountsApi.js +77 -91
- package/dist/api/TagsApi.js +27 -27
- package/dist/api/TemplatesApi.js +39 -41
- package/dist/api/ThemeMappingsApi.js +38 -40
- package/dist/api/TransactionsApi.js +26 -26
- package/dist/api/TwitterApi.js +23 -21
- package/dist/api/UserTagsApi.js +85 -97
- package/dist/api/UsersApi.js +75 -87
- package/dist/api/UtilsApi.js +22 -20
- package/dist/api/VideosApi.js +101 -115
- package/dist/index.js +350 -512
- package/dist/model/APIClient.js +70 -50
- package/dist/model/Article.js +110 -89
- package/dist/model/Authorization.js +45 -24
- package/dist/model/Comment.js +68 -56
- package/dist/model/Coordinates.js +32 -22
- package/dist/model/CreateAccountResponse.js +46 -25
- package/dist/model/CreateCustomerResponse.js +46 -25
- package/dist/model/CreateStripeAccountInput.js +47 -29
- package/dist/model/CreateStripeCustomerInput.js +41 -24
- package/dist/model/DataObject.js +32 -22
- package/dist/model/DataSheetImport.js +141 -104
- package/dist/model/DataSheetImportPrivacySettings.js +33 -24
- package/dist/model/DataSheetImportSummary.js +62 -28
- package/dist/model/Document.js +136 -94
- package/dist/model/DocumentPart.js +126 -81
- package/dist/model/DocumentPartType.js +72 -45
- package/dist/model/DocumentType.js +84 -61
- package/dist/model/FieldMapping.js +41 -30
- package/dist/model/Fields.js +89 -104
- package/dist/model/File.js +61 -47
- package/dist/model/FileAttachmentUploadObject.js +63 -58
- package/dist/model/Filter.js +40 -22
- package/dist/model/FilterManager.js +56 -23
- package/dist/model/Form.js +112 -47
- package/dist/model/FormSection.js +86 -33
- package/dist/model/FormSubmission.js +50 -32
- package/dist/model/Geocode.js +44 -28
- package/dist/model/GeocodePayload.js +42 -24
- package/dist/model/GeolocationInput.js +62 -30
- package/dist/model/Graph.js +84 -76
- package/dist/model/GraphAction.js +47 -39
- package/dist/model/GraphDatabaseService.js +43 -38
- package/dist/model/GraphGeocode.js +56 -35
- package/dist/model/GraphIteratorEntryPart.js +58 -24
- package/dist/model/GraphIteratorEntryPartStackTraceInner.js +166 -0
- package/dist/model/GraphObject.js +78 -55
- package/dist/model/GraphObjectPayload.js +80 -39
- package/dist/model/GraphObjectSchema.js +97 -69
- package/dist/model/GraphObjectType.js +97 -73
- package/dist/model/GraphObjectTypeSchema.js +116 -73
- package/dist/model/GraphOwner.js +37 -24
- package/dist/model/GraphRelation.js +48 -39
- package/dist/model/GraphRelationObjectObject.js +48 -39
- package/dist/model/GraphRelationship.js +48 -40
- package/dist/model/GraphRelationshipPayload.js +38 -26
- package/dist/model/GraphRelationshipType.js +100 -73
- package/dist/model/GraphSchema.js +106 -86
- package/dist/model/GraphTraversalInput.js +99 -60
- package/dist/model/Image.js +81 -63
- package/dist/model/ImageUploadObject.js +91 -73
- package/dist/model/InputPart.js +52 -36
- package/dist/model/InputPartMediaType.js +43 -28
- package/dist/model/Link.js +73 -45
- package/dist/model/LiveStreamInfo.js +45 -24
- package/dist/model/MeetingEvent.js +109 -76
- package/dist/model/MeetingEventTimezone.js +42 -26
- package/dist/model/MeetingInfo.js +48 -29
- package/dist/model/Member.js +104 -64
- package/dist/model/MemberGroupCategory.js +44 -30
- package/dist/model/MemberList.js +35 -39
- package/dist/model/MessageGroup.js +38 -25
- package/dist/model/MultipartBody.js +36 -22
- package/dist/model/Objecttype.js +110 -70
- package/dist/model/Page.js +60 -47
- package/dist/model/PageSchema.js +80 -66
- package/dist/model/Pageable.js +41 -31
- package/dist/model/Path.js +36 -21
- package/dist/model/PaymentIntentInput.js +38 -26
- package/dist/model/PaymentIntentResponse.js +40 -22
- package/dist/model/PaymentMethod.js +52 -30
- package/dist/model/Post.js +60 -47
- package/dist/model/PrivateMessage.js +78 -62
- package/dist/model/PrivateMessageConversation.js +118 -81
- package/dist/model/PrivateMessageConversationSchema.js +75 -28
- package/dist/model/Profile.js +44 -28
- package/dist/model/Profiletype.js +63 -28
- package/dist/model/PropertyContainer.js +44 -31
- package/dist/model/PurgeDataDefaultResponseValue.js +133 -0
- package/dist/model/RelationshipMapping.js +71 -35
- package/dist/model/ScreenSchema.js +230 -89
- package/dist/model/SimulcastInfo.js +45 -24
- package/dist/model/SkinField.js +89 -104
- package/dist/model/SocialGroup.js +91 -69
- package/dist/model/SocialGroupType.js +61 -37
- package/dist/model/Sort.js +33 -24
- package/dist/model/StatusUpdate.js +53 -42
- package/dist/model/StreetAddress.js +55 -28
- package/dist/model/StripeAccount.js +43 -28
- package/dist/model/StripeCustomerAccount.js +43 -28
- package/dist/model/Template.js +49 -32
- package/dist/model/TemplateSchema.js +50 -35
- package/dist/model/ThemeMapping.js +50 -32
- package/dist/model/ThemeMappingPayload.js +45 -31
- package/dist/model/Transaction.js +40 -22
- package/dist/model/User.js +104 -64
- package/dist/model/UserDataPayload.js +104 -64
- package/dist/model/UserDomain.js +46 -26
- package/dist/model/UserInvite.js +66 -43
- package/dist/model/UserInviteInput.js +52 -30
- package/dist/model/UserSchema.js +104 -64
- package/dist/model/UserTag.js +51 -32
- package/dist/model/Video.js +107 -88
- package/dist/model/VideoLiveUrl.js +46 -28
- package/dist/model/VideoSchema.js +125 -101
- package/dist/model/VideoUploadObject.js +129 -83
- package/dist/model/ZeusPortalCategory.js +72 -45
- package/package.json +3 -3
- package/dist/model/Account.js +0 -315
- package/dist/model/AchCreditTransfer.js +0 -122
- package/dist/model/AchDebit.js +0 -140
- package/dist/model/AcssDebit.js +0 -106
- package/dist/model/AddInvoiceItem.js +0 -126
- package/dist/model/Address.js +0 -140
- package/dist/model/Affirm.js +0 -104
- package/dist/model/AfterpayClearpay.js +0 -113
- package/dist/model/Alipay.js +0 -95
- package/dist/model/AlternateStatementDescriptors.js +0 -104
- package/dist/model/Alternative.js +0 -104
- package/dist/model/AmexExpressCheckout.js +0 -86
- package/dist/model/AmountDetails.js +0 -97
- package/dist/model/ApplePay.js +0 -86
- package/dist/model/Application.js +0 -122
- package/dist/model/ApplicationFee.js +0 -267
- package/dist/model/AppliesTo.js +0 -95
- package/dist/model/AuBecsDebit.js +0 -95
- package/dist/model/AutomaticPaymentMethodsPaymentIntent.js +0 -95
- package/dist/model/AutomaticTax.js +0 -95
- package/dist/model/BacsDebit.js +0 -95
- package/dist/model/BacsDebitPayments.js +0 -95
- package/dist/model/BalanceSettings.js +0 -95
- package/dist/model/BalanceTransaction.js +0 -234
- package/dist/model/BalanceTransactionSource.js +0 -84
- package/dist/model/Bancontact.js +0 -180
- package/dist/model/BankTransfer.js +0 -106
- package/dist/model/BillingDetails.js +0 -124
- package/dist/model/BillingThresholds.js +0 -95
- package/dist/model/Blik.js +0 -86
- package/dist/model/BlikMandateOptions.js +0 -115
- package/dist/model/BlikMandateOptionsOffSessionDetails.js +0 -122
- package/dist/model/Boleto.js +0 -95
- package/dist/model/Breakdown.js +0 -108
- package/dist/model/BusinessProfile.js +0 -160
- package/dist/model/Capabilities.js +0 -383
- package/dist/model/Card.js +0 -247
- package/dist/model/CardPresent.js +0 -268
- package/dist/model/CashBalance.js +0 -135
- package/dist/model/Charge.js +0 -706
- package/dist/model/ChargeCollection.js +0 -146
- package/dist/model/Checks.js +0 -113
- package/dist/model/Company.js +0 -238
- package/dist/model/Computed.js +0 -108
- package/dist/model/Controller.js +0 -104
- package/dist/model/Coupon.js +0 -256
- package/dist/model/CreateAccountResponseFailureException.js +0 -117
- package/dist/model/CreateAccountResponseFailureExceptionCause.js +0 -106
- package/dist/model/CreateAccountResponseFailureExceptionCauseStackTrace.js +0 -138
- package/dist/model/CreateAccountResponseFailureExceptionCauseSuppressed.js +0 -95
- package/dist/model/CreditedItems.js +0 -104
- package/dist/model/CurrencyOption.js +0 -135
- package/dist/model/CurrentPhase.js +0 -104
- package/dist/model/CustomField.js +0 -104
- package/dist/model/CustomUnitAmount.js +0 -113
- package/dist/model/Customer.js +0 -400
- package/dist/model/CustomerAcceptance.js +0 -126
- package/dist/model/CustomerBalance.js +0 -86
- package/dist/model/CustomerNotification.js +0 -104
- package/dist/model/CustomerTaxId.js +0 -104
- package/dist/model/DateOfBirth.js +0 -113
- package/dist/model/DeclineChargeOn.js +0 -104
- package/dist/model/DefaultSettings.js +0 -177
- package/dist/model/Discount.js +0 -104
- package/dist/model/DiscountAmount.js +0 -115
- package/dist/model/Dispute.js +0 -260
- package/dist/model/EmailSent.js +0 -104
- package/dist/model/Eps.js +0 -104
- package/dist/model/Errors.js +0 -113
- package/dist/model/EuBankTransfer.js +0 -95
- package/dist/model/Evidence.js +0 -410
- package/dist/model/EvidenceDetails.js +0 -122
- package/dist/model/ExternalAccount.js +0 -84
- package/dist/model/ExternalAccountCollection.js +0 -146
- package/dist/model/Familymart.js +0 -104
- package/dist/model/Fee.js +0 -131
- package/dist/model/FeeRefund.js +0 -182
- package/dist/model/FeeRefundCollection.js +0 -146
- package/dist/model/FileAttachmentUpload.js +0 -88
- package/dist/model/FileLink.js +0 -178
- package/dist/model/FileLinkCollection.js +0 -146
- package/dist/model/FinancialAddress.js +0 -148
- package/dist/model/FinancialConnections.js +0 -95
- package/dist/model/Fpx.js +0 -113
- package/dist/model/FraudDetails.js +0 -104
- package/dist/model/FromQuote.js +0 -115
- package/dist/model/FutureRequirements.js +0 -144
- package/dist/model/GeneratedFrom.js +0 -126
- package/dist/model/Giropay.js +0 -122
- package/dist/model/GooglePay.js +0 -86
- package/dist/model/Grabpay.js +0 -95
- package/dist/model/GraphIteratorEntryPartStackTrace.js +0 -138
- package/dist/model/GraphObjectDescriptorSchema.js +0 -179
- package/dist/model/Iban.js +0 -122
- package/dist/model/Ideal.js +0 -162
- package/dist/model/ImageUpload.js +0 -88
- package/dist/model/InlineObject.js +0 -124
- package/dist/model/InlineObject1.js +0 -124
- package/dist/model/InlineObject2.js +0 -124
- package/dist/model/InlineObject3.js +0 -124
- package/dist/model/InlineObject4.js +0 -124
- package/dist/model/InlineObject5.js +0 -124
- package/dist/model/InlineResponseDefault.js +0 -124
- package/dist/model/Installments.js +0 -97
- package/dist/model/InteracPresent.js +0 -241
- package/dist/model/Invoice.js +0 -925
- package/dist/model/InvoiceLineItem.js +0 -329
- package/dist/model/InvoiceLineItemCollection.js +0 -146
- package/dist/model/InvoiceLineItemPeriod.js +0 -104
- package/dist/model/InvoiceSettings.js +0 -95
- package/dist/model/JapanAddress.js +0 -149
- package/dist/model/JsonArray.js +0 -252
- package/dist/model/JsonNull.js +0 -252
- package/dist/model/JsonObject.js +0 -252
- package/dist/model/JsonPrimitive.js +0 -288
- package/dist/model/Klarna.js +0 -104
- package/dist/model/Konbini.js +0 -97
- package/dist/model/Lawson.js +0 -104
- package/dist/model/Level3.js +0 -142
- package/dist/model/LineItem.js +0 -220
- package/dist/model/LineItemCollection.js +0 -146
- package/dist/model/Location.js +0 -113
- package/dist/model/Mandate.js +0 -195
- package/dist/model/MandateOptions.js +0 -95
- package/dist/model/Masterpass.js +0 -124
- package/dist/model/Ministop.js +0 -104
- package/dist/model/MultiUse.js +0 -86
- package/dist/model/Multibanco.js +0 -104
- package/dist/model/MultipartFormDataInput.js +0 -108
- package/dist/model/Networks.js +0 -104
- package/dist/model/NextAction.js +0 -249
- package/dist/model/NextActionAlipayHandleRedirect.js +0 -122
- package/dist/model/NextActionCardAwaitNotification.js +0 -104
- package/dist/model/NextActionDisplayBankTransferInstructions.js +0 -142
- package/dist/model/NextActionDisplayBoletoDetails.js +0 -122
- package/dist/model/NextActionDisplayDetails.js +0 -106
- package/dist/model/NextActionKonbiniDisplayDetails.js +0 -115
- package/dist/model/NextActionOxxoDisplayDetails.js +0 -113
- package/dist/model/NextActionRedirectToUrl.js +0 -104
- package/dist/model/Offline.js +0 -86
- package/dist/model/Online.js +0 -104
- package/dist/model/Outcome.js +0 -160
- package/dist/model/OwnershipDeclaration.js +0 -113
- package/dist/model/Oxxo.js +0 -95
- package/dist/model/P24.js +0 -113
- package/dist/model/PackageDimensions.js +0 -122
- package/dist/model/PauseCollection.js +0 -104
- package/dist/model/PaymentIntent.js +0 -534
- package/dist/model/PaymentMethodDetails.js +0 -480
- package/dist/model/PaymentMethodOptions.js +0 -152
- package/dist/model/PaymentSettings.js +0 -115
- package/dist/model/PaymentSource.js +0 -84
- package/dist/model/PaymentSourceCollection.js +0 -146
- package/dist/model/Paynow.js +0 -95
- package/dist/model/PaynowDisplayQrCode.js +0 -113
- package/dist/model/PayoutSchedule.js +0 -122
- package/dist/model/PendingInvoiceItemInterval.js +0 -104
- package/dist/model/PendingUpdate.js +0 -133
- package/dist/model/Person.js +0 -381
- package/dist/model/Phase.js +0 -286
- package/dist/model/PhaseItem.js +0 -157
- package/dist/model/Plan.js +0 -292
- package/dist/model/Price.js +0 -309
- package/dist/model/Processing.js +0 -106
- package/dist/model/Product.js +0 -310
- package/dist/model/PromotionCode.js +0 -220
- package/dist/model/Promptpay.js +0 -95
- package/dist/model/PromptpayDisplayQrCode.js +0 -122
- package/dist/model/ProrationDetails.js +0 -97
- package/dist/model/Quote.js +0 -520
- package/dist/model/RadarOptions.js +0 -95
- package/dist/model/Receipt.js +0 -167
- package/dist/model/Recurring.js +0 -133
- package/dist/model/Refund.js +0 -332
- package/dist/model/RefundCollection.js +0 -146
- package/dist/model/Relationship.js +0 -140
- package/dist/model/RenderingOptions.js +0 -95
- package/dist/model/RequestOptions.js +0 -167
- package/dist/model/RequestOptionsProxyCredential.js +0 -84
- package/dist/model/Requirements.js +0 -162
- package/dist/model/Restrictions.js +0 -126
- package/dist/model/Review.js +0 -238
- package/dist/model/Rule.js +0 -113
- package/dist/model/SamsungPay.js +0 -86
- package/dist/model/Seicomart.js +0 -104
- package/dist/model/SepaCreditTransfer.js +0 -113
- package/dist/model/SepaDebit.js +0 -142
- package/dist/model/SepaDebitMandateOptions.js +0 -86
- package/dist/model/SepaDebitPayments.js +0 -95
- package/dist/model/Session.js +0 -122
- package/dist/model/Settings.js +0 -185
- package/dist/model/SettingsBranding.js +0 -140
- package/dist/model/SettingsCardIssuing.js +0 -97
- package/dist/model/SettingsCardPayments.js +0 -124
- package/dist/model/SettingsDashboard.js +0 -104
- package/dist/model/SettingsPayments.js +0 -131
- package/dist/model/SettingsPayouts.js +0 -115
- package/dist/model/SettingsTreasury.js +0 -97
- package/dist/model/SetupAttempt.js +0 -280
- package/dist/model/SetupIntent.js +0 -376
- package/dist/model/ShippingDetails.js +0 -133
- package/dist/model/SingleUse.js +0 -104
- package/dist/model/Sofort.js +0 -189
- package/dist/model/SortCode.js +0 -113
- package/dist/model/Spei.js +0 -113
- package/dist/model/StatusTransitions.js +0 -113
- package/dist/model/Store.js +0 -95
- package/dist/model/Stores.js +0 -130
- package/dist/model/StripeError.js +0 -202
- package/dist/model/Subscription.js +0 -556
- package/dist/model/SubscriptionCollection.js +0 -146
- package/dist/model/SubscriptionData.js +0 -104
- package/dist/model/SubscriptionItem.js +0 -195
- package/dist/model/SubscriptionItemCollection.js +0 -146
- package/dist/model/SubscriptionSchedule.js +0 -300
- package/dist/model/Tax.js +0 -115
- package/dist/model/TaxAmount.js +0 -124
- package/dist/model/TaxCode.js +0 -122
- package/dist/model/TaxId.js +0 -189
- package/dist/model/TaxIdCollection.js +0 -146
- package/dist/model/TaxRate.js +0 -214
- package/dist/model/TestClock.js +0 -167
- package/dist/model/ThreeDSecure.js +0 -122
- package/dist/model/ThreeDSecureUsage.js +0 -95
- package/dist/model/ThresholdItemReason.js +0 -104
- package/dist/model/ThresholdReason.js +0 -106
- package/dist/model/Tier.js +0 -131
- package/dist/model/Tip.js +0 -95
- package/dist/model/TosAcceptance.js +0 -122
- package/dist/model/TotalDetails.js +0 -124
- package/dist/model/Transfer.js +0 -285
- package/dist/model/TransferData.js +0 -124
- package/dist/model/TransferReversal.js +0 -220
- package/dist/model/TransferReversalCollection.js +0 -146
- package/dist/model/TransformQuantity.js +0 -104
- package/dist/model/TransformUsage.js +0 -104
- package/dist/model/TraversalQuery.js +0 -209
- package/dist/model/TraversalQueryStartobjecttypes.js +0 -179
- package/dist/model/USBankAccount.js +0 -140
- package/dist/model/Upfront.js +0 -126
- package/dist/model/Verification.js +0 -113
- package/dist/model/VerificationDocument.js +0 -140
- package/dist/model/VerifyWithMicrodeposits.js +0 -113
- package/dist/model/VideoUpload.js +0 -88
- package/dist/model/VisaCheckout.js +0 -124
- package/dist/model/Wallet.js +0 -170
- package/dist/model/Wechat.js +0 -86
- package/dist/model/WechatPay.js +0 -104
- package/dist/model/WechatPayDisplayQrCode.js +0 -122
- package/dist/model/WechatPayRedirectToAndroidApp.js +0 -158
- package/dist/model/WechatPayRedirectToIosApp.js +0 -95
- package/dist/model/Zengin.js +0 -149
|
@@ -4,25 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
8
|
var _GraphAction = _interopRequireDefault(require("../model/GraphAction"));
|
|
11
|
-
|
|
12
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
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); }
|
|
14
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
12
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
16
|
+
* Gobodo API
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.6
|
|
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
|
+
*/
|
|
20
27
|
/**
|
|
21
28
|
* ActionTypes service.
|
|
22
29
|
* @module api/ActionTypesApi
|
|
23
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.6
|
|
24
31
|
*/
|
|
25
|
-
var ActionTypesApi = /*#__PURE__*/function () {
|
|
32
|
+
var ActionTypesApi = exports["default"] = /*#__PURE__*/function () {
|
|
26
33
|
/**
|
|
27
34
|
* Constructs a new ActionTypesApi.
|
|
28
35
|
* @alias module:api/ActionTypesApi
|
|
@@ -32,9 +39,9 @@ var ActionTypesApi = /*#__PURE__*/function () {
|
|
|
32
39
|
*/
|
|
33
40
|
function ActionTypesApi(apiClient) {
|
|
34
41
|
_classCallCheck(this, ActionTypesApi);
|
|
35
|
-
|
|
36
42
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
37
43
|
}
|
|
44
|
+
|
|
38
45
|
/**
|
|
39
46
|
* Callback function to receive the result of the getActionsByType operation.
|
|
40
47
|
* @callback module:api/ActionTypesApi~getActionsByTypeCallback
|
|
@@ -49,29 +56,25 @@ var ActionTypesApi = /*#__PURE__*/function () {
|
|
|
49
56
|
* @param {Number} id
|
|
50
57
|
* @param {Number} actiontypeid
|
|
51
58
|
* @param {Object} opts Optional parameters
|
|
52
|
-
* @param {String}
|
|
53
|
-
* @param {Number}
|
|
54
|
-
* @param {String}
|
|
59
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
60
|
+
* @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
|
|
61
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
55
62
|
* @param {module:api/ActionTypesApi~getActionsByTypeCallback} callback The callback function, accepting three arguments: error, data, response
|
|
56
63
|
* data is of type: {@link Array.<module:model/GraphAction>}
|
|
57
64
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
65
|
_createClass(ActionTypesApi, [{
|
|
61
66
|
key: "getActionsByType",
|
|
62
67
|
value: function getActionsByType(id, actiontypeid, opts, callback) {
|
|
63
68
|
opts = opts || {};
|
|
64
|
-
var postBody = null;
|
|
65
|
-
|
|
69
|
+
var postBody = null;
|
|
70
|
+
// verify the required parameter 'id' is set
|
|
66
71
|
if (id === undefined || id === null) {
|
|
67
72
|
throw new Error("Missing the required parameter 'id' when calling getActionsByType");
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
73
|
+
}
|
|
74
|
+
// verify the required parameter 'actiontypeid' is set
|
|
71
75
|
if (actiontypeid === undefined || actiontypeid === null) {
|
|
72
76
|
throw new Error("Missing the required parameter 'actiontypeid' when calling getActionsByType");
|
|
73
77
|
}
|
|
74
|
-
|
|
75
78
|
var pathParams = {
|
|
76
79
|
'id': id,
|
|
77
80
|
'actiontypeid': actiontypeid
|
|
@@ -90,8 +93,5 @@ var ActionTypesApi = /*#__PURE__*/function () {
|
|
|
90
93
|
return this.apiClient.callApi('/graph/data/object/{id}/actions/{actiontypeid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
91
94
|
}
|
|
92
95
|
}]);
|
|
93
|
-
|
|
94
96
|
return ActionTypesApi;
|
|
95
|
-
}();
|
|
96
|
-
|
|
97
|
-
exports["default"] = ActionTypesApi;
|
|
97
|
+
}();
|
|
@@ -4,27 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
9
|
-
|
|
10
|
-
var _InlineObject = _interopRequireDefault(require("../model/InlineObject2"));
|
|
11
|
-
|
|
12
|
-
var _InlineObject2 = _interopRequireDefault(require("../model/InlineObject3"));
|
|
13
|
-
|
|
8
|
+
var _PurgeDataDefaultResponseValue = _interopRequireDefault(require("../model/PurgeDataDefaultResponseValue"));
|
|
14
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
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); }
|
|
16
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
12
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
13
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
|
|
16
|
+
* Gobodo API
|
|
17
|
+
* REST Interface for Gobodo API
|
|
18
|
+
*
|
|
19
|
+
* The version of the OpenAPI document: 0.1.6
|
|
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
|
+
*/
|
|
22
27
|
/**
|
|
23
28
|
* AdCampaigns service.
|
|
24
29
|
* @module api/AdCampaignsApi
|
|
25
|
-
* @version 0.1.
|
|
30
|
+
* @version 0.1.6
|
|
26
31
|
*/
|
|
27
|
-
var AdCampaignsApi = /*#__PURE__*/function () {
|
|
32
|
+
var AdCampaignsApi = exports["default"] = /*#__PURE__*/function () {
|
|
28
33
|
/**
|
|
29
34
|
* Constructs a new AdCampaignsApi.
|
|
30
35
|
* @alias module:api/AdCampaignsApi
|
|
@@ -34,14 +39,14 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
34
39
|
*/
|
|
35
40
|
function AdCampaignsApi(apiClient) {
|
|
36
41
|
_classCallCheck(this, AdCampaignsApi);
|
|
37
|
-
|
|
38
42
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
39
43
|
}
|
|
44
|
+
|
|
40
45
|
/**
|
|
41
46
|
* Callback function to receive the result of the createAdCampaign operation.
|
|
42
47
|
* @callback module:api/AdCampaignsApi~createAdCampaignCallback
|
|
43
48
|
* @param {String} error Error message, if any.
|
|
44
|
-
* @param {module:model/
|
|
49
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
45
50
|
* @param {String} response The complete HTTP response.
|
|
46
51
|
*/
|
|
47
52
|
|
|
@@ -49,20 +54,18 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
49
54
|
* Create Ad Campaign
|
|
50
55
|
* Creates a new ad campaign
|
|
51
56
|
* @param {Object} opts Optional parameters
|
|
52
|
-
* @param {String}
|
|
53
|
-
* @param {Number}
|
|
54
|
-
* @param {String}
|
|
55
|
-
* @param {module:model/
|
|
57
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
58
|
+
* @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
|
|
59
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
60
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
56
61
|
* @param {module:api/AdCampaignsApi~createAdCampaignCallback} callback The callback function, accepting three arguments: error, data, response
|
|
57
|
-
* data is of type: {@link module:model/
|
|
62
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
58
63
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
61
64
|
_createClass(AdCampaignsApi, [{
|
|
62
65
|
key: "createAdCampaign",
|
|
63
66
|
value: function createAdCampaign(opts, callback) {
|
|
64
67
|
opts = opts || {};
|
|
65
|
-
var postBody = opts['
|
|
68
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
66
69
|
var pathParams = {};
|
|
67
70
|
var queryParams = {};
|
|
68
71
|
var headerParams = {
|
|
@@ -74,9 +77,10 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
74
77
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
75
78
|
var contentTypes = [];
|
|
76
79
|
var accepts = ['*/*'];
|
|
77
|
-
var returnType =
|
|
80
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
78
81
|
return this.apiClient.callApi('/graph/data/ads/campaigns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
79
82
|
}
|
|
83
|
+
|
|
80
84
|
/**
|
|
81
85
|
* Callback function to receive the result of the deleteObject operation.
|
|
82
86
|
* @callback module:api/AdCampaignsApi~deleteObjectCallback
|
|
@@ -89,22 +93,20 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
89
93
|
* Delete's the object with the id
|
|
90
94
|
* @param {Number} id The id of the object to delete
|
|
91
95
|
* @param {Object} opts Optional parameters
|
|
92
|
-
* @param {String}
|
|
93
|
-
* @param {Number}
|
|
94
|
-
* @param {String}
|
|
96
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
97
|
+
* @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
|
|
98
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
95
99
|
* @param {module:api/AdCampaignsApi~deleteObjectCallback} callback The callback function, accepting three arguments: error, data, response
|
|
96
100
|
*/
|
|
97
|
-
|
|
98
101
|
}, {
|
|
99
102
|
key: "deleteObject",
|
|
100
103
|
value: function deleteObject(id, opts, callback) {
|
|
101
104
|
opts = opts || {};
|
|
102
|
-
var postBody = null;
|
|
103
|
-
|
|
105
|
+
var postBody = null;
|
|
106
|
+
// verify the required parameter 'id' is set
|
|
104
107
|
if (id === undefined || id === null) {
|
|
105
108
|
throw new Error("Missing the required parameter 'id' when calling deleteObject");
|
|
106
109
|
}
|
|
107
|
-
|
|
108
110
|
var pathParams = {
|
|
109
111
|
'id': id
|
|
110
112
|
};
|
|
@@ -121,6 +123,7 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
121
123
|
var returnType = null;
|
|
122
124
|
return this.apiClient.callApi('/graph/data/object/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
123
125
|
}
|
|
126
|
+
|
|
124
127
|
/**
|
|
125
128
|
* Callback function to receive the result of the get17 operation.
|
|
126
129
|
* @callback module:api/AdCampaignsApi~get17Callback
|
|
@@ -132,12 +135,11 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
132
135
|
/**
|
|
133
136
|
* Root for the API
|
|
134
137
|
* @param {Object} opts Optional parameters
|
|
135
|
-
* @param {String}
|
|
136
|
-
* @param {Number}
|
|
137
|
-
* @param {String}
|
|
138
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
139
|
+
* @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
|
|
140
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
138
141
|
* @param {module:api/AdCampaignsApi~get17Callback} callback The callback function, accepting three arguments: error, data, response
|
|
139
142
|
*/
|
|
140
|
-
|
|
141
143
|
}, {
|
|
142
144
|
key: "get17",
|
|
143
145
|
value: function get17(opts, callback) {
|
|
@@ -157,11 +159,12 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
157
159
|
var returnType = null;
|
|
158
160
|
return this.apiClient.callApi('/graph/data/ads/campaigns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
159
161
|
}
|
|
162
|
+
|
|
160
163
|
/**
|
|
161
164
|
* Callback function to receive the result of the get18 operation.
|
|
162
165
|
* @callback module:api/AdCampaignsApi~get18Callback
|
|
163
166
|
* @param {String} error Error message, if any.
|
|
164
|
-
* @param {Object.<String, module:model/{String:
|
|
167
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
165
168
|
* @param {String} response The complete HTTP response.
|
|
166
169
|
*/
|
|
167
170
|
|
|
@@ -169,23 +172,21 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
169
172
|
* Gets and object by id
|
|
170
173
|
* @param {Number} id
|
|
171
174
|
* @param {Object} opts Optional parameters
|
|
172
|
-
* @param {String}
|
|
173
|
-
* @param {Number}
|
|
174
|
-
* @param {String}
|
|
175
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
176
|
+
* @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
|
|
177
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
175
178
|
* @param {module:api/AdCampaignsApi~get18Callback} callback The callback function, accepting three arguments: error, data, response
|
|
176
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
179
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
177
180
|
*/
|
|
178
|
-
|
|
179
181
|
}, {
|
|
180
182
|
key: "get18",
|
|
181
183
|
value: function get18(id, opts, callback) {
|
|
182
184
|
opts = opts || {};
|
|
183
|
-
var postBody = null;
|
|
184
|
-
|
|
185
|
+
var postBody = null;
|
|
186
|
+
// verify the required parameter 'id' is set
|
|
185
187
|
if (id === undefined || id === null) {
|
|
186
188
|
throw new Error("Missing the required parameter 'id' when calling get18");
|
|
187
189
|
}
|
|
188
|
-
|
|
189
190
|
var pathParams = {
|
|
190
191
|
'id': id
|
|
191
192
|
};
|
|
@@ -200,38 +201,37 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
200
201
|
var contentTypes = [];
|
|
201
202
|
var accepts = ['application/json'];
|
|
202
203
|
var returnType = {
|
|
203
|
-
'String':
|
|
204
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
204
205
|
};
|
|
205
206
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
206
207
|
}
|
|
208
|
+
|
|
207
209
|
/**
|
|
208
210
|
* Callback function to receive the result of the getFromCat operation.
|
|
209
211
|
* @callback module:api/AdCampaignsApi~getFromCatCallback
|
|
210
212
|
* @param {String} error Error message, if any.
|
|
211
|
-
* @param {Object.<String, module:model/{String:
|
|
213
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} data The data returned by the service call.
|
|
212
214
|
* @param {String} response The complete HTTP response.
|
|
213
215
|
*/
|
|
214
216
|
|
|
215
217
|
/**
|
|
216
218
|
* @param {Number} id
|
|
217
219
|
* @param {Object} opts Optional parameters
|
|
218
|
-
* @param {String}
|
|
219
|
-
* @param {Number}
|
|
220
|
-
* @param {String}
|
|
220
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
221
|
+
* @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
|
|
222
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
221
223
|
* @param {module:api/AdCampaignsApi~getFromCatCallback} callback The callback function, accepting three arguments: error, data, response
|
|
222
|
-
* data is of type: {@link Object.<String, module:model/{String:
|
|
224
|
+
* data is of type: {@link Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>}
|
|
223
225
|
*/
|
|
224
|
-
|
|
225
226
|
}, {
|
|
226
227
|
key: "getFromCat",
|
|
227
228
|
value: function getFromCat(id, opts, callback) {
|
|
228
229
|
opts = opts || {};
|
|
229
|
-
var postBody = null;
|
|
230
|
-
|
|
230
|
+
var postBody = null;
|
|
231
|
+
// verify the required parameter 'id' is set
|
|
231
232
|
if (id === undefined || id === null) {
|
|
232
233
|
throw new Error("Missing the required parameter 'id' when calling getFromCat");
|
|
233
234
|
}
|
|
234
|
-
|
|
235
235
|
var pathParams = {
|
|
236
236
|
'id': id
|
|
237
237
|
};
|
|
@@ -246,39 +246,38 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
246
246
|
var contentTypes = [];
|
|
247
247
|
var accepts = ['*/*'];
|
|
248
248
|
var returnType = {
|
|
249
|
-
'String':
|
|
249
|
+
'String': _PurgeDataDefaultResponseValue["default"]
|
|
250
250
|
};
|
|
251
251
|
return this.apiClient.callApi('/graph/data/ads/campaigns/nextfromcategory/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
252
252
|
}
|
|
253
|
+
|
|
253
254
|
/**
|
|
254
255
|
* Callback function to receive the result of the update operation.
|
|
255
256
|
* @callback module:api/AdCampaignsApi~updateCallback
|
|
256
257
|
* @param {String} error Error message, if any.
|
|
257
|
-
* @param {module:model/
|
|
258
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
258
259
|
* @param {String} response The complete HTTP response.
|
|
259
260
|
*/
|
|
260
261
|
|
|
261
262
|
/**
|
|
262
263
|
* @param {Number} id
|
|
263
264
|
* @param {Object} opts Optional parameters
|
|
264
|
-
* @param {String}
|
|
265
|
-
* @param {Number}
|
|
266
|
-
* @param {String}
|
|
267
|
-
* @param {Object.<String, {String:
|
|
265
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
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 {String} [transactionid] The id of the transaction this operation is being run in
|
|
268
|
+
* @param {Object.<String, module:model/{String: PurgeDataDefaultResponseValue}>} [requestBody]
|
|
268
269
|
* @param {module:api/AdCampaignsApi~updateCallback} callback The callback function, accepting three arguments: error, data, response
|
|
269
|
-
* data is of type: {@link module:model/
|
|
270
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
270
271
|
*/
|
|
271
|
-
|
|
272
272
|
}, {
|
|
273
273
|
key: "update",
|
|
274
274
|
value: function update(id, opts, callback) {
|
|
275
275
|
opts = opts || {};
|
|
276
|
-
var postBody = opts['requestBody'];
|
|
277
|
-
|
|
276
|
+
var postBody = opts['requestBody'];
|
|
277
|
+
// verify the required parameter 'id' is set
|
|
278
278
|
if (id === undefined || id === null) {
|
|
279
279
|
throw new Error("Missing the required parameter 'id' when calling update");
|
|
280
280
|
}
|
|
281
|
-
|
|
282
281
|
var pathParams = {
|
|
283
282
|
'id': id
|
|
284
283
|
};
|
|
@@ -292,38 +291,37 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
292
291
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
293
292
|
var contentTypes = [];
|
|
294
293
|
var accepts = ['*/*'];
|
|
295
|
-
var returnType =
|
|
294
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
296
295
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
297
296
|
}
|
|
297
|
+
|
|
298
298
|
/**
|
|
299
299
|
* Callback function to receive the result of the updateAds operation.
|
|
300
300
|
* @callback module:api/AdCampaignsApi~updateAdsCallback
|
|
301
301
|
* @param {String} error Error message, if any.
|
|
302
|
-
* @param {module:model/
|
|
302
|
+
* @param {module:model/PurgeDataDefaultResponseValue} data The data returned by the service call.
|
|
303
303
|
* @param {String} response The complete HTTP response.
|
|
304
304
|
*/
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* @param {Number} id
|
|
308
308
|
* @param {Object} opts Optional parameters
|
|
309
|
-
* @param {String}
|
|
310
|
-
* @param {Number}
|
|
311
|
-
* @param {String}
|
|
312
|
-
* @param {module:model/
|
|
309
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
310
|
+
* @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
|
|
311
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
312
|
+
* @param {module:model/PurgeDataDefaultResponseValue} [purgeDataDefaultResponseValue]
|
|
313
313
|
* @param {module:api/AdCampaignsApi~updateAdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
314
|
-
* data is of type: {@link module:model/
|
|
314
|
+
* data is of type: {@link module:model/PurgeDataDefaultResponseValue}
|
|
315
315
|
*/
|
|
316
|
-
|
|
317
316
|
}, {
|
|
318
317
|
key: "updateAds",
|
|
319
318
|
value: function updateAds(id, opts, callback) {
|
|
320
319
|
opts = opts || {};
|
|
321
|
-
var postBody = opts['
|
|
322
|
-
|
|
320
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
321
|
+
// verify the required parameter 'id' is set
|
|
323
322
|
if (id === undefined || id === null) {
|
|
324
323
|
throw new Error("Missing the required parameter 'id' when calling updateAds");
|
|
325
324
|
}
|
|
326
|
-
|
|
327
325
|
var pathParams = {
|
|
328
326
|
'id': id
|
|
329
327
|
};
|
|
@@ -337,9 +335,10 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
337
335
|
var authNames = ['NexusGraphAPIAuth', 'NexusGraphAPIKey'];
|
|
338
336
|
var contentTypes = [];
|
|
339
337
|
var accepts = ['*/*'];
|
|
340
|
-
var returnType =
|
|
338
|
+
var returnType = _PurgeDataDefaultResponseValue["default"];
|
|
341
339
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}/ads', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
342
340
|
}
|
|
341
|
+
|
|
343
342
|
/**
|
|
344
343
|
* Callback function to receive the result of the updateSites operation.
|
|
345
344
|
* @callback module:api/AdCampaignsApi~updateSitesCallback
|
|
@@ -351,23 +350,21 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
351
350
|
/**
|
|
352
351
|
* @param {Number} id
|
|
353
352
|
* @param {Object} opts Optional parameters
|
|
354
|
-
* @param {String}
|
|
355
|
-
* @param {Number}
|
|
356
|
-
* @param {String}
|
|
357
|
-
* @param {Array.<module:model/
|
|
353
|
+
* @param {String} [authorization] The authorization token of the logged in user
|
|
354
|
+
* @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
|
|
355
|
+
* @param {String} [transactionid] The id of the transaction this operation is being run in
|
|
356
|
+
* @param {Array.<module:model/PurgeDataDefaultResponseValue>} [purgeDataDefaultResponseValue]
|
|
358
357
|
* @param {module:api/AdCampaignsApi~updateSitesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
359
358
|
*/
|
|
360
|
-
|
|
361
359
|
}, {
|
|
362
360
|
key: "updateSites",
|
|
363
361
|
value: function updateSites(id, opts, callback) {
|
|
364
362
|
opts = opts || {};
|
|
365
|
-
var postBody = opts['
|
|
366
|
-
|
|
363
|
+
var postBody = opts['purgeDataDefaultResponseValue'];
|
|
364
|
+
// verify the required parameter 'id' is set
|
|
367
365
|
if (id === undefined || id === null) {
|
|
368
366
|
throw new Error("Missing the required parameter 'id' when calling updateSites");
|
|
369
367
|
}
|
|
370
|
-
|
|
371
368
|
var pathParams = {
|
|
372
369
|
'id': id
|
|
373
370
|
};
|
|
@@ -385,8 +382,5 @@ var AdCampaignsApi = /*#__PURE__*/function () {
|
|
|
385
382
|
return this.apiClient.callApi('/graph/data/ads/campaigns/{id}/sites', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
386
383
|
}
|
|
387
384
|
}]);
|
|
388
|
-
|
|
389
385
|
return AdCampaignsApi;
|
|
390
|
-
}();
|
|
391
|
-
|
|
392
|
-
exports["default"] = AdCampaignsApi;
|
|
386
|
+
}();
|