@connectedxm/admin-sdk 16.14.0 → 16.15.0
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/.openapi-generator/FILES +2 -0
- package/AdminApi.ts +6 -0
- package/README.md +2 -2
- package/api.ts +1053 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +3 -1
- package/dist/AdminApi.js +2 -0
- package/dist/api.d.ts +544 -9
- package/dist/api.js +823 -24
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +3 -1
- package/dist/esm/AdminApi.js +3 -1
- package/dist/esm/api.d.ts +544 -9
- package/dist/esm/api.js +800 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/ChannelsInterestsApi.md +364 -0
- package/docs/EventsInterestsApi.md +181 -0
- package/docs/GroupsInterestsApi.md +2 -2
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 16.
|
|
8
|
+
* The version of the OpenAPI document: 16.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,21 +38,21 @@ exports.UpdateOrganizationDomain200ResponseStatusEnum = exports.UpdateEventSessi
|
|
|
38
38
|
exports.AccountsMergesApiAxiosParamCreator = exports.AccountsLeadsApi = exports.AccountsLeadsApiFactory = exports.AccountsLeadsApiFp = exports.AccountsLeadsApiAxiosParamCreator = exports.AccountsInvitationsApi = exports.AccountsInvitationsApiFactory = exports.AccountsInvitationsApiFp = exports.AccountsInvitationsApiAxiosParamCreator = exports.AccountsInterestsApi = exports.AccountsInterestsApiFactory = exports.AccountsInterestsApiFp = exports.AccountsInterestsApiAxiosParamCreator = exports.AccountsGroupsApi = exports.AccountsGroupsApiFactory = exports.AccountsGroupsApiFp = exports.AccountsGroupsApiAxiosParamCreator = exports.AccountsFollowingApi = exports.AccountsFollowingApiFactory = exports.AccountsFollowingApiFp = exports.AccountsFollowingApiAxiosParamCreator = exports.AccountsFollowersApi = exports.AccountsFollowersApiFactory = exports.AccountsFollowersApiFp = exports.AccountsFollowersApiAxiosParamCreator = exports.AccountsAddressesApi = exports.AccountsAddressesApiFactory = exports.AccountsAddressesApiFp = exports.AccountsAddressesApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.WidgetType = exports.WidgetCategory = exports.WebhookStatus = exports.VideoStatus = exports.VideoSource = exports.VideoCaptionStatusEnum = exports.UserRole = exports.UserApiKeyScope = exports.UpsertLinkPreview200ResponseStatusEnum = exports.UpsertCustomReportSchedule200ResponseStatusEnum = exports.UploadVideoCaptions200ResponseStatusEnum = exports.UploadFileRequestSourceEnum = exports.UploadFile200ResponseStatusEnum = exports.UpdateThreadAccount200ResponseStatusEnum = exports.UpdateSeriesQuestionTranslation200ResponseStatusEnum = exports.UpdateSelf200ResponseStatusEnum = exports.UpdatePlaceMembershipTypeTranslation200ResponseStatusEnum = void 0;
|
|
39
39
|
exports.AuthSessionsApiAxiosParamCreator = exports.GetAPILogsStatusEnum = exports.ApiLogsApi = exports.ApiLogsApiFactory = exports.ApiLogsApiFp = exports.ApiLogsApiAxiosParamCreator = exports.AnnouncementsTranslationsApi = exports.AnnouncementsTranslationsApiFactory = exports.AnnouncementsTranslationsApiFp = exports.AnnouncementsTranslationsApiAxiosParamCreator = exports.AnnouncementsTemplatesTranslationsApi = exports.AnnouncementsTemplatesTranslationsApiFactory = exports.AnnouncementsTemplatesTranslationsApiFp = exports.AnnouncementsTemplatesTranslationsApiAxiosParamCreator = exports.AnnouncementsTemplatesApi = exports.AnnouncementsTemplatesApiFactory = exports.AnnouncementsTemplatesApiFp = exports.AnnouncementsTemplatesApiAxiosParamCreator = exports.AnnouncementsScheduleApi = exports.AnnouncementsScheduleApiFactory = exports.AnnouncementsScheduleApiFp = exports.AnnouncementsScheduleApiAxiosParamCreator = exports.AnnouncementsAudiencesApi = exports.AnnouncementsAudiencesApiFactory = exports.AnnouncementsAudiencesApiFp = exports.AnnouncementsAudiencesApiAxiosParamCreator = exports.AnnouncementsApi = exports.AnnouncementsApiFactory = exports.AnnouncementsApiFp = exports.AnnouncementsApiAxiosParamCreator = exports.AdvertisementsApi = exports.AdvertisementsApiFactory = exports.AdvertisementsApiFp = exports.AdvertisementsApiAxiosParamCreator = exports.ActivitiesScheduleApi = exports.ActivitiesScheduleApiFactory = exports.ActivitiesScheduleApiFp = exports.ActivitiesScheduleApiAxiosParamCreator = exports.ActivitiesApi = exports.ActivitiesApiFactory = exports.ActivitiesApiFp = exports.ActivitiesApiAxiosParamCreator = exports.GetAccountTiersTypeEnum = exports.AccountsTiersApi = exports.AccountsTiersApiFactory = exports.AccountsTiersApiFp = exports.AccountsTiersApiAxiosParamCreator = exports.AccountsMergesApi = exports.AccountsMergesApiFactory = exports.AccountsMergesApiFp = void 0;
|
|
40
40
|
exports.BookingsQuestionsChoicesTranslationsApiFactory = exports.BookingsQuestionsChoicesTranslationsApiFp = exports.BookingsQuestionsChoicesTranslationsApiAxiosParamCreator = exports.BookingsQuestionsChoicesApi = exports.BookingsQuestionsChoicesApiFactory = exports.BookingsQuestionsChoicesApiFp = exports.BookingsQuestionsChoicesApiAxiosParamCreator = exports.BookingsQuestionsApi = exports.BookingsQuestionsApiFactory = exports.BookingsQuestionsApiFp = exports.BookingsQuestionsApiAxiosParamCreator = exports.BookingsPlacesTranslationsApi = exports.BookingsPlacesTranslationsApiFactory = exports.BookingsPlacesTranslationsApiFp = exports.BookingsPlacesTranslationsApiAxiosParamCreator = exports.BookingsPlacesApi = exports.BookingsPlacesApiFactory = exports.BookingsPlacesApiFp = exports.BookingsPlacesApiAxiosParamCreator = exports.BookingsMembershipsTranslationsApi = exports.BookingsMembershipsTranslationsApiFactory = exports.BookingsMembershipsTranslationsApiFp = exports.BookingsMembershipsTranslationsApiAxiosParamCreator = exports.BookingsMembershipsApi = exports.BookingsMembershipsApiFactory = exports.BookingsMembershipsApiFp = exports.BookingsMembershipsApiAxiosParamCreator = exports.BookingsBlackoutsApi = exports.BookingsBlackoutsApiFactory = exports.BookingsBlackoutsApiFp = exports.BookingsBlackoutsApiAxiosParamCreator = exports.BookingsAvailabilitiesApi = exports.BookingsAvailabilitiesApiFactory = exports.BookingsAvailabilitiesApiFp = exports.BookingsAvailabilitiesApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.BenefitsTranslationsApi = exports.BenefitsTranslationsApiFactory = exports.BenefitsTranslationsApiFp = exports.BenefitsTranslationsApiAxiosParamCreator = exports.BenefitsApi = exports.BenefitsApiFactory = exports.BenefitsApiFp = exports.BenefitsApiAxiosParamCreator = exports.AuthSessionsApi = exports.AuthSessionsApiFactory = exports.AuthSessionsApiFp = void 0;
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsStorageApi = exports.ThreadsStorageApiFactory = exports.ThreadsStorageApiFp = exports.ThreadsStorageApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = void 0;
|
|
41
|
+
exports.EventsAccessApi = exports.EventsAccessApiFactory = exports.EventsAccessApiFp = exports.EventsAccessApiAxiosParamCreator = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.EmailReceiptsApi = exports.EmailReceiptsApiFactory = exports.EmailReceiptsApiFp = exports.EmailReceiptsApiAxiosParamCreator = exports.DashboardsWidgetsApi = exports.DashboardsWidgetsApiFactory = exports.DashboardsWidgetsApiFp = exports.DashboardsWidgetsApiAxiosParamCreator = exports.DashboardsApi = exports.DashboardsApiFactory = exports.DashboardsApiFp = exports.DashboardsApiAxiosParamCreator = exports.ChannelsTranslationsApi = exports.ChannelsTranslationsApiFactory = exports.ChannelsTranslationsApiFp = exports.ChannelsTranslationsApiAxiosParamCreator = exports.ChannelsInterestsApi = exports.ChannelsInterestsApiFactory = exports.ChannelsInterestsApiFp = exports.ChannelsInterestsApiAxiosParamCreator = exports.GetContentsTypeEnum = exports.ChannelsApi = exports.ChannelsApiFactory = exports.ChannelsApiFp = exports.ChannelsApiAxiosParamCreator = exports.BookingsSpacesTranslationsApi = exports.BookingsSpacesTranslationsApiFactory = exports.BookingsSpacesTranslationsApiFp = exports.BookingsSpacesTranslationsApiAxiosParamCreator = exports.BookingsSpacesApi = exports.BookingsSpacesApiFactory = exports.BookingsSpacesApiFp = exports.BookingsSpacesApiAxiosParamCreator = exports.BookingsResponsesApi = exports.BookingsResponsesApiFactory = exports.BookingsResponsesApiFp = exports.BookingsResponsesApiAxiosParamCreator = exports.BookingsQuestionsTranslationsApi = exports.BookingsQuestionsTranslationsApiFactory = exports.BookingsQuestionsTranslationsApiFp = exports.BookingsQuestionsTranslationsApiAxiosParamCreator = exports.BookingsQuestionsChoicesTranslationsApi = void 0;
|
|
42
|
+
exports.EventsEmailsTranslationsApiFp = exports.EventsEmailsTranslationsApiAxiosParamCreator = exports.EventsEmailsApi = exports.EventsEmailsApiFactory = exports.EventsEmailsApiFp = exports.EventsEmailsApiAxiosParamCreator = exports.EventsCouponsApi = exports.EventsCouponsApiFactory = exports.EventsCouponsApiFp = exports.EventsCouponsApiAxiosParamCreator = exports.EventsCohostsApi = exports.EventsCohostsApiFactory = exports.EventsCohostsApiFp = exports.EventsCohostsApiAxiosParamCreator = exports.EventsBypassApi = exports.EventsBypassApiFactory = exports.EventsBypassApiFp = exports.EventsBypassApiAxiosParamCreator = exports.EventsBlocksApi = exports.EventsBlocksApiFactory = exports.EventsBlocksApiFp = exports.EventsBlocksApiAxiosParamCreator = exports.EventsBenefitsApi = exports.EventsBenefitsApiFactory = exports.EventsBenefitsApiFp = exports.EventsBenefitsApiAxiosParamCreator = exports.EventsAttributesApi = exports.EventsAttributesApiFactory = exports.EventsAttributesApiFp = exports.EventsAttributesApiAxiosParamCreator = exports.EventsAddonsTranslationsApi = exports.EventsAddonsTranslationsApiFactory = exports.EventsAddonsTranslationsApiFp = exports.EventsAddonsTranslationsApiAxiosParamCreator = exports.EventsAddonsApi = exports.EventsAddonsApiFactory = exports.EventsAddonsApiFp = exports.EventsAddonsApiAxiosParamCreator = exports.EventsActivationsTranslationsApi = exports.EventsActivationsTranslationsApiFactory = exports.EventsActivationsTranslationsApiFp = exports.EventsActivationsTranslationsApiAxiosParamCreator = exports.EventsActivationsSessionsApi = exports.EventsActivationsSessionsApiFactory = exports.EventsActivationsSessionsApiFp = exports.EventsActivationsSessionsApiAxiosParamCreator = exports.EventsActivationsApi = exports.EventsActivationsApiFactory = exports.EventsActivationsApiFp = exports.EventsActivationsApiAxiosParamCreator = void 0;
|
|
43
|
+
exports.EventsPackagesPassesApiFactory = exports.EventsPackagesPassesApiFp = exports.EventsPackagesPassesApiAxiosParamCreator = exports.EventsPackagesApi = exports.EventsPackagesApiFactory = exports.EventsPackagesApiFp = exports.EventsPackagesApiAxiosParamCreator = exports.EventsOnSiteApi = exports.EventsOnSiteApiFactory = exports.EventsOnSiteApiFp = exports.EventsOnSiteApiAxiosParamCreator = exports.EventsMediaTranslationsApi = exports.EventsMediaTranslationsApiFactory = exports.EventsMediaTranslationsApiFp = exports.EventsMediaTranslationsApiAxiosParamCreator = exports.GetEventMediaItemsTypeEnum = exports.EventsMediaApi = exports.EventsMediaApiFactory = exports.EventsMediaApiFp = exports.EventsMediaApiAxiosParamCreator = exports.EventsMatchesApi = exports.EventsMatchesApiFactory = exports.EventsMatchesApiFp = exports.EventsMatchesApiAxiosParamCreator = exports.EventsInterestsApi = exports.EventsInterestsApiFactory = exports.EventsInterestsApiFp = exports.EventsInterestsApiAxiosParamCreator = exports.EventsGroupcouponreminderApi = exports.EventsGroupcouponreminderApiFactory = exports.EventsGroupcouponreminderApiFp = exports.EventsGroupcouponreminderApiAxiosParamCreator = exports.EventsFollowupsTranslationsApi = exports.EventsFollowupsTranslationsApiFactory = exports.EventsFollowupsTranslationsApiFp = exports.EventsFollowupsTranslationsApiAxiosParamCreator = exports.EventsFollowupsApi = exports.EventsFollowupsApiFactory = exports.EventsFollowupsApiFp = exports.EventsFollowupsApiAxiosParamCreator = exports.EventsFaqsTranslationsApi = exports.EventsFaqsTranslationsApiFactory = exports.EventsFaqsTranslationsApiFp = exports.EventsFaqsTranslationsApiAxiosParamCreator = exports.EventsFaqsApi = exports.EventsFaqsApiFactory = exports.EventsFaqsApiFp = exports.EventsFaqsApiAxiosParamCreator = exports.EventsEmailsTranslationsApi = exports.EventsEmailsTranslationsApiFactory = void 0;
|
|
44
|
+
exports.EventsPasstypesPriceschedulesApiAxiosParamCreator = exports.EventsPasstypesExchangetargetsApi = exports.EventsPasstypesExchangetargetsApiFactory = exports.EventsPasstypesExchangetargetsApiFp = exports.EventsPasstypesExchangetargetsApiAxiosParamCreator = exports.EventsPasstypesApi = exports.EventsPasstypesApiFactory = exports.EventsPasstypesApiFp = exports.EventsPasstypesApiAxiosParamCreator = exports.EventsPassesResponsesApi = exports.EventsPassesResponsesApiFactory = exports.EventsPassesResponsesApiFp = exports.EventsPassesResponsesApiAxiosParamCreator = exports.EventsPassesFollowupsApi = exports.EventsPassesFollowupsApiFactory = exports.EventsPassesFollowupsApiFp = exports.EventsPassesFollowupsApiAxiosParamCreator = exports.EventsPassesAttributesApi = exports.EventsPassesAttributesApiFactory = exports.EventsPassesAttributesApiFp = exports.EventsPassesAttributesApiAxiosParamCreator = exports.EventsPassesAddonsApi = exports.EventsPassesAddonsApiFactory = exports.EventsPassesAddonsApiFp = exports.EventsPassesAddonsApiAxiosParamCreator = exports.EventsPassesAccessesApi = exports.EventsPassesAccessesApiFactory = exports.EventsPassesAccessesApiFp = exports.EventsPassesAccessesApiAxiosParamCreator = exports.EventsPassesApi = exports.EventsPassesApiFactory = exports.EventsPassesApiFp = exports.EventsPassesApiAxiosParamCreator = exports.EventsPasschangesApi = exports.EventsPasschangesApiFactory = exports.EventsPasschangesApiFp = exports.EventsPasschangesApiAxiosParamCreator = exports.EventsPagesTranslationsApi = exports.EventsPagesTranslationsApiFactory = exports.EventsPagesTranslationsApiFp = exports.EventsPagesTranslationsApiAxiosParamCreator = exports.EventsPagesApi = exports.EventsPagesApiFactory = exports.EventsPagesApiFp = exports.EventsPagesApiAxiosParamCreator = exports.EventsPackagesTranslationsApi = exports.EventsPackagesTranslationsApiFactory = exports.EventsPackagesTranslationsApiFp = exports.EventsPackagesTranslationsApiAxiosParamCreator = exports.EventsPackagesPassesApi = void 0;
|
|
45
|
+
exports.EventsSectionsTranslationsApiFactory = exports.EventsSectionsTranslationsApiFp = exports.EventsSectionsTranslationsApiAxiosParamCreator = exports.EventsSectionsApi = exports.EventsSectionsApiFactory = exports.EventsSectionsApiFp = exports.EventsSectionsApiAxiosParamCreator = exports.EventsRoomtypesTranslationsApi = exports.EventsRoomtypesTranslationsApiFactory = exports.EventsRoomtypesTranslationsApiFp = exports.EventsRoomtypesTranslationsApiAxiosParamCreator = exports.EventsRoomtypesApi = exports.EventsRoomtypesApiFactory = exports.EventsRoomtypesApiFp = exports.EventsRoomtypesApiAxiosParamCreator = exports.EventsRoomsApi = exports.EventsRoomsApiFactory = exports.EventsRoomsApiFp = exports.EventsRoomsApiAxiosParamCreator = exports.EventsRegistrationsReservationsApi = exports.EventsRegistrationsReservationsApiFactory = exports.EventsRegistrationsReservationsApiFp = exports.EventsRegistrationsReservationsApiAxiosParamCreator = exports.EventsRegistrationsPackagesApi = exports.EventsRegistrationsPackagesApiFactory = exports.EventsRegistrationsPackagesApiFp = exports.EventsRegistrationsPackagesApiAxiosParamCreator = exports.EventsRegistrationsApi = exports.EventsRegistrationsApiFactory = exports.EventsRegistrationsApiFp = exports.EventsRegistrationsApiAxiosParamCreator = exports.EventsQuestionsTranslationsApi = exports.EventsQuestionsTranslationsApiFactory = exports.EventsQuestionsTranslationsApiFp = exports.EventsQuestionsTranslationsApiAxiosParamCreator = exports.EventsQuestionsApi = exports.EventsQuestionsApiFactory = exports.EventsQuestionsApiFp = exports.EventsQuestionsApiAxiosParamCreator = exports.EventsPasstypesTranslationsApi = exports.EventsPasstypesTranslationsApiFactory = exports.EventsPasstypesTranslationsApiFp = exports.EventsPasstypesTranslationsApiAxiosParamCreator = exports.EventsPasstypesRefundschedulesApi = exports.EventsPasstypesRefundschedulesApiFactory = exports.EventsPasstypesRefundschedulesApiFp = exports.EventsPasstypesRefundschedulesApiAxiosParamCreator = exports.EventsPasstypesPriceschedulesApi = exports.EventsPasstypesPriceschedulesApiFactory = exports.EventsPasstypesPriceschedulesApiFp = void 0;
|
|
46
|
+
exports.EventsSessionsTranslationsApiAxiosParamCreator = exports.EventsSessionsTimesTranslationsApi = exports.EventsSessionsTimesTranslationsApiFactory = exports.EventsSessionsTimesTranslationsApiFp = exports.EventsSessionsTimesTranslationsApiAxiosParamCreator = exports.EventsSessionsTimesApi = exports.EventsSessionsTimesApiFactory = exports.EventsSessionsTimesApiFp = exports.EventsSessionsTimesApiAxiosParamCreator = exports.EventsSessionsSectionsTranslationsApi = exports.EventsSessionsSectionsTranslationsApiFactory = exports.EventsSessionsSectionsTranslationsApiFp = exports.EventsSessionsSectionsTranslationsApiAxiosParamCreator = exports.EventsSessionsSectionsApi = exports.EventsSessionsSectionsApiFactory = exports.EventsSessionsSectionsApiFp = exports.EventsSessionsSectionsApiAxiosParamCreator = exports.EventsSessionsQuestionsTranslationsApi = exports.EventsSessionsQuestionsTranslationsApiFactory = exports.EventsSessionsQuestionsTranslationsApiFp = exports.EventsSessionsQuestionsTranslationsApiAxiosParamCreator = exports.EventsSessionsQuestionsApi = exports.EventsSessionsQuestionsApiFactory = exports.EventsSessionsQuestionsApiFp = exports.EventsSessionsQuestionsApiAxiosParamCreator = exports.EventsSessionsPricesApi = exports.EventsSessionsPricesApiFactory = exports.EventsSessionsPricesApiFp = exports.EventsSessionsPricesApiAxiosParamCreator = exports.EventsSessionsMatchesApi = exports.EventsSessionsMatchesApiFactory = exports.EventsSessionsMatchesApiFp = exports.EventsSessionsMatchesApiAxiosParamCreator = exports.EventsSessionsLocationsTranslationsApi = exports.EventsSessionsLocationsTranslationsApiFactory = exports.EventsSessionsLocationsTranslationsApiFp = exports.EventsSessionsLocationsTranslationsApiAxiosParamCreator = exports.EventsSessionsLocationsApi = exports.EventsSessionsLocationsApiFactory = exports.EventsSessionsLocationsApiFp = exports.EventsSessionsLocationsApiAxiosParamCreator = exports.EventsSessionsAccessesApi = exports.EventsSessionsAccessesApiFactory = exports.EventsSessionsAccessesApiFp = exports.EventsSessionsAccessesApiAxiosParamCreator = exports.EventsSessionsApi = exports.EventsSessionsApiFactory = exports.EventsSessionsApiFp = exports.EventsSessionsApiAxiosParamCreator = exports.EventsSectionsTranslationsApi = void 0;
|
|
47
|
+
exports.EventsTransfersApiFactory = exports.EventsTransfersApiFp = exports.EventsTransfersApiAxiosParamCreator = exports.EventsTracksTranslationsApi = exports.EventsTracksTranslationsApiFactory = exports.EventsTracksTranslationsApiFp = exports.EventsTracksTranslationsApiAxiosParamCreator = exports.EventsTracksApi = exports.EventsTracksApiFactory = exports.EventsTracksApiFp = exports.EventsTracksApiAxiosParamCreator = exports.EventsTemplatesApi = exports.EventsTemplatesApiFactory = exports.EventsTemplatesApiFp = exports.EventsTemplatesApiAxiosParamCreator = exports.EventsSponsorshipsTranslationsApi = exports.EventsSponsorshipsTranslationsApiFactory = exports.EventsSponsorshipsTranslationsApiFp = exports.EventsSponsorshipsTranslationsApiAxiosParamCreator = exports.EventsSponsorshipsApi = exports.EventsSponsorshipsApiFactory = exports.EventsSponsorshipsApiFp = exports.EventsSponsorshipsApiAxiosParamCreator = exports.EventsSponsorshipprogressApi = exports.EventsSponsorshipprogressApiFactory = exports.EventsSponsorshipprogressApiFp = exports.EventsSponsorshipprogressApiAxiosParamCreator = exports.EventsSponsorshiplevelsTranslationsApi = exports.EventsSponsorshiplevelsTranslationsApiFactory = exports.EventsSponsorshiplevelsTranslationsApiFp = exports.EventsSponsorshiplevelsTranslationsApiAxiosParamCreator = exports.EventsSponsorshiplevelsApi = exports.EventsSponsorshiplevelsApiFactory = exports.EventsSponsorshiplevelsApiFp = exports.EventsSponsorshiplevelsApiAxiosParamCreator = exports.EventsSponsorsApi = exports.EventsSponsorsApiFactory = exports.EventsSponsorsApiFp = exports.EventsSponsorsApiAxiosParamCreator = exports.EventsSpeakersTranslationsApi = exports.EventsSpeakersTranslationsApiFactory = exports.EventsSpeakersTranslationsApiFp = exports.EventsSpeakersTranslationsApiAxiosParamCreator = exports.EventsSpeakersApi = exports.EventsSpeakersApiFactory = exports.EventsSpeakersApiFp = exports.EventsSpeakersApiAxiosParamCreator = exports.EventsSessionsTranslationsApi = exports.EventsSessionsTranslationsApiFactory = exports.EventsSessionsTranslationsApiFp = void 0;
|
|
48
|
+
exports.GroupsTranslationsApi = exports.GroupsTranslationsApiFactory = exports.GroupsTranslationsApiFp = exports.GroupsTranslationsApiAxiosParamCreator = exports.GroupsSponsorsApi = exports.GroupsSponsorsApiFactory = exports.GroupsSponsorsApiFp = exports.GroupsSponsorsApiAxiosParamCreator = exports.GroupsRequestsApi = exports.GroupsRequestsApiFactory = exports.GroupsRequestsApiFp = exports.GroupsRequestsApiAxiosParamCreator = exports.GroupsModeratorsApi = exports.GroupsModeratorsApiFactory = exports.GroupsModeratorsApiFp = exports.GroupsModeratorsApiAxiosParamCreator = exports.GroupsMembersApi = exports.GroupsMembersApiFactory = exports.GroupsMembersApiFp = exports.GroupsMembersApiAxiosParamCreator = exports.GroupsInvitationsApi = exports.GroupsInvitationsApiFactory = exports.GroupsInvitationsApiFp = exports.GroupsInvitationsApiAxiosParamCreator = exports.GroupsInterestsApi = exports.GroupsInterestsApiFactory = exports.GroupsInterestsApiFp = exports.GroupsInterestsApiAxiosParamCreator = exports.GroupsEventsApi = exports.GroupsEventsApiFactory = exports.GroupsEventsApiFp = exports.GroupsEventsApiAxiosParamCreator = exports.GetGroupsAccessEnum = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.ExportsApi = exports.ExportsApiFactory = exports.ExportsApiFp = exports.ExportsApiAxiosParamCreator = exports.EventsTranslationsApi = exports.EventsTranslationsApiFactory = exports.EventsTranslationsApiFp = exports.EventsTranslationsApiAxiosParamCreator = exports.EventsTransfersApi = void 0;
|
|
49
|
+
exports.MeetingsSessionsApiFp = exports.MeetingsSessionsApiAxiosParamCreator = exports.MeetingsRecordingsApi = exports.MeetingsRecordingsApiFactory = exports.MeetingsRecordingsApiFp = exports.MeetingsRecordingsApiAxiosParamCreator = exports.MeetingsPresetsApi = exports.MeetingsPresetsApiFactory = exports.MeetingsPresetsApiFp = exports.MeetingsPresetsApiAxiosParamCreator = exports.MeetingsParticipantsApi = exports.MeetingsParticipantsApiFactory = exports.MeetingsParticipantsApiFp = exports.MeetingsParticipantsApiAxiosParamCreator = exports.MeetingsLivestreamsApi = exports.MeetingsLivestreamsApiFactory = exports.MeetingsLivestreamsApiFp = exports.MeetingsLivestreamsApiAxiosParamCreator = exports.MeetingsLinksApi = exports.MeetingsLinksApiFactory = exports.MeetingsLinksApiFp = exports.MeetingsLinksApiAxiosParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiAxiosParamCreator = exports.LoginsAccountsApi = exports.LoginsAccountsApiFactory = exports.LoginsAccountsApiFp = exports.LoginsAccountsApiAxiosParamCreator = exports.LoginsApi = exports.LoginsApiFactory = exports.LoginsApiFp = exports.LoginsApiAxiosParamCreator = exports.InvoicesLineitemsApi = exports.InvoicesLineitemsApiFactory = exports.InvoicesLineitemsApiFp = exports.InvoicesLineitemsApiAxiosParamCreator = exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = exports.InterestsApi = exports.InterestsApiFactory = exports.InterestsApiFp = exports.InterestsApiAxiosParamCreator = exports.ImportsApi = exports.ImportsApiFactory = exports.ImportsApiFp = exports.ImportsApiAxiosParamCreator = void 0;
|
|
50
|
+
exports.OrganizationModulesSettingsTranslationsApi = exports.OrganizationModulesSettingsTranslationsApiFactory = exports.OrganizationModulesSettingsTranslationsApiFp = exports.OrganizationModulesSettingsTranslationsApiAxiosParamCreator = exports.OrganizationModulesSettingsApi = exports.OrganizationModulesSettingsApiFactory = exports.OrganizationModulesSettingsApiFp = exports.OrganizationModulesSettingsApiAxiosParamCreator = exports.OrganizationModulesCustomTranslationsApi = exports.OrganizationModulesCustomTranslationsApiFactory = exports.OrganizationModulesCustomTranslationsApiFp = exports.OrganizationModulesCustomTranslationsApiAxiosParamCreator = exports.OrganizationModulesCustomApi = exports.OrganizationModulesCustomApiFactory = exports.OrganizationModulesCustomApiFp = exports.OrganizationModulesCustomApiAxiosParamCreator = exports.OrganizationModulesApi = exports.OrganizationModulesApiFactory = exports.OrganizationModulesApiFp = exports.OrganizationModulesApiAxiosParamCreator = exports.OrganizationLanguageoverridesApi = exports.OrganizationLanguageoverridesApiFactory = exports.OrganizationLanguageoverridesApiFp = exports.OrganizationLanguageoverridesApiAxiosParamCreator = exports.OrganizationIntegrationsApi = exports.OrganizationIntegrationsApiFactory = exports.OrganizationIntegrationsApiFp = exports.OrganizationIntegrationsApiAxiosParamCreator = exports.OrganizationEntitiesApi = exports.OrganizationEntitiesApiFactory = exports.OrganizationEntitiesApiFp = exports.OrganizationEntitiesApiAxiosParamCreator = exports.OrganizationDomainsApi = exports.OrganizationDomainsApiFactory = exports.OrganizationDomainsApiFp = exports.OrganizationDomainsApiAxiosParamCreator = exports.OrganizationAttributesApi = exports.OrganizationAttributesApiFactory = exports.OrganizationAttributesApiFp = exports.OrganizationAttributesApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MeetingsSessionsApi = exports.MeetingsSessionsApiFactory = void 0;
|
|
51
|
+
exports.SearchlistsApiFp = exports.SearchlistsApiAxiosParamCreator = exports.ReportsUsersApi = exports.ReportsUsersApiFactory = exports.ReportsUsersApiFp = exports.ReportsUsersApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.PushDevicesApi = exports.PushDevicesApiFactory = exports.PushDevicesApiFp = exports.PushDevicesApiAxiosParamCreator = exports.PreferencesApi = exports.PreferencesApiFactory = exports.PreferencesApiFp = exports.PreferencesApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.OrganizationWebhooksApi = exports.OrganizationWebhooksApiFactory = exports.OrganizationWebhooksApiFp = exports.OrganizationWebhooksApiAxiosParamCreator = exports.OrganizationUsersApi = exports.OrganizationUsersApiFactory = exports.OrganizationUsersApiFp = exports.OrganizationUsersApiAxiosParamCreator = exports.OrganizationTeammembersApi = exports.OrganizationTeammembersApiFactory = exports.OrganizationTeammembersApiFp = exports.OrganizationTeammembersApiAxiosParamCreator = exports.OrganizationTaxApi = exports.OrganizationTaxApiFactory = exports.OrganizationTaxApiFp = exports.OrganizationTaxApiAxiosParamCreator = exports.OrganizationSideeffectsApi = exports.OrganizationSideeffectsApiFactory = exports.OrganizationSideeffectsApiFp = exports.OrganizationSideeffectsApiAxiosParamCreator = exports.OrganizationPaymentsApi = exports.OrganizationPaymentsApiFactory = exports.OrganizationPaymentsApiFp = exports.OrganizationPaymentsApiAxiosParamCreator = exports.OrganizationModulesTiersApi = exports.OrganizationModulesTiersApiFactory = exports.OrganizationModulesTiersApiFp = exports.OrganizationModulesTiersApiAxiosParamCreator = void 0;
|
|
52
|
+
exports.SponsorsAccountsApi = exports.SponsorsAccountsApiFactory = exports.SponsorsAccountsApiFp = exports.SponsorsAccountsApiAxiosParamCreator = exports.SponsorsApi = exports.SponsorsApiFactory = exports.SponsorsApiFp = exports.SponsorsApiAxiosParamCreator = exports.SeriesTranslationsApi = exports.SeriesTranslationsApiFactory = exports.SeriesTranslationsApiFp = exports.SeriesTranslationsApiAxiosParamCreator = exports.SeriesRegistrationsApi = exports.SeriesRegistrationsApiFactory = exports.SeriesRegistrationsApiFp = exports.SeriesRegistrationsApiAxiosParamCreator = exports.SeriesQuestionsTranslationsApi = exports.SeriesQuestionsTranslationsApiFactory = exports.SeriesQuestionsTranslationsApiFp = exports.SeriesQuestionsTranslationsApiAxiosParamCreator = exports.SeriesQuestionsChoicesApi = exports.SeriesQuestionsChoicesApiFactory = exports.SeriesQuestionsChoicesApiFp = exports.SeriesQuestionsChoicesApiAxiosParamCreator = exports.SeriesQuestionsApi = exports.SeriesQuestionsApiFactory = exports.SeriesQuestionsApiFp = exports.SeriesQuestionsApiAxiosParamCreator = exports.SeriesApi = exports.SeriesApiFactory = exports.SeriesApiFp = exports.SeriesApiAxiosParamCreator = exports.SelfImagesApi = exports.SelfImagesApiFactory = exports.SelfImagesApiFp = exports.SelfImagesApiAxiosParamCreator = exports.SelfApikeysApi = exports.SelfApikeysApiFactory = exports.SelfApikeysApiFp = exports.SelfApikeysApiAxiosParamCreator = exports.SelfApi = exports.SelfApiFactory = exports.SelfApiFp = exports.SelfApiAxiosParamCreator = exports.SearchlistsValuesApi = exports.SearchlistsValuesApiFactory = exports.SearchlistsValuesApiFp = exports.SearchlistsValuesApiAxiosParamCreator = exports.SearchlistsApi = exports.SearchlistsApiFactory = void 0;
|
|
53
|
+
exports.SurveysApiAxiosParamCreator = exports.SupportNotesApi = exports.SupportNotesApiFactory = exports.SupportNotesApiFp = exports.SupportNotesApiAxiosParamCreator = exports.SupportMessagesApi = exports.SupportMessagesApiFactory = exports.SupportMessagesApiFp = exports.SupportMessagesApiAxiosParamCreator = exports.GetSupportTicketsAssignmentEnum = exports.SupportApi = exports.SupportApiFactory = exports.SupportApiFp = exports.SupportApiAxiosParamCreator = exports.StreamsSessionsApi = exports.StreamsSessionsApiFactory = exports.StreamsSessionsApiFp = exports.StreamsSessionsApiAxiosParamCreator = exports.StreamsReplaysApi = exports.StreamsReplaysApiFactory = exports.StreamsReplaysApiFp = exports.StreamsReplaysApiAxiosParamCreator = exports.StreamsOutputsApi = exports.StreamsOutputsApiFactory = exports.StreamsOutputsApiFp = exports.StreamsOutputsApiAxiosParamCreator = exports.StreamsApi = exports.StreamsApiFactory = exports.StreamsApiFp = exports.StreamsApiAxiosParamCreator = exports.StorageVideosCaptionsApi = exports.StorageVideosCaptionsApiFactory = exports.StorageVideosCaptionsApiFp = exports.StorageVideosCaptionsApiAxiosParamCreator = exports.StorageVideosApi = exports.StorageVideosApiFactory = exports.StorageVideosApiFp = exports.StorageVideosApiAxiosParamCreator = exports.StorageImagesApi = exports.StorageImagesApiFactory = exports.StorageImagesApiFp = exports.StorageImagesApiAxiosParamCreator = exports.StorageFilesApi = exports.StorageFilesApiFactory = exports.StorageFilesApiFp = exports.StorageFilesApiAxiosParamCreator = exports.SponsorsTranslationsApi = exports.SponsorsTranslationsApiFactory = exports.SponsorsTranslationsApiFp = exports.SponsorsTranslationsApiAxiosParamCreator = void 0;
|
|
54
|
+
exports.ThreadsMessagesImagesApiFactory = exports.ThreadsMessagesImagesApiFp = exports.ThreadsMessagesImagesApiAxiosParamCreator = exports.ThreadsMessagesFilesApi = exports.ThreadsMessagesFilesApiFactory = exports.ThreadsMessagesFilesApiFp = exports.ThreadsMessagesFilesApiAxiosParamCreator = exports.ThreadsMessagesApi = exports.ThreadsMessagesApiFactory = exports.ThreadsMessagesApiFp = exports.ThreadsMessagesApiAxiosParamCreator = exports.ThreadsAccountsApi = exports.ThreadsAccountsApiFactory = exports.ThreadsAccountsApiFp = exports.ThreadsAccountsApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.SurveysTranslationsApi = exports.SurveysTranslationsApiFactory = exports.SurveysTranslationsApiFp = exports.SurveysTranslationsApiAxiosParamCreator = exports.SurveysSubmissionsApi = exports.SurveysSubmissionsApiFactory = exports.SurveysSubmissionsApiFp = exports.SurveysSubmissionsApiAxiosParamCreator = exports.SurveysSessionsApi = exports.SurveysSessionsApiFactory = exports.SurveysSessionsApiFp = exports.SurveysSessionsApiAxiosParamCreator = exports.SurveysSectionsTranslationsApi = exports.SurveysSectionsTranslationsApiFactory = exports.SurveysSectionsTranslationsApiFp = exports.SurveysSectionsTranslationsApiAxiosParamCreator = exports.SurveysSectionsApi = exports.SurveysSectionsApiFactory = exports.SurveysSectionsApiFp = exports.SurveysSectionsApiAxiosParamCreator = exports.SurveysQuestionsTranslationsApi = exports.SurveysQuestionsTranslationsApiFactory = exports.SurveysQuestionsTranslationsApiFp = exports.SurveysQuestionsTranslationsApiAxiosParamCreator = exports.SurveysQuestionsApi = exports.SurveysQuestionsApiFactory = exports.SurveysQuestionsApiFp = exports.SurveysQuestionsApiAxiosParamCreator = exports.SurveysApi = exports.SurveysApiFactory = exports.SurveysApiFp = void 0;
|
|
55
|
+
exports.GetTiersTypeEnum = exports.TiersApi = exports.TiersApiFactory = exports.TiersApiFp = exports.TiersApiAxiosParamCreator = exports.ThreadsStorageApi = exports.ThreadsStorageApiFactory = exports.ThreadsStorageApiFp = exports.ThreadsStorageApiAxiosParamCreator = exports.ThreadsMessagesVideosApi = exports.ThreadsMessagesVideosApiFactory = exports.ThreadsMessagesVideosApiFp = exports.ThreadsMessagesVideosApiAxiosParamCreator = exports.ThreadsMessagesReactionsApi = exports.ThreadsMessagesReactionsApiFactory = exports.ThreadsMessagesReactionsApiFp = exports.ThreadsMessagesReactionsApiAxiosParamCreator = exports.ThreadsMessagesImagesApi = void 0;
|
|
56
56
|
const axios_1 = require("axios");
|
|
57
57
|
// Some imports not used depending on template conditions
|
|
58
58
|
// @ts-ignore
|
|
@@ -23633,6 +23633,533 @@ var GetContentsTypeEnum;
|
|
|
23633
23633
|
GetContentsTypeEnum["Audio"] = "audio";
|
|
23634
23634
|
GetContentsTypeEnum["Article"] = "article";
|
|
23635
23635
|
})(GetContentsTypeEnum || (exports.GetContentsTypeEnum = GetContentsTypeEnum = {}));
|
|
23636
|
+
/**
|
|
23637
|
+
* ChannelsInterestsApi - axios parameter creator
|
|
23638
|
+
*/
|
|
23639
|
+
const ChannelsInterestsApiAxiosParamCreator = function (configuration) {
|
|
23640
|
+
return {
|
|
23641
|
+
/**
|
|
23642
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23643
|
+
* @summary Add an interest to a content item
|
|
23644
|
+
* @param {string} channelId The channel identifier
|
|
23645
|
+
* @param {string} contentId The content identifier
|
|
23646
|
+
* @param {string} interestId The interest identifier
|
|
23647
|
+
* @param {*} [options] Override http request option.
|
|
23648
|
+
* @throws {RequiredError}
|
|
23649
|
+
*/
|
|
23650
|
+
addChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
|
|
23651
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23652
|
+
(0, common_1.assertParamExists)('addChannelContentInterest', 'channelId', channelId);
|
|
23653
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
23654
|
+
(0, common_1.assertParamExists)('addChannelContentInterest', 'contentId', contentId);
|
|
23655
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
23656
|
+
(0, common_1.assertParamExists)('addChannelContentInterest', 'interestId', interestId);
|
|
23657
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
|
|
23658
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
23659
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
23660
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
23661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23662
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23663
|
+
let baseOptions;
|
|
23664
|
+
if (configuration) {
|
|
23665
|
+
baseOptions = configuration.baseOptions;
|
|
23666
|
+
}
|
|
23667
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23668
|
+
const localVarHeaderParameter = {};
|
|
23669
|
+
const localVarQueryParameter = {};
|
|
23670
|
+
// authentication ApiKeyAuth required
|
|
23671
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23672
|
+
// authentication OrganizationId required
|
|
23673
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23674
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23675
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23676
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23677
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23678
|
+
return {
|
|
23679
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23680
|
+
options: localVarRequestOptions,
|
|
23681
|
+
};
|
|
23682
|
+
}),
|
|
23683
|
+
/**
|
|
23684
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23685
|
+
* @summary Add an interest to a channel
|
|
23686
|
+
* @param {string} channelId The channel identifier
|
|
23687
|
+
* @param {string} interestId The interest identifier
|
|
23688
|
+
* @param {*} [options] Override http request option.
|
|
23689
|
+
* @throws {RequiredError}
|
|
23690
|
+
*/
|
|
23691
|
+
addChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
|
|
23692
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23693
|
+
(0, common_1.assertParamExists)('addChannelInterest', 'channelId', channelId);
|
|
23694
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
23695
|
+
(0, common_1.assertParamExists)('addChannelInterest', 'interestId', interestId);
|
|
23696
|
+
const localVarPath = `/channels/{channelId}/interests/{interestId}`
|
|
23697
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
23698
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
23699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23700
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23701
|
+
let baseOptions;
|
|
23702
|
+
if (configuration) {
|
|
23703
|
+
baseOptions = configuration.baseOptions;
|
|
23704
|
+
}
|
|
23705
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23706
|
+
const localVarHeaderParameter = {};
|
|
23707
|
+
const localVarQueryParameter = {};
|
|
23708
|
+
// authentication ApiKeyAuth required
|
|
23709
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23710
|
+
// authentication OrganizationId required
|
|
23711
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23712
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23713
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23714
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23715
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23716
|
+
return {
|
|
23717
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23718
|
+
options: localVarRequestOptions,
|
|
23719
|
+
};
|
|
23720
|
+
}),
|
|
23721
|
+
/**
|
|
23722
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
23723
|
+
* @summary List a content item\'s interests
|
|
23724
|
+
* @param {string} channelId The channel identifier
|
|
23725
|
+
* @param {string} contentId The content identifier
|
|
23726
|
+
* @param {number} [page] Page number
|
|
23727
|
+
* @param {number} [pageSize] Number of items per page
|
|
23728
|
+
* @param {string} [orderBy] Field to order by
|
|
23729
|
+
* @param {string} [search] Search query
|
|
23730
|
+
* @param {*} [options] Override http request option.
|
|
23731
|
+
* @throws {RequiredError}
|
|
23732
|
+
*/
|
|
23733
|
+
getChannelContentInterests: (channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, contentId, page, pageSize, orderBy, search, options = {}) {
|
|
23734
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23735
|
+
(0, common_1.assertParamExists)('getChannelContentInterests', 'channelId', channelId);
|
|
23736
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
23737
|
+
(0, common_1.assertParamExists)('getChannelContentInterests', 'contentId', contentId);
|
|
23738
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests`
|
|
23739
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
23740
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)));
|
|
23741
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23742
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23743
|
+
let baseOptions;
|
|
23744
|
+
if (configuration) {
|
|
23745
|
+
baseOptions = configuration.baseOptions;
|
|
23746
|
+
}
|
|
23747
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
23748
|
+
const localVarHeaderParameter = {};
|
|
23749
|
+
const localVarQueryParameter = {};
|
|
23750
|
+
// authentication ApiKeyAuth required
|
|
23751
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23752
|
+
// authentication OrganizationId required
|
|
23753
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23754
|
+
if (page !== undefined) {
|
|
23755
|
+
localVarQueryParameter['page'] = page;
|
|
23756
|
+
}
|
|
23757
|
+
if (pageSize !== undefined) {
|
|
23758
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
23759
|
+
}
|
|
23760
|
+
if (orderBy !== undefined) {
|
|
23761
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
23762
|
+
}
|
|
23763
|
+
if (search !== undefined) {
|
|
23764
|
+
localVarQueryParameter['search'] = search;
|
|
23765
|
+
}
|
|
23766
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23767
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23769
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23770
|
+
return {
|
|
23771
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23772
|
+
options: localVarRequestOptions,
|
|
23773
|
+
};
|
|
23774
|
+
}),
|
|
23775
|
+
/**
|
|
23776
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
23777
|
+
* @summary List a channel\'s interests
|
|
23778
|
+
* @param {string} channelId The channel identifier
|
|
23779
|
+
* @param {number} [page] Page number
|
|
23780
|
+
* @param {number} [pageSize] Number of items per page
|
|
23781
|
+
* @param {string} [orderBy] Field to order by
|
|
23782
|
+
* @param {string} [search] Search query
|
|
23783
|
+
* @param {*} [options] Override http request option.
|
|
23784
|
+
* @throws {RequiredError}
|
|
23785
|
+
*/
|
|
23786
|
+
getChannelInterests: (channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, page, pageSize, orderBy, search, options = {}) {
|
|
23787
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23788
|
+
(0, common_1.assertParamExists)('getChannelInterests', 'channelId', channelId);
|
|
23789
|
+
const localVarPath = `/channels/{channelId}/interests`
|
|
23790
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)));
|
|
23791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23792
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23793
|
+
let baseOptions;
|
|
23794
|
+
if (configuration) {
|
|
23795
|
+
baseOptions = configuration.baseOptions;
|
|
23796
|
+
}
|
|
23797
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
23798
|
+
const localVarHeaderParameter = {};
|
|
23799
|
+
const localVarQueryParameter = {};
|
|
23800
|
+
// authentication ApiKeyAuth required
|
|
23801
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23802
|
+
// authentication OrganizationId required
|
|
23803
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23804
|
+
if (page !== undefined) {
|
|
23805
|
+
localVarQueryParameter['page'] = page;
|
|
23806
|
+
}
|
|
23807
|
+
if (pageSize !== undefined) {
|
|
23808
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
23809
|
+
}
|
|
23810
|
+
if (orderBy !== undefined) {
|
|
23811
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
23812
|
+
}
|
|
23813
|
+
if (search !== undefined) {
|
|
23814
|
+
localVarQueryParameter['search'] = search;
|
|
23815
|
+
}
|
|
23816
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23817
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23819
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23820
|
+
return {
|
|
23821
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23822
|
+
options: localVarRequestOptions,
|
|
23823
|
+
};
|
|
23824
|
+
}),
|
|
23825
|
+
/**
|
|
23826
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23827
|
+
* @summary Remove an interest from a content item
|
|
23828
|
+
* @param {string} channelId The channel identifier
|
|
23829
|
+
* @param {string} contentId The content identifier
|
|
23830
|
+
* @param {string} interestId The interest identifier
|
|
23831
|
+
* @param {*} [options] Override http request option.
|
|
23832
|
+
* @throws {RequiredError}
|
|
23833
|
+
*/
|
|
23834
|
+
removeChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
|
|
23835
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23836
|
+
(0, common_1.assertParamExists)('removeChannelContentInterest', 'channelId', channelId);
|
|
23837
|
+
// verify required parameter 'contentId' is not null or undefined
|
|
23838
|
+
(0, common_1.assertParamExists)('removeChannelContentInterest', 'contentId', contentId);
|
|
23839
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
23840
|
+
(0, common_1.assertParamExists)('removeChannelContentInterest', 'interestId', interestId);
|
|
23841
|
+
const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
|
|
23842
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
23843
|
+
.replace('{contentId}', encodeURIComponent(String(contentId)))
|
|
23844
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
23845
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23846
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23847
|
+
let baseOptions;
|
|
23848
|
+
if (configuration) {
|
|
23849
|
+
baseOptions = configuration.baseOptions;
|
|
23850
|
+
}
|
|
23851
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
23852
|
+
const localVarHeaderParameter = {};
|
|
23853
|
+
const localVarQueryParameter = {};
|
|
23854
|
+
// authentication ApiKeyAuth required
|
|
23855
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23856
|
+
// authentication OrganizationId required
|
|
23857
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23858
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23859
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23860
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23861
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23862
|
+
return {
|
|
23863
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23864
|
+
options: localVarRequestOptions,
|
|
23865
|
+
};
|
|
23866
|
+
}),
|
|
23867
|
+
/**
|
|
23868
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23869
|
+
* @summary Remove an interest from a channel
|
|
23870
|
+
* @param {string} channelId The channel identifier
|
|
23871
|
+
* @param {string} interestId The interest identifier
|
|
23872
|
+
* @param {*} [options] Override http request option.
|
|
23873
|
+
* @throws {RequiredError}
|
|
23874
|
+
*/
|
|
23875
|
+
removeChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
|
|
23876
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
23877
|
+
(0, common_1.assertParamExists)('removeChannelInterest', 'channelId', channelId);
|
|
23878
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
23879
|
+
(0, common_1.assertParamExists)('removeChannelInterest', 'interestId', interestId);
|
|
23880
|
+
const localVarPath = `/channels/{channelId}/interests/{interestId}`
|
|
23881
|
+
.replace('{channelId}', encodeURIComponent(String(channelId)))
|
|
23882
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
23883
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23884
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23885
|
+
let baseOptions;
|
|
23886
|
+
if (configuration) {
|
|
23887
|
+
baseOptions = configuration.baseOptions;
|
|
23888
|
+
}
|
|
23889
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
23890
|
+
const localVarHeaderParameter = {};
|
|
23891
|
+
const localVarQueryParameter = {};
|
|
23892
|
+
// authentication ApiKeyAuth required
|
|
23893
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
23894
|
+
// authentication OrganizationId required
|
|
23895
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
23896
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
23897
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23898
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23899
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23900
|
+
return {
|
|
23901
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23902
|
+
options: localVarRequestOptions,
|
|
23903
|
+
};
|
|
23904
|
+
}),
|
|
23905
|
+
};
|
|
23906
|
+
};
|
|
23907
|
+
exports.ChannelsInterestsApiAxiosParamCreator = ChannelsInterestsApiAxiosParamCreator;
|
|
23908
|
+
/**
|
|
23909
|
+
* ChannelsInterestsApi - functional programming interface
|
|
23910
|
+
*/
|
|
23911
|
+
const ChannelsInterestsApiFp = function (configuration) {
|
|
23912
|
+
const localVarAxiosParamCreator = (0, exports.ChannelsInterestsApiAxiosParamCreator)(configuration);
|
|
23913
|
+
return {
|
|
23914
|
+
/**
|
|
23915
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23916
|
+
* @summary Add an interest to a content item
|
|
23917
|
+
* @param {string} channelId The channel identifier
|
|
23918
|
+
* @param {string} contentId The content identifier
|
|
23919
|
+
* @param {string} interestId The interest identifier
|
|
23920
|
+
* @param {*} [options] Override http request option.
|
|
23921
|
+
* @throws {RequiredError}
|
|
23922
|
+
*/
|
|
23923
|
+
addChannelContentInterest(channelId, contentId, interestId, options) {
|
|
23924
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23925
|
+
var _a, _b, _c;
|
|
23926
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelContentInterest(channelId, contentId, interestId, options);
|
|
23927
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23928
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.addChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23929
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23930
|
+
});
|
|
23931
|
+
},
|
|
23932
|
+
/**
|
|
23933
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23934
|
+
* @summary Add an interest to a channel
|
|
23935
|
+
* @param {string} channelId The channel identifier
|
|
23936
|
+
* @param {string} interestId The interest identifier
|
|
23937
|
+
* @param {*} [options] Override http request option.
|
|
23938
|
+
* @throws {RequiredError}
|
|
23939
|
+
*/
|
|
23940
|
+
addChannelInterest(channelId, interestId, options) {
|
|
23941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23942
|
+
var _a, _b, _c;
|
|
23943
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelInterest(channelId, interestId, options);
|
|
23944
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23945
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.addChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23946
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23947
|
+
});
|
|
23948
|
+
},
|
|
23949
|
+
/**
|
|
23950
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
23951
|
+
* @summary List a content item\'s interests
|
|
23952
|
+
* @param {string} channelId The channel identifier
|
|
23953
|
+
* @param {string} contentId The content identifier
|
|
23954
|
+
* @param {number} [page] Page number
|
|
23955
|
+
* @param {number} [pageSize] Number of items per page
|
|
23956
|
+
* @param {string} [orderBy] Field to order by
|
|
23957
|
+
* @param {string} [search] Search query
|
|
23958
|
+
* @param {*} [options] Override http request option.
|
|
23959
|
+
* @throws {RequiredError}
|
|
23960
|
+
*/
|
|
23961
|
+
getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options) {
|
|
23962
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23963
|
+
var _a, _b, _c;
|
|
23964
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options);
|
|
23965
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23966
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.getChannelContentInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23967
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23968
|
+
});
|
|
23969
|
+
},
|
|
23970
|
+
/**
|
|
23971
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
23972
|
+
* @summary List a channel\'s interests
|
|
23973
|
+
* @param {string} channelId The channel identifier
|
|
23974
|
+
* @param {number} [page] Page number
|
|
23975
|
+
* @param {number} [pageSize] Number of items per page
|
|
23976
|
+
* @param {string} [orderBy] Field to order by
|
|
23977
|
+
* @param {string} [search] Search query
|
|
23978
|
+
* @param {*} [options] Override http request option.
|
|
23979
|
+
* @throws {RequiredError}
|
|
23980
|
+
*/
|
|
23981
|
+
getChannelInterests(channelId, page, pageSize, orderBy, search, options) {
|
|
23982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23983
|
+
var _a, _b, _c;
|
|
23984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelInterests(channelId, page, pageSize, orderBy, search, options);
|
|
23985
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23986
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.getChannelInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23987
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23988
|
+
});
|
|
23989
|
+
},
|
|
23990
|
+
/**
|
|
23991
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
23992
|
+
* @summary Remove an interest from a content item
|
|
23993
|
+
* @param {string} channelId The channel identifier
|
|
23994
|
+
* @param {string} contentId The content identifier
|
|
23995
|
+
* @param {string} interestId The interest identifier
|
|
23996
|
+
* @param {*} [options] Override http request option.
|
|
23997
|
+
* @throws {RequiredError}
|
|
23998
|
+
*/
|
|
23999
|
+
removeChannelContentInterest(channelId, contentId, interestId, options) {
|
|
24000
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24001
|
+
var _a, _b, _c;
|
|
24002
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelContentInterest(channelId, contentId, interestId, options);
|
|
24003
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24004
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.removeChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24005
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24006
|
+
});
|
|
24007
|
+
},
|
|
24008
|
+
/**
|
|
24009
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24010
|
+
* @summary Remove an interest from a channel
|
|
24011
|
+
* @param {string} channelId The channel identifier
|
|
24012
|
+
* @param {string} interestId The interest identifier
|
|
24013
|
+
* @param {*} [options] Override http request option.
|
|
24014
|
+
* @throws {RequiredError}
|
|
24015
|
+
*/
|
|
24016
|
+
removeChannelInterest(channelId, interestId, options) {
|
|
24017
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24018
|
+
var _a, _b, _c;
|
|
24019
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelInterest(channelId, interestId, options);
|
|
24020
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24021
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ChannelsInterestsApi.removeChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24022
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24023
|
+
});
|
|
24024
|
+
},
|
|
24025
|
+
};
|
|
24026
|
+
};
|
|
24027
|
+
exports.ChannelsInterestsApiFp = ChannelsInterestsApiFp;
|
|
24028
|
+
/**
|
|
24029
|
+
* ChannelsInterestsApi - factory interface
|
|
24030
|
+
*/
|
|
24031
|
+
const ChannelsInterestsApiFactory = function (configuration, basePath, axios) {
|
|
24032
|
+
const localVarFp = (0, exports.ChannelsInterestsApiFp)(configuration);
|
|
24033
|
+
return {
|
|
24034
|
+
/**
|
|
24035
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24036
|
+
* @summary Add an interest to a content item
|
|
24037
|
+
* @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
|
|
24038
|
+
* @param {*} [options] Override http request option.
|
|
24039
|
+
* @throws {RequiredError}
|
|
24040
|
+
*/
|
|
24041
|
+
addChannelContentInterest(requestParameters, options) {
|
|
24042
|
+
return localVarFp.addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
24043
|
+
},
|
|
24044
|
+
/**
|
|
24045
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24046
|
+
* @summary Add an interest to a channel
|
|
24047
|
+
* @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
|
|
24048
|
+
* @param {*} [options] Override http request option.
|
|
24049
|
+
* @throws {RequiredError}
|
|
24050
|
+
*/
|
|
24051
|
+
addChannelInterest(requestParameters, options) {
|
|
24052
|
+
return localVarFp.addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
24053
|
+
},
|
|
24054
|
+
/**
|
|
24055
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
24056
|
+
* @summary List a content item\'s interests
|
|
24057
|
+
* @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
|
|
24058
|
+
* @param {*} [options] Override http request option.
|
|
24059
|
+
* @throws {RequiredError}
|
|
24060
|
+
*/
|
|
24061
|
+
getChannelContentInterests(requestParameters, options) {
|
|
24062
|
+
return localVarFp.getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
24063
|
+
},
|
|
24064
|
+
/**
|
|
24065
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
24066
|
+
* @summary List a channel\'s interests
|
|
24067
|
+
* @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
|
|
24068
|
+
* @param {*} [options] Override http request option.
|
|
24069
|
+
* @throws {RequiredError}
|
|
24070
|
+
*/
|
|
24071
|
+
getChannelInterests(requestParameters, options) {
|
|
24072
|
+
return localVarFp.getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
24073
|
+
},
|
|
24074
|
+
/**
|
|
24075
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24076
|
+
* @summary Remove an interest from a content item
|
|
24077
|
+
* @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
|
|
24078
|
+
* @param {*} [options] Override http request option.
|
|
24079
|
+
* @throws {RequiredError}
|
|
24080
|
+
*/
|
|
24081
|
+
removeChannelContentInterest(requestParameters, options) {
|
|
24082
|
+
return localVarFp.removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
24083
|
+
},
|
|
24084
|
+
/**
|
|
24085
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24086
|
+
* @summary Remove an interest from a channel
|
|
24087
|
+
* @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
|
|
24088
|
+
* @param {*} [options] Override http request option.
|
|
24089
|
+
* @throws {RequiredError}
|
|
24090
|
+
*/
|
|
24091
|
+
removeChannelInterest(requestParameters, options) {
|
|
24092
|
+
return localVarFp.removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
24093
|
+
},
|
|
24094
|
+
};
|
|
24095
|
+
};
|
|
24096
|
+
exports.ChannelsInterestsApiFactory = ChannelsInterestsApiFactory;
|
|
24097
|
+
/**
|
|
24098
|
+
* ChannelsInterestsApi - object-oriented interface
|
|
24099
|
+
*/
|
|
24100
|
+
class ChannelsInterestsApi extends base_1.BaseAPI {
|
|
24101
|
+
/**
|
|
24102
|
+
* Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24103
|
+
* @summary Add an interest to a content item
|
|
24104
|
+
* @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
|
|
24105
|
+
* @param {*} [options] Override http request option.
|
|
24106
|
+
* @throws {RequiredError}
|
|
24107
|
+
*/
|
|
24108
|
+
addChannelContentInterest(requestParameters, options) {
|
|
24109
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
24110
|
+
}
|
|
24111
|
+
/**
|
|
24112
|
+
* Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24113
|
+
* @summary Add an interest to a channel
|
|
24114
|
+
* @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
|
|
24115
|
+
* @param {*} [options] Override http request option.
|
|
24116
|
+
* @throws {RequiredError}
|
|
24117
|
+
*/
|
|
24118
|
+
addChannelInterest(requestParameters, options) {
|
|
24119
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
24120
|
+
}
|
|
24121
|
+
/**
|
|
24122
|
+
* Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
|
|
24123
|
+
* @summary List a content item\'s interests
|
|
24124
|
+
* @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
|
|
24125
|
+
* @param {*} [options] Override http request option.
|
|
24126
|
+
* @throws {RequiredError}
|
|
24127
|
+
*/
|
|
24128
|
+
getChannelContentInterests(requestParameters, options) {
|
|
24129
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
24130
|
+
}
|
|
24131
|
+
/**
|
|
24132
|
+
* Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
|
|
24133
|
+
* @summary List a channel\'s interests
|
|
24134
|
+
* @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
|
|
24135
|
+
* @param {*} [options] Override http request option.
|
|
24136
|
+
* @throws {RequiredError}
|
|
24137
|
+
*/
|
|
24138
|
+
getChannelInterests(requestParameters, options) {
|
|
24139
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
24140
|
+
}
|
|
24141
|
+
/**
|
|
24142
|
+
* Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24143
|
+
* @summary Remove an interest from a content item
|
|
24144
|
+
* @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
|
|
24145
|
+
* @param {*} [options] Override http request option.
|
|
24146
|
+
* @throws {RequiredError}
|
|
24147
|
+
*/
|
|
24148
|
+
removeChannelContentInterest(requestParameters, options) {
|
|
24149
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
24150
|
+
}
|
|
24151
|
+
/**
|
|
24152
|
+
* Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
24153
|
+
* @summary Remove an interest from a channel
|
|
24154
|
+
* @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
|
|
24155
|
+
* @param {*} [options] Override http request option.
|
|
24156
|
+
* @throws {RequiredError}
|
|
24157
|
+
*/
|
|
24158
|
+
removeChannelInterest(requestParameters, options) {
|
|
24159
|
+
return (0, exports.ChannelsInterestsApiFp)(this.configuration).removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
24160
|
+
}
|
|
24161
|
+
}
|
|
24162
|
+
exports.ChannelsInterestsApi = ChannelsInterestsApi;
|
|
23636
24163
|
/**
|
|
23637
24164
|
* ChannelsTranslationsApi - axios parameter creator
|
|
23638
24165
|
*/
|
|
@@ -37605,6 +38132,278 @@ class EventsGroupcouponreminderApi extends base_1.BaseAPI {
|
|
|
37605
38132
|
}
|
|
37606
38133
|
}
|
|
37607
38134
|
exports.EventsGroupcouponreminderApi = EventsGroupcouponreminderApi;
|
|
38135
|
+
/**
|
|
38136
|
+
* EventsInterestsApi - axios parameter creator
|
|
38137
|
+
*/
|
|
38138
|
+
const EventsInterestsApiAxiosParamCreator = function (configuration) {
|
|
38139
|
+
return {
|
|
38140
|
+
/**
|
|
38141
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38142
|
+
* @summary Add an interest to an event
|
|
38143
|
+
* @param {string} eventId The event identifier
|
|
38144
|
+
* @param {string} interestId The interest identifier
|
|
38145
|
+
* @param {*} [options] Override http request option.
|
|
38146
|
+
* @throws {RequiredError}
|
|
38147
|
+
*/
|
|
38148
|
+
addEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
|
|
38149
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
38150
|
+
(0, common_1.assertParamExists)('addEventInterest', 'eventId', eventId);
|
|
38151
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
38152
|
+
(0, common_1.assertParamExists)('addEventInterest', 'interestId', interestId);
|
|
38153
|
+
const localVarPath = `/events/{eventId}/interests/{interestId}`
|
|
38154
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
38155
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
38156
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38157
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38158
|
+
let baseOptions;
|
|
38159
|
+
if (configuration) {
|
|
38160
|
+
baseOptions = configuration.baseOptions;
|
|
38161
|
+
}
|
|
38162
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
38163
|
+
const localVarHeaderParameter = {};
|
|
38164
|
+
const localVarQueryParameter = {};
|
|
38165
|
+
// authentication ApiKeyAuth required
|
|
38166
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
38167
|
+
// authentication OrganizationId required
|
|
38168
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
38169
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38170
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38171
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38172
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
38173
|
+
return {
|
|
38174
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
38175
|
+
options: localVarRequestOptions,
|
|
38176
|
+
};
|
|
38177
|
+
}),
|
|
38178
|
+
/**
|
|
38179
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
38180
|
+
* @summary List an event\'s interests
|
|
38181
|
+
* @param {string} eventId The event identifier
|
|
38182
|
+
* @param {number} [page] Page number
|
|
38183
|
+
* @param {number} [pageSize] Number of items per page
|
|
38184
|
+
* @param {string} [orderBy] Field to order by
|
|
38185
|
+
* @param {string} [search] Search query
|
|
38186
|
+
* @param {*} [options] Override http request option.
|
|
38187
|
+
* @throws {RequiredError}
|
|
38188
|
+
*/
|
|
38189
|
+
getEventInterests: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
|
|
38190
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
38191
|
+
(0, common_1.assertParamExists)('getEventInterests', 'eventId', eventId);
|
|
38192
|
+
const localVarPath = `/events/{eventId}/interests`
|
|
38193
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
38194
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38195
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38196
|
+
let baseOptions;
|
|
38197
|
+
if (configuration) {
|
|
38198
|
+
baseOptions = configuration.baseOptions;
|
|
38199
|
+
}
|
|
38200
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
38201
|
+
const localVarHeaderParameter = {};
|
|
38202
|
+
const localVarQueryParameter = {};
|
|
38203
|
+
// authentication ApiKeyAuth required
|
|
38204
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
38205
|
+
// authentication OrganizationId required
|
|
38206
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
38207
|
+
if (page !== undefined) {
|
|
38208
|
+
localVarQueryParameter['page'] = page;
|
|
38209
|
+
}
|
|
38210
|
+
if (pageSize !== undefined) {
|
|
38211
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
38212
|
+
}
|
|
38213
|
+
if (orderBy !== undefined) {
|
|
38214
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
38215
|
+
}
|
|
38216
|
+
if (search !== undefined) {
|
|
38217
|
+
localVarQueryParameter['search'] = search;
|
|
38218
|
+
}
|
|
38219
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38220
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38222
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
38223
|
+
return {
|
|
38224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
38225
|
+
options: localVarRequestOptions,
|
|
38226
|
+
};
|
|
38227
|
+
}),
|
|
38228
|
+
/**
|
|
38229
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38230
|
+
* @summary Remove an interest from an event
|
|
38231
|
+
* @param {string} eventId The event identifier
|
|
38232
|
+
* @param {string} interestId The interest identifier
|
|
38233
|
+
* @param {*} [options] Override http request option.
|
|
38234
|
+
* @throws {RequiredError}
|
|
38235
|
+
*/
|
|
38236
|
+
removeEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
|
|
38237
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
38238
|
+
(0, common_1.assertParamExists)('removeEventInterest', 'eventId', eventId);
|
|
38239
|
+
// verify required parameter 'interestId' is not null or undefined
|
|
38240
|
+
(0, common_1.assertParamExists)('removeEventInterest', 'interestId', interestId);
|
|
38241
|
+
const localVarPath = `/events/{eventId}/interests/{interestId}`
|
|
38242
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
38243
|
+
.replace('{interestId}', encodeURIComponent(String(interestId)));
|
|
38244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38245
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
38246
|
+
let baseOptions;
|
|
38247
|
+
if (configuration) {
|
|
38248
|
+
baseOptions = configuration.baseOptions;
|
|
38249
|
+
}
|
|
38250
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
38251
|
+
const localVarHeaderParameter = {};
|
|
38252
|
+
const localVarQueryParameter = {};
|
|
38253
|
+
// authentication ApiKeyAuth required
|
|
38254
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
38255
|
+
// authentication OrganizationId required
|
|
38256
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
38257
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
38261
|
+
return {
|
|
38262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
38263
|
+
options: localVarRequestOptions,
|
|
38264
|
+
};
|
|
38265
|
+
}),
|
|
38266
|
+
};
|
|
38267
|
+
};
|
|
38268
|
+
exports.EventsInterestsApiAxiosParamCreator = EventsInterestsApiAxiosParamCreator;
|
|
38269
|
+
/**
|
|
38270
|
+
* EventsInterestsApi - functional programming interface
|
|
38271
|
+
*/
|
|
38272
|
+
const EventsInterestsApiFp = function (configuration) {
|
|
38273
|
+
const localVarAxiosParamCreator = (0, exports.EventsInterestsApiAxiosParamCreator)(configuration);
|
|
38274
|
+
return {
|
|
38275
|
+
/**
|
|
38276
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38277
|
+
* @summary Add an interest to an event
|
|
38278
|
+
* @param {string} eventId The event identifier
|
|
38279
|
+
* @param {string} interestId The interest identifier
|
|
38280
|
+
* @param {*} [options] Override http request option.
|
|
38281
|
+
* @throws {RequiredError}
|
|
38282
|
+
*/
|
|
38283
|
+
addEventInterest(eventId, interestId, options) {
|
|
38284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38285
|
+
var _a, _b, _c;
|
|
38286
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventInterest(eventId, interestId, options);
|
|
38287
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
38288
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsInterestsApi.addEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38289
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38290
|
+
});
|
|
38291
|
+
},
|
|
38292
|
+
/**
|
|
38293
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
38294
|
+
* @summary List an event\'s interests
|
|
38295
|
+
* @param {string} eventId The event identifier
|
|
38296
|
+
* @param {number} [page] Page number
|
|
38297
|
+
* @param {number} [pageSize] Number of items per page
|
|
38298
|
+
* @param {string} [orderBy] Field to order by
|
|
38299
|
+
* @param {string} [search] Search query
|
|
38300
|
+
* @param {*} [options] Override http request option.
|
|
38301
|
+
* @throws {RequiredError}
|
|
38302
|
+
*/
|
|
38303
|
+
getEventInterests(eventId, page, pageSize, orderBy, search, options) {
|
|
38304
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38305
|
+
var _a, _b, _c;
|
|
38306
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventInterests(eventId, page, pageSize, orderBy, search, options);
|
|
38307
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
38308
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsInterestsApi.getEventInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38309
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38310
|
+
});
|
|
38311
|
+
},
|
|
38312
|
+
/**
|
|
38313
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38314
|
+
* @summary Remove an interest from an event
|
|
38315
|
+
* @param {string} eventId The event identifier
|
|
38316
|
+
* @param {string} interestId The interest identifier
|
|
38317
|
+
* @param {*} [options] Override http request option.
|
|
38318
|
+
* @throws {RequiredError}
|
|
38319
|
+
*/
|
|
38320
|
+
removeEventInterest(eventId, interestId, options) {
|
|
38321
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38322
|
+
var _a, _b, _c;
|
|
38323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventInterest(eventId, interestId, options);
|
|
38324
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
38325
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsInterestsApi.removeEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38326
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38327
|
+
});
|
|
38328
|
+
},
|
|
38329
|
+
};
|
|
38330
|
+
};
|
|
38331
|
+
exports.EventsInterestsApiFp = EventsInterestsApiFp;
|
|
38332
|
+
/**
|
|
38333
|
+
* EventsInterestsApi - factory interface
|
|
38334
|
+
*/
|
|
38335
|
+
const EventsInterestsApiFactory = function (configuration, basePath, axios) {
|
|
38336
|
+
const localVarFp = (0, exports.EventsInterestsApiFp)(configuration);
|
|
38337
|
+
return {
|
|
38338
|
+
/**
|
|
38339
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38340
|
+
* @summary Add an interest to an event
|
|
38341
|
+
* @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
|
|
38342
|
+
* @param {*} [options] Override http request option.
|
|
38343
|
+
* @throws {RequiredError}
|
|
38344
|
+
*/
|
|
38345
|
+
addEventInterest(requestParameters, options) {
|
|
38346
|
+
return localVarFp.addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
38347
|
+
},
|
|
38348
|
+
/**
|
|
38349
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
38350
|
+
* @summary List an event\'s interests
|
|
38351
|
+
* @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
|
|
38352
|
+
* @param {*} [options] Override http request option.
|
|
38353
|
+
* @throws {RequiredError}
|
|
38354
|
+
*/
|
|
38355
|
+
getEventInterests(requestParameters, options) {
|
|
38356
|
+
return localVarFp.getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
38357
|
+
},
|
|
38358
|
+
/**
|
|
38359
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38360
|
+
* @summary Remove an interest from an event
|
|
38361
|
+
* @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
|
|
38362
|
+
* @param {*} [options] Override http request option.
|
|
38363
|
+
* @throws {RequiredError}
|
|
38364
|
+
*/
|
|
38365
|
+
removeEventInterest(requestParameters, options) {
|
|
38366
|
+
return localVarFp.removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
|
|
38367
|
+
},
|
|
38368
|
+
};
|
|
38369
|
+
};
|
|
38370
|
+
exports.EventsInterestsApiFactory = EventsInterestsApiFactory;
|
|
38371
|
+
/**
|
|
38372
|
+
* EventsInterestsApi - object-oriented interface
|
|
38373
|
+
*/
|
|
38374
|
+
class EventsInterestsApi extends base_1.BaseAPI {
|
|
38375
|
+
/**
|
|
38376
|
+
* Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38377
|
+
* @summary Add an interest to an event
|
|
38378
|
+
* @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
|
|
38379
|
+
* @param {*} [options] Override http request option.
|
|
38380
|
+
* @throws {RequiredError}
|
|
38381
|
+
*/
|
|
38382
|
+
addEventInterest(requestParameters, options) {
|
|
38383
|
+
return (0, exports.EventsInterestsApiFp)(this.configuration).addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
38384
|
+
}
|
|
38385
|
+
/**
|
|
38386
|
+
* Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
|
|
38387
|
+
* @summary List an event\'s interests
|
|
38388
|
+
* @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
|
|
38389
|
+
* @param {*} [options] Override http request option.
|
|
38390
|
+
* @throws {RequiredError}
|
|
38391
|
+
*/
|
|
38392
|
+
getEventInterests(requestParameters, options) {
|
|
38393
|
+
return (0, exports.EventsInterestsApiFp)(this.configuration).getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
38394
|
+
}
|
|
38395
|
+
/**
|
|
38396
|
+
* Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
38397
|
+
* @summary Remove an interest from an event
|
|
38398
|
+
* @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
|
|
38399
|
+
* @param {*} [options] Override http request option.
|
|
38400
|
+
* @throws {RequiredError}
|
|
38401
|
+
*/
|
|
38402
|
+
removeEventInterest(requestParameters, options) {
|
|
38403
|
+
return (0, exports.EventsInterestsApiFp)(this.configuration).removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
|
|
38404
|
+
}
|
|
38405
|
+
}
|
|
38406
|
+
exports.EventsInterestsApi = EventsInterestsApi;
|
|
37608
38407
|
/**
|
|
37609
38408
|
* EventsMatchesApi - axios parameter creator
|
|
37610
38409
|
*/
|
|
@@ -79679,7 +80478,7 @@ exports.GroupsEventsApi = GroupsEventsApi;
|
|
|
79679
80478
|
const GroupsInterestsApiAxiosParamCreator = function (configuration) {
|
|
79680
80479
|
return {
|
|
79681
80480
|
/**
|
|
79682
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80481
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79683
80482
|
* @summary Add an interest to a group
|
|
79684
80483
|
* @param {string} groupId The group identifier
|
|
79685
80484
|
* @param {string} interestId The interest identifier
|
|
@@ -79767,7 +80566,7 @@ const GroupsInterestsApiAxiosParamCreator = function (configuration) {
|
|
|
79767
80566
|
};
|
|
79768
80567
|
}),
|
|
79769
80568
|
/**
|
|
79770
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80569
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79771
80570
|
* @summary Remove an interest from a group
|
|
79772
80571
|
* @param {string} groupId The group identifier
|
|
79773
80572
|
* @param {string} accountId The account identifier
|
|
@@ -79814,7 +80613,7 @@ const GroupsInterestsApiFp = function (configuration) {
|
|
|
79814
80613
|
const localVarAxiosParamCreator = (0, exports.GroupsInterestsApiAxiosParamCreator)(configuration);
|
|
79815
80614
|
return {
|
|
79816
80615
|
/**
|
|
79817
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80616
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79818
80617
|
* @summary Add an interest to a group
|
|
79819
80618
|
* @param {string} groupId The group identifier
|
|
79820
80619
|
* @param {string} interestId The interest identifier
|
|
@@ -79851,7 +80650,7 @@ const GroupsInterestsApiFp = function (configuration) {
|
|
|
79851
80650
|
});
|
|
79852
80651
|
},
|
|
79853
80652
|
/**
|
|
79854
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80653
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79855
80654
|
* @summary Remove an interest from a group
|
|
79856
80655
|
* @param {string} groupId The group identifier
|
|
79857
80656
|
* @param {string} accountId The account identifier
|
|
@@ -79877,7 +80676,7 @@ const GroupsInterestsApiFactory = function (configuration, basePath, axios) {
|
|
|
79877
80676
|
const localVarFp = (0, exports.GroupsInterestsApiFp)(configuration);
|
|
79878
80677
|
return {
|
|
79879
80678
|
/**
|
|
79880
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80679
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79881
80680
|
* @summary Add an interest to a group
|
|
79882
80681
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
79883
80682
|
* @param {*} [options] Override http request option.
|
|
@@ -79897,7 +80696,7 @@ const GroupsInterestsApiFactory = function (configuration, basePath, axios) {
|
|
|
79897
80696
|
return localVarFp.getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
79898
80697
|
},
|
|
79899
80698
|
/**
|
|
79900
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80699
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79901
80700
|
* @summary Remove an interest from a group
|
|
79902
80701
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
79903
80702
|
* @param {*} [options] Override http request option.
|
|
@@ -79914,7 +80713,7 @@ exports.GroupsInterestsApiFactory = GroupsInterestsApiFactory;
|
|
|
79914
80713
|
*/
|
|
79915
80714
|
class GroupsInterestsApi extends base_1.BaseAPI {
|
|
79916
80715
|
/**
|
|
79917
|
-
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80716
|
+
* Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79918
80717
|
* @summary Add an interest to a group
|
|
79919
80718
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
79920
80719
|
* @param {*} [options] Override http request option.
|
|
@@ -79934,7 +80733,7 @@ class GroupsInterestsApi extends base_1.BaseAPI {
|
|
|
79934
80733
|
return (0, exports.GroupsInterestsApiFp)(this.configuration).getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
79935
80734
|
}
|
|
79936
80735
|
/**
|
|
79937
|
-
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list
|
|
80736
|
+
* Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
|
|
79938
80737
|
* @summary Remove an interest from a group
|
|
79939
80738
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
79940
80739
|
* @param {*} [options] Override http request option.
|