pg-manipulator 1.0.58 → 1.0.60

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.
@@ -41,4 +41,11 @@ export type empresa_fields = {
41
41
  cor_principal?: string;
42
42
  cor_secundaria?: string;
43
43
  usuario?: number;
44
+ custo_tempo_base?: number;
45
+ custo_material_base?: number;
46
+ custo_nota_base?: number;
47
+ custo_frete_base?: number;
48
+ percentual_transacao_cartao_base?: number;
49
+ percentual_transacao_pix_base?: number;
50
+ percentual_impostos_base?: number;
44
51
  };
@@ -41,4 +41,11 @@ export type empresa_order = {
41
41
  cor_principal?: 'desc' | 'asc';
42
42
  cor_secundaria?: 'desc' | 'asc';
43
43
  usuario?: 'desc' | 'asc';
44
+ custo_tempo_base?: 'desc' | 'asc';
45
+ custo_material_base?: 'desc' | 'asc';
46
+ custo_nota_base?: 'desc' | 'asc';
47
+ custo_frete_base?: 'desc' | 'asc';
48
+ percentual_transacao_cartao_base?: 'desc' | 'asc';
49
+ percentual_transacao_pix_base?: 'desc' | 'asc';
50
+ percentual_impostos_base?: 'desc' | 'asc';
44
51
  };
@@ -43,6 +43,13 @@ export type empresa_select = {
43
43
  cor_principal?: string;
44
44
  cor_secundaria?: string;
45
45
  usuario?: number;
46
+ custo_tempo_base?: number;
47
+ custo_material_base?: number;
48
+ custo_nota_base?: number;
49
+ custo_frete_base?: number;
50
+ percentual_transacao_cartao_base?: number;
51
+ percentual_transacao_pix_base?: number;
52
+ percentual_impostos_base?: number;
46
53
  where: empresa_where;
47
54
  order?: empresa_order;
48
55
  };
@@ -42,5 +42,12 @@ export type empresa_update = {
42
42
  cor_principal?: string;
43
43
  cor_secundaria?: string;
44
44
  usuario?: number;
45
+ custo_tempo_base?: number;
46
+ custo_material_base?: number;
47
+ custo_nota_base?: number;
48
+ custo_frete_base?: number;
49
+ percentual_transacao_cartao_base?: number;
50
+ percentual_transacao_pix_base?: number;
51
+ percentual_impostos_base?: number;
45
52
  where: empresa_where;
46
53
  };
@@ -42,4 +42,11 @@ export type empresa_where = {
42
42
  cor_principal?: where_string | string;
43
43
  cor_secundaria?: where_string | string;
44
44
  usuario?: where_number | number;
45
+ custo_tempo_base?: where_number | number;
46
+ custo_material_base?: where_number | number;
47
+ custo_nota_base?: where_number | number;
48
+ custo_frete_base?: where_number | number;
49
+ percentual_transacao_cartao_base?: where_number | number;
50
+ percentual_transacao_pix_base?: where_number | number;
51
+ percentual_impostos_base?: where_number | number;
45
52
  };
@@ -23,4 +23,7 @@ export type item_fields = {
23
23
  cfope: string;
24
24
  empresa?: number;
25
25
  destaque?: boolean;
26
+ tempo_base?: number;
27
+ material_base?: number;
28
+ estoque?: number;
26
29
  };
@@ -23,4 +23,7 @@ export type item_order = {
23
23
  cfope?: 'desc' | 'asc';
24
24
  empresa?: 'desc' | 'asc';
25
25
  destaque?: 'desc' | 'asc';
26
+ tempo_base?: 'desc' | 'asc';
27
+ material_base?: 'desc' | 'asc';
28
+ estoque?: 'desc' | 'asc';
26
29
  };
@@ -25,6 +25,9 @@ export type item_select = {
25
25
  cfope?: string;
26
26
  empresa?: number;
27
27
  destaque?: boolean;
28
+ tempo_base?: number;
29
+ material_base?: number;
30
+ estoque?: number;
28
31
  where: item_where;
29
32
  order?: item_order;
30
33
  };
@@ -24,5 +24,8 @@ export type item_update = {
24
24
  cfope?: string;
25
25
  empresa?: number;
26
26
  destaque?: boolean;
27
+ tempo_base?: number;
28
+ material_base?: number;
29
+ estoque?: number;
27
30
  where: item_where;
28
31
  };
