Skip to content

Commit

Permalink
Dev-78 Remove planCopy from subscriptionPlans (#408)
Browse files Browse the repository at this point in the history
* Remove copy properties from SubscriptionPlans query

* Increase version and update changelog

* Revert renaming subtitle
  • Loading branch information
Campalo authored Sep 13, 2023
1 parent a99c454 commit 912c679
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 105 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.50.0] - 2023-09-12
## Removed
- Removed `title, description, button, featuresToggleLabel, FeaturesGroups` from the `subscriptionPlans` query

## [0.49.0] - 2023-01-31
## Added
- Updated types in schema
Expand Down
96 changes: 54 additions & 42 deletions lib/graphql/schema.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,14 @@ export const ActionReasonValues = Object.freeze({

export type ActionReason = $Values<typeof ActionReasonValues>;

export type AddressInput = {|
city: $ElementType<Scalars, 'String'>,
country: $ElementType<Scalars, 'String'>,
postCode: $ElementType<Scalars, 'String'>,
streetName: $ElementType<Scalars, 'String'>,
streetNumber: $ElementType<Scalars, 'String'>,
|};

export type Asset = {|
__typename?: 'Asset',
assetableId: $ElementType<Scalars, 'ID'>,
Expand Down Expand Up @@ -292,6 +300,14 @@ export type BusinessAddress = {|
street: $ElementType<Scalars, 'String'>,
|};

export type BusinessAddressInput = {|
city: $ElementType<Scalars, 'String'>,
country: $ElementType<Scalars, 'String'>,
postCode: $ElementType<Scalars, 'String'>,
streetName: $ElementType<Scalars, 'String'>,
streetNumber: $ElementType<Scalars, 'String'>,
|};

export type BusinessAssetForm = {|
assetClass: $ElementType<Scalars, 'String'>,
assetType: AssetType,
Expand Down Expand Up @@ -603,9 +619,10 @@ export const CompanyTypeValues = Object.freeze({
export type CompanyType = $Values<typeof CompanyTypeValues>;

export type ConfirmChangeRequestArgs = {|
authorizationToken?: ?$ElementType<Scalars, 'String'>,
changeRequestId: $ElementType<Scalars, 'String'>,
deviceId: $ElementType<Scalars, 'String'>,
signature: $ElementType<Scalars, 'String'>,
signature?: ?$ElementType<Scalars, 'String'>,
|};

export type ConfirmChangeRequestResponse = {|
Expand Down Expand Up @@ -1366,8 +1383,6 @@ export type Mutation = {|
/** Send Lead data to designated Zap to redirect lead to Agreas */
agerasLeadRedirect: MutationResult,
approveDeclaration: DeclarationApproval,
/** Assign a secret coupon code to the user who is rejected from kontax onboarding */
assignKontaxCouponCodeToDeclinedUser: MutationResult,
authorizeChangeRequest: AuthorizeChangeRequestResponse,
/** Cancel an existing Timed Order or Standing Order */
cancelTransfer: ConfirmationRequestOrTransfer,
Expand All @@ -1383,8 +1398,6 @@ export type Mutation = {|
changeCardPINWithChangeRequest: ConfirmationRequest,
/** Block or unblock or close a card */
changeCardStatus: Card,
/** Clear preselected plan */
clearPreselectedPlan: MutationResult,
/** Confirm a Standing Order cancellation */
confirmCancelTransfer: Transfer,
/** Confirms adding card to Apple/Google Pay wallet */
Expand Down Expand Up @@ -1515,7 +1528,7 @@ export type Mutation = {|
updateOverdraft?: ?Overdraft,
updateReview: MutationResult,
/** Update user fields on solaris */
updateSolarisUser: AuthorizeChangeRequestResponse,
updateSolarisUser: UserOrAuthResponse,
/** Update user's subscription plan */
updateSubscriptionPlan: UpdateSubscriptionPlanResult,
/** Updates user's taxNumber */
Expand Down Expand Up @@ -1651,9 +1664,10 @@ export type MutationConfirmChangeCardPinArgs = {|


export type MutationConfirmChangeRequestArgs = {|
authorizationToken?: ?$ElementType<Scalars, 'String'>,
changeRequestId: $ElementType<Scalars, 'String'>,
deviceId: $ElementType<Scalars, 'String'>,
signature: $ElementType<Scalars, 'String'>,
signature?: ?$ElementType<Scalars, 'String'>,
|};


Expand Down Expand Up @@ -2053,6 +2067,7 @@ export type MutationUpdateReviewArgs = {|


export type MutationUpdateSolarisUserArgs = {|
deliveryMethod?: ?DeliveryMethod,
deviceId: $ElementType<Scalars, 'String'>,
payload: UpdateSolarisUserInput,
|};
Expand Down Expand Up @@ -2156,44 +2171,13 @@ export type MutationResult = {|
/** NACE codes */
export type NaceCode = {|
__typename?: 'NACECode',
code: NaceCodeEnum,
code: $ElementType<Scalars, 'String'>,
deDescription: $ElementType<Scalars, 'String'>,
enDescription: $ElementType<Scalars, 'String'>,
id: $ElementType<Scalars, 'Float'>,
priority: $ElementType<Scalars, 'Boolean'>,
|};

export const NaceCodeEnumValues = Object.freeze({
A: 'A',
C: 'C',
F: 'F',
G: 'G',
H: 'H',
I: 'I',
J: 'J',
J_62_01: 'J_62_01',
K: 'K',
L: 'L',
M_69: 'M_69',
M_70_1: 'M_70_1',
M_70_2: 'M_70_2',
M_71: 'M_71',
M_72: 'M_72',
M_73: 'M_73',
M_74_1: 'M_74_1',
M_74_9: 'M_74_9',
N_79: 'N_79',
N_81: 'N_81',
N_82: 'N_82',
O: 'O',
P: 'P',
Q: 'Q',
R: 'R',
R_90: 'R_90',
S: 'S'
});


export type NaceCodeEnum = $Values<typeof NaceCodeEnumValues>;

export const NationalityValues = Object.freeze({
Ad: 'AD',
Ae: 'AE',
Expand Down Expand Up @@ -2575,6 +2559,7 @@ export const PurchaseTypeValues = Object.freeze({
Accounting: 'ACCOUNTING',
Basic: 'BASIC',
BasicInitial: 'BASIC_INITIAL',
BizTax: 'BIZ_TAX',
Bookkeeping: 'BOOKKEEPING',
Card: 'CARD',
Kontax: 'KONTAX',
Expand Down Expand Up @@ -2613,7 +2598,7 @@ export type PushProvisioningOutput = {|

export type Query = {|
__typename?: 'Query',
/** Get all existing DATEV Exports */
/** Get all existing DATEV Exports requested by the user */
datevExports: Array<DatevExport>,
draftTransactions: Array<DraftTransaction>,
/** Get all released generic features, that are needed before user creation */
Expand Down Expand Up @@ -3784,7 +3769,16 @@ export type UpdateDraftTransactionInput = {|
|};

export type UpdateSolarisUserInput = {|
address?: ?AddressInput,
amlConfirmed?: ?$ElementType<Scalars, 'Boolean'>,
businessAddress?: ?BusinessAddressInput,
businessPurpose?: ?$ElementType<Scalars, 'String'>,
businessTradingName?: ?$ElementType<Scalars, 'String'>,
email?: ?$ElementType<Scalars, 'String'>,
expectedMonthlyRevenueCents?: ?$ElementType<Scalars, 'Int'>,
naceCode?: ?$ElementType<Scalars, 'String'>,
naceCodeId?: ?$ElementType<Scalars, 'Float'>,
websiteSocialMedia?: ?$ElementType<Scalars, 'String'>,
|};

export type UpdateSubscriptionPlanResult = {|
Expand Down Expand Up @@ -3862,6 +3856,7 @@ export type User = {|
banners?: ?Array<Banner>,
birthDate?: ?$ElementType<Scalars, 'DateTime'>,
birthPlace?: ?$ElementType<Scalars, 'String'>,
businessAddress?: ?UserBusinessAddress,
/** User's business addresses */
businessAddresses: Array<BusinessAddress>,
/** Return a business asset by id */
Expand Down Expand Up @@ -3893,6 +3888,7 @@ export type User = {|
emailDocument: EmailDocument,
emailDocuments: Array<EmailDocument>,
euerDeclaration?: ?TaxDeclaration,
expectedMonthlyRevenueCents?: ?$ElementType<Scalars, 'Float'>,
/** Active user features */
features: Array<$ElementType<Scalars, 'String'>>,
fibuFinalCheckTasks?: ?Array<FibuFinalCheckTask>,
Expand Down Expand Up @@ -3931,6 +3927,7 @@ export type User = {|
missingBusinessTaxNumberNote?: ?$ElementType<Scalars, 'String'>,
missingPersonalTaxNumberNote?: ?$ElementType<Scalars, 'String'>,
mobileNumber?: ?$ElementType<Scalars, 'String'>,
naceCodeId?: ?$ElementType<Scalars, 'Float'>,
nationality?: ?Nationality,
/** All push-notification types and their state */
notifications: Array<Notification>,
Expand Down Expand Up @@ -3984,6 +3981,7 @@ export type User = {|
vatNumber?: ?$ElementType<Scalars, 'String'>,
vatPaymentFrequency?: ?PaymentFrequency,
vatRate?: ?UserVatRate,
websiteSocialMedia?: ?$ElementType<Scalars, 'String'>,
workAsHandyman?: ?$ElementType<Scalars, 'Boolean'>,
|};

Expand Down Expand Up @@ -4102,6 +4100,16 @@ export type UserVatAnnualDeclarationArgs = {|
year: $ElementType<Scalars, 'Int'>,
|};

/** Business Address of a User */
export type UserBusinessAddress = {|
__typename?: 'UserBusinessAddress',
city: $ElementType<Scalars, 'String'>,
country: $ElementType<Scalars, 'String'>,
id: $ElementType<Scalars, 'ID'>,
postCode: $ElementType<Scalars, 'String'>,
street: $ElementType<Scalars, 'String'>,
|};

export const UserConfirmationValues = Object.freeze({
AdvisorDocumentsUploaded: 'ADVISOR_DOCUMENTS_UPLOADED',
ManualDocumentsUploaded: 'MANUAL_DOCUMENTS_UPLOADED',
Expand Down Expand Up @@ -4193,6 +4201,8 @@ export type UserMetadata = {|
taxAdvisoryTermsVersionAccepted: $ElementType<Scalars, 'Boolean'>,
|};

export type UserOrAuthResponse = AuthorizeThroughDeviceSigningOrMobileNumberResponse | User;

export type UserProductInput = {|
description?: ?$ElementType<Scalars, 'String'>,
id?: ?$ElementType<Scalars, 'String'>,
Expand Down Expand Up @@ -4280,6 +4290,8 @@ export type UserUpdateInput = {|
/** Indicates user has accepted Kontist direct debit mandate */
directDebitMandateAccepted?: ?$ElementType<Scalars, 'Boolean'>,
economicSector?: ?$ElementType<Scalars, 'String'>,
/** Expected monthly revenue in euro cents */
expectedMonthlyRevenueCents?: ?$ElementType<Scalars, 'Int'>,
firstName?: ?$ElementType<Scalars, 'String'>,
gender?: ?Gender,
hasEmployees?: ?$ElementType<Scalars, 'Boolean'>,
Expand Down
Loading

0 comments on commit 912c679

Please sign in to comment.