From c03c95da886ca629a205cb602e136f4dc35ac893 Mon Sep 17 00:00:00 2001 From: David Peng Date: Mon, 15 Apr 2024 14:32:24 +0800 Subject: [PATCH] feat: add preview paywall (#189) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- auto-imports.d.ts | 1 - components.d.ts | 1 + esbuild.config.js | 16 +- moon.yml | 36 +- packages/storipress-client/gql/graphql.ts | 5079 ++++++++--------- src/PaywallPreview.ce.vue | 24 + src/components/LeakyPaywall.vue | 29 +- src/components/LeakyPaywallContent.vue | 41 + .../__tests__/LeakyPaywallContent.dom.spec.ts | 27 + src/entry-preview.ts | 6 + terraform/main.tf | 7 + terraform/moon.yml | 2 + vite.config.ts | 23 + 13 files changed, 2675 insertions(+), 2617 deletions(-) create mode 100644 src/PaywallPreview.ce.vue create mode 100644 src/components/LeakyPaywallContent.vue create mode 100644 src/components/__tests__/LeakyPaywallContent.dom.spec.ts create mode 100644 src/entry-preview.ts diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 19ba5f47..ad8291db 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -453,7 +453,6 @@ declare global { const useFocus: typeof import('@vueuse/core')['useFocus'] const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin'] const useFps: typeof import('@vueuse/core')['useFps'] - const useFreeLimit: typeof import('./src/composables/free-limit')['useFreeLimit'] const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] const useGamepad: typeof import('@vueuse/core')['useGamepad'] const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] diff --git a/components.d.ts b/components.d.ts index 87c7c9f5..b818d967 100644 --- a/components.d.ts +++ b/components.d.ts @@ -46,6 +46,7 @@ declare module 'vue' { Input: typeof import('./src/components/ui/input/Input.vue')['default'] Label: typeof import('./src/components/ui/label/Label.vue')['default'] LeakyPaywall: typeof import('./src/components/LeakyPaywall.vue')['default'] + LeakyPaywallContent: typeof import('./src/components/LeakyPaywallContent.vue')['default'] LeakyPaywallDebug: typeof import('./src/components/LeakyPaywallDebug.vue')['default'] Noop: typeof import('./src/components/Noop.vue')['default'] Popover: typeof import('./src/components/ui/popover/Popover.vue')['default'] diff --git a/esbuild.config.js b/esbuild.config.js index 29cb8d95..2d39a3ae 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -1,8 +1,20 @@ import process from 'node:process' import esbuild from 'esbuild' +import { Match } from 'effect' -const entry = process.env.MODE === 'lib-debug' ? './lib/leaky-paywall-debug.js' : './lib/leaky-paywall.js' -const output = process.env.MODE === 'lib-debug' ? './lib/leaky-paywall-debug.min.js' : './lib/leaky-paywall.min.js' +const MODE = process.env.MODE ?? 'lib' + +const entry = Match.value(MODE).pipe( + Match.when('lib-debug', () => './lib/leaky-paywall-debug.js'), + Match.when('lib-preview', () => './lib/leaky-paywall-preview.js'), + Match.orElse(() => './lib/leaky-paywall.js'), +) + +const output = Match.value(MODE).pipe( + Match.when('lib-debug', () => './lib/leaky-paywall-debug.min.js'), + Match.when('lib-preview', () => './lib/leaky-paywall-preview.min.js'), + Match.orElse(() => './lib/leaky-paywall.min.js'), +) esbuild .build({ diff --git a/moon.yml b/moon.yml index df164c24..b6b38a5f 100644 --- a/moon.yml +++ b/moon.yml @@ -42,24 +42,21 @@ tasks: - storipress-client:generate platform: node debug-lib: + extends: lib env: MODE: lib-debug - command: - - vite - - build - inputs: - - '@globs(sources)' - - package.json - - yarn.lock - - vite.config.ts outputs: - lib/leaky-paywall-debug.js args: - --mode=lib-debug - deps: - - ~:typecheck - - storipress-client:generate - platform: node + preview-lib: + extends: lib + env: + MODE: lib-preview + outputs: + - lib/leaky-paywall-preview.js + args: + - --mode=lib-preview lib-analyze: extends: lib outputs: @@ -72,6 +69,7 @@ tasks: deps: - minify-lib - minify-debug-lib + - minify-preview-lib minify-lib: env: MODE: lib @@ -85,17 +83,25 @@ tasks: deps: - ~:lib-analyze minify-debug-lib: + extends: minify-lib env: MODE: lib-debug - command: - - node - - esbuild.config.js inputs: - lib/leaky-paywall-debug.js outputs: - lib/leaky-paywall-debug.min.js deps: - ~:debug-lib + minify-preview-lib: + extends: minify-lib + env: + MODE: lib-preview + inputs: + - lib/leaky-paywall-preview.js + outputs: + - lib/leaky-paywall-preview.min.js + deps: + - ~:preview-lib show-analyze: command: - open diff --git a/packages/storipress-client/gql/graphql.ts b/packages/storipress-client/gql/graphql.ts index 1aa25cd0..6081ba53 100644 --- a/packages/storipress-client/gql/graphql.ts +++ b/packages/storipress-client/gql/graphql.ts @@ -1,211 +1,211 @@ /* eslint-disable */ -import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' +export type Maybe = T | null +export type InputMaybe = Maybe +export type Exact = { [K in keyof T]: T[K] } +export type MakeOptional = Omit & { [SubKey in K]?: Maybe } +export type MakeMaybe = Omit & { [SubKey in K]: Maybe } +export type MakeEmpty = { [_ in K]?: never } +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never } /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } + ID: { input: string; output: string } + String: { input: string; output: string } + Boolean: { input: boolean; output: boolean } + Int: { input: number; output: number } + Float: { input: number; output: number } /** A date string with the format `YYYY-MM-DD`, e.g. `2011-05-23`. */ - Date: { input: string; output: string; } + Date: { input: string; output: string } /** * "A datetime string with the format YYYY-MM-DD\TH:i:s.uP, * e.g. 2020-04-20T16:20:04+04:00, 2020-04-20T16:20:04Z." */ - DateTime: { input: string; output: string; } + DateTime: { input: string; output: string } /** A RFC 5321 compliant email string. */ - EmailString: { input: string; output: string; } + EmailString: { input: string; output: string } /** JavaScript Object Notation. */ - JSON: { input: string; output: string; } + JSON: { input: string; output: string } /** * Loose type that allows any value. Be careful when passing in large `Int` or `Float` literals, * as they may not be parsed correctly on the server side. Use `String` literals if you are * dealing with really large numbers to be on the safe side. */ - Mixed: { input: any; output: any; } + Mixed: { input: any; output: any } /** Can be used as an argument to upload files using https://github.com/jaydenseric/graphql-multipart-request-spec */ - Upload: { input: any; output: any; } -}; + Upload: { input: any; output: any } +} /** add author to article form */ export type AddAuthorToArticleInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** user id(author id) */ - user_id: Scalars['ID']['input']; -}; + user_id: Scalars['ID']['input'] +} export type AddSlackChannelsInput = { /** notify channels */ - channels: Array; + channels: Array /** notify condition */ - key: Scalars['ID']['input']; -}; + key: Scalars['ID']['input'] +} /** add tag to article form */ export type AddTagToArticleInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** tag id */ - tag_id: Scalars['ID']['input']; -}; + tag_id: Scalars['ID']['input'] +} export type AppSubscriptionPlans = { - __typename?: 'AppSubscriptionPlans'; + __typename?: 'AppSubscriptionPlans' /** price currency */ - currency: Scalars['String']['output']; + currency: Scalars['String']['output'] /** * plan group, * possible values: blogger, publisher */ - group: Scalars['String']['output']; + group: Scalars['String']['output'] /** * price id, use in price_id field when calling * createAppSubscription or updateAppSubscription */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** * billing period type, * possible values: month, year */ - interval: Scalars['String']['output']; + interval: Scalars['String']['output'] /** billing period value */ - interval_count: Scalars['Int']['output']; + interval_count: Scalars['Int']['output'] /** * price value, string type of integer with two decimal points, * e.g. 1800 means $18.00 */ - price: Scalars['String']['output']; + price: Scalars['String']['output'] /** possible values: licensed, metered */ - usage_type: Scalars['String']['output']; -}; + usage_type: Scalars['String']['output'] +} export type ApplyCouponCodeToAppSubscriptionInput = { - promotion_code: Scalars['String']['input']; -}; + promotion_code: Scalars['String']['input'] +} export type ApplyDealFuelCodeInput = { - code: Scalars['String']['input']; -}; + code: Scalars['String']['input'] +} export type ApplyViededingueCodeInput = { - code: Scalars['String']['input']; -}; + code: Scalars['String']['input'] +} /** Publication Articles */ export type Article = { - __typename?: 'Article'; + __typename?: 'Article' /** article's authors */ - authors: Array; + authors: Array /** auto post data */ - auto_posting?: Maybe; + auto_posting?: Maybe /** article description */ - blurb?: Maybe; + blurb?: Maybe /** custom fields for content block */ - content_blocks: Array; + content_blocks: Array /** cover image and its properties */ - cover?: Maybe; + cover?: Maybe /** article created time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** article desk */ - desk: Desk; + desk: Desk /** article content, prosemirror format */ - document?: Maybe; + document?: Maybe /** determinate article is in draft stage or not */ - draft: Scalars['Boolean']['output']; + draft: Scalars['Boolean']['output'] /** article content encryption key */ - encryption_key: Scalars['String']['output']; + encryption_key: Scalars['String']['output'] /** determinate article is featured or not */ - featured: Scalars['Boolean']['output']; + featured: Scalars['Boolean']['output'] /** article content, html format */ - html?: Maybe; + html?: Maybe /** article id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** layout this article used */ - layout?: Maybe; + layout?: Maybe /** custom fields for metafield */ - metafields: Array; + metafields: Array /** newsletter is on or not for this article */ - newsletter: Scalars['Boolean']['output']; + newsletter: Scalars['Boolean']['output'] /** when the newsletter is on, the time that the email has been sent */ - newsletter_at?: Maybe; + newsletter_at?: Maybe /** use for kanban sorting, group with desk_id field */ - order: Scalars['Int']['output']; + order: Scalars['Int']['output'] /** article url pathname history */ - pathnames?: Maybe; + pathnames?: Maybe /** article content, plaintext format */ - plaintext?: Maybe; + plaintext?: Maybe /** determinate article is free, member or subscriber */ - plan: ArticlePlan; + plan: ArticlePlan /** determinate article publish type is right now, schedule or none */ - publish_type: ArticlePublishType; + publish_type: ArticlePublishType /** determinate article is in published stage or not */ - published: Scalars['Boolean']['output']; + published: Scalars['Boolean']['output'] /** article published time */ - published_at?: Maybe; + published_at?: Maybe /** related articles */ - relevances: Array
; + relevances: Array
/** determinate article is in scheduled stage or not */ - scheduled: Scalars['Boolean']['output']; + scheduled: Scalars['Boolean']['output'] /** seo meta data */ - seo?: Maybe; + seo?: Maybe /** article shadow authors(no real account authors) */ - shadow_authors?: Maybe>; + shadow_authors?: Maybe> /** article string id */ - sid: Scalars['ID']['output']; + sid: Scalars['ID']['output'] /** * use for article url, * e.g. /posts/{slug} */ - slug: Scalars['String']['output']; + slug: Scalars['String']['output'] /** current article stage */ - stage: Stage; + stage: Stage /** article's tags */ - tags: Array; + tags: Array /** editing note threads */ - threads: Array; + threads: Array /** article title */ - title: Scalars['String']['output']; + title: Scalars['String']['output'] /** article last updated time, all modified opteration will update this field */ - updated_at: Scalars['DateTime']['output']; + updated_at: Scalars['DateTime']['output'] /** article url */ - url: Scalars['String']['output']; -}; + url: Scalars['String']['output'] +} /** A paginated list of Article edges. */ export type ArticleConnection = { - __typename?: 'ArticleConnection'; + __typename?: 'ArticleConnection' /** A list of Article edges. */ - edges: Array; + edges: Array /** Pagination information about the list of edges. */ - pageInfo: PageInfo; -}; + pageInfo: PageInfo +} /** An edge that contains a node of type Article and a cursor. */ export type ArticleEdge = { - __typename?: 'ArticleEdge'; + __typename?: 'ArticleEdge' /** A unique cursor that can be used for pagination. */ - cursor: Scalars['String']['output']; + cursor: Scalars['String']['output'] /** The Article node. */ - node: Article; -}; + node: Article +} /** A paginated list of Article items. */ export type ArticlePaginator = { - __typename?: 'ArticlePaginator'; + __typename?: 'ArticlePaginator' /** A list of Article items. */ - data: Array
; + data: Array
/** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** Plan */ export enum ArticlePlan { @@ -214,7 +214,7 @@ export enum ArticlePlan { /** login required article */ Member = 'member', /** paid member only article */ - Subscriber = 'subscriber' + Subscriber = 'subscriber', } /** Publish type */ @@ -224,7 +224,7 @@ export enum ArticlePublishType { /** None */ None = 'none', /** Schedule */ - Schedule = 'schedule' + Schedule = 'schedule', } /** Sort by */ @@ -240,78 +240,75 @@ export enum ArticleSortBy { /** Date updated */ DateUpdated = 'dateUpdated', /** Date updated desc */ - DateUpdatedDesc = 'dateUpdatedDesc' + DateUpdatedDesc = 'dateUpdatedDesc', } export type ArticleThread = { - __typename?: 'ArticleThread'; + __typename?: 'ArticleThread' /** article id */ - article_id: Scalars['ID']['output']; + article_id: Scalars['ID']['output'] /** thread create time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** thread id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** notes owned by the article's thread */ - notes: Array; + notes: Array /** thread position in document */ - position: Scalars['JSON']['output']; + position: Scalars['JSON']['output'] /** thread resolve(delete) time */ - resolved_at?: Maybe; + resolved_at?: Maybe /** thread last update time */ - updated_at: Scalars['DateTime']['output']; -}; - + updated_at: Scalars['DateTime']['output'] +} export type ArticleThreadNotesArgs = { - hasThread?: InputMaybe; -}; + hasThread?: InputMaybe +} /** article thread note */ export type ArticleThreadNote = { - __typename?: 'ArticleThreadNote'; + __typename?: 'ArticleThreadNote' /** article which owns this note */ - article: Article; + article: Article /** note content */ - content: Scalars['String']['output']; + content: Scalars['String']['output'] /** note create time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** note id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** article thread which owns this note */ - thread: ArticleThread; + thread: ArticleThread /** note last update time */ - updated_at: Scalars['DateTime']['output']; + updated_at: Scalars['DateTime']['output'] /** user who owns this note */ - user: User; -}; - + user: User +} /** article thread note */ export type ArticleThreadNoteArticleArgs = { - trashed?: InputMaybe; -}; - + trashed?: InputMaybe +} /** article thread note */ export type ArticleThreadNoteThreadArgs = { - trashed?: InputMaybe; -}; + trashed?: InputMaybe +} export type AssignUserToDeskInput = { /** desk id */ - desk_id: Scalars['ID']['input']; + desk_id: Scalars['ID']['input'] /** user id */ - user_id: Scalars['ID']['input']; -}; + user_id: Scalars['ID']['input'] +} export type AuthToken = { - __typename?: 'AuthToken'; + __typename?: 'AuthToken' /** access token */ - access_token: Scalars['String']['output']; - expires_in: Scalars['Int']['output']; - token_type: Scalars['String']['output']; - user_id: Scalars['ID']['output']; -}; + access_token: Scalars['String']['output'] + expires_in: Scalars['Int']['output'] + token_type: Scalars['String']['output'] + user_id: Scalars['ID']['output'] +} /** State */ export enum AutoPostingState { @@ -326,54 +323,54 @@ export enum AutoPostingState { /** the auto posting was posted */ Posted = 'posted', /** the auto posting was waiting for post */ - Waiting = 'waiting' + Waiting = 'waiting', } export type Billing = { - __typename?: 'Billing'; + __typename?: 'Billing' /** * user's stripe account balance * @deprecated No longer supported */ - account_balance: Scalars['String']['output']; + account_balance: Scalars['String']['output'] /** subscription is canceled or not */ - canceled: Scalars['Boolean']['output']; + canceled: Scalars['Boolean']['output'] /** user's storipress credit balance */ - credit_balance: Scalars['String']['output']; + credit_balance: Scalars['String']['output'] /** * discount(coupon) applies to current invoice * @deprecated use next_pm_discounts */ - discount: Scalars['String']['output']; + discount: Scalars['String']['output'] /** subscription ending time */ - ends_at?: Maybe; - has_historical_subscriptions: Scalars['Boolean']['output']; + ends_at?: Maybe + has_historical_subscriptions: Scalars['Boolean']['output'] /** user has a payment method or not */ - has_pm: Scalars['Boolean']['output']; - has_prophet: Scalars['Boolean']['output']; + has_pm: Scalars['Boolean']['output'] + has_prophet: Scalars['Boolean']['output'] /** user id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** * billing cycle, * possible values: monthly(stripe), yearly(stripe), lifetime(appsumo) */ - interval?: Maybe; + interval?: Maybe /** next upcoming invoice time */ - next_pm_date?: Maybe; + next_pm_date?: Maybe /** next upcoming invoice discounts */ - next_pm_discounts: Array; + next_pm_discounts: Array /** next upcoming invoice total price(tax excluded) */ - next_pm_subtotal?: Maybe; + next_pm_subtotal?: Maybe /** next upcoming invoice tax price */ - next_pm_tax?: Maybe; + next_pm_tax?: Maybe /** next upcoming invoice taxes details */ - next_pm_taxes: Array; + next_pm_taxes: Array /** next upcoming invoice total price(tax included) */ - next_pm_total?: Maybe; + next_pm_total?: Maybe /** canceled subscription is still in grace period or not */ - on_grace_period: Scalars['Boolean']['output']; + on_grace_period: Scalars['Boolean']['output'] /** user is during the trial period or not */ - on_trial: Scalars['Boolean']['output']; + on_trial: Scalars['Boolean']['output'] /** * subscription plan info: * - blogger(stripe) @@ -388,397 +385,397 @@ export type Billing = { * - storipress_bf_tier3(dealfuel) * - prophet */ - plan?: Maybe; + plan?: Maybe /** subscription plan id */ - plan_id?: Maybe; + plan_id?: Maybe /** card last 4 number */ - pm_last_four?: Maybe; + pm_last_four?: Maybe /** card brand */ - pm_type?: Maybe; + pm_type?: Maybe /** user's publications number */ - publications_count: Scalars['Int']['output']; + publications_count: Scalars['Int']['output'] /** user's publications quota */ - publications_quota: Scalars['Int']['output']; + publications_quota: Scalars['Int']['output'] /** subscription editor seats */ - quantity?: Maybe; + quantity?: Maybe /** possible values: prophet, viededingue, dealfuel, appsumo, stripe */ - referer?: Maybe; + referer?: Maybe /** in used editors number */ - seats_in_use: Scalars['Int']['output']; + seats_in_use: Scalars['Int']['output'] /** * subscription source, * possible values: stripe, appsumo */ - source?: Maybe; + source?: Maybe /** user has active subscription or not */ - subscribed: Scalars['Boolean']['output']; + subscribed: Scalars['Boolean']['output'] /** free trail ending time */ - trial_ends_at?: Maybe; -}; + trial_ends_at?: Maybe +} export type BillingDiscount = { - __typename?: 'BillingDiscount'; + __typename?: 'BillingDiscount' /** * discount amount, * e.g. 500 */ - amount?: Maybe; + amount?: Maybe /** * fixed type of discount value, * e.g. 300 means $3.00 */ - amount_off?: Maybe; + amount_off?: Maybe /** * discount name, * e.g. 10% off for 3 months */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** * percentage type of discount value, * e.g. 10.0 means 10% */ - percent_off?: Maybe; -}; + percent_off?: Maybe +} export type BillingTax = { - __typename?: 'BillingTax'; + __typename?: 'BillingTax' /** * the total tax that will be paid, * e.g. 1650 */ - amount: Scalars['String']['output']; + amount: Scalars['String']['output'] /** * the jurisdiction for the tax rate, * e.g. Australia */ - jurisdiction?: Maybe; + jurisdiction?: Maybe /** * tax name, * e.g. GST */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** * the tax rate percent out of 100, * e.g. 10.0 */ - percentage?: Maybe; -}; + percentage?: Maybe +} export type Block = { - __typename?: 'Block'; + __typename?: 'Block' /** block create time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** block id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** block last update time */ - updated_at: Scalars['DateTime']['output']; + updated_at: Scalars['DateTime']['output'] /** block uuid */ - uuid: Scalars['String']['output']; -}; + uuid: Scalars['String']['output'] +} /** A paginated list of Block items. */ export type BlockPaginator = { - __typename?: 'BlockPaginator'; + __typename?: 'BlockPaginator' /** A list of Block items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** email update form */ export type ChangeAccountEmailInput = { /** new account email field */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** current password field */ - password: Scalars['String']['input']; -}; + password: Scalars['String']['input'] +} export type ChangeArticleStageInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** stage id */ - stage_id: Scalars['ID']['input']; -}; + stage_id: Scalars['ID']['input'] +} export type ChangeRoleInput = { /** user id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** role id */ - role_id: Scalars['ID']['input']; -}; + role_id: Scalars['ID']['input'] +} export type CheckCustomDomainAvailabilityInput = { /** domain name */ - value: Scalars['String']['input']; -}; + value: Scalars['String']['input'] +} export type CheckCustomDomainAvailabilityResponse = { - __typename?: 'CheckCustomDomainAvailabilityResponse'; + __typename?: 'CheckCustomDomainAvailabilityResponse' /** whether this domain is available or not */ - available: Scalars['Boolean']['output']; + available: Scalars['Boolean']['output'] /** whether this domain is available for mailing or not */ - mail: Scalars['Boolean']['output']; + mail: Scalars['Boolean']['output'] /** whether this domain is available for redirect or not */ - redirect: Scalars['Boolean']['output']; + redirect: Scalars['Boolean']['output'] /** whether this domain is available for static site or not */ - site: Scalars['Boolean']['output']; -}; + site: Scalars['Boolean']['output'] +} /** email confirm form */ export type ConfirmEmailInput = { /** email field */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** link expired time field */ - expire_on: Scalars['Int']['input']; + expire_on: Scalars['Int']['input'] /** hmac for inputs */ - signature: Scalars['String']['input']; -}; + signature: Scalars['String']['input'] +} export type ConfirmProphetCheckoutInput = { - checkout_id: Scalars['String']['input']; -}; + checkout_id: Scalars['String']['input'] +} export type ConfirmProphetCheckoutResponse = { - __typename?: 'ConfirmProphetCheckoutResponse'; - email: Scalars['String']['output']; - exists: Scalars['Boolean']['output']; - first_name?: Maybe; - last_name?: Maybe; -}; + __typename?: 'ConfirmProphetCheckoutResponse' + email: Scalars['String']['output'] + exists: Scalars['Boolean']['output'] + first_name?: Maybe + last_name?: Maybe +} export type CreateAppSubscriptionInput = { - price_id: Scalars['String']['input']; - promotion_code?: InputMaybe; - quantity?: InputMaybe; -}; + price_id: Scalars['String']['input'] + promotion_code?: InputMaybe + quantity?: InputMaybe +} export type CreateArticleInput = { /** author ids(user id) */ - author_ids?: InputMaybe>; + author_ids?: InputMaybe> /** article description */ - blurb?: InputMaybe; + blurb?: InputMaybe /** desk id */ - desk_id: Scalars['ID']['input']; + desk_id: Scalars['ID']['input'] /** article published_at */ - published_at?: InputMaybe; + published_at?: InputMaybe /** article title */ - title?: InputMaybe; -}; + title?: InputMaybe +} export type CreateArticleThreadInput = { /** article id */ - article_id: Scalars['ID']['input']; + article_id: Scalars['ID']['input'] /** position in article document */ - position: Scalars['JSON']['input']; -}; + position: Scalars['JSON']['input'] +} export type CreateBlockInput = { /** block archive file */ - file?: InputMaybe; + file?: InputMaybe /** presigned upload url key */ - key?: InputMaybe; + key?: InputMaybe /** signature of the request */ - signature?: InputMaybe; -}; + signature?: InputMaybe +} export type CreateCustomFieldGroupInput = { - description?: InputMaybe; + description?: InputMaybe /** custom field group key */ - key: Scalars['String']['input']; + key: Scalars['String']['input'] /** custom field group name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** custom field group type */ - type: CustomFieldGroupType; -}; + type: CustomFieldGroupType +} export type CreateCustomFieldInput = { /** custom field group id */ - custom_field_group_id: Scalars['ID']['input']; - description?: InputMaybe; + custom_field_group_id: Scalars['ID']['input'] + description?: InputMaybe /** custom field key */ - key: Scalars['String']['input']; + key: Scalars['String']['input'] /** custom field name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** custom field options */ - options?: InputMaybe; + options?: InputMaybe /** custom field type */ - type: CustomFieldType; -}; + type: CustomFieldType +} export type CreateCustomFieldValueInput = { /** custom field id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target id */ - target_id: Scalars['ID']['input']; + target_id: Scalars['ID']['input'] /** custom field value */ - value?: InputMaybe; -}; + value?: InputMaybe +} export type CreateDeskInput = { /** desk description */ - description?: InputMaybe; + description?: InputMaybe /** parent desk id */ - desk_id?: InputMaybe; + desk_id?: InputMaybe /** layout id */ - layout_id?: InputMaybe; + layout_id?: InputMaybe /** desk name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** determinate desk is open_access or not */ - open_access?: InputMaybe; + open_access?: InputMaybe /** seo meta data */ - seo?: InputMaybe; -}; + seo?: InputMaybe +} export type CreateInvitationInput = { /** desk id */ - desk_id: Array; + desk_id: Array /** email */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** role id */ - role_id: Scalars['ID']['input']; -}; + role_id: Scalars['ID']['input'] +} export type CreateLayoutInput = { /** layout data */ - data?: InputMaybe; + data?: InputMaybe /** layout name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** template id */ - template: Scalars['String']['input']; -}; + template: Scalars['String']['input'] +} export type CreateLinkInput = { - source: LinkSource; - target_id?: InputMaybe; - target_type?: InputMaybe; - value?: InputMaybe; -}; + source: LinkSource + target_id?: InputMaybe + target_type?: InputMaybe + value?: InputMaybe +} export type CreateLinterInput = { /** linter description */ - description?: InputMaybe; + description?: InputMaybe /** linter prompt */ - prompt: Scalars['String']['input']; + prompt: Scalars['String']['input'] /** linter title */ - title: Scalars['String']['input']; -}; + title: Scalars['String']['input'] +} export type CreateNoteInput = { /** note content */ - content: Scalars['String']['input']; + content: Scalars['String']['input'] /** thread id */ - thread_id: Scalars['ID']['input']; -}; + thread_id: Scalars['ID']['input'] +} export type CreatePageInput = { /** live content */ - current?: InputMaybe; + current?: InputMaybe /** draft content */ - draft?: InputMaybe; + draft?: InputMaybe /** layout id */ - layout_id?: InputMaybe; + layout_id?: InputMaybe /** seo meta data */ - seo?: InputMaybe; + seo?: InputMaybe /** * page title, * e.g. About Us */ - title: Scalars['String']['input']; -}; + title: Scalars['String']['input'] +} export type CreateRedirectionInput = { /** path */ - path: Scalars['String']['input']; + path: Scalars['String']['input'] /** target */ - target: Scalars['String']['input']; -}; + target: Scalars['String']['input'] +} export type CreateScraperArticleInput = { /** articles' path */ - path: Array; + path: Array /** scraper token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type CreateScraperSelectorInput = { /** arbitrary data */ - data?: InputMaybe; + data?: InputMaybe /** scraper token */ - token: Scalars['String']['input']; + token: Scalars['String']['input'] /** selector type */ - type: Scalars['String']['input']; + type: Scalars['String']['input'] /** selector value */ - value?: InputMaybe; -}; + value?: InputMaybe +} export type CreateSiteInput = { /** emails which will be invited to current publication */ - invites: Array; + invites: Array /** publication name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** publication timezone */ - timezone?: InputMaybe; -}; + timezone?: InputMaybe +} export type CreateStageInput = { /** target stage id, place new stage after target stage id */ - after: Scalars['ID']['input']; + after: Scalars['ID']['input'] /** stage color */ - color: Scalars['String']['input']; + color: Scalars['String']['input'] /** stage icon */ - icon: Scalars['String']['input']; + icon: Scalars['String']['input'] /** stage name */ - name: Scalars['String']['input']; -}; + name: Scalars['String']['input'] +} export type CreateTagInput = { /** tag description */ - description?: InputMaybe; + description?: InputMaybe /** tag name */ - name: Scalars['String']['input']; -}; + name: Scalars['String']['input'] +} export type CreateWebflowCollectionInput = { /** collection Type */ - type: WebflowCollectionType; -}; + type: WebflowCollectionType +} export type Credit = { - __typename?: 'Credit'; + __typename?: 'Credit' /** credit amount */ - amount: Scalars['String']['output']; + amount: Scalars['String']['output'] /** credit remark */ - data?: Maybe; + data?: Maybe /** * credit earned at * (the time that state was from draft to available) */ - earned_at?: Maybe; + earned_at?: Maybe /** * credit earned source, * e.g. invitation */ - earned_from: Scalars['String']['output']; + earned_from: Scalars['String']['output'] /** credit id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** credit initialized at */ - initialized_at: Scalars['DateTime']['output']; + initialized_at: Scalars['DateTime']['output'] /** credit state */ - state: CreditState; + state: CreditState /** credit used or not */ - used: Scalars['Boolean']['output']; + used: Scalars['Boolean']['output'] /** credit used at */ - used_at?: Maybe; -}; + used_at?: Maybe +} /** A paginated list of Credit items. */ export type CreditPaginator = { - __typename?: 'CreditPaginator'; + __typename?: 'CreditPaginator' /** A list of Credit items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** State */ export enum CreditState { @@ -789,41 +786,41 @@ export enum CreditState { /** Used */ Used = 'used', /** Void */ - Void = 'void' + Void = 'void', } export type CreditsOverview = { - __typename?: 'CreditsOverview'; + __typename?: 'CreditsOverview' /** default credit amount of current type */ - amount: Scalars['String']['output']; + amount: Scalars['String']['output'] /** available credit number */ - count: Scalars['Int']['output']; + count: Scalars['Int']['output'] /** total amount */ - total: Scalars['String']['output']; + total: Scalars['String']['output'] /** * type of credit, * e.g. invitation */ - type: Scalars['String']['output']; -}; + type: Scalars['String']['output'] +} export type CustomDomain = { - __typename?: 'CustomDomain'; - domain: Scalars['String']['output']; - error?: Maybe; - group: CustomDomainGroup; - hostname: Scalars['String']['output']; - ok: Scalars['Boolean']['output']; - type: Scalars['String']['output']; - value: Scalars['String']['output']; -}; + __typename?: 'CustomDomain' + domain: Scalars['String']['output'] + error?: Maybe + group: CustomDomainGroup + hostname: Scalars['String']['output'] + ok: Scalars['Boolean']['output'] + type: Scalars['String']['output'] + value: Scalars['String']['output'] +} export type CustomDomainDnsStatus = { - __typename?: 'CustomDomainDnsStatus'; - mail: Array; - redirect: Array; - site: Array; -}; + __typename?: 'CustomDomainDnsStatus' + mail: Array + redirect: Array + site: Array +} /** Group */ export enum CustomDomainGroup { @@ -832,108 +829,108 @@ export enum CustomDomainGroup { /** Redirect */ Redirect = 'redirect', /** Site */ - Site = 'site' + Site = 'site', } export type CustomField = { - __typename?: 'CustomField'; - description?: Maybe; - group: CustomFieldGroup; - id: Scalars['ID']['output']; - key: Scalars['ID']['output']; - name: Scalars['String']['output']; - options?: Maybe; - type: CustomFieldType; - values: Array; -}; + __typename?: 'CustomField' + description?: Maybe + group: CustomFieldGroup + id: Scalars['ID']['output'] + key: Scalars['ID']['output'] + name: Scalars['String']['output'] + options?: Maybe + type: CustomFieldType + values: Array +} export type CustomFieldBooleanOptions = { - __typename?: 'CustomFieldBooleanOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldBooleanOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldBooleanValue = { - __typename?: 'CustomFieldBooleanValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldBooleanValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldColorOptions = { - __typename?: 'CustomFieldColorOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldColorOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldColorValue = { - __typename?: 'CustomFieldColorValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldColorValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldDateOptions = { - __typename?: 'CustomFieldDateOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - time?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldDateOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + time?: Maybe + type: CustomFieldType +} export type CustomFieldDateValue = { - __typename?: 'CustomFieldDateValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldDateValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldFileOptions = { - __typename?: 'CustomFieldFileOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldFileOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldFileValue = { - __typename?: 'CustomFieldFileValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldFileValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldFileValueAttributes = { - __typename?: 'CustomFieldFileValueAttributes'; - key: Scalars['ID']['output']; - mime_type: Scalars['String']['output']; - size: Scalars['Int']['output']; - url: Scalars['String']['output']; -}; + __typename?: 'CustomFieldFileValueAttributes' + key: Scalars['ID']['output'] + mime_type: Scalars['String']['output'] + size: Scalars['Int']['output'] + url: Scalars['String']['output'] +} export type CustomFieldGroup = { - __typename?: 'CustomFieldGroup'; - description?: Maybe; + __typename?: 'CustomFieldGroup' + description?: Maybe /** @deprecated https://github.com/nuwave/lighthouse/issues/332 */ - desks: Array; - fields: Array; - id: Scalars['ID']['output']; - key: Scalars['ID']['output']; - name: Scalars['String']['output']; + desks: Array + fields: Array + id: Scalars['ID']['output'] + key: Scalars['ID']['output'] + name: Scalars['String']['output'] /** @deprecated https://github.com/nuwave/lighthouse/issues/332 */ - tags: Array; - type: CustomFieldGroupType; -}; + tags: Array + type: CustomFieldGroupType +} /** A paginated list of CustomFieldGroup items. */ export type CustomFieldGroupPaginator = { - __typename?: 'CustomFieldGroupPaginator'; + __typename?: 'CustomFieldGroupPaginator' /** A list of CustomFieldGroup items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** Group type */ export enum CustomFieldGroupType { @@ -946,60 +943,72 @@ export enum CustomFieldGroupType { /** Publication metafield */ PublicationMetafield = 'publicationMetafield', /** Tag metafield */ - TagMetafield = 'tagMetafield' + TagMetafield = 'tagMetafield', } export type CustomFieldIgnoreOptions = { - __typename?: 'CustomFieldIgnoreOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldIgnoreOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldJsonOptions = { - __typename?: 'CustomFieldJsonOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldJsonOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldJsonValue = { - __typename?: 'CustomFieldJsonValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldJsonValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldNumberOptions = { - __typename?: 'CustomFieldNumberOptions'; - float?: Maybe; - max?: Maybe; - min?: Maybe; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldNumberOptions' + float?: Maybe + max?: Maybe + min?: Maybe + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldNumberValue = { - __typename?: 'CustomFieldNumberValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldNumberValue' + id: Scalars['ID']['output'] + value?: Maybe +} -export type CustomFieldOptions = CustomFieldBooleanOptions | CustomFieldColorOptions | CustomFieldDateOptions | CustomFieldFileOptions | CustomFieldIgnoreOptions | CustomFieldJsonOptions | CustomFieldNumberOptions | CustomFieldReferenceOptions | CustomFieldRichTextOptions | CustomFieldSelectOptions | CustomFieldTextOptions | CustomFieldUrlOptions; +export type CustomFieldOptions = + | CustomFieldBooleanOptions + | CustomFieldColorOptions + | CustomFieldDateOptions + | CustomFieldFileOptions + | CustomFieldIgnoreOptions + | CustomFieldJsonOptions + | CustomFieldNumberOptions + | CustomFieldReferenceOptions + | CustomFieldRichTextOptions + | CustomFieldSelectOptions + | CustomFieldTextOptions + | CustomFieldUrlOptions export type CustomFieldReferenceOptions = { - __typename?: 'CustomFieldReferenceOptions'; - collection_id?: Maybe; - multiple?: Maybe; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - target: CustomFieldReferenceTarget; - type: CustomFieldType; -}; + __typename?: 'CustomFieldReferenceOptions' + collection_id?: Maybe + multiple?: Maybe + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + target: CustomFieldReferenceTarget + type: CustomFieldType +} /** Reference target */ export enum CustomFieldReferenceTarget { @@ -1012,64 +1021,64 @@ export enum CustomFieldReferenceTarget { /** User */ User = 'user', /** Webflow */ - Webflow = 'webflow' + Webflow = 'webflow', } -export type CustomFieldReferenceTargetValue = Article | Desk | Tag | User | WebflowReference; +export type CustomFieldReferenceTargetValue = Article | Desk | Tag | User | WebflowReference export type CustomFieldReferenceValue = { - __typename?: 'CustomFieldReferenceValue'; - id: Scalars['ID']['output']; - value?: Maybe>; -}; + __typename?: 'CustomFieldReferenceValue' + id: Scalars['ID']['output'] + value?: Maybe> +} export type CustomFieldRichTextOptions = { - __typename?: 'CustomFieldRichTextOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldRichTextOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldRichTextValue = { - __typename?: 'CustomFieldRichTextValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldRichTextValue' + id: Scalars['ID']['output'] + value?: Maybe +} export type CustomFieldSelectOptions = { - __typename?: 'CustomFieldSelectOptions'; - choices?: Maybe; - multiple?: Maybe; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldSelectOptions' + choices?: Maybe + multiple?: Maybe + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldSelectValue = { - __typename?: 'CustomFieldSelectValue'; - id: Scalars['ID']['output']; - value?: Maybe>; -}; + __typename?: 'CustomFieldSelectValue' + id: Scalars['ID']['output'] + value?: Maybe> +} export type CustomFieldTextOptions = { - __typename?: 'CustomFieldTextOptions'; - max?: Maybe; - min?: Maybe; - multiline?: Maybe; - placeholder?: Maybe; - regex?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldTextOptions' + max?: Maybe + min?: Maybe + multiline?: Maybe + placeholder?: Maybe + regex?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldTextValue = { - __typename?: 'CustomFieldTextValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldTextValue' + id: Scalars['ID']['output'] + value?: Maybe +} /** Type */ export enum CustomFieldType { @@ -1094,321 +1103,339 @@ export enum CustomFieldType { /** Text */ Text = 'text', /** Url */ - Url = 'url' + Url = 'url', } export type CustomFieldUrlOptions = { - __typename?: 'CustomFieldUrlOptions'; - placeholder?: Maybe; - repeat?: Maybe; - required?: Maybe; - type: CustomFieldType; -}; + __typename?: 'CustomFieldUrlOptions' + placeholder?: Maybe + repeat?: Maybe + required?: Maybe + type: CustomFieldType +} export type CustomFieldUrlValue = { - __typename?: 'CustomFieldUrlValue'; - id: Scalars['ID']['output']; - value?: Maybe; -}; + __typename?: 'CustomFieldUrlValue' + id: Scalars['ID']['output'] + value?: Maybe +} -export type CustomFieldValue = CustomFieldBooleanValue | CustomFieldColorValue | CustomFieldDateValue | CustomFieldFileValue | CustomFieldJsonValue | CustomFieldNumberValue | CustomFieldReferenceValue | CustomFieldRichTextValue | CustomFieldSelectValue | CustomFieldTextValue | CustomFieldUrlValue; +export type CustomFieldValue = + | CustomFieldBooleanValue + | CustomFieldColorValue + | CustomFieldDateValue + | CustomFieldFileValue + | CustomFieldJsonValue + | CustomFieldNumberValue + | CustomFieldReferenceValue + | CustomFieldRichTextValue + | CustomFieldSelectValue + | CustomFieldTextValue + | CustomFieldUrlValue export type DateRange = { - from: Scalars['DateTime']['input']; - to: Scalars['DateTime']['input']; -}; + from: Scalars['DateTime']['input'] + to: Scalars['DateTime']['input'] +} export type DeleteScraperArticleInput = { /** scraper article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** scraper token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type DeleteScraperSelectorInput = { /** scraper selector id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** scraper token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type DeleteSlackChannelsInput = { /** notify channels */ - channels: Array; + channels: Array /** notify condition */ - key: Scalars['ID']['input']; -}; + key: Scalars['ID']['input'] +} export type Design = { - __typename?: 'Design'; + __typename?: 'Design' /** live content */ - current?: Maybe; + current?: Maybe /** draft content */ - draft?: Maybe; + draft?: Maybe /** design key */ - key: Scalars['ID']['output']; + key: Scalars['ID']['output'] /** seo meta data */ - seo?: Maybe; -}; + seo?: Maybe +} export type Desk = { - __typename?: 'Desk'; + __typename?: 'Desk' /** articles number in this desk */ - articles_count: Scalars['Int']['output']; + articles_count: Scalars['Int']['output'] /** desk description */ - description?: Maybe; + description?: Maybe /** parent desk */ - desk?: Maybe; + desk?: Maybe /** child desks */ - desks: Array; + desks: Array /** draft articles number in the desk(included sub-desks) */ - draft_articles_count: Scalars['Int']['output']; + draft_articles_count: Scalars['Int']['output'] /** desk id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** desk layout */ - layout?: Maybe; + layout?: Maybe /** custom fields for metafield */ - metafields: Array; + metafields: Array /** desk name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** determinate desk is open_access or not */ - open_access: Scalars['Boolean']['output']; + open_access: Scalars['Boolean']['output'] /** desk order */ - order: Scalars['Int']['output']; + order: Scalars['Int']['output'] /** published articles number in the desk(included sub-desks) */ - published_articles_count: Scalars['Int']['output']; + published_articles_count: Scalars['Int']['output'] /** seo meta data */ - seo?: Maybe; + seo?: Maybe /** desk string id */ - sid: Scalars['ID']['output']; + sid: Scalars['ID']['output'] /** * desk slug, use for structure url, * e.g. /desks/{slug} */ - slug: Scalars['String']['output']; + slug: Scalars['String']['output'] /** total articles number in the desk(included sub-desks) */ - total_articles_count: Scalars['Int']['output']; -}; + total_articles_count: Scalars['Int']['output'] +} export type DeskLayoutInput = { - connect?: InputMaybe; - disconnect?: InputMaybe; -}; + connect?: InputMaybe + disconnect?: InputMaybe +} export type Email = { - __typename?: 'Email'; + __typename?: 'Email' /** email content(HTML format) */ - content: Scalars['String']['output']; + content: Scalars['String']['output'] /** email id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** email subject(title) */ - subject: Scalars['String']['output']; + subject: Scalars['String']['output'] /** email target */ - target?: Maybe; + target?: Maybe /** email receiver(recipient) */ - to: Scalars['EmailString']['output']; -}; + to: Scalars['EmailString']['output'] +} export type EmailDnsRecord = { - __typename?: 'EmailDNSRecord'; - hostname: Scalars['String']['output']; - type: Scalars['String']['output']; - value: Scalars['String']['output']; -}; + __typename?: 'EmailDNSRecord' + hostname: Scalars['String']['output'] + type: Scalars['String']['output'] + value: Scalars['String']['output'] +} -export type EmailTargetUnion = Article; +export type EmailTargetUnion = Article export type EnableCustomDomainInput = { /** * domain name, * e.g. example.com */ - value: Scalars['String']['input']; -}; + value: Scalars['String']['input'] +} export type EnableSubscriptionInput = { /** subscription panel background color */ - accent_color?: InputMaybe; + accent_color?: InputMaybe /** subscription currency */ - currency?: InputMaybe; + currency?: InputMaybe /** support email */ - email?: InputMaybe; + email?: InputMaybe /** subscription monthly price */ - monthly_price?: InputMaybe; + monthly_price?: InputMaybe /** enable newsletter or not */ - newsletter: Scalars['Boolean']['input']; + newsletter: Scalars['Boolean']['input'] /** enable paid subscription or not */ - subscription: Scalars['Boolean']['input']; + subscription: Scalars['Boolean']['input'] /** subscription yearly price */ - yearly_price?: InputMaybe; -}; + yearly_price?: InputMaybe +} export type FacebookConfiguration = { - __typename?: 'FacebookConfiguration'; - pages?: Maybe>; -}; + __typename?: 'FacebookConfiguration' + pages?: Maybe> +} export type FacebookPage = { - __typename?: 'FacebookPage'; + __typename?: 'FacebookPage' /** facebook page name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** facebook page id */ - page_id: Scalars['String']['output']; + page_id: Scalars['String']['output'] /** facebook page thumbnail */ - thumbnail: Scalars['String']['output']; -}; + thumbnail: Scalars['String']['output'] +} export type FacebookSearchPage = { - __typename?: 'FacebookSearchPage'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'FacebookSearchPage' + id: Scalars['ID']['output'] + name: Scalars['String']['output'] +} export type HubSpotInfo = { - __typename?: 'HubSpotInfo'; + __typename?: 'HubSpotInfo' /** whether the integration is activated or not */ - activated_at?: Maybe; -}; + activated_at?: Maybe +} export type IframelyIframelyInput = { /** * iframely params, * reference: https://iframely.com/docs/parameters */ - params: Scalars['JSON']['input']; + params: Scalars['JSON']['input'] /** target url */ - url: Scalars['String']['input']; -}; + url: Scalars['String']['input'] +} export type Image = { - __typename?: 'Image'; + __typename?: 'Image' /** image caption */ - caption?: Maybe; + caption?: Maybe /** image description */ - description?: Maybe; + description?: Maybe /** image height */ - height: Scalars['Int']['output']; + height: Scalars['Int']['output'] /** mime type */ - mime: Scalars['String']['output']; + mime: Scalars['String']['output'] /** filename */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** image size */ - size: Scalars['Int']['output']; + size: Scalars['Int']['output'] /** image title */ - title?: Maybe; + title?: Maybe /** identify token */ - token: Scalars['String']['output']; + token: Scalars['String']['output'] /** custom transformation */ - transformation?: Maybe; + transformation?: Maybe /** image url */ - url: Scalars['String']['output']; + url: Scalars['String']['output'] /** image width */ - width: Scalars['Int']['output']; -}; + width: Scalars['Int']['output'] +} export type ImportSiteContentFromWordPressInput = { /** file exported from storipress wordpress plugin */ - file?: InputMaybe; + file?: InputMaybe /** presigned upload url key */ - key?: InputMaybe; + key?: InputMaybe /** signature of the request */ - signature?: InputMaybe; -}; + signature?: InputMaybe +} export type ImportSiteContentInput = { - file: Scalars['Upload']['input']; -}; + file: Scalars['Upload']['input'] +} export type ImportSubscribersFromCsvFileInput = { /** csv file */ - file?: InputMaybe; + file?: InputMaybe /** presigned upload url key */ - key?: InputMaybe; + key?: InputMaybe /** signature of the request */ - signature?: InputMaybe; -}; + signature?: InputMaybe +} export type InitializeCustomDomainInput = { /** domain name for mailing */ - mail?: InputMaybe; + mail?: InputMaybe /** domain for static site redirection */ - redirect: Array; + redirect: Array /** domain name for static site */ - site?: InputMaybe; -}; + site?: InputMaybe +} export type InitializeSiteInput = { - desks: Array; - publication: Scalars['String']['input']; -}; + desks: Array + publication: Scalars['String']['input'] +} export type Integration = { - __typename?: 'Integration'; + __typename?: 'Integration' /** determinate whether the integration is activated or not */ - activated_at?: Maybe; + activated_at?: Maybe /** integration read-only data */ - configuration?: Maybe; + configuration?: Maybe /** integration data */ - data: Scalars['JSON']['output']; + data: Scalars['JSON']['output'] /** integration key */ - key: Scalars['ID']['output']; -}; + key: Scalars['ID']['output'] +} -export type IntegrationConfiguration = FacebookConfiguration | IntegrationIgnoreConfiguration | LinkedInConfiguration | ShopifyConfiguration | SlackConfiguration | TwitterConfiguration | WebflowConfiguration; +export type IntegrationConfiguration = + | FacebookConfiguration + | IntegrationIgnoreConfiguration + | LinkedInConfiguration + | ShopifyConfiguration + | SlackConfiguration + | TwitterConfiguration + | WebflowConfiguration export type IntegrationIgnoreConfiguration = { - __typename?: 'IntegrationIgnoreConfiguration'; + __typename?: 'IntegrationIgnoreConfiguration' /** integration key */ - key?: Maybe; -}; + key?: Maybe +} export type Invitation = { - __typename?: 'Invitation'; + __typename?: 'Invitation' /** desks belongs to the user */ - desks: Array; + desks: Array /** email */ - email: Scalars['String']['output']; + email: Scalars['String']['output'] /** invitation id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** role */ - role: Scalars['String']['output']; -}; + role: Scalars['String']['output'] +} export type Layout = { - __typename?: 'Layout'; + __typename?: 'Layout' /** layout data */ - data?: Maybe; + data?: Maybe /** layout id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** layout name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** layout preview image */ - preview?: Maybe; + preview?: Maybe /** template id */ - template: Scalars['String']['output']; -}; + template: Scalars['String']['output'] +} export type Link = { - __typename?: 'Link'; + __typename?: 'Link' /** link id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** determinate the link is a reference(internal) or not */ - reference: Scalars['Boolean']['output']; + reference: Scalars['Boolean']['output'] /** * link source, e.g. * builder, editor */ - source: LinkSource; - target?: Maybe; - value?: Maybe; -}; + source: LinkSource + target?: Maybe + value?: Maybe +} /** Source */ export enum LinkSource { /** builder link */ Builder = 'builder', /** editor(article) link */ - Editor = 'editor' + Editor = 'editor', } /** Target */ @@ -1422,1513 +1449,1343 @@ export enum LinkTarget { /** Tag */ Tag = 'tag', /** User */ - User = 'user' + User = 'user', } -export type LinkTargetUnion = Article | Desk | Page | Tag | User; +export type LinkTargetUnion = Article | Desk | Page | Tag | User export type LinkedInAuthors = { - __typename?: 'LinkedInAuthors'; + __typename?: 'LinkedInAuthors' /** linkedin author id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** linkedin author name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** linkedin author thumbnail */ - thumbnail?: Maybe; -}; + thumbnail?: Maybe +} export type LinkedInConfiguration = { - __typename?: 'LinkedInConfiguration'; + __typename?: 'LinkedInConfiguration' /** linkedin authors */ - authors: Array; + authors: Array /** linkedin email */ - email: Scalars['String']['output']; + email: Scalars['String']['output'] /** linkedin user id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** linkedin page name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** linkedin page thumbnail */ - thumbnail?: Maybe; -}; + thumbnail?: Maybe +} export type Linter = { - __typename?: 'Linter'; + __typename?: 'Linter' /** linter create time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** linter description */ - description: Scalars['String']['output']; + description: Scalars['String']['output'] /** linter id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** linter prompt */ - prompt: Scalars['String']['output']; + prompt: Scalars['String']['output'] /** linter title */ - title: Scalars['String']['output']; + title: Scalars['String']['output'] /** linter last update time */ - updated_at: Scalars['DateTime']['output']; -}; + updated_at: Scalars['DateTime']['output'] +} /** A paginated list of Linter edges. */ export type LinterConnection = { - __typename?: 'LinterConnection'; + __typename?: 'LinterConnection' /** A list of Linter edges. */ - edges: Array; + edges: Array /** Pagination information about the list of edges. */ - pageInfo: PageInfo; -}; + pageInfo: PageInfo +} /** An edge that contains a node of type Linter and a cursor. */ export type LinterEdge = { - __typename?: 'LinterEdge'; + __typename?: 'LinterEdge' /** A unique cursor that can be used for pagination. */ - cursor: Scalars['String']['output']; + cursor: Scalars['String']['output'] /** The Linter node. */ - node: Linter; -}; + node: Linter +} export type LiveUpdate = { - __typename?: 'LiveUpdate'; - article_created?: Maybe
; - article_deleted?: Maybe
; - article_thread_created?: Maybe; - article_thread_note_created?: Maybe; - article_thread_note_deleted?: Maybe; - article_thread_note_updated?: Maybe; - article_thread_resolved?: Maybe; - article_thread_updated?: Maybe; - article_updated?: Maybe
; - design_updated?: Maybe; - desk_created?: Maybe; - desk_deleted?: Maybe; - desk_updated?: Maybe; - integration_updated?: Maybe; - invitation_created?: Maybe; - invitation_deleted?: Maybe; - invitation_updated?: Maybe; - layout_created?: Maybe; - layout_deleted?: Maybe; - layout_updated?: Maybe; - page_created?: Maybe; - page_deleted?: Maybe; - page_updated?: Maybe; - release_created?: Maybe; - release_updated?: Maybe; - site_updated?: Maybe; - stage_created?: Maybe; - stage_deleted?: Maybe; - stage_updated?: Maybe; - tag_created?: Maybe; - tag_deleted?: Maybe; - tag_updated?: Maybe; - user_created?: Maybe; - user_deleted?: Maybe; - user_updated?: Maybe; -}; + __typename?: 'LiveUpdate' + article_created?: Maybe
+ article_deleted?: Maybe
+ article_thread_created?: Maybe + article_thread_note_created?: Maybe + article_thread_note_deleted?: Maybe + article_thread_note_updated?: Maybe + article_thread_resolved?: Maybe + article_thread_updated?: Maybe + article_updated?: Maybe
+ design_updated?: Maybe + desk_created?: Maybe + desk_deleted?: Maybe + desk_updated?: Maybe + integration_updated?: Maybe + invitation_created?: Maybe + invitation_deleted?: Maybe + invitation_updated?: Maybe + layout_created?: Maybe + layout_deleted?: Maybe + layout_updated?: Maybe + page_created?: Maybe + page_deleted?: Maybe + page_updated?: Maybe + release_created?: Maybe + release_updated?: Maybe + site_updated?: Maybe + stage_created?: Maybe + stage_deleted?: Maybe + stage_updated?: Maybe + tag_created?: Maybe + tag_deleted?: Maybe + tag_updated?: Maybe + user_created?: Maybe + user_deleted?: Maybe + user_updated?: Maybe +} export type Media = { - __typename?: 'Media'; + __typename?: 'Media' /** image blurhash value */ - blurhash?: Maybe; + blurhash?: Maybe /** media height */ - height: Scalars['Int']['output']; - key: Scalars['ID']['output']; + height: Scalars['Int']['output'] + key: Scalars['ID']['output'] /** media mime type */ - mime: Scalars['String']['output']; + mime: Scalars['String']['output'] /** media size */ - size: Scalars['Int']['output']; + size: Scalars['Int']['output'] /** media url */ - url: Scalars['String']['output']; + url: Scalars['String']['output'] /** media width */ - width: Scalars['Int']['output']; -}; + width: Scalars['Int']['output'] +} export type MoveArticleAfterInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target article id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type MoveArticleBeforeInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target article id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type MoveArticleToDeskInput = { /** desk id */ - desk_id: Scalars['ID']['input']; + desk_id: Scalars['ID']['input'] /** article id */ - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type MoveDeskAfterInput = { /** desk id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target desk id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type MoveDeskBeforeInput = { /** desk id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target desk id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type MoveDeskInput = { - after_id?: InputMaybe; - before_id?: InputMaybe; - id: Scalars['ID']['input']; - target_id?: InputMaybe; -}; + after_id?: InputMaybe + before_id?: InputMaybe + id: Scalars['ID']['input'] + target_id?: InputMaybe +} export type MovePageAfterInput = { /** page id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target page id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type MovePageBeforeInput = { /** page id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target page id */ - target_id: Scalars['ID']['input']; -}; + target_id: Scalars['ID']['input'] +} export type Mutation = { - __typename?: 'Mutation'; + __typename?: 'Mutation' /** activate a specific integration */ - activateIntegration: Integration; + activateIntegration: Integration /** activate the Webflow integration */ - activateWebflow: Scalars['Boolean']['output']; + activateWebflow: Scalars['Boolean']['output'] /** activate the WordPress integration */ - activateWordPress: Scalars['Boolean']['output']; + activateWordPress: Scalars['Boolean']['output'] /** add author to article */ - addAuthorToArticle: Article; + addAuthorToArticle: Article /** add a slack channel as a notification channel for article updates */ - addSlackChannels: Integration; + addSlackChannels: Integration /** add tag to article */ - addTagToArticle: Article; - applyCouponCodeToAppSubscription: Scalars['Boolean']['output']; - applyDealFuelCode: Scalars['Boolean']['output']; - applyViededingueCode: Scalars['Boolean']['output']; + addTagToArticle: Article + applyCouponCodeToAppSubscription: Scalars['Boolean']['output'] + applyDealFuelCode: Scalars['Boolean']['output'] + applyViededingueCode: Scalars['Boolean']['output'] /** manually assign a subscription */ - assignSubscriberSubscription: Scalars['Boolean']['output']; + assignSubscriberSubscription: Scalars['Boolean']['output'] /** assign an user to specific desk */ - assignUserToDesk: User; - cancelAppSubscription: Scalars['Boolean']['output']; + assignUserToDesk: User + cancelAppSubscription: Scalars['Boolean']['output'] /** @deprecated No longer supported */ - cancelAppSubscriptionFreeTrial: Scalars['Boolean']['output']; + cancelAppSubscriptionFreeTrial: Scalars['Boolean']['output'] /** cancel an existing subscription */ - cancelSubscriberSubscription: Scalars['Boolean']['output']; + cancelSubscriberSubscription: Scalars['Boolean']['output'] /** update account email */ - changeAccountEmail: User; + changeAccountEmail: User /** update password */ - changeAccountPassword: Scalars['Boolean']['output']; + changeAccountPassword: Scalars['Boolean']['output'] /** change article stage */ - changeArticleStage: Article; + changeArticleStage: Article /** * change an existing subscription for the subscriber, * the price_id can be found on siteSubscriptionInfo query */ - changeSubscriberSubscription: Scalars['Boolean']['output']; + changeSubscriberSubscription: Scalars['Boolean']['output'] /** change user role */ - changeUserRole: User; + changeUserRole: User /** change user role for testing purpose */ - changeUserRoleForTesting: User; - checkCustomDomainAvailability: CheckCustomDomainAvailabilityResponse; - checkCustomDomainDnsStatus: CustomDomainDnsStatus; + changeUserRoleForTesting: User + checkCustomDomainAvailability: CheckCustomDomainAvailabilityResponse + checkCustomDomainDnsStatus: CustomDomainDnsStatus /** Checks whether an email is being used by an existing user in Storipress */ - checkEmailExist: Scalars['Boolean']['output']; - checkProphetRemaining: Scalars['Int']['output']; + checkEmailExist: Scalars['Boolean']['output'] + checkProphetRemaining: Scalars['Int']['output'] /** check whether Stripe Connect is connected */ - checkStripeConnectConnected: Scalars['Boolean']['output']; + checkStripeConnectConnected: Scalars['Boolean']['output'] /** clear static site cache */ - clearSiteCache: Scalars['Boolean']['output']; - confirmCustomDomain: Scalars['Boolean']['output']; + clearSiteCache: Scalars['Boolean']['output'] + confirmCustomDomain: Scalars['Boolean']['output'] /** confirm account email */ - confirmEmail: Scalars['Boolean']['output']; - confirmProphetCheckout?: Maybe; + confirmEmail: Scalars['Boolean']['output'] + confirmProphetCheckout?: Maybe /** initiate OAuth for HubSpot and return the redirect URL */ - connectHubSpot: Scalars['String']['output']; + connectHubSpot: Scalars['String']['output'] /** initiate OAuth for Webflow and return the redirect URL */ - connectWebflow: Scalars['String']['output']; - createAppSubscription: Scalars['Boolean']['output']; + connectWebflow: Scalars['String']['output'] + createAppSubscription: Scalars['Boolean']['output'] /** create article */ - createArticle: Article; + createArticle: Article /** create article's thread */ - createArticleThread: ArticleThread; + createArticleThread: ArticleThread /** create a new custom editor block */ - createBlock: Block; + createBlock: Block /** create new custom field */ - createCustomField: CustomField; + createCustomField: CustomField /** create new custom field group */ - createCustomFieldGroup: CustomFieldGroup; + createCustomFieldGroup: CustomFieldGroup /** create new custom field value */ - createCustomFieldValue: CustomFieldValue; + createCustomFieldValue: CustomFieldValue /** create new desk */ - createDesk: Desk; + createDesk: Desk /** create an invitation */ - createInvitation: Scalars['Boolean']['output']; + createInvitation: Scalars['Boolean']['output'] /** create a new layout */ - createLayout: Layout; + createLayout: Layout /** create a new link */ - createLink: Link; + createLink: Link /** create a new linter */ - createLinter: Linter; + createLinter: Linter /** add note to article thread */ - createNote: ArticleThreadNote; + createNote: ArticleThreadNote /** create a new page */ - createPage: Page; + createPage: Page /** create a new redirection */ - createRedirection: Redirection; + createRedirection: Redirection /** create new scraper */ - createScraper: Scalars['String']['output']; + createScraper: Scalars['String']['output'] /** create new article from scraper */ - createScraperArticle: Array; + createScraperArticle: Array /** create new scraper selector */ - createScraperSelector: ScraperSelector; + createScraperSelector: ScraperSelector /** create new publication */ - createSite: Scalars['String']['output']; + createSite: Scalars['String']['output'] /** create new stage */ - createStage: Stage; + createStage: Stage /** * create a new subscription for the subscriber, * the price_id can be found on siteSubscriptionInfo query */ - createSubscriberSubscription: Scalars['Boolean']['output']; + createSubscriberSubscription: Scalars['Boolean']['output'] /** create a new tag */ - createTag: Tag; - createTrialAppSubscription: Scalars['Boolean']['output']; + createTag: Tag + createTrialAppSubscription: Scalars['Boolean']['output'] /** create webflow collection */ - createWebflowCollection: Scalars['Boolean']['output']; + createWebflowCollection: Scalars['Boolean']['output'] /** deactivates a specific integration */ - deactivateIntegration: Integration; + deactivateIntegration: Integration /** deactivate the Webflow integration */ - deactivateWebflow: Scalars['Boolean']['output']; + deactivateWebflow: Scalars['Boolean']['output'] /** deactivate the WordPress integration */ - deactivateWordPress: Scalars['Boolean']['output']; + deactivateWordPress: Scalars['Boolean']['output'] /** delete account */ - deleteAccount: Scalars['Boolean']['output']; + deleteAccount: Scalars['Boolean']['output'] /** delete article */ - deleteArticle: Article; + deleteArticle: Article /** delete custom block */ - deleteBlock: Block; + deleteBlock: Block /** delete a custom field */ - deleteCustomField: CustomField; + deleteCustomField: CustomField /** delete a custom field group */ - deleteCustomFieldGroup: CustomFieldGroup; + deleteCustomFieldGroup: CustomFieldGroup /** delete a custom field value */ - deleteCustomFieldValue: CustomFieldValue; + deleteCustomFieldValue: CustomFieldValue /** delete a desk */ - deleteDesk: Desk; + deleteDesk: Desk /** delete a layout */ - deleteLayout: Layout; + deleteLayout: Layout /** delete a linter */ - deleteLinter: Linter; + deleteLinter: Linter /** delete article thread note */ - deleteNote: ArticleThreadNote; + deleteNote: ArticleThreadNote /** delete a page */ - deletePage: Page; + deletePage: Page /** delete a redirection */ - deleteRedirection: Redirection; + deleteRedirection: Redirection /** delete scraper article */ - deleteScraperArticle: ScraperArticle; + deleteScraperArticle: ScraperArticle /** delete scraper selector */ - deleteScraperSelector: ScraperSelector; + deleteScraperSelector: ScraperSelector /** delete an existing publication */ - deleteSite: Scalars['Boolean']['output']; + deleteSite: Scalars['Boolean']['output'] /** delete publication data */ - deleteSiteContent: Scalars['Boolean']['output']; + deleteSiteContent: Scalars['Boolean']['output'] /** Remove a channel from Slack notifications */ - deleteSlackChannels: Integration; + deleteSlackChannels: Integration /** delete a stage */ - deleteStage: Stage; + deleteStage: Stage /** delete existing subscribers */ - deleteSubscribers: Scalars['Boolean']['output']; + deleteSubscribers: Scalars['Boolean']['output'] /** delete a tag */ - deleteTag: Tag; + deleteTag: Tag /** delete a user */ - deleteUser: User; + deleteUser: User /** disable custom domain */ - disableCustomDomain: Site; + disableCustomDomain: Site /** * disable publication subscription * @deprecated No longer supported */ - disableSubscription: Site; + disableSubscription: Site /** disconnect HubSpot integration */ - disconnectHubSpot: Scalars['Boolean']['output']; + disconnectHubSpot: Scalars['Boolean']['output'] /** disconnect specific integration */ - disconnectIntegration: Integration; + disconnectIntegration: Integration /** disconnect stripe connect */ - disconnectStripeConnect: Scalars['Boolean']['output']; + disconnectStripeConnect: Scalars['Boolean']['output'] /** disconnect Webflow integration */ - disconnectWebflow: Scalars['Boolean']['output']; + disconnectWebflow: Scalars['Boolean']['output'] /** disconnect WordPress integration */ - disconnectWordPress: Scalars['Boolean']['output']; + disconnectWordPress: Scalars['Boolean']['output'] /** duplicate an article */ - duplicateArticle: Article; + duplicateArticle: Article /** enable custom domain */ - enableCustomDomain: Site; + enableCustomDomain: Site /** export publication data */ - exportSiteContent: Scalars['JSON']['output']; + exportSiteContent: Scalars['JSON']['output'] /** export subscribers to csv string */ - exportSubscribers: Scalars['String']['output']; + exportSubscribers: Scalars['String']['output'] /** send password recovery email */ - forgotPassword: Scalars['Boolean']['output']; + forgotPassword: Scalars['Boolean']['output'] /** * generate a new newstand key, * and this will automatically delete the old one */ - generateNewstandKey: Scalars['String']['output']; + generateNewstandKey: Scalars['String']['output'] /** get slack channels list */ - getSlackChannelsList: Array; + getSlackChannelsList: Array /** user hide current request publication */ - hidePublication: Scalars['Boolean']['output']; + hidePublication: Scalars['Boolean']['output'] /** user impersonate */ - impersonate?: Maybe; + impersonate?: Maybe /** @deprecated not works as expected */ - importSiteContent: Scalars['Boolean']['output']; + importSiteContent: Scalars['Boolean']['output'] /** import content from wordpress */ - importSiteContentFromWordPress: Scalars['Boolean']['output']; + importSiteContentFromWordPress: Scalars['Boolean']['output'] /** import subscriber from csv file */ - importSubscribersFromCsvFile: Scalars['Boolean']['output']; - initializeCustomDomain: CustomDomainDnsStatus; - initializeSite: Site; + importSubscribersFromCsvFile: Scalars['Boolean']['output'] + initializeCustomDomain: CustomDomainDnsStatus + initializeSite: Site /** inject shopify theme template */ - injectShopifyThemeTemplate: Scalars['Boolean']['output']; + injectShopifyThemeTemplate: Scalars['Boolean']['output'] /** launch publication subscription */ - launchSubscription: Site; + launchSubscription: Site /** user leave current request publication */ - leavePublication: Scalars['Boolean']['output']; + leavePublication: Scalars['Boolean']['output'] /** @deprecated invalid api in manager v2 */ - makeStageDefault: Stage; + makeStageDefault: Stage /** move article order after target article id */ - moveArticleAfter: Scalars['Boolean']['output']; + moveArticleAfter: Scalars['Boolean']['output'] /** move article order before target article id */ - moveArticleBefore: Scalars['Boolean']['output']; + moveArticleBefore: Scalars['Boolean']['output'] /** move article to another desk */ - moveArticleToDesk: Article; - moveDesk: Desk; + moveArticleToDesk: Article + moveDesk: Desk /** move desk order after target desk id */ - moveDeskAfter: Desk; + moveDeskAfter: Desk /** move desk order before target desk id */ - moveDeskBefore: Desk; + moveDeskBefore: Desk /** move page order after target page id */ - movePageAfter: Page; + movePageAfter: Page /** move page order before target page id */ - movePageBefore: Page; + movePageBefore: Page /** opt in the WordPress feature */ - optInWordPressFeature: Scalars['Boolean']['output']; + optInWordPressFeature: Scalars['Boolean']['output'] /** opt out the WordPress feature */ - optOutWordPressFeature: Scalars['Boolean']['output']; - previewAppSubscription: PreviewAppSubscriptionType; + optOutWordPressFeature: Scalars['Boolean']['output'] + previewAppSubscription: PreviewAppSubscriptionType /** publish(schedule) an article */ - publishArticle: Article; - pullShopifyContent: Scalars['Boolean']['output']; - pullShopifyCustomers: Scalars['Boolean']['output']; + publishArticle: Article + pullShopifyContent: Scalars['Boolean']['output'] + pullShopifyCustomers: Scalars['Boolean']['output'] /** pull latest collections from Webflow */ - pullWebflowCollections: Array; + pullWebflowCollections: Array /** pull latest sites from Webflow */ - pullWebflowSites: Array; + pullWebflowSites: Array /** rebuild all sites */ - rebuildAllSites?: Maybe; + rebuildAllSites?: Maybe /** @deprecated No longer supported */ - refreshToken: AuthToken; + refreshToken: AuthToken /** remove author from article */ - removeAuthorFromArticle: Article; + removeAuthorFromArticle: Article /** remove account avatar */ - removeAvatar: User; - removeCustomDomain: Scalars['Boolean']['output']; + removeAvatar: User + removeCustomDomain: Scalars['Boolean']['output'] /** remove all site template */ - removeSiteTemplate: Scalars['Boolean']['output']; + removeSiteTemplate: Scalars['Boolean']['output'] /** remove tag from article */ - removeTagFromArticle: Article; - requestAppSetupIntent: Scalars['String']['output']; + removeTagFromArticle: Article + requestAppSetupIntent: Scalars['String']['output'] /** request a presigned upload url for file upload */ - requestPresignedUploadURL: PresignedUploadUrl; + requestPresignedUploadURL: PresignedUploadUrl /** * request a SetupIntent, * reference: https://stripe.com/docs/api/setup_intents */ - requestSetupIntent: Scalars['String']['output']; + requestSetupIntent: Scalars['String']['output'] /** request a sign in to customer site */ - requestSignInSubscriber: Scalars['Boolean']['output']; + requestSignInSubscriber: Scalars['Boolean']['output'] /** start a stripe connect */ - requestStripeConnect: Scalars['String']['output']; + requestStripeConnect: Scalars['String']['output'] /** resend confirmation email */ - resendConfirmEmail: Scalars['Boolean']['output']; + resendConfirmEmail: Scalars['Boolean']['output'] /** resend an invitation email */ - resendInvitation: Invitation; + resendInvitation: Invitation /** reset account password */ - resetPassword: Scalars['Boolean']['output']; + resetPassword: Scalars['Boolean']['output'] /** resolve(delete) article's thread */ - resolveArticleThread: ArticleThread; + resolveArticleThread: ArticleThread /** restore a deleted article */ - restoreArticle: Article; - resumeAppSubscription: Scalars['Boolean']['output']; + restoreArticle: Article + resumeAppSubscription: Scalars['Boolean']['output'] /** resume an existing subscription */ - resumeSubscriberSubscription: Scalars['Boolean']['output']; + resumeSubscriberSubscription: Scalars['Boolean']['output'] /** revoke an invitation */ - revokeInvitation: Invitation; + revokeInvitation: Invitation /** revoke a manually created subscription */ - revokeSubscriberSubscription: Scalars['Boolean']['output']; + revokeSubscriberSubscription: Scalars['Boolean']['output'] /** remove user from desk */ - revokeUserFromDesk: User; + revokeUserFromDesk: User /** run existing scraper */ - runScraper: Scraper; + runScraper: Scraper /** manually send article newsletter */ - sendArticleNewsletter: Article; + sendArticleNewsletter: Article /** send cold email to subscriber */ - sendColdEmailToSubscriber: Scalars['Boolean']['output']; + sendColdEmailToSubscriber: Scalars['Boolean']['output'] /** setup shopify oauth */ - setupShopifyOauth: Scalars['Boolean']['output']; + setupShopifyOauth: Scalars['Boolean']['output'] /** setup shopify redirections */ - setupShopifyRedirections: Scalars['Boolean']['output']; + setupShopifyRedirections: Scalars['Boolean']['output'] /** setup the WordPress integration */ - setupWordPress: Scalars['Boolean']['output']; + setupWordPress: Scalars['Boolean']['output'] /** sign an iframely request */ - signIframelySignature: Scalars['String']['output']; + signIframelySignature: Scalars['String']['output'] /** sign in to the app */ - signIn: AuthToken; + signIn: AuthToken /** sign up/in to customer site */ - signInLeakySubscriber: Scalars['String']['output']; + signInLeakySubscriber: Scalars['String']['output'] /** sign in to customer site */ - signInSubscriber: Scalars['String']['output']; + signInSubscriber: Scalars['String']['output'] /** sign out of the app */ - signOut: Scalars['Boolean']['output']; + signOut: Scalars['Boolean']['output'] /** sign out of the customer site */ - signOutSubscriber: Scalars['Boolean']['output']; + signOutSubscriber: Scalars['Boolean']['output'] /** sign up to the app */ - signUp: AuthToken; + signUp: AuthToken /** sign up to customer site */ - signUpSubscriber: Scalars['String']['output']; + signUpSubscriber: Scalars['String']['output'] /** slug the provided value */ - sluggable: Scalars['String']['output']; + sluggable: Scalars['String']['output'] /** move article order after target article id */ - sortArticleBy: Scalars['Boolean']['output']; + sortArticleBy: Scalars['Boolean']['output'] /** start scraper articles transfer */ - startScraperTransfer: Scalars['Boolean']['output']; + startScraperTransfer: Scalars['Boolean']['output'] /** enable newsletter for target subscribers */ - subscribeSubscribers: Scalars['Boolean']['output']; + subscribeSubscribers: Scalars['Boolean']['output'] /** get suggested article tags */ - suggestedArticleTag: Array; + suggestedArticleTag: Array /** summarize article */ - summarizeArticleContent: Scalars['String']['output']; + summarizeArticleContent: Scalars['String']['output'] /** suspend an user */ - suspendUser: Array; - swapAppSubscription: Scalars['Boolean']['output']; + suspendUser: Array + swapAppSubscription: Scalars['Boolean']['output'] /** Sync authors, desks and tags to Webflow site */ - syncContentToWebflow: Scalars['Boolean']['output']; + syncContentToWebflow: Scalars['Boolean']['output'] /** sync target model to custom field group */ - syncGroupableToCustomFieldGroup: CustomFieldGroup; + syncGroupableToCustomFieldGroup: CustomFieldGroup /** track subscriber activity */ - trackSubscriberActivity: Scalars['Boolean']['output']; - transferDeskArticles: Scalars['Boolean']['output']; + trackSubscriberActivity: Scalars['Boolean']['output'] + transferDeskArticles: Scalars['Boolean']['output'] /** manually trigger article social sharing */ - triggerArticleSocialSharing: Scalars['Boolean']['output']; + triggerArticleSocialSharing: Scalars['Boolean']['output'] /** trigger a site build */ - triggerSiteBuild?: Maybe; + triggerSiteBuild?: Maybe /** user unhide current request publication */ - unhidePublication: Scalars['Boolean']['output']; + unhidePublication: Scalars['Boolean']['output'] /** unpublish an article */ - unpublishArticle: Article; + unpublishArticle: Article /** disable newsletter for target subscribers */ - unsubscribeSubscribers: Scalars['Boolean']['output']; + unsubscribeSubscribers: Scalars['Boolean']['output'] /** unsuspend an user */ - unsuspendUser: Array; - updateAppPaymentMethod: Scalars['Boolean']['output']; - updateAppSubscriptionQuantity: Scalars['Boolean']['output']; + unsuspendUser: Array + updateAppPaymentMethod: Scalars['Boolean']['output'] + updateAppSubscriptionQuantity: Scalars['Boolean']['output'] /** update an article data */ - updateArticle: Article; + updateArticle: Article /** update article's author info */ - updateArticleAuthor: Article; + updateArticleAuthor: Article /** update article's thread */ - updateArticleThread: ArticleThread; + updateArticleThread: ArticleThread /** update an existing custom block data */ - updateBlock: Block; + updateBlock: Block /** update an existing custom field data */ - updateCustomField: CustomField; + updateCustomField: CustomField /** update an existing custom field group */ - updateCustomFieldGroup: CustomFieldGroup; + updateCustomFieldGroup: CustomFieldGroup /** update an existing custom field value */ - updateCustomFieldValue: CustomFieldValue; + updateCustomFieldValue: CustomFieldValue /** update an existing design data */ - updateDesign: Design; + updateDesign: Design /** update an existing desk data */ - updateDesk: Desk; + updateDesk: Desk /** update integration data */ - updateIntegration: Integration; + updateIntegration: Integration /** update an existing layout data */ - updateLayout: Layout; + updateLayout: Layout /** update an existing linter */ - updateLinter: Linter; + updateLinter: Linter /** update article thread note */ - updateNote: ArticleThreadNote; + updateNote: ArticleThreadNote /** update an existing page data */ - updatePage: Page; + updatePage: Page /** update subscriber payment method */ - updatePaymentMethod: Scalars['Boolean']['output']; + updatePaymentMethod: Scalars['Boolean']['output'] /** update account profile */ - updateProfile: User; + updateProfile: User /** update an existing redirection data */ - updateRedirection: Redirection; + updateRedirection: Redirection /** update an existing release data */ - updateRelease: Release; + updateRelease: Release /** update existing scraper */ - updateScraper: Scraper; + updateScraper: Scraper /** update scraper article */ - updateScraperArticle: ScraperArticle; + updateScraperArticle: ScraperArticle /** update publication data */ - updateSiteInfo: Site; + updateSiteInfo: Site /** update an existing stage data */ - updateStage: Stage; + updateStage: Stage /** update an existing subscriber data */ - updateSubscriber: Subscriber; + updateSubscriber: Subscriber /** update publication subscription */ - updateSubscription: Site; + updateSubscription: Site /** update an existing tag data */ - updateTag: Tag; + updateTag: Tag /** * update an user profile * @deprecated No longer supported */ - updateUser: User; + updateUser: User /** update Webflow collection id */ - updateWebflowCollection: Scalars['Boolean']['output']; + updateWebflowCollection: Scalars['Boolean']['output'] /** update Webflow collection mapping */ - updateWebflowCollectionMapping: Scalars['Boolean']['output']; + updateWebflowCollectionMapping: Scalars['Boolean']['output'] /** update Webflow site domain */ - updateWebflowDomain: Scalars['Boolean']['output']; + updateWebflowDomain: Scalars['Boolean']['output'] /** update Webflow site id */ - updateWebflowSite: Scalars['Boolean']['output']; + updateWebflowSite: Scalars['Boolean']['output'] /** * upload an image to specific article * @deprecated use uploadImage instead */ - uploadArticleImage: Scalars['String']['output']; + uploadArticleImage: Scalars['String']['output'] /** * update user avatar * @deprecated use uploadImage instead */ - uploadAvatar: Scalars['String']['output']; + uploadAvatar: Scalars['String']['output'] /** * upload block preview image * @deprecated use uploadImage instead */ - uploadBlockPreview: Scalars['String']['output']; + uploadBlockPreview: Scalars['String']['output'] /** update an image */ - uploadImage: Media; + uploadImage: Media /** * upload layout preview image * @deprecated use uploadImage instead */ - uploadLayoutPreview: Scalars['String']['output']; + uploadLayoutPreview: Scalars['String']['output'] /** * upload site logo * @deprecated use uploadImage instead */ - uploadSiteLogo: Scalars['String']['output']; + uploadSiteLogo: Scalars['String']['output'] /** upload site template */ - uploadSiteTemplate: Array; + uploadSiteTemplate: Array /** * upload subscriber avatar * @deprecated use uploadImage instead */ - uploadSubscriberAvatar: Scalars['String']['output']; + uploadSubscriberAvatar: Scalars['String']['output'] /** verify subscriber email */ - verifySubscriberEmail: Scalars['Boolean']['output']; -}; - + verifySubscriberEmail: Scalars['Boolean']['output'] +} export type MutationActivateIntegrationArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type MutationAddAuthorToArticleArgs = { - input: AddAuthorToArticleInput; -}; - + input: AddAuthorToArticleInput +} export type MutationAddSlackChannelsArgs = { - input: AddSlackChannelsInput; -}; - + input: AddSlackChannelsInput +} export type MutationAddTagToArticleArgs = { - input: AddTagToArticleInput; -}; - + input: AddTagToArticleInput +} export type MutationApplyCouponCodeToAppSubscriptionArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationApplyDealFuelCodeArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationApplyViededingueCodeArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationAssignSubscriberSubscriptionArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationAssignUserToDeskArgs = { - input: AssignUserToDeskInput; -}; - + input: AssignUserToDeskInput +} export type MutationChangeAccountEmailArgs = { - input: ChangeAccountEmailInput; -}; - + input: ChangeAccountEmailInput +} export type MutationChangeAccountPasswordArgs = { - input: UpdateAccountPasswordInput; -}; - + input: UpdateAccountPasswordInput +} export type MutationChangeArticleStageArgs = { - input: ChangeArticleStageInput; -}; - + input: ChangeArticleStageInput +} export type MutationChangeSubscriberSubscriptionArgs = { - price_id: Scalars['String']['input']; -}; - + price_id: Scalars['String']['input'] +} export type MutationChangeUserRoleArgs = { - input: ChangeRoleInput; -}; - + input: ChangeRoleInput +} export type MutationChangeUserRoleForTestingArgs = { - input: ChangeRoleInput; -}; - + input: ChangeRoleInput +} export type MutationCheckCustomDomainAvailabilityArgs = { - input: CheckCustomDomainAvailabilityInput; -}; - + input: CheckCustomDomainAvailabilityInput +} export type MutationCheckEmailExistArgs = { - email: Scalars['EmailString']['input']; -}; - + email: Scalars['EmailString']['input'] +} export type MutationConfirmEmailArgs = { - input: ConfirmEmailInput; -}; - + input: ConfirmEmailInput +} export type MutationConfirmProphetCheckoutArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationCreateAppSubscriptionArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationCreateArticleArgs = { - input: CreateArticleInput; -}; - + input: CreateArticleInput +} export type MutationCreateArticleThreadArgs = { - input: CreateArticleThreadInput; -}; - + input: CreateArticleThreadInput +} export type MutationCreateBlockArgs = { - input: CreateBlockInput; -}; - + input: CreateBlockInput +} export type MutationCreateCustomFieldArgs = { - input: CreateCustomFieldInput; -}; - + input: CreateCustomFieldInput +} export type MutationCreateCustomFieldGroupArgs = { - input: CreateCustomFieldGroupInput; -}; - + input: CreateCustomFieldGroupInput +} export type MutationCreateCustomFieldValueArgs = { - input: CreateCustomFieldValueInput; -}; - + input: CreateCustomFieldValueInput +} export type MutationCreateDeskArgs = { - input: CreateDeskInput; -}; - + input: CreateDeskInput +} export type MutationCreateInvitationArgs = { - input: CreateInvitationInput; -}; - + input: CreateInvitationInput +} export type MutationCreateLayoutArgs = { - input: CreateLayoutInput; -}; - + input: CreateLayoutInput +} export type MutationCreateLinkArgs = { - input: CreateLinkInput; -}; - + input: CreateLinkInput +} export type MutationCreateLinterArgs = { - input: CreateLinterInput; -}; - + input: CreateLinterInput +} export type MutationCreateNoteArgs = { - input: CreateNoteInput; -}; - + input: CreateNoteInput +} export type MutationCreatePageArgs = { - input: CreatePageInput; -}; - + input: CreatePageInput +} export type MutationCreateRedirectionArgs = { - input: CreateRedirectionInput; -}; - + input: CreateRedirectionInput +} export type MutationCreateScraperArticleArgs = { - input: CreateScraperArticleInput; -}; - + input: CreateScraperArticleInput +} export type MutationCreateScraperSelectorArgs = { - input: CreateScraperSelectorInput; -}; - + input: CreateScraperSelectorInput +} export type MutationCreateSiteArgs = { - input: CreateSiteInput; -}; - + input: CreateSiteInput +} export type MutationCreateStageArgs = { - input: CreateStageInput; -}; - + input: CreateStageInput +} export type MutationCreateSubscriberSubscriptionArgs = { - price_id: Scalars['String']['input']; -}; - + price_id: Scalars['String']['input'] +} export type MutationCreateTagArgs = { - input: CreateTagInput; -}; - + input: CreateTagInput +} export type MutationCreateWebflowCollectionArgs = { - input: CreateWebflowCollectionInput; -}; - + input: CreateWebflowCollectionInput +} export type MutationDeactivateIntegrationArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type MutationDeleteAccountArgs = { - password: Scalars['String']['input']; -}; - + password: Scalars['String']['input'] +} export type MutationDeleteArticleArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteBlockArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteCustomFieldArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteCustomFieldGroupArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteCustomFieldValueArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteDeskArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteLayoutArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteLinterArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteNoteArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeletePageArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteRedirectionArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteScraperArticleArgs = { - input: DeleteScraperArticleInput; -}; - + input: DeleteScraperArticleInput +} export type MutationDeleteScraperSelectorArgs = { - input: DeleteScraperSelectorInput; -}; - + input: DeleteScraperSelectorInput +} export type MutationDeleteSiteArgs = { - password: Scalars['String']['input']; -}; - + password: Scalars['String']['input'] +} export type MutationDeleteSlackChannelsArgs = { - input: DeleteSlackChannelsInput; -}; - + input: DeleteSlackChannelsInput +} export type MutationDeleteStageArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteSubscribersArgs = { - ids: Array; -}; - + ids: Array +} export type MutationDeleteTagArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDeleteUserArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationDisconnectIntegrationArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type MutationDuplicateArticleArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationEnableCustomDomainArgs = { - input: EnableCustomDomainInput; -}; - + input: EnableCustomDomainInput +} export type MutationForgotPasswordArgs = { - email: Scalars['EmailString']['input']; -}; - + email: Scalars['EmailString']['input'] +} export type MutationHidePublicationArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationImpersonateArgs = { - email: Scalars['EmailString']['input']; - password: Scalars['String']['input']; -}; - + email: Scalars['EmailString']['input'] + password: Scalars['String']['input'] +} export type MutationImportSiteContentArgs = { - input: ImportSiteContentInput; -}; - + input: ImportSiteContentInput +} export type MutationImportSiteContentFromWordPressArgs = { - input: ImportSiteContentFromWordPressInput; -}; - + input: ImportSiteContentFromWordPressInput +} export type MutationImportSubscribersFromCsvFileArgs = { - input: ImportSubscribersFromCsvFileInput; -}; - + input: ImportSubscribersFromCsvFileInput +} export type MutationInitializeCustomDomainArgs = { - input: InitializeCustomDomainInput; -}; - + input: InitializeCustomDomainInput +} export type MutationInitializeSiteArgs = { - input: InitializeSiteInput; -}; - + input: InitializeSiteInput +} export type MutationLeavePublicationArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationMakeStageDefaultArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationMoveArticleAfterArgs = { - input: MoveArticleAfterInput; -}; - + input: MoveArticleAfterInput +} export type MutationMoveArticleBeforeArgs = { - input: MoveArticleBeforeInput; -}; - + input: MoveArticleBeforeInput +} export type MutationMoveArticleToDeskArgs = { - input: MoveArticleToDeskInput; -}; - + input: MoveArticleToDeskInput +} export type MutationMoveDeskArgs = { - input: MoveDeskInput; -}; - + input: MoveDeskInput +} export type MutationMoveDeskAfterArgs = { - input: MoveDeskAfterInput; -}; - + input: MoveDeskAfterInput +} export type MutationMoveDeskBeforeArgs = { - input: MoveDeskBeforeInput; -}; - + input: MoveDeskBeforeInput +} export type MutationMovePageAfterArgs = { - input: MovePageAfterInput; -}; - + input: MovePageAfterInput +} export type MutationMovePageBeforeArgs = { - input: MovePageBeforeInput; -}; - + input: MovePageBeforeInput +} export type MutationOptInWordPressFeatureArgs = { - input: OptInWordPressFeatureInput; -}; - + input: OptInWordPressFeatureInput +} export type MutationOptOutWordPressFeatureArgs = { - input: OptOutWordPressFeatureInput; -}; - + input: OptOutWordPressFeatureInput +} export type MutationPreviewAppSubscriptionArgs = { - input: PreviewAppSubscriptionInput; -}; - + input: PreviewAppSubscriptionInput +} export type MutationPublishArticleArgs = { - input: PublishArticleInput; -}; - + input: PublishArticleInput +} export type MutationPullWebflowCollectionsArgs = { - refresh?: Scalars['Boolean']['input']; -}; - + refresh?: Scalars['Boolean']['input'] +} export type MutationPullWebflowSitesArgs = { - refresh?: Scalars['Boolean']['input']; -}; - + refresh?: Scalars['Boolean']['input'] +} export type MutationRemoveAuthorFromArticleArgs = { - input: RemoveAuthorFromArticleInput; -}; - + input: RemoveAuthorFromArticleInput +} export type MutationRemoveTagFromArticleArgs = { - input: RemoveTagFromArticleInput; -}; - + input: RemoveTagFromArticleInput +} export type MutationRequestAppSetupIntentArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationRequestPresignedUploadUrlArgs = { - md5?: InputMaybe; -}; - + md5?: InputMaybe +} export type MutationRequestSignInSubscriberArgs = { - input: RequestSignInSubscriberInput; -}; - + input: RequestSignInSubscriberInput +} export type MutationResendInvitationArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationResetPasswordArgs = { - input: ResetPasswordInput; -}; - + input: ResetPasswordInput +} export type MutationResolveArticleThreadArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationRestoreArticleArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationRevokeInvitationArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationRevokeSubscriberSubscriptionArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationRevokeUserFromDeskArgs = { - input: RevokeUserFromDeskInput; -}; - + input: RevokeUserFromDeskInput +} export type MutationRunScraperArgs = { - input: RunScraperInput; -}; - + input: RunScraperInput +} export type MutationSendArticleNewsletterArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationSendColdEmailToSubscriberArgs = { - input: SendColdEmailToSubscriberInput; -}; - + input: SendColdEmailToSubscriberInput +} export type MutationSetupShopifyOauthArgs = { - code: Scalars['String']['input']; -}; - + code: Scalars['String']['input'] +} export type MutationSetupWordPressArgs = { - code: Scalars['String']['input']; -}; - + code: Scalars['String']['input'] +} export type MutationSignIframelySignatureArgs = { - params: Scalars['JSON']['input']; -}; - + params: Scalars['JSON']['input'] +} export type MutationSignInArgs = { - email: Scalars['EmailString']['input']; - password: Scalars['String']['input']; -}; - + email: Scalars['EmailString']['input'] + password: Scalars['String']['input'] +} export type MutationSignInLeakySubscriberArgs = { - input: SignInLeakySubscriberInput; -}; - + input: SignInLeakySubscriberInput +} export type MutationSignInSubscriberArgs = { - token: Scalars['String']['input']; -}; - + token: Scalars['String']['input'] +} export type MutationSignUpArgs = { - input: SignUpInput; -}; - + input: SignUpInput +} export type MutationSignUpSubscriberArgs = { - input: SignUpSubscriberInput; -}; - + input: SignUpSubscriberInput +} export type MutationSluggableArgs = { - value: Scalars['String']['input']; -}; - + value: Scalars['String']['input'] +} export type MutationSortArticleByArgs = { - input: SortArticleByInput; -}; - + input: SortArticleByInput +} export type MutationStartScraperTransferArgs = { - token: Scalars['String']['input']; -}; - + token: Scalars['String']['input'] +} export type MutationSubscribeSubscribersArgs = { - ids: Array; -}; - + ids: Array +} export type MutationSuggestedArticleTagArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationSummarizeArticleContentArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationSuspendUserArgs = { - ids: Array; -}; - + ids: Array +} export type MutationSwapAppSubscriptionArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationSyncGroupableToCustomFieldGroupArgs = { - input: SyncGroupableToCustomFieldGroupInput; -}; - + input: SyncGroupableToCustomFieldGroupInput +} export type MutationTrackSubscriberActivityArgs = { - input: TrackSubscriberActivityInput; -}; - + input: TrackSubscriberActivityInput +} export type MutationTransferDeskArticlesArgs = { - input: TransferDeskArticlesInput; -}; - + input: TransferDeskArticlesInput +} export type MutationTriggerArticleSocialSharingArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationTriggerSiteBuildArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationUnhidePublicationArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationUnpublishArticleArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type MutationUnsubscribeSubscribersArgs = { - ids: Array; -}; - + ids: Array +} export type MutationUnsuspendUserArgs = { - ids: Array; -}; - + ids: Array +} export type MutationUpdateAppPaymentMethodArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationUpdateAppSubscriptionQuantityArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type MutationUpdateArticleArgs = { - input: UpdateArticleInput; -}; - + input: UpdateArticleInput +} export type MutationUpdateArticleAuthorArgs = { - input: UpdateArticleAuthorInput; -}; - + input: UpdateArticleAuthorInput +} export type MutationUpdateArticleThreadArgs = { - input: UpdateArticleThreadInput; -}; - + input: UpdateArticleThreadInput +} export type MutationUpdateBlockArgs = { - input: UpdateBlockInput; -}; - + input: UpdateBlockInput +} export type MutationUpdateCustomFieldArgs = { - input: UpdateCustomFieldInput; -}; - + input: UpdateCustomFieldInput +} export type MutationUpdateCustomFieldGroupArgs = { - input: UpdateCustomFieldGroupInput; -}; - + input: UpdateCustomFieldGroupInput +} export type MutationUpdateCustomFieldValueArgs = { - input: UpdateCustomFieldValueInput; -}; - + input: UpdateCustomFieldValueInput +} export type MutationUpdateDesignArgs = { - input: UpdateDesignInput; -}; - + input: UpdateDesignInput +} export type MutationUpdateDeskArgs = { - input: UpdateDeskInput; -}; - + input: UpdateDeskInput +} export type MutationUpdateIntegrationArgs = { - input: UpdateIntegrationInput; -}; - + input: UpdateIntegrationInput +} export type MutationUpdateLayoutArgs = { - input: UpdateLayoutInput; -}; - + input: UpdateLayoutInput +} export type MutationUpdateLinterArgs = { - input: UpdateLinterInput; -}; - + input: UpdateLinterInput +} export type MutationUpdateNoteArgs = { - input: UpdateNoteInput; -}; - + input: UpdateNoteInput +} export type MutationUpdatePageArgs = { - input: UpdatePageInput; -}; - + input: UpdatePageInput +} export type MutationUpdatePaymentMethodArgs = { - pm_id: Scalars['String']['input']; -}; - + pm_id: Scalars['String']['input'] +} export type MutationUpdateProfileArgs = { - input: UpdateProfileInput; -}; - + input: UpdateProfileInput +} export type MutationUpdateRedirectionArgs = { - input: UpdateRedirectionInput; -}; - + input: UpdateRedirectionInput +} export type MutationUpdateReleaseArgs = { - input: UpdateReleaseInput; -}; - + input: UpdateReleaseInput +} export type MutationUpdateScraperArgs = { - input: UpdateScraperInput; -}; - + input: UpdateScraperInput +} export type MutationUpdateScraperArticleArgs = { - input: UpdateScraperArticleInput; -}; - + input: UpdateScraperArticleInput +} export type MutationUpdateSiteInfoArgs = { - input: UpdateSiteInput; -}; - + input: UpdateSiteInput +} export type MutationUpdateStageArgs = { - input: UpdateStageInput; -}; - + input: UpdateStageInput +} export type MutationUpdateSubscriberArgs = { - input: UpdateSubscriberInput; -}; - + input: UpdateSubscriberInput +} export type MutationUpdateSubscriptionArgs = { - input: EnableSubscriptionInput; -}; - + input: EnableSubscriptionInput +} export type MutationUpdateTagArgs = { - input: UpdateTagInput; -}; - + input: UpdateTagInput +} export type MutationUpdateUserArgs = { - input: UpdateUserInput; -}; - + input: UpdateUserInput +} export type MutationUpdateWebflowCollectionArgs = { - input: UpdateWebflowCollectionInput; -}; - + input: UpdateWebflowCollectionInput +} export type MutationUpdateWebflowCollectionMappingArgs = { - input: UpdateWebflowCollectionMappingInput; -}; - + input: UpdateWebflowCollectionMappingInput +} export type MutationUpdateWebflowDomainArgs = { - input: UpdateWebflowDomainInput; -}; - + input: UpdateWebflowDomainInput +} export type MutationUpdateWebflowSiteArgs = { - input: UpdateWebflowSiteInput; -}; - + input: UpdateWebflowSiteInput +} export type MutationUploadArticleImageArgs = { - input: UploadArticleImageInput; -}; - + input: UploadArticleImageInput +} export type MutationUploadAvatarArgs = { - input: UploadAvatarInput; -}; - + input: UploadAvatarInput +} export type MutationUploadBlockPreviewArgs = { - input: UploadBlockPreviewInput; -}; - + input: UploadBlockPreviewInput +} export type MutationUploadImageArgs = { - input: UploadImageInput; -}; - + input: UploadImageInput +} export type MutationUploadLayoutPreviewArgs = { - input: UploadLayoutPreviewInput; -}; - + input: UploadLayoutPreviewInput +} export type MutationUploadSiteLogoArgs = { - file: Scalars['Upload']['input']; -}; - + file: Scalars['Upload']['input'] +} export type MutationUploadSiteTemplateArgs = { - input: UploadSiteTemplateInput; -}; - + input: UploadSiteTemplateInput +} export type MutationUploadSubscriberAvatarArgs = { - input: UploadSubscriberAvatarInput; -}; - + input: UploadSubscriberAvatarInput +} export type MutationVerifySubscriberEmailArgs = { - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type Notification = { - __typename?: 'Notification'; + __typename?: 'Notification' /** notification meta data */ - data?: Maybe; + data?: Maybe /** notification id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** notification create time */ - occurred_at: Scalars['DateTime']['output']; + occurred_at: Scalars['DateTime']['output'] /** notification state */ - type: Scalars['String']['output']; -}; + type: Scalars['String']['output'] +} export type OptInWordPressFeatureInput = { /** feature Type */ - key: WordPressOptionalFeatureType; -}; + key: WordPressOptionalFeatureType +} export type OptOutWordPressFeatureInput = { /** feature Type */ - key: WordPressOptionalFeatureType; -}; + key: WordPressOptionalFeatureType +} /** Allows ordering a list of records. */ export type OrderByClause = { /** The column that is used for ordering. */ - column: Scalars['String']['input']; + column: Scalars['String']['input'] /** The direction that is used for ordering. */ - order: SortOrder; -}; + order: SortOrder +} /** Aggregate functions when ordering by a relation without specifying a column. */ export enum OrderByRelationAggregateFunction { /** Amount of items. */ - Count = 'COUNT' + Count = 'COUNT', } /** Aggregate functions when ordering by a relation that may specify a column. */ @@ -2942,537 +2799,497 @@ export enum OrderByRelationWithColumnAggregateFunction { /** Minimum. */ Min = 'MIN', /** Sum. */ - Sum = 'SUM' + Sum = 'SUM', } export type Page = { - __typename?: 'Page'; + __typename?: 'Page' /** live content */ - current?: Maybe; + current?: Maybe /** draft content */ - draft?: Maybe; + draft?: Maybe /** page id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** layout id */ - layout?: Maybe; + layout?: Maybe /** page order */ - order: Scalars['Int']['output']; + order: Scalars['Int']['output'] /** seo meta data */ - seo?: Maybe; + seo?: Maybe /** * page title, * e.g. About Us */ - title: Scalars['String']['output']; -}; + title: Scalars['String']['output'] +} /** Information about pagination using a Relay style cursor connection. */ export type PageInfo = { - __typename?: 'PageInfo'; + __typename?: 'PageInfo' /** Number of nodes in the current page. */ - count: Scalars['Int']['output']; + count: Scalars['Int']['output'] /** Index of the current page. */ - currentPage: Scalars['Int']['output']; + currentPage: Scalars['Int']['output'] /** The cursor to continue paginating forwards. */ - endCursor?: Maybe; + endCursor?: Maybe /** When paginating forwards, are there more items? */ - hasNextPage: Scalars['Boolean']['output']; + hasNextPage: Scalars['Boolean']['output'] /** When paginating backwards, are there more items? */ - hasPreviousPage: Scalars['Boolean']['output']; + hasPreviousPage: Scalars['Boolean']['output'] /** Index of the last available page. */ - lastPage: Scalars['Int']['output']; + lastPage: Scalars['Int']['output'] /** The cursor to continue paginating backwards. */ - startCursor?: Maybe; + startCursor?: Maybe /** Total number of nodes in the paginated connection. */ - total: Scalars['Int']['output']; -}; + total: Scalars['Int']['output'] +} /** Information about pagination using a fully featured paginator. */ export type PaginatorInfo = { - __typename?: 'PaginatorInfo'; + __typename?: 'PaginatorInfo' /** Number of items in the current page. */ - count: Scalars['Int']['output']; + count: Scalars['Int']['output'] /** Index of the current page. */ - currentPage: Scalars['Int']['output']; + currentPage: Scalars['Int']['output'] /** Index of the first item in the current page. */ - firstItem?: Maybe; + firstItem?: Maybe /** Are there more pages after this one? */ - hasMorePages: Scalars['Boolean']['output']; + hasMorePages: Scalars['Boolean']['output'] /** Index of the last item in the current page. */ - lastItem?: Maybe; + lastItem?: Maybe /** Index of the last available page. */ - lastPage: Scalars['Int']['output']; + lastPage: Scalars['Int']['output'] /** Number of items per page. */ - perPage: Scalars['Int']['output']; + perPage: Scalars['Int']['output'] /** Number of total available items. */ - total: Scalars['Int']['output']; -}; + total: Scalars['Int']['output'] +} export type PreviewAppSubscriptionInput = { - price_id: Scalars['String']['input']; - promotion_code?: InputMaybe; - quantity?: InputMaybe; -}; + price_id: Scalars['String']['input'] + promotion_code?: InputMaybe + quantity?: InputMaybe +} export type PreviewAppSubscriptionType = { - __typename?: 'PreviewAppSubscriptionType'; - credit: Scalars['String']['output']; - discount: Scalars['String']['output']; - subtotal: Scalars['String']['output']; - tax: Scalars['String']['output']; - total: Scalars['String']['output']; -}; + __typename?: 'PreviewAppSubscriptionType' + credit: Scalars['String']['output'] + discount: Scalars['String']['output'] + subtotal: Scalars['String']['output'] + tax: Scalars['String']['output'] + total: Scalars['String']['output'] +} /** subset of site(publication) */ export type Publication = { - __typename?: 'Publication'; + __typename?: 'Publication' /** publication custom domain */ - custom_domain?: Maybe; + custom_domain?: Maybe /** * publication customer site domain * e.g. hello.storipress.app, example.com */ - customer_site_domain: Scalars['String']['output']; + customer_site_domain: Scalars['String']['output'] /** publication description */ - description?: Maybe; + description?: Maybe /** publication favicon */ - favicon?: Maybe; + favicon?: Maybe /** publication id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** publication name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** * publication storipress domain prefix, * e.g. {workspace}.storipress.app */ - workspace: Scalars['String']['output']; -}; + workspace: Scalars['String']['output'] +} export type PublishArticleInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** * set article stage to live(reviewed), * published_at will not be changed */ - now?: InputMaybe; + now?: InputMaybe /** publish time(ISO 8601 format) */ - time?: InputMaybe; + time?: InputMaybe /** * set article published_at to * server current time */ - useServerCurrentTime?: InputMaybe; -}; + useServerCurrentTime?: InputMaybe +} export type Query = { - __typename?: 'Query'; - appSubscriptionPlans: Array; + __typename?: 'Query' + appSubscriptionPlans: Array /** get specific article */ - article?: Maybe
; - articleDecryptKey?: Maybe; + article?: Maybe
+ articleDecryptKey?: Maybe /** get article typesense search key */ - articleSearchKey: Scalars['String']['output']; + articleSearchKey: Scalars['String']['output'] /** using pagination to fetch articles */ - articles: ArticlePaginator; + articles: ArticlePaginator /** * fetch articles apply one of following constraints(mutually exclusive): * - schedule/publish time is between `from` and `to` * - unscheduled articles * @deprecated use articles query */ - articlesAll: Array
; - articlesCursor: ArticleConnection; - billing: Billing; + articlesAll: Array
+ articlesCursor: ArticleConnection + billing: Billing /** get specific block */ - block?: Maybe; + block?: Maybe /** fetch blocks */ - blocks: BlockPaginator; + blocks: BlockPaginator /** fetch credits */ - credits: CreditPaginator; - creditsOverview: Array; - customFieldGroup?: Maybe; - customFieldGroups: CustomFieldGroupPaginator; + credits: CreditPaginator + creditsOverview: Array + customFieldGroup?: Maybe + customFieldGroups: CustomFieldGroupPaginator /** get specific design */ - design?: Maybe; + design?: Maybe /** fetch designs */ - designs: Array; - desk?: Maybe; + designs: Array + desk?: Maybe /** fetch desks */ - desks: Array; + desks: Array /** get specific email */ - email?: Maybe; - facebookPages: Array; + email?: Maybe + facebookPages: Array /** whether the HubSpot OAuth has been completed or not */ - hubSpotAuthorized: Scalars['Boolean']['output']; + hubSpotAuthorized: Scalars['Boolean']['output'] /** get HubSpot information */ - hubSpotInfo: HubSpotInfo; + hubSpotInfo: HubSpotInfo /** * make a iframely request for specific url * @deprecated use signIframelySignature mutation */ - iframelyIframely: Scalars['JSON']['output']; + iframelyIframely: Scalars['JSON']['output'] /** image info */ - image: Image; + image: Image /** fetch integrations */ - integrations: Array; - invitations: Array; + integrations: Array + invitations: Array /** get specific layout */ - layout?: Maybe; + layout?: Maybe /** fetch layouts */ - layouts: Array; + layouts: Array /** fetch link */ - link: Link; + link: Link /** fetch linters */ - linters: LinterConnection; + linters: LinterConnection /** account profile */ - me: User; + me: User /** media info */ - media: Media; + media: Media /** fetch notifications */ - notifications: Array; + notifications: Array /** get specific page */ - page?: Maybe; + page?: Maybe /** fetch pages */ - pages: Array; + pages: Array /** all publications owned by the account */ - publications: Array; + publications: Array /** fetch redirections */ - redirections: Array; + redirections: Array /** get specific release */ - release?: Maybe; + release?: Maybe /** fetch releases */ - releases: ReleasePaginator; + releases: ReleasePaginator /** fetch roles */ - roles: Array; + roles: Array /** get specific scraper */ - scraper?: Maybe; + scraper?: Maybe /** list pending invite users */ - scraperPendingInviteUsers: Array; + scraperPendingInviteUsers: Array /** fetch scrapers */ - scrapers: ScraperPaginator; - searchShopifyProducts: ShopifyCollection; - shopifyProducts: ShopifyCollection; + scrapers: ScraperPaginator + searchShopifyProducts: ShopifyCollection + shopifyProducts: ShopifyCollection /** get publication data */ - site: Site; + site: Site /** get publication subscription info */ - siteSubscriptionInfo: SiteSubscriptionInfo; - siteTemplates: Array; + siteSubscriptionInfo: SiteSubscriptionInfo + siteTemplates: Array /** fetch stages */ - stages: Array; + stages: Array /** get specific subscriber */ - subscriber?: Maybe; - subscriberPainPoints: Array; + subscriber?: Maybe + subscriberPainPoints: Array /** get subscriber profile for current request user */ - subscriberProfile?: Maybe; + subscriberProfile?: Maybe /** fetch subscribers */ - subscribers: SubscriberPaginator; + subscribers: SubscriberPaginator /** publication subscription subscribers and revenue info */ - subscriptionGraphs: SubscriptionGraphs; + subscriptionGraphs: SubscriptionGraphs /** publication subscription overview info */ - subscriptionOverview: SubscriptionOverview; + subscriptionOverview: SubscriptionOverview /** get specific tag */ - tag?: Maybe; + tag?: Maybe /** fetch tags */ - tags: Array; + tags: Array /** trigger a download for specific image */ - unsplashDownload: Scalars['String']['output']; + unsplashDownload: Scalars['String']['output'] /** random list some images */ - unsplashList: Scalars['JSON']['output']; + unsplashList: Scalars['JSON']['output'] /** search unsplash image */ - unsplashSearch: Scalars['JSON']['output']; + unsplashSearch: Scalars['JSON']['output'] /** get specific user data */ - user?: Maybe; + user?: Maybe /** fetch users */ - users: Array; + users: Array /** whether the Webflow OAuth has been completed or not */ - webflowAuthorized: Scalars['Boolean']['output']; + webflowAuthorized: Scalars['Boolean']['output'] /** get Webflow collection information */ - webflowCollection?: Maybe; + webflowCollection?: Maybe /** get all Webflow collections */ - webflowCollections: Array; + webflowCollections: Array /** get Webflow information */ - webflowInfo: WebflowInfo; + webflowInfo: WebflowInfo /** get all Webflow items for specific collection */ - webflowItems: Array; + webflowItems: Array /** get Webflow onboarding status */ - webflowOnboarding: WebflowOnboarding; + webflowOnboarding: WebflowOnboarding /** get all Webflow sites */ - webflowSites: Array; + webflowSites: Array /** whether the WordPress connection has been completed or not */ - wordPressAuthorized: Scalars['Boolean']['output']; + wordPressAuthorized: Scalars['Boolean']['output'] /** get WordPress information */ - wordPressInfo: WordPressInfo; + wordPressInfo: WordPressInfo /** all publications joined by the account */ - workspaces: Array; -}; - + workspaces: Array +} export type QueryArticleArgs = { - hasDesk?: InputMaybe; - id?: InputMaybe; - sid?: InputMaybe; - slug?: InputMaybe; -}; - + hasDesk?: InputMaybe + id?: InputMaybe + sid?: InputMaybe + slug?: InputMaybe +} export type QueryArticleDecryptKeyArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryArticlesArgs = { - desk?: InputMaybe; - desk_ids?: InputMaybe>; - featured?: InputMaybe; - first?: Scalars['Int']['input']; - hasDesk?: InputMaybe; - page?: InputMaybe; - published?: InputMaybe; - scheduledRange?: InputMaybe; - sortBy?: InputMaybe>; - unscheduled?: InputMaybe; -}; - + desk?: InputMaybe + desk_ids?: InputMaybe> + featured?: InputMaybe + first?: Scalars['Int']['input'] + hasDesk?: InputMaybe + page?: InputMaybe + published?: InputMaybe + scheduledRange?: InputMaybe + sortBy?: InputMaybe> + unscheduled?: InputMaybe +} export type QueryArticlesAllArgs = { - hasDesk?: InputMaybe; - range?: InputMaybe; - unscheduled?: InputMaybe; -}; - + hasDesk?: InputMaybe + range?: InputMaybe + unscheduled?: InputMaybe +} export type QueryArticlesCursorArgs = { - after?: InputMaybe; - desk_ids?: InputMaybe>; - featured?: InputMaybe; - first?: Scalars['Int']['input']; - hasDesk?: InputMaybe; - published?: InputMaybe; - scheduledRange?: InputMaybe; - sortBy?: InputMaybe>; - unscheduled?: InputMaybe; -}; - + after?: InputMaybe + desk_ids?: InputMaybe> + featured?: InputMaybe + first?: Scalars['Int']['input'] + hasDesk?: InputMaybe + published?: InputMaybe + scheduledRange?: InputMaybe + sortBy?: InputMaybe> + unscheduled?: InputMaybe +} export type QueryBlockArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryBlocksArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type QueryCreditsArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; - state?: InputMaybe; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe + state?: InputMaybe +} export type QueryCustomFieldGroupArgs = { - id?: InputMaybe; - key?: InputMaybe; -}; - + id?: InputMaybe + key?: InputMaybe +} export type QueryCustomFieldGroupsArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type QueryDesignArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type QueryDeskArgs = { - id?: InputMaybe; - sid?: InputMaybe; - slug?: InputMaybe; -}; - + id?: InputMaybe + sid?: InputMaybe + slug?: InputMaybe +} export type QueryEmailArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryFacebookPagesArgs = { - keyword: Scalars['String']['input']; -}; - + keyword: Scalars['String']['input'] +} export type QueryIframelyIframelyArgs = { - input: IframelyIframelyInput; -}; - + input: IframelyIframelyInput +} export type QueryImageArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type QueryLayoutArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryLinkArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryLintersArgs = { - after?: InputMaybe; - first?: Scalars['Int']['input']; -}; - + after?: InputMaybe + first?: Scalars['Int']['input'] +} export type QueryMediaArgs = { - key: Scalars['ID']['input']; -}; - + key: Scalars['ID']['input'] +} export type QueryPageArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryReleaseArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryReleasesArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type QueryScraperArgs = { - token: Scalars['String']['input']; -}; - + token: Scalars['String']['input'] +} export type QueryScraperPendingInviteUsersArgs = { - token: Scalars['String']['input']; -}; - + token: Scalars['String']['input'] +} export type QueryScrapersArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type QuerySearchShopifyProductsArgs = { - keyword: Scalars['String']['input']; -}; - + keyword: Scalars['String']['input'] +} export type QueryShopifyProductsArgs = { - page_info?: InputMaybe; -}; - + page_info?: InputMaybe +} export type QuerySiteTemplatesArgs = { - type?: InputMaybe; -}; - + type?: InputMaybe +} export type QuerySubscriberArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QuerySubscriberPainPointsArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QuerySubscribersArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; - search?: InputMaybe; - searchSortBy?: InputMaybe>; - sortBy?: InputMaybe>; -}; - + first?: Scalars['Int']['input'] + page?: InputMaybe + search?: InputMaybe + searchSortBy?: InputMaybe> + sortBy?: InputMaybe> +} export type QueryTagArgs = { - id?: InputMaybe; - sid?: InputMaybe; - slug?: InputMaybe; -}; - + id?: InputMaybe + sid?: InputMaybe + slug?: InputMaybe +} export type QueryUnsplashDownloadArgs = { - id?: InputMaybe; -}; - + id?: InputMaybe +} export type QueryUnsplashListArgs = { - page: Scalars['Int']['input']; -}; - + page: Scalars['Int']['input'] +} export type QueryUnsplashSearchArgs = { - input: UnsplashSearchInput; -}; - + input: UnsplashSearchInput +} export type QueryUserArgs = { - id?: InputMaybe; - slug?: InputMaybe; -}; - + id?: InputMaybe + slug?: InputMaybe +} export type QueryUsersArgs = { - includeInvitations?: InputMaybe; -}; - + includeInvitations?: InputMaybe +} export type QueryWebflowCollectionArgs = { - type: WebflowCollectionType; -}; - + type: WebflowCollectionType +} export type QueryWebflowItemsArgs = { - collection_id: Scalars['ID']['input']; -}; + collection_id: Scalars['ID']['input'] +} /** Allowed column names for Query.articlesCursor.sortBy. */ export enum QueryArticlesCursorSortByColumn { PublishedAt = 'PUBLISHED_AT', - UpdatedAt = 'UPDATED_AT' + UpdatedAt = 'UPDATED_AT', } /** Order by clause for Query.articlesCursor.sortBy. */ export type QueryArticlesCursorSortByOrderByClause = { /** The column that is used for ordering. */ - column: QueryArticlesCursorSortByColumn; + column: QueryArticlesCursorSortByColumn /** The direction that is used for ordering. */ - order: SortOrder; -}; + order: SortOrder +} /** Allowed column names for Query.articles.sortBy. */ export enum QueryArticlesSortByColumn { PublishedAt = 'PUBLISHED_AT', - UpdatedAt = 'UPDATED_AT' + UpdatedAt = 'UPDATED_AT', } /** Order by clause for Query.articles.sortBy. */ export type QueryArticlesSortByOrderByClause = { /** The column that is used for ordering. */ - column: QueryArticlesSortByColumn; + column: QueryArticlesSortByColumn /** The direction that is used for ordering. */ - order: SortOrder; -}; + order: SortOrder +} /** Allowed column names for Query.subscribers.searchSortBy. */ export enum QuerySubscribersSearchSortByColumn { @@ -3480,67 +3297,67 @@ export enum QuerySubscribersSearchSortByColumn { CreatedAt = 'CREATED_AT', Email = 'EMAIL', Revenue = 'REVENUE', - SubscribedAt = 'SUBSCRIBED_AT' + SubscribedAt = 'SUBSCRIBED_AT', } /** Order by clause for Query.subscribers.searchSortBy. */ export type QuerySubscribersSearchSortByOrderByClause = { /** The column that is used for ordering. */ - column: QuerySubscribersSearchSortByColumn; + column: QuerySubscribersSearchSortByColumn /** The direction that is used for ordering. */ - order: SortOrder; -}; + order: SortOrder +} /** Allowed column names for Query.subscribers.sortBy. */ export enum QuerySubscribersSortByColumn { Activity = 'ACTIVITY', CreatedAt = 'CREATED_AT', Revenue = 'REVENUE', - SubscribedAt = 'SUBSCRIBED_AT' + SubscribedAt = 'SUBSCRIBED_AT', } /** Order by clause for Query.subscribers.sortBy. */ export type QuerySubscribersSortByOrderByClause = { /** The column that is used for ordering. */ - column: QuerySubscribersSortByColumn; + column: QuerySubscribersSortByColumn /** The direction that is used for ordering. */ - order: SortOrder; -}; + order: SortOrder +} export type Redirection = { - __typename?: 'Redirection'; + __typename?: 'Redirection' /** redirection id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** redirection path */ - path: Scalars['String']['output']; + path: Scalars['String']['output'] /** redirection target */ - target: Scalars['String']['output']; -}; + target: Scalars['String']['output'] +} export type Release = { - __typename?: 'Release'; + __typename?: 'Release' /** release create time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** release elapsed time */ - elapsed_time: Scalars['Int']['output']; + elapsed_time: Scalars['Int']['output'] /** release id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** release meta data */ - meta?: Maybe; + meta?: Maybe /** release state */ - state: ReleaseState; + state: ReleaseState /** release update time */ - updated_at: Scalars['DateTime']['output']; -}; + updated_at: Scalars['DateTime']['output'] +} /** A paginated list of Release items. */ export type ReleasePaginator = { - __typename?: 'ReleasePaginator'; + __typename?: 'ReleasePaginator' /** A list of Release items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** State */ export enum ReleaseState { @@ -3561,94 +3378,94 @@ export enum ReleaseState { /** the release was still in queue, this is default state */ Queued = 'queued', /** generator is uploading the archive file to our CDN servers */ - Uploading = 'uploading' + Uploading = 'uploading', } /** Type */ export enum ReleaseType { /** article type build */ - Article = 'article' + Article = 'article', } /** remove author from article form */ export type RemoveAuthorFromArticleInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** user id(author id) */ - user_id: Scalars['ID']['input']; -}; + user_id: Scalars['ID']['input'] +} /** remove tag from article form */ export type RemoveTagFromArticleInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** tag id */ - tag_id: Scalars['ID']['input']; -}; + tag_id: Scalars['ID']['input'] +} export type RequestAppSetupIntentInput = { - payment?: InputMaybe; -}; + payment?: InputMaybe +} export type RequestSignInSubscriberInput = { /** subscriber email */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** current url, used for redirect back */ - from: Scalars['String']['input']; + from: Scalars['String']['input'] /** http referer */ - referer: Scalars['String']['input']; -}; + referer: Scalars['String']['input'] +} export type ResetPasswordInput = { /** target account email */ - email: Scalars['String']['input']; + email: Scalars['String']['input'] /** link expire time */ - expired_at: Scalars['Int']['input']; + expired_at: Scalars['Int']['input'] /** new password */ - password: Scalars['String']['input']; + password: Scalars['String']['input'] /** link signature */ - signature: Scalars['String']['input']; + signature: Scalars['String']['input'] /** identify token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type RevenueGraph = { - __typename?: 'RevenueGraph'; + __typename?: 'RevenueGraph' /** date */ - date: Scalars['Date']['output']; + date: Scalars['Date']['output'] /** month of the data */ - month: Scalars['Int']['output']; + month: Scalars['Int']['output'] /** revenue */ - revenue: Scalars['String']['output']; + revenue: Scalars['String']['output'] /** year of the data */ - year: Scalars['Int']['output']; -}; + year: Scalars['Int']['output'] +} export type RevokeUserFromDeskInput = { /** desk id */ - desk_id: Scalars['ID']['input']; + desk_id: Scalars['ID']['input'] /** user id */ - user_id: Scalars['ID']['input']; -}; + user_id: Scalars['ID']['input'] +} export type Role = { - __typename?: 'Role'; + __typename?: 'Role' /** role id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** role level */ - level: Scalars['Float']['output']; + level: Scalars['Float']['output'] /** role name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** role brief description */ - title: Scalars['String']['output']; -}; + title: Scalars['String']['output'] +} export type RunScraperInput = { /** scraper token */ - token: Scalars['String']['input']; + token: Scalars['String']['input'] /** scrape type */ - type: ScraperType; -}; + type: ScraperType +} /** The available SQL operators that are used to filter query results. */ export enum SqlOperator { @@ -3679,100 +3496,99 @@ export enum SqlOperator { /** Whether a value is not within a set of values (`NOT IN`) */ NotIn = 'NOT_IN', /** Negation of simple pattern matching (`NOT LIKE`) */ - NotLike = 'NOT_LIKE' + NotLike = 'NOT_LIKE', } export type Scraper = { - __typename?: 'Scraper'; + __typename?: 'Scraper' /** scrapper articles */ - articles: ScraperArticlePaginator; + articles: ScraperArticlePaginator /** * time that the scraper cancelled, * will only have value on user cancelled */ - cancelled_at?: Maybe; + cancelled_at?: Maybe /** arbitrary data */ - data?: Maybe; + data?: Maybe /** scraping failed articles */ - failed: Scalars['Int']['output']; + failed: Scalars['Int']['output'] /** * time that the scraper failed, * will only have value when something went wrong */ - failed_at?: Maybe; + failed_at?: Maybe /** * time that the scraper finished, * will only have value on successful execution */ - finished_at?: Maybe; + finished_at?: Maybe /** scraper id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** scrapper selectors */ - selectors: Array; + selectors: Array /** time that the scraper started */ - started_at?: Maybe; + started_at?: Maybe /** scraper state */ - state: ScraperState; + state: ScraperState /** successfully scraped articles */ - successful: Scalars['Int']['output']; + successful: Scalars['Int']['output'] /** total articles */ - total: Scalars['Int']['output']; -}; - + total: Scalars['Int']['output'] +} export type ScraperArticlesArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type ScraperArticle = { - __typename?: 'ScraperArticle'; + __typename?: 'ScraperArticle' /** scraped article data */ - data?: Maybe; + data?: Maybe /** article id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** url path */ - path: Scalars['String']['output']; + path: Scalars['String']['output'] /** whether the article is scraped or not */ - scraped: Scalars['Boolean']['output']; + scraped: Scalars['Boolean']['output'] /** the article scraped time */ - scraped_at?: Maybe; + scraped_at?: Maybe /** whether the article is scraped successfully or not */ - successful: Scalars['Boolean']['output']; -}; + successful: Scalars['Boolean']['output'] +} /** A paginated list of ScraperArticle items. */ export type ScraperArticlePaginator = { - __typename?: 'ScraperArticlePaginator'; + __typename?: 'ScraperArticlePaginator' /** A list of ScraperArticle items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} /** A paginated list of Scraper items. */ export type ScraperPaginator = { - __typename?: 'ScraperPaginator'; + __typename?: 'ScraperPaginator' /** A list of Scraper items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} export type ScraperSelector = { - __typename?: 'ScraperSelector'; + __typename?: 'ScraperSelector' /** selector data(additional arbitrary data) */ - data?: Maybe; + data?: Maybe /** selector id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** * selector type, * e.g. title, logo... */ - type: Scalars['String']['output']; + type: Scalars['String']['output'] /** selector value */ - value?: Maybe; -}; + value?: Maybe +} /** State */ export enum ScraperState { @@ -3781,7 +3597,7 @@ export enum ScraperState { /** the scraper was initialized */ Initialized = 'initialized', /** the scraper is processing */ - Processing = 'processing' + Processing = 'processing', } /** Type */ @@ -3789,169 +3605,169 @@ export enum ScraperType { /** scrape all articles */ Full = 'full', /** only scrape few articles for preview */ - Preview = 'preview' + Preview = 'preview', } export type SendColdEmailToSubscriberInput = { /** email content */ - content: Scalars['String']['input']; + content: Scalars['String']['input'] /** subscriber id */ - id: Scalars['String']['input']; + id: Scalars['String']['input'] /** reply to for the email */ - reply_to?: InputMaybe; + reply_to?: InputMaybe /** email subject */ - subject: Scalars['String']['input']; -}; + subject: Scalars['String']['input'] +} export type ShopifyCollection = { - __typename?: 'ShopifyCollection'; - page_info?: Maybe; - products: Array; -}; + __typename?: 'ShopifyCollection' + page_info?: Maybe + products: Array +} export type ShopifyConfiguration = { - __typename?: 'ShopifyConfiguration'; + __typename?: 'ShopifyConfiguration' /** shopify store domain */ - domain?: Maybe; + domain?: Maybe /** shopify store id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** myshopify domain */ - myshopify_domain: Scalars['String']['output']; + myshopify_domain: Scalars['String']['output'] /** shopify store name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** shopify app url prefix */ - prefix: Scalars['String']['output']; -}; + prefix: Scalars['String']['output'] +} export type ShopifyProduct = { - __typename?: 'ShopifyProduct'; - id: Scalars['ID']['output']; - images: Array; - path: Scalars['String']['output']; - slug: Scalars['String']['output']; - title: Scalars['String']['output']; - variants: Array; -}; + __typename?: 'ShopifyProduct' + id: Scalars['ID']['output'] + images: Array + path: Scalars['String']['output'] + slug: Scalars['String']['output'] + title: Scalars['String']['output'] + variants: Array +} export type ShopifyProductImage = { - __typename?: 'ShopifyProductImage'; - height: Scalars['Int']['output']; - id: Scalars['ID']['output']; - product_id: Scalars['ID']['output']; - src: Scalars['String']['output']; - width: Scalars['Int']['output']; -}; + __typename?: 'ShopifyProductImage' + height: Scalars['Int']['output'] + id: Scalars['ID']['output'] + product_id: Scalars['ID']['output'] + src: Scalars['String']['output'] + width: Scalars['Int']['output'] +} export type ShopifyProductVariant = { - __typename?: 'ShopifyProductVariant'; - id: Scalars['ID']['output']; - images: Array; - price: Scalars['String']['output']; - sku: Scalars['String']['output']; - title: Scalars['String']['output']; -}; + __typename?: 'ShopifyProductVariant' + id: Scalars['ID']['output'] + images: Array + price: Scalars['String']['output'] + sku: Scalars['String']['output'] + title: Scalars['String']['output'] +} export type SignInLeakySubscriberInput = { /** subscriber email */ - email: Scalars['EmailString']['input']; -}; + email: Scalars['EmailString']['input'] +} export type SignUpInput = { - appsumo_code?: InputMaybe; - campaign?: InputMaybe; - checkout_id?: InputMaybe; + appsumo_code?: InputMaybe + campaign?: InputMaybe + checkout_id?: InputMaybe /** account email */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** * user first name, * e.g. 大明 */ - first_name?: InputMaybe; + first_name?: InputMaybe /** invite token */ - invite_token?: InputMaybe; + invite_token?: InputMaybe /** * user last name, * e.g. 王 */ - last_name?: InputMaybe; + last_name?: InputMaybe /** account password */ - password: Scalars['String']['input']; + password: Scalars['String']['input'] /** publication name */ - publication_name?: InputMaybe; + publication_name?: InputMaybe /** publication timezone */ - timezone?: InputMaybe; -}; + timezone?: InputMaybe +} export type SignUpSubscriberInput = { /** subscriber email */ - email: Scalars['EmailString']['input']; + email: Scalars['EmailString']['input'] /** current url, used for redirect back */ - from: Scalars['String']['input']; + from: Scalars['String']['input'] /** http referer */ - referer: Scalars['String']['input']; -}; + referer: Scalars['String']['input'] +} /** publication */ export type Site = { - __typename?: 'Site'; + __typename?: 'Site' /** subscription panel background color */ - accent_color?: Maybe; + accent_color?: Maybe /** generator configurations */ - buildx?: Maybe; + buildx?: Maybe /** subscription currency */ - currency?: Maybe; + currency?: Maybe /** publication custom domain */ - custom_domain?: Maybe; + custom_domain?: Maybe /** configuration for custom domain email */ - custom_domain_email: Array; + custom_domain_email: Array /** enable custom site template or not */ - custom_site_template: Scalars['Boolean']['output']; + custom_site_template: Scalars['Boolean']['output'] /** * publication customer site domain * e.g. hello.storipress.app, example.com */ - customer_site_domain: Scalars['String']['output']; + customer_site_domain: Scalars['String']['output'] /** * publication customer site storipress domain * e.g. hello.storipress.app */ - customer_site_storipress_url: Scalars['String']['output']; + customer_site_storipress_url: Scalars['String']['output'] /** publication description */ - description?: Maybe; + description?: Maybe /** built-in desks' names alias */ - desk_alias?: Maybe; + desk_alias?: Maybe /** publication email */ - email?: Maybe; + email?: Maybe /** publication enabled or not */ - enabled: Scalars['Boolean']['output']; + enabled: Scalars['Boolean']['output'] /** publication favicon, base64 type */ - favicon?: Maybe; - has_prophet: Scalars['Boolean']['output']; + favicon?: Maybe + has_prophet: Scalars['Boolean']['output'] /** main hosting site */ - hosting?: Maybe; + hosting?: Maybe /** publication id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** publication initialized or not */ - initialized: Scalars['Boolean']['output']; + initialized: Scalars['Boolean']['output'] /** RFC 5646 Language Tags */ - lang: Scalars['String']['output']; + lang: Scalars['String']['output'] /** publication logo image */ - logo?: Maybe; + logo?: Maybe /** mail custom domain */ - mail_domain?: Maybe; - metafields: Array; + mail_domain?: Maybe + metafields: Array /** subscription monthly price */ - monthly_price?: Maybe; + monthly_price?: Maybe /** publication name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** enable newsletter or not */ - newsletter: Scalars['Boolean']['output']; + newsletter: Scalars['Boolean']['output'] /** newstand api key */ - newstand_key?: Maybe; + newstand_key?: Maybe /** leaky paywall configurations */ - paywall_config?: Maybe; + paywall_config?: Maybe /** static site url structures */ - permalinks?: Maybe; + permalinks?: Maybe /** * publication subscription plan: * - free @@ -3965,33 +3781,35 @@ export type Site = { * - storipress_bf_tier2(appsumo) * - storipress_bf_tier3(appsumo) */ - plan: Scalars['String']['output']; + plan: Scalars['String']['output'] + /** prophet configurations */ + prophet_config?: Maybe /** site custom domain */ - site_domain?: Maybe; + site_domain?: Maybe /** customized sitemap */ - sitemap?: Maybe; + sitemap?: Maybe /** social network links */ - socials?: Maybe; + socials?: Maybe /** enable subscription or not */ - subscription: Scalars['Boolean']['output']; + subscription: Scalars['Boolean']['output'] /** subscription setup status */ - subscription_setup: SubscriptionSetup; + subscription_setup: SubscriptionSetup /** subscription setup has done once */ - subscription_setup_done: Scalars['Boolean']['output']; + subscription_setup_done: Scalars['Boolean']['output'] /** publication timezone */ - timezone: Scalars['String']['output']; + timezone: Scalars['String']['output'] /** publication tutorial history */ - tutorials?: Maybe; + tutorials?: Maybe /** the search only key for typesense */ - typesense_search_only_key: Scalars['String']['output']; + typesense_search_only_key: Scalars['String']['output'] /** * publication storipress domain prefix, * e.g. {workspace}.storipress.app */ - workspace: Scalars['String']['output']; + workspace: Scalars['String']['output'] /** subscription yearly price */ - yearly_price?: Maybe; -}; + yearly_price?: Maybe +} /** Hosting */ export enum SiteHosting { @@ -4002,308 +3820,307 @@ export enum SiteHosting { /** Webflow */ Webflow = 'webflow', /** Wordpress */ - Wordpress = 'wordpress' + Wordpress = 'wordpress', } export type SiteSubscriptionInfo = { - __typename?: 'SiteSubscriptionInfo'; + __typename?: 'SiteSubscriptionInfo' /** publication description */ - description?: Maybe; + description?: Maybe /** publication support email */ - email?: Maybe; + email?: Maybe /** publication logo image */ - logo?: Maybe; + logo?: Maybe /** subscription monthly price */ - monthly_price?: Maybe; + monthly_price?: Maybe /** price_id for the monthly plan */ - monthly_price_id?: Maybe; + monthly_price_id?: Maybe /** publication name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** publication has enabled newsletter or not */ - newsletter: Scalars['Boolean']['output']; + newsletter: Scalars['Boolean']['output'] /** leaky paywall configurations */ - paywall_config?: Maybe; + paywall_config?: Maybe /** stripe account id */ - stripe_account_id?: Maybe; + stripe_account_id?: Maybe /** publication has enabled subscription or not */ - subscription: Scalars['Boolean']['output']; + subscription: Scalars['Boolean']['output'] /** subscription yearly price */ - yearly_price?: Maybe; + yearly_price?: Maybe /** price_id for the yearly plan */ - yearly_price_id?: Maybe; -}; + yearly_price_id?: Maybe +} export type SiteTemplate = { - __typename?: 'SiteTemplate'; + __typename?: 'SiteTemplate' /** site template description */ - description?: Maybe; + description?: Maybe /** site template key */ - key: Scalars['ID']['output']; + key: Scalars['ID']['output'] /** site template name */ - name?: Maybe; + name?: Maybe /** site template type */ - type: TemplateType; + type: TemplateType /** site template url */ - url: Scalars['String']['output']; -}; + url: Scalars['String']['output'] +} export type SlackChannel = { - __typename?: 'SlackChannel'; + __typename?: 'SlackChannel' /** channel id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** channel is private or not */ - is_private: Scalars['Boolean']['output']; + is_private: Scalars['Boolean']['output'] /** channel name */ - name: Scalars['String']['output']; -}; + name: Scalars['String']['output'] +} export type SlackConfiguration = { - __typename?: 'SlackConfiguration'; + __typename?: 'SlackConfiguration' /** slack channel id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** slack channel name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** slack channel thumbnail */ - thumbnail?: Maybe; -}; + thumbnail?: Maybe +} export type SortArticleByInput = { /** sort method(column and order) */ - sort_by: ArticleSortBy; + sort_by: ArticleSortBy /** stage id */ - stage_id: Scalars['ID']['input']; -}; + stage_id: Scalars['ID']['input'] +} /** Directions for ordering a list of records. */ export enum SortOrder { /** Sort records in ascending order. */ Asc = 'ASC', /** Sort records in descending order. */ - Desc = 'DESC' + Desc = 'DESC', } export type Stage = { - __typename?: 'Stage'; + __typename?: 'Stage' /** color use on kanban header and scheduler dropdown */ - color: Scalars['String']['output']; + color: Scalars['String']['output'] /** stage for new article and articles which stage was deleted */ - default: Scalars['Boolean']['output']; + default: Scalars['Boolean']['output'] /** icon show on kanban header */ - icon: Scalars['String']['output']; + icon: Scalars['String']['output'] /** stage id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** stage name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** the order of stages */ - order: Scalars['Int']['output']; + order: Scalars['Int']['output'] /** determinate this stage articles can move to DONE or not */ - ready: Scalars['Boolean']['output']; -}; + ready: Scalars['Boolean']['output'] +} export type Subscriber = { - __typename?: 'Subscriber'; - active_days_last_30: Scalars['Int']['output']; + __typename?: 'Subscriber' + active_days_last_30: Scalars['Int']['output'] /** subscriber activity(percentage) */ - activity: Scalars['Int']['output']; - article_views_last_7: Scalars['Int']['output']; - article_views_last_30: Scalars['Int']['output']; - article_views_total: Scalars['Int']['output']; + activity: Scalars['Int']['output'] + article_views_last_7: Scalars['Int']['output'] + article_views_last_30: Scalars['Int']['output'] + article_views_total: Scalars['Int']['output'] /** subscriber avatar */ - avatar: Scalars['String']['output']; + avatar: Scalars['String']['output'] /** indicate the subscriber email is bounced or not */ - bounced: Scalars['Boolean']['output']; + bounced: Scalars['Boolean']['output'] /** current subscription canceled time */ - canceled_at?: Maybe; + canceled_at?: Maybe /** * subscriber card brand, * e.g. MasterCard * @deprecated use pm_type */ - card_brand?: Maybe; + card_brand?: Maybe /** * subscriber card expiration date * @deprecated No longer supported */ - card_expiration?: Maybe; + card_expiration?: Maybe /** * subscriber card last 4 number * @deprecated use pm_last_four */ - card_last_four?: Maybe; - comments_last_7: Scalars['Int']['output']; - comments_last_30: Scalars['Int']['output']; - comments_total: Scalars['Int']['output']; + card_last_four?: Maybe + comments_last_7: Scalars['Int']['output'] + comments_last_30: Scalars['Int']['output'] + comments_total: Scalars['Int']['output'] /** subscriber created time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** subscriber stripe customer id */ - customer_id?: Maybe; + customer_id?: Maybe /** subscriber email */ - email: Scalars['EmailString']['output']; - email_link_clicks_last_7: Scalars['Int']['output']; - email_link_clicks_last_30: Scalars['Int']['output']; - email_link_clicks_total: Scalars['Int']['output']; - email_opens_last_7: Scalars['Int']['output']; - email_opens_last_30: Scalars['Int']['output']; - email_opens_total: Scalars['Int']['output']; - email_receives: Scalars['Int']['output']; + email: Scalars['EmailString']['output'] + email_link_clicks_last_7: Scalars['Int']['output'] + email_link_clicks_last_30: Scalars['Int']['output'] + email_link_clicks_total: Scalars['Int']['output'] + email_opens_last_7: Scalars['Int']['output'] + email_opens_last_30: Scalars['Int']['output'] + email_opens_total: Scalars['Int']['output'] + email_receives: Scalars['Int']['output'] /** subscriber events */ - events: SubscriberEventPaginator; + events: SubscriberEventPaginator /** current subscription expire time */ - expire_on?: Maybe; + expire_on?: Maybe /** subscriber first name */ - first_name?: Maybe; + first_name?: Maybe /** subscriber first paid time */ - first_paid_at?: Maybe; + first_paid_at?: Maybe /** subscriber full name */ - full_name?: Maybe; + full_name?: Maybe /** subscriber id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** subscriber last name */ - last_name?: Maybe; + last_name?: Maybe /** enable newsletter or not */ - newsletter: Scalars['Boolean']['output']; + newsletter: Scalars['Boolean']['output'] /** subscriber paid up source */ - paid_up_source?: Maybe; + paid_up_source?: Maybe /** subscriber card last 4 number */ - pm_last_four?: Maybe; + pm_last_four?: Maybe /** * subscriber card brand, * e.g. MasterCard */ - pm_type?: Maybe; + pm_type?: Maybe /** next subscription renew time */ - renew_on?: Maybe; + renew_on?: Maybe /** revenue from the subscriber */ - revenue: Scalars['String']['output']; - shares_last_7: Scalars['Int']['output']; - shares_last_30: Scalars['Int']['output']; - shares_total: Scalars['Int']['output']; + revenue: Scalars['String']['output'] + shares_last_7: Scalars['Int']['output'] + shares_last_30: Scalars['Int']['output'] + shares_total: Scalars['Int']['output'] /** subscriber signed up source */ - signed_up_source?: Maybe; + signed_up_source?: Maybe /** subscriber has active subscription or not */ - subscribed: Scalars['Boolean']['output']; + subscribed: Scalars['Boolean']['output'] /** the time subscriber subscribed */ - subscribed_at?: Maybe; + subscribed_at?: Maybe /** subscriber subscription plan info */ - subscription?: Maybe; + subscription?: Maybe /** subscriber subscription type */ - subscription_type: SubscriptionType; - unique_article_views_last_7: Scalars['Int']['output']; - unique_article_views_last_30: Scalars['Int']['output']; - unique_article_views_total: Scalars['Int']['output']; - unique_email_link_clicks_last_7: Scalars['Int']['output']; - unique_email_link_clicks_last_30: Scalars['Int']['output']; - unique_email_link_clicks_total: Scalars['Int']['output']; - unique_email_opens_last_7: Scalars['Int']['output']; - unique_email_opens_last_30: Scalars['Int']['output']; - unique_email_opens_total: Scalars['Int']['output']; + subscription_type: SubscriptionType + unique_article_views_last_7: Scalars['Int']['output'] + unique_article_views_last_30: Scalars['Int']['output'] + unique_article_views_total: Scalars['Int']['output'] + unique_email_link_clicks_last_7: Scalars['Int']['output'] + unique_email_link_clicks_last_30: Scalars['Int']['output'] + unique_email_link_clicks_total: Scalars['Int']['output'] + unique_email_opens_last_7: Scalars['Int']['output'] + unique_email_opens_last_30: Scalars['Int']['output'] + unique_email_opens_total: Scalars['Int']['output'] /** subscriber email verified or not */ - verified: Scalars['Boolean']['output']; -}; - + verified: Scalars['Boolean']['output'] +} export type SubscriberEventsArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; + first?: Scalars['Int']['input'] + page?: InputMaybe +} export type SubscriberEvent = { - __typename?: 'SubscriberEvent'; + __typename?: 'SubscriberEvent' /** event data */ - data?: Maybe; + data?: Maybe /** event id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** * event name, * e.g. email.opened */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** event occurred time */ - occurred_at: Scalars['DateTime']['output']; + occurred_at: Scalars['DateTime']['output'] /** event target */ - target?: Maybe; -}; + target?: Maybe +} /** A paginated list of SubscriberEvent items. */ export type SubscriberEventPaginator = { - __typename?: 'SubscriberEventPaginator'; + __typename?: 'SubscriberEventPaginator' /** A list of SubscriberEvent items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} -export type SubscriberEventTargetUnion = Article | Desk | Email | Page | User; +export type SubscriberEventTargetUnion = Article | Desk | Email | Page | User /** A paginated list of Subscriber items. */ export type SubscriberPaginator = { - __typename?: 'SubscriberPaginator'; + __typename?: 'SubscriberPaginator' /** A list of Subscriber items. */ - data: Array; + data: Array /** Pagination information about the list of items. */ - paginatorInfo: PaginatorInfo; -}; + paginatorInfo: PaginatorInfo +} export type SubscriberPainPoint = { - __typename?: 'SubscriberPainPoint'; - value: Scalars['String']['output']; - weight: Scalars['Int']['output']; -}; + __typename?: 'SubscriberPainPoint' + value: Scalars['String']['output'] + weight: Scalars['Int']['output'] +} export type SubscribersGraph = { - __typename?: 'SubscribersGraph'; + __typename?: 'SubscribersGraph' /** date */ - date: Scalars['Date']['output']; + date: Scalars['Date']['output'] /** paid subscribers */ - paid_subscribers: Scalars['Int']['output']; + paid_subscribers: Scalars['Int']['output'] /** total subscribers */ - subscribers: Scalars['Int']['output']; -}; + subscribers: Scalars['Int']['output'] +} export type Subscription = { - __typename?: 'Subscription'; - LiveUpdate?: Maybe; -}; + __typename?: 'Subscription' + LiveUpdate?: Maybe +} export type SubscriptionAnalysis = { - __typename?: 'SubscriptionAnalysis'; + __typename?: 'SubscriptionAnalysis' /** active subscribers number */ - active_subscribers: Scalars['Int']['output']; + active_subscribers: Scalars['Int']['output'] /** email clicks number */ - email_clicks: Scalars['Int']['output']; + email_clicks: Scalars['Int']['output'] /** email opens number */ - email_opens: Scalars['Int']['output']; + email_opens: Scalars['Int']['output'] /** email sends number */ - email_sends: Scalars['Int']['output']; + email_sends: Scalars['Int']['output'] /** paid subscribers number */ - paid_subscribers: Scalars['Int']['output']; + paid_subscribers: Scalars['Int']['output'] /** revenue */ - revenue: Scalars['String']['output']; + revenue: Scalars['String']['output'] /** total subscribers number */ - subscribers: Scalars['Int']['output']; -}; + subscribers: Scalars['Int']['output'] +} export type SubscriptionGraphs = { - __typename?: 'SubscriptionGraphs'; + __typename?: 'SubscriptionGraphs' /** revenue by dates */ - revenue: Array; + revenue: Array /** subscribers by dates */ - subscribers: Array; -}; + subscribers: Array +} export type SubscriptionOverview = { - __typename?: 'SubscriptionOverview'; + __typename?: 'SubscriptionOverview' /** current month information */ - current?: Maybe; + current?: Maybe /** previous month information */ - previous?: Maybe; -}; + previous?: Maybe +} export type SubscriptionPlan = { - __typename?: 'SubscriptionPlan'; - interval: Scalars['String']['output']; - price: Scalars['String']['output']; -}; + __typename?: 'SubscriptionPlan' + interval: Scalars['String']['output'] + price: Scalars['String']['output'] +} /** Setup */ export enum SubscriptionSetup { @@ -4316,7 +4133,7 @@ export enum SubscriptionSetup { /** Wait import */ WaitImport = 'waitImport', /** Wait next stage */ - WaitNextStage = 'waitNextStage' + WaitNextStage = 'waitNextStage', } /** Type */ @@ -4326,52 +4143,51 @@ export enum SubscriptionType { /** Subscribed */ Subscribed = 'subscribed', /** Unsubscribed */ - Unsubscribed = 'unsubscribed' + Unsubscribed = 'unsubscribed', } export type SwapAppSubscriptionInput = { - price_id: Scalars['String']['input']; - promotion_code?: InputMaybe; - quantity?: InputMaybe; -}; + price_id: Scalars['String']['input'] + promotion_code?: InputMaybe + quantity?: InputMaybe +} export type SyncGroupableToCustomFieldGroupInput = { /** remove existing ids that aren't present in the target_ids input(default: true) */ - detaching?: InputMaybe; + detaching?: InputMaybe /** custom field group id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** target ids(tags, desks, ...) */ - target_ids: Array; -}; + target_ids: Array +} export type Tag = { - __typename?: 'Tag'; + __typename?: 'Tag' /** articles which has current tag */ - articles: ArticlePaginator; + articles: ArticlePaginator /** the number of articles which associate to this tag */ - count: Scalars['Int']['output']; + count: Scalars['Int']['output'] /** tag description */ - description?: Maybe; + description?: Maybe /** tag id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** custom fields for metafield */ - metafields: Array; + metafields: Array /** tag name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** tag string id */ - sid: Scalars['ID']['output']; + sid: Scalars['ID']['output'] /** * tag slug, use for structure url, * e.g. /tags/{slug} */ - slug: Scalars['String']['output']; -}; - + slug: Scalars['String']['output'] +} export type TagArticlesArgs = { - first?: Scalars['Int']['input']; - page?: InputMaybe; -}; + first?: Scalars['Int']['input'] + page?: InputMaybe +} /** Type */ export enum TemplateType { @@ -4384,23 +4200,23 @@ export enum TemplateType { /** Editor block ssr */ EditorBlockSsr = 'editorBlockSsr', /** Site */ - Site = 'site' + Site = 'site', } export type TrackSubscriberActivityInput = { /** event data */ - data?: InputMaybe; + data?: InputMaybe /** event name */ - name: Scalars['String']['input']; + name: Scalars['String']['input'] /** target id */ - target_id?: InputMaybe; -}; + target_id?: InputMaybe +} export type TransferDeskArticlesInput = { - from_id: Scalars['ID']['input']; - to_id: Scalars['ID']['input']; - trash?: InputMaybe; -}; + from_id: Scalars['ID']['input'] + to_id: Scalars['ID']['input'] + trash?: InputMaybe +} /** Specify if you want to include or exclude trashed results from a query. */ export enum Trashed { @@ -4409,207 +4225,207 @@ export enum Trashed { /** Return both trashed and non-trashed results. */ With = 'WITH', /** Only return non-trashed results. */ - Without = 'WITHOUT' + Without = 'WITHOUT', } export type TriggerSiteBuildInput = { /** trigger id, e.g. article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** trigger type */ - type: ReleaseType; -}; + type: ReleaseType +} export type TwitterConfiguration = { - __typename?: 'TwitterConfiguration'; + __typename?: 'TwitterConfiguration' /** twitter user name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** twitter user thumbnail */ - thumbnail?: Maybe; + thumbnail?: Maybe /** twitter user id */ - user_id: Scalars['String']['output']; -}; + user_id: Scalars['String']['output'] +} export type UnsplashSearchInput = { /** search keyword */ - keyword: Scalars['String']['input']; + keyword: Scalars['String']['input'] /** image orientation */ - orientation?: InputMaybe; + orientation?: InputMaybe /** change result page */ - page?: InputMaybe; -}; + page?: InputMaybe +} /** password update form */ export type UpdateAccountPasswordInput = { /** confirm new password field */ - confirm: Scalars['String']['input']; + confirm: Scalars['String']['input'] /** current password field */ - current: Scalars['String']['input']; + current: Scalars['String']['input'] /** new password field */ - future: Scalars['String']['input']; -}; + future: Scalars['String']['input'] +} export type UpdateAppPaymentMethodInput = { - country?: InputMaybe; - postal_code?: InputMaybe; - token: Scalars['String']['input']; -}; + country?: InputMaybe + postal_code?: InputMaybe + token: Scalars['String']['input'] +} export type UpdateAppSubscriptionQuantityInput = { - quantity: Scalars['Int']['input']; -}; + quantity: Scalars['Int']['input'] +} /** update article's author info form */ export type UpdateArticleAuthorInput = { /** article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** user id(author id) */ - user_id: Scalars['ID']['input']; -}; + user_id: Scalars['ID']['input'] +} export type UpdateArticleInput = { - auto_posting?: InputMaybe; - blurb?: InputMaybe; - cover?: InputMaybe; - document?: InputMaybe; - featured?: InputMaybe; + auto_posting?: InputMaybe + blurb?: InputMaybe + cover?: InputMaybe + document?: InputMaybe + featured?: InputMaybe /** article id */ - id: Scalars['ID']['input']; - layout_id?: InputMaybe; - newsletter?: InputMaybe; - plan?: InputMaybe; - seo?: InputMaybe; - slug?: InputMaybe; - title?: InputMaybe; -}; + id: Scalars['ID']['input'] + layout_id?: InputMaybe + newsletter?: InputMaybe + plan?: InputMaybe + seo?: InputMaybe + slug?: InputMaybe + title?: InputMaybe +} export type UpdateArticleThreadInput = { - id: Scalars['ID']['input']; - position: Scalars['JSON']['input']; -}; + id: Scalars['ID']['input'] + position: Scalars['JSON']['input'] +} export type UpdateBlockInput = { /** block archive file */ - file?: InputMaybe; + file?: InputMaybe /** block id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** presigned upload url key */ - key?: InputMaybe; + key?: InputMaybe /** signature of the request */ - signature?: InputMaybe; -}; + signature?: InputMaybe +} export type UpdateCustomFieldGroupInput = { - description?: InputMaybe; + description?: InputMaybe /** custom field group id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** custom field group key */ - key?: InputMaybe; + key?: InputMaybe /** custom field group name */ - name?: InputMaybe; -}; + name?: InputMaybe +} export type UpdateCustomFieldInput = { - description?: InputMaybe; + description?: InputMaybe /** custom field id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** custom field key */ - key?: InputMaybe; + key?: InputMaybe /** custom field name */ - name?: InputMaybe; + name?: InputMaybe /** custom field options */ - options?: InputMaybe; -}; + options?: InputMaybe +} export type UpdateCustomFieldValueInput = { /** custom field value id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** custom field value */ - value?: InputMaybe; -}; + value?: InputMaybe +} export type UpdateDesignInput = { /** live content */ - current?: InputMaybe; + current?: InputMaybe /** draft content */ - draft?: InputMaybe; + draft?: InputMaybe /** key */ - key: Scalars['ID']['input']; + key: Scalars['ID']['input'] /** seo meta data */ - seo?: InputMaybe; -}; + seo?: InputMaybe +} export type UpdateDeskInput = { /** desk description */ - description?: InputMaybe; + description?: InputMaybe /** desk id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** layout id */ - layout_id?: InputMaybe; + layout_id?: InputMaybe /** desk name */ - name?: InputMaybe; + name?: InputMaybe /** determinate desk is open_access or not */ - open_access?: InputMaybe; + open_access?: InputMaybe /** seo meta data */ - seo?: InputMaybe; + seo?: InputMaybe /** desk slug */ - slug?: InputMaybe; -}; + slug?: InputMaybe +} export type UpdateIntegrationInput = { /** integration data */ - data: Scalars['JSON']['input']; + data: Scalars['JSON']['input'] /** integration key */ - key: Scalars['ID']['input']; -}; + key: Scalars['ID']['input'] +} export type UpdateLayoutInput = { /** layout data */ - data?: InputMaybe; + data?: InputMaybe /** layout id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** layout name */ - name?: InputMaybe; + name?: InputMaybe /** template id */ - template?: InputMaybe; -}; + template?: InputMaybe +} export type UpdateLinterInput = { /** linter description */ - description?: InputMaybe; + description?: InputMaybe /** linter id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** linter prompt */ - prompt?: InputMaybe; + prompt?: InputMaybe /** linter title */ - title?: InputMaybe; -}; + title?: InputMaybe +} export type UpdateNoteInput = { /** note content */ - content: Scalars['String']['input']; + content: Scalars['String']['input'] /** note id */ - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type UpdatePageInput = { /** live content */ - current?: InputMaybe; + current?: InputMaybe /** draft content */ - draft?: InputMaybe; + draft?: InputMaybe /** page id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** layout id */ - layout_id?: InputMaybe; + layout_id?: InputMaybe /** page order */ - order?: InputMaybe; + order?: InputMaybe /** seo meta data */ - seo?: InputMaybe; + seo?: InputMaybe /** * page title, * e.g. About Us */ - title?: InputMaybe; -}; + title?: InputMaybe +} /** account profile update form */ export type UpdateProfileInput = { @@ -4617,243 +4433,245 @@ export type UpdateProfileInput = { * this field is used to remove avatar, * the only available value is `null` */ - avatar?: InputMaybe; + avatar?: InputMaybe /** description of personal profile */ - bio?: InputMaybe; + bio?: InputMaybe /** birthday */ - birthday?: InputMaybe; + birthday?: InputMaybe /** public email */ - contact_email?: InputMaybe; + contact_email?: InputMaybe /** * first name, * e.g. 大明 */ - first_name?: InputMaybe; + first_name?: InputMaybe /** gender */ - gender?: InputMaybe; + gender?: InputMaybe /** job title */ - job_title?: InputMaybe; + job_title?: InputMaybe /** * last name, * e.g. 王 */ - last_name?: InputMaybe; + last_name?: InputMaybe /** location */ - location?: InputMaybe; + location?: InputMaybe /** arbitrary data field */ - meta?: InputMaybe; + meta?: InputMaybe /** * phone number with national prefix, * e.g. +1 */ - phone_number?: InputMaybe; - slug?: InputMaybe; + phone_number?: InputMaybe + slug?: InputMaybe /** social network links */ - socials?: InputMaybe; + socials?: InputMaybe /** personal website url */ - website?: InputMaybe; -}; + website?: InputMaybe +} export type UpdateRedirectionInput = { /** redirection id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** redirection path */ - path: Scalars['String']['input']; + path: Scalars['String']['input'] /** redirection target */ - target: Scalars['String']['input']; -}; + target: Scalars['String']['input'] +} export type UpdateReleaseInput = { /** release id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** release final message */ - message?: InputMaybe; + message?: InputMaybe /** release meta data */ - meta?: InputMaybe; + meta?: InputMaybe /** release state progress */ - progress?: InputMaybe; + progress?: InputMaybe /** release state */ - state?: InputMaybe; -}; + state?: InputMaybe +} export type UpdateScraperArticleInput = { /** arbitrary data */ - data?: InputMaybe; + data?: InputMaybe /** scraper article id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** article scraped_at */ - scraped_at?: InputMaybe; + scraped_at?: InputMaybe /** is scraped successfully */ - successful?: InputMaybe; + successful?: InputMaybe /** scraper token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type UpdateScraperInput = { /** arbitrary data */ - data?: InputMaybe; + data?: InputMaybe /** scraper failed time */ - failed_at?: InputMaybe; + failed_at?: InputMaybe /** scraper finished time */ - finished_at?: InputMaybe; + finished_at?: InputMaybe /** scraper state */ - state?: InputMaybe; + state?: InputMaybe /** scraper token */ - token: Scalars['String']['input']; -}; + token: Scalars['String']['input'] +} export type UpdateSiteInput = { /** generator configurations */ - buildx?: InputMaybe; + buildx?: InputMaybe /** enable / disable custom site template */ - custom_site_template?: InputMaybe; + custom_site_template?: InputMaybe /** publication description */ - description?: InputMaybe; + description?: InputMaybe /** built-in desks' names alias */ - desk_alias?: InputMaybe; + desk_alias?: InputMaybe /** publication email */ - email?: InputMaybe; + email?: InputMaybe /** publication favicon, base64 type */ - favicon?: InputMaybe; + favicon?: InputMaybe /** main hosting site */ - hosting?: InputMaybe; + hosting?: InputMaybe /** RFC 5646 Language Tags */ - lang?: InputMaybe; + lang?: InputMaybe /** publication name */ - name?: InputMaybe; + name?: InputMaybe /** leaky paywall configurations */ - paywall_config?: InputMaybe; + paywall_config?: InputMaybe /** static site url structures */ - permalinks?: InputMaybe; + permalinks?: InputMaybe + /** prophet configurations */ + prophet_config?: InputMaybe /** customized sitemap */ - sitemap?: InputMaybe; + sitemap?: InputMaybe /** social network links */ - socials?: InputMaybe; + socials?: InputMaybe /** publication timezone */ - timezone?: InputMaybe; + timezone?: InputMaybe /** publication tutorial history */ - tutorials?: InputMaybe; + tutorials?: InputMaybe /** * publication storipress domain prefix, * e.g. {workspace}.storipress.app */ - workspace?: InputMaybe; -}; + workspace?: InputMaybe +} export type UpdateStageInput = { /** stage color */ - color?: InputMaybe; + color?: InputMaybe /** stage icon */ - icon?: InputMaybe; + icon?: InputMaybe /** stage id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** stage name */ - name?: InputMaybe; -}; + name?: InputMaybe +} export type UpdateSubscriberInput = { /** subscriber email */ - email?: InputMaybe; + email?: InputMaybe /** subscriber first name */ - first_name?: InputMaybe; + first_name?: InputMaybe /** subscriber last name */ - last_name?: InputMaybe; + last_name?: InputMaybe /** enable newsletter or not */ - newsletter?: InputMaybe; -}; + newsletter?: InputMaybe +} export type UpdateTagInput = { /** tag description */ - description?: InputMaybe; + description?: InputMaybe /** tag id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** tag name */ - name?: InputMaybe; -}; + name?: InputMaybe +} export type UpdateUserInput = { /** avatar url */ - avatar?: InputMaybe; + avatar?: InputMaybe /** description of personal profile */ - bio?: InputMaybe; + bio?: InputMaybe /** birthday */ - birthday?: InputMaybe; + birthday?: InputMaybe /** account email */ - email?: InputMaybe; + email?: InputMaybe /** * user first name, * e.g. 大明 */ - first_name?: InputMaybe; + first_name?: InputMaybe /** gender */ - gender?: InputMaybe; + gender?: InputMaybe /** user id */ - id: Scalars['ID']['input']; + id: Scalars['ID']['input'] /** * user last name, * e.g. 王 */ - last_name?: InputMaybe; + last_name?: InputMaybe /** location */ - location?: InputMaybe; + location?: InputMaybe /** * phone number with national prefix, * e.g. +1 */ - phone_number?: InputMaybe; + phone_number?: InputMaybe /** personal website url */ - website?: InputMaybe; -}; + website?: InputMaybe +} export type UpdateWebflowCollectionInput = { /** collection type */ - type: WebflowCollectionType; + type: WebflowCollectionType /** collection id */ - value: Scalars['ID']['input']; -}; + value: Scalars['ID']['input'] +} export type UpdateWebflowCollectionMappingInput = { /** collection type */ - type: WebflowCollectionType; + type: WebflowCollectionType /** collection id */ - value: Array; -}; + value: Array +} export type UpdateWebflowCollectionMappingValueInput = { - storipress_id: Scalars['String']['input']; - webflow_id: Scalars['ID']['input']; -}; + storipress_id: Scalars['String']['input'] + webflow_id: Scalars['ID']['input'] +} export type UpdateWebflowDomainInput = { /** site domain */ - value: Scalars['String']['input']; -}; + value: Scalars['String']['input'] +} export type UpdateWebflowSiteInput = { /** site id */ - value: Scalars['ID']['input']; -}; + value: Scalars['ID']['input'] +} export type UploadArticleImageInput = { /** image file */ - file: Scalars['Upload']['input']; + file: Scalars['Upload']['input'] /** article id */ - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type UploadAvatarInput = { /** image file */ - file: Scalars['Upload']['input']; + file: Scalars['Upload']['input'] /** user id */ - id?: InputMaybe; -}; + id?: InputMaybe +} export type UploadBlockPreviewInput = { /** image file */ - file: Scalars['Upload']['input']; + file: Scalars['Upload']['input'] /** block id */ - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} /** Image */ export enum UploadImage { @@ -4878,101 +4696,101 @@ export enum UploadImage { /** Subscriber avatar */ SubscriberAvatar = 'subscriberAvatar', /** User avatar */ - UserAvatar = 'userAvatar' + UserAvatar = 'userAvatar', } export type UploadImageInput = { /** presigned upload url key */ - key: Scalars['ID']['input']; + key: Scalars['ID']['input'] /** signature of the request */ - signature: Scalars['String']['input']; + signature: Scalars['String']['input'] /** target id */ - target_id: Scalars['ID']['input']; + target_id: Scalars['ID']['input'] /** type */ - type: UploadImage; -}; + type: UploadImage +} export type UploadLayoutPreviewInput = { /** image file */ - file: Scalars['Upload']['input']; + file: Scalars['Upload']['input'] /** layout id */ - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type UploadSiteTemplateInput = { /** presigned upload url key */ - key: Scalars['ID']['input']; -}; + key: Scalars['ID']['input'] +} export type UploadSubscriberAvatarInput = { /** image file */ - file: Scalars['Upload']['input']; -}; + file: Scalars['Upload']['input'] +} export type User = { - __typename?: 'User'; + __typename?: 'User' /** avatar url */ - avatar?: Maybe; + avatar?: Maybe /** description of personal profile */ - bio?: Maybe; + bio?: Maybe /** public email */ - contact_email?: Maybe; + contact_email?: Maybe /** user create(join) time */ - created_at: Scalars['DateTime']['output']; + created_at: Scalars['DateTime']['output'] /** desks joined by the user */ - desks: Array; + desks: Array /** user email */ - email?: Maybe; + email?: Maybe /** * user first name, * e.g. 大明 */ - first_name?: Maybe; + first_name?: Maybe /** user full name */ - full_name?: Maybe; + full_name?: Maybe /** user id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** intercom hash identity */ - intercom_hash_identity: Scalars['String']['output']; + intercom_hash_identity: Scalars['String']['output'] /** job title */ - job_title?: Maybe; + job_title?: Maybe /** * user last name, * e.g. 王 */ - last_name?: Maybe; + last_name?: Maybe /** user last seen time */ - last_seen_at?: Maybe; + last_seen_at?: Maybe /** location */ - location?: Maybe; + location?: Maybe /** arbitrary data field */ - meta?: Maybe; + meta?: Maybe /** user's role */ - role?: Maybe; + role?: Maybe /** * user signed up source information, e.g. * - direct * - appsumo * - invite:D6RX98VXN,D1NJYLKZN */ - signed_up_source?: Maybe; + signed_up_source?: Maybe /** user slug, use for structure url */ - slug?: Maybe; + slug?: Maybe /** social network links */ - socials?: Maybe; + socials?: Maybe /** * user status, * e.g. suspended, active */ - status?: Maybe; + status?: Maybe /** user is suspended or not */ - suspended?: Maybe; - updated_at: Scalars['DateTime']['output']; + suspended?: Maybe + updated_at: Scalars['DateTime']['output'] /** user email confirmed or not */ - verified: Scalars['Boolean']['output']; + verified: Scalars['Boolean']['output'] /** personal website url */ - website?: Maybe; -}; + website?: Maybe +} /** Gender */ export enum UserGender { @@ -4981,7 +4799,7 @@ export enum UserGender { /** Male */ Male = 'male', /** Other */ - Other = 'other' + Other = 'other', } /** Status */ @@ -4991,57 +4809,57 @@ export enum UserStatus { /** Invited */ Invited = 'invited', /** Suspended */ - Suspended = 'suspended' + Suspended = 'suspended', } export type WebflowCollection = { - __typename?: 'WebflowCollection'; + __typename?: 'WebflowCollection' /** text displayed to the user */ - displayName: Scalars['String']['output']; + displayName: Scalars['String']['output'] /** collection fields */ - fields: Array; + fields: Array /** Webflow collection id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** * key(webflow-field-id) value(candidate-value, nullable) object, * e.g. {"19bf7":null,"210c9":"editors"} */ - mappings?: Maybe; -}; + mappings?: Maybe +} export type WebflowCollectionField = { - __typename?: 'WebflowCollectionField'; + __typename?: 'WebflowCollectionField' /** potential field list corresponding to Storipress */ - candidates?: Maybe>; + candidates?: Maybe> /** text displayed to the user */ - displayName: Scalars['String']['output']; + displayName: Scalars['String']['output'] /** Webflow collection field id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** whether the collection field is required or not */ - isRequired: Scalars['Boolean']['output']; + isRequired: Scalars['Boolean']['output'] /** the collection field type */ - type: WebflowFieldType; -}; + type: WebflowFieldType +} export type WebflowCollectionFieldCandidate = { - __typename?: 'WebflowCollectionFieldCandidate'; + __typename?: 'WebflowCollectionFieldCandidate' /** text displayed to the user */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** value required for the API call */ - value: Scalars['String']['output']; -}; + value: Scalars['String']['output'] +} export type WebflowCollectionOnboarding = { - __typename?: 'WebflowCollectionOnboarding'; + __typename?: 'WebflowCollectionOnboarding' /** whether the author collection is selected or not */ - author: Scalars['Boolean']['output']; + author: Scalars['Boolean']['output'] /** whether the blog collection is selected or not */ - blog: Scalars['Boolean']['output']; + blog: Scalars['Boolean']['output'] /** whether the desk collection is selected or not */ - desk: Scalars['Boolean']['output']; + desk: Scalars['Boolean']['output'] /** whether the tag collection is selected or not */ - tag: Scalars['Boolean']['output']; -}; + tag: Scalars['Boolean']['output'] +} /** Collection type */ export enum WebflowCollectionType { @@ -5052,67 +4870,67 @@ export enum WebflowCollectionType { /** Desk */ Desk = 'desk', /** Tag */ - Tag = 'tag' + Tag = 'tag', } export type WebflowConfiguration = { - __typename?: 'WebflowConfiguration'; + __typename?: 'WebflowConfiguration' /** webflow collections */ - collections: Array; + collections: Array /** webflow user email */ - email: Scalars['EmailString']['output']; + email: Scalars['EmailString']['output'] /** webflow token is expired or not */ - expired?: Maybe; + expired?: Maybe /** webflow user name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** webflow user id */ - user_id: Scalars['String']['output']; + user_id: Scalars['String']['output'] /** webflow api is v2 or not */ - v2?: Maybe; -}; + v2?: Maybe +} export type WebflowConfigurationCollection = { - __typename?: 'WebflowConfigurationCollection'; + __typename?: 'WebflowConfigurationCollection' /** webflow collection id */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** webflow item mappings */ - mapping: Array; -}; + mapping: Array +} export type WebflowConfigurationCollectionItemMapping = { - __typename?: 'WebflowConfigurationCollectionItemMapping'; + __typename?: 'WebflowConfigurationCollectionItemMapping' /** webflow collection item id */ - key: Scalars['String']['output']; + key: Scalars['String']['output'] /** storipress article field */ - value: Scalars['String']['output']; -}; + value: Scalars['String']['output'] +} export type WebflowCustomDomain = { - __typename?: 'WebflowCustomDomain'; - id: Scalars['ID']['output']; - url: Scalars['String']['output']; -}; + __typename?: 'WebflowCustomDomain' + id: Scalars['ID']['output'] + url: Scalars['String']['output'] +} export type WebflowDetectionMappingOnboarding = { - __typename?: 'WebflowDetectionMappingOnboarding'; + __typename?: 'WebflowDetectionMappingOnboarding' /** whether the author collection's fields mapping detection is ongoing or not */ - author: Scalars['Boolean']['output']; + author: Scalars['Boolean']['output'] /** whether the blog collection's fields mapping detection is ongoing or not */ - blog: Scalars['Boolean']['output']; + blog: Scalars['Boolean']['output'] /** whether the desk collection's fields mapping detection is ongoing or not */ - desk: Scalars['Boolean']['output']; + desk: Scalars['Boolean']['output'] /** whether the tag collection's fields mapping detection is ongoing or not */ - tag: Scalars['Boolean']['output']; -}; + tag: Scalars['Boolean']['output'] +} export type WebflowDetectionOnboarding = { - __typename?: 'WebflowDetectionOnboarding'; + __typename?: 'WebflowDetectionOnboarding' /** whether the site collection is ongoing or not */ - collection: Scalars['Boolean']['output']; - mapping: WebflowDetectionMappingOnboarding; + collection: Scalars['Boolean']['output'] + mapping: WebflowDetectionMappingOnboarding /** whether the site detection is ongoing or not */ - site: Scalars['Boolean']['output']; -}; + site: Scalars['Boolean']['output'] +} /** Field type */ export enum WebflowFieldType { @@ -5161,200 +4979,317 @@ export enum WebflowFieldType { /** User */ User = 'user', /** Video link */ - VideoLink = 'videoLink' + VideoLink = 'videoLink', } export type WebflowInfo = { - __typename?: 'WebflowInfo'; + __typename?: 'WebflowInfo' /** whether the integration is activated or not */ - activated_at?: Maybe; + activated_at?: Maybe /** configured Webflow site domain */ - domain?: Maybe; + domain?: Maybe /** configured Webflow site id */ - site_id?: Maybe; -}; + site_id?: Maybe +} export type WebflowItem = { - __typename?: 'WebflowItem'; + __typename?: 'WebflowItem' /** Webflow item id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** item name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** item slug */ - slug: Scalars['String']['output']; -}; + slug: Scalars['String']['output'] +} export type WebflowMappingOnboarding = { - __typename?: 'WebflowMappingOnboarding'; + __typename?: 'WebflowMappingOnboarding' /** whether the author collection's fields mapping is completed or not */ - author: Scalars['Boolean']['output']; + author: Scalars['Boolean']['output'] /** whether the blog collection's fields mapping is completed or not */ - blog: Scalars['Boolean']['output']; + blog: Scalars['Boolean']['output'] /** whether the desk collection's fields mapping is completed or not */ - desk: Scalars['Boolean']['output']; + desk: Scalars['Boolean']['output'] /** whether the tag collection's fields mapping is completed or not */ - tag: Scalars['Boolean']['output']; -}; + tag: Scalars['Boolean']['output'] +} export type WebflowOnboarding = { - __typename?: 'WebflowOnboarding'; - collection: WebflowCollectionOnboarding; - detection: WebflowDetectionOnboarding; - mapping: WebflowMappingOnboarding; + __typename?: 'WebflowOnboarding' + collection: WebflowCollectionOnboarding + detection: WebflowDetectionOnboarding + mapping: WebflowMappingOnboarding /** whether the site is selected or not */ - site: Scalars['Boolean']['output']; -}; + site: Scalars['Boolean']['output'] +} export type WebflowReference = { - __typename?: 'WebflowReference'; + __typename?: 'WebflowReference' /** Webflow item id */ - id: Scalars['ID']['output']; -}; + id: Scalars['ID']['output'] +} export type WebflowSite = { - __typename?: 'WebflowSite'; + __typename?: 'WebflowSite' /** site custom domains */ - customDomains: Array; + customDomains: Array /** site webflow domain, e.g. hello.webflow.io */ - defaultDomain: Scalars['String']['output']; + defaultDomain: Scalars['String']['output'] /** text displayed to the user */ - displayName: Scalars['String']['output']; + displayName: Scalars['String']['output'] /** Webflow site id */ - id: Scalars['ID']['output']; -}; + id: Scalars['ID']['output'] +} /** Dynamic WHERE conditions for queries. */ export type WhereConditions = { /** A set of conditions that requires all conditions to match. */ - AND?: InputMaybe>; + AND?: InputMaybe> /** Check whether a relation exists. Extra conditions or a minimum amount can be applied. */ - HAS?: InputMaybe; + HAS?: InputMaybe /** A set of conditions that requires at least one condition to match. */ - OR?: InputMaybe>; + OR?: InputMaybe> /** The column that is used for the condition. */ - column?: InputMaybe; + column?: InputMaybe /** The operator that is used for the condition. */ - operator?: InputMaybe; + operator?: InputMaybe /** The value that is used for the condition. */ - value?: InputMaybe; -}; + value?: InputMaybe +} /** Dynamic HAS conditions for WHERE condition queries. */ export type WhereConditionsRelation = { /** The amount to test. */ - amount?: InputMaybe; + amount?: InputMaybe /** Additional condition logic. */ - condition?: InputMaybe; + condition?: InputMaybe /** The comparison operator to test against the amount. */ - operator?: InputMaybe; + operator?: InputMaybe /** The relation that is checked. */ - relation: Scalars['String']['input']; -}; + relation: Scalars['String']['input'] +} export type WordPressFeature = { - __typename?: 'WordPressFeature'; + __typename?: 'WordPressFeature' /** the activation of WordPress acf plugin synchronization */ - acf: Scalars['Boolean']['output']; + acf: Scalars['Boolean']['output'] /** the activation of WordPress site synchronization */ - site: Scalars['Boolean']['output']; + site: Scalars['Boolean']['output'] /** the activation of WordPress yoast seo plugin synchronization */ - yoast_seo: Scalars['Boolean']['output']; -}; + yoast_seo: Scalars['Boolean']['output'] +} export type WordPressInfo = { - __typename?: 'WordPressInfo'; + __typename?: 'WordPressInfo' /** whether the integration is activated or not */ - activated_at?: Maybe; + activated_at?: Maybe /** whether the integration token is expired or not */ - expired?: Maybe; + expired?: Maybe /** the features of WordPress synchronization */ - feature?: Maybe; + feature?: Maybe /** configured WordPress site name */ - site_name?: Maybe; + site_name?: Maybe /** configured WordPress site url */ - url?: Maybe; + url?: Maybe /** configured WordPress username */ - username?: Maybe; + username?: Maybe /** configured WordPress Plugin version */ - version?: Maybe; -}; + version?: Maybe +} /** Optional feature */ export enum WordPressOptionalFeatureType { /** Acf */ Acf = 'acf', + /** Acf pro */ + AcfPro = 'acfPro', + /** Rank math */ + RankMath = 'rankMath', /** Site */ Site = 'site', /** Yoast seo */ - YoastSeo = 'yoastSeo' + YoastSeo = 'yoastSeo', } /** subset of site(publication) */ export type Workspace = { - __typename?: 'Workspace'; + __typename?: 'Workspace' /** publication custom domain */ - custom_domain?: Maybe; + custom_domain?: Maybe /** * publication customer site domain * e.g. hello.storipress.app, example.com */ - customer_site_domain: Scalars['String']['output']; + customer_site_domain: Scalars['String']['output'] /** publication description */ - description?: Maybe; + description?: Maybe /** publication favicon */ - favicon?: Maybe; + favicon?: Maybe /** hidden or not */ - hidden: Scalars['Boolean']['output']; + hidden: Scalars['Boolean']['output'] /** publication id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** publication name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** user's role */ - role: Scalars['String']['output']; + role: Scalars['String']['output'] /** * user status, * e.g. suspended, active */ - status: UserStatus; + status: UserStatus /** * publication storipress domain prefix, * e.g. {workspace}.storipress.app */ - workspace: Scalars['String']['output']; -}; + workspace: Scalars['String']['output'] +} export type PresignedUploadUrl = { - __typename?: 'presignedUploadURL'; + __typename?: 'presignedUploadURL' /** url expires time */ - expire_on: Scalars['DateTime']['output']; + expire_on: Scalars['DateTime']['output'] /** key(id) */ - key: Scalars['ID']['output']; + key: Scalars['ID']['output'] /** signature of the request */ - signature: Scalars['String']['output']; + signature: Scalars['String']['output'] /** upload endpoint */ - url: Scalars['String']['output']; -}; + url: Scalars['String']['output'] +} export type SignInPaywallMutationVariables = Exact<{ - email: Scalars['EmailString']['input']; -}>; - + email: Scalars['EmailString']['input'] +}> -export type SignInPaywallMutation = { __typename?: 'Mutation', signInLeakySubscriber: string }; +export type SignInPaywallMutation = { __typename?: 'Mutation'; signInLeakySubscriber: string } -export type SiteSubscriptionInfoQueryVariables = Exact<{ [key: string]: never; }>; +export type SiteSubscriptionInfoQueryVariables = Exact<{ [key: string]: never }> - -export type SiteSubscriptionInfoQuery = { __typename?: 'Query', siteSubscriptionInfo: { __typename?: 'SiteSubscriptionInfo', name: string, description?: string | null, logo?: { __typename?: 'Image', url: string } | null } }; +export type SiteSubscriptionInfoQuery = { + __typename?: 'Query' + siteSubscriptionInfo: { + __typename?: 'SiteSubscriptionInfo' + name: string + description?: string | null + logo?: { __typename?: 'Image'; url: string } | null + } +} export type TrackSubscriberActivityMutationVariables = Exact<{ - input: TrackSubscriberActivityInput; -}>; - - -export type TrackSubscriberActivityMutation = { __typename?: 'Mutation', trackSubscriberActivity: boolean }; - - -export const SignInPaywallDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SignInPaywall"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"email"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"EmailString"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"signInLeakySubscriber"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"email"},"value":{"kind":"Variable","name":{"kind":"Name","value":"email"}}}]}}]}]}}]} as unknown as DocumentNode; -export const SiteSubscriptionInfoDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SiteSubscriptionInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"siteSubscriptionInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"url"}}]}}]}}]}}]} as unknown as DocumentNode; -export const TrackSubscriberActivityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TrackSubscriberActivity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"TrackSubscriberActivityInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trackSubscriberActivity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode; \ No newline at end of file + input: TrackSubscriberActivityInput +}> + +export type TrackSubscriberActivityMutation = { __typename?: 'Mutation'; trackSubscriberActivity: boolean } + +export const SignInPaywallDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'SignInPaywall' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'email' } }, + type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'EmailString' } } }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'signInLeakySubscriber' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'ObjectValue', + fields: [ + { + kind: 'ObjectField', + name: { kind: 'Name', value: 'email' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'email' } }, + }, + ], + }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const SiteSubscriptionInfoDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'SiteSubscriptionInfo' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'siteSubscriptionInfo' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'logo' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }], + }, + }, + ], + }, + }, + ], + }, + }, + ], +} as unknown as DocumentNode +export const TrackSubscriberActivityDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'TrackSubscriberActivity' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'TrackSubscriberActivityInput' } }, + }, + }, + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'trackSubscriberActivity' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + }, + ], + }, + ], + }, + }, + ], +} as unknown as DocumentNode diff --git a/src/PaywallPreview.ce.vue b/src/PaywallPreview.ce.vue new file mode 100644 index 00000000..12962ecf --- /dev/null +++ b/src/PaywallPreview.ce.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/components/LeakyPaywall.vue b/src/components/LeakyPaywall.vue index bd42ed11..6b28d1dd 100644 --- a/src/components/LeakyPaywall.vue +++ b/src/components/LeakyPaywall.vue @@ -1,4 +1,5 @@ + + diff --git a/src/components/__tests__/LeakyPaywallContent.dom.spec.ts b/src/components/__tests__/LeakyPaywallContent.dom.spec.ts new file mode 100644 index 00000000..7d0cc843 --- /dev/null +++ b/src/components/__tests__/LeakyPaywallContent.dom.spec.ts @@ -0,0 +1,27 @@ +import { expect, it } from 'vitest' +import { render } from '@testing-library/vue' +import LeakyPaywallContent from '../LeakyPaywallContent.vue' + +vi.mock('@urql/vue', () => ({ + useMutation: () => ({ executeMutation: vi.fn() }), +})) + +it('renders correctly', () => { + const { getByText, getAllByRole } = render(LeakyPaywallContent, { + props: { + config: { + title: 'Title', + description: 'Description', + logo: 'https://example.com/logo.png', + primaryColor: '#000000', + dismissible: false, + }, + email: '', + }, + }) + + expect(getByText('Title')).toBeVisible() + expect(getByText('Description')).toBeVisible() + expect(getAllByRole('textbox')).toHaveLength(1) + expect(getAllByRole('button')).toHaveLength(1) +}) diff --git a/src/entry-preview.ts b/src/entry-preview.ts new file mode 100644 index 00000000..d3688173 --- /dev/null +++ b/src/entry-preview.ts @@ -0,0 +1,6 @@ +import { defineCustomElement } from 'vue' +import PaywallPreview from './PaywallPreview.ce.vue' + +export const PaywallPreviewElement = defineCustomElement(PaywallPreview) + +customElements.define('storipress-paywall-preview', PaywallPreviewElement) diff --git a/terraform/main.tf b/terraform/main.tf index 61f65a4b..20648015 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -35,3 +35,10 @@ resource "aws_s3_object" "leaky_paywall_debug" { source = "../lib/leaky-paywall-debug.min.js" source_hash = filemd5("../lib/leaky-paywall-debug.min.js") } + +resource "aws_s3_object" "leaky_paywall_preview" { + bucket = "storipress" + key = "assets/storipress/leaky-paywall-preview.min.js" + source = "../lib/leaky-paywall-preview.min.js" + source_hash = filemd5("../lib/leaky-paywall-preview.min.js") +} diff --git a/terraform/moon.yml b/terraform/moon.yml index c3dbe0cb..48562c10 100644 --- a/terraform/moon.yml +++ b/terraform/moon.yml @@ -25,6 +25,7 @@ tasks: inputs: - /lib/leaky-paywall.min.js - /lib/leaky-paywall-debug.min.js + - /lib/leaky-paywall-preview.min.js - $TF_VAR_aws_access_key - $TF_VAR_aws_secret_key - '*.tfvars' @@ -41,6 +42,7 @@ tasks: inputs: - /lib/leaky-paywall.min.js - /lib/leaky-paywall-debug.min.js + - /lib/leaky-paywall-preview.min.js - $TF_VAR_aws_access_key - $TF_VAR_aws_secret_key - '*.tfvars' diff --git a/vite.config.ts b/vite.config.ts index 2471a010..4b363c6e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -129,5 +129,28 @@ export default defineConfig(({ mode }) => { } } + if (mode === 'lib-preview') { + return { + ...baseConfig, + define: { + 'process.env.NODE_ENV': JSON.stringify('production'), + }, + build: { + outDir: 'lib', + emptyOutDir: false, + + lib: { + entry: { + 'leaky-paywall-preview': './src/entry-preview.ts', + }, + formats: ['es'], + }, + rollupOptions: { + external: ['vue'], + }, + }, + } + } + return baseConfig })