pg-manipulator 1.0.53 → 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.
Files changed (35) hide show
  1. package/dist/@types/admin/empresa_fields.d.ts +3 -0
  2. package/dist/@types/admin/empresa_order.d.ts +3 -0
  3. package/dist/@types/admin/empresa_select.d.ts +3 -0
  4. package/dist/@types/admin/empresa_update.d.ts +3 -0
  5. package/dist/@types/admin/empresa_where.d.ts +3 -0
  6. package/dist/@types/admin/entidade_endereco_fields.d.ts +1 -0
  7. package/dist/@types/admin/entidade_endereco_order.d.ts +1 -0
  8. package/dist/@types/admin/entidade_endereco_select.d.ts +1 -0
  9. package/dist/@types/admin/entidade_endereco_update.d.ts +1 -0
  10. package/dist/@types/admin/entidade_endereco_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 +2 -1
  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/operacao_pagamento_fields.d.ts +1 -0
  22. package/dist/@types/admin/operacao_pagamento_order.d.ts +1 -0
  23. package/dist/@types/admin/operacao_pagamento_select.d.ts +1 -0
  24. package/dist/@types/admin/operacao_pagamento_update.d.ts +1 -0
  25. package/dist/@types/admin/operacao_pagamento_where.d.ts +1 -0
  26. package/dist/class/admin/index.d.ts +18 -18
  27. package/dist/class/admin/index.js +18 -18
  28. package/dist/mapping/admin/empresa.js +33 -0
  29. package/dist/mapping/admin/entidade.js +15 -4
  30. package/dist/mapping/admin/entidade_endereco.js +11 -0
  31. package/dist/mapping/admin/index.d.ts +62 -62
  32. package/dist/mapping/admin/index.js +18 -18
  33. package/dist/mapping/admin/item.js +11 -0
  34. package/dist/mapping/admin/operacao_pagamento.js +11 -0
  35. package/package.json +1 -1
@@ -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
  };
@@ -15,4 +15,5 @@ export type entidade_endereco_fields = {
15
15
  numero: string;
16
16
  complemento: string;
17
17
  telefone: string;
18
+ cidade?: string;
18
19
  };
@@ -15,4 +15,5 @@ export type entidade_endereco_order = {
15
15
  numero?: 'desc' | 'asc';
16
16
  complemento?: 'desc' | 'asc';
17
17
  telefone?: 'desc' | 'asc';
18
+ cidade?: 'desc' | 'asc';
18
19
  };
@@ -17,6 +17,7 @@ export type entidade_endereco_select = {
17
17
  numero?: string;
18
18
  complemento?: string;
19
19
  telefone?: string;
20
+ cidade?: string;
20
21
  where: entidade_endereco_where;
21
22
  order?: entidade_endereco_order;
22
23
  };
@@ -16,5 +16,6 @@ export type entidade_endereco_update = {
16
16
  numero?: string;
17
17
  complemento?: string;
18
18
  telefone?: string;
19
+ cidade?: string;
19
20
  where: entidade_endereco_where;
20
21
  };
@@ -16,4 +16,5 @@ export type entidade_endereco_where = {
16
16
  numero?: where_string | string;
17
17
  complemento?: where_string | string;
18
18
  telefone?: where_string | string;
19
+ cidade?: where_string | string;
19
20
  };
@@ -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 atributo from './atributo';
4
+ import item_variacao_atributo from './item_variacao_atributo';
5
+ import entidade_endereco from './entidade_endereco';
6
+ import operacao_pagamento from './operacao_pagamento';
3
7
  import entidade from './entidade';
8
+ import usuario from './usuario';
9
+ import entidade_cartao from './entidade_cartao';
10
+ import item from './item';
4
11
  import item_variacao from './item_variacao';
5
- import operacao_pagamento from './operacao_pagamento';
6
12
  import categoria from './categoria';
7
- import operacao from './operacao';
8
- import item_variacao_atributo from './item_variacao_atributo';
9
- import entidade_cartao from './entidade_cartao';
10
- import atributo from './atributo';
11
- import operacao_item from './operacao_item';
12
- import entidade_endereco from './entidade_endereco';
13
13
  import item_variacao_imagem from './item_variacao_imagem';
