repzo-sap-absjo 1.0.3 → 1.0.4
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/lib/types.d.ts +3 -3
- package/package.json +1 -1
- package/src/types.ts +3 -3
package/lib/types.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type EVENT = AWSLambda.APIGatewayEvent & {
|
|
|
30
30
|
};
|
|
31
31
|
export interface Action {
|
|
32
32
|
name: string;
|
|
33
|
-
action: ActionType;
|
|
33
|
+
action: ActionType | string;
|
|
34
34
|
description: string;
|
|
35
35
|
}
|
|
36
36
|
export type ActionType =
|
|
@@ -59,7 +59,7 @@ export type CommandType =
|
|
|
59
59
|
| "disabled_client"
|
|
60
60
|
| "adjust_inventory";
|
|
61
61
|
export interface Command {
|
|
62
|
-
command: CommandType;
|
|
62
|
+
command: CommandType | string;
|
|
63
63
|
description: string;
|
|
64
64
|
name: string;
|
|
65
65
|
}
|
|
@@ -78,7 +78,7 @@ export interface AvailableApp {
|
|
|
78
78
|
}
|
|
79
79
|
export interface CommandEvent {
|
|
80
80
|
app: Service.App.Schema_with_populated_AvailableApp;
|
|
81
|
-
command: CommandType;
|
|
81
|
+
command: CommandType | string;
|
|
82
82
|
nameSpace: NameSpaces;
|
|
83
83
|
meta?: any;
|
|
84
84
|
sync_id?: string;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface Params {
|
|
|
29
29
|
export type EVENT = AWSLambda.APIGatewayEvent & { params: Params };
|
|
30
30
|
export interface Action {
|
|
31
31
|
name: string;
|
|
32
|
-
action: ActionType;
|
|
32
|
+
action: ActionType | string;
|
|
33
33
|
description: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -61,7 +61,7 @@ export type CommandType =
|
|
|
61
61
|
| "adjust_inventory";
|
|
62
62
|
|
|
63
63
|
export interface Command {
|
|
64
|
-
command: CommandType;
|
|
64
|
+
command: CommandType | string;
|
|
65
65
|
description: string;
|
|
66
66
|
name: string;
|
|
67
67
|
}
|
|
@@ -78,7 +78,7 @@ export interface AvailableApp {
|
|
|
78
78
|
|
|
79
79
|
export interface CommandEvent {
|
|
80
80
|
app: Service.App.Schema_with_populated_AvailableApp;
|
|
81
|
-
command: CommandType;
|
|
81
|
+
command: CommandType | string;
|
|
82
82
|
nameSpace: NameSpaces;
|
|
83
83
|
meta?: any;
|
|
84
84
|
sync_id?: string;
|