pg-manipulator 1.0.64 → 1.0.65

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.
@@ -48,4 +48,6 @@ export type empresa_fields = {
48
48
  percentual_transacao_cartao_base?: number;
49
49
  percentual_transacao_pix_base?: number;
50
50
  percentual_impostos_base?: number;
51
+ regime_fiscal?: string;
52
+ razao_social?: string;
51
53
  };
@@ -48,4 +48,6 @@ export type empresa_order = {
48
48
  percentual_transacao_cartao_base?: 'desc' | 'asc';
49
49
  percentual_transacao_pix_base?: 'desc' | 'asc';
50
50
  percentual_impostos_base?: 'desc' | 'asc';
51
+ regime_fiscal?: 'desc' | 'asc';
52
+ razao_social?: 'desc' | 'asc';
51
53
  };
@@ -50,6 +50,8 @@ export type empresa_select = {
50
50
  percentual_transacao_cartao_base?: number;
51
51
  percentual_transacao_pix_base?: number;
52
52
  percentual_impostos_base?: number;
53
+ regime_fiscal?: string;
54
+ razao_social?: string;
53
55
  where: empresa_where;
54
56
  order?: empresa_order;
55
57
  };
@@ -49,5 +49,7 @@ export type empresa_update = {
49
49
  percentual_transacao_cartao_base?: number;
50
50
  percentual_transacao_pix_base?: number;
51
51
  percentual_impostos_base?: number;
52
+ regime_fiscal?: string;
53
+ razao_social?: string;
52
54
  where: empresa_where;
53
55
  };
@@ -49,4 +49,6 @@ export type empresa_where = {
49
49
  percentual_transacao_cartao_base?: where_number | number;
50
50
  percentual_transacao_pix_base?: where_number | number;
51
51
  percentual_impostos_base?: where_number | number;
52
+ regime_fiscal?: where_string | string;
53
+ razao_social?: where_string | string;
52
54
  };
@@ -25,4 +25,20 @@ export type operacao_fields = {
25
25
  entidade_endereco?: number;
26
26
  empresa?: number;
27
27
  data_hora_finalizacao?: Date;
28
+ v_total?: number;
29
+ v_desconto?: number;
30
+ v_frete?: number;
31
+ v_seguro?: number;
32
+ v_outros?: number;
33
+ v_icms?: number;
34
+ v_icms_st?: number;
35
+ v_ipi?: number;
36
+ v_pis?: number;
37
+ v_cofins?: number;
38
+ v_ii?: number;
39
+ v_fcp?: number;
40
+ v_difal_dest?: number;
41
+ v_difal_rem?: number;
42
+ v_tributos_total?: number;
43
+ xml_original?: number;
28
44
  };
@@ -25,4 +25,20 @@ export type operacao_order = {
25
25
  entidade_endereco?: 'desc' | 'asc';
26
26
  empresa?: 'desc' | 'asc';
27
27
  data_hora_finalizacao?: 'desc' | 'asc';
28
+ v_total?: 'desc' | 'asc';
29
+ v_desconto?: 'desc' | 'asc';
30
+ v_frete?: 'desc' | 'asc';
31
+ v_seguro?: 'desc' | 'asc';
32
+ v_outros?: 'desc' | 'asc';
33
+ v_icms?: 'desc' | 'asc';
34
+ v_icms_st?: 'desc' | 'asc';
35
+ v_ipi?: 'desc' | 'asc';
36
+ v_pis?: 'desc' | 'asc';
37
+ v_cofins?: 'desc' | 'asc';
38
+ v_ii?: 'desc' | 'asc';
39
+ v_fcp?: 'desc' | 'asc';
40
+ v_difal_dest?: 'desc' | 'asc';
41
+ v_difal_rem?: 'desc' | 'asc';
42
+ v_tributos_total?: 'desc' | 'asc';
43
+ xml_original?: 'desc' | 'asc';
28
44
  };