14
+ import operacao_item from './operacao_item';
14
15
  import marca from './marca';
15
16
  import empresa from './empresa';
16
- import usuario from './usuario';
17
- import item from './item';
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;
22
+ item_variacao_atributo: typeof item_variacao_atributo;
23
+ entidade_endereco: typeof entidade_endereco;
24
+ operacao_pagamento: typeof operacao_pagamento;
21
25
  entidade: typeof entidade;
26
+ usuario: typeof usuario;
27
+ entidade_cartao: typeof entidade_cartao;
28
+ item: typeof item;
22
29
  item_variacao: typeof item_variacao;
23
- operacao_pagamento: typeof operacao_pagamento;
24
30
  categoria: typeof categoria;
25
- operacao: typeof operacao;
26
- item_variacao_atributo: typeof item_variacao_atributo;
27
- entidade_cartao: typeof entidade_cartao;
28
- atributo: typeof atributo;
29
- operacao_item: typeof operacao_item;
30
- entidade_endereco: typeof entidade_endereco;
31
31
  item_variacao_imagem: typeof item_variacao_imagem;
32
+ operacao_item: typeof operacao_item;
32
33
  marca: typeof marca;
33
34
  empresa: typeof empresa;
34
- usuario: typeof usuario;
35
- item: typeof item;
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"));
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"));
7
11
  const entidade_1 = __importDefault(require("./entidade"));
12
+ const usuario_1 = __importDefault(require("./usuario"));
13
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
14
+ const item_1 = __importDefault(require("./item"));
8
15
  const item_variacao_1 = __importDefault(require("./item_variacao"));
9
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
10
16
  const categoria_1 = __importDefault(require("./categoria"));
11
- const operacao_1 = __importDefault(require("./operacao"));
12
- const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
13
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
14
- const atributo_1 = __importDefault(require("./atributo"));
15
- const operacao_item_1 = __importDefault(require("./operacao_item"));
16
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
17
17
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
18
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
18
19
  const marca_1 = __importDefault(require("./marca"));
19
20
  const empresa_1 = __importDefault(require("./empresa"));
20
- const usuario_1 = __importDefault(require("./usuario"));
21
- const item_1 = __importDefault(require("./item"));
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,
30
+ item_variacao_atributo: item_variacao_atributo_1.default,
31
+ entidade_endereco: entidade_endereco_1.default,
32
+ operacao_pagamento: operacao_pagamento_1.default,
29
33
  entidade: entidade_1.default,
34
+ usuario: usuario_1.default,
35
+ entidade_cartao: entidade_cartao_1.default,
36
+ item: item_1.default,
30
37
  item_variacao: item_variacao_1.default,
31
- operacao_pagamento: operacao_pagamento_1.default,
32
38
  categoria: categoria_1.default,
33
- operacao: operacao_1.default,
34
- item_variacao_atributo: item_variacao_atributo_1.default,
35
- entidade_cartao: entidade_cartao_1.default,
36
- atributo: atributo_1.default,
37
- operacao_item: operacao_item_1.default,
38
- entidade_endereco: entidade_endereco_1.default,
39
39
  item_variacao_imagem: item_variacao_imagem_1.default,
40
+ operacao_item: operacao_item_1.default,
40
41
  marca: marca_1.default,
41
42
  empresa: empresa_1.default,
42
- usuario: usuario_1.default,
43
- item: item_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",
@@ -177,6 +177,17 @@ exports.default = {
177
177
  "fk_table": null,
178
178
  "fk_reference": null,
179
179
  "pk": false
180
+ },
181
+ {
182
+ "name": "cidade",
183
+ "value": {
184
+ "type": "character varying",
185
+ "is_null": "YES",
186
+ "maxlength": null
187
+ },
188
+ "fk_table": null,
189
+ "fk_reference": null,
190
+ "pk": false
180
191
  }
181
192
  ],
