pg-manipulator 1.0.56 → 1.0.57

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 (41) hide show
  1. package/dist/@types/admin/atributo_fields.d.ts +1 -0
  2. package/dist/@types/admin/atributo_order.d.ts +1 -0
  3. package/dist/@types/admin/atributo_select.d.ts +1 -0
  4. package/dist/@types/admin/atributo_update.d.ts +1 -0
  5. package/dist/@types/admin/atributo_where.d.ts +1 -0
  6. package/dist/@types/admin/categoria_fields.d.ts +1 -0
  7. package/dist/@types/admin/categoria_order.d.ts +1 -0
  8. package/dist/@types/admin/categoria_select.d.ts +1 -0
  9. package/dist/@types/admin/categoria_update.d.ts +1 -0
  10. package/dist/@types/admin/categoria_where.d.ts +1 -0
  11. package/dist/@types/admin/entidade_fields.d.ts +1 -0
  12. package/dist/@types/admin/entidade_order.d.ts +1 -0
  13. package/dist/@types/admin/entidade_select.d.ts +1 -0
  14. package/dist/@types/admin/entidade_update.d.ts +1 -0
  15. package/dist/@types/admin/entidade_where.d.ts +1 -0
  16. package/dist/@types/admin/item_fields.d.ts +1 -0
  17. package/dist/@types/admin/item_order.d.ts +1 -0
  18. package/dist/@types/admin/item_select.d.ts +1 -0
  19. package/dist/@types/admin/item_update.d.ts +1 -0
  20. package/dist/@types/admin/item_where.d.ts +1 -0
  21. package/dist/@types/admin/marca_fields.d.ts +1 -0
  22. package/dist/@types/admin/marca_order.d.ts +1 -0
  23. package/dist/@types/admin/marca_select.d.ts +1 -0
  24. package/dist/@types/admin/marca_update.d.ts +1 -0
  25. package/dist/@types/admin/marca_where.d.ts +1 -0
  26. package/dist/@types/admin/operacao_fields.d.ts +1 -0
  27. package/dist/@types/admin/operacao_order.d.ts +1 -0
  28. package/dist/@types/admin/operacao_select.d.ts +1 -0
  29. package/dist/@types/admin/operacao_update.d.ts +1 -0
  30. package/dist/@types/admin/operacao_where.d.ts +1 -0
  31. package/dist/class/admin/index.d.ts +12 -12
  32. package/dist/class/admin/index.js +13 -13
  33. package/dist/mapping/admin/atributo.js +11 -0
  34. package/dist/mapping/admin/categoria.js +11 -0
  35. package/dist/mapping/admin/entidade.js +15 -4
  36. package/dist/mapping/admin/index.d.ts +64 -64
  37. package/dist/mapping/admin/index.js +13 -13
  38. package/dist/mapping/admin/item.js +11 -0
  39. package/dist/mapping/admin/marca.js +11 -0
  40. package/dist/mapping/admin/operacao.js +11 -0
  41. package/package.json +1 -1
@@ -5,4 +5,5 @@ export type atributo_fields = {
5
5
  descricao?: string;
6
6
  valor: string;
7
7
  situacao?: boolean;
8
+ empresa?: number;
8
9
  };
@@ -5,4 +5,5 @@ export type atributo_order = {
5
5
  descricao?: 'desc' | 'asc';
6
6
  valor?: 'desc' | 'asc';
7
7
  situacao?: 'desc' | 'asc';
8
+ empresa?: 'desc' | 'asc';
8
9
  };
@@ -7,6 +7,7 @@ export type atributo_select = {
7
7
  descricao?: string;
8
8
  valor?: string;
9
9
  situacao?: boolean;
10
+ empresa?: number;
10
11
  where: atributo_where;
11
12
  order?: atributo_order;
12
13
  };
@@ -6,5 +6,6 @@ export type atributo_update = {
6
6
  descricao?: string;
7
7
  valor?: string;
8
8
  situacao?: boolean;
9
+ empresa?: number;
9
10
  where: atributo_where;
10
11
  };
@@ -6,4 +6,5 @@ export type atributo_where = {
6
6
  descricao?: where_string | string;
7
7
  valor?: where_string | string;
8
8
  situacao?: where_boolean | boolean;
9
+ empresa?: where_number | number;
9
10
  };
@@ -6,4 +6,5 @@ export type categoria_fields = {
6
6
  imagem?: string;
7
7
  icone?: string;
8
8
  is_padrao?: boolean;
9
+ empresa?: number;
9
10
  };
@@ -6,4 +6,5 @@ export type categoria_order = {
6
6
  imagem?: 'desc' | 'asc';
7
7
  icone?: 'desc' | 'asc';
8
8
  is_padrao?: 'desc' | 'asc';
9
+ empresa?: 'desc' | 'asc';
9
10
  };
@@ -8,6 +8,7 @@ export type categoria_select = {
8
8
  imagem?: string;
9
9
  icone?: string;
10
10
  is_padrao?: boolean;
11
+ empresa?: number;
11
12
  where: categoria_where;
12
13
  order?: categoria_order;
13
14
  };
@@ -7,5 +7,6 @@ export type categoria_update = {
7
7
  imagem?: string;
8
8
  icone?: string;
9
9
  is_padrao?: boolean;
10
+ empresa?: number;
10
11
  where: categoria_where;
11
12
  };
@@ -7,4 +7,5 @@ export type categoria_where = {
7
7
  imagem?: where_string | string;
8
8
  icone?: where_string | string;
9
9
  is_padrao?: where_boolean | boolean;
10
+ empresa?: where_number | number;
10
11
  };
@@ -10,4 +10,5 @@ export type entidade_fields = {
10
10
  is_cliente?: boolean;
11
11
  id_externo?: string;
12
12
  ultimo_acesso?: Date;
13
+ empresa?: number;
13
14
  };
@@ -10,4 +10,5 @@ export type entidade_order = {
10
10
  is_cliente?: 'desc' | 'asc';
11
11
  id_externo?: 'desc' | 'asc';
12
12
  ultimo_acesso?: 'desc' | 'asc';
13
+ empresa?: 'desc' | 'asc';
13
14
  };
@@ -12,6 +12,7 @@ export type entidade_select = {
12
12
  is_cliente?: boolean;
13
13
  id_externo?: string;
14
14
  ultimo_acesso?: Date;
15
+ empresa?: number;
15
16
  where: entidade_where;
16
17
  order?: entidade_order;
17
18
  };
@@ -11,5 +11,6 @@ export type entidade_update = {
11
11
  is_cliente?: boolean;
12
12
  id_externo?: string;
13
13
  ultimo_acesso?: Date;
14
+ empresa?: number;
14
15
  where: entidade_where;
15
16
  };
@@ -11,4 +11,5 @@ export type entidade_where = {
11
11
  is_cliente?: where_boolean | boolean;
12
12
  id_externo?: where_string | string;
13
13
  ultimo_acesso?: where_date | Date;
14
+ empresa?: where_number | number;
14
15
  };
@@ -22,4 +22,5 @@ export type item_fields = {
22
22
  cfopi: string;
23
23
  cfope: string;
24
24
  destaque?: boolean;
25
+ empresa?: number;
25
26
  };
@@ -22,4 +22,5 @@ export type item_order = {
22
22
  cfopi?: 'desc' | 'asc';
23
23
  cfope?: 'desc' | 'asc';
24
24
  destaque?: 'desc' | 'asc';
25
+ empresa?: 'desc' | 'asc';
25
26
  };
@@ -24,6 +24,7 @@ export type item_select = {
24
24
  cfopi?: string;
25
25
  cfope?: string;
26
26
  destaque?: boolean;
27
+ empresa?: number;
27
28
  where: item_where;
28
29
  order?: item_order;
29
30
  };
@@ -23,5 +23,6 @@ export type item_update = {
23
23
  cfopi?: string;
24
24
  cfope?: string;
25
25
  destaque?: boolean;
26
+ empresa?: number;
26
27
  where: item_where;
27
28
  };
@@ -23,4 +23,5 @@ export type item_where = {
23
23
  cfopi?: where_string | string;
24
24
  cfope?: where_string | string;
25
25
  destaque?: where_boolean | boolean;
26
+ empresa?: where_number | number;
26
27
  };
@@ -5,4 +5,5 @@ export type marca_fields = {
5
5
  imagem?: string;
6
6
  icone?: string;
7
7
  is_padrao?: boolean;
8
+ empresa?: number;
8
9
  };
@@ -5,4 +5,5 @@ export type marca_order = {
5
5
  imagem?: 'desc' | 'asc';
6
6
  icone?: 'desc' | 'asc';
7
7
  is_padrao?: 'desc' | 'asc';
8
+ empresa?: 'desc' | 'asc';
8
9
  };
@@ -7,6 +7,7 @@ export type marca_select = {
7
7
  imagem?: string;
8
8
  icone?: string;
9
9
  is_padrao?: boolean;
10
+ empresa?: number;
10
11
  where: marca_where;
11
12
  order?: marca_order;
12
13
  };
@@ -6,5 +6,6 @@ export type marca_update = {
6
6
  imagem?: string;
7
7
  icone?: string;
8
8
  is_padrao?: boolean;
9
+ empresa?: number;
9
10
  where: marca_where;
10
11
  };
@@ -6,4 +6,5 @@ export type marca_where = {
6
6
  imagem?: where_string | string;
7
7
  icone?: where_string | string;
8
8
  is_padrao?: where_boolean | boolean;
9
+ empresa?: where_number | number;
9
10
  };
@@ -23,4 +23,5 @@ export type operacao_fields = {
23
23
  frete?: any;
24
24
  etiquetas?: any;
25
25
  entidade_endereco?: number;
26
+ empresa?: number;
26
27
  };
@@ -23,4 +23,5 @@ export type operacao_order = {
23
23
  frete?: 'desc' | 'asc';
24
24
  etiquetas?: 'desc' | 'asc';
25
25
  entidade_endereco?: 'desc' | 'asc';
26
+ empresa?: 'desc' | 'asc';
26
27
  };
@@ -25,6 +25,7 @@ export type operacao_select = {
25
25
  frete?: any;
26
26
  etiquetas?: any;
27
27
  entidade_endereco?: number;
28
+ empresa?: number;
28
29
  where: operacao_where;
29
30
  order?: operacao_order;
30
31
  };
@@ -24,5 +24,6 @@ export type operacao_update = {
24
24
  frete?: any;
25
25
  etiquetas?: any;
26
26
  entidade_endereco?: number;
27
+ empresa?: number;
27
28
  where: operacao_where;
28
29
  };
@@ -24,4 +24,5 @@ export type operacao_where = {
24
24
  frete?: any;
25
25
  etiquetas?: any;
26
26
  entidade_endereco?: where_number | number;
27
+ empresa?: where_number | number;
27
28
  };
@@ -1,37 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
- import atributo from './atributo';
3
+ import operacao_item from './operacao_item';
4
4
  import item_variacao_atributo from './item_variacao_atributo';
5
- import entidade_endereco from './entidade_endereco';
5
+ import empresa from './empresa';
6
+ import operacao from './operacao';
6
7
  import operacao_pagamento from './operacao_pagamento';
7
8
  import entidade from './entidade';
8
9
  import usuario from './usuario';
9
- import entidade_cartao from './entidade_cartao';
10
10
  import item from './item';
11
+ import atributo from './atributo';
12
+ import entidade_endereco from './entidade_endereco';
11
13
  import item_variacao from './item_variacao';
12
14
  import categoria from './categoria';
15
+ import entidade_cartao from './entidade_cartao';
13
16
  import item_variacao_imagem from './item_variacao_imagem';
14
- import operacao_item from './operacao_item';
15
17
  import marca from './marca';
