pg-manipulator 1.0.57 → 1.0.59
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.
- package/dist/@types/admin/empresa_fields.d.ts +7 -0
- package/dist/@types/admin/empresa_order.d.ts +7 -0
- package/dist/@types/admin/empresa_select.d.ts +7 -0
- package/dist/@types/admin/empresa_update.d.ts +7 -0
- package/dist/@types/admin/empresa_where.d.ts +7 -0
- package/dist/@types/admin/item_fields.d.ts +3 -1
- package/dist/@types/admin/item_order.d.ts +3 -1
- package/dist/@types/admin/item_select.d.ts +3 -1
- package/dist/@types/admin/item_update.d.ts +3 -1
- package/dist/@types/admin/item_where.d.ts +3 -1
- package/dist/class/admin/index.d.ts +20 -20
- package/dist/class/admin/index.js +20 -20
- package/dist/mapping/admin/empresa.js +77 -0
- package/dist/mapping/admin/index.d.ts +80 -80
- package/dist/mapping/admin/index.js +20 -20
- package/dist/mapping/admin/item.js +24 -2
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -21,6 +21,8 @@ export type item_order = {
|
|
|
21
21
|
ativo?: 'desc' | 'asc';
|
|
22
22
|
cfopi?: 'desc' | 'asc';
|
|
23
23
|
cfope?: 'desc' | 'asc';
|
|
24
|
-
destaque?: 'desc' | 'asc';
|
|
25
24
|
empresa?: 'desc' | 'asc';
|
|
25
|
+
destaque?: 'desc' | 'asc';
|
|
26
|
+
tempo_base?: 'desc' | 'asc';
|
|
27
|
+
material_base?: 'desc' | 'asc';
|
|
26
28
|
};
|
|
@@ -23,8 +23,10 @@ export type item_select = {
|
|
|
23
23
|
ativo?: boolean;
|
|
24
24
|
cfopi?: string;
|
|
25
25
|
cfope?: string;
|
|
26
|
-
destaque?: boolean;
|
|
27
26
|
empresa?: number;
|
|
27
|
+
destaque?: boolean;
|
|
28
|
+
tempo_base?: number;
|
|
29
|
+
material_base?: number;
|
|
28
30
|
where: item_where;
|
|
29
31
|
order?: item_order;
|
|
30
32
|
};
|
|
@@ -22,6 +22,8 @@ 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;
|
|
26
25
|
empresa?: where_number | number;
|
|
26
|
+
destaque?: where_boolean | boolean;
|
|
27
|
+
tempo_base?: where_number | number;
|
|
28
|
+
material_base?: where_number | number;
|
|
27
29
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { PoolClient } from 'pg';
|
|
2
2
|
import { pool_tsx } from '../../@types';
|
|
3
|
-
import operacao_item from './operacao_item';
|
|
4
|
-
import item_variacao_atributo from './item_variacao_atributo';
|
|
5
|
-
import empresa from './empresa';
|
|
6
|
-
import operacao from './operacao';
|
|
7
|
-
import operacao_pagamento from './operacao_pagamento';
|
|
8
|
-
import entidade from './entidade';
|
|
9
|
-
import usuario from './usuario';
|
|
10
|
-
import item from './item';
|
|
11
|
-
import atributo from './atributo';
|
|
12
3
|
import entidade_endereco from './entidade_endereco';
|
|
13
4
|
import item_variacao from './item_variacao';
|
|
5
|
+
import entidade from './entidade';
|
|
6
|
+
import operacao_pagamento from './operacao_pagamento';
|
|
7
|
+
import item from './item';
|
|
14
8
|
import categoria from './categoria';
|
|
9
|
+
import usuario from './usuario';
|
|
10
|
+
import item_variacao_atributo from './item_variacao_atributo';
|
|
11
|
+
import operacao_item from './operacao_item';
|
|
15
12
|
import entidade_cartao from './entidade_cartao';
|
|
16
|
-
import
|
|
13
|
+
import atributo from './atributo';
|
|
17
14
|
import marca from './marca';
|
|
15
|
+
import empresa from './empresa';
|
|
16
|
+
import item_variacao_imagem from './item_variacao_imagem';
|
|
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_item: typeof operacao_item;
|
|
22
|
-
item_variacao_atributo: typeof item_variacao_atributo;
|
|
23
|
-
empresa: typeof empresa;
|
|
24
|
-
operacao: typeof operacao;
|
|
25
|
-
operacao_pagamento: typeof operacao_pagamento;
|
|
26
|
-
entidade: typeof entidade;
|
|
27
|
-
usuario: typeof usuario;
|
|
28
|
-
item: typeof item;
|
|
29
|
-
atributo: typeof atributo;
|
|
30
21
|
entidade_endereco: typeof entidade_endereco;
|
|
31
22
|
item_variacao: typeof item_variacao;
|
|
23
|
+
entidade: typeof entidade;
|
|
24
|
+
operacao_pagamento: typeof operacao_pagamento;
|
|
25
|
+
item: typeof item;
|
|
32
26
|
categoria: typeof categoria;
|
|
27
|
+
usuario: typeof usuario;
|
|
28
|
+
item_variacao_atributo: typeof item_variacao_atributo;
|
|
29
|
+
operacao_item: typeof operacao_item;
|
|
33
30
|
entidade_cartao: typeof entidade_cartao;
|
|
34
|
-
|
|
31
|
+
atributo: typeof atributo;
|
|
35
32
|
marca: typeof marca;
|
|
33
|
+
empresa: typeof empresa;
|
|
34
|
+
item_variacao_imagem: typeof item_variacao_imagem;
|
|
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_item_1 = __importDefault(require("./operacao_item"));
|
|
8
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
9
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
10
|
-
const operacao_1 = __importDefault(require("./operacao"));
|
|
11
|
-
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
12
|
-
const entidade_1 = __importDefault(require("./entidade"));
|
|
13
|
-
const usuario_1 = __importDefault(require("./usuario"));
|
|
14
|
-
const item_1 = __importDefault(require("./item"));
|
|
15
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
16
7
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
17
8
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
9
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
10
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
11
|
+
const item_1 = __importDefault(require("./item"));
|
|
18
12
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
13
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
14
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
15
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
19
16
|
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
20
|
-
const
|
|
17
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
21
18
|
const marca_1 = __importDefault(require("./marca"));
|
|
19
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
20
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
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_item: operacao_item_1.default,
|
|
30
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
31
|
-
empresa: empresa_1.default,
|
|
32
|
-
operacao: operacao_1.default,
|
|
33
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
34
|
-
entidade: entidade_1.default,
|
|
35
|
-
usuario: usuario_1.default,
|
|
36
|
-
item: item_1.default,
|
|
37
|
-
atributo: atributo_1.default,
|
|
38
29
|
entidade_endereco: entidade_endereco_1.default,
|
|
39
30
|
item_variacao: item_variacao_1.default,
|
|
31
|
+
entidade: entidade_1.default,
|
|
32
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
33
|
+
item: item_1.default,
|
|
40
34
|
categoria: categoria_1.default,
|
|
35
|
+
usuario: usuario_1.default,
|
|
36
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
37
|
+
operacao_item: operacao_item_1.default,
|
|
41
38
|
entidade_cartao: entidade_cartao_1.default,
|
|
39
|
+
atributo: atributo_1.default,
|
|
40
|
+
marca: marca_1.default,
|
|
41
|
+
empresa: empresa_1.default,
|
|
42
42
|
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
43
|
-
|
|
43
|
+
operacao: operacao_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": [],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
2
|
+
entidade_endereco: {
|
|
3
3
|
columns: ({
|
|
4
4
|
name: string;
|
|
5
5
|
value: {
|
|
@@ -32,22 +32,7 @@ declare const _default: {
|
|
|
32
32
|
fk_reference: string;
|
|
33
33
|
pk: boolean;
|
|
34
34
|
}[];
|
|
35
|
-
childrens:
|
|
36
|
-
name: string;
|
|
37
|
-
};
|
|
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: {
|
|
35
|
+
childrens: {
|
|
51
36
|
name: string;
|
|
52
37
|
value: {
|
|
53
38
|
type: string;
|
|
@@ -58,10 +43,9 @@ declare const _default: {
|
|
|
58
43
|
fk_reference: string;
|
|
59
44
|
pk: boolean;
|
|
60
45
|
}[];
|
|
61
|
-
childrens: never[];
|
|
62
46
|
name: string;
|
|
63
47
|
};
|
|
64
|
-
|
|
48
|
+
item_variacao: {
|
|
65
49
|
columns: ({
|
|
66
50
|
name: string;
|
|
67
51
|
value: {
|
|
@@ -83,12 +67,7 @@ declare const _default: {
|
|
|
83
67
|
fk_reference: null;
|
|
84
68
|
pk: boolean;
|
|
85
69
|
})[];
|
|
86
|
-
fathers:
|
|
87
|
-
childrens: never[];
|
|
88
|
-
name: string;
|
|
89
|
-
};
|
|
90
|
-
operacao: {
|
|
91
|
-
columns: ({
|
|
70
|
+
fathers: {
|
|
92
71
|
name: string;
|
|
93
72
|
value: {
|
|
94
73
|
type: string;
|
|
@@ -98,18 +77,22 @@ declare const _default: {
|
|
|
98
77
|
fk_table: string;
|
|
99
78
|
fk_reference: string;
|
|
100
79
|
pk: boolean;
|
|
101
|
-
}
|
|
80
|
+
}[];
|
|
81
|
+
childrens: {
|
|
102
82
|
name: string;
|
|
103
83
|
value: {
|
|
104
84
|
type: string;
|
|
105
85
|
is_null: string;
|
|
106
86
|
maxlength: null;
|
|
107
87
|
};
|
|
108
|
-
fk_table:
|
|
109
|
-
fk_reference:
|
|
88
|
+
fk_table: string;
|
|
89
|
+
fk_reference: string;
|
|
110
90
|
pk: boolean;
|
|
111
|
-
}
|
|
112
|
-
|
|
91
|
+
}[];
|
|
92
|
+
name: string;
|
|
93
|
+
};
|
|
94
|
+
entidade: {
|
|
95
|
+
columns: ({
|
|
113
96
|
name: string;
|
|
114
97
|
value: {
|
|
115
98
|
type: string;
|
|
@@ -119,7 +102,18 @@ declare const _default: {
|
|
|
119
102
|
fk_table: string;
|
|
120
103
|
fk_reference: string;
|
|
121
104
|
pk: boolean;
|
|
122
|
-
}
|
|
105
|
+
} | {
|
|
106
|
+
name: string;
|
|
107
|
+
value: {
|
|
108
|
+
type: string;
|
|
109
|
+
is_null: string;
|
|
110
|
+
maxlength: null;
|
|
111
|
+
};
|
|
112
|
+
fk_table: null;
|
|
113
|
+
fk_reference: null;
|
|
114
|
+
pk: boolean;
|
|
115
|
+
})[];
|
|
116
|
+
fathers: never[];
|
|
123
117
|
childrens: {
|
|
124
118
|
name: string;
|
|
125
119
|
value: {
|
|
@@ -169,7 +163,7 @@ declare const _default: {
|
|
|
169
163
|
childrens: never[];
|
|
170
164
|
name: string;
|
|
171
165
|
};
|
|
172
|
-
|
|
166
|
+
item: {
|
|
173
167
|
columns: ({
|
|
174
168
|
name: string;
|
|
175
169
|
value: {
|
|
@@ -191,7 +185,17 @@ declare const _default: {
|
|
|
191
185
|
fk_reference: null;
|
|
192
186
|
pk: boolean;
|
|
193
187
|
})[];
|
|
194
|
-
fathers:
|
|
188
|
+
fathers: {
|
|
189
|
+
name: string;
|
|
190
|
+
value: {
|
|
191
|
+
type: string;
|
|
192
|
+
is_null: string;
|
|
193
|
+
maxlength: null;
|
|
194
|
+
};
|
|
195
|
+
fk_table: string;
|
|
196
|
+
fk_reference: string;
|
|
197
|
+
pk: boolean;
|
|
198
|
+
}[];
|
|
195
199
|
childrens: {
|
|
196
200
|
name: string;
|
|
197
201
|
value: {
|
|
@@ -205,7 +209,7 @@ declare const _default: {
|
|
|
205
209
|
}[];
|
|
206
210
|
name: string;
|
|
207
211
|
};
|
|
208
|
-
|
|
212
|
+
categoria: {
|
|
209
213
|
columns: ({
|
|
210
214
|
name: string;
|
|
211
215
|
value: {
|
|
@@ -228,10 +232,20 @@ declare const _default: {
|
|
|
228
232
|
pk: boolean;
|
|
229
233
|
})[];
|
|
230
234
|
fathers: never[];
|
|
231
|
-
childrens:
|
|
235
|
+
childrens: {
|
|
236
|
+
name: string;
|
|
237
|
+
value: {
|
|
238
|
+
type: string;
|
|
239
|
+
is_null: string;
|
|
240
|
+
maxlength: null;
|
|
241
|
+
};
|
|
242
|
+
fk_table: string;
|
|
243
|
+
fk_reference: string;
|
|
244
|
+
pk: boolean;
|
|
245
|
+
}[];
|
|
232
246
|
name: string;
|
|
233
247
|
};
|
|
234
|
-
|
|
248
|
+
usuario: {
|
|
235
249
|
columns: ({
|
|
236
250
|
name: string;
|
|
237
251
|
value: {
|
|
@@ -253,7 +267,12 @@ declare const _default: {
|
|
|
253
267
|
fk_reference: null;
|
|
254
268
|
pk: boolean;
|
|
255
269
|
})[];
|
|
256
|
-
fathers:
|
|
270
|
+
fathers: never[];
|
|
271
|
+
childrens: never[];
|
|
272
|
+
name: string;
|
|
273
|
+
};
|
|
274
|
+
item_variacao_atributo: {
|
|
275
|
+
columns: {
|
|
257
276
|
name: string;
|
|
258
277
|
value: {
|
|
259
278
|
type: string;
|
|
@@ -264,7 +283,7 @@ declare const _default: {
|
|
|
264
283
|
fk_reference: string;
|
|
265
284
|
pk: boolean;
|
|
266
285
|
}[];
|
|
267
|
-
|
|
286
|
+
fathers: {
|
|
268
287
|
name: string;
|
|
269
288
|
value: {
|
|
270
289
|
type: string;
|
|
@@ -275,9 +294,10 @@ declare const _default: {
|
|
|
275
294
|
fk_reference: string;
|
|
276
295
|
pk: boolean;
|
|
277
296
|
}[];
|
|
297
|
+
childrens: never[];
|
|
278
298
|
name: string;
|
|
279
299
|
};
|
|
280
|
-
|
|
300
|
+
operacao_item: {
|
|
281
301
|
columns: ({
|
|
282
302
|
name: string;
|
|
283
303
|
value: {
|
|
@@ -299,8 +319,7 @@ declare const _default: {
|
|
|
299
319
|
fk_reference: null;
|
|
300
320
|
pk: boolean;
|
|
301
321
|
})[];
|
|
302
|
-
fathers:
|
|
303
|
-
childrens: {
|
|
322
|
+
fathers: {
|
|
304
323
|
name: string;
|
|
305
324
|
value: {
|
|
306
325
|
type: string;
|
|
@@ -311,9 +330,10 @@ declare const _default: {
|
|
|
311
330
|
fk_reference: string;
|
|
312
331
|
pk: boolean;
|
|
313
332
|
}[];
|
|
333
|
+
childrens: never[];
|
|
314
334
|
name: string;
|
|
315
335
|
};
|
|
316
|
-
|
|
336
|
+
entidade_cartao: {
|
|
317
337
|
columns: ({
|
|
318
338
|
name: string;
|
|
319
339
|
value: {
|
|
@@ -359,7 +379,7 @@ declare const _default: {
|
|
|
359
379
|
}[];
|
|
360
380
|
name: string;
|
|
361
381
|
};
|
|
362
|
-
|
|
382
|
+
atributo: {
|
|
363
383
|
columns: ({
|
|
364
384
|
name: string;
|
|
365
385
|
value: {
|
|
@@ -381,17 +401,7 @@ declare const _default: {
|
|
|
381
401
|
fk_reference: null;
|
|
382
402
|
pk: boolean;
|
|
383
403
|
})[];
|
|
384
|
-
fathers:
|
|
385
|
-
name: string;
|
|
386
|
-
value: {
|
|
387
|
-
type: string;
|
|
388
|
-
is_null: string;
|
|
389
|
-
maxlength: null;
|
|
390
|
-
};
|
|
391
|
-
fk_table: string;
|
|
392
|
-
fk_reference: string;
|
|
393
|
-
pk: boolean;
|
|
394
|
-
}[];
|
|
404
|
+
fathers: never[];
|
|
395
405
|
childrens: {
|
|
396
406
|
name: string;
|
|
397
407
|
value: {
|
|
@@ -405,7 +415,7 @@ declare const _default: {
|
|
|
405
415
|
}[];
|
|
406
416
|
name: string;
|
|
407
417
|
};
|
|
408
|
-
|
|
418
|
+
marca: {
|
|
409
419
|
columns: ({
|
|
410
420
|
name: string;
|
|
411
421
|
value: {
|
|
@@ -441,7 +451,7 @@ declare const _default: {
|
|
|
441
451
|
}[];
|
|
442
452
|
name: string;
|
|
443
453
|
};
|
|
444
|
-
|
|
454
|
+
empresa: {
|
|
445
455
|
columns: ({
|
|
446
456
|
name: string;
|
|
447
457
|
value: {
|
|
@@ -463,28 +473,8 @@ declare const _default: {
|
|
|
463
473
|
fk_reference: null;
|
|
464
474
|
pk: boolean;
|
|
465
475
|
})[];
|
|
466
|
-
fathers:
|
|
467
|
-
|
|
468
|
-
value: {
|
|
469
|
-
type: string;
|
|
470
|
-
is_null: string;
|
|
471
|
-
maxlength: null;
|
|
472
|
-
};
|
|
473
|
-
fk_table: string;
|
|
474
|
-
fk_reference: string;
|
|
475
|
-
pk: boolean;
|
|
476
|
-
}[];
|
|
477
|
-
childrens: {
|
|
478
|
-
name: string;
|
|
479
|
-
value: {
|
|
480
|
-
type: string;
|
|
481
|
-
is_null: string;
|
|
482
|
-
maxlength: null;
|
|
483
|
-
};
|
|
484
|
-
fk_table: string;
|
|
485
|
-
fk_reference: string;
|
|
486
|
-
pk: boolean;
|
|
487
|
-
}[];
|
|
476
|
+
fathers: never[];
|
|
477
|
+
childrens: never[];
|
|
488
478
|
name: string;
|
|
489
479
|
};
|
|
490
480
|
item_variacao_imagem: {
|
|
@@ -523,7 +513,7 @@ declare const _default: {
|
|
|
523
513
|
childrens: never[];
|
|
524
514
|
name: string;
|
|
525
515
|
};
|
|
526
|
-
|
|
516
|
+
operacao: {
|
|
527
517
|
columns: ({
|
|
528
518
|
name: string;
|
|
529
519
|
value: {
|
|
@@ -545,7 +535,17 @@ declare const _default: {
|
|
|
545
535
|
fk_reference: null;
|
|
546
536
|
pk: boolean;
|
|
547
537
|
})[];
|
|
548
|
-
fathers:
|
|
538
|
+
fathers: {
|
|
539
|
+
name: string;
|
|
540
|
+
value: {
|
|
541
|
+
type: string;
|
|
542
|
+
is_null: string;
|
|
543
|
+
maxlength: null;
|
|
544
|
+
};
|
|
545
|
+
fk_table: string;
|
|
546
|
+
fk_reference: string;
|
|
547
|
+
pk: boolean;
|
|
548
|
+
}[];
|
|
549
549
|
childrens: {
|
|
550
550
|
name: string;
|
|
551
551
|
value: {
|
|
@@ -3,35 +3,35 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
7
|
-
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
8
|
-
const empresa_1 = __importDefault(require("./empresa"));
|
|
9
|
-
const operacao_1 = __importDefault(require("./operacao"));
|
|
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 item_1 = __importDefault(require("./item"));
|
|
14
|
-
const atributo_1 = __importDefault(require("./atributo"));
|
|
15
6
|
const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
|
|
16
7
|
const item_variacao_1 = __importDefault(require("./item_variacao"));
|
|
8
|
+
const entidade_1 = __importDefault(require("./entidade"));
|
|
9
|
+
const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
|
|
10
|
+
const item_1 = __importDefault(require("./item"));
|
|
17
11
|
const categoria_1 = __importDefault(require("./categoria"));
|
|
12
|
+
const usuario_1 = __importDefault(require("./usuario"));
|
|
13
|
+
const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
|
|
14
|
+
const operacao_item_1 = __importDefault(require("./operacao_item"));
|
|
18
15
|
const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
|
|
19
|
-
const
|
|
16
|
+
const atributo_1 = __importDefault(require("./atributo"));
|
|
20
17
|
const marca_1 = __importDefault(require("./marca"));
|
|
18
|
+
const empresa_1 = __importDefault(require("./empresa"));
|
|
19
|
+
const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
|
|
20
|
+
const operacao_1 = __importDefault(require("./operacao"));
|
|
21
21
|
exports.default = {
|
|
22
|
-
operacao_item: operacao_item_1.default,
|
|
23
|
-
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
24
|
-
empresa: empresa_1.default,
|
|
25
|
-
operacao: operacao_1.default,
|
|
26
|
-
operacao_pagamento: operacao_pagamento_1.default,
|
|
27
|
-
entidade: entidade_1.default,
|
|
28
|
-
usuario: usuario_1.default,
|
|
29
|
-
item: item_1.default,
|
|
30
|
-
atributo: atributo_1.default,
|
|
31
22
|
entidade_endereco: entidade_endereco_1.default,
|
|
32
23
|
item_variacao: item_variacao_1.default,
|
|
24
|
+
entidade: entidade_1.default,
|
|
25
|
+
operacao_pagamento: operacao_pagamento_1.default,
|
|
26
|
+
item: item_1.default,
|
|
33
27
|
categoria: categoria_1.default,
|
|
28
|
+
usuario: usuario_1.default,
|
|
29
|
+
item_variacao_atributo: item_variacao_atributo_1.default,
|
|
30
|
+
operacao_item: operacao_item_1.default,
|
|
34
31
|
entidade_cartao: entidade_cartao_1.default,
|
|
32
|
+
atributo: atributo_1.default,
|
|
33
|
+
marca: marca_1.default,
|
|
34
|
+
empresa: empresa_1.default,
|
|
35
35
|
item_variacao_imagem: item_variacao_imagem_1.default,
|
|
36
|
-
|
|
36
|
+
operacao: operacao_1.default
|
|
37
37
|
};
|
|
@@ -244,6 +244,17 @@ exports.default = {
|
|
|
244
244
|
"fk_reference": null,
|
|
245
245
|
"pk": false
|
|
246
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"name": "empresa",
|
|
249
|
+
"value": {
|
|
250
|
+
"type": "integer",
|
|
251
|
+
"is_null": "YES",
|
|
252
|
+
"maxlength": null
|
|
253
|
+
},
|
|
254
|
+
"fk_table": null,
|
|
255
|
+
"fk_reference": null,
|
|
256
|
+
"pk": false
|
|
257
|
+
},
|
|
247
258
|
{
|
|
248
259
|
"name": "destaque",
|
|
249
260
|
"value": {
|
|
@@ -256,9 +267,20 @@ exports.default = {
|
|
|
256
267
|
"pk": false
|
|
257
268
|
},
|
|
258
269
|
{
|
|
259
|
-
"name": "
|
|
270
|
+
"name": "tempo_base",
|
|
260
271
|
"value": {
|
|
261
|
-
"type": "
|
|
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",
|
|
262
284
|
"is_null": "YES",
|
|
263
285
|
"maxlength": null
|
|
264
286
|
},
|