@duely/core
Advanced tools
Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "@duely/core", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Shared types and functions used by the Duely APIs.", | ||
@@ -5,0 +5,0 @@ "main": "dist/duely.js", |
@@ -10,2 +10,4 @@ import { DocumentNode } from 'graphql'; | ||
// TODO: remove this when the nested fragment issues are fixed | ||
// see: https://github.com/dotansimha/graphql-code-generator/issues/4684 | ||
// see: https://github.com/dotansimha/graphql-code-generator/issues/4573 | ||
@@ -12,0 +14,0 @@ function dedupe(ds: DocumentNode[]) { |
@@ -165,2 +165,3 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; | ||
services?: Maybe<Array<Service>>; | ||
settings: AgencySettings; | ||
}; | ||
@@ -470,2 +471,3 @@ export declare type AgencyServicesArgs = { | ||
variants?: Maybe<Array<ServiceVariant>>; | ||
settings: ServiceSettings; | ||
}; | ||
@@ -519,2 +521,21 @@ export declare type ServiceVariantsArgs = { | ||
}; | ||
export declare type ServiceSettings = { | ||
__typename?: 'ServiceSettings'; | ||
thank_you_page_setting?: Maybe<ServiceThankYouPageSetting>; | ||
}; | ||
export declare type ServiceThankYouPageSetting = { | ||
__typename?: 'ServiceThankYouPageSetting'; | ||
id: Scalars['ID']; | ||
url: Scalars['String']; | ||
agency_setting: AgencyThankYouPageSetting; | ||
}; | ||
export declare type AgencyThankYouPageSetting = { | ||
__typename?: 'AgencyThankYouPageSetting'; | ||
id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}; | ||
export declare type AgencySettings = { | ||
__typename?: 'AgencySettings'; | ||
thank_you_page_setting?: Maybe<AgencyThankYouPageSetting>; | ||
}; | ||
export declare type UserFilter = { | ||
@@ -554,2 +575,5 @@ name?: Maybe<Scalars['String']>; | ||
delete_agency: DeleteAgencyResult; | ||
create_agency_thank_you_page_setting: AgencyThankYouPageSettingMutationResult; | ||
update_agency_thank_you_page_setting: AgencyThankYouPageSettingMutationResult; | ||
delete_agency_thank_you_page_setting: AgencyThankYouPageSettingMutationResult; | ||
create_price: PriceMutationResult; | ||
@@ -562,2 +586,5 @@ update_price: PriceMutationResult; | ||
delete_service: ServiceMutationResult; | ||
create_service_thank_you_page_setting: ServiceThankYouPageSettingMutationResult; | ||
update_service_thank_you_page_setting: ServiceThankYouPageSettingMutationResult; | ||
delete_service_thank_you_page_setting: ServiceThankYouPageSettingMutationResult; | ||
create_service_variant: ServiceVariantMutationResult; | ||
@@ -603,2 +630,13 @@ update_service_variant: ServiceVariantMutationResult; | ||
}; | ||
export declare type MutationCreate_Agency_Thank_You_Page_SettingArgs = { | ||
agency_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}; | ||
export declare type MutationUpdate_Agency_Thank_You_Page_SettingArgs = { | ||
setting_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}; | ||
export declare type MutationDelete_Agency_Thank_You_Page_SettingArgs = { | ||
setting_id: Scalars['ID']; | ||
}; | ||
export declare type MutationCreate_PriceArgs = { | ||
@@ -621,2 +659,4 @@ service_variant_id: Scalars['ID']; | ||
price_id: Scalars['ID']; | ||
success_url?: Maybe<Scalars['String']>; | ||
cancel_url?: Maybe<Scalars['String']>; | ||
}; | ||
@@ -653,2 +693,13 @@ export declare type MutationCreate_ServiceArgs = { | ||
}; | ||
export declare type MutationCreate_Service_Thank_You_Page_SettingArgs = { | ||
service_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}; | ||
export declare type MutationUpdate_Service_Thank_You_Page_SettingArgs = { | ||
setting_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}; | ||
export declare type MutationDelete_Service_Thank_You_Page_SettingArgs = { | ||
setting_id: Scalars['ID']; | ||
}; | ||
export declare type MutationCreate_Service_VariantArgs = { | ||
@@ -757,2 +808,8 @@ service_id: Scalars['ID']; | ||
}; | ||
export declare type AgencyThankYouPageSettingMutationResult = MutationResult & { | ||
__typename?: 'AgencyThankYouPageSettingMutationResult'; | ||
success: Scalars['Boolean']; | ||
message?: Maybe<Scalars['String']>; | ||
setting?: Maybe<AgencyThankYouPageSetting>; | ||
}; | ||
export declare type PriceMutationResult = MutationResult & { | ||
@@ -776,2 +833,8 @@ __typename?: 'PriceMutationResult'; | ||
}; | ||
export declare type ServiceThankYouPageSettingMutationResult = MutationResult & { | ||
__typename?: 'ServiceThankYouPageSettingMutationResult'; | ||
success: Scalars['Boolean']; | ||
message?: Maybe<Scalars['String']>; | ||
setting?: Maybe<ServiceThankYouPageSetting>; | ||
}; | ||
export declare type ServiceVariantMutationResult = MutationResult & { | ||
@@ -1167,2 +1230,90 @@ __typename?: 'ServiceVariantMutationResult'; | ||
}); | ||
export declare type CreateAgencyThankYouPageSettingMutationVariables = Exact<{ | ||
agency_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}>; | ||
export declare type CreateAgencyThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
create_agency_thank_you_page_setting: ({ | ||
__typename?: 'AgencyThankYouPageSettingMutationResult'; | ||
} & Pick<AgencyThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'AgencyThankYouPageSetting'; | ||
} & Pick<AgencyThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type UpdateAgencyThankYouPageSettingMutationVariables = Exact<{ | ||
setting_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}>; | ||
export declare type UpdateAgencyThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
update_agency_thank_you_page_setting: ({ | ||
__typename?: 'AgencyThankYouPageSettingMutationResult'; | ||
} & Pick<AgencyThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'AgencyThankYouPageSetting'; | ||
} & Pick<AgencyThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type DeleteAgencyThankYouPageSettingMutationVariables = Exact<{ | ||
setting_id: Scalars['ID']; | ||
}>; | ||
export declare type DeleteAgencyThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
delete_agency_thank_you_page_setting: ({ | ||
__typename?: 'AgencyThankYouPageSettingMutationResult'; | ||
} & Pick<AgencyThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'AgencyThankYouPageSetting'; | ||
} & Pick<AgencyThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type CreateServiceThankYouPageSettingMutationVariables = Exact<{ | ||
service_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}>; | ||
export declare type CreateServiceThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
create_service_thank_you_page_setting: ({ | ||
__typename?: 'ServiceThankYouPageSettingMutationResult'; | ||
} & Pick<ServiceThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'ServiceThankYouPageSetting'; | ||
} & Pick<ServiceThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type UpdateServiceThankYouPageSettingMutationVariables = Exact<{ | ||
setting_id: Scalars['ID']; | ||
url: Scalars['String']; | ||
}>; | ||
export declare type UpdateServiceThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
update_service_thank_you_page_setting: ({ | ||
__typename?: 'ServiceThankYouPageSettingMutationResult'; | ||
} & Pick<ServiceThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'ServiceThankYouPageSetting'; | ||
} & Pick<ServiceThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type DeleteServiceThankYouPageSettingMutationVariables = Exact<{ | ||
setting_id: Scalars['ID']; | ||
}>; | ||
export declare type DeleteServiceThankYouPageSettingMutation = ({ | ||
__typename?: 'Mutation'; | ||
} & { | ||
delete_service_thank_you_page_setting: ({ | ||
__typename?: 'ServiceThankYouPageSettingMutationResult'; | ||
} & Pick<ServiceThankYouPageSettingMutationResult, 'success' | 'message'> & { | ||
setting?: Maybe<({ | ||
__typename?: 'ServiceThankYouPageSetting'; | ||
} & Pick<ServiceThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
}); | ||
export declare type CurrentUserQueryVariables = Exact<{ | ||
@@ -1436,2 +1587,38 @@ [key: string]: never; | ||
}); | ||
export declare type AgencyThankYouPageSettingQueryVariables = Exact<{ | ||
agency_id: Scalars['ID']; | ||
}>; | ||
export declare type AgencyThankYouPageSettingQuery = ({ | ||
__typename?: 'Query'; | ||
} & { | ||
agency?: Maybe<({ | ||
__typename?: 'Agency'; | ||
} & Pick<Agency, 'id'> & { | ||
settings: ({ | ||
__typename?: 'AgencySettings'; | ||
} & { | ||
thank_you_page_setting?: Maybe<({ | ||
__typename?: 'AgencyThankYouPageSetting'; | ||
} & Pick<AgencyThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
})>; | ||
}); | ||
export declare type ServiceThankYouPageSettingQueryVariables = Exact<{ | ||
service_id: Scalars['ID']; | ||
}>; | ||
export declare type ServiceThankYouPageSettingQuery = ({ | ||
__typename?: 'Query'; | ||
} & { | ||
service?: Maybe<({ | ||
__typename?: 'Service'; | ||
} & Pick<Service, 'id'> & { | ||
settings: ({ | ||
__typename?: 'ServiceSettings'; | ||
} & { | ||
thank_you_page_setting?: Maybe<({ | ||
__typename?: 'ServiceThankYouPageSetting'; | ||
} & Pick<ServiceThankYouPageSetting, 'id' | 'url'>)>; | ||
}); | ||
})>; | ||
}); | ||
export declare const Stripe_AccountFragmentDoc: DocumentNode<Stripe_AccountFragment, unknown>; | ||
@@ -1466,2 +1653,8 @@ export declare const Balance_TransactionFragmentDoc: DocumentNode<Balance_TransactionFragment, unknown>; | ||
export declare const CreatePriceDocument: DocumentNode<CreatePriceMutation, CreatePriceMutationVariables>; | ||
export declare const CreateAgencyThankYouPageSettingDocument: DocumentNode<CreateAgencyThankYouPageSettingMutation, CreateAgencyThankYouPageSettingMutationVariables>; | ||
export declare const UpdateAgencyThankYouPageSettingDocument: DocumentNode<UpdateAgencyThankYouPageSettingMutation, UpdateAgencyThankYouPageSettingMutationVariables>; | ||
export declare const DeleteAgencyThankYouPageSettingDocument: DocumentNode<DeleteAgencyThankYouPageSettingMutation, DeleteAgencyThankYouPageSettingMutationVariables>; | ||
export declare const CreateServiceThankYouPageSettingDocument: DocumentNode<CreateServiceThankYouPageSettingMutation, CreateServiceThankYouPageSettingMutationVariables>; | ||
export declare const UpdateServiceThankYouPageSettingDocument: DocumentNode<UpdateServiceThankYouPageSettingMutation, UpdateServiceThankYouPageSettingMutationVariables>; | ||
export declare const DeleteServiceThankYouPageSettingDocument: DocumentNode<DeleteServiceThankYouPageSettingMutation, DeleteServiceThankYouPageSettingMutationVariables>; | ||
export declare const CurrentUserDocument: DocumentNode<CurrentUserQuery, CurrentUserQueryVariables>; | ||
@@ -1481,1 +1674,3 @@ export declare const CountriesDocument: DocumentNode<CountriesQuery, CountriesQueryVariables>; | ||
export declare const SubdomainAgencyStripeAccountUpdateUrlDocument: DocumentNode<SubdomainAgencyStripeAccountUpdateUrlQuery, SubdomainAgencyStripeAccountUpdateUrlQueryVariables>; | ||
export declare const AgencyThankYouPageSettingDocument: DocumentNode<AgencyThankYouPageSettingQuery, AgencyThankYouPageSettingQueryVariables>; | ||
export declare const ServiceThankYouPageSettingDocument: DocumentNode<ServiceThankYouPageSettingQuery, ServiceThankYouPageSettingQueryVariables>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
702847
7829