182
193
  "fathers": [
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- entidade: {
2
+ atributo: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -35,7 +35,33 @@ declare const _default: {
35
35
  }[];
36
36
  name: string;
37
37
  };
38
- item_variacao: {
38
+ item_variacao_atributo: {
39
+ columns: {
40
+ name: string;
41
+ value: {
42
+ type: string;
43
+ is_null: string;
44
+ maxlength: null;
45
+ };
46
+ fk_table: string;
47
+ fk_reference: string;
48
+ pk: boolean;
49
+ }[];
50
+ fathers: {
51
+ name: string;
52
+ value: {
53
+ type: string;
54
+ is_null: string;
55
+ maxlength: null;
56
+ };
57
+ fk_table: string;
58
+ fk_reference: string;
59
+ pk: boolean;
60
+ }[];
61
+ childrens: never[];
62
+ name: string;
63
+ };
64
+ entidade_endereco: {
39
65
  columns: ({
40
66
  name: string;
41
67
  value: {
@@ -117,7 +143,7 @@ declare const _default: {
117
143
  childrens: never[];
118
144
  name: string;
119
145
  };
120
- categoria: {
146
+ entidade: {
121
147
  columns: ({
122
148
  name: string;
123
149
  value: {
@@ -153,7 +179,7 @@ declare const _default: {
153
179
  }[];
154
180
  name: string;
155
181
  };
156
- operacao: {
182
+ usuario: {
157
183
  columns: ({
158
184
  name: string;
159
185
  value: {
@@ -175,7 +201,12 @@ declare const _default: {
175
201
  fk_reference: null;
176
202
  pk: boolean;
177
203
  })[];
178
- fathers: {
204
+ fathers: never[];
205
+ childrens: never[];
206
+ name: string;
207
+ };
208
+ entidade_cartao: {
209
+ columns: ({
179
210
  name: string;
180
211
  value: {
181
212
  type: string;
@@ -185,22 +216,18 @@ declare const _default: {
185
216
  fk_table: string;
186
217
  fk_reference: string;
187
218
  pk: boolean;
188
- }[];
189
- childrens: {
219
+ } | {
190
220
  name: string;
191
221
  value: {
192
222
  type: string;
193
223
  is_null: string;
194
224
  maxlength: null;
195
225
  };
196
- fk_table: string;
197
- fk_reference: string;
226
+ fk_table: null;
227
+ fk_reference: null;
198
228
  pk: boolean;
199
- }[];
200
- name: string;
201
- };
202
- item_variacao_atributo: {
203
- columns: {
229
+ })[];
230
+ fathers: {
204
231
  name: string;
205
232
  value: {
206
233
  type: string;
@@ -211,7 +238,7 @@ declare const _default: {
211
238
  fk_reference: string;
212
239
  pk: boolean;
213
240
  }[];
214
- fathers: {
241
+ childrens: {
215
242
  name: string;
216
243
  value: {
217
244
  type: string;
@@ -222,10 +249,9 @@ declare const _default: {
222
249
  fk_reference: string;
223
250
  pk: boolean;
224
251
  }[];
225
- childrens: never[];
226
252
  name: string;
227
253
  };
228
- entidade_cartao: {
254
+ item: {
229
255
  columns: ({
230
256
  name: string;
231
257
  value: {
@@ -271,7 +297,7 @@ declare const _default: {
271
297
  }[];
272
298
  name: string;
273
299
  };
274
- atributo: {
300
+ item_variacao: {
275
301
  columns: ({
276
302
  name: string;
277
303
  value: {
@@ -293,7 +319,17 @@ declare const _default: {
293
319
  fk_reference: null;
294
320
  pk: boolean;
295
321
  })[];
296
- fathers: never[];
322
+ fathers: {
323
+ name: string;
324
+ value: {
325
+ type: string;
326
+ is_null: string;
327
+ maxlength: null;
328
+ };
329
+ fk_table: string;
330
+ fk_reference: string;
331
+ pk: boolean;
332
+ }[];
297
333
  childrens: {
298
334
  name: string;
299
335
  value: {
@@ -307,7 +343,7 @@ declare const _default: {
307
343
  }[];
308
344
  name: string;
309
345
  };
310
- operacao_item: {
346
+ categoria: {
311
347
  columns: ({
312
348
  name: string;
313
349
  value: {
@@ -329,7 +365,8 @@ declare const _default: {
329
365
  fk_reference: null;
330
366
  pk: boolean;
331
367
  })[];
332
- fathers: {
368
+ fathers: never[];
369
+ childrens: {
333
370
  name: string;
334
371
  value: {
335
372
  type: string;
@@ -340,10 +377,9 @@ declare const _default: {
340
377
  fk_reference: string;
341
378
  pk: boolean;
342
379
  }[];
343
- childrens: never[];
344
380
  name: string;
345
381
  };
346
- entidade_endereco: {
382
+ item_variacao_imagem: {
347
383
  columns: ({
348
384
  name: string;
349
385
  value: {
@@ -376,20 +412,10 @@ declare const _default: {
376
412
  fk_reference: string;
377
413
  pk: boolean;
378
414
  }[];
379
- childrens: {
380
- name: string;
381
- value: {
382
- type: string;
383
- is_null: string;
384
- maxlength: null;
385
- };
386
- fk_table: string;
387
- fk_reference: string;
388
- pk: boolean;
389
- }[];
415
+ childrens: never[];
390
416
  name: string;
391
417
  };
392
- item_variacao_imagem: {
418
+ operacao_item: {
393
419
  columns: ({
394
420
  name: string;
395
421
  value: {
@@ -487,33 +513,7 @@ declare const _default: {
487
513
  childrens: never[];
488
514
  name: string;
489
515
  };
490
- usuario: {
491
- columns: ({
492
- name: string;
493
- value: {
494
- type: string;
495
- is_null: string;
496
- maxlength: null;
497
- };
498
- fk_table: string;
499
- fk_reference: string;
500
- pk: boolean;
501
- } | {
502
- name: string;
503
- value: {
504
- type: string;
505
- is_null: string;
506
- maxlength: null;
507
- };
508
- fk_table: null;
509
- fk_reference: null;
510
- pk: boolean;
511
- })[];
512
- fathers: never[];
513
- childrens: never[];
514
- name: string;
515
- };
516
- item: {
516
+ operacao: {
517
517
  columns: ({
518
518
  name: string;
519
519
  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"));
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"));
6
10
  const entidade_1 = __importDefault(require("./entidade"));
11
+ const usuario_1 = __importDefault(require("./usuario"));
12
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
13
+ const item_1 = __importDefault(require("./item"));
7
14
  const item_variacao_1 = __importDefault(require("./item_variacao"));
8
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
9
15
  const categoria_1 = __importDefault(require("./categoria"));
10
- const operacao_1 = __importDefault(require("./operacao"));
11
- const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
12
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
13
- const atributo_1 = __importDefault(require("./atributo"));
14
- const operacao_item_1 = __importDefault(require("./operacao_item"));
15
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
16
16
  const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
17
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
17
18
  const marca_1 = __importDefault(require("./marca"));
18
19
  const empresa_1 = __importDefault(require("./empresa"));
19
- const usuario_1 = __importDefault(require("./usuario"));
20
- const item_1 = __importDefault(require("./item"));
20
+ const operacao_1 = __importDefault(require("./operacao"));
21
21
  exports.default = {
22
+ atributo: atributo_1.default,
23
+ item_variacao_atributo: item_variacao_atributo_1.default,
24
+ entidade_endereco: entidade_endereco_1.default,
25
+ operacao_pagamento: operacao_pagamento_1.default,
22
26
  entidade: entidade_1.default,
27
+ usuario: usuario_1.default,
28
+ entidade_cartao: entidade_cartao_1.default,
29
+ item: item_1.default,
23
30
  item_variacao: item_variacao_1.default,
24
- operacao_pagamento: operacao_pagamento_1.default,
25
31
  categoria: categoria_1.default,
26
- operacao: operacao_1.default,
27
- item_variacao_atributo: item_variacao_atributo_1.default,
28
- entidade_cartao: entidade_cartao_1.default,
29
- atributo: atributo_1.default,
30
- operacao_item: operacao_item_1.default,
31
- entidade_endereco: entidade_endereco_1.default,
32
32
  item_variacao_imagem: item_variacao_imagem_1.default,
33
+ operacao_item: operacao_item_1.default,
33
34
  marca: marca_1.default,
34
35
  empresa: empresa_1.default,
35
- usuario: usuario_1.default,
36
- item: item_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.53",
3
+ "version": "1.0.56",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",