pg-manipulator 1.0.51 → 1.0.52

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.
@@ -1,5 +1,5 @@
1
1
  export type entidade_cartao_fields = {
2
- id_entidade_cartao?: number;
2
+ id?: number;
3
3
  last_numbers: string;
4
4
  brand: string;
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  export type entidade_cartao_order = {
2
- id_entidade_cartao?: 'desc' | 'asc';
2
+ id?: 'desc' | 'asc';
3
3
  last_numbers?: 'desc' | 'asc';
4
4
  brand?: 'desc' | 'asc';
5
5
  name?: 'desc' | 'asc';
@@ -1,7 +1,7 @@
1
1
  import { entidade_cartao_where } from './entidade_cartao_where';
2
2
  import { entidade_cartao_order } from './entidade_cartao_order';
3
3
  export type entidade_cartao_select = {
4
- id_entidade_cartao?: number;
4
+ id?: number;
5
5
  last_numbers?: string;
6
6
  brand?: string;
7
7
  name?: string;
@@ -1,6 +1,6 @@
1
1
  import { entidade_cartao_where } from './entidade_cartao_where';
2
2
  export type entidade_cartao_update = {
3
- id_entidade_cartao?: number;
3
+ id?: number;
4
4
  last_numbers?: string;
5
5
  brand?: string;
6
6
  name?: string;
@@ -1,6 +1,6 @@
1
1
  import { where_number, where_string } from '../';
2
2
  export type entidade_cartao_where = {
3
- id_entidade_cartao?: where_number | number;
3
+ id?: where_number | number;
4
4
  last_numbers?: where_string | string;
5
5
  brand?: where_string | string;
6
6
  name?: where_string | string;
@@ -20,4 +20,6 @@ export type operacao_fields = {
20
20
  tipo_impressao?: string;
21
21
  tipo_proposito?: string;
22
22
  indicador_presenca?: string;
23
+ frete?: any;
24
+ etiquetas?: any;
23
25
  };
@@ -20,4 +20,6 @@ export type operacao_order = {
20
20
  tipo_impressao?: 'desc' | 'asc';
21
21
  tipo_proposito?: 'desc' | 'asc';
22
22
  indicador_presenca?: 'desc' | 'asc';
23
+ frete?: 'desc' | 'asc';
24
+ etiquetas?: 'desc' | 'asc';
23
25
  };
@@ -1,9 +1,8 @@
1
1
  export type operacao_pagamento_fields = {
2
2
  id?: number;
3
+ entidade_cartao?: number;
3
4
  operacao: number;
4
5
  tipo: string;
5
- bandeira?: string;
6
6
  valor: number;
7
7
  txid?: string;
8
- integracao?: string;
9
8
  };
@@ -1,9 +1,8 @@
1
1
  export type operacao_pagamento_order = {
2
2
  id?: 'desc' | 'asc';
3
+ entidade_cartao?: 'desc' | 'asc';
3
4
  operacao?: 'desc' | 'asc';
4
5
  tipo?: 'desc' | 'asc';
5
- bandeira?: 'desc' | 'asc';
6
6
  valor?: 'desc' | 'asc';
7
7
  txid?: 'desc' | 'asc';
8
- integracao?: 'desc' | 'asc';
9
8
  };
@@ -2,12 +2,11 @@ import { operacao_pagamento_where } from './operacao_pagamento_where';
2
2
  import { operacao_pagamento_order } from './operacao_pagamento_order';
3
3
  export type operacao_pagamento_select = {
4
4
  id?: number;
5
+ entidade_cartao?: number;
5
6
  operacao?: number;
6
7
  tipo?: string;
7
- bandeira?: string;
8
8
  valor?: number;
9
9
  txid?: string;
10
- integracao?: string;
11
10
  where: operacao_pagamento_where;
12
11
  order?: operacao_pagamento_order;
13
12
  };
@@ -1,11 +1,10 @@
1
1
  import { operacao_pagamento_where } from './operacao_pagamento_where';
2
2
  export type operacao_pagamento_update = {
3
3
  id?: number;
4
+ entidade_cartao?: number;
4
5
  operacao?: number;
5
6
  tipo?: string;
6
- bandeira?: string;
7
7
  valor?: number;
8
8
  txid?: string;
9
- integracao?: string;
10
9
  where: operacao_pagamento_where;
11
10
  };
@@ -1,10 +1,9 @@
1
1
  import { where_number, where_string } from '../';
2
2
  export type operacao_pagamento_where = {
3
3
  id?: where_number | number;
4
+ entidade_cartao?: where_number | number;
4
5
  operacao?: where_number | number;
5
6
  tipo?: where_string | string;
6
- bandeira?: where_string | string;
7
7
  valor?: where_number | number;
8
8
  txid?: where_string | string;
9
- integracao?: where_string | string;
10
9
  };
@@ -22,6 +22,8 @@ export type operacao_select = {
22
22
  tipo_impressao?: string;
23
23
  tipo_proposito?: string;
24
24
  indicador_presenca?: string;
25
+ frete?: any;
26
+ etiquetas?: any;
25
27
  where: operacao_where;
26
28
  order?: operacao_order;
27
29
  };
@@ -21,5 +21,7 @@ export type operacao_update = {
21
21
  tipo_impressao?: string;
22
22
  tipo_proposito?: string;
23
23
  indicador_presenca?: string;
24
+ frete?: any;
25
+ etiquetas?: any;
24
26
  where: operacao_where;
25
27
  };
@@ -21,4 +21,6 @@ export type operacao_where = {
21
21
  tipo_impressao?: where_string | string;
22
22
  tipo_proposito?: where_string | string;
23
23
  indicador_presenca?: where_string | string;
24
+ frete?: any;
25
+ etiquetas?: any;
24
26
  };
@@ -1,37 +1,37 @@
1
1
  import { PoolClient } from 'pg';
2
2
  import { pool_tsx } from '../../@types';
3
- import item_variacao_imagem from './item_variacao_imagem';
4
- import empresa from './empresa';
5
- import entidade_endereco from './entidade_endereco';
6
- import entidade_cartao from './entidade_cartao';
7
- import operacao from './operacao';
8
- import operacao_pagamento from './operacao_pagamento';
9
- import operacao_item from './operacao_item';
10
- import item from './item';
3
+ import entidade from './entidade';
11
4
  import item_variacao from './item_variacao';
5
+ import operacao_pagamento from './operacao_pagamento';
12
6
  import categoria from './categoria';
13
- import entidade from './entidade';
14
- import usuario from './usuario';
7
+ import operacao from './operacao';
15
8
  import item_variacao_atributo from './item_variacao_atributo';
16
- import marca from './marca';
9
+ import entidade_cartao from './entidade_cartao';
17
10
  import atributo from './atributo';
11
+ import operacao_item from './operacao_item';
12
+ import entidade_endereco from './entidade_endereco';
13
+ import item_variacao_imagem from './item_variacao_imagem';
14
+ import marca from './marca';
15
+ import empresa from './empresa';
16
+ import usuario from './usuario';
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
- item_variacao_imagem: typeof item_variacao_imagem;
22
- empresa: typeof empresa;
23
- entidade_endereco: typeof entidade_endereco;
24
- entidade_cartao: typeof entidade_cartao;
25
- operacao: typeof operacao;
26
- operacao_pagamento: typeof operacao_pagamento;
27
- operacao_item: typeof operacao_item;
28
- item: typeof item;
21
+ entidade: typeof entidade;
29
22
  item_variacao: typeof item_variacao;
23
+ operacao_pagamento: typeof operacao_pagamento;
30
24
  categoria: typeof categoria;
31
- entidade: typeof entidade;
32
- usuario: typeof usuario;
25
+ operacao: typeof operacao;
33
26
  item_variacao_atributo: typeof item_variacao_atributo;
34
- marca: typeof marca;
27
+ entidade_cartao: typeof entidade_cartao;
35
28
  atributo: typeof atributo;
29
+ operacao_item: typeof operacao_item;
30
+ entidade_endereco: typeof entidade_endereco;
31
+ item_variacao_imagem: typeof item_variacao_imagem;
32
+ marca: typeof marca;
33
+ empresa: typeof empresa;
34
+ usuario: typeof usuario;
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 item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
8
- const empresa_1 = __importDefault(require("./empresa"));
9
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
10
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
11
- const operacao_1 = __importDefault(require("./operacao"));
12
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
13
- const operacao_item_1 = __importDefault(require("./operacao_item"));
14
- const item_1 = __importDefault(require("./item"));
7
+ const entidade_1 = __importDefault(require("./entidade"));
15
8
  const item_variacao_1 = __importDefault(require("./item_variacao"));
9
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
16
10
  const categoria_1 = __importDefault(require("./categoria"));
17
- const entidade_1 = __importDefault(require("./entidade"));
18
- const usuario_1 = __importDefault(require("./usuario"));
11
+ const operacao_1 = __importDefault(require("./operacao"));
19
12
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
20
- const marca_1 = __importDefault(require("./marca"));
13
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
21
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
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
18
+ const marca_1 = __importDefault(require("./marca"));
19
+ const empresa_1 = __importDefault(require("./empresa"));
20
+ const usuario_1 = __importDefault(require("./usuario"));
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
- item_variacao_imagem: item_variacao_imagem_1.default,
30
- empresa: empresa_1.default,
31
- entidade_endereco: entidade_endereco_1.default,
32
- entidade_cartao: entidade_cartao_1.default,
33
- operacao: operacao_1.default,
34
- operacao_pagamento: operacao_pagamento_1.default,
35
- operacao_item: operacao_item_1.default,
36
- item: item_1.default,
29
+ entidade: entidade_1.default,
37
30
  item_variacao: item_variacao_1.default,
31
+ operacao_pagamento: operacao_pagamento_1.default,
38
32
  categoria: categoria_1.default,
39
- entidade: entidade_1.default,
40
- usuario: usuario_1.default,
33
+ operacao: operacao_1.default,
41
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
+ item_variacao_imagem: item_variacao_imagem_1.default,
42
40
  marca: marca_1.default,
43
- atributo: atributo_1.default
41
+ empresa: empresa_1.default,
42
+ usuario: usuario_1.default,
43
+ item: item_1.default
44
44
  };
@@ -127,10 +127,10 @@ exports.default = {
127
127
  "pk": false
128
128
  },
129
129
  {
130
- "name": "id_entidade",
130
+ "name": "transportadora",
131
131
  "value": {
132
132
  "type": "integer",
133
- "is_null": "NO",
133
+ "is_null": "YES",
134
134
  "maxlength": null
135
135
  },
136
136
  "fk_table": "entidade",
@@ -138,10 +138,10 @@ exports.default = {
138
138
  "pk": false
139
139
  },
140
140
  {
141
- "name": "transportadora",
141
+ "name": "id_entidade",
142
142
  "value": {
143
143
  "type": "integer",
144
- "is_null": "YES",
144
+ "is_null": "NO",
145
145
  "maxlength": null
146
146
  },
147
147
  "fk_table": "entidade",
@@ -31,7 +31,17 @@ declare const _default: {
31
31
  fk_reference: string;
32
32
  pk: boolean;
33
33
  }[];
34
- childrens: never[];
34
+ childrens: {
35
+ name: string;
36
+ value: {
37
+ type: string;
38
+ is_null: string;
39
+ maxlength: null;
40
+ };
41
+ fk_table: string;
42
+ fk_reference: string;
43
+ pk: boolean;
44
+ }[];
35
45
  name: string;
36
46
  };
37
47
  export default _default;
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  "columns": [
5
5
  {
6
- "name": "id_entidade_cartao",
6
+ "name": "id",
7
7
  "value": {
8
8
  "type": "integer",
9
9
  "is_null": "YES",
10
10
  "maxlength": null
11
11
  },
12
12
  "fk_table": "entidade_cartao",
13
- "fk_reference": "id_entidade_cartao",
13
+ "fk_reference": "id",
14
14
  "pk": true
15
15
  },
16
16
  {
@@ -82,6 +82,18 @@ exports.default = {
82
82
  "pk": false
83
83
  }
84
84
  ],
85
- "childrens": [],
85
+ "childrens": [
86
+ {
87
+ "name": "entidade_cartao",
88
+ "value": {
89
+ "type": "integer",
90
+ "is_null": "YES",
91
+ "maxlength": null
92
+ },
93
+ "fk_table": "entidade_cartao",
94
+ "fk_reference": "id",
95
+ "pk": false
96
+ }
97
+ ],
86
98
  "name": "entidade_cartao"
87
99
  };
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- item_variacao_imagem: {
2
+ entidade: {
3
3
  columns: ({
4
4
  name: string;
5
5
  value: {
@@ -21,7 +21,8 @@ declare const _default: {
21
21
  fk_reference: null;
22
22
  pk: boolean;
23
23
  })[];
24
- fathers: {
24
+ fathers: never[];
25
+ childrens: {
25
26
  name: string;
26
27
  value: {
27
28
  type: string;
@@ -32,10 +33,9 @@ declare const _default: {
32
33
  fk_reference: string;
33
34
  pk: boolean;
34
35
  }[];
35
- childrens: never[];
36
36
  name: string;
37
37
  };
38
- empresa: {
38
+ item_variacao: {
39
39
  columns: ({
40
40
  name: string;
41
41
  value: {
@@ -57,12 +57,7 @@ declare const _default: {
57
57
  fk_reference: null;
58
58
  pk: boolean;
59
59
  })[];
60
- fathers: never[];
61
- childrens: never[];
62
- name: string;
63
- };
64
- entidade_endereco: {
65
- columns: ({
60
+ fathers: {
66
61
  name: string;
67
62
  value: {
68
63
  type: string;
@@ -72,18 +67,8 @@ declare const _default: {
72
67
  fk_table: string;
73
68
  fk_reference: string;
74
69
  pk: boolean;
75
- } | {
76
- name: string;
77
- value: {
78
- type: string;
79
- is_null: string;
80
- maxlength: null;
81
- };
82
- fk_table: null;
83
- fk_reference: null;
84
- pk: boolean;
85
- })[];
86
- fathers: {
70
+ }[];
71
+ childrens: {
87
72
  name: string;
88
73
  value: {
89
74
  type: string;
@@ -94,10 +79,9 @@ declare const _default: {
94
79
  fk_reference: string;
95
80
  pk: boolean;
96
81
  }[];
97
- childrens: never[];
98
82
  name: string;
99
83
  };
100
- entidade_cartao: {
84
+ operacao_pagamento: {
101
85
  columns: ({
102
86
  name: string;
103
87
  value: {
@@ -133,7 +117,7 @@ declare const _default: {
133
117
  childrens: never[];
134
118
  name: string;
135
119
  };
136
- operacao: {
120
+ categoria: {
137
121
  columns: ({
138
122
  name: string;
139
123
  value: {
@@ -155,17 +139,7 @@ declare const _default: {
155
139
  fk_reference: null;
156
140
  pk: boolean;
157
141
  })[];
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
- }[];
142
+ fathers: never[];
169
143
  childrens: {
170
144
  name: string;
171
145
  value: {
@@ -179,7 +153,7 @@ declare const _default: {
179
153
  }[];
180
154
  name: string;
181
155
  };
182
- operacao_pagamento: {
156
+ operacao: {
183
157
  columns: ({
184
158
  name: string;
185
159
  value: {
@@ -212,11 +186,7 @@ declare const _default: {
212
186
  fk_reference: string;
213
187
  pk: boolean;
214
188
  }[];
215
- childrens: never[];
216
- name: string;
217
- };
218
- operacao_item: {
219
- columns: ({
189
+ childrens: {
220
190
  name: string;
221
191
  value: {
222
192
  type: string;
@@ -226,17 +196,21 @@ declare const _default: {
226
196
  fk_table: string;
227
197
  fk_reference: string;
228
198
  pk: boolean;
229
- } | {
199
+ }[];
200
+ name: string;
201
+ };
202
+ item_variacao_atributo: {
203
+ columns: {
230
204
  name: string;
231
205
  value: {
232
206
  type: string;
233
207
  is_null: string;
234
208
  maxlength: null;
235
209
  };
236
- fk_table: null;
237
- fk_reference: null;
210
+ fk_table: string;
211
+ fk_reference: string;
238
212
  pk: boolean;
239
- })[];
213
+ }[];
240
214
  fathers: {
241
215
  name: string;
242
216
  value: {
@@ -251,7 +225,7 @@ declare const _default: {
251
225
  childrens: never[];
252
226
  name: string;
253
227
  };
254
- item: {
228
+ entidade_cartao: {
255
229
  columns: ({
256
230
  name: string;
257
231
  value: {
@@ -297,7 +271,7 @@ declare const _default: {
297
271
  }[];
298
272
  name: string;
299
273
  };
300
- item_variacao: {
274
+ atributo: {
301
275
  columns: ({
302
276
  name: string;
303
277
  value: {
@@ -319,17 +293,7 @@ declare const _default: {
319
293
  fk_reference: null;
320
294
  pk: boolean;
321
295
  })[];
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
- }[];
296
+ fathers: never[];
333
297
  childrens: {
334
298
  name: string;
335
299
  value: {
@@ -343,7 +307,7 @@ declare const _default: {
343
307
  }[];
344
308
  name: string;
345
309
  };
346
- categoria: {
310
+ operacao_item: {
347
311
  columns: ({
348
312
  name: string;
349
313
  value: {
@@ -365,8 +329,7 @@ declare const _default: {
365
329
  fk_reference: null;
366
330
  pk: boolean;
367
331
  })[];
368
- fathers: never[];
369
- childrens: {
332
+ fathers: {
370
333
  name: string;
371
334
  value: {
372
335
  type: string;
@@ -377,9 +340,10 @@ declare const _default: {
377
340
  fk_reference: string;
378
341
  pk: boolean;
379
342
  }[];
343
+ childrens: never[];
380
344
  name: string;
381
345
  };
382
- entidade: {
346
+ entidade_endereco: {
383
347
  columns: ({
384
348
  name: string;
385
349
  value: {
@@ -401,8 +365,7 @@ declare const _default: {
401
365
  fk_reference: null;
402
366
  pk: boolean;
403
367
  })[];
404
- fathers: never[];
405
- childrens: {
368
+ fathers: {
406
369
  name: string;
407
370
  value: {
408
371
  type: string;
@@ -413,9 +376,10 @@ declare const _default: {
413
376
  fk_reference: string;
414
377
  pk: boolean;
415
378
  }[];
379
+ childrens: never[];
416
380
  name: string;
417
381
  };
418
- usuario: {
382
+ item_variacao_imagem: {
419
383
  columns: ({
420
384
  name: string;
421
385
  value: {
@@ -437,12 +401,22 @@ declare const _default: {
437
401
  fk_reference: null;
438
402
  pk: boolean;
439
403
  })[];
440
- fathers: never[];
404
+ fathers: {
405
+ name: string;
406
+ value: {
407
+ type: string;
408
+ is_null: string;
409
+ maxlength: null;
410
+ };
411
+ fk_table: string;
412
+ fk_reference: string;
413
+ pk: boolean;
414
+ }[];
441
415
  childrens: never[];
442
416
  name: string;
443
417
  };
444
- item_variacao_atributo: {
445
- columns: {
418
+ marca: {
419
+ columns: ({
446
420
  name: string;
447
421
  value: {
448
422
  type: string;
@@ -452,8 +426,19 @@ declare const _default: {
452
426
  fk_table: string;
453
427
  fk_reference: string;
454
428
  pk: boolean;
455
- }[];
456
- fathers: {
429
+ } | {
430
+ name: string;
431
+ value: {
432
+ type: string;
433
+ is_null: string;
434
+ maxlength: null;
435
+ };
436
+ fk_table: null;
437
+ fk_reference: null;
438
+ pk: boolean;
439
+ })[];
440
+ fathers: never[];
441
+ childrens: {
457
442
  name: string;
458
443
  value: {
459
444
  type: string;
@@ -464,10 +449,9 @@ declare const _default: {
464
449
  fk_reference: string;
465
450
  pk: boolean;
466
451
  }[];
467
- childrens: never[];
468
452
  name: string;
469
453
  };
470
- marca: {
454
+ empresa: {
471
455
  columns: ({
472
456
  name: string;
473
457
  value: {
@@ -490,7 +474,11 @@ declare const _default: {
490
474
  pk: boolean;
491
475
  })[];
492
476
  fathers: never[];
493
- childrens: {
477
+ childrens: never[];
478
+ name: string;
479
+ };
480
+ usuario: {
481
+ columns: ({
494
482
  name: string;
495
483
  value: {
496
484
  type: string;
@@ -500,10 +488,22 @@ declare const _default: {
500
488
  fk_table: string;
501
489
  fk_reference: string;
502
490
  pk: boolean;
503
- }[];
491
+ } | {
492
+ name: string;
493
+ value: {
494
+ type: string;
495
+ is_null: string;
496
+ maxlength: null;
497
+ };
498
+ fk_table: null;
499
+ fk_reference: null;
500
+ pk: boolean;
501
+ })[];
502
+ fathers: never[];
503
+ childrens: never[];
504
504
  name: string;
505
505
  };
506
- atributo: {
506
+ item: {
507
507
  columns: ({
508
508
  name: string;
509
509
  value: {
@@ -525,7 +525,17 @@ declare const _default: {
525
525
  fk_reference: null;
526
526
  pk: boolean;
527
527
  })[];
528
- fathers: never[];
528
+ fathers: {
529
+ name: string;
530
+ value: {
531
+ type: string;
532
+ is_null: string;
533
+ maxlength: null;
534
+ };
535
+ fk_table: string;
536
+ fk_reference: string;
537
+ pk: boolean;
538
+ }[];
529
539
  childrens: {
530
540
  name: string;
531
541
  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 item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
7
- const empresa_1 = __importDefault(require("./empresa"));
8
- const entidade_endereco_1 = __importDefault(require("./entidade_endereco"));
9
- const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
10
- const operacao_1 = __importDefault(require("./operacao"));
11
- const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
12
- const operacao_item_1 = __importDefault(require("./operacao_item"));
13
- const item_1 = __importDefault(require("./item"));
6
+ const entidade_1 = __importDefault(require("./entidade"));
14
7
  const item_variacao_1 = __importDefault(require("./item_variacao"));
8
+ const operacao_pagamento_1 = __importDefault(require("./operacao_pagamento"));
15
9
  const categoria_1 = __importDefault(require("./categoria"));
16
- const entidade_1 = __importDefault(require("./entidade"));
17
- const usuario_1 = __importDefault(require("./usuario"));
10
+ const operacao_1 = __importDefault(require("./operacao"));
18
11
  const item_variacao_atributo_1 = __importDefault(require("./item_variacao_atributo"));
19
- const marca_1 = __importDefault(require("./marca"));
12
+ const entidade_cartao_1 = __importDefault(require("./entidade_cartao"));
20
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
+ const item_variacao_imagem_1 = __importDefault(require("./item_variacao_imagem"));
17
+ const marca_1 = __importDefault(require("./marca"));
18
+ const empresa_1 = __importDefault(require("./empresa"));
19
+ const usuario_1 = __importDefault(require("./usuario"));
20
+ const item_1 = __importDefault(require("./item"));
21
21
  exports.default = {
22
- item_variacao_imagem: item_variacao_imagem_1.default,
23
- empresa: empresa_1.default,
24
- entidade_endereco: entidade_endereco_1.default,
25
- entidade_cartao: entidade_cartao_1.default,
26
- operacao: operacao_1.default,
27
- operacao_pagamento: operacao_pagamento_1.default,
28
- operacao_item: operacao_item_1.default,
29
- item: item_1.default,
22
+ entidade: entidade_1.default,
30
23
  item_variacao: item_variacao_1.default,
24
+ operacao_pagamento: operacao_pagamento_1.default,
31
25
  categoria: categoria_1.default,
32
- entidade: entidade_1.default,
33
- usuario: usuario_1.default,
26
+ operacao: operacao_1.default,
34
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
+ item_variacao_imagem: item_variacao_imagem_1.default,
35
33
  marca: marca_1.default,
36
- atributo: atributo_1.default
34
+ empresa: empresa_1.default,
35
+ usuario: usuario_1.default,
36
+ item: item_1.default
37
37
  };
@@ -232,6 +232,28 @@ exports.default = {
232
232
  "fk_table": null,
233
233
  "fk_reference": null,
234
234
  "pk": false
235
+ },
236
+ {
237
+ "name": "frete",
238
+ "value": {
239
+ "type": "json",
240
+ "is_null": "YES",
241
+ "maxlength": null
242
+ },
243
+ "fk_table": null,
244
+ "fk_reference": null,
245
+ "pk": false
246
+ },
247
+ {
248
+ "name": "etiquetas",
249
+ "value": {
250
+ "type": "json",
251
+ "is_null": "YES",
252
+ "maxlength": null
253
+ },
254
+ "fk_table": null,
255
+ "fk_reference": null,
256
+ "pk": false
235
257
  }
236
258
  ],
237
259
  "fathers": [
@@ -14,32 +14,32 @@ exports.default = {
14
14
  "pk": true
15
15
  },
16
16
  {
17
- "name": "operacao",
17
+ "name": "entidade_cartao",
18
18
  "value": {
19
19
  "type": "integer",
20
- "is_null": "NO",
20
+ "is_null": "YES",
21
21
  "maxlength": null
22
22
  },
23
- "fk_table": "operacao",
23
+ "fk_table": "entidade_cartao",
24
24
  "fk_reference": "id",
25
25
  "pk": false
26
26
  },
27
27
  {
28
- "name": "tipo",
28
+ "name": "operacao",
29
29
  "value": {
30
- "type": "character varying",
30
+ "type": "integer",
31
31
  "is_null": "NO",
32
32
  "maxlength": null
33
33
  },
34
- "fk_table": null,
35
- "fk_reference": null,
34
+ "fk_table": "operacao",
35
+ "fk_reference": "id",
36
36
  "pk": false
37
37
  },
38
38
  {
39
- "name": "bandeira",
39
+ "name": "tipo",
40
40
  "value": {
41
41
  "type": "character varying",
42
- "is_null": "YES",
42
+ "is_null": "NO",
43
43
  "maxlength": null
44
44
  },
45
45
  "fk_table": null,
@@ -67,20 +67,20 @@ exports.default = {
67
67
  "fk_table": null,
68
68
  "fk_reference": null,
69
69
  "pk": false
70
- },
70
+ }
71
+ ],
72
+ "fathers": [
71
73
  {
72
- "name": "integracao",
74
+ "name": "entidade_cartao",
73
75
  "value": {
74
- "type": "character varying",
76
+ "type": "integer",
75
77
  "is_null": "YES",
76
78
  "maxlength": null
77
79
  },
78
- "fk_table": null,
79
- "fk_reference": null,
80
+ "fk_table": "entidade_cartao",
81
+ "fk_reference": "id",
80
82
  "pk": false
81
- }
82
- ],
83
- "fathers": [
83
+ },
84
84
  {
85
85
  "name": "operacao",
86
86
  "value": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pg-manipulator",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "postgresql database handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",