@fctc/interface-logic 5.3.2 → 5.3.3

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.
@@ -2465,15 +2465,17 @@ var createSessionService = (env) => {
2465
2465
  model,
2466
2466
  configId,
2467
2467
  xNode,
2468
- service
2468
+ service,
2469
+ flightNumber
2469
2470
  }) => {
2470
2471
  const jsonData = {
2471
2472
  model,
2472
2473
  method: "create" /* CREATE */,
2473
2474
  args: [
2474
- {
2475
- config_id: configId
2476
- }
2475
+ cleanObject({
2476
+ config_id: configId,
2477
+ flight_number: flightNumber
2478
+ })
2477
2479
  ]
2478
2480
  };
2479
2481
  return env?.requests.post(
@@ -2467,15 +2467,17 @@ var createSessionService = (env) => {
2467
2467
  model,
2468
2468
  configId,
2469
2469
  xNode,
2470
- service
2470
+ service,
2471
+ flightNumber
2471
2472
  }) => {
2472
2473
  const jsonData = {
2473
2474
  model,
2474
2475
  method: "create" /* CREATE */,
2475
2476
  args: [
2476
- {
2477
- config_id: configId
2478
- }
2477
+ chunkJDXUTKMX_js.cleanObject({
2478
+ config_id: configId,
2479
+ flight_number: flightNumber
2480
+ })
2479
2481
  ]
2480
2482
  };
2481
2483
  return env?.requests.post(
package/dist/hooks.d.mts CHANGED
@@ -569,6 +569,7 @@ declare const useCreateSession: () => _tanstack_react_query.UseMutationResult<un
569
569
  configId: number;
570
570
  service?: string;
571
571
  xNode?: string;
572
+ flightNumber?: number;
572
573
  }, unknown>;
573
574
 
574
575
  declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
package/dist/hooks.d.ts CHANGED
@@ -569,6 +569,7 @@ declare const useCreateSession: () => _tanstack_react_query.UseMutationResult<un
569
569
  configId: number;
570
570
  service?: string;
571
571
  xNode?: string;
572
+ flightNumber?: number;
572
573
  }, unknown>;
573
574
 
574
575
  declare const useDeleteEntity: () => _tanstack_react_query.UseMutationResult<unknown, Error, {