connected back to front

This commit is contained in:
2025-11-24 16:28:06 +01:00
parent 378c66df79
commit 234e30c25c
72 changed files with 6733 additions and 72 deletions

View File

@@ -0,0 +1,16 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface ConnectUserDto {
name?: string | null;
password?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateDelivererDto {
transporter?: string | null;
}

View File

@@ -0,0 +1,19 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateDeliveryNoteDto {
trackingNumber?: string | null;
estimateDeliveryDate?: string;
expeditionDate?: string;
delivererId?: number;
productQuantities?: { [key: string]: number; } | null;
}

View File

@@ -0,0 +1,34 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreatePriceDto {
sellingPrice?: number;
supplierId?: number | null;
supplierName?: string | null;
supplierEmail?: string | null;
supplierPhone?: string | null;
supplierAddress?: string | null;
supplierZipCode?: string | null;
supplierCity?: string | null;
supplierDeliveryDelay?: number;
productId?: number | null;
productReferences?: string | null;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: string | null;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
}

View File

@@ -0,0 +1,18 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreatePurchaseProductDto {
quantity?: number;
productId?: number;
purchaseOrderId?: number;
purchaseOrderPurchaseConditions?: string | null;
}

View File

@@ -0,0 +1,29 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateQuotationProductDto {
quantity?: number;
quotationId?: number;
quotationMessage?: string | null;
quotationConditionsSale?: string | null;
productId?: number;
productReferences?: number;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: number;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
}

View File

@@ -0,0 +1,16 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateSettingDto {
electronicSignature?: string | null;
logo?: string | null;
}

View File

@@ -0,0 +1,21 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateSupplierDto {
name?: string | null;
email?: string | null;
phone?: string | null;
address?: string | null;
zipCode?: string | null;
city?: string | null;
deliveryDelay?: number;
}

View File

@@ -0,0 +1,18 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface CreateUserDto {
name?: string | null;
password?: string | null;
fonction?: string | null;
email?: string | null;
}

View File

@@ -0,0 +1,18 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetDeliveryNoteDto } from './get-delivery-note-dto';
export interface GetDelivererDto {
id?: number;
transporter?: string | null;
deliveryNotes?: Array<GetDeliveryNoteDto> | null;
}

View File

@@ -0,0 +1,23 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetProductDeliveryDto } from './get-product-delivery-dto';
export interface GetDeliveryNoteDto {
id?: number;
trackingNumber?: string | null;
estimateDeliveryDate?: string;
expeditionDate?: string;
realDeliveryDate?: string | null;
delivererId?: number;
delivererTransporter?: string | null;
products?: Array<GetProductDeliveryDto> | null;
}

View File

@@ -0,0 +1,35 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetPriceDto {
id?: number;
sellingPrice?: number;
supplierId?: number;
supplierName?: string | null;
supplierEmail?: string | null;
supplierPhone?: string | null;
supplierAddress?: string | null;
supplierZipCode?: number;
supplierCity?: string | null;
supplierDeliveryDelay?: number;
productId?: number;
productReferences?: string | null;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: number;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
}

View File

@@ -0,0 +1,33 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetProductDeliveryDto {
productId?: number;
productReference?: number;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: number;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
deliveryNoteId?: number;
deliveryNoteTrackingNumber?: string | null;
deliveryNoteEstimateDeliveryDate?: string;
deliveryNoteExpeditionDate?: string;
deliveryNoteRealDeliveryDate?: string | null;
deliveryNoteDeliverId?: number;
deliveryNoteDeliverTransporter?: string | null;
quantity?: number;
}

View File

@@ -0,0 +1,25 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetProductDto {
id?: number;
references?: string | null;
name?: string | null;
duration?: number;
caliber?: number;
approvalNumber?: string | null;
weight?: number;
nec?: number;
image?: string | null;
link?: string | null;
minimalQuantity?: number;
}

View File

@@ -0,0 +1,18 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetPurchaseProductDto } from './get-purchase-product-dto';
export interface GetPurchaseOrderDto {
id?: number;
purchaseConditions?: string | null;
getPurchaseProductDto?: Array<GetPurchaseProductDto> | null;
}

View File

@@ -0,0 +1,28 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetPurchaseProductDto {
productId?: number;
productReferences?: string | null;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: number;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
purchaseOrderId?: number;
purchaseOrderPurchaseConditions?: string | null;
quantity?: number;
}

View File

@@ -0,0 +1,19 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { GetQuotationProductDto } from './get-quotation-product-dto';
export interface GetQuotationDto {
id?: number;
message?: string | null;
conditionsSale?: string | null;
getQuotationProductDto?: Array<GetQuotationProductDto> | null;
}

