pg-manipulator 1.0.54 → 1.0.56

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.
@@ -38,4 +38,7 @@ export type empresa_fields = {
38
38
  favicon?: string;
39
39
  politica?: string;
40
40
  termos?: string;
41
+ cor_principal?: string;
42
+ cor_secundaria?: string;
43
+ usuario?: number;
41
44
  };
@@ -38,4 +38,7 @@ export type empresa_order = {
38
38
  favicon?: 'desc' | 'asc';
39
39
  politica?: 'desc' | 'asc';
40
40
  termos?: 'desc' | 'asc';
41
+ cor_principal?: 'desc' | 'asc';
42
+ cor_secundaria?: 'desc' | 'asc';
43
+ usuario?: 'desc' | 'asc';
41
44
  };
@@ -40,6 +40,9 @@ export type empresa_select = {
40
40
  favicon?: string;
41
41
  politica?: string;
42
42
  termos?: string;
43
+ cor_principal?: string;
44
+ cor_secundaria?: string;
45
+ usuario?: number;
43
46
  where: empresa_where;
44
47
  order?: empresa_order;
45
48
  };
@@ -39,5 +39,8 @@ export type empresa_update = {
39
39
  favicon?: string;
40
40
  politica?: string;
41
41
  termos?: string;
42
+ cor_principal?: string;
43
+ cor_secundaria?: string;
44
+ usuario?: number;
42
45
  where: empresa_where;
43
46
  };
@@ -39,4 +39,7 @@ export type empresa_where = {
39
39
  favicon?: where_string | string;
40
40
  politica?: where_string | string;
41
41
  termos?: where_string | string;
42
+ cor_principal?: where_string | string;
43
+ cor_secundaria?: where_string | string;
44
+ usuario?: where_number | number;
42
45
  };
@@ -9,4 +9,5 @@ export type entidade_fields = {
9
9
  is_transportadora?: boolean;
10
10
  is_cliente?: boolean;
11
11
  id_externo?: string;
12
+ ultimo_acesso?: Date;
12
13
  };
@@ -9,4 +9,5 @@ export type entidade_order = {
9
9
  is_transportadora?: 'desc' | 'asc';
10
10
  is_cliente?: 'desc' | 'asc';
11
11
  id_externo?: 'desc' | 'asc';
12
+ ultimo_acesso?: 'desc' | 'asc';
12
13
  };
@@ -11,6 +11,7 @@ export type entidade_select = {
11
11
  is_transportadora?: boolean;
12
12
  is_cliente?: boolean;
13
13
  id_externo?: string;
14
+ ultimo_acesso?: Date;
14
15
  where: entidade_where;
15
16
  order?: entidade_order;
16
17
  };
@@ -10,5 +10,6 @@ export type entidade_update = {
10
10
  is_transportadora?: boolean;
11
11
  is_cliente?: boolean;
12
12
  id_externo?: string;
13
+ ultimo_acesso?: Date;
13
14
  where: entidade_where;
14
15
  };
@@ -1,4 +1,4 @@
1
- import { where_number, where_string, where_boolean } from '../';
1
+ import { where_number, where_string, where_boolean, where_date } from '../';
2
2
  export type entidade_where = {
3
3
  id?: where_number | number;
4
4
  nome?: where_string | string;
@@ -10,4 +10,5 @@ export type entidade_where = {
10
10
  is_transportadora?: where_boolean | boolean;
11
11
  is_cliente?: where_boolean | boolean;
12
12
  id_externo?: where_string | string;
13
+ ultimo_acesso?: where_date | Date;
13
14
  };
@@ -21,4 +21,5 @@ export type item_fields = {
21
21
  ativo?: boolean;
22
22
  cfopi: string;
23
23
  cfope: string;
24
+ destaque?: boolean;
24
25
  };
@@ -21,4 +21,5 @@ export type item_order = {
21
21
  ativo?: 'desc' | 'asc';
22
22
  cfopi?: 'desc' | 'asc';
23
23
  cfope?: 'desc' | 'asc';
24
+ destaque?: 'desc' | 'asc';
24
25
  };
@@ -23,6 +23,7 @@ export type item_select = {
23
23
  ativo?: boolean;
24
24
  cfopi?: string;
25
25
  cfope?: string;
26
+ destaque?: boolean;
26
27
  where: item_where;
27
28
  order?: item_order;
28
29
  };
@@ -22,5 +22,6 @@ export type item_update = {
22
22
  ativo?: boolean;
23
23
  cfopi?: string;
24
24
  cfope?: string;
25
+ destaque?: boolean;
25
26
  where: item_where;
26
27
  };
@@ -22,4 +22,5 @@ export type item_where = {
22
22
  ativo?: where_boolean | boolean;
23
23
  cfopi?: where_string | string;
24
24
  cfope?: where_string | string;
25
+ destaque?: where_boolean | boolean;
25
26
  };
@@ -5,4 +5,5 @@ export type operacao_pagamento_fields = {
5
5
  tipo: string;
6
6
  valor: number;
7
7
  txid?: string;
8
+ br_code?: string;
8
9
  };
@@ -5,4 +5,5 @@ export type operacao_pagamento_order = {
5
5
  tipo?: 'desc' | 'asc';
6
6
  valor?: 'desc' | 'asc';
7
7
  txid?: 'desc' | 'asc';
8
+ br_code?: 'desc' | 'asc';
8
9
  };
@@ -7,6 +7,7 @@ export type operacao_pagamento_select = {
7
7
  tipo?: string;
8
8
  valor?: number;
9
9
  txid?: string;
10
+ br_code?: string;
10
11
  where: operacao_pagamento_where;
11
12
  order?: operacao_pagamento_order;
12
13
  };
@@ -6,5 +6,6 @@ export type operacao_pagamento_update = {
6
6
  tipo?: string;
7
7
  valor?: number;
8
8
  txid?: string;
9
+ br_code?: string;
9
10
  where: operacao_pagamento_where;
10
11
  };
@@ -6,4 +6,5 @@ export type operacao_pagamento_where = {
6
6
  tipo?: where_string | string;
7
7
  valor?: where_number | number;
8
8
  txid?: where_string | string;
9
+ br_code?: where_string | string;
9
10
  };
@@ -1,37 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
- import operacao from './operacao';
4
- import usuario from './usuario';
5
- import operacao_pagamento from './operacao_pagamento';
3
+ import atributo from './atributo';
6
4
  import item_variacao_atributo from './item_variacao_atributo';
5
+ import entidade_endereco from './entidade_endereco';
6
+ import operacao_pagamento from './operacao_pagamento';
7
+ import entidade from './entidade';
8
+ import usuario from './usuario';
9
+ import entidade_cartao from './entidade_cartao';
7
10
  import item from './item';
11
+ import item_variacao from './item_variacao';
8
12
  import categoria from './categoria';
9
- import entidade_cartao from './entidade_cartao';
10
- import entidade_endereco from './entidade_endereco';
13
+ import item_variacao_imagem from './item_variacao_imagem';
11
14
  import operacao_item from './operacao_item';
12
- import atributo from './atributo';
13
15
  import marca from './marca';
14
- import item_variacao from './item_variacao';
15
- import item_variacao_imagem from './item_variacao_imagem';
16
- import entidade from './entidade';
17
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
- operacao: typeof operacao;
22
- usuario: typeof usuario;
23
- operacao_pagamento: typeof operacao_pagamento;
21
+ atributo: typeof atributo;
24
22
  item_variacao_atributo: typeof item_variacao_atributo;
23
+ entidade_endereco: typeof entidade_endereco;
24
+ operacao_pagamento: typeof operacao_pagamento;
25
+ entidade: typeof entidade;
26
+ usuario: typeof usuario;
27
+ entidade_cartao: typeof entidade_cartao;
25
28
  item: typeof item;
29
+ item_variacao: typeof item_variacao;
26
30
  categoria: typeof categoria;
27
- entidade_cartao: typeof entidade_cartao;
28
- entidade_endereco: typeof entidade_endereco;
31
+ item_variacao_imagem: typeof item_variacao_imagem;
29
32
  operacao_item: typeof operacao_item;
30
- atributo: typeof atributo;
31
33
  marca: typeof marca;
32
- item_variacao: typeof item_variacao;
33
- item_variacao_imagem: typeof item_variacao_imagem;
34
- entidade: typeof entidade;
35
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 operacao_1 = __importDefault(require("./operacao"));
8
- const usuario_1 = __importDefault(require("./usuario"));
9
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
7
+ const atributo_1 = __importDefault(require("./atributo"));
10
8
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
9
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
10
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
11
+ const entidade_1 = __importDefault(require("./entidade"));
12
+ const usuario_1 = __importDefault(require("./usuario"));
13
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
11
14
  const item_1 = __importDefault(require("./item"));
15
+ const item_variacao_1 = __importDefault(require("./item_variacao"));
12
16
  const categoria_1 = __importDefault(require("./categoria"));
13
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
14
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
17
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
15
18
  const operacao_item_1 = __importDefault(require("./operacao_item"));
16
- const atributo_1 = __importDefault(require("./atributo"));
17
19
  const marca_1 = __importDefault(require("./marca"));
18
- const item_variacao_1 = __importDefault(require("./item_variacao"));
19
- const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
20
- const entidade_1 = __importDefault(require("./entidade"));
21
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
- operacao: operacao_1.default,
30
- usuario: usuario_1.default,
31
- operacao_pagamento: operacao_pagamento_1.default,
29
+ atributo: atributo_1.default,
32
30
  item_variacao_atributo: item_variacao_atributo_1.default,
31
+ entidade_endereco: entidade_endereco_1.default,
32
+ operacao_pagamento: operacao_pagamento_1.default,
33
+ entidade: entidade_1.default,
34
+ usuario: usuario_1.default,
35
+ entidade_cartao: entidade_cartao_1.default,
33
36
  item: item_1.default,
37
+ item_variacao: item_variacao_1.default,
34
38
  categoria: categoria_1.default,
35
- entidade_cartao: entidade_cartao_1.default,
36
- entidade_endereco: entidade_endereco_1.default,
39
+ item_variacao_imagem: item_variacao_imagem_1.default,
37
40
  operacao_item: operacao_item_1.default,
38
- atributo: atributo_1.default,
39
41
  marca: marca_1.default,
40
- item_variacao: item_variacao_1.default,
41
- item_variacao_imagem: item_variacao_imagem_1.default,
42
- entidade: entidade_1.default,
43
- empresa: empresa_1.default
42
+ empresa: empresa_1.default,
43
+ operacao: operacao_1.default
44
44
  };