@@ -24,4 +24,7 @@ export type item_where = {
24
24
  cfope?: where_string | string;
25
25
  empresa?: where_number | number;
26
26
  destaque?: where_boolean | boolean;
27
+ tempo_base?: where_number | number;
28
+ material_base?: where_number | number;
29
+ estoque?: where_number | number;
27
30
  };
@@ -1,37 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
+ import marca from './marca';
4
+ import operacao from './operacao';
5
+ import atributo from './atributo';
3
6
  import usuario from './usuario';
4
- import entidade from './entidade';
5
- import empresa from './empresa';
6
- import operacao_item from './operacao_item';
7
- import operacao_pagamento from './operacao_pagamento';
8
- import item from './item';
9
- import categoria from './categoria';
7
+ import item_variacao_imagem from './item_variacao_imagem';
10
8
  import entidade_endereco from './entidade_endereco';
11
- import operacao from './operacao';
12
9
  import item_variacao_atributo from './item_variacao_atributo';
13
- import item_variacao_imagem from './item_variacao_imagem';
14
- import atributo from './atributo';
10
+ import empresa from './empresa';
11
+ import operacao_pagamento from './operacao_pagamento';
12
+ import entidade from './entidade';
15
13
  import entidade_cartao from './entidade_cartao';
16
- import marca from './marca';
17
14
  import item_variacao from './item_variacao';
15
+ import categoria from './categoria';
16
+ import operacao_item from './operacao_item';
17
+ import item from './item';
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
+ operacao: typeof operacao;
23
+ atributo: typeof atributo;
21
24
  usuario: typeof usuario;
22
- entidade: typeof entidade;
23
- empresa: typeof empresa;
24
- operacao_item: typeof operacao_item;
25
- operacao_pagamento: typeof operacao_pagamento;
26
- item: typeof item;
27
- categoria: typeof categoria;
25
+ item_variacao_imagem: typeof item_variacao_imagem;
28
26
  entidade_endereco: typeof entidade_endereco;
29
- operacao: typeof operacao;
30
27
  item_variacao_atributo: typeof item_variacao_atributo;
31
- item_variacao_imagem: typeof item_variacao_imagem;
32
- atributo: typeof atributo;
28
+ empresa: typeof empresa;
29
+ operacao_pagamento: typeof operacao_pagamento;
30
+ entidade: typeof entidade;
33
31
  entidade_cartao: typeof entidade_cartao;
34
- marca: typeof marca;
35
32
  item_variacao: typeof item_variacao;
33
+ categoria: typeof categoria;
34
+ operacao_item: typeof operacao_item;
35
+ item: typeof item;
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 operacao_1 = __importDefault(require("./operacao"));
9
+ const atributo_1 = __importDefault(require("./atributo"));
7
10
  const usuario_1 = __importDefault(require("./usuario"));
8
- const entidade_1 = __importDefault(require("./entidade"));
9
- const empresa_1 = __importDefault(require("./empresa"));
10
- const operacao_item_1 = __importDefault(require("./operacao_item"));
11
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
12
- const item_1 = __importDefault(require("./item"));
13
- const categoria_1 = __importDefault(require("./categoria"));
11
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
14
12
  const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
15
- const operacao_1 = __importDefault(require("./operacao"));
16
13
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
17
- const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
18
- const atributo_1 = __importDefault(require("./atributo"));
14
+ const empresa_1 = __importDefault(require("./empresa"));
15
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
16
+ const entidade_1 = __importDefault(require("./entidade"));
19
17
  const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
20
- const marca_1 = __importDefault(require("./marca"));
21
18
  const item_variacao_1 = __importDefault(require("./item_variacao"));
19
+ const categoria_1 = __importDefault(require("./categoria"));
20
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
21
+ const item_1 = __importDefault(require("./item"));
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
+ operacao: operacao_1.default,
31
+ atributo: atributo_1.default,
29
32
  usuario: usuario_1.default,
30
- entidade: entidade_1.default,
31
- empresa: empresa_1.default,
32
- operacao_item: operacao_item_1.default,
33
- operacao_pagamento: operacao_pagamento_1.default,
34
- item: item_1.default,
35
- categoria: categoria_1.default,
33
+ item_variacao_imagem: item_variacao_imagem_1.default,
36
34
  entidade_endereco: entidade_endereco_1.default,
37
- operacao: operacao_1.default,
38
35
  item_variacao_atributo: item_variacao_atributo_1.default,
39
- item_variacao_imagem: item_variacao_imagem_1.default,
40
- atributo: atributo_1.default,
36
+ empresa: empresa_1.default,
37
+ operacao_pagamento: operacao_pagamento_1.default,
38
+ entidade: entidade_1.default,
41
39
  entidade_cartao: entidade_cartao_1.default,
42
- marca: marca_1.default,
43
- item_variacao: item_variacao_1.default
40
+ item_variacao: item_variacao_1.default,
41
+ categoria: categoria_1.default,
42
+ operacao_item: operacao_item_1.default,
43
+ item: item_1.default
44
44
  };
@@ -463,6 +463,83 @@ exports.default = {
463
463
  "fk_table": null,
464
464
  "fk_reference": null,
465
465
  "pk": false
466
+ },
467
+ {
468
+ "name": "custo_tempo_base",
469
+ "value": {
470
+ "type": "numeric",
471
+ "is_null": "YES",
472
+ "maxlength": null
473
+ },
474
+ "fk_table": null,
475
+ "fk_reference": null,
476
+ "pk": false
477
+ },
478
+ {
479
+ "name": "custo_material_base",
480
+ "value": {
481
+ "type": "numeric",
482
+ "is_null": "YES",
483
+ "maxlength": null
484
+ },
485
+ "fk_table": null,
486
+ "fk_reference": null,
487
+ "pk": false
488
+ },
489
+ {
490
+ "name": "custo_nota_base",
491
+ "value": {
492
+ "type": "numeric",
493
+ "is_null": "YES",
494
+ "maxlength": null
495
+ },
496
+ "fk_table": null,
497
+ "fk_reference": null,
498
+ "pk": false
499
+ },
500
+ {
501
+ "name": "custo_frete_base",
502
+ "value": {
503
+ "type": "numeric",
504
+ "is_null": "YES",
505
+ "maxlength": null
506
+ },
507
+ "fk_table": null,
508
+ "fk_reference": null,
509
+ "pk": false
510
+ },
511
+ {
512
+ "name": "percentual_transacao_cartao_base",
513
+ "value": {
514
+ "type": "numeric",
515
+ "is_null": "YES",
516
+ "maxlength": null
517
+ },
518
+ "fk_table": null,
519
+ "fk_reference": null,
520
+ "pk": false
521
+ },
522
+ {
523
+ "name": "percentual_transacao_pix_base",
524
+ "value": {
525
+ "type": "numeric",
526
+ "is_null": "YES",
527
+ "maxlength": null
528
+ },
529
+ "fk_table": null,
530
+ "fk_reference": null,
531
+ "pk": false
532
+ },
533
+ {
534
+ "name": "percentual_impostos_base",
535
+ "value": {
536
+ "type": "numeric",
537
+ "is_null": "YES",
538
+ "maxlength": null
539
+ },
540
+ "fk_table": null,
541
+ "fk_reference": null,
542
+ "pk": false
466
543
  }
467
544
  ],
468
545
  "fathers": [],
@@ -160,10 +160,10 @@ exports.default = {
160
160
  "pk": false
161
161
  },