View File

@@ -0,0 +1,29 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetQuotationProductDto {
quantity?: number;
quotationId?: number;
quotationMessage?: string | null;
quotationConditionsSale?: string | null;
productId?: number;
productReferences?: string | null;
productName?: string | null;
productDuration?: number;
productCaliber?: number;
productApprovalNumber?: number;
productWeight?: number;
productNec?: number;
productImage?: string | null;
productLink?: string | null;
productMinimalQuantity?: number;
}

View File

@@ -0,0 +1,17 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetSettingDto {
id?: number;
electronicSignature?: string | null;
logo?: string | null;
}

View File

@@ -0,0 +1,22 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetSupplierDto {
id?: number;
name?: string | null;
email?: string | null;
phone?: string | null;
address?: string | null;
zipCode?: string | null;
city?: string | null;
deliveryDelay?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetTokenDto {
token?: string | null;
}

View File

@@ -0,0 +1,16 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetTotalQuantityDto {
productId?: number;
totalQuantity?: number;
}

View File

@@ -0,0 +1,20 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetUserDto {
id?: number;
name?: string | null;
password?: string | null;
salt?: string | null;
fonction?: string | null;
email?: string | null;
}

View File

@@ -0,0 +1,17 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GetWareHouseProductDto {
quantity?: number;
wareHouseId?: number;
productId?: number;
}

View File

@@ -0,0 +1,40 @@
export * from './connect-user-dto';
export * from './create-deliverer-dto';
export * from './create-delivery-note-dto';
export * from './create-price-dto';
export * from './create-purchase-product-dto';
export * from './create-quotation-product-dto';
export * from './create-setting-dto';
export * from './create-supplier-dto';
export * from './create-user-dto';
export * from './get-deliverer-dto';
export * from './get-delivery-note-dto';
export * from './get-price-dto';
export * from './get-product-delivery-dto';
export * from './get-product-dto';
export * from './get-purchase-order-dto';
export * from './get-purchase-product-dto';
export * from './get-quotation-dto';
export * from './get-quotation-product-dto';
export * from './get-setting-dto';
export * from './get-supplier-dto';
export * from './get-token-dto';
export * from './get-total-quantity-dto';
export * from './get-user-dto';
export * from './get-ware-house-product-dto';
export * from './patch-delivery-note-real-delivery-date-dto';
export * from './patch-price-selling-price-dto';
export * from './patch-product-minimal-stock-dto';
export * from './patch-purchase-order-purchase-conditions-dto';
export * from './patch-purchase-product-quantity-dto';
export * from './patch-quotation-conditions-sale-dto';
export * from './patch-quotation-product-quantity-dto';
export * from './patch-setting-electronic-signature-dto';
export * from './patch-setting-logo-dto';
export * from './patch-supplier-delivery-delay-dto';
export * from './patch-user-password-dto';
export * from './patch-ware-house-product-quantity-dto';
export * from './update-deliverer-dto';
export * from './update-product-dto';
export * from './update-supplier-dto';
export * from './update-user-dto';

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchDeliveryNoteRealDeliveryDateDto {
realDeliveryDate?: string;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchPriceSellingPriceDto {
sellingPrice?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchProductMinimalStockDto {
minimalQuantity?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchPurchaseOrderPurchaseConditionsDto {
purchaseConditions?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchPurchaseProductQuantityDto {
quantity?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchQuotationConditionsSaleDto {
conditionsSale?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchQuotationProductQuantityDto {
quantity?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchSettingElectronicSignatureDto {
electronicSignature?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchSettingLogoDto {
logo?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchSupplierDeliveryDelayDto {
deliveryDelay?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchUserPasswordDto {
password?: string | null;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface PatchWareHouseProductQuantityDto {
quantity?: number;
}

View File

@@ -0,0 +1,15 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateDelivererDto {
transporter?: string | null;
}

View File

@@ -0,0 +1,24 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateProductDto {
references?: string | null;
name?: string | null;
duration?: number;
caliber?: number;
approvalNumber?: string | null;
weight?: number;
nec?: number;
image?: string | null;
link?: string | null;
minimalQuantity?: number;
}

View File

@@ -0,0 +1,21 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateSupplierDto {
name?: string | null;
email?: string | null;
phone?: string | null;
address?: string | null;
zipCode?: string | null;
city?: string | null;
deliveryDelay?: number;
}

View File

@@ -0,0 +1,18 @@
/**
* PyroFetes
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface UpdateUserDto {
name?: string | null;
password?: string | null;
fonction?: string | null;
email?: string | null;
}