@@ -430,6 +430,39 @@ exports.default = {
430
430
  "fk_table": null,
431
431
  "fk_reference": null,
432
432
  "pk": false
433
+ },
434
+ {
435
+ "name": "cor_principal",
436
+ "value": {
437
+ "type": "character varying",
438
+ "is_null": "YES",
439
+ "maxlength": null
440
+ },
441
+ "fk_table": null,
442
+ "fk_reference": null,
443
+ "pk": false
444
+ },
445
+ {
446
+ "name": "cor_secundaria",
447
+ "value": {
448
+ "type": "character varying",
449
+ "is_null": "YES",
450
+ "maxlength": null
451
+ },
452
+ "fk_table": null,
453
+ "fk_reference": null,
454
+ "pk": false
455
+ },
456
+ {
457
+ "name": "usuario",
458
+ "value": {
459
+ "type": "integer",
460
+ "is_null": "YES",
461
+ "maxlength": null
462
+ },
463
+ "fk_table": null,
464
+ "fk_reference": null,
465
+ "pk": false
433
466
  }
434
467
  ],
435
468
  "fathers": [],
@@ -111,6 +111,17 @@ exports.default = {
111
111
  "fk_table": null,
112
112
  "fk_reference": null,
113
113
  "pk": false
114
+ },
115
+ {
116
+ "name": "ultimo_acesso",
117
+ "value": {
118
+ "type": "timestamp without time zone",
119
+ "is_null": "YES",
120
+ "maxlength": null
121
+ },
122
+ "fk_table": null,
123
+ "fk_reference": null,
124
+ "pk": false
114
125
  }
115
126
  ],
116
127
  "fathers": [],
@@ -138,10 +149,10 @@ exports.default = {
138
149
  "pk": false
139
150
  },
140
151
  {
141
- "name": "transportadora",
152
+ "name": "id_entidade",
142
153
  "value": {
143
154
  "type": "integer",
144
- "is_null": "YES",
155
+ "is_null": "NO",
145
156
  "maxlength": null
146
157
  },
147
158
  "fk_table": "entidade",
@@ -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",
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- operacao: {
2
+ atributo: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -21,17 +21,7 @@ declare const _default: {
21
21
  fk_reference: null;
22
22
  pk: boolean;
23
23
  })[];
24
- fathers: {
25
- name: string;
26
- value: {
27
- type: string;
28
- is_null: string;
29
- maxlength: null;
30
- };
31
- fk_table: string;
32
- fk_reference: string;
33
- pk: boolean;
34
- }[];
24
+ fathers: never[];
35
25
  childrens: {
36
26
  name: string;
37
27
  value: {
@@ -45,8 +35,8 @@ declare const _default: {
45
35
  }[];
46
36
  name: string;
47
37
  };
48
- usuario: {
49
- columns: ({
38
+ item_variacao_atributo: {
39
+ columns: {
50
40
  name: string;
51
41
  value: {
52
42
  type: string;
@@ -56,22 +46,22 @@ declare const _default: {
56
46
  fk_table: string;
57
47
  fk_reference: string;
58
48
  pk: boolean;
59
- } | {
49
+ }[];
50
+ fathers: {
60
51
  name: string;
61
52
  value: {
62
53
  type: string;
63
54
  is_null: string;
64
55
  maxlength: null;
65
56
  };
66
- fk_table: null;
67
- fk_reference: null;
57
+ fk_table: string;
58
+ fk_reference: string;
68
59
  pk: boolean;
69
- })[];
70
- fathers: never[];
60
+ }[];
71
61
  childrens: never[];
72
62
  name: string;
73
63
  };
74
- operacao_pagamento: {
64
+ entidade_endereco: {
75
65
  columns: ({
76
66
  name: string;
77
67
  value: {
@@ -104,11 +94,21 @@ declare const _default: {
104
94
  fk_reference: string;
105
95
  pk: boolean;
106
96
  }[];
107
- childrens: never[];
97
+ childrens: {
98
+ name: string;
99
+ value: {
100
+ type: string;
101
+ is_null: string;
102
+ maxlength: null;
103
+ };
104
+ fk_table: string;
105
+ fk_reference: string;
106
+ pk: boolean;
107
+ }[];
108
108
  name: string;
109
109
  };
110
- item_variacao_atributo: {
111
- columns: {
110
+ operacao_pagamento: {
111
+ columns: ({
112
112
  name: string;
113
113
  value: {
114
114
  type: string;
@@ -118,7 +118,17 @@ declare const _default: {
118
118
  fk_table: string;
119
119
  fk_reference: string;
120
120
  pk: boolean;
121
- }[];
121
+ } | {
122
+ name: string;
123
+ value: {
124
+ type: string;
125
+ is_null: string;
126
+ maxlength: null;
127
+ };
128
+ fk_table: null;
129
+ fk_reference: null;
130
+ pk: boolean;
131
+ })[];
122
132
  fathers: {
123
133
  name: string;
124
134
  value: {
@@ -133,7 +143,7 @@ declare const _default: {
133
143
  childrens: never[];
134
144
  name: string;
135
145
  };
136
- item: {
146
+ entidade: {
137
147
  columns: ({
138
148
  name: string;
139
149
  value: {
@@ -155,17 +165,7 @@ declare const _default: {
155
165
  fk_reference: null;
156
166
  pk: boolean;
157
167
  })[];
158
- fathers: {
159
- name: string;
160
- value: {
161
- type: string;
162
- is_null: string;
163
- maxlength: null;
164
- };
165
- fk_table: string;
166
- fk_reference: string;
167
- pk: boolean;
168
- }[];
168
+ fathers: never[];
169
169
  childrens: {
170
170
  name: string;
171
171
  value: {
@@ -179,7 +179,7 @@ declare const _default: {
179
179
  }[];
180
180
  name: string;
181
181
  };
182
- categoria: {
182
+ usuario: {
183
183
  columns: ({
184
184
  name: string;
185
185
  value: {
@@ -202,17 +202,7 @@ declare const _default: {
202
202
  pk: boolean;
203
203
  })[];
204
204
  fathers: never[];
205
- childrens: {
206
- name: string;
207
- value: {
208
- type: string;
209
- is_null: string;
210
- maxlength: null;
211
- };
212
- fk_table: string;
213
- fk_reference: string;
214
- pk: boolean;
215
- }[];
205
+ childrens: never[];
216
206
  name: string;
217
207
  };
218
208
  entidade_cartao: {
@@ -261,7 +251,7 @@ declare const _default: {
261
251
  }[];
262
252
  name: string;
263
253
  };
264
- entidade_endereco: {
254
+ item: {
265
255
  columns: ({
266
256
  name: string;
267
257
  value: {
@@ -307,7 +297,7 @@ declare const _default: {
307
297
  }[];
308
298
  name: string;
309
299
  };
310
- operacao_item: {
300
+ item_variacao: {
311
301
  columns: ({
312
302
  name: string;
313
303
  value: {
@@ -340,10 +330,20 @@ declare const _default: {
340
330
  fk_reference: string;
341
331
  pk: boolean;
342
332
  }[];
343
- childrens: never[];
333
+ childrens: {
334
+ name: string;
335
+ value: {
336
+ type: string;
337
+ is_null: string;
338
+ maxlength: null;
339
+ };
340
+ fk_table: string;
341
+ fk_reference: string;
342
+ pk: boolean;
343
+ }[];
344
344
  name: string;
345
345
  };
346
- atributo: {
346
+ categoria: {
347
347
  columns: ({
348
348
  name: string;
349
349
  value: {
@@ -379,7 +379,7 @@ declare const _default: {
379
379
  }[];
380
380
  name: string;
381
381
  };
382
- marca: {
382
+ item_variacao_imagem: {
383
383
  columns: ({
384
384
  name: string;
385
385
  value: {
@@ -401,8 +401,7 @@ declare const _default: {
401
401
  fk_reference: null;
402
402
  pk: boolean;
403
403
  })[];
404
- fathers: never[];
405
- childrens: {
404
+ fathers: {
406
405
  name: string;
407
406
  value: {
408
407
  type: string;
@@ -413,9 +412,10 @@ declare const _default: {
413
412
  fk_reference: string;
414
413
  pk: boolean;
415
414
  }[];
415
+ childrens: never[];
416
416
  name: string;
417
417
  };
418
- item_variacao: {
418
+ operacao_item: {
419
419
  columns: ({
420
420
  name: string;
421
421
  value: {
@@ -448,20 +448,10 @@ declare const _default: {
448
448
  fk_reference: string;
449
449
  pk: boolean;
450
450
  }[];
451
- childrens: {
452
- name: string;
453
- value: {
454
- type: string;
455
- is_null: string;
456
- maxlength: null;
457
- };
458
- fk_table: string;
459
- fk_reference: string;
460
- pk: boolean;
461
- }[];
451
+ childrens: never[];
462
452
  name: string;
463
453
  };
464
- item_variacao_imagem: {
454
+ marca: {
465
455
  columns: ({
466
456
  name: string;
467
457
  value: {
@@ -483,7 +473,8 @@ declare const _default: {
483
473
  fk_reference: null;
484
474
  pk: boolean;
485
475
  })[];
486
- fathers: {
476
+ fathers: never[];
477
+ childrens: {
487
478
  name: string;
488
479
  value: {
489
480
  type: string;
@@ -494,10 +485,9 @@ declare const _default: {
494
485
  fk_reference: string;
495
486
  pk: boolean;
496
487
  }[];
497
- childrens: never[];
498
488
  name: string;
499
489
  };
500
- entidade: {
490
+ empresa: {
501
491
  columns: ({
502
492
  name: string;
503
493
  value: {
@@ -520,7 +510,11 @@ declare const _default: {
520
510
  pk: boolean;
521
511
  })[];
522
512
  fathers: never[];
523
- childrens: {
513
+ childrens: never[];
514
+ name: string;
515
+ };
516
+ operacao: {
517
+ columns: ({
524
518
  name: string;
525
519
  value: {
526
520
  type: string;
@@ -530,11 +524,18 @@ declare const _default: {
530
524
  fk_table: string;
531
525
  fk_reference: string;
532
526
  pk: boolean;
533
- }[];
534
- name: string;
535
- };
536
- empresa: {
537
- columns: ({
527
+ } | {
528
+ name: string;
529
+ value: {
530
+ type: string;
531
+ is_null: string;
532
+ maxlength: null;
533
+ };
534
+ fk_table: null;
535
+ fk_reference: null;
536
+ pk: boolean;
537
+ })[];
538
+ fathers: {
538
539
  name: string;
539
540
  value: {
540
541
  type: string;
@@ -544,19 +545,18 @@ declare const _default: {
544
545
  fk_table: string;
545
546
  fk_reference: string;
546
547
  pk: boolean;
547
- } | {
548
+ }[];
549
+ childrens: {
548
550
  name: string;
549
551
  value: {
550
552
  type: string;
551
553
  is_null: string;
552
554
  maxlength: null;
553
555
  };
554
- fk_table: null;
555
- fk_reference: null;
556
+ fk_table: string;
557
+ fk_reference: string;
556
558
  pk: boolean;
557
- })[];
558
- fathers: never[];
559
- childrens: never[];
559
+ }[];
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 operacao_1 = __importDefault(require("./operacao"));
7
- const usuario_1 = __importDefault(require("./usuario"));
8
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
6
+ const atributo_1 = __importDefault(require("./atributo"));
9
7
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
8
+ const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
9
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
10
+ const entidade_1 = __importDefault(require("./entidade"));
11
+ const usuario_1 = __importDefault(require("./usuario"));
12
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
10
13
  const item_1 = __importDefault(require("./item"));
14
+ const item_variacao_1 = __importDefault(require("./item_variacao"));
11
15
  const categoria_1 = __importDefault(require("./categoria"));
12
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
13
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
16
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
14
17
  const operacao_item_1 = __importDefault(require("./operacao_item"));
15
- const atributo_1 = __importDefault(require("./atributo"));
16
18
  const marca_1 = __importDefault(require("./marca"));
17
- const item_variacao_1 = __importDefault(require("./item_variacao"));
18
- const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
19
- const entidade_1 = __importDefault(require("./entidade"));
20
19
  const empresa_1 = __importDefault(require("./empresa"));
20
+ const operacao_1 = __importDefault(require("./operacao"));
21
21
  exports.default = {
22
- operacao: operacao_1.default,
23
- usuario: usuario_1.default,
24
- operacao_pagamento: operacao_pagamento_1.default,
22
+ atributo: atributo_1.default,
25
23
  item_variacao_atributo: item_variacao_atributo_1.default,
24
+ entidade_endereco: entidade_endereco_1.default,
25
+ operacao_pagamento: operacao_pagamento_1.default,
26
+ entidade: entidade_1.default,
27
+ usuario: usuario_1.default,
28
+ entidade_cartao: entidade_cartao_1.default,
26
29
  item: item_1.default,
30
+ item_variacao: item_variacao_1.default,
27
31
  categoria: categoria_1.default,
28
- entidade_cartao: entidade_cartao_1.default,
29
- entidade_endereco: entidade_endereco_1.default,
32
+ item_variacao_imagem: item_variacao_imagem_1.default,
30
33
  operacao_item: operacao_item_1.default,
31
- atributo: atributo_1.default,
32
34
  marca: marca_1.default,
33
- item_variacao: item_variacao_1.default,
34
- item_variacao_imagem: item_variacao_imagem_1.default,
35
- entidade: entidade_1.default,
36
- empresa: empresa_1.default
35
+ empresa: empresa_1.default,
36
+ operacao: operacao_1.default
37
37
  };
@@ -243,6 +243,17 @@ exports.default = {
243
243
  "fk_table": null,
244
244
  "fk_reference": null,
245
245
  "pk": false
246
+ },
247
+ {
248
+ "name": "destaque",
249
+ "value": {
250
+ "type": "boolean",
251
+ "is_null": "YES",
252
+ "maxlength": null
253
+ },
254
+ "fk_table": null,
255
+ "fk_reference": null,
256
+ "pk": false
246
257
  }
247
258
  ],
248
259
  "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": "br_code",
73
+ "value": {
74
+ "type": "text",
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": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",