autosync_backend2 1.2.90 → 1.2.91

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/index.d.ts CHANGED
@@ -5099,6 +5099,7 @@ export declare const app: Elysia<"", {
5099
5099
  put: {
5100
5100
  body: {
5101
5101
  type?: "Service" | "ProductSell" | undefined;
5102
+ createdAt?: string | undefined;
5102
5103
  companyId?: string | undefined;
5103
5104
  oldId?: number | null | undefined;
5104
5105
  description?: string | null | undefined;
package/dist/index.js CHANGED
@@ -280698,7 +280698,8 @@ var auth2 = betterAuth({
280698
280698
  trustedOrigins: [
280699
280699
  "https://user.autosync.mn",
280700
280700
  "https://admin.autosync.mn",
280701
- "https://backoffice.autosync.mn"
280701
+ "https://backoffice.autosync.mn",
280702
+ "https://fleet.autosync.mn"
280702
280703
  ],
280703
280704
  advanced: {
280704
280705
  useSecureCookies: false
@@ -286764,7 +286765,10 @@ var CrmCpOrderModel;
286764
286765
  quantity: t.Number({ minimum: 1 })
286765
286766
  });
286766
286767
  const updateSchema = createUpdateSchema(crmCpOrderTable);
286767
- CrmCpOrderModel.update = t.Partial(OmitBaseSchema(updateSchema));
286768
+ CrmCpOrderModel.update = t.Partial(t.Composite([
286769
+ OmitBaseSchema(updateSchema),
286770
+ t.Pick(updateSchema, ["createdAt"])
286771
+ ]));
286768
286772
  CrmCpOrderModel.select = t.Composite([
286769
286773
  PaginationSchema,
286770
286774
  t.Partial(t.Object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autosync_backend2",
3
- "version": "1.2.90",
3
+ "version": "1.2.91",
4
4
  "module": "src/index.ts",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",