@be-logixpair/api 0.0.21 → 0.0.22

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 +245 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -644068,6 +644068,251 @@ declare const appRouter: BuiltRouter<{
644068
644068
  meta: object;
644069
644069
  }>;
644070
644070
  }>>;
644071
+ dgExceptedQuantityRouter: BuiltRouter<{
644072
+ ctx: Context;
644073
+ meta: object;
644074
+ errorShape: DefaultErrorShape;
644075
+ transformer: false;
644076
+ }, DecorateCreateRouterOptions<{
644077
+ get: MutationProcedure<{
644078
+ input: {
644079
+ search?: string | null | undefined;
644080
+ take?: number | null | undefined;
644081
+ skip?: number | null | undefined;
644082
+ is_active?: boolean[] | null | undefined;
644083
+ ids_include?: number[] | null | undefined;
644084
+ ids_exclude?: number[] | null | undefined;
644085
+ ids_string_include?: string[] | null | undefined;
644086
+ ids_string_exclude?: string[] | null | undefined;
644087
+ logic_codes_include?: string[] | null | undefined;
644088
+ logic_codes_exclude?: string[] | null | undefined;
644089
+ order_by?: {
644090
+ field: string;
644091
+ direction: "asc" | "desc";
644092
+ } | null | undefined;
644093
+ order_bys?: {
644094
+ field: string;
644095
+ direction: "asc" | "desc";
644096
+ }[] | null | undefined;
644097
+ };
644098
+ output: {
644099
+ data: {
644100
+ is_active: boolean | null;
644101
+ id: number;
644102
+ name: string | null;
644103
+ logic_code: string | null;
644104
+ created_at: Date | null;
644105
+ created_by: string | null;
644106
+ updated_at: Date | null;
644107
+ updated_by: string | null;
644108
+ code: string | null;
644109
+ }[] | undefined;
644110
+ total: number | undefined;
644111
+ };
644112
+ meta: object;
644113
+ }>;
644114
+ getDetail: MutationProcedure<{
644115
+ input: {
644116
+ id?: number | null | undefined;
644117
+ id_string?: string | null | undefined;
644118
+ };
644119
+ output: {
644120
+ data: {
644121
+ _count: {
644122
+ dangerous_goods: number;
644123
+ dg_excepted_quantity_logs: number;
644124
+ };
644125
+ } & {
644126
+ is_active: boolean | null;
644127
+ id: number;
644128
+ name: string | null;
644129
+ logic_code: string | null;
644130
+ created_at: Date | null;
644131
+ created_by: string | null;
644132
+ updated_at: Date | null;
644133
+ updated_by: string | null;
644134
+ code: string | null;
644135
+ };
644136
+ };
644137
+ meta: object;
644138
+ }>;
644139
+ histories: BuiltRouter<{
644140
+ ctx: Context;
644141
+ meta: object;
644142
+ errorShape: DefaultErrorShape;
644143
+ transformer: false;
644144
+ }, DecorateCreateRouterOptions<{
644145
+ get: MutationProcedure<{
644146
+ input: {
644147
+ search?: string | null | undefined;
644148
+ take?: number | null | undefined;
644149
+ skip?: number | null | undefined;
644150
+ is_active?: boolean[] | null | undefined;
644151
+ ids_include?: number[] | null | undefined;
644152
+ ids_exclude?: number[] | null | undefined;
644153
+ ids_string_include?: string[] | null | undefined;
644154
+ ids_string_exclude?: string[] | null | undefined;
644155
+ logic_codes_include?: string[] | null | undefined;
644156
+ logic_codes_exclude?: string[] | null | undefined;
644157
+ order_by?: {
644158
+ field: string;
644159
+ direction: "asc" | "desc";
644160
+ } | null | undefined;
644161
+ order_bys?: {
644162
+ field: string;
644163
+ direction: "asc" | "desc";
644164
+ }[] | null | undefined;
644165
+ id_log_type?: number | null | undefined;
644166
+ ids_log_type?: number[] | null | undefined;
644167
+ id_dg_excepted_quantity?: number | null | undefined;
644168
+ ids_dg_excepted_quantity?: number[] | null | undefined;
644169
+ };
644170
+ output: {
644171
+ data: {
644172
+ params: Record<string, unknown>;
644173
+ log_type: {
644174
+ is_active: boolean | null;
644175
+ id: number;
644176
+ name: string | null;
644177
+ logic_code: string | null;
644178
+ created_at: Date | null;
644179
+ created_by: string | null;
644180
+ updated_at: Date | null;
644181
+ updated_by: string | null;
644182
+ } | null;
644183
+ id: number;
644184
+ id_log_type: number | null;
644185
+ url: string | null;
644186
+ action: string | null;
644187
+ action_by: string | null;
644188
+ action_id: string | null;
644189
+ action_at: Date | null;
644190
+ id_dg_excepted_quantity: number | null;
644191
+ }[] | undefined;
644192
+ total: number | undefined;
644193
+ };
644194
+ meta: object;
644195
+ }>;
644196
+ getDetail: MutationProcedure<{
644197
+ input: {
644198
+ id?: number | null | undefined;
644199
+ id_string?: string | null | undefined;
644200
+ };
644201
+ output: {
644202
+ data: {
644203
+ params: Record<string, unknown>;
644204
+ log_type: {
644205
+ is_active: boolean | null;
644206
+ id: number;
644207
+ name: string | null;
644208
+ logic_code: string | null;
644209
+ created_at: Date | null;
644210
+ created_by: string | null;
644211
+ updated_at: Date | null;
644212
+ updated_by: string | null;
644213
+ } | null;
644214
+ id: number;
644215
+ id_log_type: number | null;
644216
+ url: string | null;
644217
+ action: string | null;
644218
+ action_by: string | null;
644219
+ action_id: string | null;
644220
+ action_at: Date | null;
644221
+ id_dg_excepted_quantity: number | null;
644222
+ } | undefined;
644223
+ };
644224
+ meta: object;
644225
+ }>;
644226
+ }>>;
644227
+ create: MutationProcedure<{
644228
+ input: {
644229
+ is_active?: boolean | undefined;
644230
+ code?: string | null | undefined;
644231
+ name?: string | null | undefined;
644232
+ };
644233
+ output: {
644234
+ data: {
644235
+ is_active: boolean | null;
644236
+ id: number;
644237
+ name: string | null;
644238
+ logic_code: string | null;
644239
+ created_at: Date | null;
644240
+ created_by: string | null;
644241
+ updated_at: Date | null;
644242
+ updated_by: string | null;
644243
+ code: string | null;
644244
+ } | undefined;
644245
+ log: {
644246
+ id: number;
644247
+ id_log_type: number | null;
644248
+ url: string | null;
644249
+ params: SimpleJson;
644250
+ action: string | null;
644251
+ action_by: string | null;
644252
+ action_id: string | null;
644253
+ action_at: Date | null;
644254
+ id_dg_excepted_quantity: number | null;
644255
+ } | undefined;
644256
+ };
644257
+ meta: object;
644258
+ }>;
644259
+ update: MutationProcedure<{
644260
+ input: {
644261
+ id?: number | null | undefined;
644262
+ id_string?: string | null | undefined;
644263
+ is_active?: boolean | undefined;
644264
+ code?: string | null | undefined;
644265
+ name?: string | null | undefined;
644266
+ };
644267
+ output: {
644268
+ data: {
644269
+ is_active: boolean | null;
644270
+ id: number;
644271
+ name: string | null;
644272
+ logic_code: string | null;
644273
+ created_at: Date | null;
644274
+ created_by: string | null;
644275
+ updated_at: Date | null;
644276
+ updated_by: string | null;
644277
+ code: string | null;
644278
+ } | undefined;
644279
+ log: {
644280
+ id: number;
644281
+ id_log_type: number | null;
644282
+ url: string | null;
644283
+ params: SimpleJson;
644284
+ action: string | null;
644285
+ action_by: string | null;
644286
+ action_id: string | null;
644287
+ action_at: Date | null;
644288
+ id_dg_excepted_quantity: number | null;
644289
+ } | undefined;
644290
+ };
644291
+ meta: object;
644292
+ }>;
644293
+ delete: MutationProcedure<{
644294
+ input: {
644295
+ id?: number | null | undefined;
644296
+ ids?: number[] | null | undefined;
644297
+ id_string?: string | null | undefined;
644298
+ ids_string?: string[] | null | undefined;
644299
+ };
644300
+ output: {
644301
+ data: ({
644302
+ is_active: boolean | null;
644303
+ id: number;
644304
+ name: string | null;
644305
+ logic_code: string | null;
644306
+ created_at: Date | null;
644307
+ created_by: string | null;
644308
+ updated_at: Date | null;
644309
+ updated_by: string | null;
644310
+ code: string | null;
644311
+ } | undefined)[] | undefined;
644312
+ };
644313
+ meta: object;
644314
+ }>;
644315
+ }>>;
644071
644316
  dgRules: BuiltRouter<{
644072
644317
  ctx: Context;
644073
644318
  meta: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {