Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema #407

Merged
merged 2 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions lib/graphql/schema.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -804,11 +804,11 @@ export type DashboardInvoice = {|

export type DatevExport = {|
__typename?: 'DatevExport',
createdAt: $ElementType<Scalars, 'DateTime'>,
id: $ElementType<Scalars, 'ID'>,
path: $ElementType<Scalars, 'String'>,
skr: Skr,
uploadedAt: $ElementType<Scalars, 'DateTime'>,
userId: $ElementType<Scalars, 'ID'>,
uploadedAt?: ?$ElementType<Scalars, 'DateTime'>,
url?: ?$ElementType<Scalars, 'String'>,
withReceipts: $ElementType<Scalars, 'Boolean'>,
year: $ElementType<Scalars, 'Int'>,
|};
Expand All @@ -819,11 +819,6 @@ export type DatevExportInput = {|
year: $ElementType<Scalars, 'Int'>,
|};

export type DatevExportedUrl = {|
__typename?: 'DatevExportedURL',
datevExportedUrl: $ElementType<Scalars, 'String'>,
|};

export type Declaration = {|
__typename?: 'Declaration',
amount?: ?$ElementType<Scalars, 'Int'>,
Expand Down Expand Up @@ -992,7 +987,7 @@ export type DraftTransaction = {|
name?: ?$ElementType<Scalars, 'String'>,
note?: ?$ElementType<Scalars, 'String'>,
paymentDate?: ?$ElementType<Scalars, 'DateTime'>,
vatCategoryCode?: ?VatCategoryCode,
vatCategoryCode?: ?$ElementType<Scalars, 'String'>,
vatRate?: ?VatRate,
|};

Expand Down Expand Up @@ -1417,8 +1412,8 @@ export type Mutation = {|
createClient: Client,
/** Records consent from the given person to collect device fingerprints on their registered device */
createConsentForDeviceMonitoring?: ?$ElementType<Scalars, 'String'>,
/** Creates a DATEV export and return its url */
createDatevExport: DatevExportedUrl,
/** Creates a DATEV export */
createDatevExport: DatevExport,
/** Creates a draft external transaction entry */
createDraftTransaction: CreateDraftTransactionResponse,
/** The logo a user can add to his invoice. The path to it is stored in invoiceSettings */
Expand Down Expand Up @@ -4320,6 +4315,8 @@ export type UserUpdateInput = {|
vatNumber?: ?$ElementType<Scalars, 'String'>,
vatPaymentFrequency?: ?PaymentFrequency,
vatRate?: ?$ElementType<Scalars, 'Int'>,
/** The website or social media url of the user */
websiteSocialMedia?: ?$ElementType<Scalars, 'String'>,
workAsHandyman?: ?$ElementType<Scalars, 'Boolean'>,
workingInEcommerce?: ?$ElementType<Scalars, 'Boolean'>,
|};
Expand Down
19 changes: 8 additions & 11 deletions lib/graphql/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,11 @@ export type DashboardInvoice = {

export type DatevExport = {
__typename?: 'DatevExport';
createdAt: Scalars['DateTime'];
id: Scalars['ID'];
path: Scalars['String'];
skr: Skr;
uploadedAt: Scalars['DateTime'];
userId: Scalars['ID'];
uploadedAt?: Maybe<Scalars['DateTime']>;
url?: Maybe<Scalars['String']>;
withReceipts: Scalars['Boolean'];
year: Scalars['Int'];
};
Expand All @@ -779,11 +779,6 @@ export type DatevExportInput = {
year: Scalars['Int'];
};

export type DatevExportedUrl = {
__typename?: 'DatevExportedURL';
datevExportedUrl: Scalars['String'];
};

export type Declaration = {
__typename?: 'Declaration';
amount?: Maybe<Scalars['Int']>;
Expand Down Expand Up @@ -931,7 +926,7 @@ export type DraftTransaction = {
name?: Maybe<Scalars['String']>;
note?: Maybe<Scalars['String']>;
paymentDate?: Maybe<Scalars['DateTime']>;
vatCategoryCode?: Maybe<VatCategoryCode>;
vatCategoryCode?: Maybe<Scalars['String']>;
vatRate?: Maybe<VatRate>;
};

Expand Down Expand Up @@ -1315,8 +1310,8 @@ export type Mutation = {
createClient: Client;
/** Records consent from the given person to collect device fingerprints on their registered device */
createConsentForDeviceMonitoring?: Maybe<Scalars['String']>;
/** Creates a DATEV export and return its url */
createDatevExport: DatevExportedUrl;
/** Creates a DATEV export */
createDatevExport: DatevExport;
/** Creates a draft external transaction entry */
createDraftTransaction: CreateDraftTransactionResponse;
/** The logo a user can add to his invoice. The path to it is stored in invoiceSettings */
Expand Down Expand Up @@ -4106,6 +4101,8 @@ export type UserUpdateInput = {
vatNumber?: InputMaybe<Scalars['String']>;
vatPaymentFrequency?: InputMaybe<PaymentFrequency>;
vatRate?: InputMaybe<Scalars['Int']>;
/** The website or social media url of the user */
websiteSocialMedia?: InputMaybe<Scalars['String']>;
workAsHandyman?: InputMaybe<Scalars['Boolean']>;
workingInEcommerce?: InputMaybe<Scalars['Boolean']>;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kontist",
"version": "0.49.48",
"version": "0.49.49",
"description": "Kontist client SDK",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
Expand Down
Loading