autosync_backend2 1.1.11 → 1.1.13

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
@@ -416,6 +416,21 @@ declare const app: Elysia<"", {
416
416
  companyBranchId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
417
417
  priceTotal: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
418
418
  }>;
419
+ readonly "CrmCustomerModel.create": import("@sinclair/typebox").TObject<{
420
+ email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
421
+ companyId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
422
+ firstname: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
423
+ lastname: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
424
+ phoneNumber: import("@sinclair/typebox").TString;
425
+ regNum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
426
+ }>;
427
+ readonly "CrmCustomerModel.select": import("@sinclair/typebox").TObject<{
428
+ phone: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
429
+ pagination: import("@sinclair/typebox").TObject<{
430
+ page: import("@sinclair/typebox").TInteger;
431
+ size: import("@sinclair/typebox").TInteger;
432
+ }>;
433
+ }>;
419
434
  };
420
435
  error: {};
421
436
  }, {
@@ -3081,7 +3096,7 @@ declare const app: Elysia<"", {
3081
3096
  response: {
3082
3097
  200: {
3083
3098
  totalCount: number;
3084
- totalPages: number;
3099
+ totalPage: number;
3085
3100
  result: {
3086
3101
  order: {
3087
3102
  companyId: string;
@@ -3118,6 +3133,32 @@ declare const app: Elysia<"", {
3118
3133
  updatedAt: string;
3119
3134
  deletedAt: string | null;
3120
3135
  };
3136
+ make: {
3137
+ vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
3138
+ parentId: string | null;
3139
+ name: string;
3140
+ description: string | null;
3141
+ yearStart: number | null;
3142
+ yearEnd: number | null;
3143
+ imagePath: string | null;
3144
+ id: string;
3145
+ createdAt: string;
3146
+ updatedAt: string;
3147
+ deletedAt: string | null;
3148
+ } | null;
3149
+ model: {
3150
+ vehicleKindEnum: "MAKE" | "MODEL_GROUP" | "MODEL";
3151
+ parentId: string | null;
3152
+ name: string;
3153
+ description: string | null;
3154
+ yearStart: number | null;
3155
+ yearEnd: number | null;
3156
+ imagePath: string | null;
3157
+ id: string;
3158
+ createdAt: string;
3159
+ updatedAt: string;
3160
+ deletedAt: string | null;
3161
+ } | null;
3121
3162
  customer: {
3122
3163
  companyId: string | null;
3123
3164
  firstname: string | null;
@@ -4146,6 +4187,52 @@ declare const app: Elysia<"", {
4146
4187
  };
4147
4188
  };
4148
4189
  };
4190
+ } & {
4191
+ crm: {
4192
+ customer: {};
4193
+ } & {
4194
+ customer: {
4195
+ get: {
4196
+ body: unknown;
4197
+ params: {};
4198
+ query: {
4199
+ phone?: string | undefined;
4200
+ pagination: {
4201
+ size: number;
4202
+ page: number;
4203
+ };
4204
+ };
4205
+ headers: unknown;
4206
+ response: {
4207
+ 200: {
4208
+ totalCount: number;
4209
+ totalPage: number;
4210
+ result: {
4211
+ companyId: string | null;
4212
+ firstname: string | null;
4213
+ lastname: string | null;
4214
+ phoneNumber: string;
4215
+ email: string | null;
4216
+ regNum: string | null;
4217
+ id: string;
4218
+ createdAt: string;
4219
+ updatedAt: string;
4220
+ deletedAt: string | null;
4221
+ }[];
4222
+ };
4223
+ 422: {
4224
+ type: "validation";
4225
+ on: string;
4226
+ summary?: string;
4227
+ message?: string;
4228
+ found?: unknown;
4229
+ property?: string;
4230
+ expected?: string;
4231
+ };
4232
+ };
4233
+ };
4234
+ };
4235
+ };
4149
4236
  };
4150
4237
  }, {
4151
4238
  derive: {};