Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Herklos committed Jul 28, 2024
1 parent a096825 commit 824a7f5
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 66 deletions.
2 changes: 1 addition & 1 deletion client/typescript/PennylaneAPIClient.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/ApiError.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/ApiRequestOptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/ApiResult.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/BaseHttpRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
8 changes: 4 additions & 4 deletions client/typescript/core/CancelablePromise.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down Expand Up @@ -85,9 +85,9 @@ export class CancelablePromise<T> implements Promise<T> {
});
}

get [Symbol.toStringTag]() {
return "Cancellable Promise";
}
get [Symbol.toStringTag]() {
return "Cancellable Promise";
}

public then<TResult1 = T, TResult2 = never>(
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/FetchHttpRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/core/OpenAPI.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
4 changes: 2 additions & 2 deletions client/typescript/core/request.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down Expand Up @@ -164,7 +164,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
headers['Authorization'] = `Basic ${credentials}`;
}

if (options.body !== undefined) {
if (options.body) {
if (options.mediaType) {
headers['Content-Type'] = options.mediaType;
} else if (isBlob(options.body)) {
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/BillingSubscriptionMode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/CustomerType.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/EstimateStatus.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/EstimateTypes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/Gender.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/PaymentConditions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/Substance.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/models/TemplatesAvailablesLocales.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Expand Down
25 changes: 23 additions & 2 deletions client/typescript/models/VatRate.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export enum VatRate {
FR_1_05 = 'FR_1_05',
FR_1_75 = 'FR_1_75',
FR_09 = 'FR_09',
FR_21 = 'FR_21',
FR_40 = 'FR_40',
FR_55 = 'FR_55',
FR_60 = 'FR_60',
FR_65 = 'FR_65',
FR_85 = 'FR_85',
FR_92 = 'FR_92',
FR_100 = 'FR_100',
FR_130 = 'FR_130',
FR_15_385 = 'FR_15_385',
FR_196 = 'FR_196',
FR_200 = 'FR_200',
AD_10 = 'AD_10',
AD_45 = 'AD_45',
AD_95 = 'AD_95',
AT_100 = 'AT_100',
AT_130 = 'AT_130',
AT_200 = 'AT_200',
Expand All @@ -19,19 +30,24 @@ export enum VatRate {
BG_90 = 'BG_90',
BG_200 = 'BG_200',
CH_25 = 'CH_25',
CH_26 = 'CH_26',
CH_37 = 'CH_37',
CH_38 = 'CH_38',
CH_77 = 'CH_77',
CH_81 = 'CH_81',
CY_50 = 'CY_50',
CY_90 = 'CY_90',
CY_190 = 'CY_190',
CZ_100 = 'CZ_100',
CZ_120 = 'CZ_120',
CZ_150 = 'CZ_150',
CZ_210 = 'CZ_210',
DE_70 = 'DE_70',
DE_190 = 'DE_190',
DK_250 = 'DK_250',
EE_90 = 'EE_90',
EE_200 = 'EE_200',
EE_220 = 'EE_220',
ES_40 = 'ES_40',
ES_100 = 'ES_100',
ES_210 = 'ES_210',
Expand Down Expand Up @@ -80,6 +96,7 @@ export enum VatRate {
MT_50 = 'MT_50',
MT_70 = 'MT_70',
MT_180 = 'MT_180',
MU_150 = 'MU_150',
NL_90 = 'NL_90',
NL_210 = 'NL_210',
PL_50 = 'PL_50',
Expand All @@ -100,8 +117,12 @@ export enum VatRate {
SK_100 = 'SK_100',
SK_200 = 'SK_200',
EXEMPT = 'exempt',
CROSSBORDER = 'crossborder',
EXTRACOM = 'extracom',
INTRACOM_21 = 'intracom_21',
INTRACOM_55 = 'intracom_55',
INTRACOM_85 = 'intracom_85',
INTRACOM_100 = 'intracom_100',
CROSSBORDER = 'crossborder',
FR_100_CONSTRUCTION = 'FR_100_construction',
FR_200_CONSTRUCTION = 'FR_200_construction',
}
Loading

0 comments on commit 824a7f5

Please sign in to comment.