exnet-routing 1.2.45 → 1.2.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/ops.d.ts +244 -2
- package/dist/routes/ops.js +3 -1
- package/package.json +1 -1
package/dist/routes/ops.d.ts
CHANGED
|
@@ -125751,7 +125751,7 @@ declare const factureRoutes: {
|
|
|
125751
125751
|
response: z.ZodUnion<[z.ZodObject<{
|
|
125752
125752
|
data: z.ZodObject<{
|
|
125753
125753
|
meta: typeof import("./../models").PaginationmetaSchema;
|
|
125754
|
-
data: z.ZodArray<z.ZodObject<{
|
|
125754
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
125755
125755
|
id: z.ZodNumber;
|
|
125756
125756
|
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
125757
125757
|
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
@@ -126812,7 +126812,87 @@ declare const factureRoutes: {
|
|
|
126812
126812
|
name: string;
|
|
126813
126813
|
phoneCode: string;
|
|
126814
126814
|
}>>>;
|
|
126815
|
-
},
|
|
126815
|
+
}, {
|
|
126816
|
+
facture: z.ZodNullable<z.ZodObject<{
|
|
126817
|
+
id: z.ZodNumber;
|
|
126818
|
+
createdAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
126819
|
+
updatedAt: z.ZodEffects<z.ZodDate, import("luxon").DateTime<true> | import("luxon").DateTime<false>, Date>;
|
|
126820
|
+
isParis: z.ZodBoolean;
|
|
126821
|
+
isMedical: z.ZodBoolean;
|
|
126822
|
+
isService: z.ZodBoolean;
|
|
126823
|
+
echeance: z.ZodString;
|
|
126824
|
+
statut: z.ZodString;
|
|
126825
|
+
montant: z.ZodNumber;
|
|
126826
|
+
shippingIds: z.ZodArray<z.ZodString, "many">;
|
|
126827
|
+
fuel: z.ZodNumber;
|
|
126828
|
+
tva: z.ZodNumber;
|
|
126829
|
+
total: z.ZodNumber;
|
|
126830
|
+
ref: z.ZodNumber;
|
|
126831
|
+
isDeleted: z.ZodBoolean;
|
|
126832
|
+
bonDeCommende: z.ZodNullable<z.ZodString>;
|
|
126833
|
+
isVariation: z.ZodBoolean;
|
|
126834
|
+
isActiveForReedited: z.ZodBoolean;
|
|
126835
|
+
docFacture: z.ZodString;
|
|
126836
|
+
fullRef: z.ZodString;
|
|
126837
|
+
message: z.ZodNullable<z.ZodString>;
|
|
126838
|
+
modeReglement: z.ZodNullable<z.ZodString>;
|
|
126839
|
+
source: z.ZodNullable<z.ZodString>;
|
|
126840
|
+
provenanceCommande: z.ZodNullable<z.ZodString>;
|
|
126841
|
+
billingCenterId: z.ZodNumber;
|
|
126842
|
+
}, "strip", z.ZodTypeAny, {
|
|
126843
|
+
id: number;
|
|
126844
|
+
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
126845
|
+
message: string | null;
|
|
126846
|
+
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
126847
|
+
isParis: boolean;
|
|
126848
|
+
isMedical: boolean;
|
|
126849
|
+
isService: boolean;
|
|
126850
|
+
tva: number;
|
|
126851
|
+
billingCenterId: number;
|
|
126852
|
+
ref: number;
|
|
126853
|
+
isDeleted: boolean;
|
|
126854
|
+
provenanceCommande: string | null;
|
|
126855
|
+
statut: string;
|
|
126856
|
+
echeance: string;
|
|
126857
|
+
montant: number;
|
|
126858
|
+
shippingIds: string[];
|
|
126859
|
+
fuel: number;
|
|
126860
|
+
total: number;
|
|
126861
|
+
bonDeCommende: string | null;
|
|
126862
|
+
isVariation: boolean;
|
|
126863
|
+
isActiveForReedited: boolean;
|
|
126864
|
+
docFacture: string;
|
|
126865
|
+
fullRef: string;
|
|
126866
|
+
modeReglement: string | null;
|
|
126867
|
+
source: string | null;
|
|
126868
|
+
}, {
|
|
126869
|
+
id: number;
|
|
126870
|
+
createdAt: Date;
|
|
126871
|
+
message: string | null;
|
|
126872
|
+
updatedAt: Date;
|
|
126873
|
+
isParis: boolean;
|
|
126874
|
+
isMedical: boolean;
|
|
126875
|
+
isService: boolean;
|
|
126876
|
+
tva: number;
|
|
126877
|
+
billingCenterId: number;
|
|
126878
|
+
ref: number;
|
|
126879
|
+
isDeleted: boolean;
|
|
126880
|
+
provenanceCommande: string | null;
|
|
126881
|
+
statut: string;
|
|
126882
|
+
echeance: string;
|
|
126883
|
+
montant: number;
|
|
126884
|
+
shippingIds: string[];
|
|
126885
|
+
fuel: number;
|
|
126886
|
+
total: number;
|
|
126887
|
+
bonDeCommende: string | null;
|
|
126888
|
+
isVariation: boolean;
|
|
126889
|
+
isActiveForReedited: boolean;
|
|
126890
|
+
docFacture: string;
|
|
126891
|
+
fullRef: string;
|
|
126892
|
+
modeReglement: string | null;
|
|
126893
|
+
source: string | null;
|
|
126894
|
+
}>>;
|
|
126895
|
+
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
126816
126896
|
id: number;
|
|
126817
126897
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
126818
126898
|
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
@@ -126856,6 +126936,33 @@ declare const factureRoutes: {
|
|
|
126856
126936
|
devises: string | null;
|
|
126857
126937
|
provenanceCommande: string | null;
|
|
126858
126938
|
hasEmballage: boolean;
|
|
126939
|
+
facture: {
|
|
126940
|
+
id: number;
|
|
126941
|
+
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
126942
|
+
message: string | null;
|
|
126943
|
+
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
126944
|
+
isParis: boolean;
|
|
126945
|
+
isMedical: boolean;
|
|
126946
|
+
isService: boolean;
|
|
126947
|
+
tva: number;
|
|
126948
|
+
billingCenterId: number;
|
|
126949
|
+
ref: number;
|
|
126950
|
+
isDeleted: boolean;
|
|
126951
|
+
provenanceCommande: string | null;
|
|
126952
|
+
statut: string;
|
|
126953
|
+
echeance: string;
|
|
126954
|
+
montant: number;
|
|
126955
|
+
shippingIds: string[];
|
|
126956
|
+
fuel: number;
|
|
126957
|
+
total: number;
|
|
126958
|
+
bonDeCommende: string | null;
|
|
126959
|
+
isVariation: boolean;
|
|
126960
|
+
isActiveForReedited: boolean;
|
|
126961
|
+
docFacture: string;
|
|
126962
|
+
fullRef: string;
|
|
126963
|
+
modeReglement: string | null;
|
|
126964
|
+
source: string | null;
|
|
126965
|
+
} | null;
|
|
126859
126966
|
country?: {
|
|
126860
126967
|
id: number;
|
|
126861
126968
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
@@ -127252,6 +127359,33 @@ declare const factureRoutes: {
|
|
|
127252
127359
|
devises: string | null;
|
|
127253
127360
|
provenanceCommande: string | null;
|
|
127254
127361
|
hasEmballage: boolean;
|
|
127362
|
+
facture: {
|
|
127363
|
+
id: number;
|
|
127364
|
+
createdAt: Date;
|
|
127365
|
+
message: string | null;
|
|
127366
|
+
updatedAt: Date;
|
|
127367
|
+
isParis: boolean;
|
|
127368
|
+
isMedical: boolean;
|
|
127369
|
+
isService: boolean;
|
|
127370
|
+
tva: number;
|
|
127371
|
+
billingCenterId: number;
|
|
127372
|
+
ref: number;
|
|
127373
|
+
isDeleted: boolean;
|
|
127374
|
+
provenanceCommande: string | null;
|
|
127375
|
+
statut: string;
|
|
127376
|
+
echeance: string;
|
|
127377
|
+
montant: number;
|
|
127378
|
+
shippingIds: string[];
|
|
127379
|
+
fuel: number;
|
|
127380
|
+
total: number;
|
|
127381
|
+
bonDeCommende: string | null;
|
|
127382
|
+
isVariation: boolean;
|
|
127383
|
+
isActiveForReedited: boolean;
|
|
127384
|
+
docFacture: string;
|
|
127385
|
+
fullRef: string;
|
|
127386
|
+
modeReglement: string | null;
|
|
127387
|
+
source: string | null;
|
|
127388
|
+
} | null;
|
|
127255
127389
|
country?: {
|
|
127256
127390
|
id: number;
|
|
127257
127391
|
createdAt: Date;
|
|
@@ -127650,6 +127784,33 @@ declare const factureRoutes: {
|
|
|
127650
127784
|
devises: string | null;
|
|
127651
127785
|
provenanceCommande: string | null;
|
|
127652
127786
|
hasEmballage: boolean;
|
|
127787
|
+
facture: {
|
|
127788
|
+
id: number;
|
|
127789
|
+
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
127790
|
+
message: string | null;
|
|
127791
|
+
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
127792
|
+
isParis: boolean;
|
|
127793
|
+
isMedical: boolean;
|
|
127794
|
+
isService: boolean;
|
|
127795
|
+
tva: number;
|
|
127796
|
+
billingCenterId: number;
|
|
127797
|
+
ref: number;
|
|
127798
|
+
isDeleted: boolean;
|
|
127799
|
+
provenanceCommande: string | null;
|
|
127800
|
+
statut: string;
|
|
127801
|
+
echeance: string;
|
|
127802
|
+
montant: number;
|
|
127803
|
+
shippingIds: string[];
|
|
127804
|
+
fuel: number;
|
|
127805
|
+
total: number;
|
|
127806
|
+
bonDeCommende: string | null;
|
|
127807
|
+
isVariation: boolean;
|
|
127808
|
+
isActiveForReedited: boolean;
|
|
127809
|
+
docFacture: string;
|
|
127810
|
+
fullRef: string;
|
|
127811
|
+
modeReglement: string | null;
|
|
127812
|
+
source: string | null;
|
|
127813
|
+
} | null;
|
|
127653
127814
|
country?: {
|
|
127654
127815
|
id: number;
|
|
127655
127816
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
@@ -128059,6 +128220,33 @@ declare const factureRoutes: {
|
|
|
128059
128220
|
devises: string | null;
|
|
128060
128221
|
provenanceCommande: string | null;
|
|
128061
128222
|
hasEmballage: boolean;
|
|
128223
|
+
facture: {
|
|
128224
|
+
id: number;
|
|
128225
|
+
createdAt: Date;
|
|
128226
|
+
message: string | null;
|
|
128227
|
+
updatedAt: Date;
|
|
128228
|
+
isParis: boolean;
|
|
128229
|
+
isMedical: boolean;
|
|
128230
|
+
isService: boolean;
|
|
128231
|
+
tva: number;
|
|
128232
|
+
billingCenterId: number;
|
|
128233
|
+
ref: number;
|
|
128234
|
+
isDeleted: boolean;
|
|
128235
|
+
provenanceCommande: string | null;
|
|
128236
|
+
statut: string;
|
|
128237
|
+
echeance: string;
|
|
128238
|
+
montant: number;
|
|
128239
|
+
shippingIds: string[];
|
|
128240
|
+
fuel: number;
|
|
128241
|
+
total: number;
|
|
128242
|
+
bonDeCommende: string | null;
|
|
128243
|
+
isVariation: boolean;
|
|
128244
|
+
isActiveForReedited: boolean;
|
|
128245
|
+
docFacture: string;
|
|
128246
|
+
fullRef: string;
|
|
128247
|
+
modeReglement: string | null;
|
|
128248
|
+
source: string | null;
|
|
128249
|
+
} | null;
|
|
128062
128250
|
country?: {
|
|
128063
128251
|
id: number;
|
|
128064
128252
|
createdAt: Date;
|
|
@@ -128474,6 +128662,33 @@ declare const factureRoutes: {
|
|
|
128474
128662
|
devises: string | null;
|
|
128475
128663
|
provenanceCommande: string | null;
|
|
128476
128664
|
hasEmballage: boolean;
|
|
128665
|
+
facture: {
|
|
128666
|
+
id: number;
|
|
128667
|
+
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
128668
|
+
message: string | null;
|
|
128669
|
+
updatedAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
128670
|
+
isParis: boolean;
|
|
128671
|
+
isMedical: boolean;
|
|
128672
|
+
isService: boolean;
|
|
128673
|
+
tva: number;
|
|
128674
|
+
billingCenterId: number;
|
|
128675
|
+
ref: number;
|
|
128676
|
+
isDeleted: boolean;
|
|
128677
|
+
provenanceCommande: string | null;
|
|
128678
|
+
statut: string;
|
|
128679
|
+
echeance: string;
|
|
128680
|
+
montant: number;
|
|
128681
|
+
shippingIds: string[];
|
|
128682
|
+
fuel: number;
|
|
128683
|
+
total: number;
|
|
128684
|
+
bonDeCommende: string | null;
|
|
128685
|
+
isVariation: boolean;
|
|
128686
|
+
isActiveForReedited: boolean;
|
|
128687
|
+
docFacture: string;
|
|
128688
|
+
fullRef: string;
|
|
128689
|
+
modeReglement: string | null;
|
|
128690
|
+
source: string | null;
|
|
128691
|
+
} | null;
|
|
128477
128692
|
country?: {
|
|
128478
128693
|
id: number;
|
|
128479
128694
|
createdAt: import("luxon").DateTime<true> | import("luxon").DateTime<false>;
|
|
@@ -128889,6 +129104,33 @@ declare const factureRoutes: {
|
|
|
128889
129104
|
devises: string | null;
|
|
128890
129105
|
provenanceCommande: string | null;
|
|
128891
129106
|
hasEmballage: boolean;
|
|
129107
|
+
facture: {
|
|
129108
|
+
id: number;
|
|
129109
|
+
createdAt: Date;
|
|
129110
|
+
message: string | null;
|
|
129111
|
+
updatedAt: Date;
|
|
129112
|
+
isParis: boolean;
|
|
129113
|
+
isMedical: boolean;
|
|
129114
|
+
isService: boolean;
|
|
129115
|
+
tva: number;
|
|
129116
|
+
billingCenterId: number;
|
|
129117
|
+
ref: number;
|
|
129118
|
+
isDeleted: boolean;
|
|
129119
|
+
provenanceCommande: string | null;
|
|
129120
|
+
statut: string;
|
|
129121
|
+
echeance: string;
|
|
129122
|
+
montant: number;
|
|
129123
|
+
shippingIds: string[];
|
|
129124
|
+
fuel: number;
|
|
129125
|
+
total: number;
|
|
129126
|
+
bonDeCommende: string | null;
|
|
129127
|
+
isVariation: boolean;
|
|
129128
|
+
isActiveForReedited: boolean;
|
|
129129
|
+
docFacture: string;
|
|
129130
|
+
fullRef: string;
|
|
129131
|
+
modeReglement: string | null;
|
|
129132
|
+
source: string | null;
|
|
129133
|
+
} | null;
|
|
128892
129134
|
country?: {
|
|
128893
129135
|
id: number;
|
|
128894
129136
|
createdAt: Date;
|
package/dist/routes/ops.js
CHANGED
|
@@ -471,7 +471,9 @@ const factureRoutes = (0, _type_1.IApiType)({
|
|
|
471
471
|
params: zod_1.z.object({
|
|
472
472
|
userInterface: zod_1.z.enum(["paris", "medical", "service"]),
|
|
473
473
|
}),
|
|
474
|
-
response: (0, _type_1.response)((0, models_1.PaginationSchema)(models_1.ShippingSchema
|
|
474
|
+
response: (0, _type_1.response)((0, models_1.PaginationSchema)(models_1.ShippingSchema.extend({
|
|
475
|
+
facture: models_1.FactureSchemaSimple.nullable(),
|
|
476
|
+
}))),
|
|
475
477
|
},
|
|
476
478
|
});
|
|
477
479
|
const historiqueActionRoutes = (0, _type_1.IApiType)({
|