@benup/bensdk 1.6.0 → 1.6.2
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/bin/lib/schemas/action.schema.d.ts +5 -5
- package/bin/lib/types/lib/deduction-file-ingestion.lib.type.d.ts +3 -0
- package/bin/lib/types/state-handler.types.d.ts +5 -0
- package/package.json +1 -1
- /package/bin/src/cli/templates/bensdk-base/.github/workflows/{security-scan.yml → security-scan.yml.template} +0 -0
- /package/bin/src/cli/templates/bensdk-base/.github/workflows/{sm-tests.yml → sm-tests.yml.template} +0 -0
|
@@ -8027,16 +8027,16 @@ export declare const DeductionFileIngestionActionSchema: z.ZodObject<{
|
|
|
8027
8027
|
name: z.ZodString;
|
|
8028
8028
|
size: z.ZodNumber;
|
|
8029
8029
|
type: z.ZodString;
|
|
8030
|
-
|
|
8030
|
+
key: z.ZodString;
|
|
8031
8031
|
}, "strip", z.ZodTypeAny, {
|
|
8032
8032
|
name?: string;
|
|
8033
8033
|
type?: string;
|
|
8034
|
-
|
|
8034
|
+
key?: string;
|
|
8035
8035
|
size?: number;
|
|
8036
8036
|
}, {
|
|
8037
8037
|
name?: string;
|
|
8038
8038
|
type?: string;
|
|
8039
|
-
|
|
8039
|
+
key?: string;
|
|
8040
8040
|
size?: number;
|
|
8041
8041
|
}>;
|
|
8042
8042
|
ctx: z.ZodOptional<z.ZodObject<{
|
|
@@ -8354,7 +8354,7 @@ export declare const DeductionFileIngestionActionSchema: z.ZodObject<{
|
|
|
8354
8354
|
deductionFileIngestionInput?: {
|
|
8355
8355
|
name?: string;
|
|
8356
8356
|
type?: string;
|
|
8357
|
-
|
|
8357
|
+
key?: string;
|
|
8358
8358
|
size?: number;
|
|
8359
8359
|
};
|
|
8360
8360
|
}, {
|
|
@@ -8620,7 +8620,7 @@ export declare const DeductionFileIngestionActionSchema: z.ZodObject<{
|
|
|
8620
8620
|
deductionFileIngestionInput?: {
|
|
8621
8621
|
name?: string;
|
|
8622
8622
|
type?: string;
|
|
8623
|
-
|
|
8623
|
+
key?: string;
|
|
8624
8624
|
size?: number;
|
|
8625
8625
|
};
|
|
8626
8626
|
}>;
|
|
@@ -5,6 +5,7 @@ import z from 'zod';
|
|
|
5
5
|
import { HandlerResponse } from '../lib/consumer';
|
|
6
6
|
import ActionConsumerMessageSchema from '../schemas/action-consumer/message.schema';
|
|
7
7
|
import { BenefitDefinition } from './benefit-definition.types';
|
|
8
|
+
import { DeductionFileIngestionHelper } from './lib/deduction-file-ingestion.lib.type.js';
|
|
8
9
|
export type MessageBody = z.infer<typeof ActionConsumerMessageSchema>;
|
|
9
10
|
export interface StateHandlerResponse<TLogs, TCtx> {
|
|
10
11
|
handlerResponse: HandlerResponse;
|
|
@@ -51,6 +52,10 @@ export interface StateHandlerCtx {
|
|
|
51
52
|
* executionAPI Axios instance
|
|
52
53
|
*/
|
|
53
54
|
executionAPI: AxiosInstance;
|
|
55
|
+
/**
|
|
56
|
+
* deductionFileIngestionHelper
|
|
57
|
+
*/
|
|
58
|
+
deductionFileIngestionHelper: DeductionFileIngestionHelper;
|
|
54
59
|
}
|
|
55
60
|
/**
|
|
56
61
|
* State Handler
|
package/package.json
CHANGED
|
File without changes
|
/package/bin/src/cli/templates/bensdk-base/.github/workflows/{sm-tests.yml → sm-tests.yml.template}
RENAMED
|
File without changes
|