@be-logixpair/api 0.0.37 → 0.0.38

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 (2) hide show
  1. package/dist/index.d.ts +283 -29
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -647966,6 +647966,260 @@ declare const appRouter: BuiltRouter<{
647966
647966
  }>;
647967
647967
  }>>;
647968
647968
  }>>;
647969
+ incoterms: BuiltRouter<{
647970
+ ctx: Context;
647971
+ meta: object;
647972
+ errorShape: DefaultErrorShape;
647973
+ transformer: false;
647974
+ }, DecorateCreateRouterOptions<{
647975
+ get: MutationProcedure<{
647976
+ input: {
647977
+ search?: string | null | undefined;
647978
+ take?: number | null | undefined;
647979
+ skip?: number | null | undefined;
647980
+ is_active?: boolean[] | null | undefined;
647981
+ ids_include?: number[] | null | undefined;
647982
+ ids_exclude?: number[] | null | undefined;
647983
+ ids_string_include?: string[] | null | undefined;
647984
+ ids_string_exclude?: string[] | null | undefined;
647985
+ logic_codes_include?: string[] | null | undefined;
647986
+ logic_codes_exclude?: string[] | null | undefined;
647987
+ order_by?: {
647988
+ field: string;
647989
+ direction: "asc" | "desc";
647990
+ } | null | undefined;
647991
+ order_bys?: {
647992
+ field: string;
647993
+ direction: "asc" | "desc";
647994
+ }[] | null | undefined;
647995
+ };
647996
+ output: {
647997
+ data: {
647998
+ is_active: boolean | null;
647999
+ id: number;
648000
+ name: string | null;
648001
+ logic_code: string | null;
648002
+ created_at: Date | null;
648003
+ created_by: string | null;
648004
+ updated_at: Date | null;
648005
+ updated_by: string | null;
648006
+ description: string | null;
648007
+ code: string | null;
648008
+ }[] | undefined;
648009
+ total: number | undefined;
648010
+ };
648011
+ meta: object;
648012
+ }>;
648013
+ getDetail: MutationProcedure<{
648014
+ input: {
648015
+ id?: number | null | undefined;
648016
+ id_string?: string | null | undefined;
648017
+ };
648018
+ output: {
648019
+ data: {
648020
+ _count: {
648021
+ incoterm_logs: number;
648022
+ charge_codes: number;
648023
+ forwarding_bookings: number;
648024
+ forwarding_shipments: number;
648025
+ };
648026
+ } & {
648027
+ is_active: boolean | null;
648028
+ id: number;
648029
+ name: string | null;
648030
+ logic_code: string | null;
648031
+ created_at: Date | null;
648032
+ created_by: string | null;
648033
+ updated_at: Date | null;
648034
+ updated_by: string | null;
648035
+ description: string | null;
648036
+ code: string | null;
648037
+ };
648038
+ };
648039
+ meta: object;
648040
+ }>;
648041
+ histories: BuiltRouter<{
648042
+ ctx: Context;
648043
+ meta: object;
648044
+ errorShape: DefaultErrorShape;
648045
+ transformer: false;
648046
+ }, DecorateCreateRouterOptions<{
648047
+ get: MutationProcedure<{
648048
+ input: {
648049
+ search?: string | null | undefined;
648050
+ take?: number | null | undefined;
648051
+ skip?: number | null | undefined;
648052
+ is_active?: boolean[] | null | undefined;
648053
+ ids_include?: number[] | null | undefined;
648054
+ ids_exclude?: number[] | null | undefined;
648055
+ ids_string_include?: string[] | null | undefined;
648056
+ ids_string_exclude?: string[] | null | undefined;
648057
+ logic_codes_include?: string[] | null | undefined;
648058
+ logic_codes_exclude?: string[] | null | undefined;
648059
+ order_by?: {
648060
+ field: string;
648061
+ direction: "asc" | "desc";
648062
+ } | null | undefined;
648063
+ order_bys?: {
648064
+ field: string;
648065
+ direction: "asc" | "desc";
648066
+ }[] | null | undefined;
648067
+ id_log_type?: number | null | undefined;
648068
+ ids_log_type?: number[] | null | undefined;
648069
+ id_incoterm?: number | null | undefined;
648070
+ ids_incoterm?: number[] | null | undefined;
648071
+ };
648072
+ output: {
648073
+ data: {
648074
+ log_type: {
648075
+ is_active: boolean | null;
648076
+ id: number;
648077
+ name: string | null;
648078
+ logic_code: string | null;
648079
+ created_at: Date | null;
648080
+ created_by: string | null;
648081
+ updated_at: Date | null;
648082
+ updated_by: string | null;
648083
+ } | null;
648084
+ id: number;
648085
+ id_log_type: number | null;
648086
+ url: string | null;
648087
+ params: SimpleJson;
648088
+ action: string | null;
648089
+ action_by: string | null;
648090
+ action_id: string | null;
648091
+ action_at: Date | null;
648092
+ id_incoterm: number | null;
648093
+ }[] | undefined;
648094
+ total: number | undefined;
648095
+ };
648096
+ meta: object;
648097
+ }>;
648098
+ getDetail: MutationProcedure<{
648099
+ input: {
648100
+ id?: number | null | undefined;
648101
+ id_string?: string | null | undefined;
648102
+ };
648103
+ output: {
648104
+ data: {
648105
+ log_type: {
648106
+ is_active: boolean | null;
648107
+ id: number;
648108
+ name: string | null;
648109
+ logic_code: string | null;
648110
+ created_at: Date | null;
648111
+ created_by: string | null;
648112
+ updated_at: Date | null;
648113
+ updated_by: string | null;
648114
+ } | null;
648115
+ id: number;
648116
+ id_log_type: number | null;
648117
+ url: string | null;
648118
+ params: SimpleJson;
648119
+ action: string | null;
648120
+ action_by: string | null;
648121
+ action_id: string | null;
648122
+ action_at: Date | null;
648123
+ id_incoterm: number | null;
648124
+ } | undefined;
648125
+ };
648126
+ meta: object;
648127
+ }>;
648128
+ }>>;
648129
+ create: MutationProcedure<{
648130
+ input: {
648131
+ is_active?: boolean | undefined;
648132
+ code?: string | null | undefined;
648133
+ name?: string | null | undefined;
648134
+ description?: string | null | undefined;
648135
+ };
648136
+ output: {
648137
+ data: {
648138
+ is_active: boolean | null;
648139
+ id: number;
648140
+ name: string | null;
648141
+ logic_code: string | null;
648142
+ created_at: Date | null;
648143
+ created_by: string | null;
648144
+ updated_at: Date | null;
648145
+ updated_by: string | null;
648146
+ description: string | null;
648147
+ code: string | null;
648148
+ } | undefined;
648149
+ log: {
648150
+ id: number;
648151
+ id_log_type: number | null;
648152
+ url: string | null;
648153
+ params: SimpleJson;
648154
+ action: string | null;
648155
+ action_by: string | null;
648156
+ action_id: string | null;
648157
+ action_at: Date | null;
648158
+ id_incoterm: number | null;
648159
+ } | undefined;
648160
+ };
648161
+ meta: object;
648162
+ }>;
648163
+ update: MutationProcedure<{
648164
+ input: {
648165
+ id?: number | null | undefined;
648166
+ id_string?: string | null | undefined;
648167
+ is_active?: boolean | undefined;
648168
+ code?: string | null | undefined;
648169
+ name?: string | null | undefined;
648170
+ description?: string | null | undefined;
648171
+ };
648172
+ output: {
648173
+ data: {
648174
+ is_active: boolean | null;
648175
+ id: number;
648176
+ name: string | null;
648177
+ logic_code: string | null;
648178
+ created_at: Date | null;
648179
+ created_by: string | null;
648180
+ updated_at: Date | null;
648181
+ updated_by: string | null;
648182
+ description: string | null;
648183
+ code: string | null;
648184
+ } | undefined;
648185
+ log: {
648186
+ id: number;
648187
+ id_log_type: number | null;
648188
+ url: string | null;
648189
+ params: SimpleJson;
648190
+ action: string | null;
648191
+ action_by: string | null;
648192
+ action_id: string | null;
648193
+ action_at: Date | null;
648194
+ id_incoterm: number | null;
648195
+ } | undefined;
648196
+ };
648197
+ meta: object;
648198
+ }>;
648199
+ delete: MutationProcedure<{
648200
+ input: {
648201
+ id?: number | null | undefined;
648202
+ ids?: number[] | null | undefined;
648203
+ id_string?: string | null | undefined;
648204
+ ids_string?: string[] | null | undefined;
648205
+ };
648206
+ output: {
648207
+ data: ({
648208
+ is_active: boolean | null;
648209
+ id: number;
648210
+ name: string | null;
648211
+ logic_code: string | null;
648212
+ created_at: Date | null;
648213
+ created_by: string | null;
648214
+ updated_at: Date | null;
648215
+ updated_by: string | null;
648216
+ description: string | null;
648217
+ code: string | null;
648218
+ } | undefined)[] | undefined;
648219
+ };
648220
+ meta: object;
648221
+ }>;
648222
+ }>>;
647969
648223
  commodities: BuiltRouter<{
647970
648224
  ctx: Context;
647971
648225
  meta: object;
@@ -652903,6 +653157,18 @@ declare const appRouter: BuiltRouter<{
652903
653157
  updated_by: string | null;
652904
653158
  code: string | null;
652905
653159
  } | null;
653160
+ incoterm: {
653161
+ is_active: boolean | null;
653162
+ id: number;
653163
+ name: string | null;
653164
+ logic_code: string | null;
653165
+ created_at: Date | null;
653166
+ created_by: string | null;
653167
+ updated_at: Date | null;
653168
+ updated_by: string | null;
653169
+ description: string | null;
653170
+ code: string | null;
653171
+ } | null;
652906
653172
  department: {
652907
653173
  is_active: boolean | null;
652908
653174
  id: number;
@@ -653077,18 +653343,6 @@ declare const appRouter: BuiltRouter<{
653077
653343
  updated_by: string | null;
653078
653344
  code: string | null;
653079
653345
  } | null;
653080
- incoterm: {
653081
- is_active: boolean | null;
653082
- id: number;
653083
- name: string | null;
653084
- logic_code: string | null;
653085
- created_at: Date | null;
653086
- created_by: string | null;
653087
- updated_at: Date | null;
653088
- updated_by: string | null;
653089
- description: string | null;
653090
- code: string | null;
653091
- } | null;
653092
653346
  } & {
653093
653347
  is_active: boolean | null;
653094
653348
  id: number;
@@ -653100,6 +653354,7 @@ declare const appRouter: BuiltRouter<{
653100
653354
  updated_by: string | null;
653101
653355
  code: string | null;
653102
653356
  id_type: number | null;
653357
+ id_incoterm: number | null;
653103
653358
  id_wht_type: number | null;
653104
653359
  id_tax_rate: number | null;
653105
653360
  id_sales_group: number | null;
@@ -653108,7 +653363,6 @@ declare const appRouter: BuiltRouter<{
653108
653363
  id_sub_group: number | null;
653109
653364
  id_department: number | null;
653110
653365
  id_rate_calculation: number | null;
653111
- id_incoterm: number | null;
653112
653366
  id_revenue: number | null;
653113
653367
  id_wip: number | null;
653114
653368
  id_cost: number | null;
@@ -653177,6 +653431,18 @@ declare const appRouter: BuiltRouter<{
653177
653431
  updated_by: string | null;
653178
653432
  code: string | null;
653179
653433
  } | null;
653434
+ incoterm: {
653435
+ is_active: boolean | null;
653436
+ id: number;
653437
+ name: string | null;
653438
+ logic_code: string | null;
653439
+ created_at: Date | null;
653440
+ created_by: string | null;
653441
+ updated_at: Date | null;
653442
+ updated_by: string | null;
653443
+ description: string | null;
653444
+ code: string | null;
653445
+ } | null;
653180
653446
  department: {
653181
653447
  is_active: boolean | null;
653182
653448
  id: number;
@@ -653351,18 +653617,6 @@ declare const appRouter: BuiltRouter<{
653351
653617
  updated_by: string | null;
653352
653618
  code: string | null;
653353
653619
  } | null;
653354
- incoterm: {
653355
- is_active: boolean | null;
653356
- id: number;
653357
- name: string | null;
653358
- logic_code: string | null;
653359
- created_at: Date | null;
653360
- created_by: string | null;
653361
- updated_at: Date | null;
653362
- updated_by: string | null;
653363
- description: string | null;
653364
- code: string | null;
653365
- } | null;
653366
653620
  } & {
653367
653621
  is_active: boolean | null;
653368
653622
  id: number;
@@ -653374,6 +653628,7 @@ declare const appRouter: BuiltRouter<{
653374
653628
  updated_by: string | null;
653375
653629
  code: string | null;
653376
653630
  id_type: number | null;
653631
+ id_incoterm: number | null;
653377
653632
  id_wht_type: number | null;
653378
653633
  id_tax_rate: number | null;
653379
653634
  id_sales_group: number | null;
@@ -653382,7 +653637,6 @@ declare const appRouter: BuiltRouter<{
653382
653637
  id_sub_group: number | null;
653383
653638
  id_department: number | null;
653384
653639
  id_rate_calculation: number | null;
653385
- id_incoterm: number | null;
653386
653640
  id_revenue: number | null;
653387
653641
  id_wip: number | null;
653388
653642
  id_cost: number | null;
@@ -653521,6 +653775,7 @@ declare const appRouter: BuiltRouter<{
653521
653775
  updated_by: string | null;
653522
653776
  code: string | null;
653523
653777
  id_type: number | null;
653778
+ id_incoterm: number | null;
653524
653779
  id_wht_type: number | null;
653525
653780
  id_tax_rate: number | null;
653526
653781
  id_sales_group: number | null;
@@ -653529,7 +653784,6 @@ declare const appRouter: BuiltRouter<{
653529
653784
  id_sub_group: number | null;
653530
653785
  id_department: number | null;
653531
653786
  id_rate_calculation: number | null;
653532
- id_incoterm: number | null;
653533
653787
  id_revenue: number | null;
653534
653788
  id_wip: number | null;
653535
653789
  id_cost: number | null;
@@ -653593,6 +653847,7 @@ declare const appRouter: BuiltRouter<{
653593
653847
  updated_by: string | null;
653594
653848
  code: string | null;
653595
653849
  id_type: number | null;
653850
+ id_incoterm: number | null;
653596
653851
  id_wht_type: number | null;
653597
653852
  id_tax_rate: number | null;
653598
653853
  id_sales_group: number | null;
@@ -653601,7 +653856,6 @@ declare const appRouter: BuiltRouter<{
653601
653856
  id_sub_group: number | null;
653602
653857
  id_department: number | null;
653603
653858
  id_rate_calculation: number | null;
653604
- id_incoterm: number | null;
653605
653859
  id_revenue: number | null;
653606
653860
  id_wip: number | null;
653607
653861
  id_cost: number | null;
@@ -653645,6 +653899,7 @@ declare const appRouter: BuiltRouter<{
653645
653899
  updated_by: string | null;
653646
653900
  code: string | null;
653647
653901
  id_type: number | null;
653902
+ id_incoterm: number | null;
653648
653903
  id_wht_type: number | null;
653649
653904
  id_tax_rate: number | null;
653650
653905
  id_sales_group: number | null;
@@ -653653,7 +653908,6 @@ declare const appRouter: BuiltRouter<{
653653
653908
  id_sub_group: number | null;
653654
653909
  id_department: number | null;
653655
653910
  id_rate_calculation: number | null;
653656
- id_incoterm: number | null;
653657
653911
  id_revenue: number | null;
653658
653912
  id_wip: number | null;
653659
653913
  id_cost: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {