@chrt-inc/typescript-sdk 1.415.0 → 1.419.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.
@@ -67,8 +67,8 @@ class ChrtClient {
67
67
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
70
- "X-Fern-SDK-Version": "1.415.0",
71
- "User-Agent": "@chrt-inc/typescript-sdk/1.415.0",
70
+ "X-Fern-SDK-Version": "1.419.0",
71
+ "User-Agent": "@chrt-inc/typescript-sdk/1.419.0",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The 'flight' object nested inside a FlightAware alert POST payload.
6
+ */
7
+ export interface FlightAwareAlertFlight {
8
+ fa_flight_id: string;
9
+ ident: string;
10
+ registration?: string | null;
11
+ aircraft_type?: string | null;
12
+ origin?: string | null;
13
+ destination?: string | null;
14
+ /** Accepts any additional properties */
15
+ [key: string]: any;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * Top-level FlightAware alert POST payload.
7
+ */
8
+ export interface FlightAwareAlertPayload {
9
+ long_description?: string | null;
10
+ short_description?: string | null;
11
+ summary?: string | null;
12
+ event_code?: string | null;
13
+ alert_id?: number | null;
14
+ flight?: Chrt.FlightAwareAlertFlight | null;
15
+ /** Accepts any additional properties */
16
+ [key: string]: any;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FlightAwareWebhookResponse {
5
+ success: boolean;
6
+ message: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -16,5 +16,6 @@ export interface Session1 {
16
16
  flight_number?: string | null;
17
17
  fa_flight_ids?: string[];
18
18
  off_chrt_order_id?: string | null;
19
+ fa_alert_ids?: number[];
19
20
  _id: string;
20
21
  }
@@ -36,6 +36,9 @@ export * from "./DriverStatusEnum.js";
36
36
  export * from "./DriverUpdateAvailabilityReq.js";
37
37
  export * from "./DriverUpdateRes.js";
38
38
  export * from "./FirebaseCloudMessagingTokenData1.js";
39
+ export * from "./FlightAwareAlertFlight.js";
40
+ export * from "./FlightAwareAlertPayload.js";
41
+ export * from "./FlightAwareWebhookResponse.js";
39
42
  export * from "./FlightInfoForTaskRes.js";
40
43
  export * from "./FlightTaskActionEnum1.js";
41
44
  export * from "./ForwarderConnectionRes.js";
@@ -52,6 +52,9 @@ __exportStar(require("./DriverStatusEnum.js"), exports);
52
52
  __exportStar(require("./DriverUpdateAvailabilityReq.js"), exports);
53
53
  __exportStar(require("./DriverUpdateRes.js"), exports);
54
54
  __exportStar(require("./FirebaseCloudMessagingTokenData1.js"), exports);
55
+ __exportStar(require("./FlightAwareAlertFlight.js"), exports);
56
+ __exportStar(require("./FlightAwareAlertPayload.js"), exports);
57
+ __exportStar(require("./FlightAwareWebhookResponse.js"), exports);
55
58
  __exportStar(require("./FlightInfoForTaskRes.js"), exports);
56
59
  __exportStar(require("./FlightTaskActionEnum1.js"), exports);
57
60
  __exportStar(require("./ForwarderConnectionRes.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.415.0";
1
+ export declare const SDK_VERSION = "1.419.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.415.0";
4
+ exports.SDK_VERSION = "1.419.0";
@@ -31,8 +31,8 @@ export class ChrtClient {
31
31
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
32
32
  "X-Fern-Language": "JavaScript",
33
33
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
34
- "X-Fern-SDK-Version": "1.415.0",
35
- "User-Agent": "@chrt-inc/typescript-sdk/1.415.0",
34
+ "X-Fern-SDK-Version": "1.419.0",
35
+ "User-Agent": "@chrt-inc/typescript-sdk/1.419.0",
36
36
  "X-Fern-Runtime": core.RUNTIME.type,
37
37
  "X-Fern-Runtime-Version": core.RUNTIME.version,
38
38
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The 'flight' object nested inside a FlightAware alert POST payload.
6
+ */
7
+ export interface FlightAwareAlertFlight {
8
+ fa_flight_id: string;
9
+ ident: string;
10
+ registration?: string | null;
11
+ aircraft_type?: string | null;
12
+ origin?: string | null;
13
+ destination?: string | null;
14
+ /** Accepts any additional properties */
15
+ [key: string]: any;
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ /**
6
+ * Top-level FlightAware alert POST payload.
7
+ */
8
+ export interface FlightAwareAlertPayload {
9
+ long_description?: string | null;
10
+ short_description?: string | null;
11
+ summary?: string | null;
12
+ event_code?: string | null;
13
+ alert_id?: number | null;
14
+ flight?: Chrt.FlightAwareAlertFlight | null;
15
+ /** Accepts any additional properties */
16
+ [key: string]: any;
17
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FlightAwareWebhookResponse {
5
+ success: boolean;
6
+ message: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -16,5 +16,6 @@ export interface Session1 {
16
16
  flight_number?: string | null;
17
17
  fa_flight_ids?: string[];
18
18
  off_chrt_order_id?: string | null;
19
+ fa_alert_ids?: number[];
19
20
  _id: string;
20
21
  }
@@ -36,6 +36,9 @@ export * from "./DriverStatusEnum.mjs";
36
36
  export * from "./DriverUpdateAvailabilityReq.mjs";
37
37
  export * from "./DriverUpdateRes.mjs";
38
38
  export * from "./FirebaseCloudMessagingTokenData1.mjs";
39
+ export * from "./FlightAwareAlertFlight.mjs";
40
+ export * from "./FlightAwareAlertPayload.mjs";
41
+ export * from "./FlightAwareWebhookResponse.mjs";
39
42
  export * from "./FlightInfoForTaskRes.mjs";
40
43
  export * from "./FlightTaskActionEnum1.mjs";
41
44
  export * from "./ForwarderConnectionRes.mjs";
@@ -36,6 +36,9 @@ export * from "./DriverStatusEnum.mjs";
36
36
  export * from "./DriverUpdateAvailabilityReq.mjs";
37
37
  export * from "./DriverUpdateRes.mjs";
38
38
  export * from "./FirebaseCloudMessagingTokenData1.mjs";
39
+ export * from "./FlightAwareAlertFlight.mjs";
40
+ export * from "./FlightAwareAlertPayload.mjs";
41
+ export * from "./FlightAwareWebhookResponse.mjs";
39
42
  export * from "./FlightInfoForTaskRes.mjs";
40
43
  export * from "./FlightTaskActionEnum1.mjs";
41
44
  export * from "./ForwarderConnectionRes.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.415.0";
1
+ export declare const SDK_VERSION = "1.419.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.415.0";
1
+ export const SDK_VERSION = "1.419.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.415.0",
3
+ "version": "1.419.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",