@veloceapps/api 8.0.0-117 → 8.0.0-119

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.
@@ -1,4 +1,4 @@
1
- import { BaseHttpService, FlowState, FlowStateExecutionRequestDTO, FlowStateExecutionResult, FlowStateInitRequest, FlowStateInitResponse } from '@veloceapps/core';
1
+ import { BaseHttpService, ConfigurationStateExecuteRequest, ConfigurationStateNewRequest, ConfigurationStateStartRequest, FlowState, FlowStateExecutionRequestDTO, FlowStateExecutionResult, FlowStateInitRequest, FlowStateInitResponse } from '@veloceapps/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FlowStateApiService {
@@ -43,6 +43,42 @@ export declare class FlowStateApiService {
43
43
  * @param id State ID
44
44
  */
45
45
  cancel(id: string): Observable<void>;
46
+ /**
47
+ * Initialize stateful configuration
48
+ * @param stateId string
49
+ * @param request Request
50
+ * @returns Flow initialization response, which contains session ID and result of selectors
51
+ */
52
+ newConfiguration(stateId: string, request: ConfigurationStateNewRequest): Observable<FlowStateExecutionResult>;
53
+ /**
54
+ * Start stateful configuration
55
+ * @param stateId string
56
+ * @param request Request
57
+ * @returns Flow initialization response, which contains session ID and result of selectors
58
+ */
59
+ startConfiguration(stateId: string, request: ConfigurationStateStartRequest): Observable<FlowStateExecutionResult>;
60
+ /**
61
+ * Execute stateful configuration
62
+ * @param stateId string
63
+ * @param configurationId string
64
+ * @param request Request
65
+ * @returns Flow initialization response, which contains session ID and result of selectors
66
+ */
67
+ executeConfiguration(stateId: string, configurationId: string, request: ConfigurationStateExecuteRequest): Observable<FlowStateExecutionResult>;
68
+ /**
69
+ * Save stateful configuration
70
+ * @param stateId string
71
+ * @param configurationId string
72
+ */
73
+ saveConfiguration(stateId: string, configurationId: string): Observable<{
74
+ quoteId: string;
75
+ }>;
76
+ /**
77
+ * Cancel stateful configuration
78
+ * @param stateId string
79
+ * @param configurationId string
80
+ */
81
+ cancelConfiguration(stateId: string, configurationId: string): Observable<void>;
46
82
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowStateApiService, never>;
47
83
  static ɵprov: i0.ɵɵInjectableDeclaration<FlowStateApiService>;
48
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/api",
3
- "version": "8.0.0-117",
3
+ "version": "8.0.0-119",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "~15.2.0",