@chrt-inc/typescript-sdk 1.337.0 → 1.339.0

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.
@@ -74,8 +74,8 @@ class ChrtClient {
74
74
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
77
- "X-Fern-SDK-Version": "1.337.0",
78
- "User-Agent": "@chrt-inc/typescript-sdk/1.337.0",
77
+ "X-Fern-SDK-Version": "1.339.0",
78
+ "User-Agent": "@chrt-inc/typescript-sdk/1.339.0",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -47,7 +47,7 @@ export declare class TaskGroup {
47
47
  addV1(request: Chrt.orderDrafts.OrderDraftAddTaskGroupReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<string>;
48
48
  private __addV1;
49
49
  /**
50
- * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
50
+ * Sets the flight number and/or fa_flight_ids on a draft task group. | (SetFlightInfoReq) -> (bool)
51
51
  *
52
52
  * @param {string} taskGroupId
53
53
  * @param {Chrt.SetFlightInfoReq} request
@@ -121,7 +121,7 @@ class TaskGroup {
121
121
  });
122
122
  }
123
123
  /**
124
- * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
124
+ * Sets the flight number and/or fa_flight_ids on a draft task group. | (SetFlightInfoReq) -> (bool)
125
125
  *
126
126
  * @param {string} taskGroupId
127
127
  * @param {Chrt.SetFlightInfoReq} request
@@ -69,7 +69,7 @@ export declare class TaskGroups {
69
69
  setTaskOrderingV1(taskGroupId: string, request: Chrt.SetTaskOrderingReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
70
70
  private __setTaskOrderingV1;
71
71
  /**
72
- * Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
72
+ * Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
73
73
  *
74
74
  * @param {string} taskGroupId
75
75
  * @param {Chrt.SetFlightInfoReq} request
@@ -195,7 +195,7 @@ class TaskGroups {
195
195
  });
196
196
  }
197
197
  /**
198
- * Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
198
+ * Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
199
199
  *
200
200
  * @param {string} taskGroupId
201
201
  * @param {Chrt.SetFlightInfoReq} request
@@ -6,5 +6,5 @@
6
6
  */
7
7
  export interface FlightInfoForTaskRes {
8
8
  flight_number?: string | null;
9
- fa_flight_id?: string | null;
9
+ fa_flight_ids?: string[];
10
10
  }
@@ -5,5 +5,5 @@ export interface SetFlightInfoReq {
5
5
  /** Flight number to set on the task group */
6
6
  flight_number?: string | null;
7
7
  /** Flight Aware's uuid for flights */
8
- fa_flight_id?: string | null;
8
+ fa_flight_ids?: string[] | null;
9
9
  }
@@ -27,6 +27,6 @@ export interface TaskGroup1 {
27
27
  task_group_type: Chrt.TaskGroupTypeEnum1;
28
28
  task_group_mileage?: Chrt.TaskGroupMileage1 | null;
29
29
  flight_number?: string | null;
30
- fa_flight_id?: string | null;
30
+ fa_flight_ids?: string[];
31
31
  messages?: Chrt.TaskGroupMessage1[];
32
32
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.337.0";
1
+ export declare const SDK_VERSION = "1.339.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.337.0";
4
+ exports.SDK_VERSION = "1.339.0";
@@ -38,8 +38,8 @@ export class ChrtClient {
38
38
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
39
39
  "X-Fern-Language": "JavaScript",
40
40
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
41
- "X-Fern-SDK-Version": "1.337.0",
42
- "User-Agent": "@chrt-inc/typescript-sdk/1.337.0",
41
+ "X-Fern-SDK-Version": "1.339.0",
42
+ "User-Agent": "@chrt-inc/typescript-sdk/1.339.0",
43
43
  "X-Fern-Runtime": core.RUNTIME.type,
44
44
  "X-Fern-Runtime-Version": core.RUNTIME.version,
45
45
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -47,7 +47,7 @@ export declare class TaskGroup {
47
47
  addV1(request: Chrt.orderDrafts.OrderDraftAddTaskGroupReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<string>;
48
48
  private __addV1;
49
49
  /**
50
- * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
50
+ * Sets the flight number and/or fa_flight_ids on a draft task group. | (SetFlightInfoReq) -> (bool)
51
51
  *
52
52
  * @param {string} taskGroupId
53
53
  * @param {Chrt.SetFlightInfoReq} request
@@ -85,7 +85,7 @@ export class TaskGroup {
85
85
  });
86
86
  }
87
87
  /**
88
- * Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
88
+ * Sets the flight number and/or fa_flight_ids on a draft task group. | (SetFlightInfoReq) -> (bool)
89
89
  *
90
90
  * @param {string} taskGroupId
91
91
  * @param {Chrt.SetFlightInfoReq} request
@@ -69,7 +69,7 @@ export declare class TaskGroups {
69
69
  setTaskOrderingV1(taskGroupId: string, request: Chrt.SetTaskOrderingReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
70
70
  private __setTaskOrderingV1;
71
71
  /**
72
- * Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
72
+ * Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
73
73
  *
74
74
  * @param {string} taskGroupId
75
75
  * @param {Chrt.SetFlightInfoReq} request
@@ -159,7 +159,7 @@ export class TaskGroups {
159
159
  });
160
160
  }
161
161
  /**
162
- * Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
162
+ * Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
163
163
  *
164
164
  * @param {string} taskGroupId
165
165
  * @param {Chrt.SetFlightInfoReq} request
@@ -6,5 +6,5 @@
6
6
  */
7
7
  export interface FlightInfoForTaskRes {
8
8
  flight_number?: string | null;
9
- fa_flight_id?: string | null;
9
+ fa_flight_ids?: string[];
10
10
  }
@@ -5,5 +5,5 @@ export interface SetFlightInfoReq {
5
5
  /** Flight number to set on the task group */
6
6
  flight_number?: string | null;
7
7
  /** Flight Aware's uuid for flights */
8
- fa_flight_id?: string | null;
8
+ fa_flight_ids?: string[] | null;
9
9
  }
@@ -27,6 +27,6 @@ export interface TaskGroup1 {
27
27
  task_group_type: Chrt.TaskGroupTypeEnum1;
28
28
  task_group_mileage?: Chrt.TaskGroupMileage1 | null;
29
29
  flight_number?: string | null;
30
- fa_flight_id?: string | null;
30
+ fa_flight_ids?: string[];
31
31
  messages?: Chrt.TaskGroupMessage1[];
32
32
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.337.0";
1
+ export declare const SDK_VERSION = "1.339.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.337.0";
1
+ export const SDK_VERSION = "1.339.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.337.0",
3
+ "version": "1.339.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -6196,7 +6196,7 @@ await client.taskGroups.setTaskOrderingV1("task_group_id", {
6196
6196
  <dl>
6197
6197
  <dd>
6198
6198
 
6199
- Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
6199
+ Sets the flight number and/or fa_flight_ids on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
6200
6200
 
6201
6201
  </dd>
6202
6202
  </dl>
@@ -9127,7 +9127,7 @@ await client.orderDrafts.taskGroup.addV1({
9127
9127
  <dl>
9128
9128
  <dd>
9129
9129
 
9130
- Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
9130
+ Sets the flight number and/or fa_flight_ids on a draft task group. | (SetFlightInfoReq) -> (bool)
9131
9131
 
9132
9132
  </dd>
9133
9133
  </dl>