16
- import empresa from './empresa';
17
- import operacao from './operacao';
18
18
  declare const _default: {
19
19
  query(query_string: string, query_params: Array<any>, transaction?: PoolClient | any): Promise<any>;
20
20
  transaction(callback: pool_tsx): Promise<void>;
21
- atributo: typeof atributo;
21
+ operacao_item: typeof operacao_item;
22
22
  item_variacao_atributo: typeof item_variacao_atributo;
23
- entidade_endereco: typeof entidade_endereco;
23
+ empresa: typeof empresa;
24
+ operacao: typeof operacao;
24
25
  operacao_pagamento: typeof operacao_pagamento;
25
26
  entidade: typeof entidade;
26
27
  usuario: typeof usuario;
27
- entidade_cartao: typeof entidade_cartao;
28
28
  item: typeof item;
29
+ atributo: typeof atributo;
30
+ entidade_endereco: typeof entidade_endereco;
29
31
  item_variacao: typeof item_variacao;
30
32
  categoria: typeof categoria;
33
+ entidade_cartao: typeof entidade_cartao;
31
34
  item_variacao_imagem: typeof item_variacao_imagem;
32
- operacao_item: typeof operacao_item;
33
35
  marca: typeof marca;
34
- empresa: typeof empresa;
35
- operacao: typeof operacao;
36
36
  };
37
37
  export default _default;
@@ -4,21 +4,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const database_1 = __importDefault(require("../../database"));
7
- const atributo_1 = __importDefault(require("./atributo"));
7
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
8
8
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
9
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
9
+ const empresa_1 = __importDefault(require("./empresa"));
10
+ const operacao_1 = __importDefault(require("./operacao"));
10
11
  const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
11
12
  const entidade_1 = __importDefault(require("./entidade"));
12
13
  const usuario_1 = __importDefault(require("./usuario"));
13
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
14
14
  const item_1 = __importDefault(require("./item"));
15
+ const atributo_1 = __importDefault(require("./atributo"));
16
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
15
17
  const item_variacao_1 = __importDefault(require("./item_variacao"));
16
18
  const categoria_1 = __importDefault(require("./categoria"));
19
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
17
20
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
18
- const operacao_item_1 = __importDefault(require("./operacao_item"));
19
21
  const marca_1 = __importDefault(require("./marca"));
20
- const empresa_1 = __importDefault(require("./empresa"));
21
- const operacao_1 = __importDefault(require("./operacao"));
22
22
  exports.default = {
23
23
  async query(query_string, query_params, transaction = undefined) {
24
24
  return await database_1.default.query('admin', query_string, query_params, transaction);
@@ -26,19 +26,19 @@ exports.default = {
26
26
  async transaction(callback) {
27
27
  return await database_1.default.transaction('admin', callback);
28
28
  },
29
- atributo: atributo_1.default,
29
+ operacao_item: operacao_item_1.default,
30
30
  item_variacao_atributo: item_variacao_atributo_1.default,
31
- entidade_endereco: entidade_endereco_1.default,
31
+ empresa: empresa_1.default,
32
+ operacao: operacao_1.default,
32
33
  operacao_pagamento: operacao_pagamento_1.default,
33
34
  entidade: entidade_1.default,
34
35
  usuario: usuario_1.default,
35
- entidade_cartao: entidade_cartao_1.default,
36
36
  item: item_1.default,
37
+ atributo: atributo_1.default,
38
+ entidade_endereco: entidade_endereco_1.default,
37
39
  item_variacao: item_variacao_1.default,
38
40
  categoria: categoria_1.default,
41
+ entidade_cartao: entidade_cartao_1.default,
39
42
  item_variacao_imagem: item_variacao_imagem_1.default,
40
- operacao_item: operacao_item_1.default,
41
- marca: marca_1.default,
42
- empresa: empresa_1.default,
43
- operacao: operacao_1.default
43
+ marca: marca_1.default
44
44
  };
@@ -67,6 +67,17 @@ exports.default = {
67
67
  "fk_table": null,
68
68
  "fk_reference": null,
69
69
  "pk": false
70
+ },
71
+ {
72
+ "name": "empresa",
73
+ "value": {
74
+ "type": "integer",
75
+ "is_null": "YES",
76
+ "maxlength": null
77
+ },
78
+ "fk_table": null,
79
+ "fk_reference": null,
80
+ "pk": false
70
81
  }
71
82
  ],
72
83
  "fathers": [],
@@ -78,6 +78,17 @@ exports.default = {
78
78
  "fk_table": null,
79
79
  "fk_reference": null,
80
80
  "pk": false
81
+ },
82
+ {
83
+ "name": "empresa",
84
+ "value": {
85
+ "type": "integer",
86
+ "is_null": "YES",
87
+ "maxlength": null
88
+ },
89
+ "fk_table": null,
90
+ "fk_reference": null,
91
+ "pk": false
81
92
  }
82
93
  ],
83
94
  "fathers": [],
@@ -122,6 +122,17 @@ exports.default = {
122
122
  "fk_table": null,
123
123
  "fk_reference": null,
124
124
  "pk": false
125
+ },
126
+ {
127
+ "name": "empresa",
128
+ "value": {
129
+ "type": "integer",
130
+ "is_null": "YES",
131
+ "maxlength": null
132
+ },
133
+ "fk_table": null,
134
+ "fk_reference": null,
135
+ "pk": false
125
136
  }
126
137
  ],
127
138
  "fathers": [],
@@ -149,10 +160,10 @@ exports.default = {
149
160
  "pk": false
150
161
  },
151
162
  {
152
- "name": "id_entidade",
163
+ "name": "transportadora",
153
164
  "value": {
154
165
  "type": "integer",
155
- "is_null": "NO",
166
+ "is_null": "YES",
156
167
  "maxlength": null
157
168
  },
158
169
  "fk_table": "entidade",
@@ -160,10 +171,10 @@ exports.default = {
160
171
  "pk": false
161
172
  },
162
173
  {
163
- "name": "transportadora",
174
+ "name": "id_entidade",
164
175
  "value": {
165
176
  "type": "integer",
166
- "is_null": "YES",
177
+ "is_null": "NO",
167
178
  "maxlength": null
168
179
  },
169
180
  "fk_table": "entidade",
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- atributo: {
2
+ operacao_item: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -21,8 +21,7 @@ declare const _default: {
21
21
  fk_reference: null;
22
22
  pk: boolean;
23
23
  })[];
24
- fathers: never[];
25
- childrens: {
24
+ fathers: {
26
25
  name: string;
27
26
  value: {
28
27
  type: string;
@@ -33,6 +32,7 @@ declare const _default: {
33
32
  fk_reference: string;
34
33
  pk: boolean;
35
34
  }[];
35
+ childrens: never[];
36
36
  name: string;
37
37
  };
38
38
  item_variacao_atributo: {
@@ -61,7 +61,33 @@ declare const _default: {
61
61
  childrens: never[];
62
62
  name: string;
63
63
  };
64
- entidade_endereco: {
64
+ empresa: {
65
+ columns: ({
66
+ name: string;
67
+ value: {
68
+ type: string;
69
+ is_null: string;
70
+ maxlength: null;
71
+ };
72
+ fk_table: string;
73
+ fk_reference: string;
74
+ pk: boolean;
75
+ } | {
76
+ name: string;
77
+ value: {
78
+ type: string;
79
+ is_null: string;
80
+ maxlength: null;
81
+ };
82
+ fk_table: null;
83
+ fk_reference: null;
84
+ pk: boolean;
85
+ })[];
86
+ fathers: never[];
87
+ childrens: never[];
88
+ name: string;
89
+ };
90
+ operacao: {
65
91
  columns: ({
66
92
  name: string;
67
93
  value: {
@@ -205,7 +231,7 @@ declare const _default: {
205
231
  childrens: never[];
206
232
  name: string;
207
233
  };
208
- entidade_cartao: {
234
+ item: {
209
235
  columns: ({
210
236
  name: string;
211
237
  value: {
@@ -251,7 +277,7 @@ declare const _default: {
251
277
  }[];
252
278
  name: string;
253
279
  };
254
- item: {
280
+ atributo: {
255
281
  columns: ({
256
282
  name: string;
257
283
  value: {
@@ -273,17 +299,7 @@ declare const _default: {
273
299
  fk_reference: null;
274
300
  pk: boolean;
275
301
  })[];
276
- fathers: {
277
- name: string;
278
- value: {
279
- type: string;
280
- is_null: string;
281
- maxlength: null;
282
- };
283
- fk_table: string;
284
- fk_reference: string;
285
- pk: boolean;
286
- }[];
302
+ fathers: never[];
287
303
  childrens: {
288
304
  name: string;
289
305
  value: {
@@ -297,7 +313,7 @@ declare const _default: {
297
313
  }[];
298
314
  name: string;
299
315
  };
300
- item_variacao: {
316
+ entidade_endereco: {
301
317
  columns: ({
302
318
  name: string;
303
319
  value: {
@@ -343,7 +359,7 @@ declare const _default: {
343
359
  }[];
344
360
  name: string;
345
361
  };
346
- categoria: {
362
+ item_variacao: {
347
363
  columns: ({
348
364
  name: string;
349
365
  value: {
@@ -365,7 +381,17 @@ declare const _default: {
365
381
  fk_reference: null;
366
382
  pk: boolean;
367
383
  })[];
368
- fathers: never[];
384
+ fathers: {
385
+ name: string;
386
+ value: {
387
+ type: string;
388
+ is_null: string;
389
+ maxlength: null;
390
+ };
391
+ fk_table: string;
392
+ fk_reference: string;
393
+ pk: boolean;
394
+ }[];
369
395
  childrens: {
370
396
  name: string;
371
397
  value: {
@@ -379,7 +405,7 @@ declare const _default: {
379
405
  }[];
380
406
  name: string;
381
407
  };
382
- item_variacao_imagem: {
408
+ categoria: {
383
409
  columns: ({
384
410
  name: string;
385
411
  value: {
@@ -401,7 +427,8 @@ declare const _default: {
401
427
  fk_reference: null;
402
428
  pk: boolean;
403
429
  })[];
404
- fathers: {
430
+ fathers: never[];
431
+ childrens: {
405
432
  name: string;
406
433
  value: {
407
434
  type: string;
@@ -412,10 +439,9 @@ declare const _default: {
412
439
  fk_reference: string;
413
440
  pk: boolean;
414
441
  }[];
415
- childrens: never[];
416
442
  name: string;
417
443
  };
418
- operacao_item: {
444
+ entidade_cartao: {
419
445
  columns: ({
420
446
  name: string;
421
447
  value: {
@@ -448,32 +474,6 @@ declare const _default: {
448
474
  fk_reference: string;
449
475
  pk: boolean;
450
476
  }[];
451
- childrens: never[];
452
- name: string;
453
- };
454
- marca: {
455
- columns: ({
456
- name: string;
457
- value: {
458
- type: string;
459
- is_null: string;
460
- maxlength: null;
461
- };
462
- fk_table: string;
463
- fk_reference: string;
464
- pk: boolean;
465
- } | {
466
- name: string;
467
- value: {
468
- type: string;
469
- is_null: string;
470
- maxlength: null;
471
- };
472
- fk_table: null;
473
- fk_reference: null;
474
- pk: boolean;
475
- })[];
476
- fathers: never[];
477
477
  childrens: {
478
478
  name: string;
479
479
  value: {
@@ -487,7 +487,7 @@ declare const _default: {
487
487
  }[];
488
488
  name: string;
489
489
  };
490
- empresa: {
490
+ item_variacao_imagem: {
491
491
  columns: ({
492
492
  name: string;
493
493
  value: {
@@ -509,11 +509,21 @@ declare const _default: {
509
509
  fk_reference: null;
510
510
  pk: boolean;
511
511
  })[];
512
- fathers: never[];
512
+ fathers: {
513
+ name: string;
514
+ value: {
515
+ type: string;
516
+ is_null: string;
517
+ maxlength: null;
518
+ };
519
+ fk_table: string;
520
+ fk_reference: string;
521
+ pk: boolean;
522
+ }[];
513
523
  childrens: never[];
514
524
  name: string;
515
525
  };
516
- operacao: {
526
+ marca: {
517
527
  columns: ({
518
528
  name: string;
519
529
  value: {
@@ -535,17 +545,7 @@ declare const _default: {
535
545
  fk_reference: null;
536
546
  pk: boolean;
537
547
  })[];
538
- fathers: {
539
- name: string;
540
- value: {
541
- type: string;
542
- is_null: string;
543
- maxlength: null;
544
- };
545
- fk_table: string;
546
- fk_reference: string;
547
- pk: boolean;
548
- }[];
548
+ fathers: never[];
549
549
  childrens: {
550
550
  name: string;
551
551
  value: {
@@ -3,35 +3,35 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const atributo_1 = __importDefault(require("./atributo"));
6
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
7
7
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
8
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
8
+ const empresa_1 = __importDefault(require("./empresa"));
9
+ const operacao_1 = __importDefault(require("./operacao"));
9
10
  const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
10
11
  const entidade_1 = __importDefault(require("./entidade"));
11
12
  const usuario_1 = __importDefault(require("./usuario"));
12
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
13
13
  const item_1 = __importDefault(require("./item"));
14
+ const atributo_1 = __importDefault(require("./atributo"));
15
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
14
16
  const item_variacao_1 = __importDefault(require("./item_variacao"));
15
17
  const categoria_1 = __importDefault(require("./categoria"));
18
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
16
19
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
17
- const operacao_item_1 = __importDefault(require("./operacao_item"));
18
20
  const marca_1 = __importDefault(require("./marca"));
19
- const empresa_1 = __importDefault(require("./empresa"));
20
- const operacao_1 = __importDefault(require("./operacao"));
21
21
  exports.default = {
22
- atributo: atributo_1.default,
22
+ operacao_item: operacao_item_1.default,
23
23
  item_variacao_atributo: item_variacao_atributo_1.default,
24
- entidade_endereco: entidade_endereco_1.default,
24
+ empresa: empresa_1.default,
25
+ operacao: operacao_1.default,
25
26
  operacao_pagamento: operacao_pagamento_1.default,
26
27
  entidade: entidade_1.default,
27
28
  usuario: usuario_1.default,
28
- entidade_cartao: entidade_cartao_1.default,
29
29
  item: item_1.default,
30
+ atributo: atributo_1.default,
31
+ entidade_endereco: entidade_endereco_1.default,
30
32
  item_variacao: item_variacao_1.default,
31
33
  categoria: categoria_1.default,
34
+ entidade_cartao: entidade_cartao_1.default,
32
35
  item_variacao_imagem: item_variacao_imagem_1.default,
33
- operacao_item: operacao_item_1.default,
34
- marca: marca_1.default,
35
- empresa: empresa_1.default,
36
- operacao: operacao_1.default
36
+ marca: marca_1.default
37
37
  };
@@ -254,6 +254,17 @@ exports.default = {
254
254
  "fk_table": null,
255
255
  "fk_reference": null,
256
256
  "pk": false
257
+ },
258
+ {
259
+ "name": "empresa",
260
+ "value": {
261
+ "type": "integer",
262
+ "is_null": "YES",
263
+ "maxlength": null
264
+ },
265
+ "fk_table": null,
266
+ "fk_reference": null,
267
+ "pk": false
257
268
  }
258
269
  ],
259
270
  "fathers": [
@@ -67,6 +67,17 @@ exports.default = {
67
67
  "fk_table": null,
68
68
  "fk_reference": null,
69
69
  "pk": false
70
+ },
71
+ {
72
+ "name": "empresa",
73
+ "value": {
74
+ "type": "integer",
75
+ "is_null": "YES",
76
+ "maxlength": null
77
+ },
78
+ "fk_table": null,
79
+ "fk_reference": null,
80
+ "pk": false
70
81
  }
71
82
  ],
72
83
  "fathers": [],
@@ -265,6 +265,17 @@ exports.default = {
265
265
  "fk_table": "entidade_endereco",
266
266
  "fk_reference": "id",
267
267
  "pk": false
268
+ },
269
+ {
270
+ "name": "empresa",
271
+ "value": {
272
+ "type": "integer",
273
+ "is_null": "YES",
274
+ "maxlength": null
275
+ },
276
+ "fk_table": null,
277
+ "fk_reference": null,
278
+ "pk": false
268
279
  }
269
280
  ],
270
281
  "fathers": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",