162
162
  {
163
- "name": "transportadora",
163
+ "name": "id_entidade",
164
164
  "value": {
165
165
  "type": "integer",
166
- "is_null": "YES",
166
+ "is_null": "NO",
167
167
  "maxlength": null
168
168
  },
169
169
  "fk_table": "entidade",
@@ -171,10 +171,10 @@ exports.default = {
171
171
  "pk": false
172
172
  },
173
173
  {
174
- "name": "id_entidade",
174
+ "name": "transportadora",
175
175
  "value": {
176
176
  "type": "integer",
177
- "is_null": "NO",
177
+ "is_null": "YES",
178
178
  "maxlength": null
179
179
  },
180
180
  "fk_table": "entidade",
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- usuario: {
2
+ marca: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -22,10 +22,20 @@ declare const _default: {
22
22
  pk: boolean;
23
23
  })[];
24
24
  fathers: never[];
25
- childrens: never[];
25
+ childrens: {
26
+ name: string;
27
+ value: {
28
+ type: string;
29
+ is_null: string;
30
+ maxlength: null;
31
+ };
32
+ fk_table: string;
33
+ fk_reference: string;
34
+ pk: boolean;
35
+ }[];
26
36
  name: string;
27
37
  };
28
- entidade: {
38
+ operacao: {
29
39
  columns: ({
30
40
  name: string;
31
41
  value: {
@@ -47,7 +57,17 @@ declare const _default: {
47
57
  fk_reference: null;
48
58
  pk: boolean;
49
59
  })[];
50
- fathers: never[];
60
+ fathers: {
61
+ name: string;
62
+ value: {
63
+ type: string;
64
+ is_null: string;
65
+ maxlength: null;
66
+ };
67
+ fk_table: string;
68
+ fk_reference: string;
69
+ pk: boolean;
70
+ }[];
51
71
  childrens: {
52
72
  name: string;
53
73
  value: {
@@ -61,7 +81,7 @@ declare const _default: {
61
81
  }[];
62
82
  name: string;
63
83
  };
64
- empresa: {
84
+ atributo: {
65
85
  columns: ({
66
86
  name: string;
67
87
  value: {
@@ -84,11 +104,7 @@ declare const _default: {
84
104
  pk: boolean;
85
105
  })[];
86
106
  fathers: never[];
87
- childrens: never[];
88
- name: string;
89
- };
90
- operacao_item: {
91
- columns: ({
107
+ childrens: {
92
108
  name: string;
93
109
  value: {
94
110
  type: string;
@@ -98,32 +114,36 @@ declare const _default: {
98
114
  fk_table: string;
99
115
  fk_reference: string;
100
116
  pk: boolean;
101
- } | {
117
+ }[];
118
+ name: string;
119
+ };
120
+ usuario: {
121
+ columns: ({
102
122
  name: string;
103
123
  value: {
104
124
  type: string;
105
125
  is_null: string;
106
126
  maxlength: null;
107
127
  };
108
- fk_table: null;
109
- fk_reference: null;
128
+ fk_table: string;
129
+ fk_reference: string;
110
130
  pk: boolean;
111
- })[];
112
- fathers: {
131
+ } | {
113
132
  name: string;
114
133
  value: {
115
134
  type: string;
116
135
  is_null: string;
117
136
  maxlength: null;
118
137
  };
119
- fk_table: string;
120
- fk_reference: string;
138
+ fk_table: null;
139
+ fk_reference: null;
121
140
  pk: boolean;
122
- }[];
141
+ })[];
142
+ fathers: never[];
123
143
  childrens: never[];
124
144
  name: string;
125
145
  };
126
- operacao_pagamento: {
146
+ item_variacao_imagem: {
127
147
  columns: ({
128
148
  name: string;
129
149
  value: {
@@ -159,7 +179,7 @@ declare const _default: {
159
179
  childrens: never[];
160
180
  name: string;
161
181
  };
162
- item: {
182
+ entidade_endereco: {
163
183
  columns: ({
164
184
  name: string;
165
185
  value: {
@@ -205,8 +225,8 @@ declare const _default: {
205
225
  }[];
206
226
  name: string;
207
227
  };
208
- categoria: {
209
- columns: ({
228
+ item_variacao_atributo: {
229
+ columns: {
210
230
  name: string;
211
231
  value: {
212
232
  type: string;
@@ -216,19 +236,8 @@ declare const _default: {
216
236
  fk_table: string;
217
237
  fk_reference: string;
218
238
  pk: boolean;
219
- } | {
220
- name: string;
221
- value: {
222
- type: string;
223
- is_null: string;
224
- maxlength: null;
225
- };
226
- fk_table: null;
227
- fk_reference: null;
228
- pk: boolean;
229
- })[];
230
- fathers: never[];
231
- childrens: {
239
+ }[];
240
+ fathers: {
232
241
  name: string;
233
242
  value: {
234
243
  type: string;
@@ -239,9 +248,10 @@ declare const _default: {
239
248
  fk_reference: string;
240
249
  pk: boolean;
241
250
  }[];
251
+ childrens: never[];
242
252
  name: string;
243
253
  };
244
- entidade_endereco: {
254
+ empresa: {
245
255
  columns: ({
246
256
  name: string;
247
257
  value: {
@@ -263,31 +273,11 @@ declare const _default: {
263
273
  fk_reference: null;
264
274
  pk: boolean;
265
275
  })[];
266
- fathers: {
267
- name: string;
268
- value: {
269
- type: string;
270
- is_null: string;
271
- maxlength: null;
272
- };
273
- fk_table: string;
274
- fk_reference: string;
275
- pk: boolean;
276
- }[];
277
- childrens: {
278
- name: string;
279
- value: {
280
- type: string;
281
- is_null: string;
282
- maxlength: null;
283
- };
284
- fk_table: string;
285
- fk_reference: string;
286
- pk: boolean;
287
- }[];
276
+ fathers: never[];
277
+ childrens: never[];
288
278
  name: string;
289
279
  };
290
- operacao: {
280
+ operacao_pagamento: {
291
281
  columns: ({
292
282
  name: string;
293
283
  value: {
@@ -320,7 +310,11 @@ declare const _default: {
320
310
  fk_reference: string;
321
311
  pk: boolean;
322
312
  }[];
323
- childrens: {
313
+ childrens: never[];
314
+ name: string;
315
+ };
316
+ entidade: {
317
+ columns: ({
324
318
  name: string;
325
319
  value: {
326
320
  type: string;
@@ -330,22 +324,19 @@ declare const _default: {
330
324
  fk_table: string;
331
325
  fk_reference: string;
332
326
  pk: boolean;
333
- }[];
334
- name: string;
335
- };
336
- item_variacao_atributo: {
337
- columns: {
327
+ } | {
338
328
  name: string;
339
329
  value: {
340
330
  type: string;
341
331
  is_null: string;
342
332
  maxlength: null;
343
333
  };
344
- fk_table: string;
345
- fk_reference: string;
334
+ fk_table: null;
335
+ fk_reference: null;
346
336
  pk: boolean;
347
- }[];
348
- fathers: {
337
+ })[];
338
+ fathers: never[];
339
+ childrens: {
349
340
  name: string;
350
341
  value: {
351
342
  type: string;
@@ -356,10 +347,9 @@ declare const _default: {
356
347
  fk_reference: string;
357
348
  pk: boolean;
358
349
  }[];
359
- childrens: never[];
360
350
  name: string;
361
351
  };
362
- item_variacao_imagem: {
352
+ entidade_cartao: {
363
353
  columns: ({
364
354
  name: string;
365
355
  value: {
@@ -392,10 +382,20 @@ declare const _default: {
392
382
  fk_reference: string;
393
383
  pk: boolean;
394
384
  }[];
395
- childrens: never[];
385
+ childrens: {
386
+ name: string;
387
+ value: {
388
+ type: string;
389
+ is_null: string;
390
+ maxlength: null;
391
+ };
392
+ fk_table: string;
393
+ fk_reference: string;
394
+ pk: boolean;
395
+ }[];
396
396
  name: string;
397
397
  };
398
- atributo: {
398
+ item_variacao: {
399
399
  columns: ({
400
400
  name: string;
401
401
  value: {
@@ -417,7 +417,17 @@ declare const _default: {
417
417
  fk_reference: null;
418
418
  pk: boolean;
419
419
  })[];
420
- fathers: never[];
420
+ fathers: {
421
+ name: string;
422
+ value: {
423
+ type: string;
424
+ is_null: string;
425
+ maxlength: null;
426
+ };
427
+ fk_table: string;
428
+ fk_reference: string;
429
+ pk: boolean;
430
+ }[];
421
431
  childrens: {
422
432
  name: string;
423
433
  value: {
@@ -431,7 +441,7 @@ declare const _default: {
431
441
  }[];
432
442
  name: string;
433
443
  };
434
- entidade_cartao: {
444
+ categoria: {
435
445
  columns: ({
436
446
  name: string;
437
447
  value: {
@@ -453,17 +463,7 @@ declare const _default: {
453
463
  fk_reference: null;
454
464
  pk: boolean;
455
465
  })[];
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
- }[];
466
+ fathers: never[];
467
467
  childrens: {
468
468
  name: string;
469
469
  value: {
@@ -477,7 +477,7 @@ declare const _default: {
477
477
  }[];
478
478
  name: string;
479
479
  };
480
- marca: {
480
+ operacao_item: {
481
481
  columns: ({
482
482
  name: string;
483
483
  value: {
@@ -499,8 +499,7 @@ declare const _default: {
499
499
  fk_reference: null;
500
500
  pk: boolean;
501
501
  })[];
502
- fathers: never[];
503
- childrens: {
502
+ fathers: {
504
503
  name: string;
505
504
  value: {
506
505
  type: string;
@@ -511,9 +510,10 @@ declare const _default: {
511
510
  fk_reference: string;
512
511
  pk: boolean;
513
512
  }[];
513
+ childrens: never[];
514
514
  name: string;
515
515
  };
516
- item_variacao: {
516
+ item: {
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 marca_1 = __importDefault(require("./marca"));
7
+ const operacao_1 = __importDefault(require("./operacao"));
8
+ const atributo_1 = __importDefault(require("./atributo"));
6
9
  const usuario_1 = __importDefault(require("./usuario"));
7
- const entidade_1 = __importDefault(require("./entidade"));
8
- const empresa_1 = __importDefault(require("./empresa"));
9
- const operacao_item_1 = __importDefault(require("./operacao_item"));
10
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
11
- const item_1 = __importDefault(require("./item"));
12
- const categoria_1 = __importDefault(require("./categoria"));
10
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
13
11
  const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
14
- const operacao_1 = __importDefault(require("./operacao"));
15
12
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
16
- const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
17
- const atributo_1 = __importDefault(require("./atributo"));
13
+ const empresa_1 = __importDefault(require("./empresa"));
14
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
15
+ const entidade_1 = __importDefault(require("./entidade"));
18
16
  const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
19
- const marca_1 = __importDefault(require("./marca"));
20
17
  const item_variacao_1 = __importDefault(require("./item_variacao"));
18
+ const categoria_1 = __importDefault(require("./categoria"));
19
+ const operacao_item_1 = __importDefault(require("./operacao_item"));
20
+ const item_1 = __importDefault(require("./item"));
21
21
  exports.default = {
22
+ marca: marca_1.default,
23
+ operacao: operacao_1.default,
24
+ atributo: atributo_1.default,
22
25
  usuario: usuario_1.default,
23
- entidade: entidade_1.default,
24
- empresa: empresa_1.default,
25
- operacao_item: operacao_item_1.default,
26
- operacao_pagamento: operacao_pagamento_1.default,
27
- item: item_1.default,
28
- categoria: categoria_1.default,
26
+ item_variacao_imagem: item_variacao_imagem_1.default,
29
27
  entidade_endereco: entidade_endereco_1.default,
30
- operacao: operacao_1.default,
31
28
  item_variacao_atributo: item_variacao_atributo_1.default,
32
- item_variacao_imagem: item_variacao_imagem_1.default,
33
- atributo: atributo_1.default,
29
+ empresa: empresa_1.default,
30
+ operacao_pagamento: operacao_pagamento_1.default,
31
+ entidade: entidade_1.default,
34
32
  entidade_cartao: entidade_cartao_1.default,
35
- marca: marca_1.default,
36
- item_variacao: item_variacao_1.default
33
+ item_variacao: item_variacao_1.default,
34
+ categoria: categoria_1.default,
35
+ operacao_item: operacao_item_1.default,
36
+ item: item_1.default
37
37
  };
@@ -265,6 +265,39 @@ exports.default = {
265
265
  "fk_table": null,
266
266
  "fk_reference": null,
267
267
  "pk": false
268
+ },
269
+ {
270
+ "name": "tempo_base",
271
+ "value": {
272
+ "type": "numeric",
273
+ "is_null": "YES",
274
+ "maxlength": null
275
+ },
276
+ "fk_table": null,
277
+ "fk_reference": null,
278
+ "pk": false
279
+ },
280
+ {
281
+ "name": "material_base",
282
+ "value": {
283
+ "type": "numeric",
284
+ "is_null": "YES",
285
+ "maxlength": null
286
+ },
287
+ "fk_table": null,
288
+ "fk_reference": null,
289
+ "pk": false
290
+ },
291
+ {
292
+ "name": "estoque",
293
+ "value": {
294
+ "type": "integer",
295
+ "is_null": "YES",
296
+ "maxlength": null
297
+ },
298
+ "fk_table": null,
299
+ "fk_reference": null,
300
+ "pk": false
268
301
  }
269
302
  ],
270
303
  "fathers": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",