@@ -27,6 +27,22 @@ export type operacao_select = {
27
27
  entidade_endereco?: number;
28
28
  empresa?: number;
29
29
  data_hora_finalizacao?: Date;
30
+ v_total?: number;
31
+ v_desconto?: number;
32
+ v_frete?: number;
33
+ v_seguro?: number;
34
+ v_outros?: number;
35
+ v_icms?: number;
36
+ v_icms_st?: number;
37
+ v_ipi?: number;
38
+ v_pis?: number;
39
+ v_cofins?: number;
40
+ v_ii?: number;
41
+ v_fcp?: number;
42
+ v_difal_dest?: number;
43
+ v_difal_rem?: number;
44
+ v_tributos_total?: number;
45
+ xml_original?: number;
30
46
  where: operacao_where;
31
47
  order?: operacao_order;
32
48
  };
@@ -26,5 +26,21 @@ export type operacao_update = {
26
26
  entidade_endereco?: number;
27
27
  empresa?: number;
28
28
  data_hora_finalizacao?: Date;
29
+ v_total?: number;
30
+ v_desconto?: number;
31
+ v_frete?: number;
32
+ v_seguro?: number;
33
+ v_outros?: number;
34
+ v_icms?: number;
35
+ v_icms_st?: number;
36
+ v_ipi?: number;
37
+ v_pis?: number;
38
+ v_cofins?: number;
39
+ v_ii?: number;
40
+ v_fcp?: number;
41
+ v_difal_dest?: number;
42
+ v_difal_rem?: number;
43
+ v_tributos_total?: number;
44
+ xml_original?: number;
29
45
  where: operacao_where;
30
46
  };
@@ -26,4 +26,20 @@ export type operacao_where = {
26
26
  entidade_endereco?: where_number | number;
27
27
  empresa?: where_number | number;
28
28
  data_hora_finalizacao?: where_date | Date;
29
+ v_total?: where_number | number;
30
+ v_desconto?: where_number | number;
31
+ v_frete?: where_number | number;
32
+ v_seguro?: where_number | number;
33
+ v_outros?: where_number | number;
34
+ v_icms?: where_number | number;
35
+ v_icms_st?: where_number | number;
36
+ v_ipi?: where_number | number;
37
+ v_pis?: where_number | number;
38
+ v_cofins?: where_number | number;
39
+ v_ii?: where_number | number;
40
+ v_fcp?: where_number | number;
41
+ v_difal_dest?: where_number | number;
42
+ v_difal_rem?: where_number | number;
43
+ v_tributos_total?: where_number | number;
44
+ xml_original?: where_number | number;
29
45
  };
@@ -1,37 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
- import marca from './marca';
4
- import categoria from './categoria';
5
- import atributo from './atributo';
6
- import operacao_item from './operacao_item';
7
- import entidade_cartao from './entidade_cartao';
8
- import empresa from './empresa';
9
3
  import item_variacao_imagem from './item_variacao_imagem';
10
4
  import item_variacao from './item_variacao';
11
- import item from './item';
12
- import operacao from './operacao';
5
+ import empresa from './empresa';
6
+ import categoria from './categoria';
13
7
  import usuario from './usuario';
14
8
  import operacao_pagamento from './operacao_pagamento';
15
9
  import entidade from './entidade';
16
- import entidade_endereco from './entidade_endereco';
10
+ import item from './item';
11
+ import operacao_item from './operacao_item';
12
+ import atributo from './atributo';
13
+ import entidade_cartao from './entidade_cartao';
17
14
  import item_variacao_atributo from './item_variacao_atributo';
15
+ import entidade_endereco from './entidade_endereco';
16
+ import operacao from './operacao';
17
+ import marca from './marca';
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
- marca: typeof marca;
22
- categoria: typeof categoria;
23
- atributo: typeof atributo;
24
- operacao_item: typeof operacao_item;
25
- entidade_cartao: typeof entidade_cartao;
26
- empresa: typeof empresa;
27
21
  item_variacao_imagem: typeof item_variacao_imagem;
28
22
  item_variacao: typeof item_variacao;
29
- item: typeof item;
30
- operacao: typeof operacao;
23
+ empresa: typeof empresa;
24
+ categoria: typeof categoria;
31
25
  usuario: typeof usuario;
