@erp-galoper/types 1.0.1465 → 1.0.1467

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.
Files changed (2) hide show
  1. package/openapi.ts +73 -44
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -25330,8 +25330,8 @@ export interface components {
25330
25330
  cityId: components["schemas"]["RetrieveCity"];
25331
25331
  /** Address */
25332
25332
  address: string;
25333
- /** Users */
25334
- users: components["schemas"]["userCommon"][];
25333
+ /** Assignedusers */
25334
+ assignedUsers?: components["schemas"]["UserSharedSchema"][];
25335
25335
  /** Islocal */
25336
25336
  isLocal: boolean;
25337
25337
  region: components["schemas"]["RegionCommonSchema"];
@@ -25353,20 +25353,16 @@ export interface components {
25353
25353
  name: string;
25354
25354
  region: components["schemas"]["RegionSharedSchema"];
25355
25355
  };
25356
- /** userCommon */
25357
- userCommon: {
25356
+ /** UserSharedSchema */
25357
+ UserSharedSchema: {
25358
25358
  /** Id */
25359
25359
  id: number;
25360
- /** Username */
25361
- username: string;
25362
- /** Email */
25363
- email: string;
25364
25360
  /** Firstname */
25365
25361
  firstName: string;
25366
25362
  /** Lastname */
25367
25363
  lastName: string;
25368
- /** Role */
25369
- role: components["schemas"]["RolesSchema"][];
25364
+ /** Username */
25365
+ username: string;
25370
25366
  };
25371
25367
  /** MessageWithCode */
25372
25368
  MessageWithCode: {
@@ -25878,17 +25874,6 @@ export interface components {
25878
25874
  user: components["schemas"]["UserSharedSchema"];
25879
25875
  dateFiltration: components["schemas"]["DateFiltration"] | null;
25880
25876
  };
25881
- /** UserSharedSchema */
25882
- UserSharedSchema: {
25883
- /** Id */
25884
- id: number;
25885
- /** Firstname */
25886
- firstName: string;
25887
- /** Lastname */
25888
- lastName: string;
25889
- /** Username */
25890
- username: string;
25891
- };
25892
25877
  /** ItemsDataToPrint */
25893
25878
  ItemsDataToPrint: {
25894
25879
  /** Item */
@@ -26267,7 +26252,11 @@ export interface components {
26267
26252
  tags: components["schemas"]["TagSchema"][];
26268
26253
  family?: components["schemas"]["FamilySchema"] | null;
26269
26254
  brand: components["schemas"]["BrandSchema"] | null;
26270
- category?: components["schemas"]["CategorySchema"] | null;
26255
+ /**
26256
+ * Categories
26257
+ * @default []
26258
+ */
26259
+ categories: components["schemas"]["CategorySchema"][];
26271
26260
  /**
26272
26261
  * Specs
26273
26262
  * @default []
@@ -26512,7 +26501,11 @@ export interface components {
26512
26501
  tags: components["schemas"]["TagSchema"][];
26513
26502
  family?: components["schemas"]["FamilySchema"] | null;
26514
26503
  brand: components["schemas"]["BrandSchema"] | null;
26515
- category?: components["schemas"]["CategorySchema"] | null;
26504
+ /**
26505
+ * Categories
26506
+ * @default []
26507
+ */
26508
+ categories: components["schemas"]["CategorySchema"][];
26516
26509
  /**
26517
26510
  * Specs
26518
26511
  * @default []
@@ -27064,10 +27057,10 @@ export interface components {
27064
27057
  /** Brand */
27065
27058
  brand?: number | null;
27066
27059
  /**
27067
- * Category
27068
- * @description - category must be a leaf node (cannot have child categories)
27060
+ * Categories
27061
+ * @default []
27069
27062
  */
27070
- category?: number | null;
27063
+ categories: number[];
27071
27064
  /**
27072
27065
  * Specs
27073
27066
  * @default []
@@ -27298,10 +27291,11 @@ export interface components {
27298
27291
  /** Brand */
27299
27292
  brand?: number | null;
27300
27293
  /**
27301
- * Category
27302
- * @description - category must be a leaf node (cannot have child categories)
27294
+ * Categories
27295
+ * @description get categories from api/v1/inventory/categories/?type=item
27296
+ * @default []
27303
27297
  */
27304
- category?: number | null;
27298
+ categories: number[];
27305
27299
  /**
27306
27300
  * Specs
27307
27301
  * @default []
@@ -27654,10 +27648,11 @@ export interface components {
27654
27648
  /** Brand */
27655
27649
  brand?: number | null;
27656
27650
  /**
27657
- * Category
27658
- * @description - category must be a leaf node (cannot have child categories)
27651
+ * Categories
27652
+ * @description get categories from api/v1/inventory/categories/?type=item
27653
+ * @default []
27659
27654
  */
27660
- category?: number | null;
27655
+ categories: number[];
27661
27656
  /**
27662
27657
  * Specs
27663
27658
  * @default []
@@ -28259,10 +28254,10 @@ export interface components {
28259
28254
  /** Address */
28260
28255
  address: string;
28261
28256
  /**
28262
- * Users
28263
- * @default []
28257
+ * Assignedusersids
28258
+ * @description - List all active users, use route: api/v1/auth/users/ and filter by isActive=True
28264
28259
  */
28265
- users: number[];
28260
+ assignedUsersIds?: number[];
28266
28261
  };
28267
28262
  /** UpdateBranch */
28268
28263
  UpdateBranch: {
@@ -28284,10 +28279,10 @@ export interface components {
28284
28279
  /** Address */
28285
28280
  address?: string;
28286
28281
  /**
28287
- * Users
28288
- * @default []
28282
+ * Assignedusersids
28283
+ * @description -List all active users, use route: api/v1/auth/users/ and filter by isActive=True
28289
28284
  */
28290
- users: number[];
28285
+ assignedUsersIds?: number[];
28291
28286
  };
28292
28287
  /** AccountSummaryInfo */
28293
28288
  AccountSummaryInfo: {
@@ -29314,6 +29309,21 @@ export interface components {
29314
29309
  */
29315
29310
  approvers: components["schemas"]["DocumentTrackPerLevelUserResponse"][];
29316
29311
  };
29312
+ /** userCommon */
29313
+ userCommon: {
29314
+ /** Id */
29315
+ id: number;
29316
+ /** Username */
29317
+ username: string;
29318
+ /** Email */
29319
+ email: string;
29320
+ /** Firstname */
29321
+ firstName: string;
29322
+ /** Lastname */
29323
+ lastName: string;
29324
+ /** Role */
29325
+ role: components["schemas"]["RolesSchema"][];
29326
+ };
29317
29327
  /** DocumentsToApprove */
29318
29328
  DocumentsToApprove: {
29319
29329
  /**
@@ -30842,7 +30852,11 @@ export interface components {
30842
30852
  skuCode?: string | null;
30843
30853
  family?: components["schemas"]["CommonFamilySchema"] | null;
30844
30854
  brand?: components["schemas"]["CommonBrandSchema"] | null;
30845
- category?: components["schemas"]["CommonCategorySchema"] | null;
30855
+ /**
30856
+ * Categories
30857
+ * @default []
30858
+ */
30859
+ categories: components["schemas"]["CommonCategorySchema"][];
30846
30860
  /** Returnableitem */
30847
30861
  returnableItem: boolean;
30848
30862
  trackInventoryBy: components["schemas"]["TrackInventoryBy"] | null;
@@ -43240,7 +43254,11 @@ export interface components {
43240
43254
  skuCode?: string | null;
43241
43255
  family?: components["schemas"]["CommonFamilySchema"] | null;
43242
43256
  brand?: components["schemas"]["CommonBrandSchema"] | null;
43243
- category?: components["schemas"]["CommonCategorySchema"] | null;
43257
+ /**
43258
+ * Categories
43259
+ * @default []
43260
+ */
43261
+ categories: components["schemas"]["CommonCategorySchema"][];
43244
43262
  /**
43245
43263
  * Isinventorytracked
43246
43264
  * @default false
@@ -54798,7 +54816,11 @@ export interface components {
54798
54816
  skuCode?: string | null;
54799
54817
  family?: components["schemas"]["CommonFamilySchema"] | null;
54800
54818
  brand?: components["schemas"]["CommonBrandSchema"] | null;
54801
- category?: components["schemas"]["CommonCategorySchema"] | null;
54819
+ /**
54820
+ * Categories
54821
+ * @default []
54822
+ */
54823
+ categories: components["schemas"]["CommonCategorySchema"][];
54802
54824
  /** Tags */
54803
54825
  tags?: components["schemas"]["TagSchema"][] | null;
54804
54826
  /**
@@ -54944,8 +54966,11 @@ export interface components {
54944
54966
  description?: string | null;
54945
54967
  /** Name */
54946
54968
  name: string;
54947
- /** Category */
54948
- category?: string | null;
54969
+ /**
54970
+ * Categories
54971
+ * @default []
54972
+ */
54973
+ categories: components["schemas"]["CommonCategorySchema"][];
54949
54974
  /** Family */
54950
54975
  family?: string | null;
54951
54976
  /** Brand */
@@ -55497,7 +55522,11 @@ export interface components {
55497
55522
  */
55498
55523
  SalesByItemSchema: {
55499
55524
  item: components["schemas"]["ItemSummarySchema"];
55500
- category?: components["schemas"]["CategorySummarySchema"] | null;
55525
+ /**
55526
+ * Categories
55527
+ * @default []
55528
+ */
55529
+ categories: components["schemas"]["CategorySummarySchema"][];
55501
55530
  brand?: components["schemas"]["BrandSummarySchema"] | null;
55502
55531
  family?: components["schemas"]["FamilySummarySchema"] | null;
55503
55532
  /** Quantitysold */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1465",
3
+ "version": "1.0.1467",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],