shori-sdk-ts 1.1.0 → 1.1.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.
@@ -11,7 +11,7 @@ import { NextStateRequest } from "./dto/request/nextStateRequest.js";
11
11
  * // Avanzar al siguiente estado
12
12
  * await client.caso().state().next({
13
13
  * casoId: "caso-uuid",
14
- * stateId: "siguiente-estado-uuid",
14
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
15
15
  * });
16
16
  *
17
17
  * // Obtener estados disponibles del tipo de caso
@@ -30,7 +30,7 @@ export declare class CaseStateModule {
30
30
  * ```ts
31
31
  * await client.caso().state().next({
32
32
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
33
- * stateId: "estado-destino-uuid",
33
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
34
34
  * });
35
35
  * ```
36
36
  *
@@ -11,7 +11,7 @@ exports.CaseStateModule = void 0;
11
11
  * // Avanzar al siguiente estado
12
12
  * await client.caso().state().next({
13
13
  * casoId: "caso-uuid",
14
- * stateId: "siguiente-estado-uuid",
14
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
15
15
  * });
16
16
  *
17
17
  * // Obtener estados disponibles del tipo de caso
@@ -31,7 +31,7 @@ class CaseStateModule {
31
31
  * ```ts
32
32
  * await client.caso().state().next({
33
33
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
34
- * stateId: "estado-destino-uuid",
34
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
35
35
  * });
36
36
  * ```
37
37
  *
@@ -5,7 +5,7 @@
5
5
  * ```ts
6
6
  * await client.caso().state().next({
7
7
  * casoId: "caso-uuid",
8
- * stateId: "siguiente-estado-uuid",
8
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
9
9
  * });
10
10
  * ```
11
11
  */
@@ -13,6 +13,6 @@ export interface NextStateRequest {
13
13
  /** UUID del caso */
14
14
  casoId: string;
15
15
  /** UUID del estado destino */
16
- stateId: string;
16
+ workingSubStatePrimaryLevelId: string;
17
17
  }
18
18
  //# sourceMappingURL=nextStateRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
@@ -11,7 +11,7 @@ import { NextStateRequest } from "./dto/request/nextStateRequest.js";
11
11
  * // Avanzar al siguiente estado
12
12
  * await client.caso().state().next({
13
13
  * casoId: "caso-uuid",
14
- * stateId: "siguiente-estado-uuid",
14
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
15
15
  * });
16
16
  *
17
17
  * // Obtener estados disponibles del tipo de caso
@@ -30,7 +30,7 @@ export declare class CaseStateModule {
30
30
  * ```ts
31
31
  * await client.caso().state().next({
32
32
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
33
- * stateId: "estado-destino-uuid",
33
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
34
34
  * });
35
35
  * ```
36
36
  *
@@ -8,7 +8,7 @@
8
8
  * // Avanzar al siguiente estado
9
9
  * await client.caso().state().next({
10
10
  * casoId: "caso-uuid",
11
- * stateId: "siguiente-estado-uuid",
11
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
12
12
  * });
13
13
  *
14
14
  * // Obtener estados disponibles del tipo de caso
@@ -28,7 +28,7 @@ export class CaseStateModule {
28
28
  * ```ts
29
29
  * await client.caso().state().next({
30
30
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
31
- * stateId: "estado-destino-uuid",
31
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
32
32
  * });
33
33
  * ```
34
34
  *
@@ -5,7 +5,7 @@
5
5
  * ```ts
6
6
  * await client.caso().state().next({
7
7
  * casoId: "caso-uuid",
8
- * stateId: "siguiente-estado-uuid",
8
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
9
9
  * });
10
10
  * ```
11
11
  */
@@ -13,6 +13,6 @@ export interface NextStateRequest {
13
13
  /** UUID del caso */
14
14
  casoId: string;
15
15
  /** UUID del estado destino */
16
- stateId: string;
16
+ workingSubStatePrimaryLevelId: string;
17
17
  }
18
18
  //# sourceMappingURL=nextStateRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
@@ -11,7 +11,7 @@ import { NextStateRequest } from "./dto/request/nextStateRequest.js";
11
11
  * // Avanzar al siguiente estado
12
12
  * await client.caso().state().next({
13
13
  * casoId: "caso-uuid",
14
- * stateId: "siguiente-estado-uuid",
14
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
15
15
  * });
16
16
  *
17
17
  * // Obtener estados disponibles del tipo de caso
@@ -30,7 +30,7 @@ export declare class CaseStateModule {
30
30
  * ```ts
31
31
  * await client.caso().state().next({
32
32
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
33
- * stateId: "estado-destino-uuid",
33
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
34
34
  * });
35
35
  * ```
36
36
  *
@@ -5,7 +5,7 @@
5
5
  * ```ts
6
6
  * await client.caso().state().next({
7
7
  * casoId: "caso-uuid",
8
- * stateId: "siguiente-estado-uuid",
8
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
9
9
  * });
10
10
  * ```
11
11
  */
@@ -13,6 +13,6 @@ export interface NextStateRequest {
13
13
  /** UUID del caso */
14
14
  casoId: string;
15
15
  /** UUID del estado destino */
16
- stateId: string;
16
+ workingSubStatePrimaryLevelId: string;
17
17
  }
18
18
  //# sourceMappingURL=nextStateRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"nextStateRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/caso/dto/request/nextStateRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shori-sdk-ts",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "SDK TypeScript para integrar aplicaciones JS/TS con la plataforma Shori BPM de NTT DATA",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -12,7 +12,7 @@ import { NextStateRequest } from "./dto/request/nextStateRequest.js";
12
12
  * // Avanzar al siguiente estado
13
13
  * await client.caso().state().next({
14
14
  * casoId: "caso-uuid",
15
- * stateId: "siguiente-estado-uuid",
15
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
16
16
  * });
17
17
  *
18
18
  * // Obtener estados disponibles del tipo de caso
@@ -36,7 +36,7 @@ export class CaseStateModule {
36
36
  * ```ts
37
37
  * await client.caso().state().next({
38
38
  * casoId: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
39
- * stateId: "estado-destino-uuid",
39
+ * workingSubStatePrimaryLevelId: "estado-destino-uuid",
40
40
  * });
41
41
  * ```
42
42
  *
@@ -5,7 +5,7 @@
5
5
  * ```ts
6
6
  * await client.caso().state().next({
7
7
  * casoId: "caso-uuid",
8
- * stateId: "siguiente-estado-uuid",
8
+ * workingSubStatePrimaryLevelId: "siguiente-estado-uuid",
9
9
  * });
10
10
  * ```
11
11
  */
@@ -13,5 +13,5 @@ export interface NextStateRequest {
13
13
  /** UUID del caso */
14
14
  casoId: string;
15
15
  /** UUID del estado destino */
16
- stateId: string;
16
+ workingSubStatePrimaryLevelId: string;
17
17
  }