32
26
  operacao_pagamento: typeof operacao_pagamento;
33
27
  entidade: typeof entidade;
34
- entidade_endereco: typeof entidade_endereco;
28
+ item: typeof item;
29
+ operacao_item: typeof operacao_item;
30
+ atributo: typeof atributo;
31
+ entidade_cartao: typeof entidade_cartao;
35
32
  item_variacao_atributo: typeof item_variacao_atributo;
33
+ entidade_endereco: typeof entidade_endereco;
34
+ operacao: typeof operacao;
35
+ marca: typeof marca;
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 marca_1 = __importDefault(require("./marca"));
8
- const categoria_1 = __importDefault(require("./categoria"));
9
- const atributo_1 = __importDefault(require("./atributo"));
10
- const operacao_item_1 = __importDefault(require("./operacao_item"));
11
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
12
- const empresa_1 = __importDefault(require("./empresa"));
13
7
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
14
8
  const item_variacao_1 = __importDefault(require("./item_variacao"));
15
- const item_1 = __importDefault(require("./item"));
16
- const operacao_1 = __importDefault(require("./operacao"));
9
+ const empresa_1 = __importDefault(require("./empresa"));
10
+ const categoria_1 = __importDefault(require("./categoria"));
17
11
  const usuario_1 = __importDefault(require("./usuario"));
18
12
  const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
19
13
  const entidade_1 = __importDefault(require("./entidade"));
20
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
14
+ const item_1 = __importDefault(require("./item"));
15
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
16
+ const atributo_1 = __importDefault(require("./atributo"));
17
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
21
18
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
19
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
20
+ const operacao_1 = __importDefault(require("./operacao"));
21
+ const marca_1 = __importDefault(require("./marca"));
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
- marca: marca_1.default,
30
- categoria: categoria_1.default,
31
- atributo: atributo_1.default,
32
- operacao_item: operacao_item_1.default,
33
- entidade_cartao: entidade_cartao_1.default,
34
- empresa: empresa_1.default,
35
29
  item_variacao_imagem: item_variacao_imagem_1.default,
36
30
  item_variacao: item_variacao_1.default,
37
- item: item_1.default,
38
- operacao: operacao_1.default,
31
+ empresa: empresa_1.default,
32
+ categoria: categoria_1.default,
39
33
  usuario: usuario_1.default,
40
34
  operacao_pagamento: operacao_pagamento_1.default,
41
35
  entidade: entidade_1.default,
36
+ item: item_1.default,
37
+ operacao_item: operacao_item_1.default,
38
+ atributo: atributo_1.default,
39
+ entidade_cartao: entidade_cartao_1.default,
40
+ item_variacao_atributo: item_variacao_atributo_1.default,
42
41
  entidade_endereco: entidade_endereco_1.default,
43
- item_variacao_atributo: item_variacao_atributo_1.default
42
+ operacao: operacao_1.default,
43
+ marca: marca_1.default
44
44
  };
@@ -540,6 +540,28 @@ exports.default = {
540
540
  "fk_table": null,
541
541
  "fk_reference": null,
542
542
  "pk": false
543
+ },
544
+ {
545
+ "name": "regime_fiscal",
546
+ "value": {
547
+ "type": "character varying",
548
+ "is_null": "YES",
549
+ "maxlength": null
550
+ },
551
+ "fk_table": null,
552
+ "fk_reference": null,
553
+ "pk": false
554
+ },
555
+ {
556
+ "name": "razao_social",
557
+ "value": {
558
+ "type": "character varying",
559
+ "is_null": "YES",
560
+ "maxlength": null
561
+ },
562
+ "fk_table": null,
563
+ "fk_reference": null,
564
+ "pk": false
543
565
  }
544
566
  ],
