@container-stack/mailing-api
Advanced tools
Comparing version 0.0.45-alpha.22 to 0.0.45-alpha.23
@@ -26,3 +26,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.useMailCampaignsHistoryLazyQuery = exports.useMailCampaignsHistoryQuery = exports.MailCampaignsHistoryDocument = exports.useMailCampaignsLazyQuery = exports.useMailCampaignsQuery = exports.MailCampaignsDocument = exports.useMarketingContactsFilterValuesLazyQuery = exports.useMarketingContactsFilterValuesQuery = exports.MarketingContactsFilterValuesDocument = exports.useSampleMarketingContactsLazyQuery = exports.useSampleMarketingContactsQuery = exports.SampleMarketingContactsDocument = exports.useMarketingContactsLazyQuery = exports.useMarketingContactsQuery = exports.MarketingContactsDocument = exports.useMailTemplatesLazyQuery = exports.useMailTemplatesQuery = exports.MailTemplatesDocument = exports.useCreateMailCampaignHistoryMutation = exports.CreateMailCampaignHistoryDocument = exports.useCreateMailCampaignMutation = exports.CreateMailCampaignDocument = exports.useSaveEmailTemplateMutation = exports.SaveEmailTemplateDocument = exports.useSendFilteredUsersEmailMutation = exports.SendFilteredUsersEmailDocument = exports.useSendBulkEmailReportMutation = exports.SendBulkEmailReportDocument = exports.useSendingMailReportMutation = exports.SendingMailReportDocument = exports.ISuppressionType = exports.ISortEnum = exports.IMoleculerServiceName = exports.IMoleculerCronServiceName = exports.IMarketingContactServiceAction = exports.IMailTransportType = exports.IMailTemplateId = exports.IMailServiceAction = exports.ICacheControlScope = void 0; | ||
exports.useUnsubscribeLazyQuery = exports.useUnsubscribeQuery = exports.UnsubscribeDocument = exports.useMailCampaignsHistoryLazyQuery = exports.useMailCampaignsHistoryQuery = exports.MailCampaignsHistoryDocument = exports.useMailCampaignsLazyQuery = exports.useMailCampaignsQuery = exports.MailCampaignsDocument = exports.useMarketingContactsFilterValuesLazyQuery = exports.useMarketingContactsFilterValuesQuery = exports.MarketingContactsFilterValuesDocument = exports.useSampleMarketingContactsLazyQuery = exports.useSampleMarketingContactsQuery = exports.SampleMarketingContactsDocument = exports.useMarketingContactsLazyQuery = exports.useMarketingContactsQuery = exports.MarketingContactsDocument = exports.useMailTemplatesLazyQuery = exports.useMailTemplatesQuery = exports.MailTemplatesDocument = exports.useRemoveCampaignWithHistoryMutation = exports.RemoveCampaignWithHistoryDocument = exports.useCreateMailCampaignHistoryMutation = exports.CreateMailCampaignHistoryDocument = exports.useCreateMailCampaignMutation = exports.CreateMailCampaignDocument = exports.useSaveEmailTemplateMutation = exports.SaveEmailTemplateDocument = exports.useSendFilteredUsersEmailMutation = exports.SendFilteredUsersEmailDocument = exports.useSendBulkEmailReportMutation = exports.SendBulkEmailReportDocument = exports.useSendingMailReportMutation = exports.SendingMailReportDocument = exports.ISuppressionType = exports.ISortEnum = exports.IMoleculerServiceName = exports.IMoleculerCronServiceName = exports.IMarketingContactServiceAction = exports.IMailTransportType = exports.IMailTemplateId = exports.IMailServiceAction = exports.ICacheControlScope = void 0; | ||
const client_1 = require("@apollo/client"); | ||
@@ -297,2 +297,32 @@ const Apollo = __importStar(require("@apollo/client")); | ||
exports.useCreateMailCampaignHistoryMutation = useCreateMailCampaignHistoryMutation; | ||
exports.RemoveCampaignWithHistoryDocument = (0, client_1.gql) ` | ||
mutation RemoveCampaignWithHistory($campaignID: String) { | ||
removeCampaignWithHistory(campaignID: $campaignID) { | ||
success | ||
error | ||
} | ||
} | ||
`; | ||
/** | ||
* __useRemoveCampaignWithHistoryMutation__ | ||
* | ||
* To run a mutation, you first call `useRemoveCampaignWithHistoryMutation` within a React component and pass it any options that fit your needs. | ||
* When your component renders, `useRemoveCampaignWithHistoryMutation` returns a tuple that includes: | ||
* - A mutate function that you can call at any time to execute the mutation | ||
* - An object with fields that represent the current status of the mutation's execution | ||
* | ||
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; | ||
* | ||
* @example | ||
* const [removeCampaignWithHistoryMutation, { data, loading, error }] = useRemoveCampaignWithHistoryMutation({ | ||
* variables: { | ||
* campaignID: // value for 'campaignID' | ||
* }, | ||
* }); | ||
*/ | ||
function useRemoveCampaignWithHistoryMutation(baseOptions) { | ||
const options = { ...defaultOptions, ...baseOptions }; | ||
return Apollo.useMutation(exports.RemoveCampaignWithHistoryDocument, options); | ||
} | ||
exports.useRemoveCampaignWithHistoryMutation = useRemoveCampaignWithHistoryMutation; | ||
exports.MailTemplatesDocument = (0, client_1.gql) ` | ||
@@ -610,2 +640,36 @@ query MailTemplates($criteria: AnyObject, $limit: Int, $skip: Int, $sort: Sort) { | ||
exports.useMailCampaignsHistoryLazyQuery = useMailCampaignsHistoryLazyQuery; | ||
exports.UnsubscribeDocument = (0, client_1.gql) ` | ||
query Unsubscribe($hashedDetails: String) { | ||
unsubscribe(hashedDetails: $hashedDetails) { | ||
success | ||
error | ||
} | ||
} | ||
`; | ||
/** | ||
* __useUnsubscribeQuery__ | ||
* | ||
* To run a query within a React component, call `useUnsubscribeQuery` and pass it any options that fit your needs. | ||
* When your component renders, `useUnsubscribeQuery` returns an object from Apollo Client that contains loading, error, and data properties | ||
* you can use to render your UI. | ||
* | ||
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; | ||
* | ||
* @example | ||
* const { data, loading, error } = useUnsubscribeQuery({ | ||
* variables: { | ||
* hashedDetails: // value for 'hashedDetails' | ||
* }, | ||
* }); | ||
*/ | ||
function useUnsubscribeQuery(baseOptions) { | ||
const options = { ...defaultOptions, ...baseOptions }; | ||
return Apollo.useQuery(exports.UnsubscribeDocument, options); | ||
} | ||
exports.useUnsubscribeQuery = useUnsubscribeQuery; | ||
function useUnsubscribeLazyQuery(baseOptions) { | ||
const options = { ...defaultOptions, ...baseOptions }; | ||
return Apollo.useLazyQuery(exports.UnsubscribeDocument, options); | ||
} | ||
exports.useUnsubscribeLazyQuery = useUnsubscribeLazyQuery; | ||
//# sourceMappingURL=generated-models.js.map |
{ | ||
"name": "@container-stack/mailing-api", | ||
"version": "0.0.45-alpha.22", | ||
"version": "0.0.45-alpha.23", | ||
"description": "Workbench core for higher packages to depend on", | ||
@@ -36,3 +36,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "910205f7f37e7d550865ec26838d47060f6bd64b" | ||
"gitHead": "a2520f899f7d64c2b68697a1deb300f386e81c52" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138695
2579
182