/* Options: Date: 2026-03-13 22:07:20 Version: 8.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://milliet.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: document_forced.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum eapi_document_type_enum { facture, commande, r98, r99, balance, } /** * Service de création de documents */ // @Route("/document/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument}", "GET") // @Route("/document/{DocumentType}/{IdEntrepot}/{IdGroupe}/{IdSociete}/{Year}/{Month}", "GET") // @Api(Description="Service de création de documents") class document implements IReturn, IConvertible, IGet { /** * document type */ // @ApiMember(DataType="string", Description="document type", IsRequired=true, Name="DocumentType", ParameterType="path") eapi_document_type_enum? documentType; /** * n° entrepot */ // @ApiMember(DataType="integer", Description="n° entrepot", IsRequired=true, Name="IdEntrepot", ParameterType="path") int? idEntrepot; /** * n° groupe */ // @ApiMember(DataType="integer", Description="n° groupe", IsRequired=true, Name="IdGroupe", ParameterType="path") int? idGroupe; /** * n° client */ // @ApiMember(DataType="integer", Description="n° client", IsRequired=true, Name="IdSociete", ParameterType="path") int? idSociete; /** * n° document */ // @ApiMember(DataType="integer", Description="n° document", IsRequired=true, Name="IdDocument", ParameterType="path", Route="/document/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument}") int? idDocument; /** * année */ // @ApiMember(DataType="integer", Description="année", IsRequired=true, Name="Year", ParameterType="path", Route="/document/{DocumentType}/{IdEntrepot}/{IdSociete}/{Year}/{Month}") int? year; /** * mois */ // @ApiMember(DataType="integer", Description="mois", IsRequired=true, Name="Month", ParameterType="path", Route="/document/{DocumentType}/{IdEntrepot}/{IdSociete}/{Year}/{Month}") int? month; document({this.documentType,this.idEntrepot,this.idGroupe,this.idSociete,this.idDocument,this.year,this.month}); document.fromJson(Map json) { fromMap(json); } fromMap(Map json) { documentType = JsonConverters.fromJson(json['documentType'],'eapi_document_type_enum',context!); idEntrepot = json['idEntrepot']; idGroupe = json['idGroupe']; idSociete = json['idSociete']; idDocument = json['idDocument']; year = json['year']; month = json['month']; return this; } Map toJson() => { 'documentType': JsonConverters.toJson(documentType,'eapi_document_type_enum',context!), 'idEntrepot': idEntrepot, 'idGroupe': idGroupe, 'idSociete': idSociete, 'idDocument': idDocument, 'year': year, 'month': month }; createResponse() => dynamic(); getResponseTypeName() => "dynamic"; getTypeName() => "document"; TypeContext? context = _ctx; } /** * Service de création de documents (OLD SCHOOL) */ // @Route("/document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument}", "GET") // @Route("/document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdGroupe}/{IdSociete}/{Year}/{Month}", "GET") // @Api(Description="Service de création de documents (OLD SCHOOL)") class document_forced implements IReturn, IConvertible, IGet { /** * Basic Auth */ // @ApiMember(DataType="string", Description="Basic Auth", IsRequired=true, Name="BasicAuth", ParameterType="path") String? basicAuth; /** * mime-type */ // @ApiMember(DataType="string", Description="mime-type", IsRequired=true, Name="MimeType", ParameterType="path") String? mimeType; /** * document type */ // @ApiMember(DataType="string", Description="document type", IsRequired=true, Name="DocumentType", ParameterType="path") eapi_document_type_enum? documentType; /** * n° entrepot */ // @ApiMember(DataType="integer", Description="n° entrepot", IsRequired=true, Name="IdEntrepot", ParameterType="path") int? idEntrepot; /** * n° groupe */ // @ApiMember(DataType="integer", Description="n° groupe", IsRequired=true, Name="IdGroupe", ParameterType="path") int? idGroupe; /** * n° client */ // @ApiMember(DataType="integer", Description="n° client", IsRequired=true, Name="IdSociete", ParameterType="path") int? idSociete; /** * n° document */ // @ApiMember(DataType="integer", Description="n° document", IsRequired=true, Name="IdDocument", ParameterType="path", Route="/document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{IdDocument}") int? idDocument; /** * année */ // @ApiMember(DataType="integer", Description="année", IsRequired=true, Name="Year", ParameterType="path", Route="/document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{Year}/{Month}") int? year; /** * mois */ // @ApiMember(DataType="integer", Description="mois", IsRequired=true, Name="Month", ParameterType="path", Route="/document_forced/{BasicAuth}/{MimeType}/{DocumentType}/{IdEntrepot}/{IdSociete}/{Year}/{Month}") int? month; document? document; document_forced({this.basicAuth,this.mimeType,this.documentType,this.idEntrepot,this.idGroupe,this.idSociete,this.idDocument,this.year,this.month,this.document}); document_forced.fromJson(Map json) { fromMap(json); } fromMap(Map json) { basicAuth = json['basicAuth']; mimeType = json['mimeType']; documentType = JsonConverters.fromJson(json['documentType'],'eapi_document_type_enum',context!); idEntrepot = json['idEntrepot']; idGroupe = json['idGroupe']; idSociete = json['idSociete']; idDocument = json['idDocument']; year = json['year']; month = json['month']; document = JsonConverters.fromJson(json['document'],'document',context!); return this; } Map toJson() => { 'basicAuth': basicAuth, 'mimeType': mimeType, 'documentType': JsonConverters.toJson(documentType,'eapi_document_type_enum',context!), 'idEntrepot': idEntrepot, 'idGroupe': idGroupe, 'idSociete': idSociete, 'idDocument': idDocument, 'year': year, 'month': month, 'document': JsonConverters.toJson(document,'document',context!) }; createResponse() => dynamic(); getResponseTypeName() => "dynamic"; getTypeName() => "document_forced"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'milliet.io', types: { 'eapi_document_type_enum': TypeInfo(TypeOf.Enum, enumValues:eapi_document_type_enum.values), 'document': TypeInfo(TypeOf.Class, create:() => document()), 'document_forced': TypeInfo(TypeOf.Class, create:() => document_forced()), });