545
567
  "fathers": [],
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- marca: {
2
+ item_variacao_imagem: {
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,9 +32,10 @@ declare const _default: {
33
32
  fk_reference: string;
34
33
  pk: boolean;
35
34
  }[];
35
+ childrens: never[];
36
36
  name: string;
37
37
  };
38
- categoria: {
38
+ item_variacao: {
39
39
  columns: ({
40
40
  name: string;
41
41
  value: {
@@ -57,8 +57,7 @@ declare const _default: {
57
57
  fk_reference: null;
58
58
  pk: boolean;
59
59
  })[];
60
- fathers: never[];
61
- childrens: {
60
+ fathers: {
62
61
  name: string;
63
62
  value: {
64
63
  type: string;
@@ -69,31 +68,6 @@ declare const _default: {
69
68
  fk_reference: string;
70
69
  pk: boolean;
71
70
  }[];
72
- name: string;
73
- };
74
- atributo: {
75
- columns: ({
76
- name: string;
77
- value: {
78
- type: string;
79
- is_null: string;
80
- maxlength: null;
81
- };
82
- fk_table: string;
83
- fk_reference: string;
84
- pk: boolean;
85
- } | {
86
- name: string;
87
- value: {
88
- type: string;
89
- is_null: string;
90
- maxlength: null;
91
- };
92
- fk_table: null;
93
- fk_reference: null;
94
- pk: boolean;
95
- })[];
96
- fathers: never[];
97
71
  childrens: {
98
72
  name: string;
99
73
  value: {
@@ -107,7 +81,7 @@ declare const _default: {
107
81
  }[];
108
82
  name: string;
109
83
  };
110
- operacao_item: {
84
+ empresa: {
111
85
  columns: ({
112
86
  name: string;
113
87
  value: {
@@ -129,21 +103,11 @@ declare const _default: {
129
103
  fk_reference: null;
130
104
  pk: boolean;
131
105
  })[];
132
- fathers: {
133
- name: string;
134
- value: {
135
- type: string;
136
- is_null: string;
137
- maxlength: null;
138
- };
139
- fk_table: string;
140
- fk_reference: string;
141
- pk: boolean;
142
- }[];
106
+ fathers: never[];
143
107
  childrens: never[];
144
108
  name: string;
145
109
  };
146
- entidade_cartao: {
110
+ categoria: {
147
111
  columns: ({
148
112
  name: string;
149
113
  value: {
@@ -165,17 +129,7 @@ declare const _default: {
165
129
  fk_reference: null;
166
130
  pk: boolean;
167
131
  })[];
168
- fathers: {
169
- name: string;
170
- value: {
171
- type: string;
172
- is_null: string;
173
- maxlength: null;
174
- };
175
- fk_table: string;
176
- fk_reference: string;
177
- pk: boolean;
178
- }[];
132
+ fathers: never[];
179
133
  childrens: {
180
134
  name: string;
181
135
  value: {
@@ -189,7 +143,7 @@ declare const _default: {
189
143
  }[];
190
144
  name: string;
191
145
  };
192
- empresa: {
146
+ usuario: {
193
147
  columns: ({
194
148
  name: string;
195
149
  value: {
@@ -215,7 +169,7 @@ declare const _default: {
215
169
  childrens: never[];
216
170
  name: string;
217
171
  };
218
- item_variacao_imagem: {
172
+ operacao_pagamento: {
219
173
  columns: ({
220
174
  name: string;
221
175
  value: {
@@ -251,7 +205,7 @@ declare const _default: {
251
205
  childrens: never[];
252
206
  name: string;
253
207
  };
254
- item_variacao: {
208
+ entidade: {
255
209
  columns: ({
256
210
  name: string;
257
211
  value: {
@@ -273,17 +227,7 @@ declare const _default: {
273
227
  fk_reference: null;
274
228
  pk: boolean;
275
229
  })[];
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
- }[];
230
+ fathers: never[];
287
231
  childrens: {
288
232
  name: string;
289
233
  value: {
@@ -343,7 +287,7 @@ declare const _default: {
343
287
  }[];
344
288
  name: string;
345
289
  };
346
- operacao: {
290
+ operacao_item: {
347
291
  columns: ({
348
292
  name: string;
349
293
  value: {
@@ -376,6 +320,32 @@ declare const _default: {
376
320
  fk_reference: string;
377
321
  pk: boolean;
378
322
  }[];
323
+ childrens: never[];
324
+ name: string;
325
+ };
326
+ atributo: {
327
+ columns: ({
328
+ name: string;
329
+ value: {
330
+ type: string;
331
+ is_null: string;
332
+ maxlength: null;
333
+ };
334
+ fk_table: string;
335
+ fk_reference: string;
336
+ pk: boolean;
337
+ } | {
338
+ name: string;
339
+ value: {
340
+ type: string;
341
+ is_null: string;
342
+ maxlength: null;
343
+ };
344
+ fk_table: null;
345
+ fk_reference: null;
346
+ pk: boolean;
347
+ })[];
348
+ fathers: never[];
379
349
  childrens: {
380
350
  name: string;
381
351
  value: {
@@ -389,7 +359,7 @@ declare const _default: {
389
359
  }[];
390
360
  name: string;
391
361
  };
392
- usuario: {
362
+ entidade_cartao: {
393
363
  columns: ({
394
364
  name: string;
395
365
  value: {
@@ -411,12 +381,7 @@ declare const _default: {
411
381
  fk_reference: null;
412
382
  pk: boolean;
413
383
  })[];
414
- fathers: never[];
415
- childrens: never[];
416
- name: string;
417
- };
418
- operacao_pagamento: {
419
- columns: ({
384
+ fathers: {
420
385
  name: string;
421
386
  value: {
422
387
  type: string;
@@ -426,17 +391,32 @@ declare const _default: {
426
391
  fk_table: string;
427
392
  fk_reference: string;
428
393
  pk: boolean;
429
- } | {
394
+ }[];
395
+ childrens: {
430
396
  name: string;
431
397
  value: {
432
398
  type: string;
433
399
  is_null: string;
434
400
  maxlength: null;
435
401
  };
436
- fk_table: null;
437
- fk_reference: null;
402
+ fk_table: string;
403
+ fk_reference: string;
438
404
  pk: boolean;
439
- })[];
405
+ }[];
406
+ name: string;
407
+ };
408
+ item_variacao_atributo: {
409
+ columns: {
410
+ name: string;
411
+ value: {
412
+ type: string;
413
+ is_null: string;
414
+ maxlength: null;
415
+ };
416
+ fk_table: string;
417
+ fk_reference: string;
418
+ pk: boolean;
419
+ }[];
440
420
  fathers: {
441
421
  name: string;
442
422
  value: {
@@ -451,7 +431,7 @@ declare const _default: {
451
431
  childrens: never[];
452
432
  name: string;
453
433
  };
454
- entidade: {
434
+ entidade_endereco: {
455
435
  columns: ({
456
436
  name: string;
457
437
  value: {
@@ -473,7 +453,17 @@ declare const _default: {
473
453
  fk_reference: null;
474
454
  pk: boolean;
475
455
  })[];
476
- fathers: never[];
456
+ fathers: {
457
+ name: string;
458
+ value: {
459
+ type: string;
460
+ is_null: string;
461
+ maxlength: null;
462
+ };
463
+ fk_table: string;
464
+ fk_reference: string;
465
+ pk: boolean;
466
+ }[];
477
467
  childrens: {
478
468
  name: string;
479
469
  value: {
@@ -487,7 +477,7 @@ declare const _default: {
487
477
  }[];
488
478
  name: string;
489
479
  };
490
- entidade_endereco: {
480
+ operacao: {
491
481
  columns: ({
492
482
  name: string;
493
483
  value: {
@@ -533,8 +523,8 @@ declare const _default: {
533
523
  }[];
534
524
  name: string;
535
525
  };
536
- item_variacao_atributo: {
537
- columns: {
526
+ marca: {
527
+ columns: ({
538
528
  name: string;
539
529
  value: {
540
530
  type: string;
@@ -544,8 +534,19 @@ declare const _default: {
544
534
  fk_table: string;
545
535
  fk_reference: string;
546
536
  pk: boolean;
547
- }[];
548
- fathers: {
537
+ } | {
538
+ name: string;
539
+ value: {
540
+ type: string;
541
+ is_null: string;
542
+ maxlength: null;
543
+ };
544
+ fk_table: null;
545
+ fk_reference: null;
546
+ pk: boolean;
547
+ })[];
548
+ fathers: never[];
549
+ childrens: {
549
550
  name: string;
550
551
  value: {
551
552
  type: string;
@@ -556,7 +557,6 @@ declare const _default: {
556
557
  fk_reference: string;
557
558
  pk: boolean;
558
559
  }[];
559
- childrens: never[];
560
560
  name: string;
561
561
  };
562
562
  };
@@ -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 marca_1 = __importDefault(require("./marca"));
7
- const categoria_1 = __importDefault(require("./categoria"));
8
- const atributo_1 = __importDefault(require("./atributo"));
9
- const operacao_item_1 = __importDefault(require("./operacao_item"));
10
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
11
- const empresa_1 = __importDefault(require("./empresa"));
12
6
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
13
7
  const item_variacao_1 = __importDefault(require("./item_variacao"));
14
- const item_1 = __importDefault(require("./item"));
15
- const operacao_1 = __importDefault(require("./operacao"));
8
+ const empresa_1 = __importDefault(require("./empresa"));
9
+ const categoria_1 = __importDefault(require("./categoria"));
16
10
  const usuario_1 = __importDefault(require("./usuario"));
17
11
  const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
18
12
  const entidade_1 = __importDefault(require("./entidade"));
19
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
13
+ const item_1 = __importDefault(require("./item"));
14
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
15
+ const atributo_1 = __importDefault(require("./atributo"));
16
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
20
17
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
18
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
19
+ const operacao_1 = __importDefault(require("./operacao"));
20
+ const marca_1 = __importDefault(require("./marca"));
21
21
  exports.default = {
22
- marca: marca_1.default,
23
- categoria: categoria_1.default,
24
- atributo: atributo_1.default,
25
- operacao_item: operacao_item_1.default,
26
- entidade_cartao: entidade_cartao_1.default,
27
- empresa: empresa_1.default,
28
22
  item_variacao_imagem: item_variacao_imagem_1.default,
29
23
  item_variacao: item_variacao_1.default,
30
- item: item_1.default,
31
- operacao: operacao_1.default,
24
+ empresa: empresa_1.default,
25
+ categoria: categoria_1.default,
32
26
  usuario: usuario_1.default,
33
27
  operacao_pagamento: operacao_pagamento_1.default,
34
28
  entidade: entidade_1.default,
29
+ item: item_1.default,
30
+ operacao_item: operacao_item_1.default,
31
+ atributo: atributo_1.default,
32
+ entidade_cartao: entidade_cartao_1.default,
33
+ item_variacao_atributo: item_variacao_atributo_1.default,
35
34
  entidade_endereco: entidade_endereco_1.default,
36
- item_variacao_atributo: item_variacao_atributo_1.default
35
+ operacao: operacao_1.default,
36
+ marca: marca_1.default
37
37
  };
@@ -287,6 +287,182 @@ exports.default = {
287
287
  "fk_table": null,
288
288
  "fk_reference": null,
289
289
  "pk": false
290
+ },
291
+ {
292
+ "name": "v_total",
293
+ "value": {
294
+ "type": "numeric",
295
+ "is_null": "YES",
296
+ "maxlength": null
297
+ },
298
+ "fk_table": null,
299
+ "fk_reference": null,
300
+ "pk": false
301
+ },
302
+ {
303
+ "name": "v_desconto",
304
+ "value": {
305
+ "type": "numeric",
306
+ "is_null": "YES",
307
+ "maxlength": null
308
+ },
309
+ "fk_table": null,
310
+ "fk_reference": null,
311
+ "pk": false
312
+ },
313
+ {
314
+ "name": "v_frete",
315
+ "value": {
316
+ "type": "numeric",
317
+ "is_null": "YES",
318
+ "maxlength": null
319
+ },
320
+ "fk_table": null,
321
+ "fk_reference": null,
322
+ "pk": false
323
+ },
324
+ {
325
+ "name": "v_seguro",
326
+ "value": {
327
+ "type": "numeric",
328
+ "is_null": "YES",
329
+ "maxlength": null
330
+ },
331
+ "fk_table": null,
332
+ "fk_reference": null,
333
+ "pk": false
334
+ },
335
+ {
336
+ "name": "v_outros",
337
+ "value": {
338
+ "type": "numeric",
339
+ "is_null": "YES",
340
+ "maxlength": null
341
+ },
342
+ "fk_table": null,
343
+ "fk_reference": null,
344
+ "pk": false
345
+ },
346
+ {
347
+ "name": "v_icms",
348
+ "value": {
349
+ "type": "numeric",
350
+ "is_null": "YES",
351
+ "maxlength": null
352
+ },
353
+ "fk_table": null,
354
+ "fk_reference": null,
355
+ "pk": false
356
+ },
357
+ {
358
+ "name": "v_icms_st",
359
+ "value": {
360
+ "type": "numeric",
361
+ "is_null": "YES",
362
+ "maxlength": null
363
+ },
364
+ "fk_table": null,
365
+ "fk_reference": null,
366
+ "pk": false
367
+ },
368
+ {
369
+ "name": "v_ipi",
370
+ "value": {
371
+ "type": "numeric",
372
+ "is_null": "YES",
373
+ "maxlength": null
374
+ },
375
+ "fk_table": null,
376
+ "fk_reference": null,
377
+ "pk": false
378
+ },
379
+ {
380
+ "name": "v_pis",
381
+ "value": {
382
+ "type": "numeric",
383
+ "is_null": "YES",
384
+ "maxlength": null
385
+ },
386
+ "fk_table": null,
387
+ "fk_reference": null,
388
+ "pk": false
389
+ },
390
+ {
391
+ "name": "v_cofins",
392
+ "value": {
393
+ "type": "numeric",
394
+ "is_null": "YES",
395
+ "maxlength": null
396
+ },
397
+ "fk_table": null,
398
+ "fk_reference": null,
399
+ "pk": false
400
+ },
401
+ {
402
+ "name": "v_ii",
403
+ "value": {
404
+ "type": "numeric",
405
+ "is_null": "YES",
406
+ "maxlength": null
407
+ },
408
+ "fk_table": null,
409
+ "fk_reference": null,
410
+ "pk": false
411
+ },
412
+ {
413
+ "name": "v_fcp",
414
+ "value": {
415
+ "type": "numeric",
416
+ "is_null": "YES",
417
+ "maxlength": null
418
+ },
419
+ "fk_table": null,
420
+ "fk_reference": null,
421
+ "pk": false
422
+ },
423
+ {
424
+ "name": "v_difal_dest",
425
+ "value": {
426
+ "type": "numeric",
427
+ "is_null": "YES",
428
+ "maxlength": null
429
+ },
430
+ "fk_table": null,
431
+ "fk_reference": null,
432
+ "pk": false
433
+ },
434
+ {
435
+ "name": "v_difal_rem",
436
+ "value": {
437
+ "type": "numeric",
438
+ "is_null": "YES",
439
+ "maxlength": null
440
+ },
441
+ "fk_table": null,
442
+ "fk_reference": null,
443
+ "pk": false
444
+ },
445
+ {
446
+ "name": "v_tributos_total",
447
+ "value": {
448
+ "type": "numeric",
449
+ "is_null": "YES",
450
+ "maxlength": null
451
+ },
452
+ "fk_table": null,
453
+ "fk_reference": null,
454
+ "pk": false
455
+ },
456
+ {
457
+ "name": "xml_original",
458
+ "value": {
459
+ "type": "numeric",
460
+ "is_null": "YES",
461
+ "maxlength": null
462
+ },
463
+ "fk_table": null,
464
+ "fk_reference": null,
465
+ "pk": false
290
466
  }
291
467
  ],
292
468
  "fathers": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",